New Robust Adaptive Geometric Tracking Controls on SO(3) with an … · 2011. 11. 17. · to a...

6
Robust Adaptive Geometric Tracking Controls on SO(3) with an Application to the Attitude Dynamics of a Quadrotor UAV Thilina Fernando, Jiten Chandiramani, Taeyoung Lee * , and Hector Gutierrez Abstract— This paper provides new results for a robust adaptive tracking control of the attitude dynamics of a rigid body. Both of the attitude dynamics and the proposed control system are globally expressed on the special orthogonal group, to avoid complexities and ambiguities associated with other attitude representations such as Euler angles or quaternions. By designing an adaptive law for the inertia matrix of a rigid body, the proposed control system can asymptotically follow an attitude command without the knowledge of the inertia matrix, and it is extended to guarantee boundedness of tracking errors in the presence of unstructured disturbances. These are illustrated by numerical examples and experiments for the attitude dynamics of a quadrotor UAV. I. I NTRODUCTION The attitude control problem has been extensively studied under various assumptions (see, for example, [1], [2], [3]). One of the distinct features of the attitude dynamics is that its configuration manifold is not linear: it evolves on a nonlinear manifold, referred as the special orthogonal group, SO(3). This yields important and unique properties that cannot be observed from dynamic systems evolving on a linear space. For example, it has been shown that there exists no continuous feedback control system that asymptotically stabilizes an attitude globally on SO(3) [4]. Geometric control is concerned with the development of control systems for dynamic systems evolving on nonlinear manifolds that cannot be globally identified with Euclidean spaces [5], [6]. By characterizing geometric properties of nonlinear manifolds intrinsically, geometric control tech- niques completely avoids singularities and ambiguities that are associated with local coordinates or improper characteri- zations of a configuration manifold. This approach has been applied to fully actuated rigid body dynamics on Lie groups to achieve almost global asymptotic stability [6], [7], [8], [9]. In this paper, we develop a geometric adaptive controller on SO(3) to track an attitude and angular velocity command without the knowledge of the inertia matrix of a rigid body. An estimate of the inertia matrix is updated online to provide an asymptotic tracking property. It is also extended to a robust adaptive attitude tracking control system. Stable adaptive control schemes designed without consideration of Thilina Fernando and Jiten Chandiramani, Graduate Students at Mechan- ical and Aerospace Engineering, Florida Institute of Technology, Melbourne FL 32901 {mfernand,jchandir}@fit.edu Taeyoung Lee, Mechanical and Aerospace Engineering, The George Washington University, Washington DC 20052 [email protected] Hector Gutierrez, Mechanical and Aerospace Engineering, Florida Insti- tute of Technology, Melbourne FL 32901 [email protected] * This research has been supported in part by NSF under grants CMMI- 1029551. uncertainties may become unstable in the presence of small disturbances [10]. The presented robust adaptive scheme guarantees the boundedness of the attitude tracking error and the inertia matrix estimation error even if there exist modeling errors or disturbances. Compared with a prior work in [8], the proposed adaptive tracking control system has simpler structures, and the proposed robust adaptive tracking control system can be applied to a more general class of unstructured or non-harmonic uncertainties. II. ATTITUDE DYNAMICS OF A RIGID BODY We consider the rotational attitude dynamics of a fully- actuated rigid body. We define an inertial reference frame and a body fixed frame whose origin is located at the mass center of the rigid body. The configuration of the rigid body is the orientation of the body fixed frame with respect to the inertial frame, and it is represented by a rotation matrix R SO(3), where the special orthogonal group SO(3) is the group of 3 × 3 orthogonal matrices with determinant of one, i.e., SO(3)= {R R 3×3 | R T R = I, det R =1}. The equations of motion are given by J ˙ Ω+Ω × J Ω= u , (1) ˙ R = R ˆ Ω, (2) where J R 3×3 is the inertia matrix in the body fixed frame, and Ω R 3 and u R 3 are the angular velocity of the rigid body and the control moment, represented with respect to the body fixed frame, respectively. The vector Δ R 3 represents unknown disturbances in the attitude dynamics. The hat map : R 3 so(3) transforms a vector in R 3 to a 3 × 3 skew-symmetric matrix such that ˆ xy = x × y for any x, y R 3 . The inverse of the hat map is denoted by the vee map : so(3) R 3 . Throughout this paper, the 2-norm of a matrix A is denoted by kAk, and its Frobenius norm is denoted by kAk F = p tr[A T A]. We have kAk≤kAk F rkAk, where r is the rank of A. III. GEOMETRIC TRACKING CONTROL ON SO(3) We develop adaptive control systems to follow a given smooth attitude command R d (t) SO(3). The kinematics equation for the attitude command can be written as ˙ R d = R d ˆ Ω d , (3) where Ω d R 3 is the desired angular velocity. 2011 50th IEEE Conference on Decision and Control and European Control Conference (CDC-ECC) Orlando, FL, USA, December 12-15, 2011 978-1-61284-799-3/11/$26.00 ©2011 IEEE 7380

