66
Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young Thesis submitted to the Faculty of the Virginia Polytechnic Institute and State University in partial fulfillment of the requirements for the degree of Master of Science in Aerospace Engineering Dr. Naira Hovakimyan, Committee Chair Dr. Daniel Stillwell, Committee Member Dr. Craig Woolsey, Committee Member May 5, 2006 Blacksburg, Virginia Keywords: Flight Control, Adaptive Control, Nonaffine Systems Copyright 2006, Amanda Young

Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Adaptive Control of Nonaffine Systems with Applications to FlightControl

Amanda Young

Thesis submitted to the Faculty of the

Virginia Polytechnic Institute and State University

in partial fulfillment of the requirements for the degree of

Master of Science

in

Aerospace Engineering

Dr. Naira Hovakimyan, Committee Chair

Dr. Daniel Stillwell, Committee Member

Dr. Craig Woolsey, Committee Member

May 5, 2006

Blacksburg, Virginia

Keywords: Flight Control, Adaptive Control, Nonaffine Systems

Copyright 2006, Amanda Young

Page 2: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Adaptive Control of Nonaffine Systems with Applications to Flight Control

Amanda Young

(ABSTRACT)

Traditional flight control design is based on linearization of the equations of motion around

a set of trim points and scheduling gains of linear (optimal) controllers around each of these

points to meet performance specifications. For high angle of attack maneuvers and other

aggressive flight regimes (required for fighter aircraft for example), the dynamic nonlinearities

are dependent not only on the states of the system, but also on the control inputs. Hence,

the conventional linearization-based logic cannot be straightforwardly extended to these

flight regimes, and non-conventional approaches are required to extend the flight envelope

beyond the one achievable by gain-scheduled controllers. Due to the nonlinear-in-control

nature of the dynamical system in aggressive flight maneuvers, well-known dynamic inversion

methods cannot be applied to determine the explicit form of the control law. Additionally,

the aerodynamic uncertainties, typical for such regimes, are poorly modelled, and therefore

there is a great need for adaptive control methods to compensate for dynamic instabilities.

In this thesis, we present an adaptive control design method for both short-period and

lateral/directional control of a fighter aircraft. The approach uses a specialized set of radial

basis function approximators and Lyapunov-based adaptive laws to estimate the unknown

nonlinearities. The adaptive controller is defined as a solution of fast dynamics, which verifies

the assumptions of Tikhonov’s theorem from singular perturbations theory. Simulations

illustrate the theoretical findings.

Page 3: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Acknowledgments

First and foremost, I would like to thank God for giving me all the blessings in the world.

I would like to thank my advisor, Naira Hovakimyan, for believing in me and investing so

much of her time and effort. If it were not for her passion and dedication, I would not be as

successful as I am today.

Many thanks to Dr. Chengyu Cao for his patience, Dr. Eugene Lavretsky from the Boeing

company for his suggestions and insights, Dr. Vijay Patel for sharing his guidance and

experience, and Dr. Konda Reddy for his wisdom. I would like to thank my committee

members Dr. Daniel Stillwell and Dr. Craig Woolsey for their time and commitment.

Additionally, I thank my friends Imraan Faruque, Lili Ma, Nina Mahmoudian, Vahram

Stepanyan, Laszlo Techy, and Jiang Wang for their help and support. I would also like to

thank the department of Aerospace and Ocean Engineering and its faculty for transforming

me into an engineer.

All my thanks to my best friend, Sam for his support and love. You mean everything to

me. Thanks to my little pup, Kane, for big slobbery kisses and for putting up with my long

hours and not messing in the house. Finally, I would like to thank my mom, Katherine for

all her hard work and sacrifices. My opportunities in life are made possible because of you.

iii

Page 4: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Contents

1 Introduction 1

1.1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

1.2 Problem Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

1.3 Approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

1.4 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

2 Literature Review 4

2.1 Short Period Dynamics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

2.2 Dutch-Roll Dynamics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

3 Mathematical Preliminaries 7

3.1 Preliminaries on Nonlinear Systems Theory . . . . . . . . . . . . . . . . . . . 7

3.2 Preliminaries on Approximation Theory . . . . . . . . . . . . . . . . . . . . 9

3.3 Preliminaries on Singular Perturbations Theory . . . . . . . . . . . . . . . . 10

4 Adaptive Controller for Nonaffine Single Input System 14

4.1 Problem Formulation for Short Period Dynamics . . . . . . . . . . . . . . . . 14

4.2 Ideal Reference Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

4.3 RBF Approximation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

4.4 State Predictor and Adaptive Law . . . . . . . . . . . . . . . . . . . . . . . . 19

iv

Page 5: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

4.5 Nonaffine Control Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

4.6 Simulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

5 Adaptive Controller for Nonaffine Multi-Input System 31

5.1 Problem Formulation for Dutch-Roll Dynamics . . . . . . . . . . . . . . . . . 31

5.2 Nominal Dutch-Roll Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

5.3 Multi-Input RBF approximation . . . . . . . . . . . . . . . . . . . . . . . . . 36

5.4 Roll-Yaw Dynamics State Predictor . . . . . . . . . . . . . . . . . . . . . . . 38

5.5 MIMO Control Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

5.6 Dutch-Roll Simulations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

6 Conclusion 54

6.1 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54

6.2 Recommendations For Future Work . . . . . . . . . . . . . . . . . . . . . . . 55

v

Page 6: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

List of Figures

4.1 Intersection of the functions δead(t) and W⊤(t)Φ(α(t), δenom

(t) − δead(t)). . . . 23

4.2 Gaussian as a function of α with an angle of attack range of 60. . . . . . . . 26

4.3 f(α, δe) as a function of elevator control δe. . . . . . . . . . . . . . . . . . . . 27

4.4 Short-period nominal system tracking with respect to defined commanded

input rcmd(t). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

4.5 LQR performance violated in the presence of uncertainties. . . . . . . . . . . 28

4.6 Loss of tracking of α and q caused by nonlinearity f(α, δe) of order O(0.9). . 28

4.7 States α(t), αr(t), α(t) of short-period system. . . . . . . . . . . . . . . . . . 29

4.8 States q(t), qr(t), q(t) of short-period system. . . . . . . . . . . . . . . . . . . 29

4.9 Adaptive elevator control, δead(t)of short-period system versus unknown non-

linearity f(α(t), δe(t)). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

5.1 Dutch-roll nominal system βr(t) and φr(t) tracking of commanded input Rcmd(t). 49

5.2 LQR performance violated for angle βr, φr tracking. . . . . . . . . . . . . . . 50

5.3 Loss of tracking of β and φ caused by nonlinearities f1(β, δa) of order O(1)

and f2(β, δr) of order O(1.1). . . . . . . . . . . . . . . . . . . . . . . . . . . . 50

5.4 Curve-fitting for fl(β, ps, rs, δa, δr). . . . . . . . . . . . . . . . . . . . . . . . . 51

5.5 Curve-fitting for f2(β, ps, rs, δa, δr). . . . . . . . . . . . . . . . . . . . . . . . 51

5.6 States β(t), βr(t), β(t) of Dutch-Roll system. . . . . . . . . . . . . . . . . . . 52

5.7 States φ(t), φr(t), φ(t) of Dutch-Roll system. . . . . . . . . . . . . . . . . . . 52

vi

Page 7: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

5.8 States ps(t), psr(t), ps(t), rs(t), rsr

(t), rs(t) of Dutch-Roll system. . . . . . . . 53

5.9 Adaptive control effort of Dutch-Roll System compared with uncertainties f1

and f2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53

vii

Page 8: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

List of Tables

5.1 Wind Tunnel Data of Aerodynamic and Control Derivatives at α = 0 . . . . 47

5.2 Wind Tunnel Data of Aerodynamic and Control Derivatives at α = 5 . . . . 47

5.3 Averaged Wind Tunnel Data of Aerodynamic and Control Derivatives to Ap-

proximate α ≈ 2.11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

viii

Page 9: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Chapter 1

Introduction

For straight and level flight, the dynamic modes for conventional airplanes decouple into two

independent sets: 1) longitudinal modes, called the short period and phugoid, and 2) lateral

modes, called the roll, Dutch-Roll, and spiral. In this thesis, we are interested in examining

the behavior of the short-period and Dutch-Roll systems.

1.1 Motivation

Research in adaptive control of nonaffine systems, in general, is motivated by the many

emerging applications that employ novel actuation devices, like piezo-electric films or syn-

thetic jets, which are typically nonlinearly coupled to the dynamics of the processes they

are intended to control. Modelling for these applications varies from having accurate low

frequency models in the case of structural control problems, to having no reasonable set of

model equations in the case of active control of flows and combustion processes. From the

perspective of flight control design, development of adaptive control methods for nonaffine

systems has the potential of expanding the flight envelope to near-stall angles of attack flight

regimes. This is especially relevant for design of flight control systems for fighter aircraft that

are very much needed for military operations and homeland security. This thesis presents

an adaptive augmentation of a baseline linear optimal (LQR) controller to encounter for

uncertain control-dependent nonlinearities in aggressive flight regimes. Two specific systems

are considered: short-period dynamics and Dutch-Roll dynamics.

1

Page 10: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 1. Introduction 2

1.2 Problem Definition

Consider the following system:

x(t) = Ax(t) +B(u(t) + f(x(t), u(t))), x(0) = x0

y(t) = C⊤x(t), (1.1)

where x ∈ Rn is the state of the system, A ∈ R

n×n is the known system matrix, B ∈ Rn×m

is the input matrix, C⊤ is the output matrix, y ∈ Rm is the regulated output, u ∈ R

m is the

control input, and f ∈ Rm is an unknown Lipshitz continuous nonlinear function dependent

on both x and u. The control objective is to determine a control input u, such that y(t)

tracks a given set of bounded smooth reference inputs r = [r1, . . . , rm]⊤, while all other error

signals remain bounded.

1.3 Approach

The goal of this thesis is to design a controller for two nonlinear aircraft systems with

uncertain dynamics that are nonlinear-in-control or nonaffine. First, a nominal system is

designed using standard linear quadratic regulator (LQR) methods for the linearized system

in the absence of uncertainties. This controller is then augmented with an adaptive element

to compensate for modelling uncertainties. The adaptive laws for approximating system

uncertainties are derived from Lyapunov-like analysis and the incremental adaptive control

signal is sought as a solution of fast dynamics which verifies the assumptions of Tikhonov’s

theorem from singular perturbations theory for the closed-loop system.

1.4 Overview

This thesis is presented as follows. In chapter 3, we review some preliminaries from approx-

imation theory and Tikhonov’s theorem from singular perturbations theory, which are the

key elements in the synthesis and analysis. In chapter 4, we formulate the single input short-

period fighter aircraft dynamics at high angle of attack and propose a dynamic-inversion

based controller to achieve the control objective. Simulations are given for this system that

show the desired tracking performance. Next, we extend the methodology to the multi-input

Page 11: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 1. Introduction 3

multi-output roll-yaw system and show simulations. A brief summary and some recommen-

dations for future work are given in conclusion.

Page 12: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Chapter 2

Literature Review

2.1 Short Period Dynamics

The continuing development of flight control design methods in parallel to advances in non-

linear control theory have made controllability at high angles of attack near and beyond stall

increasingly relevant. The main challenge encountered at high angles of attack, is that the

short-period aircraft dynamics appear to be highly uncertain and nonlinear both in the states

and in the control signal [6]. Hence, traditional linearization and gain scheduling methods

are insufficient for modelling and controlling the system at high-angles of attack. To obtain

a better control design and model, various methods have been explored and discussed. One

such method is to re-write the system linearly by expanding the output and control vectors

into a truncated Taylor series expansion in order to apply optimal control design [7]. Non-

linear control methods for affine-in-control systems using feedback linearization via dynamic

inversion are found in [8] - [11]. The authors of [8] have utilized the natural time-scale sepa-

ration between the faster pitch rate dynamics and the slower angle-of-attack dynamics and

assumed that the control effectors have no effect on α so that α can be pseudo-controlled

through the pitch rate. Without any modelling uncertainties, this controller was valid for an

angle of attack range of up to 55. In [9], two nonlinear controllers are implemented by sep-

arating the 6 DOF system dynamics into two time scales: angular rates which are fast, and

angles of attack and sideslip, which are slow. The controller for the fast dynamics are found

by inversion of the momentum equations, and the slow dynamics controller is obtained by in-

verting the force equations. The controller performance is tested in high-fidelity simulations,

valid up to angles of attack of 30. The problem with feedback linearization is that it has

4

Page 13: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 2. Literature Review 5

a low tolerance twoards modelling errors. Neural network approximations are introduced in

[10] and [11] in order to compensate for modelling uncertainties. [10] uses an off-line neural

network configuration to make an initial approximation of the nonlinear system dynamics

and a second on-line neural network approximation to estimate the inversion error. In [11],

the neural network approximation captures the nonlinear dynamics of the system for an

angle of attack range of α ∈ [−5, 21], and the inverse dynamics are computed by differen-

tiating the output with respect to time until a term appears that contains the input u. The

authors of [12] differentiate the nonaffine-in-control system with respect to time to obtain a

higher-order system, in which the derivative of the control input appears linearly. They then

apply linear control methods and integrate to obtain the structure of the controller. This

method results in a large control signal and would be susceptible to system saturation in

realistic systems. Direct projection-based adaptive control is then easily implemented and

the system is shown to be stable using a standard Lyapunov argument.

