A32X: Make FlyByWire Great Again

This commit is contained in:
Joshua Davidson 2017-06-25 11:54:00 -04:00
parent 7a471b7da2
commit 6d2937214d
16 changed files with 152 additions and 146 deletions

View file

@ -41,13 +41,13 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
</metrics>
<mass_balance>
<ixx unit="SLUG*FT2">1248922</ixx>
<iyy unit="SLUG*FT2">1800728</iyy>
<izz unit="SLUG*FT2">2894800</izz>
<ixx unit="SLUG*FT2"> 611903</ixx>
<iyy unit="SLUG*FT2">1735389</iyy>
<izz unit="SLUG*FT2">2301293</izz>
<ixy unit="SLUG*FT2"> 0</ixy>
<ixz unit="SLUG*FT2">8000</ixz>
<iyz unit="SLUG*FT2"> 0</iyz>
<ixy unit="SLUG*FT2">0</ixy>
<ixz unit="SLUG*FT2">0</ixz>
<iyz unit="SLUG*FT2">0</iyz>
<emptywt unit="LBS">80431</emptywt>
<location name="CG" unit="IN">

View file

@ -41,13 +41,13 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
</metrics>
<mass_balance>
<ixx unit="SLUG*FT2">1248922</ixx>
<iyy unit="SLUG*FT2">1800728</iyy>
<izz unit="SLUG*FT2">2894800</izz>
<ixx unit="SLUG*FT2"> 611903</ixx>
<iyy unit="SLUG*FT2">1735389</iyy>
<izz unit="SLUG*FT2">2301293</izz>
<ixy unit="SLUG*FT2"> 0</ixy>
<ixz unit="SLUG*FT2">8000</ixz>
<iyz unit="SLUG*FT2"> 0</iyz>
<ixy unit="SLUG*FT2">0</ixy>
<ixz unit="SLUG*FT2">0</ixz>
<iyz unit="SLUG*FT2">0</iyz>
<emptywt unit="LBS">80431</emptywt>
<location name="CG" unit="IN">

View file

@ -41,13 +41,13 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
</metrics>
<mass_balance>
<ixx unit="SLUG*FT2">1248922</ixx>
<iyy unit="SLUG*FT2">1800728</iyy>
<izz unit="SLUG*FT2">2894800</izz>
<ixx unit="SLUG*FT2"> 611903</ixx>
<iyy unit="SLUG*FT2">1735389</iyy>
<izz unit="SLUG*FT2">2301293</izz>
<ixy unit="SLUG*FT2"> 0</ixy>
<ixz unit="SLUG*FT2">8000</ixz>
<iyz unit="SLUG*FT2"> 0</iyz>
<ixy unit="SLUG*FT2">0</ixy>
<ixz unit="SLUG*FT2">0</ixz>
<iyz unit="SLUG*FT2">0</iyz>
<emptywt unit="LBS">80431</emptywt>
<location name="CG" unit="IN">

View file

@ -41,13 +41,13 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
</metrics>
<mass_balance>
<ixx unit="SLUG*FT2">1248922</ixx>
<iyy unit="SLUG*FT2">1800728</iyy>
<izz unit="SLUG*FT2">2894800</izz>
<ixx unit="SLUG*FT2"> 611903</ixx>
<iyy unit="SLUG*FT2">1735389</iyy>
<izz unit="SLUG*FT2">2301293</izz>
<ixy unit="SLUG*FT2"> 0</ixy>
<ixz unit="SLUG*FT2">8000</ixz>
<iyz unit="SLUG*FT2"> 0</iyz>
<ixy unit="SLUG*FT2">0</ixy>
<ixz unit="SLUG*FT2">0</ixz>
<iyz unit="SLUG*FT2">0</iyz>
<emptywt unit="LBS">80431</emptywt>
<location name="CG" unit="IN">

View file

@ -41,13 +41,13 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
</metrics>
<mass_balance>
<ixx unit="SLUG*FT2">1248922</ixx>
<iyy unit="SLUG*FT2">1800728</iyy>
<izz unit="SLUG*FT2">2894800</izz>
<ixx unit="SLUG*FT2"> 611903</ixx>
<iyy unit="SLUG*FT2">1735389</iyy>
<izz unit="SLUG*FT2">2301293</izz>
<ixy unit="SLUG*FT2"> 0</ixy>
<ixz unit="SLUG*FT2">8000</ixz>
<iyz unit="SLUG*FT2"> 0</iyz>
<ixy unit="SLUG*FT2">0</ixy>
<ixz unit="SLUG*FT2">0</ixz>
<iyz unit="SLUG*FT2">0</iyz>
<emptywt unit="LBS">80431</emptywt>
<location name="CG" unit="IN">

