A32X: Overhaul flight control aerodynamics, retune FBW system

This commit is contained in:
Joshua Davidson 2017-10-29 20:13:02 -04:00
parent 9b6372b8a1
commit 341700c36c
18 changed files with 85 additions and 47 deletions

View file

@ -28,7 +28,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<vtailarm unit="FT" > 57.33 </vtailarm> <vtailarm unit="FT" > 57.33 </vtailarm>
<location name="AERORP" unit="M"> <location name="AERORP" unit="M">
<x> 19.4974 </x> <x> 19.3974 </x>
<y> 0 </y> <y> 0 </y>
<z> 0.19249 </z> <z> 0.19249 </z>
</location> </location>

View file

@ -28,7 +28,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<vtailarm unit="FT" > 57.33 </vtailarm> <vtailarm unit="FT" > 57.33 </vtailarm>
<location name="AERORP" unit="M"> <location name="AERORP" unit="M">
<x> 19.4974 </x> <x> 19.3974 </x>
<y> 0 </y> <y> 0 </y>
<z> 0.19249 </z> <z> 0.19249 </z>
</location> </location>

View file

@ -28,7 +28,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<vtailarm unit="FT" > 57.33 </vtailarm> <vtailarm unit="FT" > 57.33 </vtailarm>
<location name="AERORP" unit="M"> <location name="AERORP" unit="M">
<x> 19.4974 </x> <x> 19.3974 </x>
<y> 0 </y> <y> 0 </y>
<z> 0.19249 </z> <z> 0.19249 </z>
</location> </location>

View file

@ -28,7 +28,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<vtailarm unit="FT" > 57.33 </vtailarm> <vtailarm unit="FT" > 57.33 </vtailarm>
<location name="AERORP" unit="M"> <location name="AERORP" unit="M">
<x> 19.4974 </x> <x> 19.3974 </x>
<y> 0 </y> <y> 0 </y>
<z> 0.19249 </z> <z> 0.19249 </z>
</location> </location>

View file

@ -28,7 +28,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<vtailarm unit="FT" > 57.33 </vtailarm> <vtailarm unit="FT" > 57.33 </vtailarm>
<location name="AERORP" unit="M"> <location name="AERORP" unit="M">
<x> 19.4974 </x> <x> 19.3974 </x>
<y> 0 </y> <y> 0 </y>
<z> 0.19249 </z> <z> 0.19249 </z>
</location> </location>

View file

@ -28,7 +28,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<vtailarm unit="FT" > 57.33 </vtailarm> <vtailarm unit="FT" > 57.33 </vtailarm>
<location name="AERORP" unit="M"> <location name="AERORP" unit="M">
<x> 19.4974 </x> <x> 19.3974 </x>
<y> 0 </y> <y> 0 </y>
<z> 0.19249 </z> <z> 0.19249 </z>
</location> </location>

View file

@ -28,7 +28,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<vtailarm unit="FT" > 57.33 </vtailarm> <vtailarm unit="FT" > 57.33 </vtailarm>
<location name="AERORP" unit="M"> <location name="AERORP" unit="M">
<x> 19.4974 </x> <x> 19.3974 </x>
<y> 0 </y> <y> 0 </y>
<z> 0.19249 </z> <z> 0.19249 </z>
</location> </location>

View file

@ -28,7 +28,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<vtailarm unit="FT" > 57.33 </vtailarm> <vtailarm unit="FT" > 57.33 </vtailarm>
<location name="AERORP" unit="M"> <location name="AERORP" unit="M">
<x> 19.4974 </x> <x> 19.3974 </x>
<y> 0 </y> <y> 0 </y>
<z> 0.19249 </z> <z> 0.19249 </z>
</location> </location>

View file

