young acc 06 control

6
Control of a Nonafne Double-Pendulum System via Dynamic Inversion and Time-Scale Separation Amanda Young, Chengyu Cao, Naira Hovakimyan and Eugene Lavretsky Abstract.  A new method is presente d for control of nonafne double pend ulum sys tem via dyna mic inversion and time-scale separation. The control signal is dened as a solution of “fast” dynamics, and the cou- pled system is shown to be stable using the framework of Tikhonov’s theorem from singular perturbations the- ory. Simulations illustrate the theoretical results. I. I NTRODUCTION Stab iliz atio n of the in vert ed pendu lum is cons ider ed to be one of the benchmark problems in nonlinear control [1]– [5]. This model is mainly used for demonstration of various new control methodologies, like genetic algorithms in [1], part ial feed back line ariz atio n and inte grator backs teppi ng in [5], energy based approach in [6], to name a few. The problem of stabilization becomes more challenging, when the pendulum is comprised of more than one rod [7]–[13]. Practical signicance of these studies is apparent in a variety of real isti c appl icat ions , like control of mani pulat ors or cra ne con tro l [14 ]–[ 16]. In this par tic ula r paper, we are inte rest ed in usin g the double-p endul um as an acade mic example to demo nstr ate a nov el control meth odol ogy for nonafne nonlinear systems. Control of nonafne-in-input pendulum has been considered in [4]. The signicance of nonafne-in-control methods is apparent when considering appli cati ons, in which the syste m’ s contr ol eff ecti veness depends nonlinearly upon the control input [17]. In thi s pap er , we use the contro l me tho dol ogy fro m [18] to solve the tracking problem for a nonafne double inv erte d pendu lum. The meth od reli es on time -sca le sep- aration betwe en the syst em dynamics and the cont roll er dynamics. The control signal is sought as solution of fast dynamics, which is shown to satisfy the sufcient conditions of Tikhonov’s theorem from singular perturbations theory. The paper is or gan ize d as fol lo ws. In Sec tio n II , we describe the dyna mics and giv e the probl em formulat ion. Sec tio n III det ail s the con tro l des ign , whi ch is fur the r ana lyz ed in Sec ti on IV. Simula tio n results are gi ven in Section V. II. PROBLEM S TATEMENT Consider the two degree-of-freedom double pendulum in Fig ure 1. The two rod s may rotat e in the vert ica l pla ne. Resea rch is supporte d by AFOS R under Contra ct No. F A955 0-05 -1- 0157. A. Y oung , C. Cao and N. Hov akimyan are with Vir gini a Poly tech- nic Institute and State Universi ty, Blacksbur g, VA, 24061-0203, e-mail: {ayoung83, chengyu, nhovakim}@vt.edu E. Lavretsky is with The Boeing Company - Phantom Works, Hunting- ton Beach, CA 92647-2099, email: [email protected] Fig. 1. Doub le Pen dulu m Sys tem Torque control is applied at the two connecting joints. The rods are treated as rigid bodies, and all frictional forces are ignored. The following equations of motion can be derived via Lagrange’s equations [19]: M 1 (t) M 2 (t) =  1 3 l 2 1 (m 1  + 3 m 2 )  ¨ θ(t)+ 1 2 gl 1 (m 1  + 2 m 2 )sin(θ)(t)+ 1 2 l 1 l 2 m 2  co s (φ(t) θ(t))  ¨ φ(t)1 2 l 1 l 2 m 2  ˙ φ 2 (t)sin(φ(t) θ(t)) (1) M 2 (t) =  1 2 l 1 l 2 m 2  co s (φ(t) θ(t))  ¨ θ(t)+ 1 3 m 2 l 2 2  ¨ φ(t) +  1 2 gl 2 m 2  sin (φ)(t)1 2 l 1 l 2 m 2  ˙ θ 2 (t)sin(φ(t) θ(t)), where  θ(t)  and  φ(t)  are the gene ralized coor dina tes, and M 1 (t)  and M 2 (t)  are the torques acting on the connecting  joints of rod  1  and rod  2. In general, torque is produced via an actuator that can nonlinearly depend upon the sys- tem stat es and the actua l con tr ol inp ut, so tha t  M i (t) = M i (θ(t), φ(t), u i (t)). With the following notations f 11 (θ, φ) =  12 l 2 1 [4m 1  + 12m 2 9m 2  cos 2 (φ θ)] , f 12 (θ, φ) =  12l 2  + 18 l 1  co s (φ θ) l 2 1 l 2 [9m 2  cos 2 (φ θ) 4m 1 12m 2 ] , f 21 (θ, φ) =  18cos(φ θ) l 1 l 2 [9m 2  cos 2 (φ θ) 4m 1 12m 2 ] , Proceedings of the 2006 American Control Conference Minneapolis, Minnesota, USA, June 14-16, 2006 WeC12.4 1-4244-0210-7/06/$20.00 ©2006 IEEE  1820 Authorized licensed use limited to: UNIVERSITY OF CONNECTICUT. Downloaded on February 12, 2009 at 09:58 from IEEE Xplore. Restrictions apply.

