Control: Fix rate limits, fix overtuned FlyByWire

This commit is contained in:
Joshua Davidson 2019-03-07 20:30:03 -05:00
parent 16cb0d9aa2
commit b39445af77
3 changed files with 107 additions and 107 deletions

View file

@ -78,8 +78,8 @@
<independentVar lookup="column">fbw/roll/gain-switch</independentVar> <independentVar lookup="column">fbw/roll/gain-switch</independentVar>
<tableData> <tableData>
0 1 0 1
140 -26.2 0.0 140 -20.0 0.0
350 -9.5 0.0 350 -5.0 0.0
</tableData> </tableData>
</table> </table>
</function> </function>
@ -92,8 +92,8 @@
<independentVar lookup="column">fbw/roll/gain-switch</independentVar> <independentVar lookup="column">fbw/roll/gain-switch</independentVar>
<tableData> <tableData>
0 1 0 1
140 -45.5 0.0 140 -35.0 0.0
350 -29.0 0.0 350 -10.0 0.0
</tableData> </tableData>
</table> </table>
</function> </function>
@ -106,8 +106,8 @@
<independentVar lookup="column">fbw/roll/gain-switch</independentVar> <independentVar lookup="column">fbw/roll/gain-switch</independentVar>
<tableData> <tableData>
0 1 0 1
140 -2.1 0.0 140 -2.5 0.0
350 -0.2 0.0 350 -0.5 0.0
</tableData> </tableData>
</table> </table>
</function> </function>
@ -121,7 +121,7 @@
<tableData> <tableData>
0 1 0 1
140 28 0 140 28 0
350 23 0 350 20 0
</tableData> </tableData>
</table> </table>
</function> </function>
@ -134,8 +134,8 @@
<independentVar lookup="column">fbw/pitch/gain-switch</independentVar> <independentVar lookup="column">fbw/pitch/gain-switch</independentVar>
<tableData> <tableData>
0 1 0 1
140 61 0 140 60 0
350 45 0 350 40 0
</tableData> </tableData>
</table> </table>
</function> </function>
@ -148,8 +148,8 @@
<independentVar lookup="column">fbw/pitch/gain-switch</independentVar> <independentVar lookup="column">fbw/pitch/gain-switch</independentVar>
<tableData> <tableData>
0 1 0 1
140 2.4 0.0 140 1.0 0.0
350 0.6 0.0 350 0.4 0.0
</tableData> </tableData>
</table> </table>
</function> </function>
@ -1415,7 +1415,7 @@
<actuator name="hydraulics/aileron-l/final-actuator"> <actuator name="hydraulics/aileron-l/final-actuator">
<input>hydraulics/aileron-l/cmd-deg</input> <input>hydraulics/aileron-l/cmd-deg</input>
<rate_limit>150</rate_limit> <rate_limit>82</rate_limit>
<lag>26.5</lag> <lag>26.5</lag>
<output>hydraulics/aileron-l/final-deg</output> <output>hydraulics/aileron-l/final-deg</output>
</actuator> </actuator>
@ -1491,7 +1491,7 @@
<actuator name="hydraulics/aileron-r/final-actuator"> <actuator name="hydraulics/aileron-r/final-actuator">
<input>hydraulics/aileron-r/cmd-deg</input> <input>hydraulics/aileron-r/cmd-deg</input>
<rate_limit>150</rate_limit> <rate_limit>82</rate_limit>
<lag>26.5</lag> <lag>26.5</lag>
<output>hydraulics/aileron-r/final-deg</output> <output>hydraulics/aileron-r/final-deg</output>
</actuator> </actuator>
@ -1549,7 +1549,7 @@
<actuator name="hydraulics/elevator-l/final-actuator"> <actuator name="hydraulics/elevator-l/final-actuator">
<input>hydraulics/elevator-l/cmd-deg</input> <input>hydraulics/elevator-l/cmd-deg</input>
<rate_limit>150</rate_limit> <rate_limit>82</rate_limit>
<lag>26.5</lag> <lag>26.5</lag>
<output>hydraulics/elevator-l/final-deg</output> <output>hydraulics/elevator-l/final-deg</output>
</actuator> </actuator>
@ -1588,7 +1588,7 @@
<actuator name="hydraulics/elevator-r/final-actuator"> <actuator name="hydraulics/elevator-r/final-actuator">
<input>hydraulics/elevator-r/cmd-deg</input> <input>hydraulics/elevator-r/cmd-deg</input>
<rate_limit>150</rate_limit> <rate_limit>82</rate_limit>
<lag>26.5</lag> <lag>26.5</lag>
<output>hydraulics/elevator-r/final-deg</output> <output>hydraulics/elevator-r/final-deg</output>
</actuator> </actuator>
@ -1687,7 +1687,7 @@
<actuator name="hydraulics/rudder/final-actuator"> <actuator name="hydraulics/rudder/final-actuator">
<input>hydraulics/rudder/cmd-deg</input> <input>hydraulics/rudder/cmd-deg</input>
<rate_limit>150</rate_limit> <rate_limit>80</rate_limit>
<lag>25.5</lag> <lag>25.5</lag>
<output>hydraulics/rudder/final-deg</output> <output>hydraulics/rudder/final-deg</output>
</actuator> </actuator>