@ -28,7 +28,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<vtailarm unit="FT" > 57.33 </vtailarm> <vtailarm unit="FT" > 57.33 </vtailarm>
<location name="AERORP" unit="M"> <location name="AERORP" unit="M">
<x> 19.4974 </x> <x> 19.3974 </x>
<y> 0 </y> <y> 0 </y>
<z> 0.19249 </z> <z> 0.19249 </z>
</location> </location>

View file

@ -28,7 +28,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<vtailarm unit="FT" > 57.33 </vtailarm> <vtailarm unit="FT" > 57.33 </vtailarm>
<location name="AERORP" unit="M"> <location name="AERORP" unit="M">
<x> 19.4974 </x> <x> 19.3974 </x>
<y> 0 </y> <y> 0 </y>
<z> 0.19249 </z> <z> 0.19249 </z>
</location> </location>

View file

@ -28,7 +28,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<vtailarm unit="FT" > 57.33 </vtailarm> <vtailarm unit="FT" > 57.33 </vtailarm>
<location name="AERORP" unit="M"> <location name="AERORP" unit="M">
<x> 19.4974 </x> <x> 19.3974 </x>
<y> 0 </y> <y> 0 </y>
<z> 0.19249 </z> <z> 0.19249 </z>
</location> </location>

View file

@ -28,7 +28,7 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<vtailarm unit="FT" > 57.33 </vtailarm> <vtailarm unit="FT" > 57.33 </vtailarm>
<location name="AERORP" unit="M"> <location name="AERORP" unit="M">
<x> 19.4974 </x> <x> 19.3974 </x>
<y> 0 </y> <y> 0 </y>
<z> 0.19249 </z> <z> 0.19249 </z>
</location> </location>

View file

@ -262,7 +262,7 @@
<property>metrics/bw-ft</property> <property>metrics/bw-ft</property>
<property>aero/bi2vel</property> <property>aero/bi2vel</property>
<property>velocities/p-aero-rad_sec</property> <property>velocities/p-aero-rad_sec</property>
<value>-0.91</value> <value>-0.47</value>
</product> </product>
</function> </function>
@ -285,7 +285,7 @@
<property>metrics/Sw-sqft</property> <property>metrics/Sw-sqft</property>
<property>metrics/bw-ft</property> <property>metrics/bw-ft</property>
<property>fcs/roll-pos-rad</property> <property>fcs/roll-pos-rad</property>
<value>0.11</value> <value>0.10</value>
</product> </product>
</function> </function>
@ -296,7 +296,7 @@
<property>metrics/Sw-sqft</property> <property>metrics/Sw-sqft</property>
<property>metrics/bw-ft</property> <property>metrics/bw-ft</property>
<property>fcs/rudder-pos-rad</property> <property>fcs/rudder-pos-rad</property>
<value>0.003</value> <value>0.01</value>
</product> </product>
</function> </function>
@ -322,7 +322,7 @@
<property>metrics/Sw-sqft</property> <property>metrics/Sw-sqft</property>
<property>metrics/cbarw-ft</property> <property>metrics/cbarw-ft</property>
<property>fcs/pitch-pos-geared</property> <property>fcs/pitch-pos-geared</property>
<value>-1.600</value> <value>-1.350</value>
</product> </product>
</function> </function>
@ -334,7 +334,7 @@
<property>metrics/cbarw-ft</property> <property>metrics/cbarw-ft</property>
<property>aero/ci2vel</property> <property>aero/ci2vel</property>
<property>velocities/q-aero-rad_sec</property> <property>velocities/q-aero-rad_sec</property>
<value>-136</value> <value>-37.4</value>
</product> </product>
</function> </function>
@ -384,7 +384,7 @@
<property>metrics/Sw-sqft</property> <property>metrics/Sw-sqft</property>
<property>metrics/bw-ft</property> <property>metrics/bw-ft</property>
<property>fcs/rudder-pos-rad</property> <property>fcs/rudder-pos-rad</property>
<value>-0.075</value> <value>-0.1</value>
</product> </product>
</function> </function>

View file

