 |
Author |
Autopilot Induced Oscillations |
chuck

Posts: 36
Joined: 25.01.07
 |
Posted on 26-03-2007 16:39 |
|
|
I'm having a little trouble setting up my project aircraft's autopilot. Specifically the settings to do with flying a heading.
Currently my aircraft will bank towards the set heading but upon arriving reacts too slowly & overshoots. Then it banks back the other way & again overshoots the heading resulting in a continuing oscillation back & forth.
It seems like I need to tell the autopilot to anticipate the heading sooner so that it has time to level out. The best I've been able to do is slow the turn rate way down which helps a little but that's not an ideal solution.
I've played with the settings in the aircraft.cfg [autopilot] section but I don't seem to be getting anywhere. Anyone have any advise on how best to tune an autopilot? |
|
Author |
RE: Autopilot Induced Oscillations |
jackfolla

Posts: 509
Joined: 11.04.06
|
Posted on 26-03-2007 16:41 |
|
|
Well probably best to start here: Tutorial
http://www.jashaw.com/pid/tutorial/
The math involved is not to complex, but you will have to do some reading.
Basically PID = Proportional, Integral, Derivative and sounds like you have set up a simple proportional system that oscillates, moving back and forth around the setpoint because there's nothing to remove the error when it overshoots.
Also read: Wikipedia
http://en.wikipedia.org/wiki/PID_controller |
|
|
|  |