14
Development of a State Dependent Ricatti Equation Based Tracking Flight Controller for an Unmanned Aircraft Anna Prach * and Ozan Tekinalp Middle East Technical University, Ankara, 06800, Turkey A dual loop nonlinear State Dependent Riccati Equation (SDRE) control method is developed for the flight control of an unmanned aircraft. The outer loop addresses the attitude and altitude kinematics, while the inner loop handles the translational and ro- tational equations of motion. The control strategy utilizes a tracking control problem. The mismatch due to the SDC factorization of the inner loop is handled with a nonlinear compensator again derived from the tracking control formulation. The quadratic optimal control problems of the inner and outer loops are solved at discrete intervals in time. A nonlinear simulation model of the UAV is used to examine the performance of the SDRE controller. Two flight scenarios are considered: a coordinated turn maneuver and a high angle of attack flight. These simulation results show the effectiveness of the proposed nonlinear controller. Nomenclature u, v, w Velocity components along X, Y and Z body axis, m/s p, q, r Angular rates, deg/s φ, θ, ψ Euler angles, deg α Angle of attack X,Y,Z Position in inertial frame, m h Altitude, m m Mass, kg I xx ,I xy ,I xz Main moments of inertia ρ Air density S Wing reference area, m 2 ¯ c Mean aerodynamic chord, m b Wing reference area, m ¯ q Dynamic pressure C L Aerodynamic lift coefficient C D Aerodynamic drag coefficient C l Aerodynamic rolling moment coefficient C m Aerodynamic pitching moment coefficient C n Aerodynamic yawing moment coefficient I. Introduction Autonomous flight control systems for aerospace vehicles present significant challenges for nonlinear flight regimes such as, high angles of attack flight, asymmetric store separation, etc. For fixed-wing aircraft, linear controllers, together with gain scheduling usually provide sufficient flight control performance. However, * Ph.D. Student, Department of Aerospace Engineering. Professor, Department of Aerospace Engineering, and AIAA Senior Member. 1 of 14 American Institute of Aeronautics and Astronautics Downloaded by Ozan Tekinalp on August 21, 2013 | http://arc.aiaa.org | DOI: 10.2514/6.2013-5167 AIAA Guidance, Navigation, and Control (GNC) Conference August 19-22, 2013, Boston, MA AIAA 2013-5167 Copyright © 2013 by Ozan Tekinalp and Anna Prach. Published by the American Institute of Aeronautics and Astronautics, Inc., with permission.

p Rach Tekin Alp 2013

Embed Size (px)

DESCRIPTION

controle ótimo

Citation preview

Page 1: p Rach Tekin Alp 2013

Development of a State Dependent Ricatti Equation

Based Tracking Flight Controller for an Unmanned

Aircraft

Anna Prach∗ and Ozan Tekinalp†

Middle East Technical University, Ankara, 06800, Turkey

A dual loop nonlinear State Dependent Riccati Equation (SDRE) control method isdeveloped for the flight control of an unmanned aircraft. The outer loop addresses theattitude and altitude kinematics, while the inner loop handles the translational and ro-tational equations of motion. The control strategy utilizes a tracking control problem.The mismatch due to the SDC factorization of the inner loop is handled with a nonlinearcompensator again derived from the tracking control formulation. The quadratic optimalcontrol problems of the inner and outer loops are solved at discrete intervals in time. Anonlinear simulation model of the UAV is used to examine the performance of the SDREcontroller. Two flight scenarios are considered: a coordinated turn maneuver and a highangle of attack flight. These simulation results show the effectiveness of the proposednonlinear controller.

Nomenclature

u, v, w Velocity components along X, Y and Z body axis, m/sp, q, r Angular rates, deg/sφ, θ, ψ Euler angles, degα Angle of attackX,Y, Z Position in inertial frame, mh Altitude, mm Mass, kgIxx, Ixy, Ixz Main moments of inertiaρ Air densityS Wing reference area, m2

c Mean aerodynamic chord, mb Wing reference area, mq Dynamic pressureCL Aerodynamic lift coefficientCD Aerodynamic drag coefficientCl Aerodynamic rolling moment coefficientCm Aerodynamic pitching moment coefficientCn Aerodynamic yawing moment coefficient

I. Introduction

Autonomous flight control systems for aerospace vehicles present significant challenges for nonlinear flightregimes such as, high angles of attack flight, asymmetric store separation, etc. For fixed-wing aircraft, linearcontrollers, together with gain scheduling usually provide sufficient flight control performance. However,

∗Ph.D. Student, Department of Aerospace Engineering.†Professor, Department of Aerospace Engineering, and AIAA Senior Member.

1 of 14

American Institute of Aeronautics and Astronautics

Dow

nloa