View file

@ -41,13 +41,13 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
</metrics>
<mass_balance>
<ixx unit="SLUG*FT2">1248922</ixx>
<iyy unit="SLUG*FT2">1800728</iyy>
<izz unit="SLUG*FT2">2894800</izz>
<ixx unit="SLUG*FT2"> 611903</ixx>
<iyy unit="SLUG*FT2">1735389</iyy>
<izz unit="SLUG*FT2">2301293</izz>
<ixy unit="SLUG*FT2"> 0</ixy>
<ixz unit="SLUG*FT2">8000</ixz>
<iyz unit="SLUG*FT2"> 0</iyz>
<ixy unit="SLUG*FT2">0</ixy>
<ixz unit="SLUG*FT2">0</ixz>
<iyz unit="SLUG*FT2">0</iyz>
<emptywt unit="LBS">80431</emptywt>
<location name="CG" unit="IN">

View file

@ -10,6 +10,16 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
<description>A3XX FDE</description>
</fileheader>
<metrics>
<wingarea unit="FT2"> 1319.79 </wingarea>
<wingspan unit="FT" > 111.26 </wingspan>
<wing_incidence> 1.03 </wing_incidence>
<chord unit="FT" > 13.76 </chord>
<htailarea unit="FT2"> 334.24 </htailarea>
<htailarm unit="FT" > 57.88 </htailarm>
<vtailarea unit="FT2"> 248.79 </vtailarea>
<vtailarm unit="FT" > 57.33 </vtailarm>
<location name="AERORP" unit="IN">
<x> 700.00 </x>
<y> 0 </y>
@ -31,13 +41,13 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
</metrics>
<mass_balance>
<ixx unit="SLUG*FT2">1248922</ixx>
<iyy unit="SLUG*FT2">1800728</iyy>
<izz unit="SLUG*FT2">2894800</izz>
<ixx unit="SLUG*FT2"> 611903</ixx>
<iyy unit="SLUG*FT2">1735389</iyy>
<izz unit="SLUG*FT2">2301293</izz>
<ixy unit="SLUG*FT2"> 0</ixy>
<ixz unit="SLUG*FT2">8000</ixz>
<iyz unit="SLUG*FT2"> 0</iyz>
<ixy unit="SLUG*FT2">0</ixy>
<ixz unit="SLUG*FT2">0</ixz>
<iyz unit="SLUG*FT2">0</iyz>
<emptywt unit="LBS">80431</emptywt>
<location name="CG" unit="IN">

View file

@ -41,13 +41,13 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
</metrics>
<mass_balance>
<ixx unit="SLUG*FT2">1248922</ixx>
<iyy unit="SLUG*FT2">1800728</iyy>
<izz unit="SLUG*FT2">2894800</izz>
<ixx unit="SLUG*FT2"> 611903</ixx>
<iyy unit="SLUG*FT2">1735389</iyy>
<izz unit="SLUG*FT2">2301293</izz>
<ixy unit="SLUG*FT2"> 0</ixy>
<ixz unit="SLUG*FT2">8000</ixz>
<iyz unit="SLUG*FT2"> 0</iyz>
<ixy unit="SLUG*FT2">0</ixy>
<ixz unit="SLUG*FT2">0</ixz>
<iyz unit="SLUG*FT2">0</iyz>
<emptywt unit="LBS">80431</emptywt>
<location name="CG" unit="IN">

View file

@ -41,13 +41,13 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
</metrics>
<mass_balance>
<ixx unit="SLUG*FT2">1248922</ixx>
<iyy unit="SLUG*FT2">1800728</iyy>
<izz unit="SLUG*FT2">2894800</izz>
<ixx unit="SLUG*FT2"> 611903</ixx>
<iyy unit="SLUG*FT2">1735389</iyy>
<izz unit="SLUG*FT2">2301293</izz>
<ixy unit="SLUG*FT2"> 0</ixy>
<ixz unit="SLUG*FT2">8000</ixz>
<iyz unit="SLUG*FT2"> 0</iyz>
<ixy unit="SLUG*FT2">0</ixy>
<ixz unit="SLUG*FT2">0</ixz>
<iyz unit="SLUG*FT2">0</iyz>
<emptywt unit="LBS">80431</emptywt>
<location name="CG" unit="IN">