View file

@ -121,18 +121,18 @@
</clipto> </clipto>
</switch> </switch>
<actuator name="hydraulics/spoiler-l1/final"> <pure_gain name="hydraulics/spoiler-l1/cmd-deg">
<input>hydraulics/spoiler-l1/switch</input> <input>hydraulics/spoiler-l1/switch</input>
<rate_limit>1.1</rate_limit>
<lag>16.3</lag>
</actuator>
<pure_gain name="hydraulics/spoiler-l1/final-gain">
<input>hydraulics/spoiler-l1/final</input>
<gain>40.0</gain> <gain>40.0</gain>
<output>hydraulics/spoiler-l1/final-deg</output>
</pure_gain> </pure_gain>
<actuator name="hydraulics/spoiler-l1/final-actuator">
<input>hydraulics/spoiler-l1/cmd-deg</input>
<rate_limit>35</rate_limit>
<lag>26.5</lag>
<output>hydraulics/spoiler-l1/final-deg</output>
</actuator>
</channel> </channel>
<channel name="Spoiler L2"> <channel name="Spoiler L2">
@ -220,18 +220,18 @@
</clipto> </clipto>
</switch> </switch>
<actuator name="hydraulics/spoiler-l2/final"> <pure_gain name="hydraulics/spoiler-l2/cmd-deg">
<input>hydraulics/spoiler-l2/switch</input> <input>hydraulics/spoiler-l2/switch</input>
<rate_limit>1.1</rate_limit>
<lag>16.3</lag>
</actuator>
<pure_gain name="hydraulics/spoiler-l2/final-gain">
<input>hydraulics/spoiler-l2/final</input>
<gain>40.0</gain> <gain>40.0</gain>
<output>hydraulics/spoiler-l2/final-deg</output>
</pure_gain> </pure_gain>
<actuator name="hydraulics/spoiler-l2/final-actuator">
<input>hydraulics/spoiler-l2/cmd-deg</input>
<rate_limit>35</rate_limit>
<lag>26.5</lag>
<output>hydraulics/spoiler-l2/final-deg</output>
</actuator>
</channel> </channel>
<channel name="Spoiler L3"> <channel name="Spoiler L3">
@ -281,18 +281,18 @@
</clipto> </clipto>
</switch> </switch>
<actuator name="hydraulics/spoiler-l3/final"> <pure_gain name="hydraulics/spoiler-l3/cmd-deg">
<input>hydraulics/spoiler-l3/switch</input> <input>hydraulics/spoiler-l3/switch</input>
<rate_limit>1.1</rate_limit>
<lag>16.3</lag>
</actuator>
<pure_gain name="hydraulics/spoiler-l3/final-gain">
<input>hydraulics/spoiler-l3/final</input>
<gain>40.0</gain> <gain>40.0</gain>
<output>hydraulics/spoiler-l3/final-deg</output>
</pure_gain> </pure_gain>
<actuator name="hydraulics/spoiler-l3/final-actuator">
<input>hydraulics/spoiler-l3/cmd-deg</input>
<rate_limit>35</rate_limit>
<lag>26.5</lag>
<output>hydraulics/spoiler-l3/final-deg</output>
</actuator>
</channel> </channel>
<channel name="Spoiler L4"> <channel name="Spoiler L4">
@ -342,18 +342,18 @@
</clipto> </clipto>
</switch> </switch>
<actuator name="hydraulics/spoiler-l4/final"> <pure_gain name="hydraulics/spoiler-l4/cmd-deg">
<input>hydraulics/spoiler-l4/switch</input> <input>hydraulics/spoiler-l4/switch</input>
<rate_limit>1.1</rate_limit>
<lag>16.3</lag>
</actuator>
<pure_gain name="hydraulics/spoiler-l4/final-gain">
<input>hydraulics/spoiler-l4/final</input>
<gain>40.0</gain> <gain>40.0</gain>
<output>hydraulics/spoiler-l4/final-deg</output>
</pure_gain> </pure_gain>
<actuator name="hydraulics/spoiler-l4/final-actuator">
<input>hydraulics/spoiler-l4/cmd-deg</input>
<rate_limit>35</rate_limit>
<lag>26.5</lag>
<output>hydraulics/spoiler-l4/final-deg</output>
</actuator>
</channel> </channel>
<channel name="Spoiler L5"> <channel name="Spoiler L5">
@ -404,18 +404,18 @@
</clipto> </clipto>
</switch> </switch>
<actuator name="hydraulics/spoiler-l5/final"> <pure_gain name="hydraulics/spoiler-l5/cmd-deg">
<input>hydraulics/spoiler-l5/switch</input> <input>hydraulics/spoiler-l5/switch</input>
<rate_limit>1.1</rate_limit>
<lag>16.3</lag>
</actuator>
<pure_gain name="hydraulics/spoiler-l5/final-gain">
<input>hydraulics/spoiler-l5/final</input>
<gain>40.0</gain> <gain>40.0</gain>
<output>hydraulics/spoiler-l5/final-deg</output>
</pure_gain> </pure_gain>
<actuator name="hydraulics/spoiler-l5/final-actuator">
<input>hydraulics/spoiler-l5/cmd-deg</input>
<rate_limit>35</rate_limit>
<lag>26.5</lag>
<output>hydraulics/spoiler-l5/final-deg</output>
</actuator>
</channel> </channel>
<channel name="Spoiler R1"> <channel name="Spoiler R1">
@ -433,18 +433,18 @@
</clipto> </clipto>
</switch> </switch>
<actuator name="hydraulics/spoiler-r1/final"> <pure_gain name="hydraulics/spoiler-r1/cmd-deg">
<input>hydraulics/spoiler-r1/switch</input> <input>hydraulics/spoiler-r1/switch</input>
<rate_limit>1.1</rate_limit>
<lag>16.3</lag>
</actuator>
<pure_gain name="hydraulics/spoiler-r1/final-gain">
<input>hydraulics/spoiler-r1/final</input>
<gain>40.0</gain> <gain>40.0</gain>
<output>hydraulics/spoiler-r1/final-deg</output>
</pure_gain> </pure_gain>
<actuator name="hydraulics/spoiler-r1/final-actuator">
<input>hydraulics/spoiler-r1/cmd-deg</input>
<rate_limit>35</rate_limit>
<lag>26.5</lag>
<output>hydraulics/spoiler-r1/final-deg</output>
</actuator>
</channel> </channel>
<channel name="Spoiler R2"> <channel name="Spoiler R2">
@ -532,18 +532,18 @@
</clipto> </clipto>
</switch> </switch>
<actuator name="hydraulics/spoiler-r2/final"> <pure_gain name="hydraulics/spoiler-r2/cmd-deg">
<input>hydraulics/spoiler-r2/switch</input> <input>hydraulics/spoiler-r2/switch</input>
<rate_limit>1.1</rate_limit>
<lag>16.3</lag>
</actuator>
<pure_gain name="hydraulics/spoiler-r2/final-gain">
<input>hydraulics/spoiler-r2/final</input>
<gain>40.0</gain> <gain>40.0</gain>
<output>hydraulics/spoiler-r2/final-deg</output>
</pure_gain> </pure_gain>
<actuator name="hydraulics/spoiler-r2/final-actuator">
<input>hydraulics/spoiler-r2/cmd-deg</input>
<rate_limit>35</rate_limit>
<lag>26.5</lag>
<output>hydraulics/spoiler-r2/final-deg</output>
</actuator>
</channel> </channel>
<channel name="Spoiler R3"> <channel name="Spoiler R3">
@ -593,18 +593,18 @@
</clipto> </clipto>
</switch> </switch>
<actuator name="hydraulics/spoiler-r3/final"> <pure_gain name="hydraulics/spoiler-r3/cmd-deg">
<input>hydraulics/spoiler-r3/switch</input> <input>hydraulics/spoiler-r3/switch</input>
<rate_limit>1.1</rate_limit>
<lag>16.3</lag>
</actuator>
<pure_gain name="hydraulics/spoiler-r3/final-gain">
<input>hydraulics/spoiler-r3/final</input>
<gain>40.0</gain> <gain>40.0</gain>
<output>hydraulics/spoiler-r3/final-deg</output>
</pure_gain> </pure_gain>
<actuator name="hydraulics/spoiler-r3/final-actuator">
<input>hydraulics/spoiler-r3/cmd-deg</input>
<rate_limit>35</rate_limit>
<lag>26.5</lag>
<output>hydraulics/spoiler-r3/final-deg</output>
</actuator>
</channel> </channel>
<channel name="Spoiler R4"> <channel name="Spoiler R4">
@ -654,18 +654,18 @@
</clipto> </clipto>
</switch> </switch>
<actuator name="hydraulics/spoiler-r4/final"> <pure_gain name="hydraulics/spoiler-r4/cmd-deg">
<input>hydraulics/spoiler-r4/switch</input> <input>hydraulics/spoiler-r4/switch</input>
<rate_limit>1.1</rate_limit>
<lag>16.3</lag>
</actuator>
<pure_gain name="hydraulics/spoiler-r4/final-gain">
<input>hydraulics/spoiler-r4/final</input>
<gain>40.0</gain> <gain>40.0</gain>
<output>hydraulics/spoiler-r4/final-deg</output>
</pure_gain> </pure_gain>
<actuator name="hydraulics/spoiler-r4/final-actuator">
<input>hydraulics/spoiler-r4/cmd-deg</input>
<rate_limit>35</rate_limit>
<lag>26.5</lag>
<output>hydraulics/spoiler-r4/final-deg</output>
</actuator>
</channel> </channel>
<channel name="Spoiler R5"> <channel name="Spoiler R5">
@ -716,28 +716,28 @@
</clipto> </clipto>
</switch> </switch>
<actuator name="hydraulics/spoiler-r5/final"> <pure_gain name="hydraulics/spoiler-r5/cmd-deg">
<input>hydraulics/spoiler-r5/switch</input> <input>hydraulics/spoiler-r5/switch</input>
<rate_limit>1.1</rate_limit>
<lag>16.3</lag>
</actuator>
<pure_gain name="hydraulics/spoiler-r5/final-gain">
<input>hydraulics/spoiler-r5/final</input>
<gain>40.0</gain> <gain>40.0</gain>
<output>hydraulics/spoiler-r5/final-deg</output>
</pure_gain> </pure_gain>
<actuator name="hydraulics/spoiler-r5/final-actuator">
<input>hydraulics/spoiler-r5/cmd-deg</input>
<rate_limit>35</rate_limit>
<lag>26.5</lag>
<output>hydraulics/spoiler-r5/final-deg</output>
</actuator>
</channel> </channel>
<channel name="Output"> <channel name="Output">
<summer name="fcs/spoiler-left-sum"> <summer name="fcs/spoiler-left-sum">
<input>hydraulics/spoiler-l1/final-gain</input> <input>hydraulics/spoiler-l1/final-actuator</input>
<input>hydraulics/spoiler-l2/final-gain</input> <input>hydraulics/spoiler-l2/final-actuator</input>
<input>hydraulics/spoiler-l3/final-gain</input> <input>hydraulics/spoiler-l3/final-actuator</input>
<input>hydraulics/spoiler-l4/final-gain</input> <input>hydraulics/spoiler-l4/final-actuator</input>
<input>hydraulics/spoiler-l5/final-gain</input> <input>hydraulics/spoiler-l5/final-actuator</input>
</summer> </summer>
<fcs_function name="fcs/spoiler-left-deg"> <fcs_function name="fcs/spoiler-left-deg">
@ -750,11 +750,11 @@
</fcs_function> </fcs_function>
<summer name="fcs/spoiler-right-sum"> <summer name="fcs/spoiler-right-sum">
<input>hydraulics/spoiler-r1/final-gain</input> <input>hydraulics/spoiler-r1/final-actuator</input>
<input>hydraulics/spoiler-r2/final-gain</input> <input>hydraulics/spoiler-r2/final-actuator</input>
<input>hydraulics/spoiler-r3/final-gain</input> <input>hydraulics/spoiler-r3/final-actuator</input>
<input>hydraulics/spoiler-r4/final-gain</input> <input>hydraulics/spoiler-r4/final-actuator</input>
<input>hydraulics/spoiler-r5/final-gain</input> <input>hydraulics/spoiler-r5/final-actuator</input>
</summer> </summer>
<fcs_function name="fcs/spoiler-right-deg"> <fcs_function name="fcs/spoiler-right-deg">

View file

@ -1 +1 @@
4775 4776