@ -262,7 +262,7 @@
<property>metrics/bw-ft</property> <property>metrics/bw-ft</property>
<property>aero/bi2vel</property> <property>aero/bi2vel</property>
<property>velocities/p-aero-rad_sec</property> <property>velocities/p-aero-rad_sec</property>
<value>-0.91</value> <value>-0.47</value>
</product> </product>
</function> </function>
@ -285,7 +285,7 @@
<property>metrics/Sw-sqft</property> <property>metrics/Sw-sqft</property>
<property>metrics/bw-ft</property> <property>metrics/bw-ft</property>
<property>fcs/roll-pos-rad</property> <property>fcs/roll-pos-rad</property>
<value>0.11</value> <value>0.10</value>
</product> </product>
</function> </function>
@ -296,7 +296,7 @@
<property>metrics/Sw-sqft</property> <property>metrics/Sw-sqft</property>
<property>metrics/bw-ft</property> <property>metrics/bw-ft</property>
<property>fcs/rudder-pos-rad</property> <property>fcs/rudder-pos-rad</property>
<value>0.003</value> <value>0.01</value>
</product> </product>
</function> </function>
@ -322,7 +322,7 @@
<property>metrics/Sw-sqft</property> <property>metrics/Sw-sqft</property>
<property>metrics/cbarw-ft</property> <property>metrics/cbarw-ft</property>
<property>fcs/pitch-pos-geared</property> <property>fcs/pitch-pos-geared</property>
<value>-1.600</value> <value>-1.350</value>
</product> </product>
</function> </function>
@ -334,7 +334,7 @@
<property>metrics/cbarw-ft</property> <property>metrics/cbarw-ft</property>
<property>aero/ci2vel</property> <property>aero/ci2vel</property>
<property>velocities/q-aero-rad_sec</property> <property>velocities/q-aero-rad_sec</property>
<value>-136</value> <value>-37.4</value>
</product> </product>
</function> </function>
@ -384,7 +384,7 @@
<property>metrics/Sw-sqft</property> <property>metrics/Sw-sqft</property>
<property>metrics/bw-ft</property> <property>metrics/bw-ft</property>
<property>fcs/rudder-pos-rad</property> <property>fcs/rudder-pos-rad</property>
<value>-0.075</value> <value>-0.1</value>
</product> </product>
</function> </function>

View file

@ -262,7 +262,7 @@
<property>metrics/bw-ft</property> <property>metrics/bw-ft</property>
<property>aero/bi2vel</property> <property>aero/bi2vel</property>
<property>velocities/p-aero-rad_sec</property> <property>velocities/p-aero-rad_sec</property>
<value>-0.91</value> <value>-0.47</value>
</product> </product>
</function> </function>
@ -285,7 +285,7 @@
<property>metrics/Sw-sqft</property> <property>metrics/Sw-sqft</property>
<property>metrics/bw-ft</property> <property>metrics/bw-ft</property>
<property>fcs/roll-pos-rad</property> <property>fcs/roll-pos-rad</property>
<value>0.11</value> <value>0.10</value>
</product> </product>
</function> </function>
@ -296,7 +296,7 @@
<property>metrics/Sw-sqft</property> <property>metrics/Sw-sqft</property>
<property>metrics/bw-ft</property> <property>metrics/bw-ft</property>
<property>fcs/rudder-pos-rad</property> <property>fcs/rudder-pos-rad</property>
<value>0.003</value> <value>0.01</value>
</product> </product>
</function> </function>
@ -322,7 +322,7 @@
<property>metrics/Sw-sqft</property> <property>metrics/Sw-sqft</property>
<property>metrics/cbarw-ft</property> <property>metrics/cbarw-ft</property>
<property>fcs/pitch-pos-geared</property> <property>fcs/pitch-pos-geared</property>
<value>-1.600</value> <value>-1.350</value>
</product> </product>
</function> </function>
@ -334,7 +334,7 @@
<property>metrics/cbarw-ft</property> <property>metrics/cbarw-ft</property>
<property>aero/ci2vel</property> <property>aero/ci2vel</property>
<property>velocities/q-aero-rad_sec</property> <property>velocities/q-aero-rad_sec</property>
<value>-136</value> <value>-37.4</value>
</product> </product>
</function> </function>
@ -384,7 +384,7 @@
<property>metrics/Sw-sqft</property> <property>metrics/Sw-sqft</property>
<property>metrics/bw-ft</property> <property>metrics/bw-ft</property>
<property>fcs/rudder-pos-rad</property> <property>fcs/rudder-pos-rad</property>
<value>-0.075</value> <value>-0.1</value>
</product> </product>
</function> </function>

