2017-04-17 04:10:36 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
2017-04-17 19:44:59 +00:00
|
|
|
<!-- Airbus A3XX FBW System by Joshua Davidson (it0uchpods) -->
|
2017-05-07 23:18:38 +00:00
|
|
|
<!-- For Roll, Pitch, and Yaw -->
|
2017-04-17 04:10:36 +00:00
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
2017-05-31 18:46:20 +00:00
|
|
|
|
2017-05-08 01:34:45 +00:00
|
|
|
<!-- =============================================================== -->
|
2017-05-31 18:46:20 +00:00
|
|
|
<!-- Surface Position Feeding -->
|
2017-05-08 01:34:45 +00:00
|
|
|
<!-- =============================================================== -->
|
2017-06-12 00:03:19 +00:00
|
|
|
|
|
|
|
<filter>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>noise-spike</type>
|
|
|
|
<input>/controls/flight/aileron</input>
|
|
|
|
<output>/controls/flight/aileron-input-fast</output>
|
|
|
|
<max-rate-of-change>5</max-rate-of-change>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>noise-spike</type>
|
|
|
|
<input>/controls/flight/elevator</input>
|
|
|
|
<output>/controls/flight/elevator-input-fast</output>
|
|
|
|
<max-rate-of-change>5</max-rate-of-change>
|
|
|
|
</filter>
|
|
|
|
|
2017-05-08 01:34:45 +00:00
|
|
|
|
|
|
|
<filter>
|
|
|
|
<debug>false</debug>
|
2017-05-31 18:46:20 +00:00
|
|
|
<type>noise-spike</type>
|
|
|
|
<input>/controls/flight/aileron</input>
|
|
|
|
<output>/controls/flight/aileron-input</output>
|
|
|
|
<max-rate-of-change>2.5</max-rate-of-change>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<debug>false</debug>
|
|
|
|
<type>noise-spike</type>
|
2017-05-08 01:34:45 +00:00
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<less-than>
|
|
|
|
<property>/position/gear-agl-ft</property>
|
|
|
|
<value>50</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than-equals>
|
|
|
|
<property>/controls/flight/flap-pos</property>
|
|
|
|
<value>4</value>
|
|
|
|
</greater-than-equals>
|
|
|
|
<less-than>
|
|
|
|
<property>/controls/engines/engine[0]/throttle</property>
|
|
|
|
<value>0.65</value>
|
|
|
|
</less-than>
|
|
|
|
<less-than>
|
2017-05-10 19:30:27 +00:00
|
|
|
<property>/controls/engines/engine[1]/throttle</property>
|
2017-05-08 01:34:45 +00:00
|
|
|
<value>0.65</value>
|
|
|
|
</less-than>
|
|
|
|
<equals>
|
|
|
|
<property>/FMGC/status/to-state</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2017-05-10 19:30:27 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2017-05-08 01:34:45 +00:00
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<property>/controls/flight/elevator</property>
|
2017-05-30 03:20:00 +00:00
|
|
|
<value>0.15</value>
|
2017-05-08 01:34:45 +00:00
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<property>/controls/flight/elevator</property>
|
|
|
|
</input>
|
|
|
|
<output>/controls/flight/elevator-input</output>
|
2017-05-31 18:46:20 +00:00
|
|
|
<max-rate-of-change>2.5</max-rate-of-change>
|
2017-05-08 01:34:45 +00:00
|
|
|
</filter>
|
|
|
|
|
2017-04-17 04:10:36 +00:00
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Lateral -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
|
|
|
|
<pid-controller>
|
|
|
|
<name>IT-FBW: ROLL</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[1]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[2]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2017-05-07 23:18:38 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2017-04-17 04:10:36 +00:00
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<property>/it-fbw/roll-deg</property>
|
|
|
|
</reference>
|
|
|
|
<output>
|
|
|
|
<property>/controls/flight/aileron-fbw-cmd</property>
|
|
|
|
</output>
|
|
|
|
<config>
|
2017-06-10 18:17:13 +00:00
|
|
|
<Kp>0.11</Kp>
|
2017-04-17 04:10:36 +00:00
|
|
|
<beta>1</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0</gamma>
|
2017-06-22 23:51:04 +00:00
|
|
|
<Ti>5</Ti>
|
2017-05-28 03:59:17 +00:00
|
|
|
<Td>0.005</Td>
|
2017-04-17 04:10:36 +00:00
|
|
|
<u_min>-1</u_min>
|
|
|
|
<u_max>1</u_max>
|
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>IT-FBW: ROLL OPTION</name>
|
|
|
|
<debug>false</debug>
|
2017-06-07 18:58:49 +00:00
|
|
|
<type>gain</type>
|
|
|
|
<gain>1</gain>
|
2017-04-17 04:10:36 +00:00
|
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
|
|
<initialize-to>output</initialize-to>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[1]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[2]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2017-05-07 23:18:38 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2017-04-17 04:10:36 +00:00
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/flight/aileron-fbw-cmd</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
2017-06-12 00:03:19 +00:00
|
|
|
<and>
|
2017-04-17 04:10:36 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
2017-06-12 00:03:19 +00:00
|
|
|
<value>0</value>
|
2017-04-17 04:10:36 +00:00
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
2017-06-12 00:03:19 +00:00
|
|
|
<value>0</value>
|
2017-04-17 04:10:36 +00:00
|
|
|
</equals>
|
2017-06-12 00:03:19 +00:00
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[1]/wow</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[2]/wow</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>2</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/flight/aileron-input</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<or>
|
2017-04-17 04:10:36 +00:00
|
|
|
<equals>
|
2017-06-12 00:03:19 +00:00
|
|
|
<property>/it-autoflight/output/ap1</property>
|
2017-04-17 04:10:36 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
2017-05-07 23:18:38 +00:00
|
|
|
<equals>
|
2017-06-12 00:03:19 +00:00
|
|
|
<property>/it-autoflight/output/ap2</property>
|
2017-05-07 23:18:38 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
2017-04-17 04:10:36 +00:00
|
|
|
</or>
|
|
|
|
</condition>
|
2017-06-12 00:03:19 +00:00
|
|
|
<property>/controls/flight/aileron-fmgc</property>
|
2017-04-17 04:10:36 +00:00
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>3</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<value>0</value>
|
|
|
|
</input>
|
2017-05-31 18:46:20 +00:00
|
|
|
<output>/controls/flight/roll-fbw</output>
|
2017-04-17 04:10:36 +00:00
|
|
|
</filter>
|
|
|
|
|
2017-05-31 18:46:20 +00:00
|
|
|
<filter>
|
|
|
|
<name>IT-FBW: AILERON</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1</gain>
|
|
|
|
<input>/controls/flight/roll-fbw</input>
|
|
|
|
<output>/controls/flight/aileron-fbw</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>IT-FBW: LEFT SPOILER</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1</gain>
|
2017-06-10 18:17:13 +00:00
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/failures/aileron-left</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<table>
|
|
|
|
<property>/controls/flight/roll-fbw</property>
|
|
|
|
<entry><ind>-1.0</ind><dep>-1.0</dep></entry>
|
|
|
|
<entry><ind>-0.2</ind><dep> 0.0</dep></entry>
|
|
|
|
<entry><ind> 0.0</ind><dep> 0.0</dep></entry>
|
|
|
|
<entry><ind> 0.2</ind><dep> 0.0</dep></entry>
|
|
|
|
<entry><ind> 1.0</ind><dep> 1.0</dep></entry>
|
|
|
|
</table>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/failures/aileron-left</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<table>
|
|
|
|
<property>/controls/flight/roll-fbw</property>
|
|
|
|
<entry><ind>-1.0</ind><dep>-1.0</dep></entry>
|
|
|
|
<entry><ind> 0.0</ind><dep> 0.0</dep></entry>
|
|
|
|
<entry><ind> 1.0</ind><dep> 1.0</dep></entry>
|
|
|
|
</table>
|
|
|
|
</expression>
|
|
|
|
</input>
|
2017-05-31 18:46:20 +00:00
|
|
|
<output>/controls/flight/spoiler-left-fbw-cmd</output>
|
|
|
|
<min>-1</min>
|
2017-06-10 18:17:13 +00:00
|
|
|
<max>1</max>
|
2017-05-31 18:46:20 +00:00
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>IT-FBW: RIGHT SPOILER</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1</gain>
|
2017-06-10 18:17:13 +00:00
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/failures/aileron-right</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<table>
|
|
|
|
<property>/controls/flight/roll-fbw</property>
|
|
|
|
<entry><ind>-1.0</ind><dep>-1.0</dep></entry>
|
|
|
|
<entry><ind>-0.2</ind><dep> 0.0</dep></entry>
|
|
|
|
<entry><ind> 0.0</ind><dep> 0.0</dep></entry>
|
|
|
|
<entry><ind> 0.2</ind><dep> 0.0</dep></entry>
|
|
|
|
<entry><ind> 1.0</ind><dep> 1.0</dep></entry>
|
|
|
|
</table>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/systems/failures/aileron-right</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<table>
|
|
|
|
<property>/controls/flight/roll-fbw</property>
|
|
|
|
<entry><ind>-1.0</ind><dep>-1.0</dep></entry>
|
|
|
|
<entry><ind> 0.0</ind><dep> 0.0</dep></entry>
|
|
|
|
<entry><ind> 1.0</ind><dep> 1.0</dep></entry>
|
|
|
|
</table>
|
|
|
|
</expression>
|
|
|
|
</input>
|
2017-05-31 18:46:20 +00:00
|
|
|
<output>/controls/flight/spoiler-right-fbw-cmd</output>
|
2017-06-10 18:17:13 +00:00
|
|
|
<min>-1</min>
|
2017-05-31 18:46:20 +00:00
|
|
|
<max>1</max>
|
|
|
|
</filter>
|
|
|
|
|
2017-04-17 04:10:36 +00:00
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Vertical -->
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
|
|
|
|
<pid-controller>
|
|
|
|
<name>IT-FBW: PITCH</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[1]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[2]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2017-05-19 19:13:28 +00:00
|
|
|
<equals>
|
2017-06-06 01:45:41 +00:00
|
|
|
<property>/it-fbw/spd-hold</property>
|
2017-05-19 19:13:28 +00:00
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2017-06-22 23:51:04 +00:00
|
|
|
<less-than>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<value>40</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<value>-40</value>
|
|
|
|
</greater-than>
|
2017-04-17 04:10:36 +00:00
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<property>/orientation/pitch-deg</property>
|
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<property>/it-fbw/pitch-deg</property>
|
|
|
|
</reference>
|
|
|
|
<output>
|
|
|
|
<property>/controls/flight/elevator-fbw-cmd</property>
|
|
|
|
</output>
|
|
|
|
<config>
|
2017-06-10 19:15:42 +00:00
|
|
|
<Kp>-0.21</Kp>
|
2017-04-17 04:10:36 +00:00
|
|
|
<beta>1</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0</gamma>
|
2017-06-22 23:51:04 +00:00
|
|
|
<Ti>5</Ti>
|
2017-06-08 00:14:22 +00:00
|
|
|
<Td>0.002</Td>
|
2017-06-07 18:58:49 +00:00
|
|
|
<u_min>-0.5</u_min>
|
|
|
|
<u_max>0.5</u_max>
|
2017-04-17 04:10:36 +00:00
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
2017-06-06 01:45:41 +00:00
|
|
|
<filter>
|
|
|
|
<name>IT-FBW: SPD PITCH TARGET CMD</name>
|
|
|
|
<type>noise-spike</type>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[1]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[2]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/spd-hold</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<expression>
|
|
|
|
<table>
|
|
|
|
<property>/controls/flight/elevator-input</property>
|
|
|
|
<entry><ind> 0</ind><dep>129</dep></entry>
|
|
|
|
<entry><ind>-1</ind><dep>106</dep></entry>
|
|
|
|
</table>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<output>/it-fbw/spd-pitch-target</output>
|
|
|
|
<max-rate-of-change>10</max-rate-of-change>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<pid-controller>
|
|
|
|
<name>IT-FBW: SPD PITCH TARGET</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[1]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[2]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/spd-hold</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
2017-06-22 23:51:04 +00:00
|
|
|
<less-than>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<value>40</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<value>-40</value>
|
|
|
|
</greater-than>
|
2017-06-06 01:45:41 +00:00
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<property>/it-autoflight/internal/lookahead-10-sec-airspeed-kt</property>
|
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<property>/it-fbw/spd-pitch-target</property>
|
|
|
|
</reference>
|
|
|
|
<output>
|
|
|
|
<property>/it-fbw/spd-pitch-deg</property>
|
|
|
|
</output>
|
|
|
|
<config>
|
|
|
|
<Kp>-0.50</Kp>
|
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>5.0</Ti>
|
|
|
|
<Td>0.0001</Td>
|
|
|
|
<u_min>-10</u_min>
|
2017-06-11 03:03:24 +00:00
|
|
|
<u_max>30</u_max>
|
2017-06-06 01:45:41 +00:00
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
|
|
|
<pid-controller>
|
|
|
|
<name>IT-FBW: SPD PITCH</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[1]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[2]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/spd-hold</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
2017-06-22 23:51:04 +00:00
|
|
|
<less-than>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<value>40</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<value>-40</value>
|
|
|
|
</greater-than>
|
2017-06-06 01:45:41 +00:00
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<property>/orientation/pitch-deg</property>
|
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<property>/it-fbw/spd-pitch-deg</property>
|
|
|
|
</reference>
|
|
|
|
<output>
|
|
|
|
<property>/controls/flight/elevator-fbw-cmd</property>
|
|
|
|
</output>
|
|
|
|
<config>
|
|
|
|
<Kp>-0.08</Kp>
|
|
|
|
<beta>1</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0</gamma>
|
|
|
|
<Ti>5</Ti>
|
|
|
|
<Td>0.001</Td>
|
|
|
|
<u_min>-1</u_min>
|
|
|
|
<u_max>1</u_max>
|
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
2017-04-17 04:10:36 +00:00
|
|
|
<filter>
|
|
|
|
<name>IT-FBW: PITCH OPTION</name>
|
|
|
|
<debug>false</debug>
|
2017-06-07 18:58:49 +00:00
|
|
|
<type>gain</type>
|
|
|
|
<gain>1</gain>
|
2017-04-17 04:10:36 +00:00
|
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
|
|
<initialize-to>output</initialize-to>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[1]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[2]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2017-06-22 23:51:04 +00:00
|
|
|
<less-than>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<value>40</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<value>-40</value>
|
|
|
|
</greater-than>
|
2017-04-17 04:10:36 +00:00
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/flight/elevator-fbw-cmd</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
2017-06-12 00:03:19 +00:00
|
|
|
<and>
|
2017-04-17 04:10:36 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
2017-06-12 00:03:19 +00:00
|
|
|
<value>0</value>
|
2017-04-17 04:10:36 +00:00
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
2017-06-12 00:03:19 +00:00
|
|
|
<value>0</value>
|
2017-04-17 04:10:36 +00:00
|
|
|
</equals>
|
2017-06-12 00:03:19 +00:00
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[1]/wow</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[2]/wow</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>2</value>
|
|
|
|
</equals>
|
2017-06-22 23:51:04 +00:00
|
|
|
<greater-than-equals>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<value>40</value>
|
|
|
|
</greater-than-equals>
|
|
|
|
<less-than-equals>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<value>-40</value>
|
|
|
|
</less-than-equals>
|
2017-06-12 00:03:19 +00:00
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/flight/elevator-input</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<or>
|
2017-04-17 04:10:36 +00:00
|
|
|
<equals>
|
2017-06-12 00:03:19 +00:00
|
|
|
<property>/it-autoflight/output/ap1</property>
|
2017-04-17 04:10:36 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
2017-06-12 00:03:19 +00:00
|
|
|
<property>/it-autoflight/output/ap2</property>
|
2017-04-17 04:10:36 +00:00
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</condition>
|
2017-06-12 00:03:19 +00:00
|
|
|
<property>/controls/flight/elevator-fmgc</property>
|
2017-04-17 04:10:36 +00:00
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>3</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<value>0</value>
|
|
|
|
</input>
|
|
|
|
<output>/controls/flight/elevator-fbw</output>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<pid-controller>
|
2017-05-05 03:12:55 +00:00
|
|
|
<name>FBW PITCH HELPER PLUS</name>
|
2017-04-17 04:10:36 +00:00
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<greater-than>
|
|
|
|
<property>/controls/flight/elevator-fbw</property>
|
2017-05-05 03:12:55 +00:00
|
|
|
<value>0.01</value>
|
2017-04-17 04:10:36 +00:00
|
|
|
</greater-than>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2017-06-22 23:51:04 +00:00
|
|
|
<less-than>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<value>40</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<value>-40</value>
|
|
|
|
</greater-than>
|
2017-04-17 04:10:36 +00:00
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
<greater-than-equals>
|
|
|
|
<property>/position/gear-agl-ft</property>
|
|
|
|
<value>50</value>
|
|
|
|
</greater-than-equals>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<value>0</value>
|
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<value>1</value>
|
|
|
|
</reference>
|
|
|
|
<output>
|
|
|
|
<property>/controls/flight/elevator-trim-cmd</property>
|
|
|
|
</output>
|
|
|
|
<config>
|
2017-05-05 03:12:55 +00:00
|
|
|
<Kp>0.09</Kp>
|
2017-04-17 04:10:36 +00:00
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>10</Ti>
|
|
|
|
<Td>0.00001</Td>
|
|
|
|
<u_min>-1.00</u_min>
|
|
|
|
<u_max>1.00</u_max>
|
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
|
|
|
<pid-controller>
|
|
|
|
<name>FBW PITCH HELPER MINUS</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/controls/flight/elevator-fbw</property>
|
2017-05-05 03:12:55 +00:00
|
|
|
<value>-0.01</value>
|
2017-04-17 04:10:36 +00:00
|
|
|
</less-than>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2017-06-22 23:51:04 +00:00
|
|
|
<less-than>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<value>40</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<value>-40</value>
|
|
|
|
</greater-than>
|
2017-04-17 04:10:36 +00:00
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
<greater-than-equals>
|
|
|
|
<property>/position/gear-agl-ft</property>
|
|
|
|
<value>50</value>
|
|
|
|
</greater-than-equals>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<value>0</value>
|
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<value>1</value>
|
|
|
|
</reference>
|
|
|
|
<output>
|
|
|
|
<property>/controls/flight/elevator-trim-cmd</property>
|
|
|
|
</output>
|
|
|
|
<config>
|
2017-05-05 03:12:55 +00:00
|
|
|
<Kp>-0.09</Kp>
|
2017-04-17 04:10:36 +00:00
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>10</Ti>
|
|
|
|
<Td>0.00001</Td>
|
|
|
|
<u_min>-1.00</u_min>
|
|
|
|
<u_max>1.00</u_max>
|
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>IT-FBW: PITCH TRIM FILTER</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
|
|
<initialize-to>output</initialize-to>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
<greater-than-equals>
|
|
|
|
<property>/position/gear-agl-ft</property>
|
|
|
|
<value>50</value>
|
|
|
|
</greater-than-equals>
|
|
|
|
</and>
|
2017-06-22 23:51:04 +00:00
|
|
|
<less-than>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<value>40</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
|
|
|
<property>/orientation/roll-deg</property>
|
|
|
|
<value>-40</value>
|
|
|
|
</greater-than>
|
2017-04-17 04:10:36 +00:00
|
|
|
<or>
|
|
|
|
<greater-than>
|
|
|
|
<property>/controls/flight/elevator-fbw</property>
|
2017-05-05 03:12:55 +00:00
|
|
|
<value>0.01</value>
|
2017-04-17 04:10:36 +00:00
|
|
|
</greater-than>
|
|
|
|
<less-than>
|
|
|
|
<property>/controls/flight/elevator-fbw</property>
|
2017-05-05 03:12:55 +00:00
|
|
|
<value>-0.01</value>
|
2017-04-17 04:10:36 +00:00
|
|
|
</less-than>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<property>/controls/flight/elevator-trim-cmd</property>
|
|
|
|
</input>
|
|
|
|
<output>/controls/flight/elevator-trim</output>
|
|
|
|
<type>noise-spike</type>
|
|
|
|
<max-rate-of-change>0.01</max-rate-of-change>
|
|
|
|
</filter>
|
2017-05-07 23:18:38 +00:00
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
2017-06-13 23:31:16 +00:00
|
|
|
<!-- Yaw Damper/Turn Coordinator -->
|
2017-05-07 23:18:38 +00:00
|
|
|
<!-- =============================================================== -->
|
|
|
|
|
|
|
|
<pid-controller>
|
2017-06-13 23:31:16 +00:00
|
|
|
<name>IT-FBW: YAW DAMPER/TURN COORDINATOR</name>
|
2017-05-07 23:18:38 +00:00
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[1]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[2]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<greater-than-equals>
|
|
|
|
<property>/position/gear-agl-ft</property>
|
|
|
|
<value>50</value>
|
|
|
|
</greater-than-equals>
|
2017-06-12 00:03:19 +00:00
|
|
|
<not-equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>4</value>
|
|
|
|
</not-equals>
|
2017-05-07 23:18:38 +00:00
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<property>/instrumentation/slip-skid-ball/indicated-slip-skid</property>
|
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<value>0</value>
|
|
|
|
</reference>
|
|
|
|
<output>
|
|
|
|
<property>/controls/flight/rudder-fbw-cmd</property>
|
|
|
|
</output>
|
|
|
|
<config>
|
2017-06-14 22:27:59 +00:00
|
|
|
<Kp>0.025</Kp>
|
2017-05-07 23:18:38 +00:00
|
|
|
<beta>1</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0</gamma>
|
2017-06-14 22:27:59 +00:00
|
|
|
<Ti>3.0</Ti>
|
|
|
|
<Td>0.00001</Td>
|
2017-06-13 23:31:16 +00:00
|
|
|
<u_min>-0.2</u_min>
|
|
|
|
<u_max>0.2</u_max>
|
2017-05-07 23:18:38 +00:00
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>IT-FBW: RUDDER OPTION</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
|
|
<initialize-to>output</initialize-to>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[1]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[2]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<less-than>
|
|
|
|
<property>/controls/flight/rudder</property>
|
|
|
|
<value>0.1</value>
|
|
|
|
</less-than>
|
|
|
|
<greater-than>
|
|
|
|
<property>/controls/flight/rudder</property>
|
|
|
|
<value>-0.1</value>
|
|
|
|
</greater-than>
|
|
|
|
<greater-than-equals>
|
|
|
|
<property>/position/gear-agl-ft</property>
|
|
|
|
<value>50</value>
|
|
|
|
</greater-than-equals>
|
2017-06-12 00:03:19 +00:00
|
|
|
<not-equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>4</value>
|
|
|
|
</not-equals>
|
2017-05-07 23:18:38 +00:00
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/flight/rudder-fbw-cmd</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[1]/wow</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[2]/wow</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<not-equals>
|
|
|
|
<property>/it-fbw/law</property>
|
|
|
|
<value>0</value>
|
|
|
|
</not-equals>
|
|
|
|
<greater-than-equals>
|
|
|
|
<property>/controls/flight/rudder</property>
|
|
|
|
<value>0.1</value>
|
|
|
|
</greater-than-equals>
|
|
|
|
<less-than-equals>
|
|
|
|
<property>/controls/flight/rudder</property>
|
|
|
|
<value>-0.1</value>
|
|
|
|
</less-than-equals>
|
|
|
|
<less-than>
|
|
|
|
<property>/position/gear-agl-ft</property>
|
|
|
|
<value>50</value>
|
|
|
|
</less-than>
|
2017-06-12 00:03:19 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/lat</property>
|
|
|
|
<value>4</value>
|
|
|
|
</equals>
|
2017-05-07 23:18:38 +00:00
|
|
|
</or>
|
|
|
|
</condition>
|
|
|
|
<property>/controls/flight/rudder</property>
|
|
|
|
</input>
|
|
|
|
<output>/controls/flight/rudder-fbw</output>
|
|
|
|
<type>noise-spike</type>
|
2017-06-10 19:15:42 +00:00
|
|
|
<max-rate-of-change>2.5</max-rate-of-change>
|
2017-05-07 23:18:38 +00:00
|
|
|
</filter>
|
2017-04-17 04:10:36 +00:00
|
|
|
|
|
|
|
</PropertyList>
|