View file

@ -41,13 +41,13 @@ xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
</metrics>
<mass_balance>
<ixx unit="SLUG*FT2">1248922</ixx>
<iyy unit="SLUG*FT2">1800728</iyy>
<izz unit="SLUG*FT2">2894800</izz>
<ixx unit="SLUG*FT2"> 611903</ixx>
<iyy unit="SLUG*FT2">1735389</iyy>
<izz unit="SLUG*FT2">2301293</izz>
<ixy unit="SLUG*FT2"> 0</ixy>
<ixz unit="SLUG*FT2">8000</ixz>
<iyz unit="SLUG*FT2"> 0</iyz>
<ixy unit="SLUG*FT2">0</ixy>
<ixz unit="SLUG*FT2">0</ixz>
<iyz unit="SLUG*FT2">0</iyz>
<emptywt unit="LBS">80431</emptywt>
<location name="CG" unit="IN">

View file

@ -3,7 +3,6 @@
<aerodynamics>
<property value="0.0">ice/wing</property>
<axis name="LIFT">
<function name="aero/force/Lift_alpha">
@ -204,6 +203,20 @@
</product>
</function>
</axis>
<axis name="SIDE">
<function name="aero/force/Side_beta">
<description>Side force due to beta</description>
<product>
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>aero/beta-rad</property>
<value>-1</value>
</product>
</function>
<function name="aero/force/Drag_wingice">
<description>Drag_due_to_ice_on_wing</description>
<product>
@ -222,20 +235,6 @@
</function>
</axis>
<axis name="SIDE">
<function name="aero/force/Side_beta">
<description>Side force due to beta</description>
<product>
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>aero/beta-rad</property>
<value>-1</value>
</product>
</function>
</axis>
<axis name="ROLL">
<function name="aero/moment/Roll_beta">
@ -257,7 +256,7 @@
<property>metrics/bw-ft</property>
<property>aero/bi2vel</property>
<property>velocities/p-aero-rad_sec</property>
<value>-1.1</value>
<value>-0.95</value>
</product>
</function>
@ -306,7 +305,7 @@
<property>metrics/Sw-sqft</property>
<property>metrics/cbarw-ft</property>
<property>aero/alpha-rad</property>
<value>-0.5</value>
<value>-0.6</value>
</product>
</function>
@ -335,7 +334,7 @@
<property>metrics/cbarw-ft</property>
<property>aero/ci2vel</property>
<property>velocities/q-aero-rad_sec</property>
<value>-150</value>
<value>-140</value>
</product>
</function>

View file

@ -3,7 +3,6 @@
<aerodynamics>
<property value="0.0">ice/wing</property>
<axis name="LIFT">
<function name="aero/force/Lift_alpha">
@ -204,6 +203,20 @@
</product>
</function>
</axis>
<axis name="SIDE">
<function name="aero/force/Side_beta">
<description>Side force due to beta</description>
<product>
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>aero/beta-rad</property>
<value>-1</value>
</product>
</function>
<function name="aero/force/Drag_wingice">
<description>Drag_due_to_ice_on_wing</description>
<product>
@ -222,20 +235,6 @@
</function>
</axis>
<axis name="SIDE">
<function name="aero/force/Side_beta">
<description>Side force due to beta</description>
<product>
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>aero/beta-rad</property>
<value>-1</value>
</product>
</function>
</axis>
<axis name="ROLL">
<function name="aero/moment/Roll_beta">
@ -257,7 +256,7 @@
<property>metrics/bw-ft</property>
<property>aero/bi2vel</property>
<property>velocities/p-aero-rad_sec</property>
<value>-1.1</value>
<value>-0.95</value>
</product>
</function>
@ -306,7 +305,7 @@
<property>metrics/Sw-sqft</property>
<property>metrics/cbarw-ft</property>
<property>aero/alpha-rad</property>
<value>-0.5</value>
<value>-0.6</value>
</product>
</function>
@ -335,7 +334,7 @@
<property>metrics/cbarw-ft</property>
<property>aero/ci2vel</property>
<property>velocities/q-aero-rad_sec</property>
<value>-150</value>
<value>-140</value>
</product>
</function>

View file

