1
0
Fork 0

FMGC: Tweak rate scheme

This commit is contained in:
Josh Davidson 2022-01-19 14:52:44 -05:00
parent c2b6292915
commit a6fbe86b2e
4 changed files with 4 additions and 48 deletions

View file

@ -8,7 +8,6 @@
<!-- Predictors --> <!-- Predictors -->
<predict-simple> <predict-simple>
<name>IAS 5 Second Predictor</name> <name>IAS 5 Second Predictor</name>
<debug>false</debug>
<input>/instrumentation/airspeed-indicator/indicated-speed-kt</input> <input>/instrumentation/airspeed-indicator/indicated-speed-kt</input>
<output>/it-autoflight/internal/kts-predicted-5</output> <output>/it-autoflight/internal/kts-predicted-5</output>
<seconds>5</seconds> <seconds>5</seconds>
@ -17,7 +16,6 @@
<predict-simple> <predict-simple>
<name>MACH 5 Second Predictor</name> <name>MACH 5 Second Predictor</name>
<debug>false</debug>
<input>/instrumentation/airspeed-indicator/indicated-mach</input> <input>/instrumentation/airspeed-indicator/indicated-mach</input>
<output>/it-autoflight/internal/mach-predicted-5</output> <output>/it-autoflight/internal/mach-predicted-5</output>
<seconds>5</seconds> <seconds>5</seconds>
@ -26,7 +24,6 @@
<predict-simple> <predict-simple>
<name>IAS 15 Second Predictor</name> <name>IAS 15 Second Predictor</name>
<debug>false</debug>
<input>/instrumentation/airspeed-indicator/indicated-speed-kt</input> <input>/instrumentation/airspeed-indicator/indicated-speed-kt</input>
<output>/it-autoflight/internal/kts-predicted-15</output> <output>/it-autoflight/internal/kts-predicted-15</output>
<seconds>15</seconds> <seconds>15</seconds>
@ -35,7 +32,6 @@
<predict-simple> <predict-simple>
<name>MACH 15 Second Predictor</name> <name>MACH 15 Second Predictor</name>
<debug>false</debug>
<input>/instrumentation/airspeed-indicator/indicated-mach</input> <input>/instrumentation/airspeed-indicator/indicated-mach</input>
<output>/it-autoflight/internal/mach-predicted-15</output> <output>/it-autoflight/internal/mach-predicted-15</output>
<seconds>15</seconds> <seconds>15</seconds>
@ -188,7 +184,6 @@
<filter> <filter>
<name>Knots Rate Lag</name> <name>Knots Rate Lag</name>
<debug>false</debug>
<type>exponential</type> <type>exponential</type>
<input> <input>
<condition> <condition>
@ -206,7 +201,6 @@
<filter> <filter>
<name>Flch Knots Rate Command</name> <name>Flch Knots Rate Command</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<input> <input>
@ -401,7 +395,6 @@
<filter> <filter>
<name>Heading Error Deg</name> <name>Heading Error Deg</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<input> <input>
@ -473,7 +466,6 @@
<filter> <filter>
<name>Vertical Speed Sync</name> <name>Vertical Speed Sync</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<enable> <enable>
@ -641,7 +633,6 @@
<filter> <filter>
<name>Vertical Speed Filter</name> <name>Vertical Speed Filter</name>
<debug>false</debug>
<type>noise-spike</type> <type>noise-spike</type>
<feedback-if-disabled>true</feedback-if-disabled> <feedback-if-disabled>true</feedback-if-disabled>
<initialize-to>output</initialize-to> <initialize-to>output</initialize-to>
@ -725,7 +716,6 @@
<filter> <filter>
<name>Nav Error Deg</name> <name>Nav Error Deg</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<input> <input>
@ -744,7 +734,6 @@
<filter> <filter>
<name>Nav Course Error Deg</name> <name>Nav Course Error Deg</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<input> <input>
@ -763,7 +752,6 @@
<filter> <filter>
<name>Internal Vertical Speed</name> <name>Internal Vertical Speed</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<input>/instrumentation/gps/indicated-vertical-speed</input> <input>/instrumentation/gps/indicated-vertical-speed</input>
@ -772,7 +760,6 @@
<filter> <filter>
<name>Nav G/S FPM Calc</name> <name>Nav G/S FPM Calc</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<input> <!-- Under 110ft glideslope data starts to become unusable --> <input> <!-- Under 110ft glideslope data starts to become unusable -->
@ -826,7 +813,6 @@
<filter> <filter>
<name>Heading Predictor Stage 1</name> <name>Heading Predictor Stage 1</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<input> <input>
@ -876,7 +862,6 @@
<filter> <filter>
<name>Heading Predictor Stage 2</name> <name>Heading Predictor Stage 2</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<input> <input>
@ -913,7 +898,6 @@
<filter> <filter>
<name>Altitude Predictor</name> <name>Altitude Predictor</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<input> <input>
@ -932,7 +916,6 @@
<filter> <filter>
<name>Internal FPA Computer</name> <name>Internal FPA Computer</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<input> <input>
@ -949,7 +932,6 @@
<!-- Flight Director --> <!-- Flight Director -->
<filter> <filter>
<name>FD Target Roll Filter</name> <name>FD Target Roll Filter</name>
<debug>false</debug>
<type>noise-spike</type> <type>noise-spike</type>
<input>/it-autoflight/internal/target-roll-deg</input> <input>/it-autoflight/internal/target-roll-deg</input>
<output>/it-autoflight/internal/target-roll-fd</output> <output>/it-autoflight/internal/target-roll-fd</output>
@ -973,7 +955,6 @@
<filter> <filter>
<name>FD Roll</name> <name>FD Roll</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<input> <input>
@ -991,7 +972,6 @@
<filter> <filter>
<name>FD Pitch Takeoff</name> <name>FD Pitch Takeoff</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<input> <input>
@ -1022,7 +1002,6 @@
<filter> <filter>
<name>FD Pitch</name> <name>FD Pitch</name>
<debug>false</debug>
<type>noise-spike</type> <type>noise-spike</type>
<input> <input>
<expression> <expression>

