Stormworks: Build and Rescue

Stormworks: Build and Rescue

Sharps Modular Engine ECU V4
126 条留言
m3 10 月 3 日 下午 3:28 
How do I get it to idle
Ive tried setting it to idle and stuff and it never does
The constant revving is annoying
gordonbinning 9 月 27 日 上午 3:54 
how do i spand it in
Sharp  [作者] 9 月 17 日 下午 12:02 
it could be added, currently the default setting ( 0 - 1 ) aims to a set rpm between the min rps and max rps so with a bit of math you could convert it via a function block from target rpm to 0 to 1
Stray Angel 9 月 16 日 下午 12:28 
I like this very much. I use target RPM style is it possible to convert this to target RPM instead f 0-1 values.
[TGS] Sir._Captain_Sky_Walker 8 月 31 日 上午 6:30 
This is awesome af! Only lacking better read out on the battery. I have an Eboost motor for when temps get a bit toasty and the battery information simply shows 0. When the eboost is off it shows some swatts but no charge till full or till empty as with the fuel information which is neat, if only the battery would report as well as the fuel does. I tried looking at your script to see if I could fix it but LUA is not a language I can code in and it is too much for me to try and get into. If you would not mind having a look at the battery information to have it as functional as the fuel information that would be awesome! Unless it is not possible with the data available. Thank you for making this, it is by far the best ECU on the workshop! I have tried a few others...
Jason_Nighthawk1 8 月 19 日 下午 2:18 
the exhaust systems (im not confident in this but ill take a look) ,2 air intakes and 4 fuel intakes are connected, 4 starters are connected (ill double check this), engine is a prebuilt, the manifolds are in what i believe in order (ill redo or delete them if they're the problem)
Sharp  [作者] 8 月 19 日 上午 5:05 
Could be a load of reasons, stuff like no exhaust, fuel or air. To starter not connected so the ecu cant actually start the engine.
Jason_Nighthawk1 8 月 18 日 下午 7:45 
so i got everything hooked up and im getting a "low RPM" warning
IsTorLoop 7 月 9 日 下午 8:08 
Engine speeds jump:joe:
Sharp  [作者] 5 月 30 日 上午 11:54 
Just going through it ( its been awhile )
If you shut it off from the on/off, The pids will turn off 5.5 seconds after which will then set the air & fuel throttles to 0. Assuming you arent adding a constant to those throttles.

I might add a update so that when you turn the ecu off, it cuts throttle immediately instead of 5.5 seconds. Unsure why i did that tbh
INTFGaming 5 月 30 日 上午 6:17 
Could also be that i have a set throttle on the engine. A consent number to throttle input.
INTFGaming 5 月 30 日 上午 6:15 
My engine ran for 30 mins after lol. Maybe Flywheel?
Sharp  [作者] 5 月 29 日 下午 1:44 
If ecu on, it will maintain rps. IF ecu off, It will default to 0. It may take a second to turn off.
INTFGaming 5 月 29 日 下午 12:53 
Sharp, I added two number switch boxs before the air and fuel output nodes. I connected a consent 0 to the off output and connected the on/off to the engine on/off input node. This effectively shuts my engine down when i turn the key off.
INTFGaming 5 月 29 日 下午 12:17 
I need to find out why i cant shut my engine off. Idk if its a error on my end or something with the ecu. Ima go over my logic along with looking at adding a fuel starve logic to fix it.
Sharp  [作者] 5 月 27 日 上午 6:16 
No you arent required but its nice for the people who make the controllers, plus i like to see what people do with them
INTFGaming 5 月 26 日 下午 9:21 
I dont know if i have to give credit but to be safe - https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3488454954
2nd Ship I'm working on. Improved off my last attempt but still wip. This ecu is the best one i have found so far. Managed to get temps stable around 80C.
VIIDoors 4 月 12 日 上午 5:49 
The engine starts fine but if i throttle down to stop my boat the engine stalls and wont restart
m3 3 月 28 日 上午 11:31 
yeah that was the plan
it did infact work
Sharp  [作者] 3 月 28 日 上午 3:07 
It would be better to use one ecu per engine, it likely will be fine if they are similar engines if you used one ecu though
m3 3 月 27 日 下午 10:37 
can i use it to control two engines?
m3 3 月 19 日 下午 7:08 
alright thx
btw made a tank and its almost finished using this controller
Sharp  [作者] 3 月 18 日 下午 5:59 
I would think you either need a bigger engine, Its most likely been held at 5 rps cause of the clutch
m3 3 月 18 日 下午 12:51 
?
m3 3 月 18 日 上午 12:15 
when using a tracked vehicle the engine only hits 5 rps
when i want it to go to 30
Sharp  [作者] 3 月 17 日 下午 8:39 
Happens to the best of us
m3 3 月 17 日 下午 8:36 
i may have not checked the composite
may or may not
Sharp  [作者] 3 月 17 日 下午 8:18 
Nice one, What was the problem in the end
m3 3 月 17 日 下午 8:06 
might have fixed it
m3 3 月 17 日 下午 8:04 
i have air, exhaust, fuel all connected
Sharp  [作者] 3 月 17 日 下午 7:59 
Its likely not able to start due to something missing like air, fuel or exhaust
If the afr isnt around 12-15 then air or fuel is missing. If it starts and runs for a sec then dies you are missing exhaust
m3 3 月 17 日 下午 7:56 
it repeats it btw
m3 3 月 17 日 下午 7:53 
when i turn the engine on it get to about 2.7 on rps and just turns on and off and the engine wont start
1 CHANCE 3 月 14 日 下午 9:16 
Why is the turnover not stable?
Sharp  [作者] 3 月 14 日 上午 7:39 
Thank you =)
JDub3350 3 月 14 日 上午 7:13 
@Sharp- I've tried nearly every popular ECU type microcontroller I think, and yet its yours that always ends up on the vehicle. Thanks for your time and contributions! :steamthumbsup:
Etyneo 2024 年 10 月 31 日 下午 11:12 
Ok, coming back to the problem after some sleep helps. That and More Testing. I managed to find a PID slider setting that allows the engine to be stable at any of the valid throttle settings, under various gearing and load conditions. Perhaps the PID slider for the older version wasn't actually doing anything, even though the logic seemed to indicate it should be.

