Profile image

Speed autopilot PID

1,607 mrxml  5 months ago

I just learned about PIDs and I’m trying to use one.

I thought a PID would be suitable to make an automatic throttle control that would maintain a specific speed.


I need help tuning it and actually incorporating it into an FT expression that controls the throttle.

When my PID is disturbed, it either takes 30 seconds to respond or oscillates very widely


The PID

here it is: PID(APspeed, TAS, 2, 1, 1)

APspeed is a custom setter I made

  • Expression: TAS
  • Priority: 0
  • Activator: !Activate2
  • Log in to leave a comment
  • Profile image
    1,607 mrxml

    @32 ok thank you

    5 months ago
  • Profile image
    29.6k 32

    I'm working on figuring it out, stay tuned for an answer

    5 months ago
  • Profile image
    1,607 mrxml

    @Timplanes I know and I’m trying to use this guy’s tuning methods. I would also like to see what other people would do.

    5 months ago
  • Profile image
    10.5k Timplanes

    https://snowflake0s.github.io/funkyguide/pidtuning/
    This website is pretty helpful for all things funkytrees

    5 months ago
  • Profile image
    1,607 mrxml

    @32 please help

    5 months ago
  • Profile image

    @32

    5 months ago
  • Profile image
    1,607 mrxml

    @TheMouse Who is 32

    5 months ago
  • Profile image
    59.0k TheMouse

    @mrxml
    I realize this. I dont know how to do this type of stuff tho, so I upvoted so other people will see it. Maybe 32 would be able to help you?

    5 months ago
  • Profile image
    1,607 mrxml

    Also

    I DO NOT NEED UPVOTES! I NEED HELP!

    5 months ago
  • Profile image
    1,607 mrxml

    @TheMouse was here first!

    5 months ago