diff --git a/Aircraft/Generic/generic-autopilot.xml b/Aircraft/Generic/generic-autopilot.xml index 91b0640fa..050c1920c 100644 --- a/Aircraft/Generic/generic-autopilot.xml +++ b/Aircraft/Generic/generic-autopilot.xml @@ -34,6 +34,9 @@ pitch-limit-max pitch-limit-min - Set the minimum pitch angle in degrees + +speed-by-pitch-accel +- Set the maximum acceleration rate for speed on pitch --> @@ -423,10 +426,26 @@ pitch-limit-min /autopilot/internal/mach + + Knots Lag + exponential + /velocities/airspeed-kt + /autopilot/internal/kts-input-lag + 0.04 + + + + Knots Average + moving-average + /autopilot/internal/kts-input-lag + /autopilot/internal/kts-input-avg + 60 + + Knots Rate derivative - /velocities/airspeed-kt + /autopilot/internal/kts-input-avg /autopilot/internal/kts-rate-raw 1.0 @@ -436,7 +455,64 @@ pitch-limit-min exponential /autopilot/internal/kts-rate-raw /autopilot/internal/kts-rate - 0.08 + 0.04 + + + + Mach Lag + exponential + /velocities/mach + /autopilot/internal/mach-input-lag + 0.04 + + + + Mach Average + moving-average + /autopilot/internal/mach-input-lag + /autopilot/internal/mach-input-avg + 60 + + + + Mach Rate + derivative + /autopilot/internal/mach-input-avg + /autopilot/internal/mach-rate-raw + 1.0 + + + + Mach Rate Gain + gain + 650 + /autopilot/internal/mach-rate-raw + /autopilot/internal/mach-rate-gain + + + + Mach Rate Lag + exponential + /autopilot/internal/mach-rate-raw + /autopilot/internal/mach-rate + 0.04 + + + + Flch Acceleration Limit + gain + 1.0 + + + + /autopilot/config/speed-by-pitch-accel + 0 + + + /autopilot/config/speed-by-pitch-accel + + 1.5 + /autopilot/internal/flch-accel @@ -456,7 +532,7 @@ pitch-limit-min /autopilot/settings/target-speed-mach /autopilot/internal/mach - 80 + 100 @@ -467,13 +543,16 @@ pitch-limit-min /autopilot/settings/target-speed-kt /autopilot/internal/airspeed-kt - 0.08 + 0.1 /autopilot/internal/flch-kts-error-cmd - -1.5 - 1.5 + + /autopilot/internal/flch-accel + -1 + + /autopilot/internal/flch-accel @@ -493,7 +572,7 @@ pitch-limit-min - 2.5 + 1.5 100 @@ -610,7 +689,7 @@ pitch-limit-min /velocities/airspeed-kt 800.016 3600.007 - 6000.002 + 6000.003 /autopilot/internal/gain-factor @@ -788,59 +867,150 @@ pitch-limit-min 10000 - - IT-CONTROLLER: Speed By Pitch - + + IT-CONTROLLER: Speed By Pitch Delta + gain + + + + /velocities/airspeed-kt + 140 700 + 3601400 + 6002100 +
+
+
+ + + + /autopilot/locks/speed + mach-with-pitch-trim + + + /autopilot/internal/mach-rate + + /autopilot/internal/kts-rate + /autopilot/internal/flch-kts-error + /autopilot/internal/flch-raw + + + + + /gear/gear[1]/wow + 1 + + + /gear/gear[2]/wow + 1 + + + + 0 + + -2000 + 2000 +
+ + + Speed By Pitch Filter + noise-spike + /autopilot/internal/flch-raw + /autopilot/internal/flch-filtered + /autopilot/internal/speed-on-pitch-active -
- /autopilot/internal/kts-rate - /autopilot/internal/flch-kts-error - /autopilot/internal/target-fpm-flch - - - - - /velocities/airspeed-kt - 80-380 - 360-430 - 600-470 -
-
-
- 1.3 - 0.0 - - - - /autopilot/internal/vertical-speed-fpm - 2000 - - - - - - - /autopilot/internal/vertical-speed-fpm - 2000 - - - -
-
+ 1500 + + 10000 + - - Speed By Pitch Inactive Sync + + Speed By Pitch Final gain 1.0 - - - /autopilot/internal/speed-on-pitch-active - - - /autopilot/internal/vertical-speed-fpm + + + + /autopilot/internal/vert-speed-fpm + /autopilot/internal/flch-filtered + + + /autopilot/internal/target-fpm-flch + + + + + /gear/gear[1]/wow + 1 + + + /gear/gear[2]/wow + 1 + + + + 0 + + -100000 + 100000 + + + + Target FPM Filter + noise-spike + + + /autopilot/internal/speed-on-pitch-active + + /autopilot/internal/target-fpm-flch + + + + + /autopilot/locks/altitude + altitude-hold + + + /autopilot/internal/target-fpm-alt + + + + + /autopilot/locks/altitude + agl-hold + + + /autopilot/internal/target-fpm-agl + + + + + /autopilot/locks/altitude + fpa-hold + + + /autopilot/internal/target-fpm-fpa + + + + + /autopilot/locks/altitude + gs1-hold + + + /autopilot/internal/nav1-rate-of-climb-fpm + + /autopilot/internal/target-fpm-vs + /autopilot/internal/target-fpm + + + /autopilot/internal/vs-active + + 700 + + 10000 @@ -851,49 +1021,7 @@ pitch-limit-min /autopilot/internal/vertical-speed-fpm - - - /autopilot/internal/speed-on-pitch-active - - /autopilot/internal/target-fpm-flch - - - - - /autopilot/locks/altitude - altitude-hold - - - /autopilot/internal/target-fpm-alt - - - - - /autopilot/locks/altitude - agl-hold - - - /autopilot/internal/target-fpm-agl - - - - - /autopilot/locks/altitude - fpa-hold - - - /autopilot/internal/target-fpm-fpa - - - - - /autopilot/locks/altitude - gs1-hold - - - /autopilot/internal/nav1-rate-of-climb-fpm - - /autopilot/internal/target-fpm-vs + /autopilot/internal/target-fpm /autopilot/internal/target-pitch-deg