Should be noted that for my 16 cylinder 3x3 engine I need to set the PID slider to around 10-12% with the current (4E) version to reach stability. The older version worked with the PID slider at 100%.
Etyneo 2024 年 10 月 31 日 下午 12:09 
What I'm working on isn't on the WS, but I think I might have found you on Discord...if not I'll have to keep looking.
Etyneo 2024 年 10 月 31 日 上午 11:54 
Should be noted the version of the ECU that is working is whichever one was the most recent on 5/16/2024 (US date format).
Sharp  [作者] 2024 年 10 月 31 日 上午 11:54 
I do have a laptop i use for college, just has no gpu. send me a ws link or find me on discord and send a xml and ill look at it tomorrow
Etyneo 2024 年 10 月 31 日 上午 11:47 
After looking at the logic, it seems that in both versions, the PID slider should be doing something in both. Though it may do something slightly different in 4E compared to 4.

In 4E (the newest version), it seems to be flipping between 'off scale high' and 'off scale low' as the PID rapidly sets the fuel/air throttle high, then negative low, back and forth. the PID slider only serves to slow the process down, but does not stabilize it. The math you're using for the PIDs is too complicated for me, but I'd guess you may have typo'd somewhere when entering a number or operator.

I'd love to be able to give you the save I'm working with so you can see it for yourself, but I understand your computer is down.
Sharp  [作者] 2024 年 10 月 31 日 上午 10:59 
From memory, their was a version where adjusting pid sensitivity did nothing. The pid sensitivity property also got changed so make sure they are similar
Etyneo 2024 年 10 月 31 日 上午 10:36 
Ok, some more trouble shooting seems to indicate that the problem is in the air and fuel throttle PID setup. Whatever you did between version 4 and 4E made the PID way more sensitive. Altering the PID slider in properties helps, but does not completely solve the problem. Unfortunately, your PID logic is too complicated for me to make sense of, but I can tell you altered it a bit in the newer version.
Etyneo 2024 年 10 月 31 日 上午 10:21 
A shame your computer died. I'm now having issues with version 4E of your ECU running an engine that version 4 runs just fine. I duplicated the settings (with the exception of the new ones that did not exist in the older version) and the ECU will not set the throttle to keep the engine running smoothly. The desired throttle jerks, often into negative values resulting in the engine being choked out momentarily before the ECU gives a moment of positive throttle.
Sharp  [作者] 2024 年 10 月 10 日 上午 7:55 
Usually I would say yes, but unfortunately my gaming laptop decided to leave us prematurely ( short circuited ) so I can not play sw for some time.

I suspect you may just be building it wrong somehow, They are complicated when its all shoved at you with no reference.
Theirs some good vids about building modulars on youtube.
https://youtu.be/WISSNAoVX-s?si=piB0ewZBwnw5ccu1
Selsun [Danger Dolphin] 2024 年 10 月 8 日 下午 6:21 
I've been trying to get my modular engines to work for a long time. I tried your ECU and still no luck. I'm really not sure whats wrong at this point. Would you be interested in looking at it?
jenkadagger 2024 年 9 月 29 日 下午 12:32 
i was using 3x3 pistons and i only had 4 of each manifold for all 380 pistons, so yeah that's probably why it didn't work. i was just messing around to see if i could get a massive engine to run without spending much time on it.
as of right now i have been working on a turbine engine + gas engine combination using your ecu, i might upload it if its a success ;)
ryu1940 2024 年 9 月 21 日 下午 2:40 
Thank you for this! I added it to my ship and it makes for a smooth start up and run!
Sharp  [作者] 2024 年 7 月 14 日 上午 2:40 
You sure?
Do have a 256 cylinder 1x1 engine just to see and it worked
It did help having a fuel and air manifold every 3 or so metres as engine efficiency goes down per cylinder the further its from a manifold it seems

But to make a 380 piston engine it must have been 23.75 metres long with 1x1 cylinders
jenkadagger 2024 年 7 月 13 日 下午 5:49 
this ecu wont work with my 380 piston engine :(
(this is a joke. it also is true though, i tried it and it didnt work lol)