ded

by O

zan

Tek

inal

p on

Aug

ust 2

1, 2

013

| http

://ar

c.ai

aa.o

rg |

DO

I: 1

0.25

14/6

.201

3-51

67

AIAA Guidance, Navigation, and Control (GNC) Conference

August 19-22, 2013, Boston, MA

AIAA 2013-5167

Copyright © 2013 by Ozan Tekinalp and Anna Prach. Published by the American Institute of Aeronautics and Astronautics, Inc., with permission.

Page 2: p Rach Tekin Alp 2013

while performing agile maneuvers, aircraft dynamics is highly nonlinear, and needs to be taken into accountfor precise control. For such cases, new control algorithms are needed.

The State-Dependent Riccati Equation (SDRE) control method is a nonlinear control technique, whichbecame popular over the last decade. It provides an effective algorithm for synthesizing nonlinear feedbackcontrols that allow considering nonlinearities in the system states, and additionally offers design flexibilitythrough state-dependent weighting matrices. This was originally proposed by Pearson1 and later expanded byWernli and Cook2, it also was independently studied by Mracek and Cloutier3 and mentioned by Friedland4.SDRE controller design involves the factorization (in other words, parametrization) of the nonlinear dynamicsinto the state vector and the product of a matrix-valued function that depend on the states itself. TheSDRE algorithm employs the nonlinear fully coupled equations of motion. The SDRE algorithm capturesthe nonlinearities of the system by converting it to a quasi-linear structure using state-dependent coefficient(SDC) matrices. This enables the re-computing of the controller gains in real time by minimizing a quasi-quadratic cost function. An algebraic Riccati equation (ARE) using the SDC matrices is then solved on-lineto obtain the feedback gain. The algorithm thus involves solving an algebraic state-dependent Riccatiequation, or SDRE, at every state. The non-uniqueness of the parameterization creates additional degrees offreedom, which may be used to enhance controller performance. It is important to note that methods usingSDRE can be applied to minimum as well as a non-minimum phase nonlinear system. Furthermore, theweight may be adaptively changed to avoid actuator saturation problems. The SDRE control approach isapplied to a number of control problems in aerospace applications, such as VTOL vehicles5–7, and quadrotors[8]. Another wide area of SDRE technique application is a spacecraft attitude control9–12. However, thereis a need to further study the application of SDRE control to the nonlinear flight regimes of a fixed-wingaircraft.

This paper focuses on the utilization of the SDRE control method for the flight control of a fixed wingunmanned aerial vehicle (UAV). The controller implemented as tracking, infinite horizon quadratic optimalcontrol with concentric loops. In the outer loop attitude and altitude control problem is addressed. Theinner loops uses rotational and translational equations of the aircraft. The design also includes a nonlinearcompensator, which accounts for the mismatch between the full vehicle dynamics and its SDC parametriza-tion of the inner loop. To demonstrate the performance of the designed control system two flight regimesare chosen for simulations. Thus, a harsh coordinated turn at a constant altitude with a given turn radius,and a high angle of attack flight phase are considered.

Section II provides background to the extended linearization and SDRE control. A tracking controllerstructure and the compensator formulations are given in Section III. Section IV presents the architectureof the control system used and the derivation of the corresponding state-dependent model. Application ofthe developed flight control system is given in Section V, with simulation results and discussed. Finallyconclusions are given in Section VI.

II. Extended Linearization and SDRE Control

A. Extended Linearization

Extended linearization, also known as apparent linearization or SDC parameterization is the process offactorizing a nonlinear system into a linear-like structure, which contains SDC matrices 2, 4. Consider thesystem, which is full-state observable, autonomous, nonlinear in the state, and affine in the input, representedin the following form 13 :

x(t) = f(x) + B(x)u(t),x(0) = x (1)

where x ∈ Rn is the state vector, u ∈ Rm is the input vector, function f : Rn→Rn, B : Rn→Rn×m andB(x) 6= 0,∀x.

Under the assumptions f(0) = 0, and f(·) ∈ C1(Rn) a continuous nonlinear matrix- valued function A(x)

always exists such thatf(x) = A(x)x, (2)

where A , the n × n matrix, is found by mathematical factorization and is non unique when n > 1.Hence, extended linearization of the input-affine nonlinear system (1) becomes

x(t) = A(x)x(t) + B(x)u(t),x(0) = x (3)

2 of 14

American Institute of Aeronautics and Astronautics

Dow

nloa

ded

by O

zan

Tek

inal

p on

Aug

ust 2

1, 2

013

| http

://ar

c.ai

aa.o

rg |

DO

I: 1

0.25

14/6

.201

3-51

67

Copyright © 2013 by Ozan Tekinalp and Anna Prach. Published by the American Institute of Aeronautics and Astronautics, Inc., with permission.