View file

@ -8,7 +8,6 @@
<!-- Pitch Axis --> <!-- Pitch Axis -->
<filter> <filter>
<name>IT-CONTROLLER: Altitude Capture/Hold</name> <name>IT-CONTROLLER: Altitude Capture/Hold</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>-5</gain> <gain>-5</gain>
<input> <input>
@ -63,7 +62,6 @@
<pid-controller> <pid-controller>
<name>IT-CONTROLLER: Speed By Pitch</name> <name>IT-CONTROLLER: Speed By Pitch</name>
<debug>false</debug>
<enable> <enable>
<condition> <condition>
<property>/it-autoflight/internal/flch-active</property> <property>/it-autoflight/internal/flch-active</property>
@ -169,7 +167,6 @@
<filter> <filter>
<name>Speed By Pitch Inactive Sync</name> <name>Speed By Pitch Inactive Sync</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<enable> <enable>
@ -413,7 +410,6 @@
<filter> <filter>
<name>Target FPM</name> <name>Target FPM</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<input> <input>
@ -490,7 +486,6 @@
<pid-controller> <pid-controller>
<name>IT-CONTROLLER: FPM Hold</name> <name>IT-CONTROLLER: FPM Hold</name>
<debug>false</debug>
<enable> <enable>
<condition> <condition>
<and> <and>
@ -644,7 +639,6 @@
<filter> <filter>
<name>System Command: Pitch Target Inactive Sync</name> <name>System Command: Pitch Target Inactive Sync</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<enable> <enable>
@ -685,9 +679,8 @@
<filter> <filter>
<name>System Command: Pitch Rate Target</name> <name>System Command: Pitch Rate Target</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>0.125</gain> <gain>0.12</gain>
<input>/orientation/pitch-deg</input> <input>/orientation/pitch-deg</input>
<reference>/it-autoflight/internal/target-pitch-deg</reference> <reference>/it-autoflight/internal/target-pitch-deg</reference>
<output>/fdm/jsbsim/fbw/fmgc/pitch-cmd</output> <!-- Inputs to the FBW Pitch --> <output>/fdm/jsbsim/fbw/fmgc/pitch-cmd</output> <!-- Inputs to the FBW Pitch -->

View file

