2016-11-05 03:39:28 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!-- IT-AUTOFLIGHT: AUTOTHRUST -->
|
2016-12-05 20:20:56 +00:00
|
|
|
<!-- Modified for A320 Custom Thrust Lever control system. -->
|
2016-11-05 03:39:28 +00:00
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Thrust Modes -->
|
|
|
|
<!-- =============================================================== -->
|
2017-06-03 17:05:25 +00:00
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>KTS INPUT FILTER</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
|
|
<initialize-to>output</initialize-to>
|
|
|
|
<input>
|
|
|
|
<property>/it-autoflight/input/spd-kts</property>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/kts</output>
|
|
|
|
<type>noise-spike</type>
|
|
|
|
<max-rate-of-change>
|
|
|
|
<condition>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/athr</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<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>200</value>
|
|
|
|
</max-rate-of-change>
|
|
|
|
<max-rate-of-change>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/athr</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<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>10</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/mach</output>
|
|
|
|
<type>noise-spike</type>
|
|
|
|
<max-rate-of-change>
|
|
|
|
<condition>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/athr</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<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>2</value>
|
|
|
|
</max-rate-of-change>
|
|
|
|
<max-rate-of-change>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/athr</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<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.1</value>
|
|
|
|
</max-rate-of-change>
|
|
|
|
</filter>
|
2016-11-05 03:39:28 +00:00
|
|
|
|
2017-05-07 23:18:38 +00:00
|
|
|
<!-- Auto throttle -->
|
|
|
|
<pid-controller>
|
|
|
|
<name>IAS THR</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/input/kts-mach</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<property>/velocities/airspeed-kt</property>
|
|
|
|
</input>
|
|
|
|
<reference>
|
2017-06-03 17:05:25 +00:00
|
|
|
<property>/it-autoflight/internal/kts</property>
|
2017-05-07 23:18:38 +00:00
|
|
|
</reference>
|
|
|
|
<output>
|
2017-07-02 03:17:30 +00:00
|
|
|
<property>/controls/engines/throttle-cmd-pid</property>
|
2017-05-07 23:18:38 +00:00
|
|
|
</output>
|
|
|
|
<config>
|
2017-06-21 00:15:55 +00:00
|
|
|
<Kp>0.05</Kp>
|
2017-05-07 23:18:38 +00:00
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>10.0</Ti>
|
|
|
|
<Td>0.00001</Td>
|
2017-06-12 07:35:36 +00:00
|
|
|
<u_min>0.005</u_min>
|
2017-07-02 03:17:30 +00:00
|
|
|
<u_max>1.000</u_max>
|
2017-05-07 23:18:38 +00:00
|
|
|
</config>
|
|
|
|
</pid-controller>
|
2016-11-05 03:39:28 +00:00
|
|
|
|
2017-05-07 23:18:38 +00:00
|
|
|
<!-- Auto throttle (Mach Hold)-->
|
2016-11-05 03:39:28 +00:00
|
|
|
|
2017-05-07 23:18:38 +00:00
|
|
|
<pid-controller>
|
|
|
|
<name>MACH THR</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/input/kts-mach</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<or>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<property>/velocities/mach</property>
|
|
|
|
<scale>500.0</scale>
|
|
|
|
</input>
|
|
|
|
<reference>
|
2017-06-03 17:05:25 +00:00
|
|
|
<property>/it-autoflight/internal/mach</property>
|
2017-05-07 23:18:38 +00:00
|
|
|
<scale>500.0</scale>
|
|
|
|
</reference>
|
|
|
|
<output>
|
2017-07-02 03:17:30 +00:00
|
|
|
<property>/controls/engines/throttle-cmd-pid</property>
|
2017-05-07 23:18:38 +00:00
|
|
|
</output>
|
|
|
|
<config>
|
2017-06-21 00:15:55 +00:00
|
|
|
<Kp>0.05</Kp>
|
2017-05-07 23:18:38 +00:00
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>10.0</Ti>
|
|
|
|
<Td>0.00001</Td>
|
2017-06-12 07:35:36 +00:00
|
|
|
<u_min>0.005</u_min>
|
2017-07-02 03:17:30 +00:00
|
|
|
<u_max>1.000</u_max>
|
2017-05-07 23:18:38 +00:00
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
|
|
|
<!-- IDLE THR -->
|
|
|
|
<pid-controller>
|
|
|
|
<name>IDLE</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd1</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd2</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<property>/velocities/airspeed-kt</property>
|
|
|
|
</input>
|
|
|
|
<reference>
|
2016-11-05 03:39:28 +00:00
|
|
|
<value>0</value>
|
2017-05-07 23:18:38 +00:00
|
|
|
</reference>
|
|
|
|
<output>
|
2017-07-02 03:17:30 +00:00
|
|
|
<property>/controls/engines/throttle-cmd-pid</property>
|
2017-05-07 23:18:38 +00:00
|
|
|
</output>
|
|
|
|
<config>
|
2017-06-21 00:15:55 +00:00
|
|
|
<Kp>0.008</Kp>
|
2017-05-07 23:18:38 +00:00
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>10.0</Ti>
|
|
|
|
<Td>0.00001</Td>
|
2017-06-12 00:03:19 +00:00
|
|
|
<u_min>0.005</u_min>
|
2017-07-02 03:17:30 +00:00
|
|
|
<u_max>1.000</u_max>
|
2017-05-07 23:18:38 +00:00
|
|
|
</config>
|
|
|
|
</pid-controller>
|
2016-11-05 03:39:28 +00:00
|
|
|
|
2017-05-07 23:18:38 +00:00
|
|
|
<!-- CLB THR -->
|
|
|
|
<pid-controller>
|
|
|
|
<name>CLB</name>
|
|
|
|
<debug>false</debug>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd1</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/fd2</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap1</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/ap2</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
|
|
<value>2</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>
|
|
|
|
<property>/velocities/airspeed-kt</property>
|
|
|
|
</input>
|
|
|
|
<reference>
|
|
|
|
<value>900</value>
|
|
|
|
</reference>
|
|
|
|
<output>
|
2017-07-02 03:17:30 +00:00
|
|
|
<property>/controls/engines/throttle-cmd-pid</property>
|
2017-05-07 23:18:38 +00:00
|
|
|
</output>
|
|
|
|
<config>
|
2017-06-21 00:15:55 +00:00
|
|
|
<Kp>0.008</Kp>
|
2017-05-07 23:18:38 +00:00
|
|
|
<beta>1.0</beta>
|
|
|
|
<alpha>0.1</alpha>
|
|
|
|
<gamma>0.0</gamma>
|
|
|
|
<Ti>10.0</Ti>
|
|
|
|
<Td>0.00001</Td>
|
2017-06-12 07:35:36 +00:00
|
|
|
<u_min>0.005</u_min>
|
2017-07-02 03:17:30 +00:00
|
|
|
<u_max>1.000</u_max>
|
2017-05-07 23:18:38 +00:00
|
|
|
</config>
|
|
|
|
</pid-controller>
|
2017-05-09 01:10:23 +00:00
|
|
|
|
2017-07-02 03:17:30 +00:00
|
|
|
<!-- Engine 1 -->
|
|
|
|
<filter>
|
|
|
|
<name>Thrust Filter CMD 1</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1</gain>
|
|
|
|
<input>/controls/engines/throttle-cmd-pid</input>
|
|
|
|
<output>/controls/engines/engine[0]/throttle-cmd-cmd</output>
|
|
|
|
<max>
|
|
|
|
<property>/controls/engines/engine[0]/throttle-man</property>
|
|
|
|
</max>
|
|
|
|
</filter>
|
|
|
|
|
2017-05-09 01:10:23 +00:00
|
|
|
<filter>
|
2017-07-02 03:17:30 +00:00
|
|
|
<name>Thrust Filter 1</name>
|
2017-05-09 01:10:23 +00:00
|
|
|
<debug>false</debug>
|
|
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
|
|
<initialize-to>output</initialize-to>
|
2017-07-02 03:17:30 +00:00
|
|
|
<input>/controls/engines/engine[0]/throttle-cmd-cmd</input>
|
2017-05-09 01:10:23 +00:00
|
|
|
<output>/controls/engines/engine[0]/throttle-cmd</output>
|
|
|
|
<type>noise-spike</type>
|
|
|
|
<max-rate-of-change>0.1</max-rate-of-change>
|
|
|
|
</filter>
|
2017-07-02 03:17:30 +00:00
|
|
|
|
2017-05-07 23:18:38 +00:00
|
|
|
<!-- Engine 2 -->
|
2017-07-02 03:17:30 +00:00
|
|
|
<filter>
|
|
|
|
<name>Thrust Filter CMD 2</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1</gain>
|
|
|
|
<input>/controls/engines/throttle-cmd-pid</input>
|
|
|
|
<output>/controls/engines/engine[1]/throttle-cmd-cmd</output>
|
|
|
|
<max>
|
|
|
|
<property>/controls/engines/engine[1]/throttle-man</property>
|
|
|
|
</max>
|
|
|
|
</filter>
|
2017-05-09 01:10:23 +00:00
|
|
|
|
|
|
|
<filter>
|
2017-07-02 03:17:30 +00:00
|
|
|
<name>Thrust Filter 2</name>
|
2017-05-09 01:10:23 +00:00
|
|
|
<debug>false</debug>
|
|
|
|
<feedback-if-disabled>true</feedback-if-disabled>
|
|
|
|
<initialize-to>output</initialize-to>
|
2017-07-02 03:17:30 +00:00
|
|
|
<input>/controls/engines/engine[1]/throttle-cmd-cmd</input>
|
2017-05-09 01:10:23 +00:00
|
|
|
<output>/controls/engines/engine[1]/throttle-cmd</output>
|
|
|
|
<type>noise-spike</type>
|
|
|
|
<max-rate-of-change>0.1</max-rate-of-change>
|
|
|
|
</filter>
|
2016-11-05 03:39:28 +00:00
|
|
|
|
|
|
|
</PropertyList>
|