Upload: gustavo-huertas-rojas

Post on 04-Jun-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Young Acc 06 Control

8/13/2019 Young Acc 06 Control

http://slidepdf.com/reader/full/young-acc-06-control 1/6

Page 2: Young Acc 06 Control

8/13/2019 Young Acc 06 Control

http://slidepdf.com/reader/full/young-acc-06-control 2/6

f 22(θ, φ) = 12m1 + 36m2

l22m2[4m1 + 12m2 − 9m2 cos2 (φ − θ)]

+ 18l2 cos (φ − θ)

l1l22[4m1 + 12m2 − 9m2 cos2 (φ − θ)],

f 13(θ, θ,φ, φ) = 9gm2 sin (2φ − θ)

l1[15m2 + 8m1 − 9m2 cos (2φ − 2θ)] −

9l1m2 θ2 sin(2φ − 2θ)

l1[15m2 + 8m1 − 9m2 cos (2φ − 2θ)] +

12l2m2 φ2 sin(φ − θ)

l1[15m2 + 8m1 − 9m2 cos (2φ − 2θ)] −

(15gm2 + 12gm1)sin(θ)

l1[15m2 + 8m1 − 9m2 cos (2φ − 2θ)],

f 23(θ, θ,φ, φ) = 12l1 θ2 sin(φ − θ)(m1 + 3m2)

l2[15m2 + 8m1 − 9m2 cos (2φ − 2θ)] −

9l2m2

˙φ

2

sin(2φ − 2θ)l2[15m2 + 8m1 − 9m2 cos (2φ − 2θ)] −

9g sin(φ − 2θ)(m1 + 2m2)

l2[15m2 + 8m1 − 9m2 cos (2φ − 2θ)] +

3g sin(φ)(m1 + 6m2)

l2[15m2 + 8m1 − 9m2 cos (2φ − 2θ)].

The equations in (1) can be solved with respect to θ(t) and

φ(t):

θ(t) = f 11(θ, φ) M 1(θ(t), φ(t), u1(t))+f 12(θ, φ) M 2(θ(t), φ(t), u2(t))+

f 13(θ, θ,φ, φ)

(2)

φ(t) = f 21(θ, φ) M 1(θ(t), φ(t), u1(t))+f 22(θ, φ) M 2(θ(t), φ(t), u2(t))+

f 23(θ, θ,φ, φ),

θ(0) = θ0, θ(0) = θ0, φ(0) = φ0, φ(0) = φ0,

where θ0, θ0, φ0, φ0 are initial conditions. Letting

x1(t) = θ(t), x2(t) = θ(t), x3(t) = φ(t), x4(t) = φ(t),

the double pendulum system in (1) can be written in state-

space form:

x1(t)

x2(t)x3(t)x4(t)

=

0 1 0 0

0 0 0 00 0 0 10 0 0 0

x1(t)

x2(t)x3(t)x4(t)

+

0 01 00 00 1

f 1(x(t), u(t))f 2(x(t), u(t))

,

y(t) =

1 0 0 00 0 1 0

x(t), x(0) = x0 ,

where x(t) =

x1(t) x2(t) x3(t) x4(t)

is the

vector of measurable states, y(t) =

y1(t) y2(t)

is

the vector of regulated outputs, u(t) =

u1(t) u2(t)

is the vector of control inputs, and

f 1(x, u) = f 11(x)M 1(x, u1) + f 12(x)M 2(x, u2)+f 13(x)

f 2(x, u) = f 21(x)M 1(x, u1) + f 22(x)M 2(x, u2)+f 23(x).

(3)

It is straightforward to verify that f 11, f 12, f 13, f 21, f 22,

