2017-06-08 00:14:22 +00:00
|
|
|
<!-- Airbus A3XX FCS by Joshua Davidson (it0uchpods) -->
|
|
|
|
|
2017-07-13 17:30:33 +00:00
|
|
|
<!--
|
2017-08-16 20:53:35 +00:00
|
|
|
#########################################
|
|
|
|
# Copyright (c) it0uchpods Design Group #
|
|
|
|
#########################################
|
2017-07-13 17:30:33 +00:00
|
|
|
-->
|
|
|
|
|
2017-06-08 00:14:22 +00:00
|
|
|
<system name="A3XX: FCS">
|
2017-10-05 14:17:29 +00:00
|
|
|
|
|
|
|
<property value="2">fcs/internal-fbw-law</property>
|
|
|
|
|
|
|
|
<channel name="FBW">
|
|
|
|
|
|
|
|
<switch name="Internal FBW Law">
|
|
|
|
<default value="/it-fbw/law"/>
|
|
|
|
<test logic="OR" value="2">
|
|
|
|
/gear/gear[1]/wow == 1
|
|
|
|
/gear/gear[2]/wow == 1
|
|
|
|
</test>
|
|
|
|
</switch>
|
|
|
|
|
|
|
|
</channel>
|
2017-07-23 01:34:55 +00:00
|
|
|
|
2017-10-05 02:58:15 +00:00
|
|
|
<channel name="Roll">
|
|
|
|
|
|
|
|
<summer name="Roll Trim Sum">
|
|
|
|
<input>/controls/flight/aileron-sum</input>
|
|
|
|
<input>/controls/flight/aileron-trim</input>
|
2017-07-23 01:34:55 +00:00
|
|
|
<clipto>
|
|
|
|
<min>-1</min>
|
|
|
|
<max>1</max>
|
|
|
|
</clipto>
|
|
|
|
</summer>
|
2017-06-08 00:14:22 +00:00
|
|
|
|
2017-10-05 02:58:15 +00:00
|
|
|
<aerosurface_scale name="Roll Control">
|
|
|
|
<input>fcs/roll-trim-sum</input>
|
2017-07-23 01:34:55 +00:00
|
|
|
<range>
|
2017-10-05 02:58:15 +00:00
|
|
|
<min>-0.523599</min>
|
|
|
|
<max>0.523599</max>
|
2017-07-23 01:34:55 +00:00
|
|
|
</range>
|
2017-10-05 02:58:15 +00:00
|
|
|
<output>fcs/roll-pos-rad</output>
|
2017-07-23 01:34:55 +00:00
|
|
|
</aerosurface_scale>
|
2017-10-05 02:58:15 +00:00
|
|
|
|
|
|
|
<aerosurface_scale name="Roll Control Normalized">
|
|
|
|
<input>fcs/roll-pos-rad</input>
|
|
|
|
<domain>
|
|
|
|
<min>-0.523599</min>
|
|
|
|
<max>0.523599</max>
|
|
|
|
</domain>
|
2017-07-23 01:34:55 +00:00
|
|
|
<range>
|
|
|
|
<min>-1</min>
|
|
|
|
<max>1</max>
|
|
|
|
</range>
|
2017-10-05 02:58:15 +00:00
|
|
|
<output>fcs/roll-pos-norm</output>
|
2017-07-23 01:34:55 +00:00
|
|
|
</aerosurface_scale>
|
|
|
|
|
2017-06-08 00:14:22 +00:00
|
|
|
</channel>
|
2017-07-23 01:34:55 +00:00
|
|
|
|
2017-10-05 02:58:15 +00:00
|
|
|
<channel name="Pitch">
|
2017-07-23 01:34:55 +00:00
|
|
|
|
2017-10-05 02:58:15 +00:00
|
|
|
<summer name="Pitch Trim Sum">
|
|
|
|
<input>/controls/flight/elevator-sum</input>
|
|
|
|
<input>/controls/flight/elevator-trim</input>
|
2017-07-23 01:34:55 +00:00
|
|
|
<clipto>
|
|
|
|
<min>-1</min>
|
|
|
|
<max>1</max>
|
|
|
|
</clipto>
|
|
|
|
</summer>
|
2017-06-08 00:14:22 +00:00
|
|
|
|
2017-10-05 02:58:15 +00:00
|
|
|
<aerosurface_scale name="Pitch Control">
|
|
|
|
<input>fcs/pitch-trim-sum</input>
|
2017-07-23 01:34:55 +00:00
|
|
|
<range>
|
2017-10-05 02:58:15 +00:00
|
|
|
<min>-0.523599</min>
|
|
|
|
<max>0.523599</max>
|
2017-07-23 01:34:55 +00:00
|
|
|
</range>
|
2017-10-05 02:58:15 +00:00
|
|
|
<output>fcs/pitch-pos-rad</output>
|
2017-07-23 01:34:55 +00:00
|
|
|
</aerosurface_scale>
|
2017-10-05 02:58:15 +00:00
|
|
|
|
2017-10-08 23:48:59 +00:00
|
|
|
<scheduled_gain name="Pitch Control Gearing">
|
2017-10-07 18:57:23 +00:00
|
|
|
<input>fcs/pitch-pos-rad</input>
|
2017-10-08 23:48:59 +00:00
|
|
|
<table>
|
|
|
|
<independentVar lookup="row">velocities/mach</independentVar>
|
|
|
|
<independentVar lookup="column">atmosphere/density-altitude</independentVar>
|
|
|
|
<tableData>
|
|
|
|
0.0 43000
|
|
|
|
0.0 1.00 0.85
|
|
|
|
0.9 0.02 0.75
|
|
|
|
</tableData>
|
|
|
|
</table>
|
|
|
|
<output>fcs/pitch-pos-geared</output>
|
|
|
|
</scheduled_gain>
|
|
|
|
|
|
|
|
<aerosurface_scale name="Pitch Control Normalized">
|
|
|
|
<input>fcs/pitch-pos-geared</input>
|
2017-07-23 01:34:55 +00:00
|
|
|
<domain>
|
2017-10-05 02:58:15 +00:00
|
|
|
<min>-0.523599</min>
|
|
|
|
<max>0.523599</max>
|
2017-07-23 01:34:55 +00:00
|
|
|
</domain>
|
|
|
|
<range>
|
|
|
|
<min>-1</min>
|
|
|
|
<max>1</max>
|
|
|
|
</range>
|
2017-10-05 02:58:15 +00:00
|
|
|
<output>fcs/pitch-pos-norm</output>
|
2017-07-23 01:34:55 +00:00
|
|
|
</aerosurface_scale>
|
|
|
|
|
2017-06-08 00:14:22 +00:00
|
|
|
</channel>
|
2017-07-23 01:34:55 +00:00
|
|
|
|
2017-10-15 18:11:27 +00:00
|
|
|
<channel name="FADEC">
|
2017-07-23 01:34:55 +00:00
|
|
|
|
2017-10-15 18:11:27 +00:00
|
|
|
<lag_filter name="fcs/throttle1">
|
2017-08-06 03:07:21 +00:00
|
|
|
<input>/controls/engines/engine[0]/throttle-output</input>
|
2017-10-15 18:11:27 +00:00
|
|
|
<c1>0.95</c1>
|
2017-07-23 01:34:55 +00:00
|
|
|
<output>fcs/throttle-cmd-norm</output>
|
|
|
|
<output>fcs/throttle-pos-norm</output>
|
2017-10-15 18:11:27 +00:00
|
|
|
</lag_filter>
|
2017-07-23 01:34:55 +00:00
|
|
|
|
2017-10-15 18:11:27 +00:00
|
|
|
<lag_filter name="fcs/throttle2">
|
2017-08-06 03:07:21 +00:00
|
|
|
<input>/controls/engines/engine[1]/throttle-output</input>
|
2017-10-15 18:11:27 +00:00
|
|
|
<c1>0.95</c1>
|
2017-07-23 01:34:55 +00:00
|
|
|
<output>fcs/throttle-cmd-norm[1]</output>
|
|
|
|
<output>fcs/throttle-pos-norm[1]</output>
|
2017-10-15 18:11:27 +00:00
|
|
|
</lag_filter>
|
|
|
|
|
|
|
|
<lag_filter name="fcs/n1-actual1">
|
|
|
|
<input>/engines/engine[0]/n1</input>
|
|
|
|
<c1>2.25</c1>
|
|
|
|
<output>/engines/engine[0]/n1-actual</output>
|
|
|
|
</lag_filter>
|
|
|
|
|
|
|
|
<lag_filter name="fcs/n1-actual2">
|
|
|
|
<input>/engines/engine[1]/n1</input>
|
|
|
|
<c1>2.25</c1>
|
|
|
|
<output>/engines/engine[1]/n1-actual</output>
|
|
|
|
</lag_filter>
|
|
|
|
|
|
|
|
<lag_filter name="fcs/n2-actual1">
|
|
|
|
<input>/engines/engine[0]/n2</input>
|
|
|
|
<c1>2.25</c1>
|
|
|
|
<output>/engines/engine[0]/n2-actual</output>
|
|
|
|
</lag_filter>
|
|
|
|
|
|
|
|
<lag_filter name="fcs/n2-actual2">
|
|
|
|
<input>/engines/engine[1]/n2</input>
|
|
|
|
<c1>2.25</c1>
|
|
|
|
<output>/engines/engine[1]/n2-actual</output>
|
|
|
|
</lag_filter>
|
2017-07-23 01:34:55 +00:00
|
|
|
|
2017-06-08 00:14:22 +00:00
|
|
|
</channel>
|
|
|
|
|
|
|
|
<channel name="Yaw">
|
|
|
|
|
2017-07-23 01:34:55 +00:00
|
|
|
<pure_gain name="fcs/rudder-cmd">
|
|
|
|
<input>/controls/flight/rudder-fdm</input>
|
|
|
|
<gain>-1</gain>
|
|
|
|
<output>fcs/rudder-cmd-norm</output>
|
|
|
|
</pure_gain>
|
2017-06-08 00:14:22 +00:00
|
|
|
|
2017-07-23 01:34:55 +00:00
|
|
|
<summer name="Rudder Command Sum">
|
|
|
|
<input>fcs/rudder-cmd-norm</input>
|
|
|
|
<input>fcs/yaw-trim-cmd-norm</input>
|
|
|
|
<clipto>
|
|
|
|
<min> -0.35 </min>
|
|
|
|
<max> 0.35 </max>
|
|
|
|
</clipto>
|
|
|
|
</summer>
|
2017-06-08 00:14:22 +00:00
|
|
|
|
2017-07-23 01:34:55 +00:00
|
|
|
<scheduled_gain name="Yaw Damper Rate">
|
|
|
|
<input>velocities/r-aero-rad_sec</input>
|
|
|
|
<table>
|
|
|
|
<independentVar lookup="row">velocities/ve-kts</independentVar>
|
|
|
|
<tableData>
|
|
|
|
30 0.00
|
|
|
|
60 2.00
|
|
|
|
</tableData>
|
|
|
|
</table>
|
|
|
|
</scheduled_gain>
|
2017-06-08 00:14:22 +00:00
|
|
|
|
2017-07-23 01:34:55 +00:00
|
|
|
<scheduled_gain name="Yaw Damper Beta">
|
|
|
|
<input>aero/beta-rad</input>
|
|
|
|
<table>
|
|
|
|
<independentVar lookup="row">velocities/ve-kts</independentVar>
|
|
|
|
<tableData>
|
|
|
|
30 0.00
|
|
|
|
60 0.00
|
|
|
|
</tableData>
|
|
|
|
</table>
|
|
|
|
</scheduled_gain>
|
2017-06-08 00:14:22 +00:00
|
|
|
|
2017-07-23 01:34:55 +00:00
|
|
|
<summer name="Yaw Damper Sum">
|
|
|
|
<input>fcs/yaw-damper-beta</input>
|
|
|
|
<input>fcs/yaw-damper-rate</input>
|
|
|
|
<clipto>
|
|
|
|
<min> -0.1 </min>
|
|
|
|
<max> 0.1 </max>
|
|
|
|
</clipto>
|
|
|
|
</summer>
|
2017-06-08 00:14:22 +00:00
|
|
|
|
2017-07-23 01:34:55 +00:00
|
|
|
<scheduled_gain name="Yaw Damper Final">
|
|
|
|
<input>fcs/yaw-damper-sum</input>
|
|
|
|
<table>
|
|
|
|
<independentVar lookup="row">velocities/ve-kts</independentVar>
|
|
|
|
<tableData>
|
|
|
|
30 0.0
|
|
|
|
31 1.0
|
|
|
|
</tableData>
|
|
|
|
</table>
|
|
|
|
</scheduled_gain>
|
2017-06-08 00:14:22 +00:00
|
|
|
|
2017-07-23 01:34:55 +00:00
|
|
|
<summer name="Rudder Sum">
|
|
|
|
<input>fcs/rudder-command-sum</input>
|
|
|
|
<input>fcs/yaw-damper-final</input>
|
|
|
|
<clipto>
|
|
|
|
<min> -1 </min>
|
|
|
|
<max> 1 </max>
|
|
|
|
</clipto>
|
|
|
|
</summer>
|
2017-06-08 00:14:22 +00:00
|
|
|
|
2017-07-23 01:34:55 +00:00
|
|
|
<aerosurface_scale name="Rudder Control">
|
|
|
|
<input>fcs/rudder-sum</input>
|
|
|
|
<range>
|
|
|
|
<min> -0.35 </min>
|
|
|
|
<max> 0.35 </max>
|
|
|
|
</range>
|
|
|
|
<output>fcs/rudder-pos-rad</output>
|
|
|
|
</aerosurface_scale>
|
2017-06-08 00:14:22 +00:00
|
|
|
|
2017-07-23 01:34:55 +00:00
|
|
|
<aerosurface_scale name="rudder normalization">
|
|
|
|
<input>fcs/rudder-pos-rad</input>
|
|
|
|
<domain>
|
|
|
|
<min> -0.35 </min>
|
|
|
|
<max> 0.35 </max>
|
|
|
|
</domain>
|
|
|
|
<range>
|
|
|
|
<min> -1 </min>
|
|
|
|
<max> 1 </max>
|
|
|
|
</range>
|
|
|
|
<output>fcs/rudder-pos-norm</output>
|
|
|
|
</aerosurface_scale>
|
|
|
|
|
2017-06-08 00:14:22 +00:00
|
|
|
</channel>
|
|
|
|
|
|
|
|
<channel name="Flaps">
|
2017-07-23 01:34:55 +00:00
|
|
|
|
2017-06-08 00:14:22 +00:00
|
|
|
<kinematic name="Flaps Control">
|
|
|
|
<input>/controls/flight/flaps</input>
|
|
|
|
<traverse>
|
2017-07-23 01:34:55 +00:00
|
|
|
<setting>
|
|
|
|
<position>0</position>
|
|
|
|
<time>0</time>
|
|
|
|
</setting>
|
|
|
|
<setting>
|
|
|
|
<position>35</position>
|
2017-09-15 19:32:49 +00:00
|
|
|
<time>30</time>
|
2017-07-23 01:34:55 +00:00
|
|
|
</setting>
|
2017-06-08 00:14:22 +00:00
|
|
|
</traverse>
|
|
|
|
<output>fcs/flap-pos-deg</output>
|
|
|
|
</kinematic>
|
|
|
|
|
|
|
|
<aerosurface_scale name="Flap position normalized">
|
|
|
|
<input>fcs/flap-pos-deg</input>
|
|
|
|
<domain>
|
|
|
|
<min>0</min>
|
|
|
|
<max>35</max>
|
|
|
|
</domain>
|
|
|
|
<range>
|
|
|
|
<min>0</min>
|
|
|
|
<max>1</max>
|
|
|
|
</range>
|
|
|
|
<output>fcs/flap-pos-norm</output>
|
|
|
|
</aerosurface_scale>
|
2017-07-23 01:34:55 +00:00
|
|
|
|
2017-06-08 00:14:22 +00:00
|
|
|
</channel>
|
|
|
|
|
|
|
|
<channel name="Slats">
|
2017-07-23 01:34:55 +00:00
|
|
|
|
2017-06-08 00:14:22 +00:00
|
|
|
<kinematic name="Slats Control">
|
|
|
|
<input>/controls/flight/slats</input>
|
|
|
|
<traverse>
|
2017-07-23 01:34:55 +00:00
|
|
|
<setting>
|
|
|
|
<position>0</position>
|
|
|
|
<time>0</time>
|
|
|
|
</setting>
|
|
|
|
<setting>
|
|
|
|
<position>27</position>
|
2017-09-15 19:32:49 +00:00
|
|
|
<time>20</time>
|
2017-07-23 01:34:55 +00:00
|
|
|
</setting>
|
2017-06-08 00:14:22 +00:00
|
|
|
</traverse>
|
|
|
|
<output>fcs/slat-pos-deg</output>
|
|
|
|
</kinematic>
|
|
|
|
|
|
|
|
<aerosurface_scale name="Slat position normalized">
|
|
|
|
<input>fcs/slat-pos-deg</input>
|
|
|
|
<domain>
|
2017-07-23 01:34:55 +00:00
|
|
|
<min>0</min>
|
|
|
|
<max>27</max>
|
2017-06-08 00:14:22 +00:00
|
|
|
</domain>
|
|
|
|
<range>
|
2017-07-23 01:34:55 +00:00
|
|
|
<min>0</min>
|
|
|
|
<max>1</max>
|
2017-06-08 00:14:22 +00:00
|
|
|
</range>
|
|
|
|
<output>fcs/slat-pos-norm</output>
|
|
|
|
</aerosurface_scale>
|
2017-07-23 01:34:55 +00:00
|
|
|
|
2017-06-08 00:14:22 +00:00
|
|
|
</channel>
|
|
|
|
|
|
|
|
<channel name="Landing Gear">
|
2017-07-23 01:34:55 +00:00
|
|
|
|
2017-06-08 00:14:22 +00:00
|
|
|
<kinematic name="Gear Control">
|
|
|
|
<input>gear/gear-cmd-norm</input>
|
|
|
|
<traverse>
|
2017-07-23 01:34:55 +00:00
|
|
|
<setting>
|
|
|
|
<position>0</position>
|
|
|
|
<time>0</time>
|
|
|
|
</setting>
|
|
|
|
<setting>
|
|
|
|
<position>1</position>
|
|
|
|
<time>10</time>
|
|
|
|
</setting>
|
2017-06-08 00:14:22 +00:00
|
|
|
</traverse>
|
|
|
|
<output>gear/gear-pos-norm</output>
|
|
|
|
</kinematic>
|
2017-07-23 01:34:55 +00:00
|
|
|
|
2017-06-08 00:14:22 +00:00
|
|
|
</channel>
|
|
|
|
|
|
|
|
<channel name="Speedbrake">
|
2017-07-23 01:34:55 +00:00
|
|
|
|
2017-06-08 00:14:22 +00:00
|
|
|
<kinematic name="Speedbrake">
|
2017-06-10 22:42:26 +00:00
|
|
|
<input>/controls/flight/speedbrake-output</input>
|
2017-06-08 00:14:22 +00:00
|
|
|
<traverse>
|
2017-07-23 01:34:55 +00:00
|
|
|
<setting>
|
|
|
|
<position>0</position>
|
|
|
|
<time>0</time>
|
|
|
|
</setting>
|
|
|
|
<setting>
|
|
|
|
<position>1</position>
|
|
|
|
<time>1</time>
|
|
|
|
</setting>
|
2017-06-08 00:14:22 +00:00
|
|
|
</traverse>
|
|
|
|
<output>fcs/speedbrake-pos-norm</output>
|
|
|
|
</kinematic>
|
2017-07-23 01:34:55 +00:00
|
|
|
|
2017-06-08 00:14:22 +00:00
|
|
|
</channel>
|
|
|
|
|
|
|
|
<channel name="Tiller">
|
|
|
|
|
2017-07-23 01:34:55 +00:00
|
|
|
<fcs_function name="Nose Wheel Steering 0">
|
|
|
|
<function name="fcs/steer-nose-deg[0]">
|
|
|
|
<description>Steering command for nose gear</description>
|
2017-08-29 12:35:15 +00:00
|
|
|
<product>
|
|
|
|
<table>
|
|
|
|
<independentVar lookup="row">/velocities/groundspeed-kt</independentVar>
|
|
|
|
<independentVar lookup="column">/controls/flight/rudder</independentVar>
|
|
|
|
<tableData>
|
|
|
|
-1 0 1
|
|
|
|
30.000 -70 0 70
|
2017-08-29 12:39:23 +00:00
|
|
|
30.001 -10 0 10
|
2017-08-29 12:35:15 +00:00
|
|
|
</tableData>
|
|
|
|
</table>
|
|
|
|
</product>
|
2017-07-23 01:34:55 +00:00
|
|
|
</function>
|
|
|
|
</fcs_function>
|
2017-06-08 00:14:22 +00:00
|
|
|
|
2017-07-23 01:34:55 +00:00
|
|
|
<actuator name="Gear Nose Actuator">
|
|
|
|
<input>fcs/steer-nose-deg[0]</input>
|
|
|
|
<rate_limit>70</rate_limit>
|
|
|
|
<output>fcs/steer-pos-deg[0]</output>
|
|
|
|
</actuator>
|
|
|
|
|
2017-06-08 00:14:22 +00:00
|
|
|
</channel>
|
|
|
|
|
2017-07-23 01:34:55 +00:00
|
|
|
</system>
|