View file

@ -262,7 +262,7 @@
<property>metrics/bw-ft</property> <property>metrics/bw-ft</property>
<property>aero/bi2vel</property> <property>aero/bi2vel</property>
<property>velocities/p-aero-rad_sec</property> <property>velocities/p-aero-rad_sec</property>
<value>-0.91</value> <value>-0.47</value>
</product> </product>
</function> </function>
@ -285,7 +285,7 @@
<property>metrics/Sw-sqft</property> <property>metrics/Sw-sqft</property>
<property>metrics/bw-ft</property> <property>metrics/bw-ft</property>
<property>fcs/roll-pos-rad</property> <property>fcs/roll-pos-rad</property>
<value>0.11</value> <value>0.10</value>
</product> </product>
</function> </function>
@ -296,7 +296,7 @@
<property>metrics/Sw-sqft</property> <property>metrics/Sw-sqft</property>
<property>metrics/bw-ft</property> <property>metrics/bw-ft</property>
<property>fcs/rudder-pos-rad</property> <property>fcs/rudder-pos-rad</property>
<value>0.003</value> <value>0.01</value>
</product> </product>
</function> </function>
@ -322,7 +322,7 @@
<property>metrics/Sw-sqft</property> <property>metrics/Sw-sqft</property>
<property>metrics/cbarw-ft</property> <property>metrics/cbarw-ft</property>
<property>fcs/pitch-pos-geared</property> <property>fcs/pitch-pos-geared</property>
<value>-1.600</value> <value>-1.350</value>
</product> </product>
</function> </function>
@ -334,7 +334,7 @@
<property>metrics/cbarw-ft</property> <property>metrics/cbarw-ft</property>
<property>aero/ci2vel</property> <property>aero/ci2vel</property>
<property>velocities/q-aero-rad_sec</property> <property>velocities/q-aero-rad_sec</property>
<value>-136</value> <value>-37.4</value>
</product> </product>
</function> </function>
@ -384,7 +384,7 @@
<property>metrics/Sw-sqft</property> <property>metrics/Sw-sqft</property>
<property>metrics/bw-ft</property> <property>metrics/bw-ft</property>
<property>fcs/rudder-pos-rad</property> <property>fcs/rudder-pos-rad</property>
<value>-0.075</value> <value>-0.1</value>
</product> </product>
</function> </function>

View file