f 23 are well-defined for all x ∈ R4. We notice that the

system has full relative degree with respect to the regulated

outputs so that there are no internal dynamics present in

the system. To ensure controllability, we assume that the

nonlinear functions of control input satisfy:

∂M i(x, ui)

∂ui

≥ β i > 0 (4)

for some β i > 0 and i = 1, 2. The control objective is todesign control input u(t) so that the output y(t) tracks a

desired bounded reference trajectory rd(t) asymptotically.

III. CONTROL D ESIGN FOR THE P ENDULUM S YSTEM

A. Reference Model

Consider a reference system given by:

xr(t) = Arxr(t) + Brr(t), t ≥ 0, xr(0) = xr,0

yr(t) = C rxr(t), (5)

where the matrices Ar, Br, and C r are defined as

Ar =

0 1 0 0

−ar

21 −ar

22 0 00 0 0 10 0 −ar43 −ar44

,

Br =

0 0br21 00 00 br42

, C r =

1 0 0 00 0 1 0

,

xr(t) =

xr1(t) xr2(t) xr3(t) xr4(t)

denotes the

state vector of the reference system, ar21, ar22, ar43, ar44 are

such that Ar is Hurwitz. Let rd(t) =

rd1(t) rd2(t)

be the vector of desired smooth bounded reference trajec-

tories. Due to the time-varying nature of rd(t) and the

definition of the reference model, if one sets r(t) = rd(t),then yr(t) will track rd(t) with bounded errors. To force

yr(t) track the desired signal rd(t) asymptotically and

guarantee zero steady state tracking error, we introduce the

following reference input:

r(t) =

ar

21

br21

0

0 ar

43

br42

rd(t) +

ar

22

br21

0

0 ar

44

br42

rd(t) +

1br21

0

0 1br42

rd(t). (6)

1821

Authorized licensed use limited to: UNIVERSITY OF CONNECTICUT. Downloaded on February 12, 2009 at 09:58 from IEEE Xplore. Restrictions apply.

Page 3: Young Acc 06 Control

8/13/2019 Young Acc 06 Control

http://slidepdf.com/reader/full/young-acc-06-control 3/6

It is straightforward to verify that limt→∞

(yr(t) − rd(t)) = 0,

where yr(t) has been defined in (5).

B. Control Law

Let e(t) = x(t) − xr(t) be the tracking error. Then the

open-loop tracking error dynamics are given by:

e(t) = F (e(t) + xr(t), u(t)) − Arxr(t) − Brr(t), (7)

with e(0) = e0 and

F (x, u) =

x2 f 1(x, u) x4 f 2(x, u)

,

where f i(x, u) have been defined in (3). Dynamic inversion

based control is to be determined from the solution of the

following system of equations f 1(x, u)f 2(x, u)

=

−ar21x1 − ar22x2 + br21r1−ar43x3 − ar44x4 + br42r2

, (8)

yielding the following asymptotically stable error dynamics:

e(t) = Are(t), e(0) = e0.However, due to the nonlinear expressions in (3), an explicit

expression for u from (8) cannot be obtained, in general.

Following [18], introduce the following fast dynamics to

approximate its solution:

u(t) = −Λ(t, e(t), u(t))Q−1(t, e(t))f (t, e(t), u(t)), (9)

u(0) = u0, 0 < 1,

where

f (t,e,u) =

f 1(e + xr(t), u) + ar21(xr1(t) + e1)+

ar22(xr2(t) + e2) − br21r1(t)

f 2(e + xr(t), u) + ar43(x

r3(t) + e3)+

ar44(xr4(t) + e4) − br42r2(t)

, (10)

Q(t, e) =

f 11(e + xr(t)) f 12(e + xr(t))f 21(e + xr(t)) f 22(e + xr(t))

, (11)

and

Λ(t,e,u) =

∂M 1(e+xr(t),u1)

∂u10

0 ∂M 2(e+xr(t),u2)∂u2

. (12)

We note that Q(t, e)Λ(t,e,u) is the 2 x 2 Jacobian matrix

∂f 1∂u1

(e + xr(t), u1) ∂f 1∂u2

(e + xr(t), u2)∂f 2

∂u1(e + xr(t), u1) ∂f 2

∂u2(e + xr(t), u2) ,

where

∂f 1∂u1

(e + xr(t), u1) = f 11(e + xr(t))∂M 1(e + xr(t), u1)

