Fully Customizable Modular Engine! ECU
This is the ECU I use for all my creations using a modular engine, thought I might post it for everyone to use
Setup
Logic Outputs and inputs
On/Off
- Starter - Connect this to any modular engine starter connected to the crankshaft
- Pumps/Fans - Connect this to any pumps or radiator fans used by the engine, This can be toggled by channel 2 on the composite input
Number
- Clutch Output - Connect this to the modular clutch or to an alternator clutch pressure
- Fuel Throttle - Connect to fuel manifold
- Air Throttle - Connect to air manifold
- Starter - Same as the On/Off Starter but outputs a number value for any external motor for starting
- RPS Input - Connect to crankshaft or flywheel block to measure RPS
- Throttle Input - Connect to whatever Throttle mechanism you would like, Takes input values ranging from 0-1
Composite
- Instrument Panel Output - This outputs RPM value on channel 3 and Temperature on channel 4
- Instrument Panel input - This takes input on channel 1 for starter and pumps/fans on channel 2
- Cylinder - Connect this to any cylinder on the modular engine
Tuning
Property Inputs
These are the inputs for tuning the ECU, these stock inputs are for a naturally aspirated, non-flywheel engine
- Starter Motor Cutoff RPS - This is the RPS threshold for which the starter motor will stop providing power. Any RPS higher and the engine will be running on its own
- Starter Motor Duration - This is the time threshold for which the starter motor will stop providing power. Any time longer and the engine will be running on its own
- Max RPS - This is the RPS where the engine will not go past, the lower the RPS the better to save on fuel efficiency
- Idle/Minimum Throttle - This is the idle throttle, engines running with a high base load like a flywheel, impeller pumps or alternates will need a higher Idle throttle. This is also what a throttle input of 0 will give
- Fuel Throttle Multiplier - This is the ratio between the air and fuel mix. The preset value of 0.485 is for naturally aspirated engines. A value of 0.55 works for engines with a small fluid pump and a value of 0.785 works for engines with a large fluid pump
- Idle RPS - This is the RPS value at which the engine will idle at. Engines with no flywheel will need a higher RPS value for Idling so that they do not stall on use
- Clutch Value - This is the value output to the clutch when a throttle value greater then 0 is input. 0.79 is the optimal value I've found to run the engines at however it can be changed if needed
- Direct Clutch Mode - This toggles if the clutch is engaged at 0 throttle, its useful for aircraft engines or any engine that wont be idling
- Max Throttle - Maximum Throttle the engine will get. This is also what a throttle input of 1 will give
Final Notes
Credit
If you use this ECU on a vehicle or structure and post it the workshop please include this link to the description in whatever manner you see fit.
Here is an example of the ECU in action
Enjoy!