From b76752a1a4fbce68a7b92c4dddf2fa0bcef230f8 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Fri, 21 Jul 2017 22:32:12 -0400 Subject: [PATCH] A3XX: New autopilot based on pitch rate and roll rate for FBW --- A320-main.xml | 17 +++++------- Systems/fmgc-pitch.xml | 38 ++++++++++----------------- Systems/fmgc-roll-yaw.xml | 55 +++++++++++---------------------------- 3 files changed, 35 insertions(+), 75 deletions(-) diff --git a/A320-main.xml b/A320-main.xml index c693c382..f0b29467 100644 --- a/A320-main.xml +++ b/A320-main.xml @@ -336,19 +336,14 @@ 0 - -0.4 - 0.4 - 0.1 - 0.11 - 5.0 - 0.001 + -0.1 + -0.4 + 0.4 - -0.3 - 0.3 - -0.1 - 5.0 - 0.001 + 0.1 + -0.2 + 0.2 -0.9 diff --git a/Systems/fmgc-pitch.xml b/Systems/fmgc-pitch.xml index 328133e9..7b42d7f4 100644 --- a/Systems/fmgc-pitch.xml +++ b/Systems/fmgc-pitch.xml @@ -625,9 +625,13 @@ 30 - - IT-CONTROLLER: PITCH + + System Command: Pitch Rate false + gain + + /it-autoflight/config/pitch/gain + @@ -649,28 +653,14 @@ /it-autoflight/internal/target-pitch-deg - /it-autoflight/internal/elevator-cmd + /it-autoflight/internal/elevator-cmd - - - /it-autoflight/config/pitch/kp - - 1.0 - 0.1 - 0.0 - - /it-autoflight/config/pitch/ti - - - /it-autoflight/config/pitch/td - - - /it-autoflight/config/pitch/umin - - - /it-autoflight/config/pitch/umax - - - + + /it-autoflight/config/pitch/min + + + /it-autoflight/config/pitch/max + + diff --git a/Systems/fmgc-roll-yaw.xml b/Systems/fmgc-roll-yaw.xml index 5e9ee76c..c45bd256 100644 --- a/Systems/fmgc-roll-yaw.xml +++ b/Systems/fmgc-roll-yaw.xml @@ -199,9 +199,13 @@ 6 - - IT-CONTROLLER: ROLL + + System Command: Roll Rate false + gain + + /it-autoflight/config/roll/gain + @@ -250,44 +254,15 @@ 0 - /it-autoflight/internal/aileron-cmd - - - - - - /it-autoflight/output/lat - 2 - - - /it-autoflight/config/roll/kp - - - - - /it-autoflight/output/lat - 2 - - - /it-autoflight/config/roll/kp-vloc - - 1.0 - 0.1 - 0.0 - - /it-autoflight/config/roll/ti - - - /it-autoflight/config/roll/td - - - /it-autoflight/config/roll/umin - - - /it-autoflight/config/roll/umax - - - + /it-autoflight/internal/aileron-cmd + + + /it-autoflight/config/roll/min + + + /it-autoflight/config/roll/max + +