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>
<config>
<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>
<output>
<ap1>0</ap1>

View file

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

View file

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

View file

@ -1 +1 @@
4073
4074