∂u1

∂f 1∂u2

(e + xr(t), u2) = f 12(e + xr(t))∂M 2(e + xr(t), u2)

∂u2

∂f 2∂u1

(e + xr(t), u1) = f 21(e + xr(t))∂M 1(e + xr(t), u1)

∂u1

∂f 2∂u2

(e + xr(t), u2) = f 22(e + xr(t))∂M 2(e + xr(t), u2)

∂u2.

We also notice that the matrix Q(x) can be row reduced us-

ing the explicit forms of f 11(x), f 12(x), f 21(x) and f 22(x)and rewritten as

1 q 1(x)0 q 2(x)

, (13)

in which

q 2(x) = 4l1m1 + 12l1m2 − 9l1m2 cos2 (x3 − x1)

2l2m2= 0

for any x ∈ R4, which implies that Q(x) is full rank, so

that its inverse, used in (9), is well-defined. We argue that

the solution of the singularly perturbed system (7), (9) will

solve the tracking problem. Towards that end, we recall

Tikhonov’s theorem from singular perturbations theory.

IV. CONVERGENCE A NALYSIS OF THE N ONAFFINE

CONTROL L AW

A. Tikhonov’s Theorem

Consider the problem of solving the following singularly

perturbed system

Σ0 :

x(t) = f (t, x(t), u(t), ), x(0) = ζ ()u(t) = g(t, x(t), u(t), ), u(0) = η()

, (14)

where ζ : → ζ () and η : → η() are smooth, f and g are continuously differentiable in their arguments for

(t,x,u,) ∈ [0, ∞] × Dx × Du × [0, 0], where Dx ⊂ Rn

and Du ⊂ Rm are domains, and 0 > 0. Let Σ0 be in

standard form, that is,

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

has k ≥ 1 isolated real roots u = hi(t, x), i ∈ 1,...,k

for any (t, x) ∈ [0, ∞] × Dx. Choose one particular i anddrop the subscript henceforth. Let ν (t, x) = u − h(t, x).

Then the system given by