Transcript of New Robust Adaptive Geometric Tracking Controls on SO(3) with an … · 2011. 11. 17. · to a...

Page 1: New Robust Adaptive Geometric Tracking Controls on SO(3) with an … · 2011. 11. 17. · to a robust adaptive attitude tracking control system. Stable adaptive control schemes designed

Robust Adaptive Geometric Tracking Controls on SO(3)with an Application to the Attitude Dynamics of a Quadrotor UAV

Thilina Fernando, Jiten Chandiramani, Taeyoung Lee∗, and Hector Gutierrez

Abstract— This paper provides new results for a robustadaptive tracking control of the attitude dynamics of a rigidbody. Both of the attitude dynamics and the proposed controlsystem are globally expressed on the special orthogonal group,to avoid complexities and ambiguities associated with otherattitude representations such as Euler angles or quaternions.By designing an adaptive law for the inertia matrix of a rigidbody, the proposed control system can asymptotically followan attitude command without the knowledge of the inertiamatrix, and it is extended to guarantee boundedness of trackingerrors in the presence of unstructured disturbances. These areillustrated by numerical examples and experiments for theattitude dynamics of a quadrotor UAV.

I. INTRODUCTION

The attitude control problem has been extensively studiedunder various assumptions (see, for example, [1], [2], [3]).One of the distinct features of the attitude dynamics isthat its configuration manifold is not linear: it evolves on anonlinear manifold, referred as the special orthogonal group,SO(3). This yields important and unique properties thatcannot be observed from dynamic systems evolving on alinear space. For example, it has been shown that there existsno continuous feedback control system that asymptoticallystabilizes an attitude globally on SO(3) [4].

Geometric control is concerned with the development ofcontrol systems for dynamic systems evolving on nonlinearmanifolds that cannot be globally identified with Euclideanspaces [5], [6]. By characterizing geometric properties ofnonlinear manifolds intrinsically, geometric control tech-niques completely avoids singularities and ambiguities thatare associated with local coordinates or improper characteri-zations of a configuration manifold. This approach has beenapplied to fully actuated rigid body dynamics on Lie groupsto achieve almost global asymptotic stability [6], [7], [8], [9].

In this paper, we develop a geometric adaptive controlleron SO(3) to track an attitude and angular velocity commandwithout the knowledge of the inertia matrix of a rigidbody. An estimate of the inertia matrix is updated online toprovide an asymptotic tracking property. It is also extendedto a robust adaptive attitude tracking control system. Stableadaptive control schemes designed without consideration of

Thilina Fernando and Jiten Chandiramani, Graduate Students at Mechan-ical and Aerospace Engineering, Florida Institute of Technology, MelbourneFL 32901 mfernand,[email protected]

Taeyoung Lee, Mechanical and Aerospace Engineering, The GeorgeWashington University, Washington DC 20052 [email protected]

Hector Gutierrez, Mechanical and Aerospace Engineering, Florida Insti-tute of Technology, Melbourne FL 32901 [email protected]∗This research has been supported in part by NSF under grants CMMI-

1029551.

uncertainties may become unstable in the presence of smalldisturbances [10]. The presented robust adaptive schemeguarantees the boundedness of the attitude tracking errorand the inertia matrix estimation error even if there existmodeling errors or disturbances. Compared with a prior workin [8], the proposed adaptive tracking control system hassimpler structures, and the proposed robust adaptive trackingcontrol system can be applied to a more general class ofunstructured or non-harmonic uncertainties.

II. ATTITUDE DYNAMICS OF A RIGID BODY

We consider the rotational attitude dynamics of a fully-actuated rigid body. We define an inertial reference frameand a body fixed frame whose origin is located at the masscenter of the rigid body. The configuration of the rigid bodyis the orientation of the body fixed frame with respect tothe inertial frame, and it is represented by a rotation matrixR ∈ SO(3), where the special orthogonal group SO(3) isthe group of 3× 3 orthogonal matrices with determinant ofone, i.e., SO(3) = R ∈ R3×3 |RTR = I, detR = 1.

The equations of motion are given by

JΩ + Ω× JΩ = u+ ∆, (1)

R = RΩ, (2)

where J ∈ R3×3 is the inertia matrix in the body fixed frame,and Ω ∈ R3 and u ∈ R3 are the angular velocity of the rigidbody and the control moment, represented with respect to thebody fixed frame, respectively. The vector ∆ ∈ R3 representsunknown disturbances in the attitude dynamics.

The hat map ∧ : R3 → so(3) transforms a vector in R3