@ -8,7 +8,6 @@
<!-- Roll Axis --> <!-- Roll Axis -->
<filter> <filter>
<name>IT-CONTROLLER: Heading/LNAV</name> <name>IT-CONTROLLER: Heading/LNAV</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain> <gain>
<expression> <expression>
@ -65,7 +64,6 @@
<filter> <filter>
<name>IT-CONTROLLER: VOR/LOC</name> <name>IT-CONTROLLER: VOR/LOC</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain> <gain>
<expression> <expression>
@ -116,7 +114,6 @@
<filter> <filter>
<name>IT-CONTROLLER: Align/Rollout/Takeoff</name> <name>IT-CONTROLLER: Align/Rollout/Takeoff</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<enable> <enable>
@ -139,7 +136,6 @@
<filter> <filter>
<name>System Command: Roll Target Inactive Sync</name> <name>System Command: Roll Target Inactive Sync</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<enable> <enable>
@ -181,7 +177,6 @@
<filter> <filter>
<name>System Command: Target Roll Filter</name> <name>System Command: Target Roll Filter</name>
<debug>false</debug>
<type>noise-spike</type> <type>noise-spike</type>
<input>/it-autoflight/internal/target-roll-deg</input> <input>/it-autoflight/internal/target-roll-deg</input>
<output>/it-autoflight/internal/target-roll</output> <output>/it-autoflight/internal/target-roll</output>
@ -234,20 +229,18 @@
<filter> <filter>
<name>System Command: Roll Rate Target</name> <name>System Command: Roll Rate Target</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>-0.1</gain> <gain>-0.06</gain>
<input>/orientation/roll-deg</input> <input>/orientation/roll-deg</input>
<reference>/it-autoflight/internal/target-roll</reference> <reference>/it-autoflight/internal/target-roll</reference>
<output>/fdm/jsbsim/fbw/fmgc/roll-cmd</output> <!-- Inputs to the FBW Roll --> <output>/fdm/jsbsim/fbw/fmgc/roll-cmd</output> <!-- Inputs to the FBW Roll -->
<min>-0.32</min> <min>-0.33</min>
<max>0.32</max> <max>0.33</max>
</filter> </filter>
<!-- Yaw Axis --> <!-- Yaw Axis -->
<pi-simple-controller> <pi-simple-controller>
<name>IT-CONTROLLER: Yaw VOR/LOC</name> <name>IT-CONTROLLER: Yaw VOR/LOC</name>
<debug>false</debug>
<enable> <enable>
<condition> <condition>
<equals> <equals>
@ -284,7 +277,6 @@
<filter> <filter>
<name>System Command: Rudder</name> <name>System Command: Rudder</name>
<debug>false</debug>
<type>noise-spike</type> <type>noise-spike</type>
<input> <input>
<condition> <condition>

View file

@ -7,7 +7,6 @@
<!-- Thrust Axis --> <!-- Thrust Axis -->
<filter> <filter>
<name>A/THR Knots Input Gain</name> <name>A/THR Knots Input Gain</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<input> <input>
@ -42,7 +41,6 @@
<filter> <filter>
<name>A/THR Knots Input Filter</name> <name>A/THR Knots Input Filter</name>
<debug>false</debug>
<type>noise-spike</type> <type>noise-spike</type>
<initialize-to>output</initialize-to> <initialize-to>output</initialize-to>
<input>/it-autoflight/internal/athr-kts-cmd</input> <input>/it-autoflight/internal/athr-kts-cmd</input>
@ -79,7 +77,6 @@
<filter> <filter>
<name>A/THR Mach Input Gain</name> <name>A/THR Mach Input Gain</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<input> <input>
@ -114,7 +111,6 @@
<filter> <filter>
<name>A/THR Mach Input Filter</name> <name>A/THR Mach Input Filter</name>
<debug>false</debug>
<type>noise-spike</type> <type>noise-spike</type>
<feedback-if-disabled>true</feedback-if-disabled> <feedback-if-disabled>true</feedback-if-disabled>
<initialize-to>output</initialize-to> <initialize-to>output</initialize-to>
@ -152,7 +148,6 @@
<pid-controller> <pid-controller>
<name>IT-CONTROLLER: Knots</name> <name>IT-CONTROLLER: Knots</name>
<debug>false</debug>
<enable> <enable>
<condition> <condition>
<and> <and>
@ -200,7 +195,6 @@
<pid-controller> <pid-controller>
<name>IT-CONTROLLER: Mach</name> <name>IT-CONTROLLER: Mach</name>
<debug>false</debug>
<enable> <enable>
<condition> <condition>
<and> <and>
@ -254,7 +248,6 @@
<filter> <filter>
<name>IT-CONTROLLER: Idle Limit</name> <name>IT-CONTROLLER: Idle Limit</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<enable> <enable>
@ -277,7 +270,6 @@
<filter> <filter>
<name>IT-CONTROLLER: Thrust Limit</name> <name>IT-CONTROLLER: Thrust Limit</name>
<debug>false</debug>
<type>gain</type> <type>gain</type>
<gain>1.0</gain> <gain>1.0</gain>
<enable> <enable>