Σ00 : x(t) = f (t, x(t), h(t, x(t), 0), x(0) = ζ (0), (16)

is called the reduced system, and the system given by

Σb : dν

dτ = g(t,x,ν + h(t, x), 0), ν (0) = η0 − h(t, ζ 0) (17)

is called the boundary layer system, where η0 = η(0) and

ζ 0 = ζ (0) are fixed initial parameters, and (t, x) ∈ [0, ∞)×Dx . The new time scale τ is related to the original one via

τ = t

. The next theorem is due to Tikhonov.

Theorem 4.1: Consider the singular perturbation systemΣ0 given in (14) and let u = h(t, x) be an isolated root

of (15). Assume that the following conditions are satisfied

for all [t,x,u − h(t, x), ] ∈ [0, ∞) × Dx × Dv × [0, 0]for some domains Dx ⊂ R

n and Dv ⊂ Rm, 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

1822

Authorized licensed use limited to: UNIVERSITY OF CONNECTICUT. Downloaded on February 12, 2009 at 09:58 from IEEE Xplore. Restrictions apply.

Page 4: Young Acc 06 Control

8/13/2019 Young Acc 06 Control

http://slidepdf.com/reader/full/young-acc-06-control 4/6

arguments,∂f ∂x

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

is Lipschitz in x, uni-

formly in t, and the initial data given by ξ and η are

smooth functions of .

A2. The origin is an exponentially stable equilibrium point

of the reduced system Σ00 given by equation (16).

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

W 1(x) ≤ V (t, x) ≤ W 2(x)∂V ∂t

(t, x) + ∂V ∂x

(t, x)f (t,x,h(t, x), 0) ≤ −W 3(x)

for all (t, x) ∈ [0, ∞) × Dx, where W 1, W 2, W 3are continuous positive definite functions on Dx,

and let c be a nonnegative number such that x ∈Dx | W 1(x) ≤ c is a compact subset of Dx.

A3. The origin is an equilibrium point of the boundary

layer system Σb given by equation (17), 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 | W 2(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 (16).

We will refer to the following Remark which will be used

to prove exponential stability of the boundary layer system.

Remark 1: Verification of Assumption A3 can be done

via a Lyapunov argument: if there is a Lyapunov function

V : [0, ∞) × Dx × Dv that satisfies

c1v2 ≤ V (t,x,v) ≤ c2v2 (18)

∂V

∂v g(t,x,v + h(t, x)) ≤ −c3v2, (19)

for all (t,x,v) ∈ [0, ∞) × Dx × Dv, then Assumption A3

is satisfied.

B. Convergence Result

The condition in (4) implies existence of an isolated root

for f (t,e,u) = 0. Let u = h(t, e) denote this isolated root.

Following Theorem 4.1, the reduced system for (7), (9) is

given by

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

and the boundary layer system is given by

dτ = Λ(t,e,ν + h(t, e))Q−1(t, e)f (t,e,ν + h(t, e)), (21)

with ν (0) = ν 0.

The main theorem of this paper is stated as follows:

Theorem 4.2: Subject to the condition in (4), the origin

of (21) is exponentially stable. Moreover, there exists an

∗ > 0 and a T > 0, such that for all t ≥ T and 0 < < ∗,

the system given by (3), (9) has a unique solution on [0, ∞),

x(t) = xr(t) + O() holds uniformly for t ∈ [T, ∞).

Proof. We will verify that the assumptions in Tikhonov’s

theorem are satisfied. Verification of A1 is straightforward,

since the condition in (4) implies that for any compact

subset, the function f and its first partial derivatives with

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

(t,e,ν + h(t, e)) have bounded first derivatives with

respect to their arguments, and ∂ f ∂e

(t,e,ν + h(t, e)) is

Lipschitz 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 (20), and, hence, A2

is satisfied.

For verification of A3, consider the following Lyapunov

function candidate for the boundary layer system (21):

V (t,e,ν (τ )) =Q−1(t, e)f (t,e,ν (τ ) + h(t, e))

Q−1(t, e)f (t,e,ν (τ ) + h(t, e))

. (22)

Since f (t,e,h(t, e)) = 0, then Q−1(t, e)f (t,e,h(t, e)) = 0,

and hence V (t,e, 0) = 0. Therefore

V (t,e,ν ) =

L

∇V (t,e,s)ds, (23)

where L

assumes integration along the

pass L from zero to ν , and ∇V (t,e,ν ) =Q−1(t, e)f (t,e,ν + h(t, e))

Λ(t,e,ν + h(t, e)).

Since

∂ f (t,e,ν + h(t, e))

∂ν = Q(t, e)Λ(t,e,ν + h(t, e)), (24)

then f (t,e,ν + h(t, e)) = LQ(t, e)Λ(t,e,s + h(t, e))ds.

Hence, it follows from (23) that

V (t,e,ν ) = L

L1

Q(t, e)Λ(t,e,s1 + h(t, e))ds1

(Q−1(t, e))Λ(t,e,s + h(t, e))ds,

and consequently,

V (t,e,ν ) =

L

L1

(ds1)Λ(t,e,s1 + h(t, e))

Λ(t,e,s + h(t, e))ds, (25)

where L

, L1

assume integration along the pass L and L1

from zero to ν , s, respectively. From (4), (12), one can de-

rive that λmin

Λ(t,e,s1 + h(t, e))Λ(t,e,s + h(t, e))

min(β 21 , β 22), where λmin(·) denotes the minimum eigen-

value. Consequently,

V (t,e,ν ) ≥

L

L1

λmin

Λ(t,e,s1 + h(t, e))

Λ(t,e,s + h(t, e)))(ds1)ds

=

||ν ||0

χ0

λmin

Λ(t,e,s1 + h(t, e))

Λ(t,e,s + h(t, e))) dξdχ. (26)

Therefore,

V (t,e,ν ) ≥ c1||ν ||2. (27)

1823

Authorized licensed use limited to: UNIVERSITY OF CONNECTICUT. Downloaded on February 12, 2009 at 09:58 from IEEE Xplore. Restrictions apply.

Page 5: Young Acc 06 Control

8/13/2019 Young Acc 06 Control

http://slidepdf.com/reader/full/young-acc-06-control 5/6

Condition A1 implies that there exists c2 such that

V (t,e,ν ) ≤ c2||ν ||2, which verifies (18). Using the rela-

tionships in (21) and (22), one obtains

V (t,e,ν ) = (Q−1(t, e)f (t,e,ν + h(t, e)))

Λ(t,e,ν + h(t, e))Λ(t,e,ν + h(t, e))

Q−1(t, e)f (t,e,ν + h(t, e))

(28)

= f (t,e,ν + h(t, e))(Q−1(t, e))