to a 3× 3 skew-symmetric matrix such that xy = x× y forany x, y ∈ R3. The inverse of the hat map is denoted by thevee map ∨ : so(3)→ R3. Throughout this paper, the 2-normof a matrix A is denoted by ‖A‖, and its Frobenius norm isdenoted by ‖A‖F =

√tr[ATA]. We have ‖A‖ ≤ ‖A‖F ≤√

r‖A‖, where r is the rank of A.

III. GEOMETRIC TRACKING CONTROL ON SO(3)

We develop adaptive control systems to follow a givensmooth attitude command Rd(t) ∈ SO(3). The kinematicsequation for the attitude command can be written as

Rd = RdΩd, (3)

where Ωd ∈ R3 is the desired angular velocity.

2011 50th IEEE Conference on Decision and Control andEuropean Control Conference (CDC-ECC)Orlando, FL, USA, December 12-15, 2011

978-1-61284-799-3/11/$26.00 ©2011 IEEE 7380

Page 2: New Robust Adaptive Geometric Tracking Controls on SO(3) with an … · 2011. 11. 17. · to a robust adaptive attitude tracking control system. Stable adaptive control schemes designed

A. Attitude Error Dynamics

We define an attitude error dynamics that represent theerrors in tracking the desired attitude trajectory. First, severalproperties of the attitude error function studied in [6], [11]are summarized, and we show few additional facts requiredin this paper. Due to the page limit, the proofs are relegatedto [12].

Proposition 1: For a given tracking command (Rd,Ωd),and the current attitude and angular velocity (R,Ω), wedefine an attitude error function Ψ : SO(3)×SO(3)→ R, anattitude error vector eR ∈ R3, and an angular velocity errorvector eΩ ∈ R3 as follows:

Ψ(R,Rd) =1

2tr[G(I −RTdR)

], (4)

eR(R,Rd) =1

2(GRTdR−RTRdG)∨, (5)

eΩ(R,Ω, Rd,Ω) = Ω−RTRdΩd, (6)

where the matrix G ∈ R3×3 is given by G = diag[g1, g2, g3]for distinct, positive constants g1, g2, g3 ∈ R. Then, thefollowing statements hold:

(i) Ψ is locally positive definite about R = Rd.(ii) the left-trivialized derivative of Ψ is given by

T∗ILR (DRΨ(R,Rd)) = eR. (7)

(iii) the critical points of Ψ, where eR = 0, are Rd ∪Rd exp(πs) for s ∈ e1, e2, e3.

(iv) a lower bound of Ψ is given as follows:

b1‖eR(R,Rd)‖2 ≤ Ψ(R,Rd), (8)

where the constant b1 is given by b1 = h1

h2+h3for

h1 = ming1 + g2, g2 + g3, g3 + g1,h2 = max(g1 − g2)2, (g2 − g3)2, (g3 − g1)2,h3 = max(g1 + g2)2, (g2 + g3)2, (g3 + g1)2.

(v) Let ψ be a positive constant that is strictly less than h1.If Ψ(R,Rd) < ψ < h1, then an upper bound of Ψ isgiven by

Ψ(R,Rd) ≤ b2‖eR(R,Rd)‖2, (9)

where the constant b2 is given by b2 = h1h4

h5(h1−ψ) for

h4 = maxg1 + g2, g2 + g3, g3 + g1h5 = min(g1 + g2)2, (g2 + g3)2, (g3 + g1)2.

Proof: See [12].Proposition 2: The error dynamics for Ψ, eR, eΩ satisfies

d

dt(RTdR) = RTdReΩ (10)

d

dt(Ψ(R,Rd)) = eR · eΩ, (11)

eR = E(R,Rd)eΩ, (12)

eΩ = J−1(−Ω× JΩ + u+ ∆)− αd, (13)

where the matrix E(R,Rd) ∈ R3×3, and the angular accel-eration αd ∈ R3, that is caused by the attitude command,and measured in the body fixed frame, are given by

E(R,Rd) =1

2(tr[RTRdG]I −RTRdG), (14)

αd = −ΩRTRdΩd +RTRdΩd. (15)

Furthermore, the matrix E(R,Rd) is bounded by

‖E(R,Rd)‖ ≤1√2

tr[G] . (16)

Proof: See [12].

B. Adaptive Attitude Tracking

Attitude tracking control systems require the knowledgeof an inertia matrix when the given attitude command is notfixed. But, it is difficult to measure the value of an inertiamatrix exactly. In general, there is an estimation error:

J = J − J , (17)

where the exact inertia matrix and its estimate are denoted bythe matrices J and J ∈ R3×3, respectively. All of matrices,J , J , J are symmetric.

Here, an adaptive tracking controller for the attitudedynamics of a rigid body is presented to follow a givenattitude command without the knowledge of its inertia matrixassuming that there is no disturbance, and that the boundsof the inertia matrix are given.