In the first part of this thesis, we apply the theory developed in [13] to a nonaffine fighter

aircraft like the F-16 performing at or near the stall angle in the presence of system uncer-

tainties. The method in [13] introduces a specialized set of radial basis functions (RBF) that

retains the monotonic property with respect to control effectiveness of the original aircraft

dynamics. It further defines the adaptive controller via fast dynamics and achieves time-

scale separation between the system dynamics and the controller dynamics. The stability

and tracking results follow from Tikhonov’s theorem in singular perturbations theory.

2.2 Dutch-Roll Dynamics

The Dutch-Roll is a type of lightly damped oscillatory lateral/directional motion between

sideslip, roll, and yaw that consists of an out-of-phase combination of ”tail-wagging” and

rocking from side to side that occurs when an aircraft is disturbed laterally from equilibrium

flight. This type of motion occurs when a statically stable aircraft tries to re-establish lateral

and directional equilibrium. Dutch roll is usually the most troublesome of the natural modes

associated with the dynamics of an aircraft in free flight due to its sensitive stability balance,

which could easily result in instability [16]. Hence, it is important to model the Dutch-Roll

system as accurately as possible. Traditional Dutch-Roll approximations are made by lin-

earizing the full nonlinear equations of motion so that the dynamic modes can be decoupled

and evaluated [17], [18]. Additionally, the aerodynamic stability and control derivatives are

taken from wind-tunnel data and the eigenvalues of the linearized equations can be numeri-

Page 14: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 2. Literature Review 6

cally derived, so that a linear controller can be designed [15], [19] - [24]. Typically, these types

of approximations neglect the rolling rate, bank angle, rolling momentum and aerodynamic

coupling, which decreases the accuracy of the models [25]. An improved closed-loop form

is derived in [16] using Taylor series expansion to approximate the roll-damping derivative.

The effects of inertial, gyroscopic, and aerodynamic coupling are included for a linear model

in [26]. The problem with linearization approaches, is that although they are accurate for

low angles of attack, they becomes less than ideal for aggressive aircraft maneuvers and high

angle of attack flight regimes when the nonlinear effects become significant enough to drive

the system to instability.

In the second part of this thesis, we extend the method developed in [14] to uncertain

nonaffine-in-control multi-input multi-output (MIMO) systems, which describe the lateral/directional

dynamics of an F-16 at different angles of sideslip in the presence of system uncertainties.

Page 15: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Chapter 3

Mathematical Preliminaries

In this chapter, we recall some facts that will be used for derivation of main results. First,

some results from nonlinear systems theory is given. Next, we summarize the main result

from [2] on approximation of monotonic functions. Lastly, Tikhonov’s theorem is stated

from [1], which enables definition of the adaptive controller via fast dynamics.

3.1 Preliminaries on Nonlinear Systems Theory

Lemma 1 ([3], p.116) A time-varying linear system

x = A(t)x, (3.1)

is globally exponentially stable if

1. for any time t ≥ 0, the eigenvalues of A(t) have negative real parts, that is,

∃β > 0, ∀t ≥ 0, λ(A(t)) ≤ −β, (3.2)

where λ(A(t)) denotes the eigenvalues of A(t),

2. the matrix A(t) remains bounded:

∫ ∞

0

A⊤(t)A(t)dt <∞. (3.3)

7

Page 16: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 3. Mathematical Preliminaries 8

Lemma 2 (Comparison Lemma [1], p.102) Consider the scalar differential equation

x = f(t, x), x(t0) = x0, (3.4)

where f(t, u) is continuous in t and locally Lipshitz in x, for all t ≥ 0. Let [t0, T ) (where

T could be infinity) be the maximal interval of existence of the solution x(t). Let v(t) be a

continuous function which satisfies the differential inequality

v(t) ≤ f(t, v(t)), v(t0) ≤ x0. (3.5)

Then, v(t) ≤ x(t) for all t ∈ [t0, T ).

Lemma 3 ([1], p.368) Consider the system

z = f(z + h(α), α) , g(z, α) (3.6)

and suppose g(z, α) is continuously differentiable and the Jacobian matrices ∂g

∂zand ∂g

∂αsatisfy

∥∥∥∥

∂g

∂z(z, α)

∥∥∥∥≤ L1,

∥∥∥∥

∂g

∂α(z, α)

∥∥∥∥≤ L2‖z‖ (3.7)

for all (z, α) ∈ D × Γ, where Γ ⊂ Rm and D = z ∈ R

n | ‖z‖ < r. Let k1, λ1, and γ0

be positive constants with r0 <rk1

, and define D0 = z ∈ Rn | ‖z‖ < r0. Assume that the

trajectories of the system satisfy

‖z(t)‖ ≤ k1‖z(0)‖e−λ1t, ∀ z(0) ∈ D0, α ∈ Γ, t ≥ 0. (3.8)

Then, there is a function V : D0 × Γ → R that satisfies

c1‖z‖2 ≤ V (z, α) ≤ c2‖z‖

2 (3.9)

∂V

∂zg(z, α) ≤ −c3‖z‖

2 (3.10)∥∥∥∥

∂V

∂z

∥∥∥∥

≤ c4‖z‖ (3.11)

∥∥∥∥

∂V

∂α

∥∥∥∥

≤ c5‖z‖2 (3.12)

for positive constants c1, c2, c3, c4, c5 and all z ∈ D,α ∈ Γ. Moreover, if all the assumptions

hold globally (in z), then V (z, α) is defined and satisfies (3.9) through (3.12) on Rn × Γ.

Page 17: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 3. Mathematical Preliminaries 9

3.2 Preliminaries on Approximation Theory

In this section, we recall the main result from [2]. To follow the notations in [2], let N ,

R, and Rr denote the set of natural numbers, the set of real numbers, and the set of real

r-vectors, respectively. Let Lp(Rr), L∞(Rr), C(Rr), Cc(Rr), denote the usual spaces of R-

valued maps f : Rr → R such that f is pth power integrable, essentially bounded, continuous,

and continuous with compact support. Let further Lp+(Rr), L∞+ (Rr), C+(Rr), Cc+(Rr) be the

spaces of positive valued maps f : Rr → R

+ respectively. Since Cc(Rr) is dense in Lp(Rr)

( [4], p. 69), then for every f ∈ Lp(Rr) there exists an fc ∈ Cc(Rr) such that ||fc − f ||p ≤ ε,

where ‖ · ‖p denotes the p-norm. The main result from [2] is summarized via the following

theorem:

Theorem 1 Let K : Rr → R be an integrable bounded function such that K is continuous

almost everywhere and

Rr

K(x)dx 6= 0. Then the family SK of functions q : Rr → R defined

as

q(x) =M∑

i=1

wiK

(x− ziδ

)

, (3.13)

where M ∈ N , δ > 0, wi ∈ R, and zi ∈ Rr, is dense in Lp(Rr) for every p ∈ [1, ∞).

The proof of this theorem in [2] gives an explicit expression for the coefficients wi in (3.13)

as:

wi =1

δrfc(αi)

(2T

n

)r1

Rr K(x)dx, (3.14)

where the set αi ∈ Rr : i = 1, ..., nr consists of all points in [−T, T ]r of the form

[−T + (2i1T/n), ....,−T + (2irT/n)], i1, i2, .., ir = 1, 2..., n,

in which T is a number such that sup(fc) ⊂ [−T, T ]r, where sup(·) is defined as the

supremum or least upper bound. This consequently implies that if f ∈ Lp+(Rr), then fc ∈

Cc+(Rr), and consequently the coefficients wi in (3.14) are positive, i.e. wi > 0. Let SG be

the subclass of functions from SK with positive wi’s. Then SG is dense in Lp+(Rr). We also

notice that the Gaussians given by

φ

(x− xciσi

)

= e−

(x−xci)2

σ2i ,

where xci is the center, while σi is the width parameter, represent one particular choice of

K.

Page 18: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 3. Mathematical Preliminaries 10

3.3 Preliminaries on Singular Perturbations Theory

Consider the problem of solving the system

Σ0 :

x(t) = f(t, x(t), u(t), ε), x(0) = ξ(ε)

εu(t) = g(t, x(t), u(t), ε), u(0) = η(ε),(3.15)

where ξ : ε 7→ ξ(ε) and η : ε 7→ η(ε) are smooth. Additionally, assume that f and g are

continuously differentiable in their arguments for (t, x, u, ε) ∈ [0,∞] × Dx × Du × [0, ε0],

where Dx ⊂ Rn and Du ⊂ R

m are domains, ε0 > 0. In addition, let Σ0 be in standard form,

that is,

0 = g(t, x, u, 0) (3.16)

has k ≥ 1 isolated real roots u = hi(t, x), i ∈ 1, . . . , k for each (t, x) ∈ [0,∞] × Dx.

Choosing a particular i and keeping it fixed, the subscript i is dropped. Let ν(t, x) =

u− h(t, x).

In singular perturbations theory, the system given by

Σ00 : x(t) = f(t, x(t), h(t, x(t)), 0), x(0) = ξ(0), (3.17)

is called the reduced system, and the system given by

Σb :dν

dτ= g(t, x, ν + h(t, x), 0), ν(0) = η0 − h(0, ξ0) (3.18)

is called the boundary layer system, where η0 = η(0) and ξ0 = ξ(0), (t, x) ∈ [0,∞) ×Dx are

treated as fixed parameters. The new time scale τ is related to the original time t via the

relationship τ = tε. The following result is due to Tikhonov [1], [5]:

Theorem 2 Consider the singular perturbation system Σ0 given in (3.15) and let u = h(t, x)

be an isolated root of (3.16). Assume that the following conditions are satisfied for all [t, x, u−

h(t, x), ǫ] ∈ [0,∞)×Dx×Dv×[0, ǫ0] for some domains Dx ⊂ Rn and Dv ⊂ R

m, which contain

their respective origins:

A1. On any compact subset of Dx×Dv, the functions f , g, their first partial derivatives with

respect to (x, u, ǫ), and the first partial derivative of g with respect to t are continuous

and bounded, h(t, x) and[∂g

∂u(t, x, u, 0)

]have bounded first derivatives with respect to

their arguments,[∂f

∂x(t, x, h(t, x))

]is Lipschitz in x, uniformly in t, and the initial data

given by ξ and η are smooth functions of ǫ.

Page 19: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 3. Mathematical Preliminaries 11

A2. The origin is an exponentially stable equilibrium point of the reduced system Σ00 given

by equation (3.17). There exists a Lyapunov function V : [0,∞) × Dx → [0,∞) that

satisfies

W1(x) ≤ V (t, x) ≤ W2(x)

∂V∂t

(t, x) + ∂V∂x

(t, x)f(t, x, h(t, x), 0) ≤ −W3(x)

for all (t, x) ∈ [0,∞)×Dx, where W1,W2,W3 are continuous positive definite functions

on Dx, and let c be a nonnegative number such that x ∈ Dx | W1(x) ≤ c is a compact

subset of Dx.

A3. The origin is an equilibrium point of the boundary layer system Σb given by equation

(3.18), which is exponentially stable uniformly in (t, x).

Let Rv ⊂ Dv denote the region of attraction of the autonomous system dvdτ

= g(0, ξ0, v +

h(0, ξ0), 0), and let Ωv be a compact subset of Rv. Then for each compact set Ωx ⊂ x ∈

Dx | W2(x) ≤ ρc, 0 < ρ < 1, there exists a positive constant ǫ∗ such that for all t ≥ 0,

ξ0 ∈ Ωx, η0 − h(0, ξ0) ∈ Ωv and 0 < ǫ < ǫ∗, Σ0 has a unique solution xǫ on [0,∞) and

xǫ(t) − x00(t) = O(ǫ)

holds uniformly for t ∈ [0,∞), where x00(t) denotes the solution of the reduced system Σ00

in (3.17).

The following Remarks of [1] will be useful for verifying Assumption A3:

Remark 1 Verification of Assumption A3 can be done via a Lyapunov argument. If there

exists a Lyapunov function V : [0,∞) ×Dx ×Dv that satisfies

c1‖ν‖2 ≤ V (t, x, v) ≤ c2‖ν‖

2 (3.19)

∂V

∂νg(t, x, ν + h(t, x)) ≤ −c3‖ν‖

2, (3.20)

for positive constants c1, c2, c3, c4 and for all (t, x, v) ∈ [0,∞) ×Dx ×Dv, then Assumption

A3 is satisfied.

Remark 2 Assumption A3 can be locally verified by linearization. Let ϕ denote the map

ν 7→ g(t, ξ, ν + h(t, ξ), ε). It can be shown that if there exists ω0 > 0 such that the Jacobian

matrix ∂ϕ

∂νsatisfies the eigenvalue condition

Re

(

λ

[∂ϕ

∂ν(t, x, h(t, x), 0)

])

≤ −ω0 < 0 (3.21)

Page 20: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 3. Mathematical Preliminaries 12

for all (t, x) ∈ [0,∞) ×Dx, then Assumption A3 is satisfied.

Proof. The boundary layer system (3.18) can be written as a perturbation of its linearization

at the equilibrium ν = 0,

dτ= A(t, x)ν + (g(t, x, ν + h(t, x), 0) − A(t, x)ν)

︸ ︷︷ ︸

ψ(t,x,ν)

, (3.22)

where

A(t, x) =∂g

∂ν(t, x, h(t, x), 0). (3.23)

From Assumption A1 of Tikhonov’s theorem, ∂g

