From c6e2bfc8d32e3960ecd1d560e48b7629995a27c0 Mon Sep 17 00:00:00 2001 From: Joshua Davidson Date: Sat, 1 Jul 2017 23:17:30 -0400 Subject: [PATCH] A3XX: Improve A/THR --- Systems/custom-autothrust.xml | 291 ++++------------------------------ Systems/fadec-cfm.xml | 4 +- Systems/fadec-iae.xml | 4 +- 3 files changed, 39 insertions(+), 260 deletions(-) diff --git a/Systems/custom-autothrust.xml b/Systems/custom-autothrust.xml index df0b3325..0c0a57f1 100644 --- a/Systems/custom-autothrust.xml +++ b/Systems/custom-autothrust.xml @@ -109,7 +109,6 @@ - IAS THR @@ -155,7 +154,7 @@ /it-autoflight/internal/kts - /controls/engines/engine[0]/throttle-cmd-pid + /controls/engines/throttle-cmd-pid 0.05 @@ -165,9 +164,7 @@ 10.0 0.00001 0.005 - - /controls/engines/engine[0]/throttle-man - + 1.000 @@ -219,7 +216,7 @@ 500.0 - /controls/engines/engine[0]/throttle-cmd-pid + /controls/engines/throttle-cmd-pid 0.05 @@ -229,9 +226,7 @@ 10.0 0.00001 0.005 - - /controls/engines/engine[0]/throttle-man - + 1.000 @@ -274,7 +269,7 @@ 0 - /controls/engines/engine[0]/throttle-cmd-pid + /controls/engines/throttle-cmd-pid 0.008 @@ -284,9 +279,7 @@ 10.0 0.00001 0.005 - - /controls/engines/engine[0]/throttle-man - + 1.000 @@ -329,7 +322,7 @@ 900 - /controls/engines/engine[0]/throttle-cmd-pid + /controls/engines/throttle-cmd-pid 0.008 @@ -339,265 +332,51 @@ 10.0 0.00001 0.005 - - /controls/engines/engine[0]/throttle-man - + 1.000 + - Thrust Filter + Thrust Filter CMD 1 + gain + 1 + /controls/engines/throttle-cmd-pid + /controls/engines/engine[0]/throttle-cmd-cmd + + /controls/engines/engine[0]/throttle-man + + + + + Thrust Filter 1 false true output - /controls/engines/engine[0]/throttle-cmd-pid + /controls/engines/engine[0]/throttle-cmd-cmd /controls/engines/engine[0]/throttle-cmd noise-spike 0.1 - + - - - IAS THR - false - - - - - /it-autoflight/input/kts-mach - 0 - - - - - /it-autoflight/output/fd1 - 0 - - - /it-autoflight/output/fd2 - 0 - - - /it-autoflight/output/ap1 - 0 - - - /it-autoflight/output/ap2 - 0 - - - - /it-autoflight/output/thr-mode - 0 - - - - - - - /velocities/airspeed-kt - - - /it-autoflight/internal/kts - - - /controls/engines/engine[1]/throttle-cmd-pid - - - 0.05 - 1.0 - 0.1 - 0.0 - 10.0 - 0.00001 - 0.005 - - /controls/engines/engine[1]/throttle-man - - - - - - - - MACH THR - false - - - - - /it-autoflight/input/kts-mach - 1 - - - - - /it-autoflight/output/fd1 - 0 - - - /it-autoflight/output/fd2 - 0 - - - /it-autoflight/output/ap1 - 0 - - - /it-autoflight/output/ap2 - 0 - - - - /it-autoflight/output/thr-mode - 0 - - - - - - - /velocities/mach - 500.0 - - - /it-autoflight/internal/mach - 500.0 - - - /controls/engines/engine[1]/throttle-cmd-pid - - - 0.05 - 1.0 - 0.1 - 0.0 - 10.0 - 0.00001 - 0.005 - - /controls/engines/engine[1]/throttle-man - - - - - - - IDLE - false - - - - - - /it-autoflight/output/fd1 - 1 - - - /it-autoflight/output/fd2 - 1 - - - /it-autoflight/output/ap1 - 1 - - - /it-autoflight/output/ap2 - 1 - - - - /it-autoflight/output/thr-mode - 1 - - - - - - /velocities/airspeed-kt - - - 0 - - - /controls/engines/engine[1]/throttle-cmd-pid - - - 0.008 - 1.0 - 0.1 - 0.0 - 10.0 - 0.00001 - 0.005 - - /controls/engines/engine[1]/throttle-man - - - - - - - CLB - false - - - - - - /it-autoflight/output/fd1 - 1 - - - /it-autoflight/output/fd2 - 1 - - - /it-autoflight/output/ap1 - 1 - - - /it-autoflight/output/ap2 - 1 - - - - /it-autoflight/output/thr-mode - 2 - - - - - - /velocities/airspeed-kt - - - 900 - - - /controls/engines/engine[1]/throttle-cmd-pid - - - 0.008 - 1.0 - 0.1 - 0.0 - 10.0 - 0.00001 - 0.005 - - /controls/engines/engine[1]/throttle-man - - - + + Thrust Filter CMD 2 + gain + 1 + /controls/engines/throttle-cmd-pid + /controls/engines/engine[1]/throttle-cmd-cmd + + /controls/engines/engine[1]/throttle-man + + - Thrust Filter + Thrust Filter 2 false true output - /controls/engines/engine[1]/throttle-cmd-pid + /controls/engines/engine[1]/throttle-cmd-cmd /controls/engines/engine[1]/throttle-cmd noise-spike 0.1 diff --git a/Systems/fadec-cfm.xml b/Systems/fadec-cfm.xml index 6013fc5f..58bc3b7a 100644 --- a/Systems/fadec-cfm.xml +++ b/Systems/fadec-cfm.xml @@ -133,7 +133,7 @@ - /controls/engines/engine[0]/throttle-cmd-pid + /controls/engines/engine[0]/throttle-cmd-cmd0.00 22.41.00105.8
@@ -150,7 +150,7 @@ - /controls/engines/engine[1]/throttle-cmd-pid + /controls/engines/engine[1]/throttle-cmd-cmd0.00 22.41.00105.8
diff --git a/Systems/fadec-iae.xml b/Systems/fadec-iae.xml index 62d756d2..dc1e8feb 100644 --- a/Systems/fadec-iae.xml +++ b/Systems/fadec-iae.xml @@ -274,7 +274,7 @@ - /controls/engines/engine[0]/throttle-cmd-pid + /controls/engines/engine[0]/throttle-cmd-cmd0.0000.031.0001.00
@@ -308,7 +308,7 @@ - /controls/engines/engine[1]/throttle-cmd-pid + /controls/engines/engine[1]/throttle-cmd-cmd0.0000.031.0001.00