Assumption 3: The minimum eigenvalue λm ∈ R, and themaximum eigenvalue λM ∈ R of the true inertia matrix Jgiven at (1) are known.

Proposition 4: Assume that there is no disturbance in theattitude dynamics, i.e. ∆ = 0 at (1), and Assumption 3 issatisfied. For a given attitude command Rd(t), and positiveconstants kR, kΩ, kJ ∈ R, we define a control input u ∈ R3,and an update law for J as follows:

u = −kReR − kΩeΩ + Ω× JΩ + Jαd, (18)

˙J =kJ2

(−αdeTA − eAαTd + ΩΩT eA − eAΩΩT ), (19)

where eA ∈ R3 is an augmented error vector given by

eA = eΩ + ceR (20)

for a positive constant c satisfying

c < min

√2b1kRλmλ2M

,

√2kΩ

λM tr[G],

4kRkΩ

k2Ω + 1√

2kRλM tr[G]

.

(21)

Then, the zero equilibrium of the tracking errors (eR, eΩ)and the estimation error J is stable, and those errors areuniformly bounded. Furthermore, the tracking errors for theattitude and the angular velocity asymptotically converge tozero, i.e. eR, eΩ → 0 as t→∞.

Proof: Consider the following Lyapunov function:

V =1

2eΩ · JeΩ + kRΨ(R,Rd) + cJeΩ · eR +

1

2kJ‖J‖2F .

(22)

7381

Page 3: New Robust Adaptive Geometric Tracking Controls on SO(3) with an … · 2011. 11. 17. · to a robust adaptive attitude tracking control system. Stable adaptive control schemes designed

From (8), we obtain

zTW11z ≤ V (23)

where z = [‖eR‖; ‖eΩ‖; ‖J‖F ] ∈ R3, and the matrix W1 ∈R3×3 are given by

W11 =

b1kR 12cλM 0

12cλM

12λm 0

0 0 12kJ

. (24)

Substituting (18) into (13) with ∆ = 0, we obtain

JeΩ = −kReR − kΩeΩ − Jαd − Ω× JΩ. (25)

Using (11), (12), (25), the time-derivative of V is given by

V = −kΩ‖eΩ‖2 − ckR‖eR‖2 + cJeΩ · EeΩ − ckΩeΩ · eR

− (eΩ + ceR) · (Jαd + Ω× JΩ) +1

kJtr[J ˙J].

From (20), and using the fact that x · y = tr[xyT ] = tr[yxT ]for any x, y ∈ R3, and the scalar triple product identity, thiscan be written as

V = −kΩ‖eΩ‖2 − ckR‖eR‖2 + cJeΩ · EeΩ − ckΩeΩ · eR

+ tr

[J

−αdeTA − Ω(eA × Ω)T +

1

kJ

˙J

].

Since ˙J = − ˙J , we can substitute (19) into this. Using thefacts that tr[JA] = tr[JAT ] for any A ∈ R3×3, and (eA ×Ω)T = (eAΩ)T = −ΩT eA, it reduces to

V = −kΩ‖eΩ‖2 − ckR‖eR‖2 + cJeΩ · EeΩ − ckΩeΩ · eR.(26)

From (16), it is bounded by

V ≤ −(kΩ −c√2λM tr[G])‖eΩ‖2 − ckR‖eR‖2

+ ckΩ‖eΩ‖‖eR‖ = −ζTW2ζ, (27)

where ζ = [‖eR‖; ‖eΩ‖] ∈ R2, and the matrix W2 ∈ R2×2

is given by

W2 =

[ckR − ckΩ

2

− ckΩ

2 kΩ − c√2λM tr[G]

]. (28)

The inequality (21) for the constant c guarantees that thematrices W11,W2 are positive definite.

This implies that the Lyapunov function V(t) is boundedfrom below and it is nonincreasing. Therefore, it has a limit,limt→∞ V(t) = V∞, and eR, eΩ, J ∈ L∞.1 From (12),(25), we have eR, eΩ ∈ L∞. Furthermore eR, eΩ ∈ L2

since∫∞

0ζ(τ)TW2ζ(τ)dτ ≤ V(0) − V∞ < ∞. According

to Barbalat’s lemma (or Lemma 3.2.5 in [10]), we haveeR, eΩ → 0 as t→∞.

Remark 5: This proposition guarantees that the attitudeerror vector eR asymptotically converges to zero. But, thisdoes not necessarily imply that R → Rd as t → ∞. Ac-cording to Proposition 1, there exist three additional critical

1A function f : R → R belongs to the Lp space for p ∈ [1,∞), if thefollowing p-norm of the function exits, ‖f‖p =

∫∞0 |f(τ)|p dτ

1/p.

points of Ψ, namely Rd exp(πs) for s ∈ e1, e2, e3,where eR = 0. This is due to the nonlinear structures ofSO(3), and these cannot be avoided for any continuousattitude control systems [4].

