Nomenclature
Abstract
A method is presented for adaptively tuning feedback control gains in a flight control system to achieve desired closed-loop performance. The method combines efficient aircraft parameter estimation, for iden- tifying closed-loop dynamics models, with online nonlinear optimization, for sequentially perturbing and updating control gains to improve performance. Access to flight measurements and the control gains is required, but no prior information about the aircraft dynamics or the flight control architecture is needed.
After the procedure, the optimized control gains (with uncertainties), the open-loop dynamics model, and the closed-loop dynamics model are available. The method is demonstrated for tuning a longitudinal sta- bility augmentation system using a realistic nonlinear flight dynamics simulation of a subscale airplane.
Convergence was attained using five maneuvers that spanned approximately one minute of flight test time.
Although shown for a relatively simple case, the method is general and can be applied to other aircraft, axes of motion, performance metrics, and control system designs.
Contents
Nomenclature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2 Adaptive Tuning Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2.1 Postulated Dynamic Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.2 Parameter Estimation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 2.3 Control Gain Optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 3 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.1 Nonlinear Aircraft Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.2 Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3.3 Further Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 4 Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 5 Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Nomenclature
Roman a vertical accelerometer output, g z cov covariance operator ∂ partial derivative g acceleration due to gravity, ft/s J cost function √ j imaginary number, = − 1 k control gain L lift force, lbf M information matrix M pitching moment, ft-lbf q body-axis pitch rate, rad/s R error covariance matrix < real part t time, s V true airspeed, ft/s v equation error X regressor matrix z measurement vector Greek α angle of attack, rad γ performance metrics δ control surface deflection, rad ζ damping ratio η pilot stick deflection, deg or in θ parameter estimates ν error σ standard deviation τ time delay, s ω radian frequency, rad/s ω natural frequency, rad/s n Subscripts reference value commanded value c desired value d Superscripts ˙ time derivative ˆ estimated value ˜ Fourier transform − 1 matrix inverse T transpose † complex conjugate transpose
Introduction
Adaptive Tuning Method
1 Introduction
Conventional methods for designing control laws and choosing feedback gains in an aircraft flight control system include first-principles and computational analyses, wind tunnel testing, simulation development, Monte Carlo investigations, and flight test verification. Tuning the control gains can be an iterative process involving several of these analyses, each of which may require significant time and cost. It can therefore be a considerable undertaking to tune flight control systems for adequate closed-loop behavior.
In an effort to shift the current paradigm for flight control design, the NASA Learn-to-Fly project [1, 2] has been developing algorithms for online system identification, guidance, and control that adapt in real time to measured data without using prior knowledge from conventional ground-based analyses. One practical application of this concept is to provide tools to controls engineers for rapidly tuning aircraft control systems during flight using models identified in real time. This concept bypasses iterations of the aforementioned conventional process.
This paper presents a feasibility study for one such solution. The approach is based on an online op- timization for the control gains that admit the desired closed-loop performance, as determined by models identified using system identification. The approach is based on flight test data and does not use prior infor- mation about the aircraft dynamics or workings of the flight control architecture. The approach is general and can be applied to any set of dynamics and to any flight control system having adjustable control gains.
The organization of this paper is as follows. Section 2 describes the proposed method to adaptively tune the control gains. Section 3 presents an example where control gains in a longitudinal stability augmentation system are tuned to achieve a desired damping and natural frequency for a realistic nonlinear airplane ® simulation. Computer software used in the analysis is available in a MATLAB toolbox called System IDentification Programs for AirCraft [3], which is associated with Ref. [4]. Section 4 summarizes the findings and concludes the discussion.
2 Adaptive Tuning Method
The goal of the adaptive tuning method is to experimentally determine the control gains in a flight control system that meet some specified metrics for closed-loop performance. The approach is to conduct a nonlinear optimization during flight to optimize the control gains, based on the measured performance of identified closed-loop models. Specifically, the process begins by exciting the aircraft about a reference flight condition to identify a baseline closed-loop model and measure the closed-loop performance. Afterwards, each control gain is perturbed to detect changes in the closed-loop performance. A nonlinear optimization step is then used to update the control gains based on this information, and the process is repeated until results converge to within acceptable levels. A flow chart depicting this process is illustrated in Fig. 1.
In terms of Ref. [5], the approach can be considered a direct method of adaptive control because control gains are directly optimized for closed-loop performance, although models of the dynamics are also identified.
The approach is similar to extremum control or peak-seeking control [5, 6], which has been used to reduce drag of an aircraft in formation flight [7, 8] and to optimize trim settings of an F-18 for minimum fuel consumption [9, 10]. The novel parts of the proposed method are the optimization implementation, the inclusion of efficient aircraft system identification methods, and the applications.
Details of the proposed technique are discussed in the following sections. First, the structure of the postulated dynamic model describing the closed-loop system is presented. Second, the method for estimating parameters within this model from the measured flight data is summarized. Last, the nonlinear optimization for the control gains is described in detail.
2.1 Postulated Dynamic Model A model of the aircraft flight dynamics is needed to perform system identification and extract a metric of closed-loop performance. From the point of view of the pilot, most aircraft operating in typical flight conditions and over a certain frequency bandwidth of interest behave similarly to classical models of flight dynamics [11]. In these cases, a Low-Order Equivalent System (LOES) model [12, 13] is appropriate for identification of the closed-loop dynamics. Otherwise, other closed-loop models could be substituted.
The decoupled longitudinal short-period approximation used later in Section 3 has the LOES state-space perturbation model [ ] [ ] [ ] [ ] ˙ α ( t ) − L 1 − L α ( t ) − L α q η = + ∆ η ( t − τ ) (1) ˙ q ( t ) M M q ( t ) M α q η The input is the pilot longitudinal stick displacement η , and the states are angle of attack α and pitch rate q .
The equivalent time delay τ approximates latencies due to actuator lags, the control system, nonlinearities, higher-order dynamics, and other factors. Both the inputs and states represent small deviations from the reference flight condition. Terms inside the state matrices are the stability and control derivatives (e.g., L ) α and are assumed to be constants for a given flight condition.
Typically, Eq. (1) is used to describe the bare-airframe dynamics of the aircraft, where the inputs are the control surface deflections and the stability and control derivatives describe the aerodynamic forces and moments. In this application, the inputs are the pilot commands, and the stability and control derivatives subsume the closed-loop system. Section 2.2 describes the identification of the unknown closed-loop stability and control derivatives.
The block diagram in Fig. 2 shows the generalized subsystems enclosed by the LOES model, which is shaded in gray. The LOES model contains the actuators, airplane bare-airframe dynamics, sensors, and flight control system. The control block contains the flight control system, which has the control gains to be tuned to meet closed-loop performance objectives. The effects of these control gains are subsumed into the identified stability and control derivatives in the LOES model.
2.2 Parameter Estimation Parameter estimation was used to determine values and uncertainties for unknown parameters in Eq. (1).
Because correlation problems preclude the simultaneous identification of both the time delay and the stability and control derivatives [13], a relaxation technique was employed to first estimate the time delay and then hold it fixed at that estimate for the remaining analysis.
The time delay was determined using measurements of the pilot stick and the elevator surface deflection.
In the frequency domain, the model relating these quantities was [14] − jωτ ˜ δ ( jω ) = ˜ η ( jω ) e (2) where ˜ η ( jω ) denotes the finite Fourier transform of η ( t ) for frequencies ω over a bandwidth of interest. This is a nonlinear estimation problem that can be solved using output error [4], which is closely related to the control gain optimization discussed next in Section 2.3. Starting the optimization with an initial estimate ˆ τ = 0 is typically sufficient and converges quickly because the optimization is problem well conditioned.
This estimation was performed once at the beginning of the tuning procedure and was then held constant for the remaining analysis because the equivalent time delay characterizes latencies that are not expected to significantly change between maneuvers.
With the time delay determined and fixed, the estimation of the closed-loop stability and control deriva- tives can decouple into two linear estimation problems, which can be efficiently solved using equation error with frequency-domain data [4]. The model equations are g − jω ˆ τ − ˜ a ( jω ) = L ˜ α ( jω ) + L ˜ q ( jω ) + L ˜ η ( jω ) e (3a) z α q η V − jω ˆ τ jω ˜ q ( jω ) = M ˜ α ( jω ) + M ˜ q ( jω ) + M ˜ η ( jω ) e (3b) α q η where a are vertical accelerometer measurements at the aircraft mass center, g is the acceleration due to z gravity, and V is the trim airspeed. These equations are appropriate for small-perturbation maneuvers about a reference flight condition at low angles of attack.
Each part of Eq. (3) is of the form ˜ ˜ z = X θ + ˜ v (4) where z is the modeled variable, X is the regressor matrix of explanatory variables, θ is a vector of unknown model parameters, and v is the equation error. The ordinary least-squares solution to Eq. (4) is [ ( )] ( ) − 1 † † ˆ ˜ ˜ ˜ θ = < X X < X ˜ z (5) † where < returns the real part of the argument and where is the complex conjugate transpose. The uncertainty in the parameter estimates is reflected by the covariance matrix [ ( )] − 1 2 † ˆ ˜ ˜ cov( θ ) = ˆ σ < X X (6) where the error variance ˆ σ is computed from the model residuals [4]. These equations are processed twice: once with Eq. (3a) for the lift force derivatives, and once with Eq. (3b) for the pitching moment derivatives.
Estimating the stability and control derivatives in this manner using equation error produces a solution without iteration, which is important for in-flight control gain tuning. Because the estimation is performed in the frequency domain over a bandwidth of interest where the signal-to-noise ratios are high, and for other reasons, the identified parameters and the associated uncertainties are statistically accurate (assuming sufficiently informative excitation inputs) and exhibit some robustness to measurement noise and distur- bances [4].
2.3 Control Gain Optimization This section describes how the control gains are optimized during flight based on the closed-loop per- formance metrics extracted from identified closed-loop models. The desired set of performance metrics are denoted by the vector γ . The error in the closed-loop performance is d ν = γ − γ (7) d where γ are the performance metrics computed from the identified closed-loop models. The goal of the optimization is to determine the vector of control gains k that minimizes the negative-log maximum likelihood cost function 1 1 T − 1 J ( k ) = ν R ν + ln | R | (8) 2 2 In Eq. (8), the weighting matrix R is the error covariance matrix, which quantifies uncertainty on the ˆ computed performance metrics. To obtain R , the unscented transform [15] was used to propagate cov( θ ) from Eq. (6) to cov( ν ), which involves a nonlinear transform. Comparison against Monte Carlo simulations for the example in Section 3 confirmed the unscented transformed produced accurate error covariance estimates in a computationally efficient manner for this purpose.
Equation (8) admits a nonlinear optimization problem that requires iteration from starting values. The th optimization update for the i iteration was computed using the Gauss-Newton method as ∂J − 1 ˆ ˆ k = k − M (9) i i − 1 ∂ k
Example
where T ∂ γ ∂ γ − 1 M = R (10) ∂ k ∂ k is the information matrix and where T ∂J ∂ γ − 1 = − R ν (11) ∂ k ∂ k is the local cost gradient. The uncertainties in the control gain estimates are − 1 ˆ cov( k ) = M (12) ∂ γ In Eqs. (9)–(11), the performance sensitivity matrix quantifies how much each control gain changes ∂ k each performance metric. This matrix was determined by finite differences, as depicted by the inner loop in Fig. 1, wherein each control gain was perturbed, a maneuver performed, and a new closed-loop model identified. The control gain perturbations should be small enough that the local cost gradient is accurately approximated, but must be large enough that statistical differences between identified closed-loop models can be discerned. For the example in Section 3, perturbations were selected as 10% of the current control gain value, and backward one-sided finite differences were used.
The optimization procedure was considered converged when all of the performance metrics were achieved within a threshold amount of the desired values. For the example in Section 3, a 2% threshold was used.
Nonlinear optimizations can exhibit slow convergence or divergence if the starting values for the optimiza- tion are not sufficiently close to the unknown optimal solution. To start the optimizer near the optimized solution, pole placement techniques or control law designs based on prior models could be used for the first iteration of the control gain optimization.
3 Example
3.1 Nonlinear Aircraft Simulation TM In this example, the nonlinear flight dynamics simulation of a Hanger 9 Ultra-Stick 120, developed under the NASA Free-flying Aircraft for Sub-scale Experimental Research (FASER) project, was used. The augmented research airplane for which the simulation is based has a 6 . 3 ft wingspan and 16 . 4 lbf weight, and is shown in Fig. 3. The simulation includes the nonlinear six-degree-of-freedom equations of motion and an aerodynamic model that uses multivariate polynomial splines generated from wind tunnel data. Modeled inputs for the simulation are the conventional throttle, elevator, aileron, and rudder surface deflections. See Refs. [16, 17] for complete details on the simulation.
The nonlinear simulation was modified in three ways. First, the longitudinal stability augmentation system control law δ = η − k α − k q (13) c α q was included, which adds proportional feedback from measurements of α and q to the pilot commands. Sec- ond, actuator dynamics were included as first-order filters with time delays. Lastly, realistic noise sequences for the aircraft were applied to the simulated measurements.
3.2 Results The nonlinear simulation was trimmed for steady, wings-level flight at 80 ft/s airspeed, 1000 ft altitude, and 2 . 5 deg angle of attack. The open-loop short period mode at this condition was stable and had damping ratio 0 . 8 and natural frequency 7 . 3 rad/s (1 . 2 Hz).
T The goal for tuning was to determine the feedback gains k = [ k , k ] in the stability augmentation α q control law given by Eq. (13) to change the short period damping and frequency to 0 . 7 and 5 . 0 rad/s (0 . 8 T T Hz), respectively. Therefore, the metric of closed-loop performance was γ = [ ζ, ω ] = [0 . 7 , 5 . 0] . The d n purpose was to slow the response and make the aircraft easier to fly by a remote pilot, who might be contending with visibility issues and other factors during flight testing.
The presented example used five discrete excitation maneuvers (65 s of total modeling data) to determine the feedback gains that achieved the desired closed-loop short period damping and frequency within 2%.
Figure 4 shows the concatenated modeling data. For each maneuver, an identical small-amplitude input with frequency content near the short period mode was applied by the pilot for 10 s. After each maneuver, the tuning method changed the control gains and the corresponding elevator and aircraft responses changed in shape and amplitude.
The migration of eigenvalues for the identified closed-loop models is shown in Fig. 5. Poles 1 were for the first maneuver, in which the airplane was flown open loop. These data were also used to determine ˆ τ , which was held constant for the remaining analysis. Based on the first identified model, pole placement was initially used to update the control gains. Poles 2 were closer to the desired location, but remained outside the 2% threshold due to nonlinearities, parametric and unstructured errors in the identified model, and random noise in the measured data. Poles 3 and 4 were the result of sequentially reducing k and k , α q respectively, by 10%. Poles 5, which were inside the desired 2% boundary, were attained after computing the local cost gradient at Poles 2 using Poles 3 and 4, and taking one Gauss-Newton update step.
Parameter estimates using measured data from the five maneuvers are shown in Fig. 6. In general, the estimates were reasonable, had relatively low uncertainties (which are shown as ± 2 σ bounds), and were in statistical agreement with numerical linearizations of the closed-loop simulation. Based on the first maneuver of the open-loop dynamics, the equivalent time delay was identified as ˆ τ = 0 . 049 ± 0 . 001 s. Expected changes to the estimated M and M closed-loop derivatives resulting from perturbations to the k and k control α q α q gains were exhibited in the estimates for maneuvers 3 and 4, respectively.
Figure 7 shows the evolution of the performance metrics over the five maneuvers, and Fig. 8 shows the T ˆ resulting control gains. The converged solution was k = [ − 0 . 038 ± 0 . 046 , 0 . 044 ± 0 . 005] , which resulted T in closed-loop performance ˆ γ = [0 . 690 ± 0 . 038 , 4 . 990 ± 0 . 180] . The smaller values and uncertainties for k q were a result of the system having higher sensitivities to that gain. For the open-loop system identified using data from the first maneuver, the performance sensitivity matrix was [ ] [ ] ∂ζ ∂ζ ∂ γ +0 . 40 − 0 . 85 ∂k ∂k α q = = (14) ∂ω ∂ω n n − 4 . 00 − 36 . 0 ∂ k ∂k ∂k α q which indicated that k was more effective at changing the closed-loop damping and frequency than k , q α which was statistically zero.
3.3 Further Discussion The simulation results shown in Section 3.2 were a baseline result. Different parts of the tuning process were changed using this example to investigate robustness of the method.
∂ γ One aspect of the analysis investigated was the finite differences used to compute . Backward differ- ∂ k ences, where the control gains perturbations decreased the gains, were preferred to forward differences as a safe-guard against large aircraft responses. Central finite differences resulted in more accurate sensitivity matrices but on average used more maneuvers and flight time to converge.
The control tuning process could have also begun from non-zero control gains, instead of starting the aircraft in open loop. This would be the case where ground-based predictions of control gains were available, or for when perturbations to the nominal control laws were requested for other flight conditions, or to account for aircraft aging as a maintenance function.
The parameter estimation method in Section 2.2 assumed a linear time-invariant system, which neces- sitated changing the control gains in a discrete manner. If a model for identification could be postulated that explicitly captures the nonlinear effect of the control gains on the performance metrics, then the control gains could be changed in a continuous manner. Orthogonal functions could be used to change all the gains simultaneously, leading to short durations of flight data needed for convergence of the control gains.
Other performance metrics could have been chosen for the optimization than the ones used in Section 3.
For example, the same closed-loop poles could have been specified as real and imaginary parts, or rather as settling time and overshoot. The only changes would be to implement the way in which these performance metrics are obtained from the identified closed-loop models. Also, other convergence criteria could have been used, depending on the application requirements. For example, when the 95% uncertainty fell within the 2% threshold and the desired performance was obtained in a statistical sense, the optimization could have been stopped. In the presented example, this would have occurred after the fourth maneuver was processed, according to Fig. 7.
Although this example was presented for a relatively simple control law and dynamic system, the approach is general and can be extended to other axes, other models, and more complicated control laws. It is only required that a closed-loop model can be identified and that the control gains can be adjusted during flight.
However, as the number control gains increases, the number of maneuvers and flight time duration necessary to tune those gains also increases.
Conclusions
Acknowledgements
References
Figures
4 Conclusions
A direct method was presented for adaptively tuning control gains in a flight control system to achieve specified closed-loop performance metrics within defined tolerances. The method consists of sequentially perturbing control gains about nominal values and computing performance metrics from identified closed- loop models. Cost gradients were computed and an online nonlinear optimization was used to update the nominal control gain values using a Gauss-Newton step to improve performance. This process was repeated during flight until the desired closed-loop performance was achieved. The method was demonstrated using a nonlinear flight dynamics simulation of a subscale airplane to tune a longitudinal stability augmentation system and achieve desired closed-loop poles.
It was found using the nonlinear simulation that the approach is feasible. Relatively short amounts of time and numbers of maneuvers were needed to converge on control gains to acquire desired damping and frequency of the closed-loop short period mode. No previous modeling data or knowledge of the internal workings of the control system were used. The method provided uncertainties on the estimated control gains, which provide insight into the efficacy of the designed control laws.
The requirements to perform this automated tuning process are determining a model structure that adequately reflects the closed-loop dynamics and can be used for identification, and having access to the tunable gains during flight. LOES models were used in the simulation results presented, but there may be other situations where these models are not appropriate. Although the tuning method can be performed with any aircraft axis and any arbitrary control law, the number of maneuvers needed and the corresponding flight test time increases with the number of control gains. For complex control laws, this could take significant amounts of flight time, potentially taking the airplane off the desired flight condition.
The main applications conceived were for small aircraft manufacturers or homebuilders, and for avionics designers who wish to design and tune control laws without the ground-based design and iteration that is usually incurred. This method could also be used as a way to rapidly tune controllers during envelope- expansion flight of research aircraft, based on computer simulation models. The method could also be used by smaller research outfits with subscale aircraft, trying to obtain stabilized flight platforms with which to conduct subsequent flight research.
5 Acknowledgements
This work was funded by the NASA Aeronautics Research Mission Directorate (ARMD) through the Transformational Tools and Technologies (TTT) project. Discussions with Eugene Morelli, Jack Ryan, and members of the NASA Learn-to-Fly project are acknowledged and appreciated. Lastly, the author would like to acknowledge the encouragement of the late Eugene Heim in performing this work.
References
1. Heim, E.; Viken, E.; Brandon, J.; and Croom, M.: “NASA’s Learn-to-Fly Project Overview”. Atmo- spheric Flight Mechanics Conference , no. AIAA Paper 2018-3307, Jun. 2018.
2. Riddick, S.: “An Overview of NASA’s Learn-to-Fly Technology Development”. Atmospheric Flight Mechanics Conference , no. AIAA Paper 2020-0760, Jan. 2020.
3. Morelli, E.: “System IDentification Programs for AirCraft (SIDPAC)”. https://software.nasa.gov/ software/LAR-16100-1 . Accessed: Jan. 22, 2020.
4. Morelli, E.; and Klein, V.: Aircraft System Identification: Theory and Practice . Sunflyte, Williamsburg, VA, second ed., 2016.
5. ˚ Astr¨ om, K.; and Wittenmark, B.: Adaptive Control . Addison Wesley, Reading, MA, second ed., 1995.
6. Ariyur, K.; and Krsti´ c, M.: Real-Time Optimization by Extremum-Seeking Control . Wiley, Hoboken, NJ, 2003.
7. Ryan, J.; and Speyer, J.: “Peak-Seeking Control Using Gradient and Hessian Estimates”. American Control Conference , no. WeA17.5, Jun. 2010.
8. Hanson, C.; Ryan, J.; Allen, M.; and Jacobson, S.: “An Overview of Flight Test Results for a Formation Flight Autopilot”. Guidance, Navigation, and Control Conference , no. AIAA Paper 2002-4755, Jun.
2002.
9. Schaefer, J.; and Brown, N.: “Peak-Seeking Optimization of Trim for Reduced Fuel Consumption: Architecture and Performance Metrics”. Guidance, Navigation, and Control Conference , no. AIAA Paper 2013-4856, Aug. 2013.
10. Brown, N.; and Schaefer, J.: “Peak-Seeking Optimization of Trim for Reduced Fuel Consumption: Flight-Test Results”. Guidance, Navigation, and Control Conference , no. AIAA Paper 2013-5171, Aug.
2013.
11. McRuer, D.; Ashkenas, I.; and Graham, D.: Aircraft Dynamics and Automatic Control . Princeton University Press, Princeton, NJ, 1973.
12. Anon.: Flying Qualities of Piloted Aircraft. Mil-Std 1797A, Department of Defense, 1990.
13. Morelli, E.: “Identification of Low Order Equivalent System Models from Flight Test Data”. NASA TM-2000-210117, Aug. 2000.
14. Morelli, E.: “Dynamic Modeling from Flight Data with Unknown Time Skews”. Journal of Guidance, Control, and Dynamics , vol. 40, no. 8, Aug. 2017, pp. 2083–2091.
15. Uhlmann, J.: “Dynamic Map Building and Localization: New Theoretical Foundations”. Ph.D. Thesis, University of Oxford, 1995.
16. Garza, F.; and Morelli, E.: “A Collection of Nonlinear Aircraft Simulations in MATLAB”. NASA TM- 2003-212145, Jan. 2003.
17. Morelli, E.: “A Collection of Nonlinear Aircraft Simulations in MATLAB”. https://software.nasa.
gov/software/LAR-17463-1 . Accessed: Jan. 22, 2020.
18. Denham, C.; and Owens, D.: “Rotary Balance Wind Tunnel Testing for the FASER Flight Research Aircraft”. Atmospheric Flight Mechanics Conference , no. AIAA Paper 2016-3105, Jun. 2016.
Figures
Start Conduct maneuver, Identify system, Compute performance Cost gradient No Perturb a gain estimated?
Yes Performance No Update gains converged?
Yes End Figure 1: Algorithm flow chart for adaptive tuning of flight control gains.
LOES Model Commands, Pilot, Deflections, Responses, η δ y c δ Airplane Actuators Measurements, Feedback, z u Control Sensors Figure 2: Block diagram of the closed-loop LOES model.
Figure 3: The FASER test aircraft (credit: Ref. [18]).
1 2 3 4 5 0 0 η , − 2 − 2 deg − 4 − 4 0 0 δ , − 2 − 2 deg − 4 − 4 4 4 α , 2 2 deg 0 0 20 20 q , 0 0 deg/s − 20 − 20 0 0 a , z − 1 − 1 g − 2 − 2 0 5 10 15 20 25 30 35 40 45 50 55 60 65 0 5 10 15 20 25 30 35 40 45 50 55 60 65 Time, s Figure 4: Measurements for five concatenated excitation maneuvers.
5 5 Desired 2% bound 4 . 5 4 . 5 Estimated 1 4 4 3 . 5 3 . 5 Imag 3 3 2 . 5 2 . 5 2 2 − 5 . 5 − 5 − 4 . 5 − 4 − 3 . 5 − 3 − 2 . 5 − 5 . 5 − 5 − 4 . 5 − 4 − 3 . 5 − 3 − 2 . 5 Real Figure 5: Closed-loop pole migration during tuning (positive imaginary axis only).
8 − 20 8 − 20 7 − 25 7 − 25 6 − 30 6 − 30 L M α α 5 − 35 5 − 35 4 − 40 4 − 40 0 . 6 2 0 . 6 2 0 . 4 0 0 . 4 0 L M q q 0 . 2 − 2 0 . 2 − 2 0 − 4 0 − 4 3 − 50 3 − 50 2 − 55 2 − 55 L M η η 1 − 60 1 − 60 0 − 65 0 − 65 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 Maneuver number Maneuver number Figure 6: Identified closed-loop model parameters and ± 2 σ error bounds.
0 . 9 0 . 9 0 . 8 0 . 8 0 . 7 0 . 7 ζ 0 . 6 0 . 6 0 . 5 0 . 5 Desired 8 8 2% error 7 7 Estimated 6 ω , 6 n rad/s 5 5 4 4 3 3 1 2 3 4 5 1 2 3 4 5 Maneuver number Figure 7: Estimated closed-loop performance metrics and ± 2 σ error bounds.
0 . 2 0 . 2 0 . 1 0 . 1 0 k 0 α − 0 . 1 − 0 . 1 − 0 . 2 − 0 . 2 0 . 1 0 . 1 0 . 05 0 . 05 k q 0 0 − 0 . 05 − 0 . 05 1 2 3 4 5 1 2 3 4 5 Maneuver number Figure 8: Estimated control gains and ± 2 σ error bounds.
Form Approved REPORT DOCUMENTATION PAGE OMB No. 0704–0188 The public reporting burden for this collection of information is estimated to average 1 hour per response, including the time for reviewing instructions, searching existing data sources, gathering and maintaining the data needed, and completing and reviewing the collection of information. Send comments regarding this burden estimate or any other aspect of this collection of information, including suggestions for reducing this burden, to Department of Defense, Washington Headquarters Services, Directorate for Information Operations and Reports (0704-0188), 1215 Jefferson Davis Highway, Suite 1204, Arlington, VA 22202-4302. Respondents should be aware that notwithstanding any other provision of law, no person shall be subject to any penalty for failing to comply with a collection of information if it does not display a currently valid OMB control number.
PLEASE DO NOT RETURN YOUR FORM TO THE ABOVE ADDRESS.
1. REPORT DATE (DD-MM-YYYY) 2. REPORT TYPE 3. DATES COVERED (From - To) 01-10-2021 Technical Memorandum 4. TITLE AND SUBTITLE 5a. CONTRACT NUMBER 5b. GRANT NUMBER A Learn-to-Fly Approach for Adaptively Tuning Flight Control Systems 5c. PROGRAM ELEMENT NUMBER 5d. PROJECT NUMBER 6. AUTHOR(S) Jared A. Grauer Langley Research Center, Hampton, Virginia 5e. TASK NUMBER 5f. WORK UNIT NUMBER 339442.04.07.02 7. PERFORMING ORGANIZATION NAME(S) AND ADDRESS(ES) 8. PERFORMING ORGANIZATION REPORT NUMBER NASA Langley Research Center Hampton, Virginia 23681-2199 9. SPONSORING/MONITORING AGENCY NAME(S) AND ADDRESS(ES) 10. SPONSOR/MONITOR’S ACRONYM(S) National Aeronautics and Space Administration NASA Washington, DC 20546-0001 11. SPONSOR/MONITOR’S REPORT NUMBER(S) NASA/TM–20210021941 12. DISTRIBUTION/AVAILABILITY STATEMENT Unclassified-Unlimited Subject Category 08 Availability: NASA STI Program (757) 864-9658 13. SUPPLEMENTARY NOTES 14. ABSTRACT A method is presented for adaptively tuning feedback control gains in a flight control system to achieve desired closed-loop performance.
The method combines efficient aircraft parameter estimation, for identifying closed-loop dynamics models, with online nonlinear optimization, for sequentially perturbing and updating control gains to improve performance. Access to flight measurements and the control gains is required, but no prior information about the aircraft dynamics or the flight control architecture is needed. After the procedure, the optimized control gains (with uncertainties), the open-loop dynamics model, and the closed-loop dynamics model are available. The method is demonstrated for tuning a longitudinal stability augmentation system using a realistic nonlinear flight dynamics simulation of a subscale airplane. Convergence was attained using five maneuvers that spanned approximately one minute of flight test time. Although shown for a relatively simple case, the method is general and can be applied to other aircraft, axes of motion, performance metrics, and control system designs.
15. SUBJECT TERMS Adaptive tuning, Real-time system identification, Flight control 16. SECURITY CLASSIFICATION OF: 17. LIMITATION OF 18. NUMBER 19a. NAME OF RESPONSIBLE PERSON ABSTRACT OF STI Help Desk (email: help@sti.nasa.gov ) a. REPORT b. ABSTRACT c. THIS PAGE PAGES 19b. TELEPHONE NUMBER (Include area code) UU U U U (757) 864-9658 Standard Form 298 (Rev. 8/98) Prescribed by ANSI Std. Z39.18