Page 3: p Rach Tekin Alp 2013

which has a linear structure with SDC matrices A(x), B(x). The application of any linear control synthesismethod to the linear-like SDC structure, where A(x) and B(x) are treated as constant matrices, forms anextended linearization control method 13.

B. SDRE Control

SDRE feedback control provides a similar approach to the nonlinear regulation problem for the input-affinesystem (1) as a linear control synthesis method (LQR). The performance cost function which is to beminimized is defined as follows:

J(x,u) =1

2

∫ ∞

{xT(t)Q(x)x(t) + uT(t)R(x)u(t)

}dt (4)

where Q(x) ∈ Rn×m is symmetric positive semidefinite, R(x) ∈ Rm×m is symmetric positive definite matrix,which in general may be state dependent. For the calculation of instantaneous feedback gains, the weightingmatrices, Q and R as well as system matrices, A and B are assumed to be constant. Then, for the givensate, the feedback gain is calculated as it is done for an infinite horizon LQR controller [14,15]:

u(x) = −K(x)x = −R−1(x)BT(x)P(x)x (5)

where P(x) is the solution of the following Algebraic State Dependent Riccati Equation:

P(x)A(x)AT(x)P(x)−P(x)B(x)R−1(x)BT(x)P(x) + Q(x) = 0 (6)

This approach is expected to have the usual robustness and asymptotic stability properties of the classicalLQR. However, the controller generated this way is a nonlinear controller with the convenience that it doesnot require the linearization of the system equations. One important issue is to make sure that the systemmatrices A(x) and B(x) form a fully controllable pair. Although controllability depends on the physicalnature of the problem, a physically controllable system may become uncontrollable from time to time dueto an improper choice of the state dependent coefficient factorization. This in turn makes the solution ofEq. (6) impossible.

III. Tracking Controller with a Nonlinear Compensator

A trajectory following (tracking) linear quadratic optimal control (LQT)may be posed as follows. Givena linear dynamic system,

x(t) = A(t)x(t) + B(t)u(t)

y(t) = C(t)x(t)(7)

where x(t) is an nth order state vector, u(t) is the rth order control vector, and y(t) is the mth order outputvector. It is desired to control the system (7) such that the desired output y(t) tracks the reference inputz(t) as close as possible whil minimizing the following quadratic cost function:14, 15

J =1

2eT (tf )F(tf )e(tf ) +

1

2

∫ t∞

t0

{eT (t)Q(t)e(t) + uT (t)R(t)u(t)

}dt (8)

where e(t) = z(t)− y(t) is the error vector. It is assumed that F(tf ) and Q(tf ) are m×m symmetric positivesemidefinite matrices, and R(t) is an r × r symmetric positive definite matrix. The solution of this optimalcontrol problem is presented in the references cited. Now consider a system in the following form:

x(t) = A(t)x(t) + B(t)u(t) + f(t)

y(t) = C(t)x(t)(9)

where f(t) represents the mismatch that appears as a result of the factorization of the nonlinear systemequations in the form of (7) provided that f(t) is a slowly varying signal that may be assumed constant atcertain time intervals, and f is bounded. If the performance index is defined by Eq. (19), the Hamiltonianthen may be given as,

3 of 14

American Institute of Aeronautics and Astronautics

Dow

nloa

ded

by O

zan

Tek

inal

p on

Aug

ust 2

1, 2

013

| http

://ar

c.ai

aa.o

rg |

DO

I: 1

0.25

14/6

.201

3-51

67

Copyright © 2013 by Ozan Tekinalp and Anna Prach. Published by the American Institute of Aeronautics and Astronautics, Inc., with permission.

Page 4: p Rach Tekin Alp 2013

H(x(t),u(t), λ(t)) = 12 [z(t)−C(t)x(t)]TQ(t)[z(t)−C(t)x(t)] + 1

2uT(t)R(t)u(t)

+λT(t)[A(t)x(t) + B(t)u(t) + f(t)](10)

The optimal control is obtained from ∂H∂u = 0, which giving,

u∗(t) = −R−1(t)BT(t)λ∗(t) (11)

The remaining equations for the states and costates may be obtained as,[x∗(t)

λ∗(t)

]=

[A(t) −E(t)

−V(t) −AT(t)

][x∗(t)

λ∗(t)

]+

[0

W(t)

]z(t) +

[f(t)

0

](12)

whereE(t) = B(t)R−1(t)BT(t)

V(t) = CT(t)Q(t)C(t)

W(t) = CT(t)Q(t)

(13)

The boundary conditions for the state and costate equations are defined by the initial condition on the state:x(t = t0) = x(t0) and the final condition on the costate:

λ(tf ) =∂

∂(x(tf ))

[1

2eT(tf )F(tf )e(tf )

]= CT(tf )F(tf )C(tf )x(tf )−CT(tf )F(tf )z(tf ) (14)

Assuming a linear relation between the sate and co-state of the following form 14:

λ∗(t) = P(t)x∗(t)− g(t) (15)

where P(t) is a square matrix of size n and g(t) is a vector of length n, are to be determined such that thecanonical system (12) is satisfied. As a result it may be shown that if P(t) can be found as solution to amatrix differential Riccati equation (16), and g(t) is a solution to a vector differential equation (17):

P(t) = −P(t)A(t)−AT(t)P(t) + P(t)E(t)P(t)−V(t) (16)

g(t) =[P(t)E(t)−AT(t)

]g(t)−W(t)z(t) + P(t)f(t) (17)

The optimal control is obtained in the form given by Eq. (18).

u∗(t) = −R−1(t)BT(t) [P(t)x∗(t)− g(t)] = −K(t)x∗(t) + R−1(t)BT(t)g(t) (18)

For the infinite-horizon problem formulation, consider the system Eq. (9) but with the system matrices beingtime invariant, and the performance index chosen as

limtf→∞

J = limtf→∞

1

2

∫ tf

t0

{eT(t)Q(t)e(t) + uT(t)R(t)u(t)

}dt (19)

Using the results for a finite-time case above and let tf →∞ will lead to the infinite-time case solution.Thus, the matrix function P(t) in Eq. (16) will result to the steady-state value P as the solution of thefollowing algebraic Riccati equation:

−PA−ATP + PBR−1BTP−CTQC = 0 (20)

For slowly varying input signals z(t), solution of a matrix differential equation (17) can be obtained bysetting the derivative to zero and solving Eq. (17) for g(t):

g(t) =[PE−AT

]−1(Wz(t) + Pf(t)) (21)

whereE = BR−1BT

W = CTQ(22)

4 of 14

American Institute of Aeronautics and Astronautics

Dow

nloa

ded

by O

zan

Tek

inal

p on

Aug

ust 2

1, 2

013

| http

://ar

c.ai

aa.o

rg |

DO

I: 1

0.25

14/6

.201

3-51

67

Copyright © 2013 by Ozan Tekinalp and Anna Prach. Published by the American Institute of Aeronautics and Astronautics, Inc., with permission.

Page 5: p Rach Tekin Alp 2013

Then the optimal control is:u(t) = Kx(t) + Kzz(t) + Kf f(t) (23)

and the corresponding controller gains are defined as:

K = −R−1BP

Kz = R−1B[PE−AT

]−1W

Kf = −R−1B[PE−AT

]−1P

(24)

State dependent formulation to be used for tracking control formulation is presented next.

IV. Controller Structure and SDC Model

The flight control equations are divided into kinematic and dynamic equations. The dynamic equationsdescribe the translational and rotational motion of the rigid body aircraft. The kinematic equations, on theother hand, relates the rotational velocities to the aircraft attitude and aircraft velocities to the position andaltitude. The dynamic equations are treated in the inner loop. The equations related to the aircraft attitudeand altitude are treated in the outer loop, forming a two loop structure. This two loop system is shown inFig. 1. As it may be observed from the figure, there are two feedback loops. Each loop gain is designed usingseperate SDRE controller. The main advantage of this two loop system is the reduction in the dimensionsof state vectors, and computational cost associated with the calculation of the feedback gain.

Figure 1. Control System Block Diagram.

The 6 degrees-of-freedom equations of motion of an aircraft written in the body-fixed coordinate systemare used to obtain the SDC model16. As a result the kinematic equations relate the body fixed measurementsto the altitude and attitude. Then the outer loop state and control vectors are defined as follows:

xout = [φ, θ, ψ, h]T,uout = [u, v, w, p, q, r]

T(25)

A possible set of SDC matrices for the outer loop dynamics may be written as:

5 of 14

American Institute of Aeronautics and Astronautics

Dow

nloa

ded

by O

zan

Tek

inal

p on

Aug

ust 2

1, 2

013

| http

://ar

c.ai

aa.o

rg |

DO

I: 1

0.25

14/6

.201

3-51

67

Copyright © 2013 by Ozan Tekinalp and Anna Prach. Published by the American Institute of Aeronautics and Astronautics, Inc., with permission.

Page 6: p Rach Tekin Alp 2013

Aout(xout) = [0] (26)

Bout(xout) =

0 0 0 1 tan θ sinφ tan θ cosφ

0 0 0 0 cosφ − sinφ

sin θ sinφ cos θ − cos θ 0 0 0

(27)

and,fout = [0] (28)

