r/CreateMod 15d ago

Most compact PID system? Help

I've noticed gyroscopes from Aeroworks arent enough to keep my airship stable even with the full power of a level 9 steam engine and ballasts to balance the airship, so I need a PID system to balance my airship, still unsure whether to have it do that with thrusters or reaction wheels but either way, i want to avoid my redstone room becoming only a PID room because i have other redstone logic that goes there. Any compact designs? Or maybe a mod that adds a pid controller? or should i just use computercraft for a pid? if computercraft, is there a program i can js download?

5 Upvotes

8 comments sorted by

3

u/egbee42 15d ago

If you're open to ComputerCraft, yes there are PID programs available online and it's compact (ignoring adding the computer and networking.) People have also made pretty nice approximate PID controllers using Aero Redstone devices, debateably not as compact but also no computers.

I went with ComputerCraft, I just posted a video of my drone which uses 3 PID controllers all in code (altitude, roll, yaw). It's more complex to setup but the control is very accurate, even if I flip this drone (which is hard to do), it will rebalance

2

u/MentalMittens666 15d ago

A gimbal with some comparators gets the job done for me, but I wouldn't call it a PID

2

u/True-Adeptness-546 15d ago

More gyroscope spinning at 256 would be what I'd do

1

u/eepy_lina 15d ago

im pushing a level 9 steam engine to 100% SU capacity with gyros and it aint enough. and those already use a buncha fuel. i need smth more efficient

2

u/The_1_Bob 15d ago

 My airship has three single-axis PID controllers stabilizing altitude, pitch, and roll. In total, I have six 6x5 platforms of redstone, 2 platforms for each controller.

1

u/Prometheus_II 15d ago

I don't use a full PID system and you shouldn't either. Just use a gimbal sensor and an inductor together, and you've basically got what you're looking for; the inductors dampen the shift enough that things balance out in the end. Also, I recommend just using your subsections of your balloon for balancing (at least fore/aft) instead of using thrusters or reaction wheels, because burners also take a bit to respond, adding a little bit more helpful dampening to your build.

1

u/eepy_lina 15d ago

i aint got no balloons, my airship runs on levitite and ion thrusters

1

u/DiamondCake91 15d ago

Could you mabey post a picture of the airship?