A3XX: Major autopilot improvements

This commit is contained in:
Joshua Davidson 2017-12-17 17:57:32 -05:00
parent b0d2dde31f
commit b0cb06af84
4 changed files with 15 additions and 64 deletions

View file

@ -388,29 +388,6 @@
<it-autoflight> <it-autoflight>
<config> <config>
<altitude-dial-mode>0</altitude-dial-mode> <altitude-dial-mode>0</altitude-dial-mode>
<roll>
<gain>-0.1</gain>
<min>-0.4</min>
<max>0.4</max>
</roll>
<pitch>
<gain>0.15</gain>
<min>-0.3</min>
<max>0.3</max>
</pitch>
<cmd>
<roll-kp>-0.9</roll-kp>
<roll-scale>1.4</roll-scale>
<vorloc>-2.8</vorloc>
<vs>0.01</vs>
</cmd>
<autoland>
<kp-pitch>0.035</kp-pitch>
<kp-rudder>-0.05</kp-rudder>
</autoland>
<rollout>
<kp-rudder>-0.02</kp-rudder>
</rollout>
</config> </config>
<output> <output>
<ap1>0</ap1> <ap1>0</ap1>

View file

@ -469,7 +469,6 @@
</enable> </enable>
<input> <input>
<property>/it-autoflight/internal/vert-speed-fpm</property> <property>/it-autoflight/internal/vert-speed-fpm</property>
<scale>0.16667</scale>
</input> </input>
<reference> <reference>
<condition> <condition>
@ -491,7 +490,6 @@
</or> </or>
</condition> </condition>
<property>/it-autoflight/internal/target-fpm</property> <property>/it-autoflight/internal/target-fpm</property>
<scale>0.16667</scale>
</reference> </reference>
<reference> <reference>
<condition> <condition>
@ -501,7 +499,6 @@
</equals> </equals>
</condition> </condition>
<property>/it-autoflight/internal/vs</property> <property>/it-autoflight/internal/vs</property>
<scale>0.16667</scale>
</reference> </reference>
<reference> <reference>
<condition> <condition>
@ -527,7 +524,6 @@
</or> </or>
</condition> </condition>
<property>/it-autoflight/internal/target-fpm-b</property> <property>/it-autoflight/internal/target-fpm-b</property>
<scale>0.16667</scale>
</reference> </reference>
<reference> <reference>
<condition> <condition>
@ -537,7 +533,6 @@
</equals> </equals>
</condition> </condition>
<property>/it-autoflight/internal/target-fpm-c</property> <property>/it-autoflight/internal/target-fpm-c</property>
<scale>0.16667</scale>
</reference> </reference>
<reference> <reference>
<condition> <condition>
@ -547,7 +542,6 @@
</equals> </equals>
</condition> </condition>
<property>/it-autoflight/internal/target-fpm-d</property> <property>/it-autoflight/internal/target-fpm-d</property>
<scale>0.16667</scale>
</reference> </reference>
<reference> <reference>
<condition> <condition>
@ -557,7 +551,6 @@
</equals> </equals>
</condition> </condition>
<property>/it-autoflight/internal/nav1-rate-of-climb-fpm</property> <property>/it-autoflight/internal/nav1-rate-of-climb-fpm</property>
<scale>0.16667</scale>
</reference> </reference>
<output> <output>
<property>/it-autoflight/internal/target-pitch-deg</property> <property>/it-autoflight/internal/target-pitch-deg</property>
@ -570,7 +563,7 @@
<value>6</value> <value>6</value>
</not-equals> </not-equals>
</condition> </condition>
<property>/it-autoflight/config/cmd/vs</property> <value>0.0017</value>
</Kp> </Kp>
<Kp> <Kp>
<condition> <condition>
@ -579,7 +572,7 @@
<value>6</value> <value>6</value>
</equals> </equals>
</condition> </condition>
<property>/it-autoflight/config/autoland/kp-pitch</property> <value>0.0055</value>
</Kp> </Kp>
<Ti>3.0</Ti> <Ti>3.0</Ti>
<Td>0.0001</Td> <Td>0.0001</Td>
@ -663,9 +656,7 @@
<name>System Command: Pitch Rate</name> <name>System Command: Pitch Rate</name>
<debug>false</debug> <debug>false</debug>
<type>gain</type> <type>gain</type>
<gain> <gain>0.15</gain>
<property>/it-autoflight/config/pitch/gain</property>
</gain>
<enable> <enable>
<condition> <condition>
<or> <or>
@ -689,12 +680,8 @@
<output> <output>
<property>/it-autoflight/internal/elevator-cmd</property> <!-- Inputs to the FBW Pitch Rate --> <property>/it-autoflight/internal/elevator-cmd</property> <!-- Inputs to the FBW Pitch Rate -->
</output> </output>
<min> <min>-0.3</min>
<property>/it-autoflight/config/pitch/min</property> <max>0.3</max>
</min>
<max>
<property>/it-autoflight/config/pitch/max</property>
</max>
</filter> </filter>
</PropertyList> </PropertyList>