@ -3,7 +3,6 @@
<aerodynamics>
<property value="0.0">ice/wing</property>
<axis name="LIFT">
<function name="aero/force/Lift_alpha">
@ -204,6 +203,20 @@
</product>
</function>
</axis>
<axis name="SIDE">
<function name="aero/force/Side_beta">
<description>Side force due to beta</description>
<product>
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>aero/beta-rad</property>
<value>-1</value>
</product>
</function>
<function name="aero/force/Drag_wingice">
<description>Drag_due_to_ice_on_wing</description>
<product>
@ -222,20 +235,6 @@
</function>
</axis>
<axis name="SIDE">
<function name="aero/force/Side_beta">
<description>Side force due to beta</description>
<product>
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>aero/beta-rad</property>
<value>-1</value>
</product>
</function>
</axis>
<axis name="ROLL">
<function name="aero/moment/Roll_beta">
@ -257,7 +256,7 @@
<property>metrics/bw-ft</property>
<property>aero/bi2vel</property>
<property>velocities/p-aero-rad_sec</property>
<value>-1.1</value>
<value>-0.95</value>
</product>
</function>
@ -306,7 +305,7 @@
<property>metrics/Sw-sqft</property>
<property>metrics/cbarw-ft</property>
<property>aero/alpha-rad</property>
<value>-0.5</value>
<value>-0.6</value>
</product>
</function>
@ -335,7 +334,7 @@
<property>metrics/cbarw-ft</property>
<property>aero/ci2vel</property>
<property>velocities/q-aero-rad_sec</property>
<value>-150</value>
<value>-140</value>
</product>
</function>

View file

@ -3,7 +3,6 @@
<aerodynamics>
<property value="0.0">ice/wing</property>
<axis name="LIFT">
<function name="aero/force/Lift_alpha">
@ -204,6 +203,20 @@
</product>
</function>
</axis>
<axis name="SIDE">
<function name="aero/force/Side_beta">
<description>Side force due to beta</description>
<product>
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>aero/beta-rad</property>
<value>-1</value>
</product>
</function>
<function name="aero/force/Drag_wingice">
<description>Drag_due_to_ice_on_wing</description>
<product>
@ -222,20 +235,6 @@
</function>
</axis>
<axis name="SIDE">
<function name="aero/force/Side_beta">
<description>Side force due to beta</description>
<product>
<property>aero/qbar-psf</property>
<property>metrics/Sw-sqft</property>
<property>aero/beta-rad</property>
<value>-1</value>
</product>
</function>
</axis>
<axis name="ROLL">
<function name="aero/moment/Roll_beta">
@ -257,7 +256,7 @@
<property>metrics/bw-ft</property>
<property>aero/bi2vel</property>
<property>velocities/p-aero-rad_sec</property>
<value>-1.1</value>
<value>-0.95</value>
</product>
</function>
@ -306,7 +305,7 @@
<property>metrics/Sw-sqft</property>
<property>metrics/cbarw-ft</property>
<property>aero/alpha-rad</property>
<value>-0.5</value>
<value>-0.6</value>
</product>
</function>
@ -335,7 +334,7 @@
<property>metrics/cbarw-ft</property>
<property>aero/ci2vel</property>
<property>velocities/q-aero-rad_sec</property>
<value>-150</value>
<value>-140</value>
</product>
</function>

View file

@ -14,7 +14,7 @@
<aerosurface_scale name="Elevator Control">
<input>fcs/pitch-trim-sum</input>
<gain>0.021</gain>
<gain>0.02</gain>
<range>
<min>-20</min>
<max>20</max>
@ -42,7 +42,7 @@
<aerosurface_scale name="Left Aileron Control">
<input>fcs/roll-trim-sum</input>
<gain>0.025</gain>
<gain>0.02</gain>
<range>
<min>-15</min>
<max>15</max>
@ -52,7 +52,7 @@
<aerosurface_scale name="Right Aileron Control">
<input>-fcs/roll-trim-sum</input>
<gain>0.025</gain>
<gain>0.02</gain>
<range>
<min>-15</min>
<max>15</max>
@ -330,7 +330,7 @@
<!-- simulate rotational friction -->
<actuator name="Gear Nose Actuator">
<input>fcs/steer-nose-deg[0]</input>
<rate_limit>90</rate_limit>
<rate_limit>70</rate_limit>
<output>fcs/steer-pos-deg[0]</output>
</actuator>

View file

@ -137,7 +137,7 @@
<alpha>0.1</alpha>
<gamma>0</gamma>
<Ti>5</Ti>
<Td>0.004</Td>
<Td>0.005</Td>
<u_min>-1</u_min>
<u_max>1</u_max>
</config>