This repository has been archived on 2021-09-26. You can view files and clone it, but cannot push or open issues or pull requests.
IDG-A32X/Systems/fmgc-b.xml
2017-06-09 18:27:30 -04:00

547 lines
14 KiB
XML

<?xml version="1.0"?>
<!-- IT-AUTOFLIGHT -->
<PropertyList>
<!-- =============================================================== -->
<!-- Predictors -->
<!-- =============================================================== -->
<predict-simple>
<name>ALTITUDE 5 SECONDS AHEAD</name>
<debug>false</debug>
<input>/instrumentation/altimeter/indicated-altitude-ft</input>
<output>/it-autoflight/internal/altitude-5-sec-ahead</output>
<seconds>5.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<predict-simple>
<name>IAS 5 SECOND PREDICTOR</name>
<debug>false</debug>
<input>/instrumentation/airspeed-indicator/indicated-speed-kt</input>
<output>/it-autoflight/internal/lookahead-5-sec-airspeed-kt</output>
<seconds>5.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<predict-simple>
<name>IAS 10 SECOND PREDICTOR</name>
<debug>false</debug>
<input>/instrumentation/airspeed-indicator/indicated-speed-kt</input>
<output>/it-autoflight/internal/lookahead-10-sec-airspeed-kt</output>
<seconds>10.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<predict-simple>
<name>IAS 15 SECOND PREDICTOR</name>
<debug>false</debug>
<input>/instrumentation/airspeed-indicator/indicated-speed-kt</input>
<output>/it-autoflight/internal/lookahead-15-sec-airspeed-kt</output>
<seconds>15.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<predict-simple>
<name>MACH 5 SECOND PREDICTOR</name>
<debug>false</debug>
<input>/instrumentation/airspeed-indicator/indicated-mach</input>
<output>/it-autoflight/internal/lookahead-5-sec-mach</output>
<seconds>5.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<predict-simple>
<name>MACH 10 SECOND PREDICTOR</name>
<debug>false</debug>
<input>/instrumentation/airspeed-indicator/indicated-mach</input>
<output>/it-autoflight/internal/lookahead-10-sec-mach</output>
<seconds>10.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<predict-simple>
<name>MACH 15 SECOND PREDICTOR</name>
<debug>false</debug>
<input>/instrumentation/airspeed-indicator/indicated-mach</input>
<output>/it-autoflight/internal/lookahead-15-sec-mach</output>
<seconds>15.0</seconds>
<filter-gain>0.0</filter-gain>
</predict-simple>
<!-- =============================================================== -->
<!-- Autopilot Helpers/Calculators -->
<!-- =============================================================== -->
<filter>
<name>FMGC MNG SPD</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<product>
<table>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<entry><ind>10000</ind><dep>286</dep></entry>
<entry><ind>42000</ind><dep>249</dep></entry>
</table>
<table>
<property>/FMGC/internal/cost-index</property>
<entry><ind> 0</ind><dep>1.0</dep></entry>
<entry><ind>120</ind><dep>1.1</dep></entry>
</table>
</product>
</expression>
</input>
<output>/FMGC/internal/mng-alt-spd</output>
</filter>
<filter>
<name>FMGC MNG MACH</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.05</update-interval-secs>
<input>
<expression>
<product>
<table>
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
<entry><ind>26000</ind><dep>0.705</dep></entry>
<entry><ind>42000</ind><dep>0.815</dep></entry>
</table>
<table>
<property>/FMGC/internal/cost-index</property>
<entry><ind> 0</ind><dep>0.97</dep></entry>
<entry><ind>120</ind><dep>1.03</dep></entry>
</table>
</product>
</expression>
</input>
<output>/FMGC/internal/mng-alt-mach</output>
</filter>
<filter>
<name>FMGC Target IAS PFD</name>
<type>gain</type>
<gain>1</gain>
<update-interval-secs type="double">0.1</update-interval-secs>
<input>
<condition>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</condition>
<property>/it-autoflight/input/spd-kts</property>
</input>
<input>
<condition>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</condition>
<expression>
<product>
<div>
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
<property>/instrumentation/airspeed-indicator/indicated-mach</property>
</div>
<property>/it-autoflight/input/spd-mach</property>
</product>
</expression>
</input>
<output>/FMGC/internal/target-ias-pfd</output>
</filter>
<filter>
<name>KTS INPUT FILTER</name>
<debug>false</debug>
<feedback-if-disabled>true</feedback-if-disabled>
<initialize-to>output</initialize-to>
<input>
<condition>
<not-equals>
<property>/it-autoflight/mode/vert</property>
<value>T/O CLB</value>
</not-equals>
</condition>
<property>/it-autoflight/input/spd-kts</property>
</input>
<input>
<condition>
<equals>
<property>/it-autoflight/mode/vert</property>
<value>T/O CLB</value>
</equals>
</condition>
<property>/it-autoflight/settings/togaspd</property>
</input>
<output>/it-autoflight/internal/flch-kts</output>
<type>noise-spike</type>
<max-rate-of-change>
<condition>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
</condition>
<value>100</value>
</max-rate-of-change>
<max-rate-of-change>
<condition>
<and>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
</and>
</condition>
<value>5</value>
</max-rate-of-change>
</filter>
<filter>
<name>MACH INPUT FILTER</name>
<debug>false</debug>
<feedback-if-disabled>true</feedback-if-disabled>
<initialize-to>output</initialize-to>
<input>
<property>/it-autoflight/input/spd-mach</property>
</input>
<output>/it-autoflight/internal/flch-mach</output>
<type>noise-spike</type>
<max-rate-of-change>
<condition>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
</condition>
<value>1</value>
</max-rate-of-change>
<max-rate-of-change>
<condition>
<and>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
</and>
</condition>
<value>0.05</value>
</max-rate-of-change>
</filter>
<filter>
<name>IAS SYNC</name>
<type>gain</type>
<gain>1</gain>
<enable>
<condition>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>1</value>
</equals>
</condition>
</enable>
<update-interval-secs type="double">0.5</update-interval-secs>
<input>/instrumentation/airspeed-indicator/indicated-speed-kt</input>
<output>/it-autoflight/input/spd-kts</output>
</filter>
<filter>
<name>MACH SYNC</name>
<type>gain</type>
<gain>1</gain>
<enable>
<condition>
<equals>
<property>/it-autoflight/input/kts-mach</property>
<value>0</value>
</equals>
</condition>
</enable>
<update-interval-secs type="double">0.5</update-interval-secs>
<input>/instrumentation/airspeed-indicator/indicated-mach</input>
<output>/it-autoflight/input/spd-mach</output>
</filter>
<filter>
<name>HEADING ERROR DEG</name>
<debug>false</debug>
<type>gain</type>
<input>
<condition>
<and>
<equals>
<property>/it-autoflight/output/lat</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/input/trk</property>
<value>0</value>
</equals>
</and>
</condition>
<property>/it-autoflight/input/hdg</property>
<offset>
<property>/orientation/heading-magnetic-deg</property>
<scale>-1.0</scale>
</offset>
</input>
<input>
<condition>
<and>
<equals>
<property>/it-autoflight/output/lat</property>
<value>0</value>
</equals>
<equals>
<property>/it-autoflight/input/trk</property>
<value>1</value>
</equals>
</and>
</condition>
<property>/it-autoflight/input/hdg</property>
<offset>
<property>/orientation/heading-deg</property>
<scale>-1.0</scale>
</offset>
</input>
<input>
<condition>
<equals>
<property>/it-autoflight/output/lat</property>
<value>1</value>
</equals>
</condition>
<property>/autopilot/settings/true-heading-deg</property>
<offset>
<property>/orientation/heading-deg</property>
<scale>-1.0</scale>
</offset>
</input>
<input>
<condition>
<and>
<not-equals>
<property>/it-autoflight/output/lat</property>
<value>0</value>
</not-equals>
<not-equals>
<property>/it-autoflight/output/lat</property>
<value>1</value>
</not-equals>
</and>
</condition>
<value>0</value>
</input>
<output>/it-autoflight/internal/heading-error-deg</output>
<period>
<min>-180</min>
<max>180</max>
</period>
<gain>1.0</gain>
</filter>
<filter>
<name>VERT SPEED FILTER</name>
<debug>false</debug>
<feedback-if-disabled>true</feedback-if-disabled>
<initialize-to>output</initialize-to>
<input>
<property>/it-autoflight/input/vs</property>
</input>
<output>/it-autoflight/internal/vs</output>
<type>noise-spike</type>
<max-rate-of-change>
<condition>
<or>
<equals>
<property>/gear/gear[1]/wow</property>
<value>1</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>1</value>
</equals>
</or>
</condition>
<value>2000</value>
</max-rate-of-change>
<max-rate-of-change>
<condition>
<and>
<equals>
<property>/gear/gear[1]/wow</property>
<value>0</value>
</equals>
<equals>
<property>/gear/gear[2]/wow</property>
<value>0</value>
</equals>
</and>
</condition>
<value>300</value>
</max-rate-of-change>
</filter>
<filter>
<name>NAV ERROR DEG</name>
<debug>false</debug>
<type>gain</type>
<input>
<property>/instrumentation/nav[0]/radials/target-auto-hdg-deg</property>
<offset>
<property>/orientation/heading-deg</property>
<scale>-1.0</scale>
</offset>
</input>
<output>/it-autoflight/internal/nav-heading-error-deg</output>
<period>
<min>-180</min>
<max>180</max>
</period>
<gain>1.0</gain>
</filter>
<filter>
<name>INTERNAL VERTICAL SPEED COMPUTER</name>
<debug>false</debug>
<type>gain</type>
<input>/velocities/vertical-speed-fps</input>
<output>/it-autoflight/internal/vert-speed-fpm</output>
<gain>55.5</gain>
</filter>
<filter>
<name>INTERNAL VERTICAL SPEED COMPUTER</name>
<debug>false</debug>
<type>gain</type>
<enable>
<condition>
<and>
<not-equals>
<property>/it-autoflight/output/vert</property>
<value>4</value>
</not-equals>
<not-equals>
<property>/it-autoflight/output/vert</property>
<value>7</value>
</not-equals>
</and>
</condition>
</enable>
<input>/velocities/vertical-speed-fps</input>
<output>/it-autoflight/internal/target-fpm-b</output>
<gain>55.5</gain>
</filter>
<filter>
<name>NAV1 G/S FPM Calc</name>
<debug>false</debug>
<type>gain</type>
<input>/instrumentation/nav[0]/gs-rate-of-climb-fpm</input>
<output>/it-autoflight/internal/nav1-rate-of-climb-fpm</output>
<gain>1.0</gain>
<min>-1500</min>
<max>0</max>
</filter>
<!-- =============================================================== -->
<!-- Flight Director -->
<!-- =============================================================== -->
<filter>
<name>FD: ROLL</name>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<condition>
<and>
<not-equals>
<property>/it-autoflight/output/lat</property>
<value>4</value>
</not-equals>
<not-equals>
<property>/it-autoflight/output/lat</property>
<value>5</value>
</not-equals>
</and>
</condition>
<expression>
<dif>
<property>/it-autoflight/internal/target-roll</property>
<property>/orientation/roll-deg</property>
</dif>
</expression>
</input>
<input>
<condition>
<or>
<equals>
<property>/it-autoflight/output/lat</property>
<value>4</value>
</equals>
<equals>
<property>/it-autoflight/output/lat</property>
<value>5</value>
</equals>
</or>
</condition>
<expression>
<dif>
<value>0</value>
<property>/orientation/roll-deg</property>
</dif>
</expression>
</input>
<output>/it-autoflight/fd/roll-bar</output>
<min>-30</min>
<max>30</max>
</filter>
<filter>
<name>FD: PITCH</name>
<debug>false</debug>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<dif>
<property>/it-autoflight/internal/target-pitch-deg</property>
<property>/orientation/pitch-deg</property>
</dif>
</expression>
</input>
<output>/it-autoflight/fd/pitch-bar</output>
<min>-15</min>
<max>30</max>
</filter>
</PropertyList>