∂ν(t, x, ν + h(t, x), 0) and g(t, x, ν + h(t, x), 0)

are Lipshitz in ν so that the perturbation term ψ(t, x, ν) is also Lipshitz and satisfies

‖ψ(t, x, ν)‖p ≤ k‖ν‖2p , ∀(t, x) ∈ [0,∞) ×Dx, (3.24)

where ‖ · ‖p denotes the p-norm. Assumption A1 implies that A(t, x) is bounded for all

time and (3.21) implies that the eigenvalues of A(t, x) have negative real parts, so it can be

concluded from Lemma 1 that the nominal system

dτ= A(t, x)ν (3.25)

is globally exponentially stable for all (t, x) ∈ [0,∞) ×Dx and the trajectories of the linear

time-varying system (3.25) satisfy

‖v(t)‖p ≤ k1‖v(0)‖p e−λ1t, ∀ v(0) ∈ Dν , x ∈ Dx, t ≥ 0 (3.26)

for positive constants k1, λ1.

The partial derivatives of A(t, x)ν with respect to its arguments are bounded as a result

of Assumption A1 of Tikhonov’s theorem and the time-varying nominal system (3.25) is

globally exponentially stable. Hence, it follows then from applying Lemma 3, that there

exists a Lyapunov function V : [0,∞) ×Dx ×Dν → R that satisfies the inequalities

c1‖ν‖2p ≤ V (t, x, ν) ≤ c2‖ν‖

2p

∂V

∂νA(t, x)ν ≤ −c3‖ν‖

2p (3.27)

∥∥∥∥

∂V

∂ν(t, x, ν)

∥∥∥∥p

≤ c4‖ν‖p

Page 21: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 3. Mathematical Preliminaries 13

for some positive constants c1, c2, c3, and c4. Taking the τ derivative of the Lyapunov function

V along the trajectory of (3.18) yields

V (t, x, ν) =

(∂V

∂ν(t, x, ν)

)

g(t, x, ν + h(t, x), 0)

=

(∂V

∂ν(t, x, ν)

)

(A(t, x)ν + ψ(t, x, ν))

≤ −c3‖ν‖2p + c4k‖ν‖

3p

≤ −c3‖ν‖2p

for ‖ν‖p ≤c3c4k

. This in turn implies

V (t, x, ν) ≤ −c3c2V (t, x, ν), (3.28)

and, consequently,

V (τ) ≤ V (0) e−

c3c2τ. (3.29)

Using Lemma 2 (Comparison Lemma), it follows that

‖ν(τ)‖p ≤

√c2c1‖ν(0)‖p e

−c32c2

τ, ∀ ‖ν(0)‖ ≤

c3c4k

√c1c2, x ∈ Dx, τ ≥ 0 (3.30)

for positive constants c1, c2, c3, c4, k. Thus, it can be concluded that Assumption A3 of

Tikhonov’s theorem on exponential stability of the time-varying boundary layer system at

the origin can be verified locally by linearization.

Page 22: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Chapter 4

Adaptive Controller for Nonaffine

Single Input System

4.1 Problem Formulation for Short Period Dynamics

Neglecting the influence of gravity and thrust, the short-period dynamics of a rigid aircraft

performing high angle of attack maneuvers can be given as

α = − Lα(α0)V

α+ q − Lδe (α0)

Vδe

q = M0(α) +Mq(α)q +Mδe(α, δe),

(4.1)

where q is the pitch rate, α is the angle of attack, α0 is the trim angle, δe is the incre-

mental elevator deflection, Lα(α0) is the known lift curve slope at α0, Lδe(α0) is the known

lift effectiveness due to elevator deflection, V is the trimmed airspeed, Mq(α) is the pitch

damping, and M0(α) and Mδe are the pitching moment components. From (4.1), it fol-

lows that the pitch dynamics depend on Mδe , which is nonlinear with respect to α and δe.

Hence, the short-period dynamics of an aircraft at high angles of attack are nonlinear and

nonaffine-in-control.

In general, the terms M0(α),Mq(α), and Mδe(α, δe) are unknown. However, some partial

knowledge of aerodynamic stability and control derivatives are usually available from wind-

tunnel experiments and theoretical predictions. Incorporating prior known data, the short-

14

Page 23: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 4. Adaptive Controller for Nonaffine Single Input System 15

period dynamics of (4.1) can be rewritten as:

α = − Lα(α0)V

α+ q − Lδe (α0)

Vδe

q = Mα(α0)α+Mq(α0)q +Mδe(α0, 0)δe+

(M0(α) −Mα(α0)α)︸ ︷︷ ︸

∆M0(α)

+ (Mq(α) −Mq(α0))︸ ︷︷ ︸

∆Mq(α)

q + (Mδe(α, δe) −Mδe(α0, 0), δe)︸ ︷︷ ︸

∆Mδe (α,δe)

,

(4.2)

where it is assumed that Mα(α0),Mq(α0), and Mδe(α0, 0) are the known constant stability

and control derivatives. Additionally, the lift derivative Lδe(α0) is known to be small with

respect to airspeed V , so that for control design purposes, one can assume

Lδe(α0)

V≈ 0, (4.3)

which leads to the following model description:

α = −Lα

Vα+ q

q = Mαα+Mqq +Mδeδe +Mδe (∆M0(α) + ∆Mq(α)q + ∆Mδe(α, δe))︸ ︷︷ ︸

f(α,δe)

.(4.4)

This can be rewritten in state space form

[

α(t)

q(t)

]

=

[

−Lα

V1

Mα Mq

]

︸ ︷︷ ︸

A

[

α(t)

q(t)

]

︸ ︷︷ ︸

x(t)

+

[

0

Mδe

]

︸ ︷︷ ︸

b

(δe(t) + f(α(t), δe(t))), (4.5)

y(t) = [1 0]︸ ︷︷ ︸

c⊤

x(t),

where f(α, δe) is unknown to the controller. Based on wind-tunnel experiments and using

curve-fitting methods, f(α, δe) is known to have the structure

f(α, δe) =

(

(1 − C0) e−α2

2σ2 + C0

)

(tanh (δe + h) + tanh (δe − h) + 0.01δe) , (4.6)

which is well-defined for all α, δe ∈ R and continuously differentiable, where e−α2

2σ2 is a

Gaussian function with width σ and C0, h are positive constants. A scaled plot demonstrating

the structure of f(α, δe) is shown in Figure 4.3. When the angle of attack is at the trim angle,

Page 24: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 4. Adaptive Controller for Nonaffine Single Input System 16

then full elevator control effectiveness is obtained. If control is small, the control surface is

within a boundary layer and does not produce an aerodynamic moment, so this is portrayed

in the small elevator control induced moment term 0.01δe. As the control effort gets large, the

surface stalls as the system reaches saturation and stops producing any additional moment

which is approximated by the hyperbolic tangent functions. The control objective is to design

elevator surface deflection

δe(t) = δenom(t) − δead

(t) (4.7)

so that the angle of attack α(t) tracks a commanded input rcmd(t), while all other signals in

the system remain bounded. In (4.7), δenom(t) is the nominal control elevator deflection for

the nominal (known) linear model, while δead(t) is the incremental adaptive augmentation

to compensate for unknown f(α(t), δe(t)).

4.2 Ideal Reference Model

To find the nominal control elevator for the short period aircraft dynamics (4.1), consider

the nominal linear model of the longitudinal dynamics (4.5) in the absence of uncertainties

(f(α(t), δe(t)) = 0, δead= 0) and design an LQR controller to achieve the tracking objective:

α(t) → rcmd(t) as t→ ∞ for a smooth rcmd(t). Towards that end, let

Ar =

[

−Lα

V1

Mα Mq

]

︸ ︷︷ ︸

A

−b [klqrα klqrq ]︸ ︷︷ ︸

klqr

(4.8)

=

−Lα

V1

Mα −Mδeklqrα︸ ︷︷ ︸

ar2,1

Mq −Mδeklqrq︸ ︷︷ ︸

ar2,2

,

where the gain klqr = −R−1b⊤P is found by solving the corresponding Riccati equation for

the unique positive definite symmetric matrix P :

Q+ PA+ A⊤P − PbR−1b⊤P = 0, (4.9)

in which Q is a positive definite matrix and R is a positive scalar control weight. This leads

Page 25: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 4. Adaptive Controller for Nonaffine Single Input System 17

to the following form of the closed-loop reference system:[

αr(t)

qr(t)

]

= Ar

[

αr(t)

qr(t)

]

+ br(t), αr(0) = αr0 , qr(0) = qr0 , (4.10)

yr(t) = c⊤xr(t).

Due to the time-varying nature of the commanded reference input rcmd(t) and the definition

of the reference model (4.10), setting r(t) = rcmd(t) will cause yr(t) to track rcmd(t) with

bounded errors. To force yr(t) to track the commanded signal rcmd(t) asymptotically and

guarantee zero steady state tracking error, define a new reference input rcmd(t) as

rcmd(t) =1

Mδe

(

rcmd(t) − rcmd(t)

(

ar2,2 −LαV

)

− rcmd(t)

(

ar2,2LαV

+ ar2,1

))

. (4.11)

The proof of this can be obtained by noticing that for the system (4.10), one can compute

the transfer function yr(s)r(s)

= c(sI − Ar)−1 b, where I is the 2 × 2 identity matrix, s is the

Laplace variable, and yr(s) and r(s) are the Laplace transforms of yr(t) and r(t) respectively,

as

yr(s)

r(s)= Mδe

(

s2 − s

(

ar2,2 −LαV

)

(

ar2,2LαV

+ ar2,1

))−1

.

It is easy then to define

rcmd(s) =1

Mδe

(

s2 − s

(

ar2,2 −LαV

)

(

ar2,2LαV

+ ar2,1

))

rcmd(s), (4.12)

whose representation in the time domain is given by (4.11), so that yr(s) = rcmd(s), which

results in asymptotic tracking rcmd(t). It follows then that the nominal system for the

short-period aircraft dynamics (4.5) is[

αr(t)

qr(t)

]

= Ar

[

αr(t)

qr(t)

]

︸ ︷︷ ︸

xr(t)

+brcmd(t), αr(0) = αr0 , qr(0) = qr0 , (4.13)

yr(t) = c⊤xr(t).

The nominal elevator control input is then

δenom(t) = −k⊤lqr

[

α(t)

q(t)

]

+ rcmd(t), (4.14)

which can be applied to the dynamics in (4.5) to yield[

α(t)

q(t)

]

= Ar

[

α(t)

q(t)

]

+ brcmd(t) + b(

−δead(t) + f( α(t), δenom

(t) − δead(t)))

. (4.15)

Page 26: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 4. Adaptive Controller for Nonaffine Single Input System 18

4.3 RBF Approximation

In this section, we address approximation of monotonic nonlinear functions using the result

from [2]. Towards that end, define

g(α, δe) =∂f

∂δe(α, δe) (4.16)

=

(

(1 − C0) e−α2

2σ2 + C0

)

(

2.001 − tanh2 (δe + h) − tanh2 (δe − h))

≥ 0.01C0 > 0 for all C0 > 0.

Using Leibnitz formula, f(α, δe) can be expressed as

f(α, δe) = f(α, 0) +

∫ δe

0

g(α, ξ) dξ, (4.17)

where the integral term is strictly positive due to the positivity of g(α, δe) defined in (4.16).

Because f(α, 0) ∈ Cc(R) and g(α, δe) ∈ Cc+(R2), Theorem 1 can be applied to conclude

that each component can be approximated by a linear combination of radial basis functions

(RBFs) arbitrarily closely on a compact set. Consider a set of radial basis functions (RBF)

φ : R × R → R given by:

φ(α, δe) = φ1(α) + φ2(α, δe), (4.18)

where

φ1(α) , θ⊤Φ1(α) =N∑

i=1

θi e−

(α−αci)⊤(α−αci

)

δ2i , δi > 0, (4.19)

φ2(α, δe) , w⊤Φ2(α, δe) =M∑

j=1

wj

∫ δe

0

e−

(χ−χcj)⊤(χ−χcj

)

ρ2j dξ

, (4.20)

χ , [α⊤ ξ]⊤, ρj > 0,

and M,N are positive constants, φ1(α) is the vector of Gaussians dependent only on α, and

φ2(α, δe) is the vector of the integrals of the Gaussians dependent on both α and δe. Since

g(α, δe) > 0, then following (3.14), the unknown coefficients wi are positive. The vectors

αci , i = 1, ..., N, χcj = [α⊤cjδecj

]⊤, j = 1, ...,M represent the fixed centers of the RBFs,

Page 27: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 4. Adaptive Controller for Nonaffine Single Input System 19

δi, ρj are the fixed widths of the basis functions respectively, and the unknown parameters

are θi ∈ R and wj ∈ R+. It is easy to see from (4.18) - (4.20) that

sgn

(∂φ

∂δe(α, δe)

)

= sgn

(∂φ2

∂δe(α, δe)

)

> 0. (4.21)

Then,

f(α, δe) = f(α, 0) +

∫ δe

0

g(α, ξ) dξ

= W⊤Φ(α, δe) + ε(α, δe), for (α, δe) ∈ Ωα × Ωδe , |ε(α, δe)| ≤ ε∗,(4.22)

where g(α, δe) is given in (4.16), W⊤ = [θ⊤ w⊤]⊤, Φ(α, δe) = [Φ⊤1 (α) Φ⊤

2 (α, δe)]⊤, wi > 0,