But, we can show that those three additional equilibriumpoints are unstable, by using linearization. It turned out thatthese points are saddle equilibria, which have both of stablemanifolds and unstable manifolds [13]. The union of thestable manifolds to these undesirable equilibria has a lowerdimension than the tangent bundle of the configuration space,and we say that it has an almost-global stabilization property.

Remark 6: At Assumption 3, the minimum eigenvalue λmand the maximum eigenvalue λM of the inertia matrix J arerequired. But, in Proposition 4, they are only used to findthe coefficient c at (21). So, Assumption 3 can be relaxed asrequiring an upper bound of λm and a lower bound of λM ,which are relatively simpler to estimate.

C. Robust Adaptive Attitude Tracking

The adaptive tracking control system developed in theprevious section is based on the assumption that there isno disturbance in the attitude dynamics. But, it has been dis-covered that adaptive control schemes may become unstablein the presence of small disturbances [10]. Robust adaptivecontrol deals with redesigning or modifying adaptive controlschemes to make them robust with respect to unmodeled dy-namics or bounded disturbances. In this section, we developa robust adaptive attitude tracking control system assumingthat the bound of disturbances are given.

Assumption 7: The disturbance term in the attitude dy-namics at (1) is bounded by a known constant, i.e. ‖∆‖ ≤ δfor a given positive constant δ.

Proposition 8: Suppose that Assumptions 3 and 7 hold.For a given attitude command Rd(t), and positive constantskR, kΩ, kJ , σ, ε ∈ R, we define a control input u ∈ R3, andan update law for J as follows:

u = −kReR − kΩeΩ + Ω× JΩ + Jαd + v, (29)

v = − δ2eAδ‖eA‖+ ε

, (30)

˙J =kJ2

(−αdeTA − eAαTd + ΩΩT eA − eAΩΩT − 2σJ),

(31)

where eA ∈ R3 is an augmented error vector given at (20)for a positive constant c satisfying (21). Then, if σ and ε aresufficiently small, the zero equilibrium of the tracking errors(eR, eΩ) and the estimation error J are uniformly bounded.

Proof: Consider the Lyapunov function V at (22). Fora positive constant ψ < h1, define D ⊂ SO(3) as

D = R ∈ SO(3) |Ψ < ψ < h1

From Proposition 1, V is bounded in D by

zTW11z ≤ V ≤ zTW12z, (32)

7382

Page 4: New Robust Adaptive Geometric Tracking Controls on SO(3) with an … · 2011. 11. 17. · to a robust adaptive attitude tracking control system. Stable adaptive control schemes designed

where z = [‖eR‖; ‖eΩ‖; ‖J‖F ] ∈ R2, the matrix W11 ∈R2×2 is given by (24), and the matrix W12 is given by

W12 =

b2kR12c2λM 0

12c2λM

12λM 0

0 0 12kJ

.The time-derivative of V along the presented control inputs

is written as

V = −kΩ‖eΩ‖2 − ckR‖eR‖2 + cJeΩ · EeΩ − ckΩeΩ · eR+ eA · (∆ + v) + σtr

[J J]. (33)

Compared with (26), this has three additional terms causedby ∆, v and σ. From Assumption 7 and (30), the second lastterm of (33) is bounded by

eA · (∆ + v) ≤ δ‖eA‖ −δ2‖eA‖2

δ‖eA‖+ ε=

δ‖eA‖δ‖eA‖+ ε

ε ≤ ε.

(34)

The last term of (33) is bounded by

tr[J J]

= tr[J(J − J)

]=

∑1≤i,j≤3

(−J2ij + Jij Jij)

≤∑

1≤i,j≤3

(−1

2J2ij +

1

2J2ij) = −1

2‖J‖2F +

1

2‖J‖2F .

Using the relation between a Frobenius norm and a matrix2-norm, we have ‖J‖F ≤

√3‖J‖ =

√3λM . Therefore,

tr[J J]≤ −1

2‖J‖2F +

3

2λ2M . (35)

Substituting (34), (35) into (33), we obtain

V ≤ −zTW3z +3

2σλ2

M + ε (36)

where the matrix W3 ∈ R3×3 is given by

W3 =

ckR − ckΩ

2 0

− ckΩ

2 kΩ − c√2λM tr[G] 0

0 0 12σ

. (37)

The inequality (21) for the constant c guarantees that thematrices W11,W12,W3 become positive definite. Then, wehave

V ≤ − λmin(W2)

λmax(W12)V +

3

2σλ2

M + ε, (38)

where λmin(·) and λmax(·) represent the minimum eigen-value and the maximum eigenvalue of a matrix, respectively.This implies that V < 0 when V > λmax(W12)

λmin(W3) ( 32σλ

2M + ε) ,