@ -117,7 +117,7 @@
</expression> </expression>
</input> </input>
<output>/controls/flight/aileron-input</output> <output>/controls/flight/aileron-input</output>
<max-rate-of-change>2.0</max-rate-of-change> <max-rate-of-change>1.5</max-rate-of-change>
</filter> </filter>
<filter> <filter>
@ -314,7 +314,7 @@
</expression> </expression>
</input> </input>
<output>/controls/flight/elevator-input</output> <output>/controls/flight/elevator-input</output>
<max-rate-of-change>2.0</max-rate-of-change> <max-rate-of-change>1.5</max-rate-of-change>
</filter> </filter>
<!-- =============================================================== --> <!-- =============================================================== -->
@ -446,7 +446,7 @@
<expression> <expression>
<table> <table>
<property>/velocities/mach</property> <property>/velocities/mach</property>
<entry><ind>0.2</ind><dep>0.11</dep></entry> <entry><ind>0.2</ind><dep>0.12</dep></entry>
<entry><ind>0.9</ind><dep>0.06</dep></entry> <entry><ind>0.9</ind><dep>0.06</dep></entry>
</table> </table>
</expression> </expression>
@ -454,6 +454,22 @@
<output>/it-fbw/roll-kp</output> <output>/it-fbw/roll-kp</output>
</filter> </filter>
<filter>
<name>IT-FBW: ROLL TI (I Time)</name>
<type>gain</type>
<gain>1</gain>
<input>
<expression>
<table>
<property>/velocities/mach</property>
<entry><ind>0.2</ind><dep>0.75</dep></entry>
<entry><ind>0.9</ind><dep>0.65</dep></entry>
</table>
</expression>
</input>
<output>/it-fbw/roll-ti</output>
</filter>
<pid-controller> <pid-controller>
<name>IT-FBW: ROLL</name> <name>IT-FBW: ROLL</name>
<debug>false</debug> <debug>false</debug>
@ -491,8 +507,10 @@
<beta>1</beta> <beta>1</beta>
<alpha>0.1</alpha> <alpha>0.1</alpha>
<gamma>0</gamma> <gamma>0</gamma>
<Ti>0.45</Ti> <Ti>
<Td>0.002</Td> <property>/it-fbw/roll-ti</property>
</Ti>
<Td>0.005</Td>
<u_min>-1</u_min> <u_min>-1</u_min>
<u_max>1</u_max> <u_max>1</u_max>
</config> </config>
@ -864,7 +882,7 @@
<expression> <expression>
<table> <table>
<property>/velocities/mach</property> <property>/velocities/mach</property>
<entry><ind>0.2</ind><dep>-0.20</dep></entry> <entry><ind>0.2</ind><dep>-0.26</dep></entry>
<entry><ind>0.9</ind><dep>-0.13</dep></entry> <entry><ind>0.9</ind><dep>-0.13</dep></entry>
</table> </table>
</expression> </expression>
@ -872,6 +890,22 @@
<output>/it-fbw/pitch-kp</output> <output>/it-fbw/pitch-kp</output>
</filter> </filter>
<filter>
<name>IT-FBW: PITCH TI (I Time)</name>
<type>gain</type>
<gain>1</gain>
<input>
<expression>
<table>
<property>/velocities/mach</property>
<entry><ind>0.2</ind><dep>0.75</dep></entry>
<entry><ind>0.9</ind><dep>0.55</dep></entry>
</table>
</expression>
</input>
<output>/it-fbw/pitch-ti</output>
</filter>
<pid-controller> <pid-controller>
<name>IT-FBW: PITCH</name> <name>IT-FBW: PITCH</name>
<debug>false</debug> <debug>false</debug>
@ -947,8 +981,10 @@
<beta>1</beta> <beta>1</beta>
<alpha>0.1</alpha> <alpha>0.1</alpha>
<gamma>0</gamma> <gamma>0</gamma>
<Ti>0.45</Ti> <Ti>
<Td>0.002</Td> <property>/it-fbw/pitch-ti</property>
</Ti>
<Td>0.005</Td>
<u_min>-1</u_min> <u_min>-1</u_min>
<u_max>1</u_max> <u_max>1</u_max>
</config> </config>
@ -1032,8 +1068,10 @@
<beta>1</beta> <beta>1</beta>
<alpha>0.1</alpha> <alpha>0.1</alpha>
<gamma>0</gamma> <gamma>0</gamma>
<Ti>0.45</Ti> <Ti>
<Td>0.02</Td> <property>/it-fbw/pitch-ti</property>
</Ti>
<Td>0.03</Td>
<u_min>-1</u_min> <u_min>-1</u_min>
<u_max>1</u_max> <u_max>1</u_max>
</config> </config>

View file

@ -1 +1 @@
3028 3040