ε(α, δe) is the uniformly bounded approximation error, Ωα,Ωδe are compact sets of R, and

ε∗ is a constant.

4.4 State Predictor and Adaptive Law

A state predictor for the system (4.15) can be constructed as:[

˙α(t)˙q(t)

]

= Ar

[

α(t)

q(t)

]

+ brcmd(t) + b(

−δead(t) + W⊤(t)Φ(α(t), δe(t))

)

, (4.23)

α(0) = α0, q(0) = q0,

where Ar is defined in (4.8), rcmd is given in (4.11), and W (t) is used to estimate the unknown

constant vector W . The prediction error signal es(t) is defined as

es(t) =

[

α(t) − α(t)

q(t) − q(t)

]

. (4.24)

Prediction error dynamics can be written as

es(t) = Ares(t) + b(

W⊤(t)Φ(α(t), δe(t)) − ε(α(t), δe(t)))

, es(0) = es0 , (4.25)

and W (t) = W (t) −W . The following adaptive law

˙W (t) = Γ Proj

(

W (t),−Φ(α(t), δe(t) e⊤s (t) P0B

)

, W (0) = W0, (4.26)

where Γ is a positive definite matrix of adaptation rates, Proj (· , ·) denotes the projection

operator, and P0 is the solution to the Lyapunov equation A⊤r P0 +P0Ar = −Q0 for a positive

Page 28: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 4. Adaptive Controller for Nonaffine Single Input System 20

definite matrix Q0, ensures that the prediction error dynamics in (4.25) and the parameter

estimation error W (t) are bounded independent of δe(t). Indeed, consider the following

Lyapunov function candidate:

V (es(t), W (t)) = e⊤s (t)P0es(t) + W⊤(t)Γ−1W (t). (4.27)

Taking the time derivative along the trajectories (4.25), (4.26) gives

V (t) = −e⊤s (t)Q0es(t) + 2e⊤s (t)P0Bε(t)

≤ −‖es‖λmin(Q0)‖es‖ + 2‖es‖ ‖P0B‖ε∗,

where λmin(Q0) denotes the minimum eigenvalue of Q0. The Projection Operator ensures

boundedness of parameter errors so that outside the compact set

‖es‖ ≤ 2ε∗‖P0B‖

λmin(Q0)

‖W‖ ≤ W ∗

, (4.28)

where W ∗ is the maximum allowable upper-bound selected by the Projection operator and

‖ ·‖ indicates the 2-norm, the derivative of the Lyapunov function (4.27) is negative definite.

Following standard invariant set arguments, it can be concluded that if the initial errors are

within the largest level set of the Lyapunov function for which the RBF approximation has

been defined, then the error dynamics (4.25) are ultimately bounded with respect to es(t)

and W (t). Furthermore, this ultimate bound ζ can be any number larger than the value of

the Lyapunov function on the minimum level set embracing the compact set in (4.28). That

is,

‖ζ‖ >

∥∥∥∥V

(

2ε∗‖P0B‖

λmin(Q0),W ∗

)∥∥∥∥

= 4(ε∗)2‖P0B‖2λmax(P0)

λ2min(Q0)

+ (W ∗)2‖Γ−1‖,

where V is the Lyapunov function (4.27) and λmax(P0) denotes the maximum eigenvalue of

P0.

Remark 3 Notice that since wi are positive, the compact set in the application of the

Projection operator can be selected so that wi(t) remain positive for all t ≥ 0, that is,

wi(t) > wi0 > 0 for all i = 1, ...,M .

Page 29: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 4. Adaptive Controller for Nonaffine Single Input System 21

4.5 Nonaffine Control Design

Define the tracking error between the predictor of (4.23) and the reference system (4.13) as

e(t) =

[

α(t) − αr(t)

q(t) − qr(t)

]

. (4.29)

The error dynamics are then:

e(t) = Are(t) + b(

−δead(t) + W⊤(t)Φ(α(t), δe(t))

)

, e(0) = e0.

Dynamic inversion based control is to be determined from the solution of

δead(t) = W⊤(t)Φ(α(t), δenom

(t) − δead(t), (4.30)

so that the resulting closed-loop error dynamics are asymptotically stable, i.e. e(t) = Are(t).

Due to the nonaffine nature of the longitudinal dynamics, (4.30) cannot be solved explicitly

for δead. We construct fast dynamics to determine the solution for δead

:

ǫ δead= −sign

(∂f

∂δead

)

f(t, e, δead), δead

(0) = δead0, (4.31)

where 0 < ǫ≪ 1 and

f(t, e, δead) = δead

− W⊤(t)Φ(α(t), δenom(t) − δead

).

As an extension of Tikhonov’s theorem, recall the main theorem of [13]:

Theorem 3 Assume that the following conditions are satisfied for all [t, e, u − h(t, e), ǫ] ∈

[0,∞) × R2 × R × [0, ǫ0]:

B1. On any compact subset of R2 × R, the function f and its first partial derivative with

respect to (t, e, u) are continuous and bounded, h(t, e) and ∂f∂u

(t, e, u) have bounded first

derivatives with respect to their arguments, and ∂f∂e

as a function of (t, e, h(t, e)) is

Lipshitz in e, uniformly in t.

B2. (t, e, ν) 7→ ∂f∂u

(t, e, ν + h(t, e)) is bounded below by some positive number for all (t, e) ∈

[0,∞) × R2.

Page 30: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 4. Adaptive Controller for Nonaffine Single Input System 22

Then the origin of (4.31) is exponentially stable. Moreover, let Ων be a compact subset of

Rν, where Rν ⊂ R denotes the region of attraction of the autonomous system

dτ= −sign

(∂f

∂δead

)

f(0, e0, ν + h(0, e0)). (4.32)

The for each compact subset Ωe ⊂ R2, there exists a positive constant, ǫ and a T > 0 such

that for all t ≥ 0, e0 ∈ Ωe, u0−h(t, e0) ∈ Ωnu and 0 < ǫ < ǫ∗, the system of equations (4.23),

(4.31 - 4.32) has a unique solution αǫ(t), qǫ(t) on [0,∞), and

[

α(t)

q(t)

]

=

[

αr(t)

qr(t)

]

+O(ǫ).

Let δead(t) = h(t, e) be an isolated root of f(t, e, δead

) = 0, ν(t, α) = δead(t) − h(t, α),

and τ = tǫ. The existence of such a root is guaranteed by noting that there must exist

a point of intersection between W⊤(t)Φ(α(t), δenom(t) − δead

(t)), a set of Gaussians that

changes amplitude depending on the value of the positive multipliers W⊤(t), and δead(t). An

illustration of this is shown in Figure 4.1.

The reduced system for (4.29) is

e(t) = Are(t), e(0) = e0,

and the boundary layer system is

dτ= −sign

(∂f

∂δead

)

f(t, e, ν + h(t, e)), ν(0) = δead0− h(t, e0). (4.33)

To apply Tikhonov’s theorem of (Theorem 2), it is necessary to show that all of its assump-

tions are satisfied. A1 is satisfied by noting that the function f and its partial derivatives

with respect to (t, e, δead) are continuous and bounded, h(t, e) ∂f

∂δead

(t, e, δead) has bounded

first derivatives with respect to its arguments, and ∂f∂e

(t, e, h(t, e)) is Lipshitz in e, uniformly

in t. Because the matrix Ar is Hurwitz by choice, the origin of the reduced system (4.33) is

an exponentially stable equilibrium point and there exists a Lyapunov function that satisfies

Page 31: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 4. Adaptive Controller for Nonaffine Single Input System 23

−20 −15 −10 −5 0 5 10 15 20−20

−15

−10

−5

0

5

10

15

20

δe

ad

Existence of Isolated Roots

δe

ad

hat WT Φ(α, δe

nom

− δe

ad

)

Figure 4.1: Intersection of the functions δead(t) and W⊤(t)Φ(α(t), δenom

(t) − δead(t)).

Page 32: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 4. Adaptive Controller for Nonaffine Single Input System 24

the inequalities of A2. To satisfy A3, note from (4.18) - (4.21) that

∂f

∂δead

= 1 −∂W⊤Φ(α, δenom

− δead)

∂δead

= 1 −∂w⊤Φ2(α, δenom

− δead)

∂δead

= 1 −

∑M

j=1 wj

∫ δenom−δead

0e−

(χ−χcj)⊤(χ−χcj

)

ρ2j dξ

∂δead

= 1 +M∑

j=1

wj

e−

(χ−χcj)⊤(χ−χcj

)

ρ2j

> b0 > 0, (4.34)

where j = 1, . . . ,M , wj’s are positive (Remark 3), and M,ρj, χ, χcj are introduced in (4.20).

Hence, linearization of the boundary layer system (4.33) with respect to ν implies that

the boundary layer system has locally exponentially stable origin. Following Remark 2,

Assumption A3 is satisfied. The complete controller consists of (4.23), (4.26), (4.30), (4.31)

and Tikhonov’s theorem ensures that for the system of equations given by (4.23), (4.31),

there exists a unique solution α, q that tracks αr, qr, and[

α(t)

q(t)

]

=

[

αr(t)

qr(t)

]

+O(ǫ).

4.6 Simulations

Consider the short-period dynamics of an F-16 model trimmed at an airspeed of 502 ft/sec

and angle of attack α = 2.11. From [15], the nominal system data are:

A =

[

−1.0190 1

0.8223 −1.0774

]

, b =

[

0

−0.1756

]

, (4.35)

which leads to open-loop system eigenvalues λ1 = −1.9554, λ2 = −0.1409. The commanded

reference input of interest to track is

rcmd(t) = −0.5

1 + et−8+

1

1 + et−30− 0.5.

The Ricatti equation is solved with the following weighting matrices:

Q =

[

8 0

0 0.5

]

, R = 0.01, (4.36)

Page 33: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 4. Adaptive Controller for Nonaffine Single Input System 25

which leads to the following LQR gains: klqr = [−16.8696 − 10.5911]. The new reference

input following (4.11) is defined as

r(t) = −5.6948rcmd(t) − 22.5291rcmd(t) − 29.2296rcmd(t), (4.37)

so that the reference model for the nominal values of the aircraft system is

xr(t) =

[

−1.0190 1

−2.1400 −2.9372

]

︸ ︷︷ ︸

Ar

xr(t) + br(t),

having its closed loop eigenvalues at λlqr = −1.9781± 1.1045i. The plot in Figure 4.4 shows

the tracking result of the affine system in the absence of uncertainties for initial conditions

αr0 = 2.11, qr0 = 0. Next, consider when f(α(t), δe(t)) cannot be neglected and is unknown.

For simulation purposes, the parameter σ is chosen as 0.15 so that the Gaussian has a width

of 60 (see Figure 4.2), a range that contains both high and low angles of attack. The constant

C0 is set to 0.3 so that at high angles of attack, a maximum of 30% control effectiveness

can be achieved, and the constant h = 3. Figure 4.3 demonstrates the complete structure

of f(α, δe). As seen from Figure 4.5, the performance of LQR is violated in the presence of

uncertainties and adaptive control must be implemented to restore desired system behavior.

The nonlinearity |f(α, δe)| ≤ 0.9 causes a 6 loss of tracking in α and an 8 loss of tracking

in q seen in Figure 4.6.

The state predictor is designed with 12 RBFs. Of these, 4 are Φ1(α)-type Gaussians dis-

tributed over α ∈ [−30, 30] with the step size equal to 60 and the width δ = 1. The remain-

ing 8 Φ2(α, δe)-type basis functions were distributed over α ∈ [−30, 30], δead∈ [−30, 30]

with step size 60 and width ρ = 5. The norm upper bound is W ∗ = 10, the lower bound

for the positive widths w is 0.01, and the adaptation gain is Γ = 0.2. The following state

predictor is implemented:[

˙α(t)˙q(t)

]

= Ar

[

α(t)

q(t)

]

+ b(

−δead(t) + θ⊤(t)Φ1(α(t)) + w⊤(t)Φ2(α(t), δe(t))

)

.

Then:

e(t) = Are(t) + b(

−δead(t) + θ⊤(t)Φ1(α(t)) + w⊤(t)Φ2(α(t), δe(t))

)

.

To achieve the desired performance, the following equation needs to be solved for adaptive

elevator control, δead:

δead(t) = θ⊤(t)Φ1(α(t)) + w⊤(t)Φ2(α(t), δenom

(t) − δead(t)),

Page 34: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 4. Adaptive Controller for Nonaffine Single Input System 26

−50 0 50

0.4

0.5

0.6

0.7

0.8

0.9

1

Gaussian as a function of angle of attack, C0 = 0.3, σ = 0.15 radians

α − α0 in degrees

(1 −

C0)e

−(α

− α

0)2 /2σ2 +

C0

Figure 4.2: Gaussian as a function of α with an angle of attack range of 60.

where δnom(t) is defined in (4.14). Obviously, this cannot be solved in terms of analytical

functions.

The fast dynamics are designed as:

−0.05δead(t) = δead

(t) − θ⊤(t)Φ1(α(t)) − w⊤(t)Φ2(α(t), δenom(t) − δead

(t)).

Initial conditions used for the simulations are:

[α(0) q(0)] = [2.11 0]

[α(0) q(0)] = [2.11 0].

The plots are given in in Figures 4.7,4.8,4.9. Figure 4.7 shows the closed-loop tracking

performance of the commanded reference input rcmd(t) by the estimator state α(t), the

reference state αr(t) and the actual state α(t). Figure 4.8 shows the closed-loop tracking

performance of the reference state qr(t) by the estimator state q(t) and the actual state q(t),

and Figure 4.9 shows the adaptive control effort δead(t) which closely matches the unknown

nonlinearity, f(α(t), δe(t)) as a function of time. We note the convergence ability of the

predictor to the system states and the asymptotic tracking of rcmd(t) by α. All the states

and control input remain in the domain of the RBF approximation.

Page 35: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 4. Adaptive Controller for Nonaffine Single Input System 27

−40 −30 −20 −10 0 10 20 30 40−2

−1.5

−1

−0.5

0

0.5

1

1.5

2

f(α,δe) as a function of control effort δ

e, C

0 = 0.3, σ = 0.15

control effort δe (degrees)

f(α,

δe)

Figure 4.3: f(α, δe) as a function of elevator control δe.

0 5 10 15 20 25 30−30

−20

−10

0

10

20

30Reference System Tracking of Commanded Input

time, t in seconds

rcmd(t) in degrees

αr(t in degrees)

qr(t) in degrees/sec

Figure 4.4: Short-period nominal system tracking with respect to defined commanded input

rcmd(t).

Page 36: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 4. Adaptive Controller for Nonaffine Single Input System 28

0 5 10 15 20 25 30−40

−30

−20

−10

0

10

20

30

40LQR Performance Violated in the Presence of Uncertainties

time, t in seconds

rcmd(t) in degrees

αr(t in degrees)

qr(t) in degrees/sec

Figure 4.5: LQR performance violated in the presence of uncertainties.

0 5 10 15 20 25 30−2

−1

0

1

2

3

4

5

6

7

8Loss of Tracking

time, t in seconds

degr

ees

α q

Figure 4.6: Loss of tracking of α and q caused by nonlinearity f(α, δe) of order O(0.9).

Page 37: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 4. Adaptive Controller for Nonaffine Single Input System 29

0 5 10 15 20 25 30−30

−20

−10

0

10

20

30Tracking Performance: ε = 0.05

time, t in seconds

α(t)

, deg

rees

rcmd(t)α

r(t)

α(t)hat α(t)

Figure 4.7: States α(t), αr(t), α(t) of short-period system.

0 5 10 15 20 25 30−30

−20

−10

0

10

20

30Tracking Performance: ε = 0.05

time, t in seconds

q(t)

, deg

rees

qr(t)

q(t)hat q(t)

Figure 4.8: States q(t), qr(t), q(t) of short-period system.

Page 38: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 4. Adaptive Controller for Nonaffine Single Input System 30

0 5 10 15 20 25 300

0.1

0.2

0.3

0.4

0.5

0.6

0.7

0.8

0.9

Adaptive Control Effort δe

ad

(t)

time, t in seconds

δe

ad

(t) in degrees

f(α(t), δe(t))

Figure 4.9: Adaptive elevator control, δead(t)of short-period system versus unknown nonlin-

earity f(α(t), δe(t)).

Page 39: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Chapter 5

Adaptive Controller for Nonaffine

Multi-Input System

5.1 Problem Formulation for Dutch-Roll Dynamics

From the six degree-of-freedom flat-earth, body-axis aircraft model, the kinematic Euler roll

rate equation is known to be

φ = p+ tan θ(q sinφ+ r cosφ), (5.1)

where p, q, r are the body axis roll, pitch and yaw rates respectively, θ is the pitch angle,

and φ is the roll angle. Denote the trimmed pitch angle as θ0. For small roll angle φ, the

following holds:

φ = p+ r tan θ0. (5.2)

For a trimmed angle of attack α0, one can write

ps = p cosα0 + r sinα0

rs = r cosα0 − p sinα0,(5.3)

where ps, rs are the stability axis roll and yaw rates. Solving (5.3) for p, r and directly

substituting into (5.2) yields

φ = (cosα0 + sinα0 tan θ0)ps + (cosα0 tan θ0 − sinα0)rs. (5.4)

31

Page 40: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 32

An additional relationship between flight path angle γ, pitch angle, and angle of attack at

zero bank angle and zero angle of sideslip (AOS) is

α0 = θ0 − γ0, (5.5)

which can be substituted into (5.4) to get

φ =cos γ0

cos θ0

ps +sin γ0

cos θ0

rs. (5.6)

The angle of sideslip dynamics in stability axis assuming small angles has the form

β =1

V(Yββ + Yrrs + Yδaδa + Yδrδr) +

(g cos θ0

V

)

φ− rs, (5.7)

where V is the true airspeed, g is the gravitational constant, and δa, δr are aileron and rudder

control. The terms Yβ, YrYδa , Yδr are aerodynamic stability and control derivatives that

change slowly with time and can be adequately approximated by constants. Additionally,

Yδa , Yδr are known to be small with respect to true airspeed V , so that for control design

purposes,

YδaV

≈YδrV

≈ 0. (5.8)

The full roll-yaw dynamics expressed in stability axis are

φ = cos γ0cos θ0

ps + sin γ0cos θ0

rs

β =Yβ

Vβ + Yr

Vrs + g cos θ0

Vφ− rs

ps = Lββ + Lpps + Lrrs + δl(ps, rs) + Lδa(β, δa) + Lδr(β, δr)

rs = Nββ +Npps +Nrrs + δn(ps, rs) +Nδa(β, δa) +Nδr(β, δr),

(5.9)

where δl and δn are incremental rolling moment and yawing moment that are generally

unknown functions of the rates ps, qs. Additionally, Lδa , Lδr , Nδa , Nδr are rolling and yaw

moments due to aileron and rudder deflection that are also unknown. However, some partial

knowledge is assumed from flight tests so that Lδa , Lδr , Nδa , Nδr can be decomposed into a

known (nominal) linear part and an unknown nonlinear part as follows

Lδa(β, δa) = Lδa0δa + Lδa(β, δa)

Lδr(β, δr) = Lδr0δr + Lδr(β, δr)

Nδa(β, δa) = Nδa0δa +Nδa(β, δa)

Nδr(β, δr) = Nδr0δr +Nδr(β, δr).

(5.10)

Page 41: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 33

Additionally, the nonlinear expressions δl(ps, rs) + Lδa(β, δa) + Lδr(β, δr) and δn(ps, rs) +

Nδa(β, δa) + Nδr(β, δr) can be expressed as a linear combination of two unknown functions

of β, ps, rs, δa, δr. Substituting (5.10), we get that

δl(ps, rs) + Lδa(β, δa) + Lδr(β, δr) = Lδa0(δa + f1(β, ps, rs, δa)) + Lδr0 (δr + f2(β, ps, rs, δr))

δn(ps, rs) +Nδa(β, δa) +Nδr(β, δr) = Nδa0(δa + f1(β, ps, rs, δa)) +Nδr0

(δr + f2(β, ps, rs, δr)).

Substituting this expression into (5.9) and re-writing the dynamics in state space form gives

β(t)

φ(t)

ps(t)

rs(t)

=

V

g cos θ0V

Yp

V−(1 − Yr

V)

0 0 cos γ0cos θ0

sin γ0cos θ0

Lβ 0 Lp Lr

Nβ 0 Np Nr

︸ ︷︷ ︸

A

β(t)

φ(t)

ps(t)

rs(t)

︸ ︷︷ ︸

x(t)

+

0 0

0 0

Lδa0Lδr0

Nδa0Nδr0

︸ ︷︷ ︸

B

[

δa(t) + f1(β(t), ps(t), rs(t), δa(t))

δr(t) + f2(β(t), ps(t), rs(t), δr(t))

]

,

y(t) =

[

1 0 0 0

0 1 0 0

]

︸ ︷︷ ︸

C⊤

β(t)

φ(t)

ps(t)

rs(t)

,

β(0) = β0, φ(0) = φ0

ps(0) = ps0 , rs(0) = rs0 ,(5.11)

where C is the output matrix that defines the outputs of interest for tracking. The con-

trollability matrix has rank = 4, so the system is controllable. Additionally, the A matrix

is Hurwitz but has slow eigenvalues that do not achieve desired system properties such as

settling time and overshoot. Wind tunnel data shows that the nonlinear terms f1 and f2

have the structure

f1(β, ps, rs, δa) =

(

(1 − C1)e− β2

2σ21 + C1

)

(tanh (δa + h1) + tanh (δa − h1) + 0.001δa) +

D1 cos (A1ps − ω1) sin (A2rs − ω2) +D2 (5.12)

f2(β, ps, rs, δr) =

(

(1 − C2)e− β2

2σ22 + C2

)

(tanh (δr + h2) + tanh (δr − h2) + 0.001δr) +

D3 cos (A3ps − ω3) sin (A4rs − ω4) +D4. (5.13)

The positive constants C1, C2 represent the percentage of control effectiveness available at

high angles of sideslip and are always less than unity. When the system is at trim sideslip

Page 42: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 34

angle, full aileron and rudder effectiveness is obtained. The parameters σ1, σ2 define the

width of the Gaussian functions e− β2

2σ21 , e

− β2

2σ22 . An additional small aileron and rudder control

induced moment term is introduced so that for small control efforts, the control surface is

within a boundary layer and does not produce an aerodynamic moment. As the control

effort increases, the surface stalls and fails to produce any additional moment as the system

reaches saturation, which is approximated by the hyperbolic tangent functions where h1, h2

are constants. Lastly, the rolling and yaw moments can be locally approximated by sine

functions where the amplitude and phase are designed based on wind-tunnel data analysis.

The control objective is to design a control signal

δ(t) =

[

δa(t)

δr(t)

]

=

[

δanom(t) + δaad

(t)

δrnom(t) + δrad

(t)

]

(5.14)

such that the angles β, φ track a a smooth commanded reference input Rcmd(t). First,

a nominal controller is designed to achieve desired performance for the linearized system

in the absence of uncertainties. Then, an adaptive element is augmented to the nominal

controller to achieve the tracking objective in the presence of uncertainties.

5.2 Nominal Dutch-Roll Model

The linear affine system for the Dutch-Roll dynamics of (5.11) in the absence of uncertainties

is

βr(t)

φr(t)

psr(t)

rsr(t)

= Ar

βr(t)

φr(t)

psr(t)

rsr(t)

︸ ︷︷ ︸

xr(t)

+BR(t), (5.15)

yr(t) = C⊤

βr(t)

φr(t)

psr(t)

rsr(t)

,

βr(0) = βr0 , φr(0) = φr0 , psr(0) = psr0

, rsr(0) = rsr0

,

Page 43: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 35

where

Ar = A−B

[

Klqr1,1 Klqr1,2 Klqr1,3 Klqr1,4

Klqr2,1 Klqr2,2 Klqr2,3 Klqr2,4

]

,

︸ ︷︷ ︸

K⊤

lqr

(5.16)

and the LQR gain Klqr = −R−1B⊤P is found by solving the matrix Riccati equation for the

unique 4 × 4 positive definite symmetric matrix P :

Q+ PA+ A⊤P − PBR−1B⊤P = 0 (5.17)

given positive definite symmetric control weights Q ∈ R4 and R ∈ R

2.

Consider

R(t) = kgRcmd(t), (5.18)

where kg is the feedforward gain chosen as:

kg = −1

C⊤A−1r B

(5.19)

to achieve a unity DC gain between the commanded signal Rcmd(t) and the system output

yr(t) so that yr(t) → Rcmd(t) as t→ ∞. Thus, it follows that the nominal controller is given

by

[

δanom(t)

δrnom(t)

]

= −K⊤lqr

β(t)

φ(t)

ps(t)

rs(t)

+ R(t). (5.20)

Substituting the nominal controller into the roll-yaw dynamics (5.11) gives

β(t)

φ(t)

ps(t)

rs(t)

= Ar

β(t)

φ(t)

ps(t)

rs(t)

+BR(t) +B

[

δaad(t) + f1(β(t), ps(t), rs(t), δa(t))

δrad(t) + f2(β(t), ps(t), rs(t), δr(t))

]

,

y(t) = C⊤

β(t)

φ(t)

ps(t)

rs(t)

, β(0) = β0, φ(0) = φ0, ps(0) = ps0 , rs(0) = rs0 . (5.21)

Page 44: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 36

5.3 Multi-Input RBF approximation

From (5.21), the unknown nonlinearities of the system are[

f1(β(t), ps(t), rs(t), δa(t))

f2(β(t), ps(t), rs(t), δr(t))

]

, (5.22)

which will be approximated using neural networks. Using the structure of f1 and f2 given

in (5.4), (5.5), define the Jacobian matrix of (5.22) as

P(β, δa, δr) =

∂f1∂δa

(β, δa)∂f1∂δr

(β, δa)

∂f2∂δa

(β, δr)∂f2∂δr

(β, δr)

=

C1(β) τ1(δa)︸ ︷︷ ︸

P1(β,δa)

0

0 C2(β) τ2(δr)︸ ︷︷ ︸

P2(β,δr)

, (5.23)

where

C1(β) =

(

(1 − C1)e− β2

2σ21 + C1

)

≥ C1 > 0,

C2(β) =

(

(1 − C2)e− β2

2σ22 + C2

)

≥ C2 > 0, (5.24)

τ1(δa) = 2.001 − tanh2 (δa + h1) − tanh2 (δa − h1) ≥ 0.001,

τ2(δr) = 2.001 − tanh2 (δr + h2) − tanh2 (δr − h2) ≥ 0.001,

and C1, C2, h1, h2 are positive constants with C1, C2 less than one. For the roll-yaw dynamical

system, the diagonal elements of the Jacobian matrix (5.23) are strictly positive and P is

non-singular for every t ≥ 0 and β(t), δa(t), δr(t) ∈ R. Leibnitz Formula allows the functions

f1, f2 to be represented as

f1(β, δa) = f1(β, 0) +

∫ δa

0

P1(β, ξ1) dξ1

f2(β, δr) = f2(β, 0) +

∫ δr

0

P2(β, ξ2) dξ2

where the integrals must be positive by positivity of P1 and P2. Each component of f1, f2

can be approximated by a linear combination of radial basis functions (RBF) over a compact

Page 45: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 37

set with arbitrarily small approximation error. In the same manner as in the single-input

short-period dynamics case, consider two sets of radial basis functions φ1, φ2 : R × R → R

given by

φ1(β, δa) = φ1,1(β) + φ1,2(β, δa) (5.25)

φ2(β, δr) = φ2,1(β) + φ2,2,(β, δr) (5.26)

with the following definitions:

φ1,1(β) , θ⊤1 Φ1,1(β) =

M1∑

i=1

θ1,i e−

(β−βci)⊤(β−βci)

δ21,i , δ1,i > 0 (5.27)

φ1,2(β, δa) , w⊤1 Φ1,2(β, δa) =

N1∑

j=1

w1,j

∫ δa

0

e−

(χ1−χ1,cj)⊤(χ1−χ1,cj

)

ρ21,j dξ1

, (5.28)

χ1 , [β ξ1]⊤, ρ1,j > 0,

φ2,1(β) , θ⊤2 Φ2,1(β) =

M2∑

i=1

θ2,i e−

(β−βci)⊤(β−βci)

δ22,i , δ2,i > 0 (5.29)

φ2,2(β, δr) , w⊤2 Φ2,2(β, δr) =

N2∑

j=1

w2,j

∫ δr

0

e−

(χ2−χ2,cj)⊤(χ2−χ2,cj

)

ρ22,j dξ2

, (5.30)

χ2 , [β ξ2]⊤, ρ2,j > 0,

where M1,M2, N1, N2, are positive constants, the vectors

χ1,ck , [βck δack]⊤ k ∈ 1, . . . , N1

χ2,cl , [βcl δrcl]⊤ l ∈ 1, . . . , N2

represent the fixed centers of the basis, δ1,i, δ2,j, σ1,k, σ2,l are fixed width parameters, while

θ1,i, θ2,k ∈ R, w1,k, w2,l ∈ R+ are the unknown constant parameters. It is straightforward to

verify from (5.27) - (5.30) that

sgn

(∂φ1

∂δa(β, δa)

)

= sgn

(∂φ1,2

∂δa(β, δa)

)

> 0

sgn

(∂φ2

∂δr(β, δr)

)

= sgn

(∂φ2,2

∂δr(β, δr)

)

> 0. (5.31)

Thus, over a compact set of initial conditions of interest,

f1(β, δa) = W⊤1 Φ1(β, δa) + ε1(β, δa), |ε1(β, δa)| ≤ ε∗1, (5.32)

f2(β, δr) = W⊤2 Φ2(β, δr) + ε2(β, δr), |ε2(β, δr)| ≤ ε∗2, (5.33)

Page 46: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 38

where

W1 = [θ⊤1 w⊤1 ]⊤ = [θ1,1 . . . θ1,M1 w1,1 . . . w1,N1 ]

⊤,

W2 = [θ⊤2 w⊤2 ]⊤ = [θ2,1 . . . θ2,M2 w2,1 . . . w2,N2 ]

⊤,

Φ1(β, δa) = [Φ⊤1,1(β) Φ⊤

1,2(β, δa)]⊤,

Φ2(β, δr) = [Φ⊤2,1(β) Φ⊤

2,2(β, δr)]⊤

with constant coefficients w1,1, . . . , w1,N1 , w2,1, . . . , w2,N2 > 0 and ε1(β, δa), ε2(β, δr) are the

bounded approximation errors over the sets (β, δa) ∈ Ωβ × Ωδa , and (β, δr) ∈ Ωβ × Ωδr

respectively for compact sets Ωβ,Ωδa ,Ωδr ∈ R.

5.4 Roll-Yaw Dynamics State Predictor

Consider the following state predictor using a series parallel model for the dynamics of (5.11):

˙β(t)˙φ(t)˙ps(t)˙rs(t)

=A

β(t)

φ(t)

ps(t)

rs(t)

︸ ︷︷ ︸

x(t)

+BR(t) +B

[

δaad+ W⊤

1 (t)Φ1(β(t), δa(t))

δrad+ W⊤

2 (t)Φ2(β(t), δr(t))

]

, (5.34)

β(0) = β0, , φ(0) = φ0, ps(0) = ps0 , rs(0) = rs0 ,

where the Hurwitz matrix Ar is introduced in (5.16), R is given in (5.18), and W1, W2 are

the estimates of the unknown constant vectors W1,W2. Define the prediction error signal

es(t) =

β(t) − β(t)

φ(t) − φ(t)

ps(t) − ps(t)

rs(t) − rs(t)

. (5.35)

The prediction error dynamics are:

es(t) = Ares(t) +B

[

W⊤1 (t)Φ1(β(t), δa(t)) − ε1(β(t), δa(t))

W⊤2 (t)Φ2(β(t), δr(t)) − ε2(β(t), δr(t))

]

,

= Ares(t) +B1

(

W⊤1 (t)Φ1(β(t), δa(t)) − ε1(β(t), δa(t))

)

+

B2

(

W⊤2 (t)Φ2(β(t), δr(t)) − ε2(β(t), δr(t))

)

, (5.36)

Page 47: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 39

with initial conditions es,1(0) = β(0)−β0, es,2(0) = φ(0)−φ0, es,3(0) = ps(0)−ps0 , es,4(0) =

rs(0)− rs0 , the parameter errors W1(t) = W1(t)−W1(t), W2(t) = W2(t)−W2(t), and B1, B2

denoting the first and second columns of B respectively. That is,

B1 =

0

0

Lδa0

Nδa0

, B2 =

0

0

Lδr0Nδr0

. (5.37)

Theorem 4 The adaptive law

˙W1(t) = Γ1Proj

(

W1(t),−Φ1(β(t), δa(t))e⊤s (t)P0B1

)

, W1(0) = W10

˙W2(t) = Γ2Proj

(

W2(t),−Φ2(β(t), δr(t))e⊤s (t)P0B2

)

, W2(0) = W20 , (5.38)

where Proj (·, ·) denotes the Projection operator [2], P0 = P⊤0 > 0 solves the Lyapunov

equation A⊤r P0 + P0Ar = −Q0 for a matrix Q0 > 0, and Γ⊤

1 = Γ1 > 0,Γ⊤2 = Γ2 > 0 are

matrices of adaptation gains, ensures that the prediction error dynamics (5.36) are ultimately

bounded with respect to es(t), W1(t), and W2(t).

Proof. Consider the following positive definite Lyapunov function candidate

V (es(t), W1(t), W2(t)) = e⊤s (t)P0es(t) + W⊤1 (t)Γ−1

1 W1(t) + W⊤2 (t)Γ−1

2 W2(t). (5.39)

Taking the time derivative yields

V (es(t), W1(t), W2(t)) = e⊤s (t)P0es(t) + e⊤s (t)P0es(t) + ˙W⊤1 (t)Γ−1

1 W1(t) + W⊤1 (t)Γ−1

1˙1W (t) +

˙W⊤2 (t)Γ−1

2 W2(t) + W⊤2 (t)Γ−1

2˙2W (t)

= e⊤s (t)A⊤r P0es(t) + e⊤s (t)P0Ares(t) +

(

Φ⊤1 (β(t), δa(t))W1(t) − ε1(β(t), δa(t))

)

B⊤1 P0es(t) +

(

Φ⊤2 (β(t), δr(t))W2(t) − ε2(β(t), δr(t))

)

B⊤2 P0es(t) +

e⊤s (t)P0B1

(

W⊤1 (t)Φ1(β(t), δa(t)) − ε1(β(t), δa(t))

)

+

e⊤s (t)P0B2

(

W⊤2 (t)Φ2(β(t), δr(t)) − ε2(β(t), δr(t))

)

+(

Γ1Proj(W1(t),−Φ1(β(t), δa(t))e⊤s (t)P0B1)

)⊤

Γ−11 W1(t) +

W⊤1 (t)Γ−1

1

(

Γ1Proj(W1(t),−Φ1(β(t), δa(t))e⊤s (t)P0B1)

)

+(

Γ2Proj(W2(t),−Φ2(β(t), δr(t))e⊤s (t)P0B2)

)⊤

Γ−12 W2(t) +

W⊤2 (t)Γ−1

2

(

Γ2Proj(W2(t),−Φ2(β(t), δr(t))e⊤s (t)P0B2)

)

Page 48: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 40

≤ −e⊤s (t)Q0es(t) − 2e⊤s (t)P0B1 ε1(β(t), δa(t)) −

2e⊤s (t)P0B2 ε2(β(t), δr(t))

≤ −‖es(t)‖2λmin(Q0) + 2‖es(t)‖ ‖P0B1‖ε

∗1 + 2‖es(t)‖ ‖P0B2‖ǫ

∗2

= −‖es(t)‖(

λmin(Q0)‖es(t)‖ − 2‖P0B1‖ ǫ∗1 − 2‖P0B2‖ ǫ

∗2

)

,

where λmin(Q0) denotes the minimum eigenvalue of Q0. It follows that outside the compact

set

‖es‖ ≤ 2

(ε∗1‖P0B1‖ + ε∗2‖P0B2‖

λmin(Q0)

)⋂

‖W1‖ ≤ W ∗1

‖W2‖ ≤ W ∗2

, (5.40)

where W ∗1 ,W

∗2 are determined by the Projection operator and ‖ · ‖ denotes the 2-norm,

the derivative of the Lyapunov function candidate, V (t) is negative. Applying well-known

invariant set arguments, it can be concluded that if the initial errors are within the largest

level set of the Lyapunov function (5.39), for which the RBF approximation has been defined,

then the signals es(t), W1(t), W2(t) are ultimately bounded and the ultimate bound ζ can

be any number greater than the value of the Lyapunov function on the minimum level set

embracing the compact set (5.40). That is,

‖ζ‖ >

∥∥∥∥V

(

2

(ε∗1‖P0B1‖ + ε∗2‖P0B2‖

λmin(Q0)

)

,W ∗1 ,W

∗2

)∥∥∥∥

(5.41)

= 4

(

(ε∗1‖P0B1‖ + ε∗2‖P0B2‖)2

λ2min(Q0)

)

‖λmax(P0)‖ + (W ∗1 )2‖Γ−1

1 ‖, (W ∗2 )2‖Γ−1

2 ‖,

where V is the Lyapunov function (5.39).

Remark 4 Notice that boundedness of the prediction error es(t) and the parameter errors

W1(t), W2(t) does not imply stability of the overall system. It must be proven additionally

that the state predictor dynamics (5.34) achieves the tracking objective in the presence of

feedback, implying that β(t), φ(t), ps(t), rs(t) remain bounded to lead to the system states

β(t), φ(t), ps(t), rs(t) boundededness.

Remark 5 Notice that since w1 and w2 are positive, the compact set in the application of

the Projection operator can be selected so that w1(t), w2(t) remain positive for all t ≥ 0, that

is, w1(t) > w10 > 0, w2(t) > w20 > 0.

Page 49: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 41

5.5 MIMO Control Design

Let the tracking error signal between the predictor and the reference system be

e(t) =

β(t) − βr(t)

φ(t) − φr(t)

ps(t) − psr(t)

rs(t) − rsr(t)

. (5.42)

The open loop time-varying tracking error dynamics are:

e(t) = Are(t) +B

[

δaad(t) + W⊤

1 (t)Φ1(β(t), δa(t))

δrad(t) + W⊤

2 (t)Φ2(β(t), δr(t))

]

,

e1(0) = β0 − βr0 , e2(0) = φ0 − φr0 , e3(0) = ps0 − psr0, e4(0) = rs0 − rsr0

. (5.43)

Dynamic inversion based controller is to be determined from the solution of the following

system of equations

[

δaad

δrad

]

=

[

−W⊤1 Φ1(β, δanom

+ δaad)

−W⊤2 Φ2(β, δrnom

+ δrad)

]

, (5.44)

which would result in the stable closed-loop tracking error dynamics e(t) = Are(t). In

general, (5.44) cannot be solved explicitly for δaad, δrad

, so an approximation of the dynamic

inversion controller is constructed via fast dynamics:

ǫ

[

δaad(t)

δrad(t)

]

= −P(t, e(t), δaad(t), δrad

(t))f(t, e(t), δaad(t), δrad

(t)), 0 < ǫ≪ 1,

δaad(0) = δaad0

, δrad(0) = δrad0

, (5.45)

where

f(t, e, δaad, δrad

) =

[

δaad+ W⊤

1 (t)Φ1(β(t), δanom(t) + δaad

)

δrad+ W⊤

2 (t)Φ2(β(t), δrnom(t) + δrad

)

]

(5.46)

and

P(t, e, δaad, δrad

) =

W⊤1 (t) ∂Φ1

∂δaad

(β(t), δaad) + 1 0

0 W⊤2 (t) ∂Φ2

∂δrad

(β(t), δrad) + 1

(5.47)

Page 50: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 42

is the Jacobian matrix of f(t, e, δaad, δrad

). To prove existence of a root for (5.46), recall

Implicit Function Theorem of [1]:

Implicit Function Theorem Assume that f : Rn×R

m → Rn is continuously differentiable

at each point (x, y) of an open set S ⊂ Rn × R

m. Let (x0, y0) be a point in S for which

f(x0, y0) = 0 and for which the Jacobian matrix ∂f

∂x(x0, y0) is nonsingular. Then there exist

neighborhoods u ⊂ Rn of x0 and V ⊂ R

m of y0 such that for each y ∈ V , the equation

f(x, y) = 0 has a unique solution x ∈ U . Moreover, this solution can be given as x = g(y),

where g is continuously differentiable at y = y0.

It is straightforward to verify from the definition of the RBF approximations (5.27) - (5.30)

that the determinant of P is

det(P(t, δaad, δrad

)) =

(

W⊤1 (t)

∂Φ1

∂δaad

(β(t), δaad) + 1

)(

W⊤2 (t)

∂Φ2

∂δrad

(β(t), δrad) + 1

)

=

(

w⊤1 (t)

∂Φ1,2

∂δaad

(β(t), δaad) + 1

)(

w⊤2 (t)

∂Φ2,2

∂δrad

(β(t), δrad) + 1

)

. (5.48)

In the light of Remark 5, all the elements of w1 and w2 are positive and ∂Φ1,2

∂δaad

(t, e, δaad),

∂Φ2,2

∂δrad

(t, e, δrad) are positive-valued Gaussians, so the determinant of P is always positive.

Furthermore, the matrix P⊤(t, e, δaad1, δrad1

)P(t, e, δaad2, δrad2

) is strictly positive definite, i.e.

there exists c1 > 0 such that

ξ⊤P⊤(t, e, δaad1, δrad1

)P(t, e, δaad2, δrad2

)ξ ≥ 2c1‖ξ‖2, ∀ξ ∈ R

2. (5.49)

The proof is straightforward by computing the left-hand side of (5.49) to obtain

ξ⊤P⊤(t, e, δaad1, δrad1

)P(t, e, δaad2, δrad2

)ξ =(

w⊤1 (t)

∂Φ1,2

∂δaad1

(β(t), δaad1) + 1

)(

w⊤1 (t)

∂Φ1,2

∂δaad2

(β(t), δaad2) + 1

)

ξ21 +

(

w⊤2 (t)

∂Φ2,2

∂δrad1

(β(t), δrad1) + 1

)(

w⊤2 (t)

∂Φ2,2

∂δrad2

(β(t), δrad2) + 1

)

ξ22

≥ ξ21 + ξ2

2 ,

and it is easy to see that c1 = 12

is one choice of c1 that satisfies the inequality of (5.49).

Hence, we apply Implicit Function Theorem to guarantee the existence of a unique root

within a neighborhood. Let h(t, e, δa, δr) denote this isolated root of f(t, e, δa, δr) and define

τ =t

ǫ, v(t, β) =

[

δaad(t)

δrad(t)

]

− h(t, β). (5.50)

Page 51: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 43

The reduced system for (5.42), (5.43), (5.45) is given by:

e(t) = Are(t), e(0) = e0, (5.51)

and the boundary layer system is

dτ= −P(t, e, ν + h(t, e))f(t, e, ν + h(t, e)), v(0) , ν0 =

[

δa0

δr0

]

− h(t, e0). (5.52)

The main result for the roll-yaw dynamics is stated as follows:

Theorem 5 For the dynamics of (5.11), the boundary layer system (5.52) has exponentially

stable origin. Moreover, the system given by (5.34), (5.45) has a unique solution

β(t)

φ(t)

ps(t)

rs(t)

=

βr(t)

φr(t)

psr(t)

rsr(t)

+O(ǫ). (5.53)

Proof. We must verify that the assumption in Tikhonov’s theorem are satisfied. Verification

of A1 is straightforward, since the function f and its first partial derivatives with respect

to t are continuous and bounded, h(t, e) and ∂f∂δa

(t, e, ν + h(t, e)), ∂f∂δr

(t, e, ν + h(t, e)) have

bounded first derivatives with respect to their arguments, and ∂f∂e

(t, e, ν + h(t, e)) is Lipshitz

in e, uniformly in t. Since Ar is Hurwitz by definition, the origin is an exponentially stable

equilibrium point for the reduced system given in (5.51), and, hence, A2 is satisfied. For

verification of A3, consider the following Lyapunov function candidate for the boundary layer

system (5.52):

V (t, e, ν(τ)) =1

2f⊤(t, e, ν(τ) + h(t, e, z))f(t, e, ν(τ) + h(t, e)). (5.54)

Since f(t, e, h(t, e)) = 0, then V (t, e, 0) = 0. Therefore

V (t, e, ν) =

L

∇V (t, e, s)ds, (5.55)

where∫

Lassumes integration along the pass L from zero to ν and

∇V (t, e, ν) = f⊤(t, e, ν + h(t, e, z))P(t, e, ν + h(t, e)). (5.56)

Page 52: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 44

Since

∂f(t, e, ν + h(t, e))

∂ν= P(t, e, ν + h(t, e)), (5.57)

then

f(t, e, ν + h(t, e)) =

L

P(t, e, s+ h(t, e))ds. (5.58)

Hence, it follows from (5.55) that

V (t, e, ν) =

L

(∫

L1

P(t, e, s1 + h(t, e))ds1

)⊤

P(t, e, s+ h(t, e)) ds,

and consequently,

V (t, e, ν) =

L

L1

(ds1)⊤P⊤(t, e, s1 + h(t, e))P(t, e, s+ h(t, e)) ds, (5.59)

where∫

L,∫

L1assume integration along the pass L and L1 from zero to ν, s, respectively.

From (5.49), it follows then that

V (t, e, ν) ≥

L

L1

2c1(ds1)⊤ds (5.60)

=

∫ ||ν||

0

∫ χ

0

2c1dξdχ.

Therefore,

V (t, e, ν) ≥ c1||ν||2, (5.61)

where c1 = 12. Condition A1 implies that there exists positive c2 such that V (t, e, ν) ≤ c2‖ν‖

2,

which along with (5.61), verifies (3.19). Using the relationships in (5.52) and (5.54), one

obtains

V (t, e, ν) = −f⊤(t, e, ν + h(t, e))P(t, e, ν + h(t, e))P⊤(t, e, ν + h(t, e))f(t, e, ν + h(t, e)),

which implies that V (t, e, ν) ≤ −2c1V (t, e, ν) ≤ −2c21‖ν‖2, and this proves that (3.20) holds

with c3 = c21. Hence, A3 holds, and the boundary layer (5.52) has exponentially stable

origin. Following Tikhonov’s theorem, we can conclude that there exists a unique solution,

β, φ, ps, rs that tracks βr, φr, psr, rsr

with an error of order O(ǫ).

Page 53: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 45

5.6 Dutch-Roll Simulations

For our simulation we use the lateral/directional model of F-16 from [15] flying at sea level

with an airspeed of 502 ft/s and angle of attack α = 2.11. The model matrices are given as

A =

−0.3220 0.0640 0.0364 −0.9917

0 0 1 0.0393

−30.6490 0 −3.6784 0.6646

8.5395 0 −0.0254 −0.4764

, B =

0 0

0 0

−0.7331 0.1315

−0.0319 −0.0620

,

and its open-loop eigenvalues are:

λ1 = −3.6153

λ2,3 = −0.4237 ± 3.0635i

λ4 = −0.0142.

Note that the Dutch-Roll system is stable, but that its eigenvalues are slow. Next we select

our reference model by solving the Riccati equation with the following weighted matrices:

Q =

10 0 0 0

0 100 0 0

0 0 0 0

0 0 0 100

, R =

[

1 0

0 0.1

]

, (5.62)

so that

klqr =

[

10.6901 −9.5824 −2.0328 −6.1944

−0.3982 −0.2043 −0.4170 −27.0142

]

(5.63)

and

Am =

−0.3220 0.0640 0.0364 −0.9917

0 0 1 0.0393

−22.7599 −6.9980 −5.1138 −0.3242

8.8560 −0.3183 −0.1161 −2.3489

.

The eigenvalues of the reference model are:

λ1,2 = −2.6518 ± 0.6710i

λ3,4 = −1.2405 ± 2.9696i.

Page 54: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 46

The commanded reference input of interest to track is

Rcmd(t) =

[

0.2(− 0.5

1+et−8 + 11+et−30 − 0.5

)

0.2(− 0.5

1+et−8 + 11+et−30 − 0.2

)

]

.

In the absence of uncertainties, the nominal system behaves optimally using the LQR con-

troller. Setting

kg =

[

−2.9031 −9.9924

156.5907 −2.4300

]

, (5.64)

the angles β, φ track Rcmd 5.1. Initial conditions used for the nominal system are βr0 =

0, φr0 = 0, psr0= 0/sec, rsr0

= 0/sec. To insert uncertainties into the roll-yaw dy-

namics, explicit expressions must be found for the nonlinearities f1(β, ps, rs, δa, δr) and

f2(β, ps, rs, δa, δr) introduced in (5.4) - (5.5) for simulations purposes. Towards that end,

the values of the constants C1, C2, σ1, σ2 and Di, Ai, ωi, for i = 1, 2, 3, 4, are found by

analyzing wind-tunnel data from [15] for an F-16 at angle of attack α = 0 (Table 5.1) and

α = 5 (Table 5.2). The two data sets are averaged to obtain an approximation at α ≈ 2.11

in order to remain consistent with the rest of the aircraft data. Using this averaged data set,

curve-fitting methods can be applied to find approximations that are of the form (5.4), (5.5).

From Figures 5.4 - 5.5, the approximations on f1(β, ps, rs, δa, δr) and f2(β, ps, rs, δa, δr) are

shown along with the wind-tunnel data with the constant parameters chosen as

A1 = 0.1 A2 = 0.1 A3 = 0.1 A4 = 0.1

D1 = 0.075 D2 = 0.0016 D3 = 0.45 D4 = 0

ω1 = 1.5 ω2 = 0 ω3 = 1.5 ω4 = 0

C1 = 0.3 C3 = 0.3 h1 = 7 h2 = 4

σ1 = 0.15 σ2 = 0.15.

(5.65)

Physically, this means that at high sideslip angle, only 30% of the control is available to the

system. The Gaussian parameters σ1, σ2 are chosen so that the Gaussian e−β2

2σ2 has a width

of 60, a reasonable range to assume for high angle manuevers. The curve-fit approximation

assumes β ∈ [30, 30], ps ∈ [−360, 360], rs ∈ [−90, 90], δa ∈ [−21.5, 21.5], and δr ∈

[−30, 30], which is seen to be most accurate for sideslip angle range β ∈ [−20, 20].

Figures 5.2 shows that the performance of the LQR controller is violated when uncertainties

are present in the system. The uncertainties f1, f2 of order O(1) cause β to vary only slightly,

but φ tracking is off by almost 30 (Figure 5.3). Hence, it is necessary to use adaptive control

to compensate for these uncertainties to recover the optimal performance.

Page 55: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 47

β δl δn Lδa Lδr Nδa Nδr

−30 0 0 -0.053 0.014 -0.017 -0.052

−20 -0.017 0.042 -0.053 0.014 -0.016 -0.043

−10 -0.022 0.076 -0.052 0.011 -0.006 -0.038

0 -0.023 0.106 -0.051 0.015 -0.010 -0.045

10 -0.022 0.076 -0.048 0.013 -0.014 -0.041

20 -0.017 0.042 -0.048 0.010 -0.004 -0.036

30 0 0 -0.047 0.011 -0.003 -0.027

Table 5.1: Wind Tunnel Data of Aerodynamic and Control Derivatives at α = 0

β δl δn Lδa Lδr Nδa Nδr

−30 0 0 -0.056 0.010 -0.013 -0.052

−20 -0.024 0.042 -0.053 0.014 -0.016 -0.046

−10 -0.034 0.074 -0.051 0.012 -0.006 -0.040

0 -0.037 0.106 -0.052 0.014 -0.009 -0.045

10 -0.034 0.074 -0.049 0.013 -0.012 -0.041

20 -0.024 0.042 -0.047 0.011 -0.002 -0.036

30 0 0 -0.045 0.011 -0.005 -0.028

Table 5.2: Wind Tunnel Data of Aerodynamic and Control Derivatives at α = 5

β δl δn Lδa Lδr Nδa Nδr

−30 0 0 -0.055 0.012 -0.015 -0.052

−20 -0.021 0.042 -0.053 0.014 -0.016 -0.045

−10 -0.028 0.075 -0.052 0.012 -0.006 -0.039

0 -0.030 0.106 -0.052 0.015 -0.001 -0.045

10 -0.028 0.075 -0.049 0.013 -0.013 -0.041

20 -0.021 0.042 -0.048 0.011 -0.003 -0.036

30 0 0 -0.046 0.011 -0.004 -0.028

Table 5.3: Averaged Wind Tunnel Data of Aerodynamic and Control Derivatives to Approx-

imate α ≈ 2.11

Page 56: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 48

The state predictor is designed with two sets of 24 RBFs. For each of the sets, 8 are Φi,1(β)-

type Gaussians distributed over β ∈ [−30, 30] with the step size equal to 60 and width

δ1, δ2 = 1 for i = 1, 2. The remaining 16 were Φ1,2(β, δa),Φ2,2(β, δr)-type basis functions

distributed over β ∈ [−30, 30], δaad∈ [−21.5, 21.5], and δrad

∈ [−30, 30] with width

ρ1 = ρ2 = 5. The norm upper bound is W ∗1 = W ∗

2 = 10, the lower bound for the positive

widths w1, w2 is 0.01, and the adaptation gain Γ1 = Γ2 = 0.2. The state predictor is

ˆβ(t)ˆφ(t)ˆps(t)ˆrs(t)

= Ar

β(t)

φ(t)

ps(t)

rs(t)

+B

[

δa(t) + θ⊤1 (t)Φ1,1(β(t)) + w⊤1 (t)Φ1,2(β(t), δa(t))

δr(t) + θ⊤2 (t)Φ2,1(β(t)) + w⊤2 (t)Φ2,2(β(t), δr(t))

]

(5.66)

and the error dynamics are

e(t) = Are(t) +B

[

δaad(t) + θ⊤1 (t)Φ1,1(β(t)) + w⊤

1 (t)Φ1,2(β(t), δa(t))

δrad(t) + θ⊤2 (t)Φ2,1(β(t)) + w⊤

2 (t)Φ2,2(β(t), δr(t))

]

. (5.67)

For desired performance, the following equation needs to be solved for adaptive aileron and

rudder control, δaad, δrad

:[

δaad(t)

δrad(t)

]

=

[

−θ⊤1 (t)Φ1,1(β(t)) + w⊤1 (t)Φ1,2(β(t), δanom

(t) + δaad)

−θ⊤2 (t)Φ2,1(β(t)) + w⊤2 (t)Φ2,2(β(t), δrnom

(t) + δrad)

]

, (5.68)

where δanom, δrnom

has been defined in (5.20). The fast dynamics are designed as

−0.05

[

δaad(t)

δrad(t)

]

= P(t, e, δaad(t), δrad

(t))f(t, e, δaad(t), δrad

(t)), (5.69)

where

P(t, e, δaad, δrad

) =

w⊤1 (t)Φ1,2(β(t), δanom

(t) + δaad) + 1 0

0 w⊤2 (t)Φ2,2(β(t), δrnom

(t) + δrad)

and

f(t, e, δaad, δrad

) =

[

δaad(t) + θ⊤1 (t)Φ1,1(β(t)) + w⊤

1 (t)Φ1,2(β(t), δanom(t) + δaad

)

δrad(t) + θ⊤2 (t)Φ2,1(β(t)) + w⊤

2 (t)Φ2,2(β(t), δrnom(t) + δrad

)

]

.

Initial conditions used for the simulations are

β0

φ0

ps0rs0

=

0

0

0/sec

0/sec

,

β0

φ0

ps0rs0

=

0

0

0/sec

0/sec

.

Page 57: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 49

0 5 10 15 20 25 30−6

−4

−2

0

2

4

6

8

10

Dutch−Roll Angle βr and φ

r Tracking of Commanded Input

time, t in seconds

degr

ees

Rcmd1

(t)

Rcmd2

(t)

βr(t)

φr(t)

Figure 5.1: Dutch-roll nominal system βr(t) and φr(t) tracking of commanded input Rcmd(t).

The plots in Figures 5.6 - 5.8 show the tracking performance with the augmented adaptive

controller. Figure 5.9 shows the time history of the adaptive control signal and the unknown

nonlinearities f1(β(t), δa(t)) and f2(β(t), δr(t)) as functions of time. Asymptotic tracking

is achieved of the angles β, φ while the other states of the system ps, rs, remain bounded.

Additionally, the approximations stay within their respective domains.

Page 58: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 50

0 5 10 15 20 25 30−30

−25

−20

−15

−10

−5

0

5

10LQR Performance Violated in the Presence of Uncertainties

time, t in seconds

degr

ees/

sec

Rcmd1

(t)

Rcmd2

(t)

βr(t)

φr(t)

Figure 5.2: LQR performance violated for angle βr, φr tracking.

0 5 10 15 20 25 30−5

0

5

10

15

20

25

30Loss of Tracking of β, φ

time, t in seconds

degr

ees

βφ

Figure 5.3: Loss of tracking of β and φ caused by nonlinearities f1(β, δa) of order O(1) and

f2(β, δr) of order O(1.1).

Page 59: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 51

−30 −20 −10 0 10 20 30−0.075

−0.07

−0.065

−0.06

−0.055

−0.05

−0.045

−0.04

−0.035

f1 Approximation Using Curve−Fitting

β in degrees

f 1(β, p

s, rs, δ

a, δr)

Wind−Tunnel DataCurve−Fit

Figure 5.4: Curve-fitting for fl(β, ps, rs, δa, δr).

−30 −20 −10 0 10 20 30−0.1

−0.08

−0.06

−0.04

−0.02

0

0.02

0.04

0.06

0.08

f2 Approximation Using Curve−Fitting

β in degrees

f 2(β, p

s, rs, δ

a, δr)

Wind−Tunnel DataCurve−Fit

Figure 5.5: Curve-fitting for f2(β, ps, rs, δa, δr).

Page 60: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 52

0 5 10 15 20 25 30−6

−4

−2

0

2

4

6Tracking Performance: ε = 0.05

time, t in seconds

β(t)

, deg

rees

Rcmd1

(t)

βr(t)

β(t)hat β(t)

Figure 5.6: States β(t), βr(t), β(t) of Dutch-Roll system.

0 5 10 15 20 25 30−4

−2

0

2

4

6

8

10Tracking Performance: ε = 0.05

time, t in seconds

φ(t)

, deg

rees

Rcmd2

(t)

φr(t)

φ(t)hat φ(t)

Figure 5.7: States φ(t), φr(t), φ(t) of Dutch-Roll system.

Page 61: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 5. Adaptive Controller for Nonaffine Multi-Input System 53

0 5 10 15 20 25 30

−3

−2

−1

0

1

2

3

4

5

6

7

8Tracking Performance: ε = 0.05

time, t in seconds

degr

ees/

sec

ps

r

(t)

ps

hat ps(t)

rs

r

(t)

rs(t)

hat rs(t)

Figure 5.8: States ps(t), psr(t), ps(t), rs(t), rsr

(t), rs(t) of Dutch-Roll system.

0 5 10 15 20 25 300

0.2

0.4

0.6

0.8

1

1.2

1.4Control Effort

time, t in seconds

δa

ad

(t) in degrees

δrad

(t) in degrees

f1(β(t),δ

a(t))

f2(β(t),δ

r(t))

Figure 5.9: Adaptive control effort of Dutch-Roll System compared with uncertainties f1

and f2.

Page 62: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Chapter 6

Conclusion

6.1 Summary

For aircraft systems, uncertainties often arise within the system dynamics due to external

and internal forces that are unknown to the controller. Additionally, for high-performance

aircraft, the nonlinearities that result from the equations of motion cannot be neglected or

linearized as in straight and level flight. Performance of traditional linear controllers are

violated in the presence of these nonlinearities that are unknown unstructured functions of

control input and states. This can lead to loss of tracking and instability. In order to account

for unpredictable changes and unknown nonlinear dependencies in aircraft dynamics, func-

tional approximations using basis functions can be used over a compact set to approximate

these unknowns nonlinearities. An approximate dynamic inversion methodology has been

presented for the nonaffine-in-control short-period and lateral/directional aircraft dynamics

via time-scale separation where the control signal was defined as a solution of ”fast” dy-

namics. For both systems, the form of the unknown functions allowed for the existence of

an isolated root in control. Moreover, the derivatives with respect to control were strictly

positive definite. Hence, we were able to verify the assumptions of Tikhonov’s theorem for

the closed-loop system.

54

Page 63: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Chapter 6. Conclusion 55

6.2 Recommendations For Future Work

Development of general theory for adaptive control of multi-input nonaffine systems remains

still to be solved. The particular case of Dutch-Roll dynamics, assumed in the paper, had

a block-diagonal decoupled Jacobian with respect to two control inputs. This simplified

verification of assumptions, required in [28], for multi-input nonaffine systems. In case of

fully coupled dynamics, such verification for adaptive control design is not obvious and

requires further investigation.

Page 64: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Bibliography

[1] H.K. Khalil. Nonlinear Systems. Prentice Hall, 2002.

[2] J. Park, I. Sandberg. Universal Approximation Using Radial-Basis-Function Networks.

Neural Computation, 3:246-257, 1991.

[3] J. Slotine and W. Li. Applied Nonlinear Control. Pearson Education, 1990.

[4] W. Rudin. Real and Complex Analysis. McGraw Hill, NY, 1986.

[5] P.V. Kokotovi, H.K. Khalil, and J. O’Reilly. Singular Perturbation Methods in Control:

Analysis and Design. Academic Press, 1986.

[6] S. Lane and R. Stengel. Flight Control Design Using Nonlinear Inverse Dynamics. Au-

tomatica, 24(4):471-483, 1988.

[7] N. Slegers and M. Costello. Nonlinear Model Predictive Control of a 6 DOF Air Vehicle.

In Proceedings of AIAA Atmospheric Flight Mechanics Conference and Exhibit, San

Francisco, California, 2005.

[8] J. Reiner, G. Balas and W. Garrard. Flight Control Design Using Robust Dynamics

Inversion and Time-Scale Seperation. Automatica, 32(11):1493-1504, 1996.

[9] Q. Wang and R. Stengel. Robust Nonlinear Flight Control of a High-Performance Air-

craft. IEEE Transactions on Control Systems Technology, 13(1):15-26, January, 2005

[10] B. Kim and A. Calise. Nonlinear Flight Control Using Neural Networks. AIAA Journal

of Guidance, Control, and Dynamics, 20(1):26-33, 1997.

[11] R. Somakumar and J. Chandrasekhar. Neural Network Based Nonlinear Inverse Dynam-

ics for Flight Controller Design. In Proceedings of the IEEE International Conference

on Control Applications, Trieste, Italy, 1998.

56

Page 65: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Bibliography 57

[12] J.D. Boskovic, L. Chen, and R. Mehra. Adaptive Control Design for Nonaffine Models

Arising in Flight Control. Journal of Guidance, Control, and Dynamics, 27(2):209-217,

2004.

[13] N. Hovakimyan, E. Lavretsky, and C. Cao. Adaptive Dynamic Inversion for Nonaffine-in-

Control Systems via Time-Scale Seperation. Submitted to invited issue of IEEE Trans-

actions on Neural Networks, 2005.

[14] N. Hovakimyan, E. Lavretsky, and C. Cao. Dnyamic Inversion for Multivariable

Nonaffine-in-Control Systems via Time-Scale Seperation. In Proceedings of American

Control Conference, Minnapolis, MN, 2006.

[15] B. Stevens and F. Lewis. Aircraft Control and Simulation. John Wiley and Sons,1992.

[16] W. Phillips. An Accurate Closed Form Approximation for Dutch Roll. In Proceedings

of 38th Aerospace Sciences Meeting and Exhibit, Reno, NC, 2000.

[17] G. Bryan. Stability in Aviation. Macmillan, London, 1911.

[18] C. Perkins and R. Hage. Airplane Performance Stability and Control. Wiley, New York,

1949.

[19] B. Etkin and L. Reid. Dynamics of Flight: Stability and Control. Wiley, New York,

1996.

[20] B. MrCormick. Aerodynamics, Aeronautics, and Flight Mechanics. Wiley, New York,

1995

[21] N. Ananthkrishnan and Suraj Unnikrishnan. Literal Approximations to Aircraft Dy-

namic Modes. Journal of Guidance, Control and Dynamics, 24(6) 1196:1203, 2001.

[22] NG. Miller and J. Franklin. Lateral-Directional Flying Qualities For Power Approach. In

Proceedings of AIAA Guidance, Control, and Flight Dynamics Conference, Huntsville,

AL 1967.

[23] R. Stengel and G. Miller. Flying Qualities of an Aircraft With Strong Lateral-Directional

Coupling. In Proceeding of Atmospheric Flight Mechanics Conference, Palo Alto, CA,

1978.

[24] R. Stengel. Effect of Combined Roll Rate and Sideslip Angle on Aircraft Flight Stability.

Journal of Aircraft, 12(8) 683:685, 1975.

Page 66: Adaptive Control of Nonaffine Systems with Applications to Flight Control · 2020-01-21 · Adaptive Control of Nonaffine Systems with Applications to Flight Control Amanda Young

Amanda Young Bibliography 58

[25] C. Zahringer, M. Heller and G. Sachs. Lateral Seperation Dynamics and Stability of a

Two-Stage Hypersonic Vehicle. In Proceedings of AIAA International Space Planes and

Hypersonic Systems and Technologies, Norfolk, VA, 2003.

[26] W. Phillips and B. Santana. Aircraft Small-Disturbance Theory with Longitudinal-

Lateral Coupling. Journal of Aircraft, 39(6) 973:980, 2002.

[27] M. Rauw. FDC 1.2 - A Simulink Toolbox for Flight Dynamics and Control Analysis.

2001

[28] N. Hovakimyan, E. Lavretsky and C. Cao. Dynamic Inversion of Multi-Input Nonaffine

Systems Via Time-Scale separation. In Proceedings of American Control Conference,

Minneapolis, MN, 2006.