The inner loop state and control vectors are defined as follows:

xin = [u, v, w, p, q, r]T,uin = [δa, δe, δr, δT ]

T(29)

Following relations are assumed for the aerodynamic coefficients16:

CD = CD0+ CDαα+ CDδe δe

CL = CL0+ CLαα+ CLα

c2V0

α+ CLqc

2V0q + CLδe δe

Cm = Cm0+ Cmαα+ Cmα

c2V0

α+ Cmqc

2V0q + Cmδe δe

Cl = Cl0 + Clββ + Clpb

2V0p+ Clr

b2V0

r + Clδa δa + Clδr δr

CY = CY0 + CYββ + CYpb

2V0p+ CYr

b2V0

r + CYδa δa + CYδr δr

Cn = Cn0 + Cnββ + Cnpb

2V0p+ Cnr

b2V0

r + Cnδa δa + Cnδr δr

(30)

A possible set of the state dependent matrices for the inner loop dynamics model may be obtained in thefollowing form:

Ain(xin) =

[A11 A12

A21 A22

](31)

where,

A11 =

12ρV S(−CD0

−CDαα)

m 0qS(CLαα+CL0

)

mu

0qSCYβmu 0

12ρV S(−CD0

α−CL0)

m 0qS(−CDαα−CLα )

mu

(32)

A12 =

0qSc(CLq+CLα )α

mc

2V0− w v

qScCYpm

c2V0

+ w 0qScCYrm

c2V0− u

