Self Training PID control

This has been discussed a bit here:

Self training PID is definitly the way of the future. 
I suppose in the mean time, this could be done in a crude manner to extend the flight envelope. Something like this:
-Tune the basic PID settings for flight speeds in or around approach speed in APM (the most critical phase of any flight) then set something in the code that says that if airspeed increases, reduce the rate by which the PID acts on the controls, some sort of percentage. Essentially, this would be like automatic dual rates for the autopilot.
For every airframe, we know roughly what the stall speed is and what speed it becomes a little too freaky to fly. With that in mind, it should be reasonably easy to induce a PID percentage or rate system in the programming to have a basic self adjusting system. Until some code Guru comes up with the real mccoy of self training PIDs, this could be a solution.
Just a thought.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –


  • Does anyone know if the swash and tail "Optimizers" in the Mikado VBar software for flybarless helicopters is accomplishing this task?  If so, could something be learned from that system?



  • Hi

    The thing you are talking about is called (Gain-shceduled) GS-PID and there are some papers available in the network for your reference. I have used this idea for fault-tolerant control of quadrotor.

    But I have a question. How can I have access to the code? I like to apply different controllers and not only PID. Please help me with that.

    Regards from Canada

This reply was deleted.