d1.Let a sublevel set of V be Lγ = (R,Ω, J) ∈ SO(3) ×

R3 × R3×3 | V ≤ γ for a constant γ > 0. If the followinginequality for γ is satisfied

γ <ψ

b2λmin(W11) , d2,

we can guarantee that Lγ ⊂ D×R3×R3×3, since it impliesthat ‖z‖2 < ψ

b2, which leads Ψ ≤ b2‖eR‖2 ≤ b2‖z‖2 < ψ.

Bψ/b2

D × R3 × R3×3

Ld2

Ld1

Fig. 1. Boundedness of the error: Outside of the shaded region, representedby λmin(W3)‖z‖2 ≥ ( 3

2σλ2M + ε), we have V ≤ 0 from (36). Inside

of the larger ball, Bψ/b2 = ‖z‖2 ≤ ψ/b2 ⊂ D×R3×R3×3, equations(32) and (38) hold. The inequality (39) guarantees that the smallest sublevelset Ld1

of V , covering the shaded area, lies inside of the largest sublevelset Ld2

of V in Bψ/b2 , i.e. Ld1⊂ Ld2

. Therefore, along any solutionstarting in Ld2

, V decreases until the solution enters Ld1, thereby yielding

uniform boundedness.

Then, from (38), a sublevel set Lγ is a positively invariantset, when d1 < γ < d2, and it becomes smaller until γ = d1.In order to guarantee the existence of such Lγ , the followinginequality should be satisfied

d1 =λmax(W12)

λmin(W3)(3

2σλ2

M + ε) <ψ

b2λmin(W11) = d2,

(39)

which can be achieved by choosing sufficiently small σ andε. Then, according to Theorem 5.1 in [14], for any initialcondition satisfying V(0) < d2, its solution exponentiallyconverges to the following set:

Ld1 ⊂‖z‖2 ≤ λmax(W12)

λmin(W11)λmin(W2)

(3

2σλ2

M + ε

).

Remark 9: The robust adaptive control system in Propo-sition 8 is referred to as fixed σ-modification [10], whererobustness is achieved at the expense of replacing the asymp-totic tracking property of Proposition 4 by boundedness.This property can be improved by the following approaches:(i) the leakage term −2σJ at (31) can be replaced by−2σ(J − J?), where J∗ denotes the best possible priorestimate of the inertia matrix. This shifts the tendency ofJ from zero to J?, thereby reducing the ultimate bound,(ii) a switching σ-modification or ε1-modification can beused to improve the convergence properties in the expense ofdiscontinuities, (iii) the constant ε at (30) can be replaced byε exp(−βt) for any β > 0 to reduce the ultimate bound. Thecorresponding stability analyses are similar to the presentedcase, and they are deferred to a future study.

IV. NUMERICAL EXAMPLES

Parameters of a rigid body model and control systems arechosen as follows2:

J =

1.059× 10−2 −5.156× 10−6 2.361× 10−5

−5.156× 10−6 1.059× 10−2 −1.026× 10−5

2.361× 10−5 −1.026× 10−5 1.005× 10−2

,2All of variables are written in kilograms, meters, seconds, and radians.

7383

Page 5: New Robust Adaptive Geometric Tracking Controls on SO(3) with an … · 2011. 11. 17. · to a robust adaptive attitude tracking control system. Stable adaptive control schemes designed

0 5 10 15 20−0.2

0

0.2

0 5 10 15 20−0.5

0

0.5

eR

0 5 10 15 20−0.1

0

0.1

t

(a) Attitude error vector eR

0 5 10 15 20−2

0

2

0 5 10 15 20−2

0

2

Ω,Ω

d

0 5 10 15 20−1

0

1

t

(b) Angular velocity (Ω:blue, Ωd:red)

0 5 10 15 20−0.02

0

0.02

0.04

J11,J

22,J

33

0 5 10 15 20−0.02

−0.01

0

0.01

J12,J

13,J

23

t

(c) Inertia estimate J (J11, J12:solid,J22, J13:dashed, J33, J23:dotted)

0 5 10 15 20−0.1

0

0.1

0 5 10 15 20−0.1

0

0.1

u

0 5 10 15 20−0.1

0

0.1

t

(d) Control input u

Fig. 2. Adaptive attitude tracking without disturbances

kR = 0.0424, kΩ = 0.0296, kJ = 0.1,

c = 1.0, σ = 0.01, ε = 0.002, δ = 0.2.

Initial conditions are given by

J(0) = 0.001I, R(0) = I, Ω(0) = 0.

The desired attitude command is described by using 3-2-1 Euler angles [15], i.e. Rd(t) = Rd(φ(t), θ(t), ψ(t)), andthese angles are chosen as

φ(t) =π

9sin(πt), θ(t) =

π

9cos(πt), ψ(t) = 0.

We consider three cases:(i) Adaptive attitude tracking control system presented at

