Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
(Documented) Engine Control Unit 2 engines ECU 2 2MR 1
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Sea
Microcontrollers: Calculation, Microcontroller
Tags: v1.0.32
File Size
Posted
Updated
62.762 KB
28 Jan, 2021 @ 12:00pm
29 Jan, 2021 @ 6:03pm
11 Change Notes ( view )

Subscribe to download
(Documented) Engine Control Unit 2 engines ECU 2 2MR 1

In 2 collections by Brygun
BBW Microcontrollers
45 items
BBW Controllers for engines (ECU) and Generators with example vehicles
23 items
Description
MC size 5 x 5

The name decodes as:

Engine Control Unit

2 Engines each with a Clutch

Manual gear switches
2 Gear boxes
Reverse

1 Output shaft

This is the earliest version I uploaded to the workshop.

>>>>

This is typical of boats and some cars

Advanced features include that there are various engine trouble indicators that will force the throttle down, thus hopefully getting the engines out of overheat or the vessel out of dangerous situations. You can also have a panic button for signaling trouble that also acts as a one-button get the boat to come to a stop.

Manual clutch is useful when testing gear ratio on vehicles. Vehicles will also perform differently from normal, towing and overdrive which will take switches anyway.

>>>>

Mandatory equipment:


Bridge:
= Throttle box
= Push Toggle for Manual Engine Panic or just call it Panic
= Instrument panel: Gear switching
(Instrument panel as: 1 = Reverse gear switch; 2 = Engine starter push button (not toggle); 3 = Gear 1 switch; 4 = Gear 2 switch. Recommend this adjoining throttle box)


Sensor equipment:
= Tilt sensor look forward
= Tilt sensor looking right/stbd
= Linear sensor looking forward

Other:

= Electric Relay
Control: Engine Okay of MC; Side A: The power source (batteries); Side B: both engines.
This is how the MC safety feature is able to shut off the engines. Suggest placing this near the engines.
The engines should have no other electrical connections other than this relay.
Likewise its simpler to put nothing else on the engine side of the relay. Keep it simple. Its too easy for some secondary hookups to some how loop power into the engines which would bypass the trouble shutoff feature.
You can put “engine specific” (list shortly) items to have electricity from the engine side of the relay or the engine. Don’t do this if these are after you link the shaft power together. The engine specific likely include:
= this engine’s clutch
= this engine’s generators
= this engine’s generator RPS boosting gears
(more RPS = more electricity but also more resisting torque)

>>>
Optional bridge equipment:

= Driving seat to use optional W/S to adjust throttle
(I play a lot of WASD games and my instincts are for W/S)
= Instrument panel: Engine status
(1 = Port engine temp; 2 = Stbd engine temp; 3 = Port Engine RPS; 4 = STBD engine RPS)
= Instrument panel: Motion status
(1 = Knots; 2 = Final torque; 3 = Worst tilt gauge; 4 = Final RPS)
= Dial for Clutch Port Pressure
= Dial for Clutch Stbd Pressure

Optional sensor equipment:
= Torque meter on final shaft near propeller

>>>>
Review of a typical engine layout:

Items marked [ee] mean they can share electricity with the engine by joining to the engine or the electrical side of the relay


Engine [ee] Engine [ee]
pipe pipe
generator[ee] generator [ee]
pipe pipe
Clutch[ee] Clutch [ee]
T junction pipe
Gear Reverse
Gear Alpha
Gear Beta
pipe
(Option: Final Torque meter)
pipe
Propeller/Wheels

With the switches you have the following gearing:

Reverse (with all these options)

No Gears
Alpha only
Beta only
Alpha x Beta

So its a four speed transmission plus reverse mode

>>>>

Internal data handling:
Anything with a # is a property number for easy editing

= Engine trouble on temp #110
= Engine trouble on worst tilt #80 degrees
= Engine trouble on RPS #30
= Engine trouble on manual push (toggle recommended)
= Any engine trouble signals to lower throttle
= Engine okay needed to confirm throttle going up
= Engine okay needed to confirm starting engines
= Auto clutch with break points (RPS, Pressure) (#6.5,0.8) (#5.5,0.6) (#4,0.4)
(note that electric engine starters try to reach ~ 6 RPS so the starting ratios bracket that;
3 RPS is typical restart attempt so it has a go lower on clutch before that)
= Auto restart attempt when engine RPS between #3 and 1
(the lower number is fixed as a dead zone needed for when the boat is stopped.)


>>>>

Pairs well with a boat stabilizer. Mine are at:

Gyro based:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2377081332

Simple non-gyro:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2376886654


>>>>

My ECU 2 2R 1 alternates

Without throttle input:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2376802583
Autostart may get into loops of firing off wasting electricity on a low throttle. Use the manual Engine Trouble to get out of this.


With throttle input:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2378231625
Autostarter now has the data to avoid trying autostart when throttle is low.


With Zero Clutch mode:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2380681962
Zero clutch mode is useful for charging your generators >if< the generators are closer to the engine than the clutch.

>>>>
FAQ and setup assist:

1) Connection check
With all listed gear all 25 in, out and composite connections are used. Remember to check the MC in both “data” and “composite” modes.
Be sure to check that electricity it setup to everything, the games yellow warning mode (bottom right of build screen) is great for that.
Engines should only have electrical connections to the

