Autopilot Parameters

Forum dedicated to Microsoft FS2004 - "A Century of Flight".

Autopilot Parameters

Postby nickle » Sun Feb 29, 2004 11:25 am

A very interesting auto pilot analysis by lilo
This is the narrative from Official FS Site 2. Go there to see the screenshots.

From: lilo_we Sent: 2/28/2004 6:32 PM
Hi,
in FS2K4 there are new settings in the aircraft.cfg file which allow you to change the behavior of the autopilot. For example, these are the original parameters for the Beechcraft Baron 58:
...
[autopilot]
...
nav_proportional_control=9.00
nav_integrator_control=0.25
nav_derivative_control=0.00
nav_integrator_boundary=2.50
nav_derivative_boundary=0.00
gs_proportional_control=9.52
gs_integrator_control=0.26
gs_derivative_control=0.00
gs_integrator_boundary=0.70
gs_derivative_boundary=0.00
...
"nav_" stands for navigational control and "gs_" for glideslope control. According to the Aircraft Container part of the FS SDK 2004 these parameters are the constants of a PID feedback controller. If you are unfamiliar with PID controllers seach the Web for "PID feedback controller" and you will find a lot of related introductions, summaries and tutorials. In short the proportional part reduces the time to reach the desired output for the first time and increases the overshoot. Unfortunately it doesn't eliminate the steady state error. The integral part eliminates the steady state error but increases the overshoot as well as the time to settle down to the desired output. The derivative part mainly reduces the overshoot. All three parts interact with each other. So if you want to change one parameter you also have to change the other two to find the perfect combination. You can even ommit one part by setting the corresponding constant to zero to create a P, PI or PD controller.
If I am not totally wrong by default both the NAV and the glideslope controllers work in PI mode for all aircrafts. Which means the derivative part is inactive resulting in overshoots.
So I started with an experiment. I created a test flight with ABL-script to make the flights reproducable. The flight starts some miles east of EDDE heading 45
nickle
1st Lieutenant
1st Lieutenant
 
Posts: 341
Joined: Tue Jun 24, 2003 11:49 am
Location: San Diego, Ca

Re: Autopilot Parameters

Postby nickle » Sun Feb 29, 2004 12:28 pm

Here is a good definition of Proportional, Integrator and Derivative for PID functions:

http://www.brewerscience.com/cee/otherp ... e_pid.html

My analysis of the cfg a/p settings:

Proportional is the gain value for initial a/p or gs correction.
Last edited by nickle on Sun Feb 29, 2004 12:45 pm, edited 1 time in total.
nickle
1st Lieutenant
1st Lieutenant
 
Posts: 341
Joined: Tue Jun 24, 2003 11:49 am
Location: San Diego, Ca

Re: Autopilot Parameters

Postby Tu144 » Mon Jun 18, 2007 11:02 pm

Hi,

where can I find the screenshots?

"A very interesting auto pilot analysis by lilo"

Rgds
Claudio
Tu144
Ground hog
Ground hog
 
Posts: 1
Joined: Mon Jun 18, 2007 11:44 pm


Return to FS 2004 - A Century of Flight

Who is online

Users browsing this forum: No registered users and 203 guests