Proposition 4 without disturbances.(ii) Adaptive attitude tracking control system presented at

Proposition 4 with the following disturbances:

∆ = 0.1[sin(2πt) cos(5πt) R11(t)

].

(iii) Robust adaptive attitude tracking control system pre-sented at Proposition 8 with the above disturbancemodel.

It has been shown that general-purpose numerical integra-tors fail to preserve the structure of the special orthogonalgroup SO(3), and they may yields unreliable computationalresults for complex maneuvers of rigid bodies [16]. In thispaper, we use a geometric numerical integrators, referredto as a Lie group variational integrator, to preserve theunderlying geometric structures of the attitude dynamicsaccurately [17].

Simulation results are illustrated at Figures 2-4. Whenthere is no disturbance, the adaptive attitude tracking controlsystem presented at Proposition 4 follows the given attitudecommand accurately at Fig. 2. But, these convergence prop-erties are degraded in the presence of disturbances. At Fig.

0 5 10 15 20−0.5

0

0.5

0 5 10 15 20−0.5

0

0.5

eR

0 5 10 15 20−0.5

0

0.5

t

(a) Attitude error vector eR

0 5 10 15 20−5

0

5

0 5 10 15 20−5

0

5

Ω,Ω

d

0 5 10 15 20−5

0

5

t

(b) Angular velocity (Ω:blue, Ωd:red)

0 5 10 15 20−0.1

0

0.1

J11,J

22,J

33

0 5 10 15 20−0.1

0

0.1

J12,J

13,J

23

t

(c) Inertia estimate J (J11, J12:solid,J22, J13:dashed, J33, J23:dotted)

0 5 10 15 20−0.5

0

0.5

0 5 10 15 20−0.5

0

0.5

u

0 5 10 15 20−0.5

0

0.5

t

(d) Control input u

Fig. 3. Adaptive attitude tracking with disturbances

0 5 10 15 20−0.050

0.05

0 5 10 15 20−0.50

0.5

e R

0 5 10 15 20−505x 10−3

t

(a) Attitude error vector eR

0 5 10 15 20−2

0

2

0 5 10 15 20−2

0

2

Ω,Ω

d

0 5 10 15 20−0.5

0

0.5

t

(b) Angular velocity (Ω:blue, Ωd:red)

0 5 10 15 20−0.01

0

0.01

J11,J

22,J

33

0 5 10 15 20−5

0

5x 10−3

J12,J

13,J

23

t

(c) Inertia estimate J (J11, J12:solid,J22, J13:dashed, J33, J23:dotted)

0 5 10 15 20−0.5

0

0.5

0 5 10 15 20−0.2

0

0.2

u

0 5 10 15 20−0.1

0

0.1

t

(d) Control input u

Fig. 4. Robust adaptive attitude tracking with disturbances

3, the tracking errors do not converge to zero asymptotically,and the estimate of the inertia matrix and control inputs fluc-tuate. These are significantly improved by the robust adaptivetracking controller discussed at Proposition 8. At Fig. 4,the tracking errors for the attitude and the angular velocityare close to zero, and the estimate of the inertia matrixis bounded. These show that the proposed robust adaptiveapproach is effective in following an attitude command inthe presence of disturbances.

V. EXPERIMENT ON A QUADROTOR UAV

A quadrotor unmanned aerial vehicle (UAV) is composedof two pairs of counter-rotating rotors and propellers. Due

7384

Page 6: New Robust Adaptive Geometric Tracking Controls on SO(3) with an … · 2011. 11. 17. · to a robust adaptive attitude tracking control system. Stable adaptive control schemes designed

OMAP 600MHzProcessor

Attitude sensor3DM-GX3via UART

BLDC Motorvia I2C

Safety SwitchXBee RF

WIFI toGround Station

LiPo Battery11.1V, 2200mAh

(a) Hardware configuration (b) Attitude controltestbed

Fig. 5. Attitude control experiment for a quadrotor UAV

to its simple mechanical structure, it has been envisaged forvarious applications such as surveillance or mobile sensornetworks as well as for educational purposes.

We have developed a hardware system for a quadrotorUAV. It is composed of the following parts:• Gumstix Overo computer-in-module (OMAP 600MHz

processor), running a (non-realtime) Linux operatingsystem. It communicates to a ground station via WIFI.

• Microstrain 3DM-GX3 attitude sensor, connected toGumstix via UART.

• Phifun motor speed controller, connected to Gumstixvia I2C.

• Roxxy 2827-35 Brushless DC motors.• MaxStream XBee RF module, which is used for an extra

safety switch.To test the attitude dynamics only, it is attached to a sphericaljoint. As the center of rotation is below the center of gravity,there exists a destabilizing gravitational moment, and theresulting attitude dynamics is similar to an inverted rigidbody pendulum.

