2019-10-14 16:48:35 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<!-- IT-AUTOFLIGHT -->
|
2022-01-11 02:17:41 +00:00
|
|
|
<!-- Copyright (c) 2022 Josh Davidson (Octal450) -->
|
2019-10-14 16:48:35 +00:00
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<!-- Pitch Axis -->
|
|
|
|
<filter>
|
2020-07-08 20:14:55 +00:00
|
|
|
<name>IT-CONTROLLER: Altitude Capture/Hold</name>
|
2019-10-14 16:48:35 +00:00
|
|
|
<type>gain</type>
|
|
|
|
<gain>-5</gain>
|
|
|
|
<input>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<property>/instrumentation/altimeter/indicated-altitude-ft</property>
|
|
|
|
<value>-2</value>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<reference>/it-autoflight/internal/alt</reference>
|
2020-07-08 20:14:55 +00:00
|
|
|
<output>/it-autoflight/internal/target-fpm-alt</output>
|
2019-10-14 16:48:35 +00:00
|
|
|
<min>/it-autoflight/internal/min-vs</min>
|
|
|
|
<max>/it-autoflight/internal/max-vs</max>
|
|
|
|
</filter>
|
|
|
|
|
2022-03-13 16:39:16 +00:00
|
|
|
<filter>
|
|
|
|
<name>Vertical Speed VMO Protection</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<expression>
|
|
|
|
<div>
|
|
|
|
<product>
|
|
|
|
<property>/instrumentation/airspeed-indicator/true-speed-kt</property>
|
|
|
|
<value>101.26859142607174</value> <!-- FPM to Knot -->
|
|
|
|
<dif>
|
|
|
|
<product>
|
|
|
|
<property>/fdm/jsbsim/forces/fbx-prop-lbs</property>
|
|
|
|
<cos>
|
|
|
|
<property>/fdm/jsbsim/aero/alpha-rad</property>
|
|
|
|
</cos>
|
|
|
|
</product>
|
|
|
|
<product>
|
|
|
|
<property>/fdm/jsbsim/forces/fwx-aero-lbs</property>
|
|
|
|
<sum>
|
|
|
|
<value>1</value>
|
|
|
|
<product>
|
|
|
|
<property>/it-autoflight/internal/vmo-mmo-error</property>
|
|
|
|
<value>-0.1</value>
|
|
|
|
</product>
|
|
|
|
</sum>
|
|
|
|
</product>
|
|
|
|
</dif>
|
|
|
|
</product>
|
|
|
|
<property>/fdm/jsbsim/inertia/weight-lbs</property>
|
|
|
|
</div>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/overspeed-vs</output>
|
|
|
|
<min>-6000</min>
|
|
|
|
<max>6000</max>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>Vertical Speed VLS Protection</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<input>
|
|
|
|
<expression>
|
|
|
|
<div>
|
|
|
|
<product>
|
|
|
|
<property>/instrumentation/airspeed-indicator/true-speed-kt</property>
|
|
|
|
<value>101.26859142607174</value> <!-- FPM to Knot -->
|
|
|
|
<dif>
|
|
|
|
<product>
|
|
|
|
<property>/fdm/jsbsim/forces/fbx-prop-lbs</property>
|
|
|
|
<cos>
|
|
|
|
<property>/fdm/jsbsim/aero/alpha-rad</property>
|
|
|
|
</cos>
|
|
|
|
</product>
|
|
|
|
<product>
|
|
|
|
<property>/fdm/jsbsim/forces/fwx-aero-lbs</property>
|
|
|
|
<sum>
|
|
|
|
<value>1</value>
|
|
|
|
<product>
|
|
|
|
<property>/it-autoflight/internal/vls-error</property>
|
|
|
|
<value>-0.1</value>
|
|
|
|
</product>
|
|
|
|
</sum>
|
|
|
|
</product>
|
|
|
|
</dif>
|
|
|
|
</product>
|
|
|
|
<property>/fdm/jsbsim/inertia/weight-lbs</property>
|
|
|
|
</div>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/underspeed-vs</output>
|
|
|
|
<min>-6000</min>
|
|
|
|
<max>6000</max>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<logic>
|
|
|
|
<input>
|
|
|
|
<and>
|
|
|
|
<greater-than>
|
|
|
|
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
|
|
|
|
<property>/FMGC/internal/vmo-mmo-minus-5</property>
|
|
|
|
</greater-than>
|
|
|
|
<or>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<greater-than>
|
|
|
|
<property>/it-autoflight/internal/overspeed-vs</property>
|
|
|
|
<property>/it-autoflight/input/vs</property>
|
|
|
|
</greater-than>
|
|
|
|
</and>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>5</value>
|
|
|
|
</equals>
|
|
|
|
<greater-than>
|
|
|
|
<property>/it-autoflight/internal/overspeed-vs</property>
|
|
|
|
<property>/it-autoflight/internal/target-fpm-fpa-raw</property>
|
|
|
|
</greater-than>
|
|
|
|
</and>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/overspeed-vs-prot</output>
|
|
|
|
</logic>
|
|
|
|
|
|
|
|
<logic>
|
|
|
|
<input>
|
|
|
|
<and>
|
|
|
|
<less-than>
|
|
|
|
<property>/instrumentation/airspeed-indicator/indicated-speed-kt</property>
|
|
|
|
<property>/FMGC/internal/vls-switched-plus-5</property>
|
|
|
|
</less-than>
|
|
|
|
<or>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
<less-than>
|
|
|
|
<property>/it-autoflight/internal/underspeed-vs</property>
|
|
|
|
<property>/it-autoflight/input/vs</property>
|
|
|
|
</less-than>
|
|
|
|
</and>
|
|
|
|
<and>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>5</value>
|
|
|
|
</equals>
|
|
|
|
<less-than>
|
|
|
|
<property>/it-autoflight/internal/underspeed-vs</property>
|
|
|
|
<property>/it-autoflight/internal/target-fpm-fpa-raw</property>
|
|
|
|
</less-than>
|
|
|
|
</and>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/underspeed-vs-prot</output>
|
|
|
|
</logic>
|
|
|
|
|
|
|
|
<filter>
|
2022-03-13 16:41:39 +00:00
|
|
|
<name>Vertical Speed FPM Filter</name>
|
2022-03-13 16:39:16 +00:00
|
|
|
<type>noise-spike</type>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<not>
|
|
|
|
<and>
|
|
|
|
<property>/it-autoflight/output/ap-on</property>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</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>
|
|
|
|
</not>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<property>/it-autoflight/internal/overspeed-vs-prot</property>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/overspeed-vs</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<property>/it-autoflight/internal/underspeed-vs-prot</property>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/underspeed-vs</property>
|
|
|
|
</input>
|
|
|
|
<input>/it-autoflight/input/vs</input>
|
|
|
|
<output>/it-autoflight/internal/target-fpm-vs</output>
|
|
|
|
<max-rate-of-change>
|
|
|
|
<condition>
|
|
|
|
<and>
|
|
|
|
<property>/it-autoflight/output/ap-on</property>
|
|
|
|
<not><property>/it-autoflight/internal/overspeed-vs-prot</property></not>
|
|
|
|
<not><property>/it-autoflight/internal/underspeed-vs-prot</property></not>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</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>300</value>
|
|
|
|
</max-rate-of-change>
|
|
|
|
<max-rate-of-change>10000</max-rate-of-change>
|
|
|
|
</filter>
|
|
|
|
|
2022-08-28 17:32:51 +00:00
|
|
|
<logic>
|
|
|
|
<input>
|
|
|
|
<and>
|
|
|
|
<property>/it-autoflight/output/apfd-on</property>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>4</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>7</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</and>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/flch-active</output>
|
|
|
|
</logic>
|
|
|
|
|
2022-08-09 19:32:05 +00:00
|
|
|
<filter>
|
|
|
|
<name>IT-CONTROLLER: Speed By Pitch Delta</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>
|
|
|
|
<expression>
|
|
|
|
<table>
|
|
|
|
<property>/velocities/airspeed-kt</property>
|
2022-09-02 04:43:34 +00:00
|
|
|
<entry><ind>140</ind><dep> 700</dep></entry>
|
2022-08-12 16:45:39 +00:00
|
|
|
<entry><ind>360</ind><dep>1400</dep></entry>
|
2022-08-09 19:32:05 +00:00
|
|
|
</table>
|
|
|
|
</expression>
|
|
|
|
</gain>
|
|
|
|
<input>
|
2019-10-14 16:48:35 +00:00
|
|
|
<condition>
|
2022-08-09 19:32:05 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/input/kts-mach</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
2019-10-14 16:48:35 +00:00
|
|
|
</condition>
|
2022-08-09 19:32:05 +00:00
|
|
|
<property>/it-autoflight/internal/mach-rate</property>
|
|
|
|
</input>
|
2021-04-23 20:30:35 +00:00
|
|
|
<input>/it-autoflight/internal/kts-rate</input>
|
|
|
|
<reference>/it-autoflight/internal/flch-kts-error</reference>
|
2022-08-09 19:32:05 +00:00
|
|
|
<output>/it-autoflight/internal/flch-raw</output>
|
2022-08-28 17:32:51 +00:00
|
|
|
<min>
|
|
|
|
<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>0</value>
|
|
|
|
</min>
|
2022-08-09 19:32:05 +00:00
|
|
|
<min>-2000</min>
|
|
|
|
<max>2000</max>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
2022-08-28 17:32:51 +00:00
|
|
|
<name>Speed By Pitch Filter</name>
|
|
|
|
<type>noise-spike</type>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<property>/it-autoflight/internal/flch-active</property>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/flch-raw</property>
|
|
|
|
</input>
|
|
|
|
<input>/it-autoflight/internal/vert-speed-fpm</input>
|
|
|
|
<output>/it-autoflight/internal/flch-filtered</output>
|
|
|
|
<max-rate-of-change>
|
|
|
|
<condition>
|
|
|
|
<property>/it-autoflight/internal/flch-active</property>
|
|
|
|
</condition>
|
|
|
|
<value>1500</value>
|
|
|
|
</max-rate-of-change>
|
|
|
|
<max-rate-of-change>10000</max-rate-of-change>
|
2022-08-09 19:32:05 +00:00
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
2022-08-28 17:32:51 +00:00
|
|
|
<name>Speed By Pitch Final</name>
|
2022-08-09 19:32:05 +00:00
|
|
|
<type>gain</type>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
<input>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
2022-08-28 17:32:51 +00:00
|
|
|
<property>/it-autoflight/internal/flch-filtered</property>
|
2022-08-09 19:32:05 +00:00
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
</input>
|
2020-07-08 20:14:55 +00:00
|
|
|
<output>/it-autoflight/internal/target-fpm-flch</output>
|
2022-08-09 19:32:05 +00:00
|
|
|
<min>
|
|
|
|
<condition>
|
|
|
|
<or>
|
2019-10-14 16:48:35 +00:00
|
|
|
<equals>
|
2022-08-09 19:32:05 +00:00
|
|
|
<property>/gear/gear[1]/wow</property>
|
|
|
|
<value>1</value>
|
2019-10-14 16:48:35 +00:00
|
|
|
</equals>
|
2022-08-09 19:32:05 +00:00
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[2]/wow</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</condition>
|
|
|
|
<value>0</value>
|
|
|
|
</min>
|
|
|
|
<min>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
|
|
<value>2</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2022-08-09 19:50:33 +00:00
|
|
|
<value>120</value>
|
2022-08-09 19:32:05 +00:00
|
|
|
</min>
|
|
|
|
<min>-100000</min>
|
|
|
|
<max>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/thr-mode</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2022-08-09 19:50:33 +00:00
|
|
|
<value>-120</value>
|
2022-08-09 19:32:05 +00:00
|
|
|
</max>
|
|
|
|
<max>100000</max>
|
2020-07-08 20:14:55 +00:00
|
|
|
</filter>
|
|
|
|
|
|
|
|
<logic>
|
|
|
|
<input>
|
|
|
|
<and>
|
2022-03-12 20:19:36 +00:00
|
|
|
<property>/it-autoflight/output/apfd-on</property>
|
2020-07-08 20:14:55 +00:00
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>5</value>
|
|
|
|
</equals>
|
|
|
|
</and>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/fpa-active</output>
|
|
|
|
</logic>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>IT-CONTROLLER: FPA</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<not><property>/it-autoflight/internal/fpa-active</property></not>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<difference> <!-- Fix an issue with the calculation -->
|
|
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
|
|
<product>
|
|
|
|
<property>/velocities/vertical-speed-fps</property>
|
|
|
|
<value>60</value>
|
|
|
|
</product>
|
|
|
|
</difference>
|
|
|
|
<product>
|
|
|
|
<sin>
|
|
|
|
<deg2rad>
|
|
|
|
<property>/it-autoflight/input/fpa</property>
|
|
|
|
</deg2rad>
|
|
|
|
</sin>
|
|
|
|
<property>/instrumentation/airspeed-indicator/true-speed-kt</property>
|
|
|
|
<value>101.26859142607174</value> <!-- FPM to Knot -->
|
|
|
|
</product>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/target-fpm-fpa-raw</output>
|
|
|
|
<min>
|
|
|
|
<expression>
|
|
|
|
<difference>
|
|
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
|
|
<value>2500</value>
|
|
|
|
</difference>
|
|
|
|
</expression>
|
|
|
|
</min>
|
|
|
|
<max>
|
|
|
|
<expression>
|
|
|
|
<sum>
|
|
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
|
|
<value>2500</value>
|
|
|
|
</sum>
|
|
|
|
</expression>
|
|
|
|
</max>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>FPA FPM Filter</name>
|
|
|
|
<type>noise-spike</type>
|
2022-01-19 16:33:41 +00:00
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<property>/it-autoflight/internal/overspeed-vs-prot</property>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/overspeed-vs</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<property>/it-autoflight/internal/underspeed-vs-prot</property>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/underspeed-vs</property>
|
|
|
|
</input>
|
2020-07-08 20:14:55 +00:00
|
|
|
<input>/it-autoflight/internal/target-fpm-fpa-raw</input>
|
|
|
|
<output>/it-autoflight/internal/target-fpm-fpa</output>
|
|
|
|
<max-rate-of-change>
|
|
|
|
<condition>
|
2022-01-19 16:33:41 +00:00
|
|
|
<or>
|
|
|
|
<not><property>/it-autoflight/internal/fpa-active</property></not>
|
|
|
|
<property>/it-autoflight/internal/overspeed-vs-prot</property>
|
|
|
|
<property>/it-autoflight/internal/underspeed-vs-prot</property>
|
|
|
|
</or>
|
2020-07-08 20:14:55 +00:00
|
|
|
</condition>
|
|
|
|
<value>10000</value>
|
|
|
|
</max-rate-of-change>
|
|
|
|
<max-rate-of-change>300</max-rate-of-change>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>IT-CONTROLLER: Flare FD</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
<input>
|
|
|
|
<expression>
|
2021-07-26 00:12:22 +00:00
|
|
|
<max>
|
|
|
|
<property>/it-autoflight/internal/nav-rate-of-climb-fpm</property>
|
|
|
|
<sum>
|
|
|
|
<difference> <!-- Fix an issue with the calculation -->
|
|
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
|
|
<product>
|
|
|
|
<property>/velocities/vertical-speed-fps</property>
|
|
|
|
<value>60</value>
|
|
|
|
</product>
|
|
|
|
</difference>
|
2020-07-08 20:14:55 +00:00
|
|
|
<product>
|
2021-07-26 00:12:22 +00:00
|
|
|
<sin>
|
|
|
|
<deg2rad>
|
|
|
|
<table>
|
|
|
|
<property>/position/gear-agl-ft</property>
|
|
|
|
<entry><ind>50</ind><dep>-3.0</dep></entry>
|
|
|
|
<entry><ind>45</ind><dep>-0.7</dep></entry>
|
|
|
|
</table>
|
|
|
|
</deg2rad>
|
|
|
|
</sin>
|
|
|
|
<property>/instrumentation/airspeed-indicator/true-speed-kt</property>
|
|
|
|
<value>101.26859142607174</value> <!-- FPM to Knot -->
|
2020-07-08 20:14:55 +00:00
|
|
|
</product>
|
2021-07-26 00:12:22 +00:00
|
|
|
</sum>
|
|
|
|
</max>
|
2020-07-08 20:14:55 +00:00
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/target-fpm-land-fd</output>
|
|
|
|
<min>-1200</min>
|
|
|
|
<max>0</max>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>IT-CONTROLLER: Flare</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
<input>
|
|
|
|
<expression>
|
2021-07-26 00:12:22 +00:00
|
|
|
<max>
|
|
|
|
<property>/it-autoflight/internal/nav-rate-of-climb-fpm</property>
|
|
|
|
<sum>
|
|
|
|
<difference> <!-- Fix an issue with the calculation -->
|
|
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
|
|
<product>
|
|
|
|
<property>/velocities/vertical-speed-fps</property>
|
|
|
|
<value>60</value>
|
|
|
|
</product>
|
|
|
|
</difference>
|
2020-07-08 20:14:55 +00:00
|
|
|
<product>
|
2021-07-26 00:12:22 +00:00
|
|
|
<sin>
|
|
|
|
<deg2rad>
|
|
|
|
<table>
|
|
|
|
<property>/position/gear-agl-ft</property>
|
|
|
|
<entry><ind>50</ind><dep>-3.0</dep></entry>
|
|
|
|
<entry><ind>40</ind><dep>-1.8</dep></entry>
|
|
|
|
<entry><ind>30</ind><dep>-1.5</dep></entry>
|
|
|
|
<entry><ind>20</ind><dep>-1.2</dep></entry>
|
|
|
|
<entry><ind> 5</ind><dep>-0.7</dep></entry>
|
|
|
|
</table>
|
|
|
|
</deg2rad>
|
|
|
|
</sin>
|
|
|
|
<property>/instrumentation/airspeed-indicator/true-speed-kt</property>
|
|
|
|
<value>101.26859142607174</value> <!-- FPM to Knot -->
|
2020-07-08 20:14:55 +00:00
|
|
|
</product>
|
2021-07-26 00:12:22 +00:00
|
|
|
</sum>
|
|
|
|
</max>
|
2020-07-08 20:14:55 +00:00
|
|
|
</expression>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/target-fpm-land</output>
|
|
|
|
<min>-1200</min>
|
|
|
|
<max>0</max>
|
|
|
|
</filter>
|
|
|
|
|
2022-01-19 16:33:41 +00:00
|
|
|
<filter>
|
|
|
|
<name>Vertical Speed FD Input</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<property>/it-autoflight/internal/overspeed-vs-prot</property>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/overspeed-vs</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<property>/it-autoflight/internal/underspeed-vs-prot</property>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/underspeed-vs</property>
|
|
|
|
</input>
|
|
|
|
<input>/it-autoflight/input/vs</input>
|
2022-03-13 16:39:16 +00:00
|
|
|
<output>/it-autoflight/internal/target-fpm-vs-fd</output>
|
2022-01-19 16:33:41 +00:00
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>FPA FD Input</name>
|
|
|
|
<type>gain</type>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<property>/it-autoflight/internal/overspeed-vs-prot</property>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/overspeed-vs</property>
|
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<property>/it-autoflight/internal/underspeed-vs-prot</property>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/underspeed-vs</property>
|
|
|
|
</input>
|
2022-03-13 16:39:16 +00:00
|
|
|
<input>/it-autoflight/internal/target-fpm-fpa</input>
|
|
|
|
<output>/it-autoflight/internal/target-fpm-fpa-fd</output>
|
2022-01-19 16:33:41 +00:00
|
|
|
</filter>
|
|
|
|
|
2019-10-14 16:48:35 +00:00
|
|
|
<filter>
|
2021-10-12 20:06:16 +00:00
|
|
|
<name>Target FPM</name>
|
2019-10-14 16:48:35 +00:00
|
|
|
<type>gain</type>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2020-07-08 20:14:55 +00:00
|
|
|
<property>/it-autoflight/internal/target-fpm-alt</property>
|
2019-10-14 16:48:35 +00:00
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2022-03-13 16:39:16 +00:00
|
|
|
<property>/it-autoflight/internal/target-fpm-vs-fd</property>
|
2019-10-14 16:48:35 +00:00
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<or>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>4</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>7</value>
|
|
|
|
</equals>
|
|
|
|
</or>
|
|
|
|
</condition>
|
2020-07-08 20:14:55 +00:00
|
|
|
<property>/it-autoflight/internal/target-fpm-flch</property>
|
2019-10-14 16:48:35 +00:00
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>6</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2020-07-08 20:14:55 +00:00
|
|
|
<property>/it-autoflight/internal/target-fpm-land-fd</property>
|
2019-10-14 16:48:35 +00:00
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>5</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2022-03-13 16:39:16 +00:00
|
|
|
<property>/it-autoflight/internal/target-fpm-fpa-fd</property>
|
2019-10-14 16:48:35 +00:00
|
|
|
</input>
|
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>2</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2020-07-08 20:14:55 +00:00
|
|
|
<property>/it-autoflight/internal/nav-rate-of-climb-fpm</property>
|
2019-10-14 16:48:35 +00:00
|
|
|
</input>
|
2021-10-12 20:06:16 +00:00
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>9</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
|
|
</input>
|
2019-10-14 16:48:35 +00:00
|
|
|
<output>/it-autoflight/internal/target-common-fpm</output>
|
|
|
|
</filter>
|
|
|
|
|
2022-08-09 19:32:05 +00:00
|
|
|
<logic>
|
|
|
|
<input>
|
|
|
|
<and>
|
|
|
|
<property>/it-autoflight/output/ap-on</property>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[1]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[2]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<not-equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>9</value>
|
|
|
|
</not-equals>
|
|
|
|
</and>
|
|
|
|
</input>
|
|
|
|
<output>/it-autoflight/internal/vs-active</output>
|
|
|
|
</logic>
|
|
|
|
|
|
|
|
<filter>
|
|
|
|
<name>Target FPM Filter</name>
|
|
|
|
<type>noise-spike</type>
|
2022-08-12 17:18:34 +00:00
|
|
|
<input>
|
|
|
|
<condition>
|
|
|
|
<not><property>/it-autoflight/internal/vs-active</property></not>
|
|
|
|
</condition>
|
|
|
|
<property>/it-autoflight/internal/vert-speed-fpm</property>
|
|
|
|
</input>
|
2022-08-09 19:32:05 +00:00
|
|
|
<input>
|
2019-10-14 16:48:35 +00:00
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>1</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2022-03-13 16:39:16 +00:00
|
|
|
<property>/it-autoflight/internal/target-fpm-vs</property>
|
2022-08-09 19:32:05 +00:00
|
|
|
</input>
|
|
|
|
<input>
|
2019-10-14 16:48:35 +00:00
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>5</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
2020-07-08 20:14:55 +00:00
|
|
|
<property>/it-autoflight/internal/target-fpm-fpa</property>
|
2022-08-09 19:32:05 +00:00
|
|
|
</input>
|
|
|
|
<input>
|
2019-10-14 16:48:35 +00:00
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
2020-07-08 20:14:55 +00:00
|
|
|
<value>6</value>
|
2019-10-14 16:48:35 +00:00
|
|
|
</equals>
|
|
|
|
</condition>
|
2020-07-08 20:14:55 +00:00
|
|
|
<property>/it-autoflight/internal/target-fpm-land</property>
|
2022-08-09 19:32:05 +00:00
|
|
|
</input>
|
|
|
|
<input>/it-autoflight/internal/target-common-fpm</input>
|
|
|
|
<output>/it-autoflight/internal/target-fpm</output>
|
|
|
|
<max-rate-of-change>
|
|
|
|
<condition>
|
|
|
|
<property>/it-autoflight/internal/vs-active</property>
|
|
|
|
</condition>
|
2022-08-12 16:45:39 +00:00
|
|
|
<value>700</value>
|
2022-08-09 19:32:05 +00:00
|
|
|
</max-rate-of-change>
|
|
|
|
<max-rate-of-change>10000</max-rate-of-change>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<pid-controller>
|
|
|
|
<name>IT-CONTROLLER: FPM Hold</name>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
|
|
|
<property>/it-autoflight/internal/vs-active</property>
|
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>/it-autoflight/internal/vert-speed-fpm</input>
|
|
|
|
<reference>/it-autoflight/internal/target-fpm</reference>
|
2019-10-14 16:48:35 +00:00
|
|
|
<output>/it-autoflight/internal/target-pitch-deg</output>
|
|
|
|
<config>
|
|
|
|
<Kp>
|
|
|
|
<condition>
|
|
|
|
<not-equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>6</value>
|
|
|
|
</not-equals>
|
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<table>
|
2021-04-23 20:30:35 +00:00
|
|
|
<property>/velocities/airspeed-kt</property>
|
2019-10-14 16:48:35 +00:00
|
|
|
<entry><ind>140</ind><dep>0.0029</dep></entry>
|
|
|
|
<entry><ind>360</ind><dep>0.0009</dep></entry>
|
|
|
|
</table>
|
|
|
|
</expression>
|
|
|
|
</Kp>
|
|
|
|
<Kp>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>6</value>
|
|
|
|
</equals>
|
|
|
|
</condition>
|
|
|
|
<value>0.0055</value>
|
|
|
|
</Kp>
|
|
|
|
<Ti>2.5</Ti>
|
|
|
|
<Td>0.0001</Td>
|
|
|
|
<u_min>
|
|
|
|
<condition>
|
2020-07-08 21:08:58 +00:00
|
|
|
<equals>
|
2019-10-14 16:48:35 +00:00
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>6</value>
|
2020-07-08 21:08:58 +00:00
|
|
|
</equals>
|
2019-10-14 16:48:35 +00:00
|
|
|
</condition>
|
2020-07-08 21:08:58 +00:00
|
|
|
<value>0</value>
|
|
|
|
</u_min>
|
|
|
|
<u_min>
|
2019-10-14 16:48:35 +00:00
|
|
|
<expression>
|
|
|
|
<max>
|
|
|
|
<dif>
|
|
|
|
<property>/orientation/pitch-deg</property>
|
|
|
|
<value>5</value>
|
|
|
|
</dif>
|
2020-07-08 20:14:55 +00:00
|
|
|
<value>-15</value>
|
2019-10-14 16:48:35 +00:00
|
|
|
</max>
|
|
|
|
</expression>
|
|
|
|
</u_min>
|
|
|
|
<u_max>
|
|
|
|
<condition>
|
2020-07-08 21:08:58 +00:00
|
|
|
<or>
|
2019-10-14 16:48:35 +00:00
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[1]/wow</property>
|
2020-07-08 21:08:58 +00:00
|
|
|
<value>1</value>
|
2019-10-14 16:48:35 +00:00
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[2]/wow</property>
|
2020-07-08 21:08:58 +00:00
|
|
|
<value>1</value>
|
2019-10-14 16:48:35 +00:00
|
|
|
</equals>
|
2020-07-08 21:08:58 +00:00
|
|
|
</or>
|
|
|
|
</condition>
|
|
|
|
<value>10</value>
|
|
|
|
</u_max>
|
|
|
|
<u_max>
|
|
|
|
<condition>
|
|
|
|
<equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>7</value>
|
|
|
|
</equals>
|
2019-10-14 16:48:35 +00:00
|
|
|
</condition>
|
|
|
|
<expression>
|
|
|
|
<min>
|
|
|
|
<sum>
|
|
|
|
<property>/orientation/pitch-deg</property>
|
|
|
|
<value>5</value>
|
|
|
|
</sum>
|
2020-07-08 21:08:58 +00:00
|
|
|
<value>18</value>
|
2019-10-14 16:48:35 +00:00
|
|
|
</min>
|
|
|
|
</expression>
|
|
|
|
</u_max>
|
|
|
|
<u_max>
|
2020-07-08 21:08:58 +00:00
|
|
|
<expression>
|
|
|
|
<min>
|
|
|
|
<sum>
|
|
|
|
<property>/orientation/pitch-deg</property>
|
|
|
|
<value>5</value>
|
|
|
|
</sum>
|
|
|
|
<value>30</value>
|
|
|
|
</min>
|
|
|
|
</expression>
|
2019-10-14 16:48:35 +00:00
|
|
|
</u_max>
|
|
|
|
</config>
|
|
|
|
</pid-controller>
|
|
|
|
|
|
|
|
<filter>
|
2020-07-08 20:14:55 +00:00
|
|
|
<name>System Command: Pitch Target Inactive Sync</name>
|
2019-10-14 16:48:35 +00:00
|
|
|
<type>gain</type>
|
|
|
|
<gain>1.0</gain>
|
|
|
|
<enable>
|
|
|
|
<condition>
|
2020-07-08 20:14:55 +00:00
|
|
|
<not>
|
|
|
|
<and>
|
2022-03-12 20:19:36 +00:00
|
|
|
<property>/it-autoflight/output/ap-on</property>
|
2020-07-08 20:14:55 +00:00
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[1]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
|
|
|
<equals>
|
|
|
|
<property>/gear/gear[2]/wow</property>
|
|
|
|
<value>0</value>
|
|
|
|
</equals>
|
2021-10-12 20:06:16 +00:00
|
|
|
<not-equals>
|
|
|
|
<property>/it-autoflight/output/vert</property>
|
|
|
|
<value>9</value>
|
|
|
|
</not-equals>
|
2020-07-08 20:14:55 +00:00
|
|
|
</and>
|
|
|
|
</not>
|
2019-10-14 16:48:35 +00:00
|
|
|
</condition>
|
|
|
|
</enable>
|
|
|
|
<input>/orientation/pitch-deg</input>
|
|
|
|
<output>/it-autoflight/internal/target-pitch-deg</output>
|
|
|
|
<min>-15</min>
|
|
|
|
<max>30</max>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
<filter>
|
2020-07-08 20:14:55 +00:00
|
|
|
<name>System Command: Pitch Rate Target</name>
|
2019-10-14 16:48:35 +00:00
|
|
|
<type>gain</type>
|
2022-01-19 19:52:44 +00:00
|
|
|
<gain>0.12</gain>
|
2019-10-14 16:48:35 +00:00
|
|
|
<input>/orientation/pitch-deg</input>
|
|
|
|
<reference>/it-autoflight/internal/target-pitch-deg</reference>
|
|
|
|
<output>/fdm/jsbsim/fbw/fmgc/pitch-cmd</output> <!-- Inputs to the FBW Pitch -->
|
|
|
|
<min>-0.3</min>
|
|
|
|
<max>0.3</max>
|
|
|
|
</filter>
|
|
|
|
|
|
|
|
</PropertyList>
|