2) My engines won’t start:

2a) Throttle not zero?
Is the manual Engine Panic on?

2b) Check the relay for electricity
The engine relay receives power from elsewhere on the ship on one side. The other side has the engines (and recommend this only have the engines). The engines shouldn’t have any other electrical hookup.

2c) Relay data connections
The MC “engine okay” should be connected to the data input on the engine “electrical relay”. This one has caught me a few times too. Without control the relay is at 0 and won’t allow electricity to the engines.

2d) Is there a yellow warning on the engine?

I sometimes see a Steamworks bug where if you edit the MC the logic connections to the starters get disconnected. This seems to be a game bug that happens whenever you open up the MC for editing.

3) Engine starters keep clicking wasting electrical powerful
This likely a combination of the auto-restart and low throttle. The controller may have lowered the throttle for your safety via the engine trouble. I’ve raised the low RPS auto restart threshold from 0.3 to 1 which should help.
What you can do is hit your Engine Trouble toggle, aka PANIC or otherwise lower the throttle. Take the Engine Trouble off to start normally by raising throttle to mid-level and pressing the start push button.
Still seeing the low rps burping on the engines. So use the trouble toggle to stop the boat. Since RPS settings dont fix it that would mean getting the current throttle setting and that in turn would mean a new logic connection disabling all existing install. I'm not going to do that to you or myself. A later separate workshop may have that figured out.

4) Will you add stabilizer calculations?
I found that making the separate stabilizer MC meant it could be placed closer to the stabilizers making setup and debug a little easier. The “Tholian Web” of bridge control connections can be nasty to look at too long.

5) One engine gets stuck on low RPS and the other runs okay.

5a) Damage. Try welding the engines, gear boxes and clutches. Try underwater welding the propeller.

5b) Logic wiring mixup between port and starboard. I’ve done this a few times that’s why they are labelled for easier debug. Check that the port/stbd are matching for temp in, rps in and clutch out.


13 Comments
Brygun  [author] 31 Jan, 2021 @ 6:31pm 
Update to description:
Added link to next version:
With Zero Clutch mode:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2380681962
Zero clutch mode is useful for charging your generators >if< the generators are closer to the engine than the clutch.
Brygun  [author] 29 Jan, 2021 @ 8:19pm 
Update:
Description now includes link to the my simliar mod with the extra input. That input requires the MC to be 5 x 6 and will require some editing of the vehicle to fit it (if wanted)
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2378231625
Autostarter now has the data to avoid trying autostart when throttle is low.
Brygun  [author] 29 Jan, 2021 @ 6:38pm 
Still seeing the low rps burping on the engines. So use the trouble toggle to stop the boat. Since RPS settings dont fix it that would mean getting the current throttle setting and that in turn would mean a new logic connection disabling all existing install. I'm not going to do that to you or myself. A later separate workshop may have that figured out.
Brygun  [author] 29 Jan, 2021 @ 6:35pm 
Update to text.
Describe the option to have generators and clutch share electricity with their local engine.
Brygun  [author] 29 Jan, 2021 @ 6:27pm 
Update to FAQ
Some debug things I've noticed etc.
Brygun  [author] 29 Jan, 2021 @ 6:08pm 
Update:
Auto engine restart low limit raised from 0.3 to 1 RPS. I was seeing too many 'near stopped' scenarios with it draining electrical power. Hopefully that will cut that out.
Brygun  [author] 28 Jan, 2021 @ 6:34pm 
Update:
Added link to my newly made Gyro Stablizer control for roll. Highly recommend that system.
Brygun  [author] 28 Jan, 2021 @ 5:32pm 
Description updated with install/debug helpers in the FAQ section.
Brygun  [author] 28 Jan, 2021 @ 4:32pm 
I sometimes see a Steamworks bug where the logic connections to the starters get disconnected. This seems to be a game bug that happens whenever you open up the MC for editing.
If your boat doesn’t start to check this:
In the editor activate the warning triangle on the bottom right
If you see warnings on the engine starter nodes delete and restore.
Do that for both engines.

As this seems to be a game bug I’m not aware of any correction to be done at my level.


Brygun  [author] 28 Jan, 2021 @ 4:27pm 
Update:
Symbol and Steam thumbnail updated to look more like the power train