We apply the robust adaptive attitude control system atProposition 8 to this quadrotor UAV. The control input at(29) is augmented with an additional term to eliminate thegravitational moment. The disturbances are mainly due tothe error in canceling the gravitational moment, the frictionin the spherical joint, as well as sensor noises and thrustmeasurement errors.

The attitude tracking command and control input parame-ters are identical to the numerical examples discussed in theprevious section, except the following variables:

kJ = 0.01, σ = 0.01, ε = 0.35.

The corresponding experimental results are illustrated atFig. 6. Overall, it exhibits a good attitude command trackingperformance, while the second component of the attitudeerror vector eR, and the third component of the angularvelocity tracking error are relatively large. The estimates ofthe inertia matrix are bounded.

REFERENCES

[1] B. Wie, H. Weiss, and A. Araposthatis, “Quaternion feedback regulatorfor spacecraft eigenaxis rotation,” Journal of Guidance, Control, andDynamics, vol. 2, pp. 343–357, 1989.

0 5 10 15 20−1

0

1

0 5 10 15 20−0.2

00.2

eR

0 5 10 15 20−0.1

0

0.1

t

(a) Attitude error vector eR

0 5 10 15 20−2

0

2

0 5 10 15 20−5

0

5

Ω,Ω

d

0 5 10 15 20−1

0

1

t

(b) Angular velocity (Ω:blue, Ωd:red)

0 5 10 15 200

0.01

0.02

J11,J

22,J

33

0 5 10 15 20−5

0

5x 10−3

J12,J

13,J

23

t

(c) Inertia estimate J (J11, J12:solid,J22, J13:dashed, J33, J23:dotted(kgm2))

0 5 10 15 20−0.5

0

0.5

0 5 10 15 20−0.5

0

0.5

u

0 5 10 15 20−0.2

0

0.2

t

(d) Control input u

Fig. 6. Robust adaptive attitude tracking experiment

[2] J. Wen and K. Kreutz-Delgado, “The attitude control problem,” IEEETransactions on Automatic Control, vol. 36, no. 10, pp. 1148–1162,1991.

[3] P. Hughes, Spacecraft Attitude Dynamics. Wiley, 1986.[4] D. Koditschek, “Application of a new Lyapunov function to global

adaptive tracking,” in Proceedings of the IEEE Conference on Decisionand Control, 1988, pp. 63–68.

[5] V. Jurdjevic, Geometric Control Theory. Cambridge University, 1997.[6] F. Bullo and A. Lewis, Geometric control of mechanical systems.

Springer-Verlag, 2005.[7] D. Maithripala, J. Berg, and W. Dayawansa, “Almost global tracking

of simple mechanical systems on a general class of Lie groups,” IEEETransactions on Automatic Control, vol. 51, no. 1, pp. 216–225, 2006.

[8] A. Sanyal, A. Fosbury, N. Chaturvedi, and D. Bernstein, “Inertia-free spacecraft attitude tracking with disturbance rejection and almostglobal stabilization,” Journal of Guidance, Control, and Dynamics,vol. 32, no. 4, pp. 1167–1178, 2009.

[9] T. Lee, M. Leok, and N. McClamroch, “Geometric tracking control ofa quadrotor UAV on SE(3),” in Proceedings of the IEEE Conferenceon Decision and Control, 2010, pp. 5420–5425.

[10] P. Ioannou and J. Sun, Robust Adaptive Control. Prentice-Hall, 1996.[11] N. Chaturvedi, N. H. McClamroch, and D. Bernstein, “Asymptotic

smooth stabilization of the inverted 3-D pendulum,” IEEE Transac-tions on Automatic Control, vol. 54, no. 6, pp. 1204–1215, 2009.

[12] T. Lee, “Robust adaptive geometric tracking controls on SO(3) withan application to the attitude dynamics of a quadrotor uav,” arXiv,2011. [Online]. Available: http://arxiv.org/abs/1108.6031

[13] T. Lee, M. Leok, and N. McClamroch, “Stable manifolds of saddlepoints for pendulum dynamics on S2 and SO(3),” in Proceedingsof the IEEE Conference on Decision and Control, 2011, accepted.[Online]. Available: http://arxiv.org/abs/1103.2822

[14] H. Khalil, Nonlinear Systems, 2nd Edition, Ed. Prentice Hall, 1996.[15] M. Shuster, “Survey of attitude representations,” Journal of the Astro-

nautical Sciences, vol. 41, pp. 439–517, 1993.[16] E. Hairer, C. Lubich, and G. Wanner, Geometric numerical integration,

ser. Springer Series in Computational Mechanics 31. Springer, 2000.[17] T. Lee, M. Leok, and N. H. McClamroch, “Lie group variational

integrators for the full body problem in orbital mechanics,” CelestialMechanics and Dynamical Astronomy, vol. 98, pp. 121–144, 2007.

7385