Autobrake internals: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Created page with 'This page discusses the operation of the generic, C++ based autobrake system. It is assumed the reader is familiar with the general concepts of autobrakes as discussed [[Autobrak…')
 
No edit summary
Line 1: Line 1:
This page discusses the operation of the generic, C++ based autobrake system. It is assumed the reader is familiar with the general concepts of autobrakes as discussed [[Autobrake|here]].
This page discusses the operation of the generic, C++ based autobrake system. It is assumed the reader is familiar with the general concepts of autobrakes as discussed [[Autobrake|here]].
===Concepts===
The code is built around the notion of steps, with 0 being off/disarmed, and positive steps (up to a limit) corresponding to increasing braking severity. Steps above and below this range are ignored; the Boeing rotary selectors use 0 to represent 'disarmed' and '-1' to represent 'off'. RTO mode is defined as a step value; it can be negative, positive, and overlap the valid step range out be outside it. Overlapping the range is typically used to make the 'maximum' step automatically select RTO mode if activated while on the ground (eg, in Airbuses)
===Aircraft Integration===
The <tt>-set.xml</tt> file should specify the configuration parameters as discussed below. An autopilot controller should be created to relate the target-decel-ft-sec property to the fcs-brake property, using gains that are appropriate to the aircraft.
For YASim based aircraft, the gear section of the FDM XML file should be updated to use /autopilot/autobrake/left-brake-output and right-brake-output to control the wheel brakes as appropriate. (For JSBSim aircraft, this connection is done in <tt>JSBSim.cxx</tt>)
===Configuration===
Real-world devices differ in their interface and behaviour; this is expressed in FlightGear via the <tt>config</tt> properties. If you encounter a real-world device that can't be modelled by the current code, ask on the developer mailing list; support can probably be added. There is also a possibility of adding Nasal callbacks to allow scripted behaviour for various conditions.

Revision as of 13:08, 19 October 2009

This page discusses the operation of the generic, C++ based autobrake system. It is assumed the reader is familiar with the general concepts of autobrakes as discussed here.

Concepts

The code is built around the notion of steps, with 0 being off/disarmed, and positive steps (up to a limit) corresponding to increasing braking severity. Steps above and below this range are ignored; the Boeing rotary selectors use 0 to represent 'disarmed' and '-1' to represent 'off'. RTO mode is defined as a step value; it can be negative, positive, and overlap the valid step range out be outside it. Overlapping the range is typically used to make the 'maximum' step automatically select RTO mode if activated while on the ground (eg, in Airbuses)

Aircraft Integration

The -set.xml file should specify the configuration parameters as discussed below. An autopilot controller should be created to relate the target-decel-ft-sec property to the fcs-brake property, using gains that are appropriate to the aircraft.

For YASim based aircraft, the gear section of the FDM XML file should be updated to use /autopilot/autobrake/left-brake-output and right-brake-output to control the wheel brakes as appropriate. (For JSBSim aircraft, this connection is done in JSBSim.cxx)

Configuration

Real-world devices differ in their interface and behaviour; this is expressed in FlightGear via the config properties. If you encounter a real-world device that can't be modelled by the current code, ask on the developer mailing list; support can probably be added. There is also a possibility of adding Nasal callbacks to allow scripted behaviour for various conditions.