FCS: slats and flaps extend slowly if hydraulic or electrical failures occur

This commit is contained in:
Jonathan Redpath 2018-10-19 16:20:06 +01:00
parent e25c114c62
commit 5e7a5976f4

View file

@ -82,7 +82,7 @@
<independentVar lookup="row">velocities/mach</independentVar> <independentVar lookup="row">velocities/mach</independentVar>
<independentVar lookup="column">fbw/roll/gain-switch</independentVar> <independentVar lookup="column">fbw/roll/gain-switch</independentVar>
<tableData> <tableData>
0 1 0 1
0.2 -26.2 0.0 0.2 -26.2 0.0
0.9 -15.5 0.0 0.9 -15.5 0.0
</tableData> </tableData>
@ -96,7 +96,7 @@
<independentVar lookup="row">velocities/mach</independentVar> <independentVar lookup="row">velocities/mach</independentVar>
<independentVar lookup="column">fbw/roll/gain-switch</independentVar> <independentVar lookup="column">fbw/roll/gain-switch</independentVar>
<tableData> <tableData>
0 1 0 1
0.2 -45.5 0.0 0.2 -45.5 0.0
0.9 -36.0 0.0 0.9 -36.0 0.0
</tableData> </tableData>
@ -110,7 +110,7 @@
<independentVar lookup="row">velocities/mach</independentVar> <independentVar lookup="row">velocities/mach</independentVar>
<independentVar lookup="column">fbw/roll/gain-switch</independentVar> <independentVar lookup="column">fbw/roll/gain-switch</independentVar>
<tableData> <tableData>
0 1 0 1
0.2 -2.1 0.0 0.2 -2.1 0.0
0.9 -1.1 0.0 0.9 -1.1 0.0
</tableData> </tableData>
@ -124,9 +124,9 @@
<independentVar lookup="row">velocities/mach</independentVar> <independentVar lookup="row">velocities/mach</independentVar>
<independentVar lookup="column">fbw/pitch/gain-switch</independentVar> <independentVar lookup="column">fbw/pitch/gain-switch</independentVar>
<tableData> <tableData>
0 1 0 1
0.2 28 0 0.2 28 0
0.9 23 0 0.9 23 0
</tableData> </tableData>
</table> </table>
</function> </function>
@ -138,9 +138,9 @@
<independentVar lookup="row">velocities/mach</independentVar> <independentVar lookup="row">velocities/mach</independentVar>
<independentVar lookup="column">fbw/pitch/gain-switch</independentVar> <independentVar lookup="column">fbw/pitch/gain-switch</independentVar>
<tableData> <tableData>
0 1 0 1
0.2 61 0 0.2 61 0
0.9 45 0 0.9 45 0
</tableData> </tableData>
</table> </table>
</function> </function>
@ -152,9 +152,9 @@
<independentVar lookup="row">velocities/mach</independentVar> <independentVar lookup="row">velocities/mach</independentVar>
<independentVar lookup="column">fbw/pitch/gain-switch</independentVar> <independentVar lookup="column">fbw/pitch/gain-switch</independentVar>
<tableData> <tableData>
0 1 0 1
0.2 2.9 0.0 0.2 2.9 0.0
0.9 1.3 0.0 0.9 1.3 0.0
</tableData> </tableData>
</table> </table>
</function> </function>
@ -166,7 +166,7 @@
<independentVar lookup="row">velocities/mach</independentVar> <independentVar lookup="row">velocities/mach</independentVar>
<independentVar lookup="column">fbw/yaw/gain-switch</independentVar> <independentVar lookup="column">fbw/yaw/gain-switch</independentVar>
<tableData> <tableData>
0 1 0 1
0.2 -7.5 0.0 0.2 -7.5 0.0
0.9 -1.5 0.0 0.9 -1.5 0.0
</tableData> </tableData>
@ -180,9 +180,9 @@
<independentVar lookup="row">velocities/mach</independentVar> <independentVar lookup="row">velocities/mach</independentVar>
<independentVar lookup="column">fbw/yaw/gain-switch</independentVar> <independentVar lookup="column">fbw/yaw/gain-switch</independentVar>
<tableData> <tableData>
0 1 0 1
0.2 5.01 0.00 0.2 5.01 0.00
0.9 1.05 0.00 0.9 1.05 0.00
</tableData> </tableData>
</table> </table>
</function> </function>
@ -194,9 +194,9 @@
<independentVar lookup="row">velocities/mach</independentVar> <independentVar lookup="row">velocities/mach</independentVar>
<independentVar lookup="column">fbw/yaw/gain-switch</independentVar> <independentVar lookup="column">fbw/yaw/gain-switch</independentVar>
<tableData> <tableData>
0 1 0 1
0.2 1.03 0.00 0.2 1.03 0.00
0.9 0.79 0.00 0.9 0.79 0.00
</tableData> </tableData>
</table> </table>
</function> </function>
@ -279,11 +279,11 @@
<independentVar lookup="row">attitude/roll-rad</independentVar> <independentVar lookup="row">attitude/roll-rad</independentVar>
<independentVar lookup="column">fbw/roll/a-i</independentVar> <independentVar lookup="column">fbw/roll/a-i</independentVar>
<tableData> <tableData>
-1 0 1 -1 0 1
-0.575959 0.261799 0.000000 0.000000 -0.575959 0.261799 0.000000 0.000000
-0.575958 0.000000 0.000000 0.000000 -0.575958 0.000000 0.000000 0.000000
0.575958 0.000000 0.000000 0.000000 0.575958 0.000000 0.000000 0.000000
0.575959 0.000000 0.000000 -0.261799 0.575959 0.000000 0.000000 -0.261799
</tableData> </tableData>
</table> </table>
<table> <table>
@ -310,11 +310,11 @@
<independentVar lookup="row">attitude/roll-rad</independentVar> <independentVar lookup="row">attitude/roll-rad</independentVar>
<independentVar lookup="column">fbw/roll/a-i</independentVar> <independentVar lookup="column">fbw/roll/a-i</independentVar>
<tableData> <tableData>
-1 0 1 -1 0 1
-1.169370 0.261799 0.000000 0.000000 -1.169370 0.261799 0.000000 0.000000
-1.169369 0.000000 0.000000 0.000000 -1.169369 0.000000 0.000000 0.000000
1.169369 0.000000 0.000000 0.000000 1.169369 0.000000 0.000000 0.000000
1.169370 0.000000 0.000000 -0.261799 1.169370 0.000000 0.000000 -0.261799
</tableData> </tableData>
</table> </table>
<table> <table>
@ -369,11 +369,11 @@
<independentVar lookup="row">attitude/roll-rad</independentVar> <independentVar lookup="row">attitude/roll-rad</independentVar>
<independentVar lookup="column">fbw/roll/a-i</independentVar> <independentVar lookup="column">fbw/roll/a-i</independentVar>
<tableData> <tableData>
-1 0 1 -1 0 1
-0.698132 0.261799 0.000000 0.000000 -0.698132 0.261799 0.000000 0.000000
-0.698131 0.000000 0.000000 0.000000 -0.698131 0.000000 0.000000 0.000000
0.698131 0.000000 0.000000 0.000000 0.698131 0.000000 0.000000 0.000000
0.698132 0.000000 0.000000 -0.261799 0.698132 0.000000 0.000000 -0.261799
</tableData> </tableData>
</table> </table>
</sum> </sum>
@ -523,9 +523,9 @@
<independentVar lookup="row">velocities/mach</independentVar> <independentVar lookup="row">velocities/mach</independentVar>
<independentVar lookup="column">position/wow</independentVar> <independentVar lookup="column">position/wow</independentVar>
<tableData> <tableData>
0 1 0 1
0.2 0.5 1.0 0.2 0.5 1.0
0.9 0.1 1.0 0.9 0.1 1.0
</tableData> </tableData>
</table> </table>
</product> </product>
@ -615,8 +615,8 @@
<table> <table>
<independentVar lookup="row">/position/gear-agl-ft</independentVar> <independentVar lookup="row">/position/gear-agl-ft</independentVar>
<tableData> <tableData>
5 0.2 5 0.2
30 0.1 30 0.1
</tableData> </tableData>
</table> </table>
</sum> </sum>
@ -779,11 +779,11 @@
<independentVar lookup="row">attitude/pitch-rad</independentVar> <independentVar lookup="row">attitude/pitch-rad</independentVar>
<independentVar lookup="column">fbw/pitch/g-pi-switched</independentVar> <independentVar lookup="column">fbw/pitch/g-pi-switched</independentVar>
<tableData> <tableData>
-1 0 1 -1 0 1
-0.261799 0.000000 0.000000 0.087266 -0.261799 0.000000 0.000000 0.087266
-0.261798 0.000000 0.000000 0.000000 -0.261798 0.000000 0.000000 0.000000
0.523598 0.000000 0.000000 0.000000 0.523598 0.000000 0.000000 0.000000
0.523599 -0.087266 0.000000 0.000000 0.523599 -0.087266 0.000000 0.000000
</tableData> </tableData>
</table> </table>
<table> <table>
@ -818,9 +818,9 @@
<independentVar lookup="row">attitude/pitch-rad</independentVar> <independentVar lookup="row">attitude/pitch-rad</independentVar>
<independentVar lookup="column">fbw/pitch/g-pi-switched</independentVar> <independentVar lookup="column">fbw/pitch/g-pi-switched</independentVar>
<tableData> <tableData>
-1 0 -1 0
0.523598 -0.026180 0.000000 0.523598 -0.026180 0.000000
0.523599 -0.087266 0.000000 0.523599 -0.087266 0.000000
</tableData> </tableData>
</table> </table>
<table> <table>
@ -1066,7 +1066,7 @@
<independentVar lookup="row">/controls/flight/rudder</independentVar> <independentVar lookup="row">/controls/flight/rudder</independentVar>
<independentVar lookup="column">fbw/fmgc/enabled</independentVar> <independentVar lookup="column">fbw/fmgc/enabled</independentVar>
<tableData> <tableData>
0 1 0 1
-1.00 -1 0 -1.00 -1 0
-0.04 0 0 -0.04 0 0
0.04 0 0 0.04 0 0
@ -1192,8 +1192,8 @@
<table> <table>
<independentVar lookup="row">/velocities/airspeed-kt</independentVar> <independentVar lookup="row">/velocities/airspeed-kt</independentVar>
<tableData> <tableData>
62 1.0 62 1.0
116 0.0 116 0.0
</tableData> </tableData>
</table> </table>
</function> </function>
@ -1204,8 +1204,8 @@
<table> <table>
<independentVar lookup="row">/velocities/airspeed-kt</independentVar> <independentVar lookup="row">/velocities/airspeed-kt</independentVar>
<tableData> <tableData>
72 1.0 72 1.0
121 0.0 121 0.0
</tableData> </tableData>
</table> </table>
</function> </function>
@ -1222,8 +1222,8 @@
<table> <table>
<independentVar lookup="row">spoilers/anti-droop-cmd</independentVar> <independentVar lookup="row">spoilers/anti-droop-cmd</independentVar>
<tableData> <tableData>
0.5 0.0 0.5 0.0
1.0 1.0 1.0 1.0
</tableData> </tableData>
</table> </table>
</function> </function>
@ -1521,9 +1521,9 @@
<independentVar lookup="row">velocities/mach</independentVar> <independentVar lookup="row">velocities/mach</independentVar>
<independentVar lookup="column">atmosphere/density-altitude</independentVar> <independentVar lookup="column">atmosphere/density-altitude</independentVar>
<tableData> <tableData>
0 43000 0 43000
0.0 1.00 0.850 0.0 1.00 0.850
0.9 0.02 0.750 0.9 0.02 0.750
</tableData> </tableData>
</table> </table>
</scheduled_gain> </scheduled_gain>
@ -1534,9 +1534,9 @@
<independentVar lookup="row">velocities/mach</independentVar> <independentVar lookup="row">velocities/mach</independentVar>
<independentVar lookup="column">atmosphere/density-altitude</independentVar> <independentVar lookup="column">atmosphere/density-altitude</independentVar>
<tableData> <tableData>
0 43000 0 43000
0.0 1.00 0.850 0.0 1.00 0.850
0.9 0.02 0.750 0.9 0.02 0.750
</tableData> </tableData>
</table> </table>
</scheduled_gain> </scheduled_gain>
@ -1547,9 +1547,9 @@
<independentVar lookup="row">velocities/mach</independentVar> <independentVar lookup="row">velocities/mach</independentVar>
<independentVar lookup="column">atmosphere/density-altitude</independentVar> <independentVar lookup="column">atmosphere/density-altitude</independentVar>
<tableData> <tableData>
0 43000 0 43000
0.0 1.00 0.850 0.0 1.00 0.850
0.9 0.02 0.750 0.9 0.02 0.750
</tableData> </tableData>
</table> </table>
</scheduled_gain> </scheduled_gain>
@ -1563,34 +1563,34 @@
<table> <table>
<independentVar lookup="row">/velocities/airspeed-kt</independentVar> <independentVar lookup="row">/velocities/airspeed-kt</independentVar>
<tableData> <tableData>
160.00 25.000 160.00 25.000
162.15 23.649 162.15 23.649
165.02 22.226 165.02 22.226
168.64 21.015 168.64 21.015
172.25 19.734 172.25 19.734
176.59 18.595 176.59 18.595
181.67 17.525 181.67 17.525
186.75 16.385 186.75 16.385
191.83 15.316 191.83 15.316
197.65 14.318 197.65 14.318
205.65 13.247 205.65 13.247
212.93 12.318 212.93 12.318
219.48 11.462 219.48 11.462
227.48 10.533 227.48 10.533
236.96 9.7450 236.96 9.7450
246.43 8.8863 246.43 8.8863
255.18 8.0990 255.18 8.0990
266.12 7.4525 266.12 7.4525
277.06 6.7704 277.06 6.7704
288.00 6.0884 288.00 6.0884
299.67 5.5124 299.67 5.5124
311.35 5.0075 311.35 5.0075
323.03 4.5736 323.03 4.5736
335.44 4.2104 335.44 4.2104
347.13 3.9186 347.13 3.9186
358.81 3.6979 358.81 3.6979
370.50 3.5482 370.50 3.5482
380.00 3.4000 380.00 3.4000
</tableData> </tableData>
</table> </table>
</function> </function>
@ -1738,6 +1738,19 @@
</channel> </channel>
<channel name="Flaps"> <channel name="Flaps">
<switch name="fcs/sfcc/unit1-avail">
<default value="0"/>
<test logic="OR" value="1">
/systems/electrical/bus/dc-ess ge 25
</test>
</switch>
<switch name="fcs/sfcc/unit2-avail">
<default value="0"/>
<test logic="OR" value="1">
/systems/electrical/bus/dc2 ge 25
</test>
</switch>
<pure_gain name="fcs/flap-pos-gain"> <pure_gain name="fcs/flap-pos-gain">
<input>/controls/flight/flaps</input> <input>/controls/flight/flaps</input>
@ -1746,9 +1759,29 @@
<switch name="fcs/flap-pos-rate"> <switch name="fcs/flap-pos-rate">
<default value="0.0"/> <default value="0.0"/>
<test logic="OR" value="1.16666666"> <test logic="AND" value="1.16666666">
/systems/hydraulic/green-psi ge 1500 /systems/hydraulic/green-psi ge 1500
/systems/hydraulic/yellow-psi ge 1500 /systems/hydraulic/yellow-psi ge 1500
fcs/sfcc/unit1-avail eq 1
fcs/sfcc/unit2-avail eq 1
</test>
<test logic="AND" value="0.58333333">
/systems/hydraulic/green-psi ge 1500
fcs/sfcc/unit1-avail eq 1
fcs/sfcc/unit2-avail eq 0
</test>
<test logic="AND" value="0.58333333">
/systems/hydraulic/yellow-psi ge 1500
fcs/sfcc/unit1-avail eq 0
fcs/sfcc/unit2-avail eq 1
</test>
<test logic="AND" value="0.58333333">
/systems/hydraulic/green-psi ge 1500
/systems/hydraulic/yellow-psi lt 1500
</test>
<test logic="AND" value="0.58333333">
/systems/hydraulic/green-psi lt 1500
/systems/hydraulic/yellow-psi ge 1500
</test> </test>
</switch> </switch>
@ -1782,10 +1815,29 @@
<switch name="fcs/slat-pos-rate"> <switch name="fcs/slat-pos-rate">
<default value="0.0"/> <default value="0.0"/>
<test logic="OR" value="1.35"> <test logic="AND" value="1.35">
/systems/hydraulic/blue-psi ge 1500 /systems/hydraulic/blue-psi ge 1500
/systems/hydraulic/green-psi ge 1500 /systems/hydraulic/green-psi ge 1500
/systems/hydraulic/yellow-psi ge 1500 fcs/sfcc/unit1-avail eq 1
fcs/sfcc/unit2-avail eq 1
</test>
<test logic="AND" value="0.675">
/systems/hydraulic/blue-psi ge 1500
fcs/sfcc/unit1-avail eq 1
fcs/sfcc/unit2-avail eq 0
</test>
<test logic="AND" value="0.675">
/systems/hydraulic/green-psi ge 1500
fcs/sfcc/unit1-avail eq 0
fcs/sfcc/unit2-avail eq 1
</test>
<test logic="AND" value="0.675">
/systems/hydraulic/blue-psi ge 1500
/systems/hydraulic/green-psi lt 1500
</test>
<test logic="AND" value="0.675">
/systems/hydraulic/blue-psi lt 1500
/systems/hydraulic/green-psi ge 1500
</test> </test>
</switch> </switch>
@ -1848,9 +1900,9 @@
<independentVar lookup="row">/velocities/groundspeed-kt</independentVar> <independentVar lookup="row">/velocities/groundspeed-kt</independentVar>
<independentVar lookup="column">hydraulics/tiller/switch</independentVar> <independentVar lookup="column">hydraulics/tiller/switch</independentVar>
<tableData> <tableData>
-1 0 1 -1 0 1
30.000 -70.0 0 70.0 30.000 -70.0 0 70.0
30.001 -10.0 0 10.0 30.001 -10.0 0 10.0
</tableData> </tableData>
</table> </table>
</function> </function>