Λ(t,e,ν + h(t, e))Λ(t,e,ν + h(t, e))

Q−1(t, e)f (t,e,ν + h(t, e)),

which implies that V (t,e,ν ) ≤ −2c1V (t,e,ν ). Con-

sequently, the inequality in (27) leads to V (t,e,ν ) ≤−2c21||ν ||2, and this proves that (19) holds with c3 =2c21. Hence, A3 holds, and the boundary layer (21) has

exponentially stable origin. Following Tikhonov’s theorem,

there exists an ∗ > 0 and a T > 0, such that for all t ≥ T and 0 < < ∗, the system given by (3), (9) has a unique

solution, x(t) on [0, ∞), and x(t) = xr(t) + O() holdsuniformly for t ∈ [T, ∞).

V. SIMULATIONS

For simplicity, let m1 = m2 = 1 kg, l1 = l2 = 1 m,

and let g = 9.81 m/s2. Since actuator models are often

represented by hyperbolic tangent functions of control input

u, we assume that M 1 and M 2 are given as

M 1(u1) = tanh(u1) + 0.35u1

M 2(u2) = tanh(u2) + 0.25u2 ,

so that

∂M 1(u1)

∂u1≥ 0.35 > 0,

∂M 2(u2)

∂u2≥ 0.25 > 0.

From (13) it follows that the matrices Q(t, x) and Λ(u) are

given by

Q(x) =

f 11(x) f 12(x)f 21(x) f 22(x)

,

Λ(u) =

1.35 − tanh2 (u1) 0

0 1.25 − tanh2 (u2)

.

We consider the following reference input:

rd(t) =

sin(t) + e−t

sin(2t) + e−t. (29)

This parametrization ensures that as the exponential term

decays, x1 and x3 follow a figure ∞ pattern as described

in [20]. Let

Ar =

0 1 0 0−20 −9 0 0

0 0 0 10 0 −6 −5

, Br =

0 020 00 00 6

.

In order to ensure asymptotic convergence of the states

x1(t) and x3(t) to the reference input, we define r(t) as

r(t) =

1 00 1

rd(t) +

920 00 5

6

rd(t) +

120 00 1

6 rd(t).

The fast dynamics are designed as:

0.003u(t) = −Λ(u(t))(Q−1(t, e))f (t,e,u(t)),

u0 =

0 0

,

where

f (t,e,u) =

f 1(e + xr(t), u) + 20(e1 + xr1(t))+9(e2 + xr2(t)) − 20

rd1(t) + 9

20 rd1(t)

−rd1(t)

f 2(e + xr(t), u) + 6(e3 + xr

3

(t))+5(e4 + xr4(t)) − 6

rd2(t) + 5

6 rd2(t)

−rd2(t)

.

The initial values used for this numerical simulation are:

x0 = [0 0 0 0] and xr0 = [0 0 0 0]. The plots in Figures

2, 3 show the simulation results. Figure 2 shows the closed-

loop tracking performance of the reference state xr(t) to

the desired reference trajectory rd(t) and the closed-loop

tracking performance of the reference state xr(t) by system

state x(t), while Figure 3 shows the phase plot of the states

x1(t) and x2(t) and the control effort u(t). Note that all

signals are bounded and x(t) tracks rd(t).

0 5 10 15 20−60

−40

−20

0

20

40

60Reference State Tracking of Reference Input

time, t in sec

d e g r e e s

0 5 10 15 20−60

−40

−20

0

20

40

60System State Tracking of Reference State

time,t in sec

d e g r e e s

Fig. 2. (top) Output y(t) (dashed lines) and reference input rd(t) (solidlines), (bottom) system output y(t) (dashed lines) and reference outputyr(t) (solid lines).

1824

Authorized licensed use limited to: UNIVERSITY OF CONNECTICUT. Downloaded on February 12, 2009 at 09:58 from IEEE Xplore. Restrictions apply.

Page 6: Young Acc 06 Control

8/13/2019 Young Acc 06 Control

http://slidepdf.com/reader/full/young-acc-06-control 6/6

−60 −40 −20 0 20 40 60−100

−50

0

50

100Phase Plot

state x1

s t a t e x 3

0 5 10 15 20−40

−20

0

20

40Control Effort, u

time,t in sec

m a g n i t u d e

Fig. 3. (top) Phase plot of system states x1 versus x3, and (bottom)control input u(t) (u1 solid line, u2 dashed line).

