Barotrauma

Barotrauma

Not enough ratings
Compact universal PID
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
62.783 KB
7 Nov, 2021 @ 1:20pm
7 Nov, 2021 @ 1:23pm
2 Change Notes ( view )

Subscribe to download
Compact universal PID

Description
PID controller. Make sure to manually set the control parameters by trial and error.
Input on the left relay. make sure it is the error of the value you wish to control. output on the right. the controller is currently clamped at -100 to 100.
7 Comments
Mimic 27 Apr, 2023 @ 7:58pm 
Works great!
Making a periscope controlled drone and needed a way to stop the drone from moving with out using the nav terminal auto pilot.
BoomMicGuy 3 May, 2022 @ 5:36pm 
Cool. Thank you for your input
G3NTrovert  [author] 3 May, 2022 @ 4:03pm 
just make sure to put the error value into the PID (not the raw output of the nav). furthermore it is just tweaking the PID constants. I recommend making the PID as "unstable as possible" as it will make the response time of the sub very quick! The nav terminal itself already has some sort of damping build into it. This prevents it from going out of control at its natural frequency. after getting your required response time, just try tweaking the values to reduce your overshoot. I sort of already did this in my latest elevator design.
BoomMicGuy 26 Apr, 2022 @ 2:05pm 
Howdy, I haven't played with it much yet, but I plan to try and implement this to the navigation terminal. It will take the state outs of manual control then return the ship to equilibrium over time. Like a soft auto pilot. Do you have any suggestions to help me implement this?
G3NTrovert  [author] 9 Nov, 2021 @ 7:37am 
whoops left a relay in there that is redundant
G3NTrovert  [author] 7 Nov, 2021 @ 2:30pm 
I use it for controlling the speed of my elevator relative to my main submarine. other examples are: position, temperature and turbine output.
Heartnire 7 Nov, 2021 @ 1:48pm 
This seems neat! Thank you.
I had to look up what this is. If I may ask, how do you personally apply this on your vessels?

https://en.wikipedia.org/wiki/PID_controller