Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Engine throttles ECU
2
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Air, Sea, Land
Tags: v1.10.10
File Size
Posted
Updated
32.758 KB
3 Oct, 2022 @ 6:02pm
25 Apr, 2024 @ 4:40am
19 Change Notes ( view )

Subscribe to download
Engine throttles ECU

Description
This controller calculates both throttles from cylinder composite signal and main throttle. Provides perfect stoichiometry and stable output. Easy to make exact rich mix without fuel overflow risk.
Just connect cylinder composite signal, both throttles and main throttle to controller.
Engine controlled by clamped fuel throttle. Clamp calculating from hightest possible airflow and maximal stoichiometric. Air throttle calculated for keep nominal stoichiometric. Also here is alternative mode for use AFR instead stoichiometry. In addition, there is a calculation of RPS from cylinder size, fuel flow and throttle.

Medium size 2x2
Work with any feed system.
Uses exact solution of stoichiometry equation.
Low delay, 3 ticks or 0.05 sec. Lesser delay not possible. Is already use shortest data path, what give almost immediate response to flow changing.

Key stoichiometric values: 0.20 - max efficiency (better on low rps and cold engine), 0.50 - max power (better on high rps and hot engine).


Engine example
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2863625511

ZE Modular Engine Controller (using this formulas, best plug-and-play controller from my view)
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2416132817
12 Comments
Penatoliy  [author] 7 May, 2024 @ 7:42am 
@dragonmen002 you can use pid for find exact idle rps spot)
dragonmen002 5 May, 2024 @ 6:06pm 
the decimal i mean like this .004202 but with multiply of 20 so it quite close to 19.5 rps but i was doing trial and error to closely to 20 as possible but not quite perfect but that ok
dragonmen002 5 May, 2024 @ 6:04pm 
for the rps i just put a very small amount of number of decimal for example .004202 that bring me to 19.5 rps it quite close to 20 rps so that what i did so no need pid at all :D
Penatoliy  [author] 5 May, 2024 @ 5:09pm 
@dragonmen002 yep it's exactly why this controller exist. For this moment i dont have exact solution for RPS, but iam almost get this. If my thinks correct, i make universal pid-less RPS control in near future time.
dragonmen002 5 May, 2024 @ 4:48pm 
yea i was just modify from throttle node wire line inside the microcontroller into the math logic for preset idle and little preset tune offset load when it apply throttle under load it might help depend most of people need little extra power but still preset idle you set to but it just little offset when it apply throttle but when you let go throttle it no longer offset and back to idle set that to for example 20 rps, or having a option to overdrive so it not limit rps so it just full blast to 60 rps. and also add a starter to start the engine and automation turn on the cooling from electric radiator and option of add a pump for cooling system. but it take me while to trial and error to get where i want. i done modify other microconroller from other steamworkshop but it quite hard to tune to other engine type so i was looking for that are easy to already pre tune no matter what size or shape of the moduler engine
Penatoliy  [author] 5 May, 2024 @ 4:39pm 
@dragonmen002 Yes you can, but keep in mind, you must keep unmodified delay lines (Composite -> Read channel -> Calculation -> Output) here a important time/tick syncrosization!
You can integrate any your solutions into "C" node (main throttle) on both functions without fear of broke delay lines.
Also i has planned a next controller what bind fuel flow and revolution acceleration.

idle its easy on this controller because fuel flow driven) just find your fuel throttle value.
dragonmen002 4 May, 2024 @ 6:08pm 
i was wondering if that ok to modify of your ecu add into of idle set? along other logic in it?
Penatoliy  [author] 26 Apr, 2024 @ 4:43pm 
@DarquosLeblack yep, it's exactly for what it was designed
DarquosLeblack 26 Apr, 2024 @ 7:26am 
Just wanted to say how awesome this controller is, especially as a basis for self-designed engine control ^^
Penatoliy  [author] 25 Apr, 2024 @ 5:13am 
Minor but important update. Now i know how to calculate RPS from cylinder size, fuel flow and throttle. Path for development 2x2 contorller with RPS regulation opened.