VI . CONCLUSIONS

In this paper, using tools from singular perturbations the-

ory, we have solved the tracking problem for the nonaffine

pendulum dynamics. An approximate dynamic inversion

control method was developed that achieved time-scale

separation between the system dynamics and the controller

dynamics. This was verified using Tikhonov’s theorem from

singular perturbations theory.

REFERENCES

[1] S. Omatu and S. Deris. Stabilization of inverted pendulum by thegenetic algorithm. In Proceedings of IEEE Conference on EmergingTechnologies and Factory Automation, 1:282–287, 1996.

[2] M. Uchida and K. Nakano. Swing up of an inverted pendulum bysimulator-based foresight control. In Proceeding of IEEE Interna-tional Conference on Control Applications, 2:1255–1259.

[3] O. Gonzalez and W. Pomales. Nonlinear control of swing-up invertedpendulum. In Proceeding of IEEE International Conference onControl Applications, 18:259–264, 1996.

[4] O. Egeland, A.S. Shiriaev, H. Ludvigsen and A.L. Fradkov. Swingingup of non-affine in control pendulum. In Proceedings of AmericanControl Conference, 6:4039–4044, 1999.

[5] M. Spong. The swing up control problem for the Acrobot. IEEE Control Systems Magazine, 15(1):49–55, 1995.

[6] R. Lozano, I. Fantoni and M. Spong. Energy based control of thependubot. IEEE Transactions on Automatic Control, 45(4):725–729,2000.

[7] W. Sturgeon and J. Ridgecrest. Physical reasons for the uncontrol-lability of a double inverted pendulum. In Proceedings of AIAAGuidance, Navigation, and Control Conference, Austin, TX , AIAA2003-5565, 2003.

[8] A. Rubio, J. Rubi and A. Avello. Swing-up control problem fora self-erecting double inverted pendulum. In Proceedings of IEE Control Theory and Applications, 149(2):169–175, 2002.

[9] D. Block and M. Spong. Mechanical design and control of thependubot. In Proceedings of SAE International Technical Paper Series, Preoria, IL, 1995.

[10] Z. Tan, H. Zhang, Z. Li, Y. Wang and Y. Wen. Swinging-up andhandstand-control of cart-double-pendulum system and experimentanalysis. 5th World Congress on Intelligent Control and Automation,3:2360-2364, 2004.

[11] X. Li, Z. Li, Q. Chen and H. Inooka. Human simulating intelligentcontrol and its application to swinging-up of cart-pendulum. 5thWorld Congress on Intelligent Control and Automation, 3:2423-2427,2004.

[12] T. Narukawa, M. Takahashi and K. Yoshida. Intelligent stabilizationcontrol to an arbitrary equilibrium point of double pendulum. In

Proceedings of American Control Conference, pp. 5772–5777, 2004.[13] T. Hoshina, M. Yamakita and K. Furuta. Control practice using

pendulum. In Proceedings of American Control Conference, pp. 490–

494, 1999.[14] Y. Jianqiang, G. Weiping, L. Diantong and Z. Dongbin. Passivity-

based-control for double-pendulum-type overhead cranes. In Pro-ceedings of IEEE Region 10 Conference, D(4):546–549, 2004.

[15] W.E. Singhose and S.T. Towell. Double-pendulum gantry crane dy-namics and control. In Proceedings of IEEE International Conferenceon Control Applications, 2:1205 – 1209, 1998.

[16] A. Mazzoleni and S. Smith. Modeling and stability of a rotatingdouble pendulum with cubic nonlinearities. In Proceedings of AIAAStructures, Structural Dynamics, and Materials Conference, NewOrleans, Lousiana, AIAA-1995-1187, 1995.

[17] L. Chen, J. Boskovic and R. Mehra. Adaptive control design fornonaffine models arising in flight control. Journal of Guidance,Control, and Dynamics, 27(2):209–217, 2004.

[18] N. Hovakimyan, E. Lavretsky and C. Cao. Dynamic inversion of multi-input nonaffine systems via time-scale separation. In Proceed-ings of American Control Conference, Minneapolis, MN, 2006.

[19] D.T. Greenwood. Principles of dynamics. Prentice Hall, 1988.[20] L. Schenato. Analysis and control of flapping flight: from biological

to robotic insects. Ph.D. Thesis, University of California at Berkeley,2003.

1825