−v qSc(−CLq−CLααm

c2V0

+ u 0

(33)

A21 =

0qSb(c3Clβ+c4Cnβ )

u 012ρV ScCm0

Iyy0

qScCmαIyyu

0qSb(c4Clβ+c9Cnβ )

u 0

(34)

A22 =

qSb(c3Clp + c4Cnp) b2V0

+ c2q 0 qSb(c3Clr + c4Cnr )b

2V0+ c1q

0qSc(Cmq+Cmα)

Iyyc

2V00

qSb(c4Clp + c9Cnp) b2V0

+ c8q 0 qSb(c4Clr + c9Cnr )b

2V0− c2q

(35)

Bin(xin) =

0qS(CLδe

α−CDδe )

m 0 CTm

0 0qSCYδrm 0

0qS(−CLδe−CDδeα)

m 0 0

qSb(c3Clδa + c4Cnδa ) 0 qSb(c3Clδr + c4Cnδr ) 0

0qScCmδeIyy

0 0

qSb(c4Clδa + c9Cnδa ) 0 qSb(c4Clδr + c9Cnδr ) 0

(36)

6 of 14

American Institute of Aeronautics and Astronautics

Dow

nloa

ded

by O

zan

Tek

inal

p on

Aug

ust 2

1, 2

013

| http

://ar

c.ai

aa.o

rg |

DO

I: 1

0.25

14/6

.201

3-51

67

Copyright © 2013 by Ozan Tekinalp and Anna Prach. Published by the American Institute of Aeronautics and Astronautics, Inc., with permission.

Page 7: p Rach Tekin Alp 2013

and,

c1 =(Iyy−Izz)Izz−I2xz

IxxIzz−I2xz; c2 =

(Ixx−Iyy+Izz)IxzIxxIzz−I2xz

; c3 = IzzIxxIzz−I2xz

c4 = IxzIxxIzz−I2xz

; c5 = (Izz−Ixx)Iyy

; c6 = IxzIyy

c7 = 1Iyy

; c8 =(Ixx−Iyy)Ixx−I2xz

IxxIzz−I2xz; c9 = Ixx

IxxIzz−I2xz

(37)

The mismatch between the original dynamics and the SDC parametrization includes terms that appeardue to the gravitational acceleration is modelled as a slowly varying external input.

fin =

−g sin θ

g cos θ sinφ

g cos θ cosφ

0

0

0

(38)

Note that the above vector of gravitational effects does not contain any states of the inner loop. Sincethe attitude change is much slower than the inner loop parameters, the slowly changing external input isjustifiable.

V. Simulation Results

To demonstrate the effectiveness of the control algorithm proposed two simulations are carried out. Thefirst one is the coordinated turn maneuver, the second one is the high angle of attack flight. For this purpose,a nonlinear simulation of a fixed wing UAV is used. The aircraft has a mass of 105kg, wing span of 4.3m,and chord length 0.53m. Although not modeled in the SDRE formualtion, the actuators are assumed tohave a first order lag dynamics.

An important step in designing a SDRE controller is a choice of the weighting matrices Q and R. As itwas mentioned, in general these matrices may be state-dependent. For the purposes of this work, matricesQ and R are chosen to be constant diagonal matrices. The nominal values for the weighting matrices are:

Qout = diag[1× 102, 1× 102, 1× 102, 0.6

](39)

Rout = diag [1, 1, 3, 1, 1, 1] (40)

Qin = diag[1× 103, 1× 103, 1× 103, 1× 104, 2× 105, 1× 104

](41)

Rin = diag[1, 1, 1, 10−3

](42)

A. Coordinated Turn Maneuver

In this first example the aircraft is commanded to perform a coordinated turn maneuver for a given turnradius, while keeping the altitude constant. In order to avoid saturation of the control surfaces a commandfilter is utilized in the outer loop to shape the necessary reference inputs. Simulation results for a coordinatedturn maneuver with a turn radius equal to 200m are presented below. Responses of the aircraft states areshown in Fig. 2 - 5. The response as well as the reference commands for Euler angles are presented in Fig. 2,and for the altitude in, Fig. 3. Slight steady state errors are present in the responses, however, the overalltracking performance of the controller may be considered to be quite satisfactory. Time responses of theinner loop states of the aircraft translational velocities (Fig. 4), and angular rates (Fig. 5). Figure 6 shows thetime history of the actuators positions and a throttle response. During the simulation studies it is realizedthat more penalty must be imposed on the actuators to avoid saturation of the control surfaces. Thus, thecoefficients of the Rin matrix are increased. The update rate of the SDC system matrices coefficients in thesimulations are set to 2Hz.

7 of 14

American Institute of Aeronautics and Astronautics

Dow

nloa

ded

by O

zan

Tek

inal

p on

Aug

ust 2

1, 2

013

| http

://ar

c.ai

aa.o

rg |

DO

I: 1

0.25

14/6

.201

3-51

67

Copyright © 2013 by Ozan Tekinalp and Anna Prach. Published by the American Institute of Aeronautics and Astronautics, Inc., with permission.

Page 8: p Rach Tekin Alp 2013

0 5 10 15 20 25 30 35 400

10

20

30

40

Time, s

0 5 10 15 20 25 30 35 400

100

200

300

400

Time, s

Eu

ler

An

gle

s ,

de

g

φcom

φ

θcom

θ

ψcom

ψ

Figure 2. Euler Angles.

0 200 400

−100

0

100

200

X, m

Y, m

X−Y Position

0

500

−2000200400990

995

1000

1005

1010

X, m

3D Position

Y, m

Altitude, m

0 5 10 15 20 25 30 35 40980

990

1000

1010

1020

h, m

Time, s

Altitude

Command

Response

Figure 3. Aircraft Position: X-Y coordinates, 3D View, and Altitude.

8 of 14

American Institute of Aeronautics and Astronautics

Dow

nloa

ded

by O

zan

Tek

inal

p on

Aug

ust 2

1, 2

013

| http

://ar

c.ai

aa.o

rg |

DO

I: 1

0.25

14/6

.201

3-51

67

Copyright © 2013 by Ozan Tekinalp and Anna Prach. Published by the American Institute of Aeronautics and Astronautics, Inc., with permission.

Page 9: p Rach Tekin Alp 2013

0 5 10 15 20 25 30 35 40

0

5

10

15

20

25

30

35

40

Time, s

Bo

dy V

elo

city C

om

po

ne

nts

, m

/s

ucom

u

vcom

v

wcom

w

Figure 4. Body Velocity Components.

0 5 10 15 20 25 30 35 40

0

5

10

15

20

25

Time, s

An

gu

lar

rate

s ,

de

g/s

pcom

p

qcom

q

rcom

r

Figure 5. Angular Rates Responses.

0 5 10 15 20 25 30 35 40−10

−5

0

5

Time, sActu

ato

rs P

ositio

n ,

de

g

Ailerons

Elevator

Rudder

0 5 10 15 20 25 30 35 400

50

100

150

Time, s

Th

rust,

N

Figure 6. Actuators Positions and Thrust.

9 of 14

American Institute of Aeronautics and Astronautics

Dow

nloa

ded

by O

zan

Tek

inal

p on

Aug

ust 2

1, 2

013

| http

://ar

c.ai

aa.o

rg |

DO

I: 1

0.25

14/6

.201

3-51

67

Copyright © 2013 by Ozan Tekinalp and Anna Prach. Published by the American Institute of Aeronautics and Astronautics, Inc., with permission.

Page 10: p Rach Tekin Alp 2013

B. High Angle of Attack Flight Phase

To demonstrate effectiveness of the designed flight control system in flight regimes that cover the nonlinearregions of the aerodynamic lift coefficient curve, a level flight at a high angle of attack is considered. Thisflight regime is achieved by requesting a high pitch angle reference and holding the altitude constant. Theaerodynamic lift coefficient versus angle of attack plot is shown in Fig. 7, from which it may be observedthat for a given aircraft, the stall angle of attack value is around 10 deg.

−5 0 5 10 15 20 250

0.2

0.4

0.6

0.8

1

1.2

1.4

α, deg

CL

Figure 7. Lift Coefficient vs AOA

The reference pitch attitude is set to 18deg, altitude must be hold at 1000m, and zero roll and yawangles are requested. These are the commanded inputs to the outer loop states. References for the innerloop will be generated by the corresponding control requirements of the outer loop. Figure 8 illustrates thepitch angle and the altitude responses. A steady state error in the altitude may be observed, however, thelevel flight condition is achieved. Responses of the inner loop states are shown in Fig. 9. From this figure itmay be observed that the velocity is properly adjusted to realize the level flight condition at high angle ofattack. The actuator time histories are presented in Fig. 10. Since this is a high angle of attack maneuver,the elevator saturation angle is increased. In an actual UAV, this may be achieved by increasing the tailarea instead, to realize the pitch moment needed during the high angle of attack flight. The angle of attacktime history is given in Fig. 11, from which it may be observed that the aircraft operates at the high angleof attack flight regime of requested 18deg. Time histories of inner and outer loop controller gains are givenin Fig. 12 - 16, it may be observed in the gains are re-adjusted according to the flight regime, ensuringsufficient tracking performance of the controller.

10 of 14

American Institute of Aeronautics and Astronautics

Dow

nloa

ded

by O

zan

Tek

inal

p on

Aug

ust 2

1, 2

013

| http

://ar

c.ai

aa.o

rg |

DO

I: 1

0.25

14/6

.201

3-51

67

Copyright © 2013 by Ozan Tekinalp and Anna Prach. Published by the American Institute of Aeronautics and Astronautics, Inc., with permission.

Page 11: p Rach Tekin Alp 2013

0 10 20 30 40 50 600

5

10

15

20

Time, s

θ, deg

0 10 20 30 40 50 60800

900

1000

1100

1200

Time, s

Altitude , m

θcom

θ

hcom

h

Figure 8. Pitch Angle and Altitude.

0 10 20 30 40 50 60

20

40

60

u, m

/s

0 10 20 30 40 50 60−20

0

20

40

w , m

/s

0 10 20 30 40 50 60−20

0

20

40

Time, s

q, deg/s

ucom

u

wcom

w

qcom

q

Figure 9. Linear and Angular Velocity Components.

0 10 20 30 40 50 60−50

−40

−30

−20

−10

0

Ele

vato

r P

ositio

n , d

eg

Time, s

0 10 20 30 40 50 600

200

400

600

Time, s

Thru

st, N

Figure 10. Actuators Positions and Thrust.

11 of 14

American Institute of Aeronautics and Astronautics

Dow

nloa

ded

by O

zan

Tek

inal

p on

Aug

ust 2

1, 2

013

| http

://ar

c.ai

aa.o

rg |

DO

I: 1

0.25

14/6

.201

3-51

67

Copyright © 2013 by Ozan Tekinalp and Anna Prach. Published by the American Institute of Aeronautics and Astronautics, Inc., with permission.

Page 12: p Rach Tekin Alp 2013

0 10 20 30 40 50 60−5

0

5

10

15

20

25

30

35

Time, s

Angle

of A

ttack , d

eg

Figure 11. Angle of Attack.

0 10 20 30 40 50 60−20

0

20

40

60

0 10 20 30 40 50 60−1000

−500

0

500

1000

Time, s

Ki

Figure 12. K Inner Loop.

0 10 20 30 40 50 60

−20

0

20

0 10 20 30 40 50 60−1000

0

1000

2000

3000

0 10 20 30 40 50 600

1

2

3x 10

4

Time, s

Kz

i

Figure 13. Kz Inner Loop.

12 of 14

American Institute of Aeronautics and Astronautics

Dow

nloa

ded

by O

zan

Tek

inal

p on

Aug

ust 2

1, 2

013

| http

://ar

c.ai

aa.o

rg |

DO

I: 1

0.25

14/6

.201

3-51

67

Copyright © 2013 by Ozan Tekinalp and Anna Prach. Published by the American Institute of Aeronautics and Astronautics, Inc., with permission.

Page 13: p Rach Tekin Alp 2013

0 10 20 30 40 50 60−20

−10

0

10

20

0 10 20 30 40 50 60

−200

0

200

400

600

800

Time, s

Kf i

Figure 14. Kf Inner Loop.

0 10 20 30 40 50 60−2

0

2

4

6

8

10

Time, s

Ko

Figure 15. K Outer Loop.

0 10 20 30 40 50 60−2

0

2

4

6

8

10

Time, s

Kz

o

Figure 16. Kz Outer Loop.

13 of 14

American Institute of Aeronautics and Astronautics

Dow

nloa

ded

by O

zan

Tek

inal

p on

Aug

ust 2

1, 2

013

| http

://ar

c.ai

aa.o

rg |

DO

I: 1

0.25

14/6

.201

3-51

67

Copyright © 2013 by Ozan Tekinalp and Anna Prach. Published by the American Institute of Aeronautics and Astronautics, Inc., with permission.

Page 14: p Rach Tekin Alp 2013

VI. Conclusions

In this paper, SDRE control technique is applied to the flight control of a UAV in extreme flight conditions,to demonstrate the effectiveness of the nonlinear SDRE control method. A two loop SDRE control scheme isproposed where the outer loop addresses the kinematic variables while the inner loop handles flight equations.A tracking control algorithm is developed to handle this two loop structure with a nonlinear compensator forthe gravity terms acting on the flight equations. The simulation results show that the proposed approach isquite suitable for the nonlinear control of aerospace vehicles eliminating the linearization and gain schedulingcommonly used in flight control systems.

Acknowledgments

This work is supported by the Scientific and Technological Research Council of Turkey (TUBITAK)within 2215-Ph.D. Fellowship Program.

References

1Pearson, J.D. ”Approximation Methods in Optimal Control,” Journal of Electronics and Control, 13, 1962, pp. 453-469.2Wernli, A., Cook, G., ”Suboptimal Control for the Nonlinear Quadratic Regulator Problem,” Automatica, 11, 1975, pp.

75-84.3Mracek, C.P. and Cloutier, J.R., ”Control Designs for the Nonlinear Benchmark Problem via the State-Dependent Riccati

Equation Method,” International Journal of Robust and Nonlinear Control, 8, 1998, pp. 401-433.4Friedland, B., Advanced Control System Design, 110-112. Prentice-Hall, Englewood Cliffs NJ, 1996.5Bogdanov, A. et al., ”SDRE Flight Control For X-Cell and R-Max Autonomous Helicopters,” Proceedings of the 43rd

IEEE Conference on Decision and Control, IEEE, December 14-17, 2004.6Guo, R. et al., ”Improved SDRE Control for an Unmanned Helicopter Based on Multi-Timescale Dynamics Model,”

Proceedings of the 8th World Congress on Intelligent Control and Automation, July 6-9, 2010.7Tekinalp, O., Unlu, T., Yavrucuk, I., ”Simulation and Flight Control of a Tilt-Duct UAV,” AIAA Modeling and Simulation

Technologies Conference, Chicago, IL, 10-13 Aug. 2009.8Voos, H., ”Nonlinear State-Dependent Riccati Equation Control of a Quadrotor UAV,” Proceedings of the 2006 IEEE

International Conference on Control Applications, Munich, Germany, October 4-6, 2006.9Parrish, D. K., Ridgely D.B., ”Attitude Control of a Satellite Using the SDRE Method,” Proceedings of the American

Control Conference Albuquerque, New Mexico, June, 1997.10Luo, W., Chu Y-C., Attitude Control Using the SDRE Technique, Proceedings of Seventh International Conference on

Control, Automation, Robotics And Vision (ICARCV2002), Dec 2002, Singapore.11Kayastha, S., Tekinalp, O., Ozgoren, M.K., ”Quaternion Based State Dependent Ricatti Equation Control of a Satellite

Camera on Piezoelectric Actuators,” Proceedings of 2010 AIAA Astrodynamics Specialist Conference, August, 2010, Toronto,Canada.

12Abdelrahman, M. et al, ”Magnetic Torque Attitude Control of a Satellite Using the State-Dependent Riccati EquationTechnique,” International Journal of Non-Linear Mechanics, 46,2011, pp. 758-771.

13Cimen, T., ”State-Dependent Riccati Equation (SDRE) Control: A Survey,” Proceedings of the 17th IFAC WorldCongress, South Korea, 2008.

14Naidu, D.S., Optimal Control Systems, Boca Raton, Fla. : CRC Press, 2003.15Anderson, B., Moore, J.B., Optimal control: Linear Quadratic Methods, Englewood Cliffs, N.J. : Prentice Hall. 8, 1989.16Etkin, B., Dynamics of Atmospheric Flight, New York: Wiley, 1996.

14 of 14

American Institute of Aeronautics and Astronautics

Dow

nloa

ded

by O

zan

Tek

inal

p on

Aug

ust 2

1, 2

013

| http

://ar

c.ai

aa.o

rg |

DO

I: 1

0.25

14/6

.201

3-51

67

Copyright © 2013 by Ozan Tekinalp and Anna Prach. Published by the American Institute of Aeronautics and Astronautics, Inc., with permission.