View file

@ -53,9 +53,6 @@
</enable> </enable>
<input> <input>
<property>/it-autoflight/internal/heading-error-deg</property> <property>/it-autoflight/internal/heading-error-deg</property>
<scale>
<property>/it-autoflight/config/cmd/roll-scale</property>
</scale>
</input> </input>
<reference> <reference>
<value>0</value> <value>0</value>
@ -64,10 +61,8 @@
<property>/it-autoflight/internal/target-roll-deg</property> <property>/it-autoflight/internal/target-roll-deg</property>
</output> </output>
<config> <config>
<Kp> <Kp>-1.3</Kp>
<property>/it-autoflight/config/cmd/roll-kp</property> <Ki>-0.000001</Ki>
</Kp>
<Ki>0.0</Ki>
<min> <min>
<property>/it-autoflight/internal/bank-limit</property> <property>/it-autoflight/internal/bank-limit</property>
<scale>-1</scale> <scale>-1</scale>
@ -134,9 +129,7 @@
<property>/it-autoflight/internal/target-roll-deg</property> <property>/it-autoflight/internal/target-roll-deg</property>
</output> </output>
<config> <config>
<Kp> <Kp>-2.8</Kp>
<property>/it-autoflight/config/cmd/vorloc</property>
</Kp>
<Ki>-0.0001</Ki> <Ki>-0.0001</Ki>
<min> <min>
<property>/it-autoflight/internal/bank-limit</property> <property>/it-autoflight/internal/bank-limit</property>
@ -203,9 +196,7 @@
<name>System Command: Roll Rate</name> <name>System Command: Roll Rate</name>
<debug>false</debug> <debug>false</debug>
<type>gain</type> <type>gain</type>
<gain> <gain>-0.1</gain>
<property>/it-autoflight/config/roll/gain</property>
</gain>
<enable> <enable>
<condition> <condition>
<or> <or>
@ -256,12 +247,8 @@
<output> <output>
<property>/it-autoflight/internal/aileron-cmd</property> <!-- Inputs to the FBW Roll Rate --> <property>/it-autoflight/internal/aileron-cmd</property> <!-- Inputs to the FBW Roll Rate -->
</output> </output>
<min> <min>-0.4</min>
<property>/it-autoflight/config/roll/min</property> <max>0.4</max>
</min>
<max>
<property>/it-autoflight/config/roll/max</property>
</max>
</filter> </filter>
<!-- =============================================================== --> <!-- =============================================================== -->
@ -300,7 +287,7 @@
</equals> </equals>
</and> </and>
</condition> </condition>
<property>/it-autoflight/config/autoland/kp-rudder</property> <value>-0.05</value>
</Kp> </Kp>
<Kp> <Kp>
<condition> <condition>
@ -315,7 +302,7 @@
</equals> </equals>
</or> </or>
</condition> </condition>
<property>/it-autoflight/config/rollout/kp-rudder</property> <value>-0.02</value>
</Kp> </Kp>
<Ki>0</Ki> <Ki>0</Ki>
</config> </config>

View file

@ -1 +1 @@
4073 4074