Академический Документы
Профессиональный Документы
Культура Документы
Part I
Dr Shuzhi Sam GE
Department of Electrical Engineering
National University of Singapore
Singapore 119260
References
1. K.J. Astrom and B. Wittenmark, Adaptive Control, Addison
Wesley, 1989 (1995).
2. K.S. Narendra and A.M. Annaswamy, Stable Adaptive Systems,
Prentice-Hall, 1989.
3. G.C. Goodwin and K.S. Sin, Adaptive Filtering, Prediction and
Control, Prentice, 1984.
Adaptive Control Systems --2-- S. Ge
Contents No. of
Hours
1 Introduction 3
Adaptive schemes. Adaptive control theory. Applications.
Situations when constant Gain feedback is insufficient.
Robust control. The adaptive control problem.
1. Controllability, Observability
2. General Observer Theory
• Digital Techniques
The course will assume that you are already very familiar with these
topics.
Adaptive Control Systems --4-- S. Ge
y = G yu u
kp
G yu ( s ) =
s −ap
In time domain
( p − a p ) y (t ) = k p u (t )
where we use the notation
d
p≡
dt
for the differential operator.
Thus
y& (t ) = a p y (t ) + k p u (t ) (1)
Control Objective:
y& m (t ) = am y m (t ) + k m r (t )
u (t ) = θ ∗ y (t ) + k ∗ r (t )
y& (t ) = a p y (t ) + k p {θ ∗ y (t ) + k ∗r (t )}
= ( a p + k pθ ∗ ) y (t ) + k p k ∗r (t )
If
am − a p km
θ∗ = and k ∗ =
kp kp
then
y& = a m y + k m r
and the plant together with the control will match the reference model
exactly because
e = y m − y , e& = ame
Adaptive law
For this system, consider the quadratic form (recall your 3rd year
mathematics!)
V (e, φ ,ψ ) = [
1 2
2
(
e + k p γ 1−1φ 2 + γ 2−1ψ 2 )]
with
e = y − ym , φ = θ −θ ∗, ψ = k − k∗
∗
φ& = θ& − θ& = − sgn( k p )γ 1ey
ψ& = k& − k& ∗ = − sgn( k p )γ 2 er
Adaptive Control Systems --10-- S. Ge
Note that
Reference Model:
y& m = am y m + k mr
Plant:
y& = a p y + k p u = a p y + k pθy + k p kr
= a p y + k p (φ + θ * ) y + k p (ψ + k * ) r
= (a p + k pθ * ) y + k pφy + k pψr + k p k *r
we have
e& = y& − y& m = ame + k pφy + k pψr
∆
• φ (t ) = θ (t ) − θ ∗
∆
ψ (t ) = k (t ) − k ∗
∆
• e (t ) = y (t ) − y m (t )
y m (t ) is a reference signal, and obviously bounded
∴ y(t) is bounded
V& = a m e 2 ≤ 0
∴ V is bounded over all time
t t
∫ V& (e (t ), φ (t ),ψ (t ) )dτ = ∫ ame (τ )dτ
2
0 0
t
⇒ −am ∫ e 2 (τ )dτ = V (e (0), φ (0),ψ ( 0) ) − V (e (t ), φ (t ),ψ (t ) )
0
Adaptive Control Systems --12-- S. Ge
t
lim ∫ e 2 (τ ) dτ ≤ c1 a constant
t→∞ 0
n e& = a m e + k p φy + k pψr
∴ e& (t ) is bounded ∀t
e& bounded
∞
n ⇒ lim e (t ) = 0
∫ e (τ )dτ ≤ c1 t → ∞
2
0
i.e. lim {y (t ) − y m (t )} = 0
t →∞
Summary
Plant: y& (t ) = a p y (t ) + k p u (t )
Result:
If the adaptive controller is applied to the plant, then all signals
{y, u, θ, k} are bounded and lim [ y (t ) − y m (t ) ] = 0
t →∞
Adaptive Control - 14- S.Ge
A user-friendly picture
Gm
Model
Regulator parameter
Adjustment
mechanism
r u y
Regulator Plant
We will only need one result from this method, which we will state
without proof.
then
(a) (i) and (iii) imply that the origin of differential equation (2-1)
is stable;
(b) (i), (ii) and (iii) imply the origin of d.e.(2-1) is uniformly
stable;
(c) (i) - (iv) imply that the origin of d.e. (2-1) is uniformly stable
in the large.
Adaptive Control - 17- S.Ge
Consider
x& = Ax ; x (t 0 ) = x 0
x& p = Ap x p + gbu
x p ∈ ℜ n , u ∈ ℜ1
A p is ( n× n) , b is ( n × 1)
b is known
y = G yu u
g
G yu ( s ) =
s 2 + a1s + a2
x1 = y
x&1 = x2
x& 2 = &y& = − a1x 2 − a2 x1 + gu
or
x&1 0 1 x1 0
x& = − a − a1 x 2
+ g 1 u
2 2
0
Thus b= is known exactly.
1
Adaptive Control - 21- S.Ge
Consider plant:
x& p = A p x p + gbu (1)
Non-adaptive case:
T
u = θ x∗ x p + θ r∗r (2)
[ ]
∆ T
θ ∗x = θ1∗ θ 2∗ L θ n∗
Then
T
( )
x& p = Ap + gbθ x∗ x p + b gθ r∗ r
Assume that for these * values, the feedback control (2) achieves
model matching in the sense that
(n × n)
T
A p + gbθ x∗ ≡ Am
Matching conditions
gθ r∗ ≡ gm scalar
x& m = Am xm + g mbr
Adaptive Control - 22- S.Ge
y m = G ym r r
ω n2
Gymr (s) =
s 2 + 2ξω n s + ω n2
State-variable form
x&1m 0 1 x1m 2 0
x& = − ω 2 − 2ξω n x2 m
+ ω n r
2m n 1
Adaptive Control - 23- S.Ge
Step Response
Title:
a:step.eps
Creator:
MATLAB, The Mathworks, Inc.
Preview:
This EPS picture was not saved
with a preview included in it.
Comment:
This EPS picture will print to a
PostScript printer, but not to
other types of printers.
Impulse Response
Title:
a:impulse.eps
Creator:
MATLAB, The Mathworks, Inc.
Preview:
This EPS picture was not saved
with a preview included in it.
Comment:
This EPS picture will print to a
PostScript printer, but not to
other types of printers.
Adaptive Control - 24- S.Ge
Adaptive Case:
u(t ) = θ xT (t ) x p (t ) + θ r (t )r (t )
∆
φ x (t ) = θ x (t ) − θ ∗x
∆
φ r (t ) = θ r (t ) − θ r∗
{
x& p = Ap x p + gb θ xT x p + θ r r }
= A p + gbθ x∗ x p + gbφ xT x p + gbθ r r
T
= Am x p + gbφ xT x p + gbθ r r
Compared with
x& m = Am xm + g mbr
= Am x m + gbθ r∗ r
where g m = gθ r∗ .
Adaptive Control - 25- S.Ge
∆
e = x p − xm
Then
where
∆ φ ∆ x
φ = x ; x = p
φ r r
AmT P + PAm = −Q
V (e (t ), φ (t ) ) = e (t )T Pe (t ) + | g | φ (t ) T Γ −1φ (t )
where
Γ is a symmetric positive definite (s.p.d.) matrix
l − eT Qe term always ≤ 0
& θ&x
θ = = − sgn( g )Γxe T Pb
&
θ r
and note that
φ = θ −θ ∗ , ⇒ φ& = θ&
• e& is bounded
∞
• ∫ e T Qed τ ≤ c1
0
Summary
Plant
x& p = A p x p + gbu
Matching Conditions
T
A p + gbθ ∗x = Am
gθ r∗ = g m
Reference Model
x& m = Am x m + g mbr
Control Law
u (t ) = θ x T (t ) x p (t ) + θ r (t ) r (t )
Adaptive Law
e = x p − xm
ATm P + PAm = −Q Choose Q s.p.d., Calculate P s.p.d.
θ&x x p T
& = − sgn( g ) Γ r e Pb
θ
r
{ }
Result: All signals x p , θ x , θ r are bounded, and lim x p − x m = 0
t →∞
Adaptive Control - 30- S.Ge
Exercise 1
ω n2
Gymr (s) =
s 2 + 2ξω n s + ω n2
Plant:
x& p = Ap x p + gbu
y = x1 = [1 0 L 0]x p
Matching condition:
T
Ap + gbθ ∗x = Am
Consider
T
u = θ x∗ x p + θ I∗ x I
x& =
I 1 0 ... 0 0 x I − 1
and
0
x& m = Am x m + r
− 1
Adaptive Control - 33- S.Ge
0
x& m = Am x m + r ; xm ∈ ℜ n +1
− 1
Adaptive Control - 34- S.Ge
Define
∆
x p
x p = K
x I
For e = x p − x m , we have
b
(
e& = Ame + g K φ Tx x p + φ I x I
)
0
= Ame + gb φ T x
AmT P + P Am = −Q
1st choose Q , 2nd calculate P
θ&x x p T
& = − sgn( g ) Γ x e Pb
θ
I I
Adaptive Control - 35- S.Ge
Example
Consider a plant
y& p = a p y p + gu
To incorporate integral control, we know we must augment the
state with
x& I = y p − r
u(t ) = θ 1 (t ) x1 (t ) + θ 2 (t ) x 2 (t )
x&1 a p + gθ 1 gθ 2 x1 0
x& = + r
0 x 2 − 1
2 1
This means that the reference model used must have the form
Exercise 2
y& = a p y + u
y& m = a m y m + r
e = y − ym
u = θy + r
θ& = −γye γ >0
t
θ (t ) = −γ 1 ye − γ 2 ∫ y (τ )e (τ )dτ
0
PR SPR s = s1 + ε
γ =0
References: Narendra……Chapter 5
Astrom………Section 4.5
R p ( p ) y (t ) = k p Z p ( p )u (t ) (1)
where
d
p≡
dt
R p ( p) = p n + a1 p n−1 + L + a n
Z p ( p ) = p m + b1 p m−1 + L + bm
T ( p) R m ( p) = R p ( p ) E ( p ) + F ( p)
T ( p) = p n + t1 p n −1 + ...+ tn −1 p + t n
Adaptive Control - 43- S.Ge
Plant: R p ( p ) y = k p Z p ( p )u
ER p y = k p EZ p u
i.e.
TRm y = Fy + k p EZ p u = k p ( F y + G u)
F
( F= , G = EZ p )
kp
F G
Rm y = k p ( y + u) (5)
T T
Accordingly, we have
G G
= 1+ 1
T T
where
G1 ( p) = g1 p n−1 + g 2 p n −2 + L + g n
F ( p) = f 1 p n −1 + f 2 p n −2 + L + f n
Adaptive Control - 44- S.Ge
F G
Rm y = k p ( y + 1 u + u) (7)
T T
1 1
Define y f1 = y, u f1 = u
T T
[
θ ∗ = − f1 ,− f 2 , L − f n , − g1 , − g 2 , L − g n , k ∗ ]
T
[
ω = p n −1 y f1 , p n −2 y f1 , L , y f1 , p n −1u f1 , p n− 2 u f1 , L , u f1 , r ]
T
Consider
F G
u (t ) = − y − 1 u + k ∗ r = − F y f1 − G1u f1 + k ∗ r
T T (8)
∗T ∗T ∗T
=θ ω = θ u ω u + θ y ω y + k ∗r
Rm y = k p k ∗ r
= kmr for k pk ∗ = km
Adaptive Control - 45- S.Ge
The choice of the input (8) ensure that the plant with feedback
becomes
R m ( p ) y (t ) = k m r (t )
R m ( p ) y m (t ) = k m r (t ) ⇒ Ym k
= m
R Rm (s )
Remember,
deg( Rm ) = n∗
Rm is a design polynomial you choose.
Example:
n∗ Choice
n ∗ = 1, Rm ( s ) = ( s + a m )
k m = am ;
n∗ = 2 Rm ( s) = s 2 + 2ξω n s + ω n2
k m = ω n2
Adaptive Control - 46- S.Ge
However,
Try using
u (t ) = θ (t ) T ω (t )
F G
Rm y = k p y + 1 u + u
T T
F G
= k p y + 1 u − k ∗r + k ∗r + u
T T
= k p − θ ∗ ω + k *r + u
T
Control law:
u (t ) = θ (t )T ω (t )
∆
φ (t ) = θ (t ) − θ ∗
(
Rm y = k p φ (t )T ω (t ) + k *r (t ) )
Comparing with reference model
Rm y m = k mr = k p k *r
Rme1 = k pφ (t )T ω (t )
∆
where e1 = y − y m .
Adaptive Control - 48- S.Ge
ym k k
= Wm = m = m ; km > 0
r Rm ( s ) s + am
is SPR.
∆
[
ω (t ) = p n −1 y f1 , p n − 2 y f1 ,..., y f1 , p n −1u f1 , p n − 2 u f1 ,..., u f1 ]
T
y = Ty f1 = Ty f1 + 0
( )
(3)
= T − Rp y f1 + k pZ p u f1
Equations (1), (2) and (3) form the basis for a 2n-dimensional
state representation of the plant.
From (1), we have
u f1 u f1
f1
d pu f1
= AT +b u
pu
dt M M n
n −1 f n −1 f
p u 1 p u 1
where
0 I ( n −1)× ( n −1) 0
AT = and b =
L − t1 1
n
− tn − t n −1
Adaptive Control - 50- S.Ge
d A Ak pZ p 0
ω (t ) = R p ω ( t ) + b u(t )
dt 0 n× n AT n
[ ]
y (t ) = t n − an , t n −1 − an −1 , L , t1 − a1 ,0, L ,0, k pbm , L , k p b1 ω (t )
QED
Adaptive Control - 51- S.Ge
Proof:
Most of the materials have been introduced already. It only
remains to put it into a formal basis.
TRm = R p E + F
and the plant equation
R p y = k p Z pu
and it is equivalent to
F y f1 + G u f1 = k * r (2)
wih k pF = F .
[Why?
T F G
p.44, u(t ) = θ ∗ ω + k ∗r = − y − 1 u + k ∗r ⇒
T T
F G F G
y + (1 + 1 )u = k ∗ r ⇒ y + u = k ∗r
T T T T
]
Adaptive Control - 52- S.Ge
Observe that
TRm Z p = R p EZ p + FZ p
= RpG + Z p F (3)
= RpG + k p Z p F
Plant: R p y = k p Z pu
R p y f1 = k p Z p u f1
From (2) R pG y f1 = k p Z p G u f1
{
= k p Z p k *r − F y f1 }
or
(R pG + k p Z p F )y f 1
= k pk ∗Z p r
Rm y = k m r
QED
Adaptive Control - 53- S.Ge
Corollary:
R m ( p ) y m (t ) = k m r (t ) i.e., Ym k
= m
R Rm (s )
ω& m = Amω m + bm r
y m = c Tmω m
Proof:
----------------------------------------------------------------
Note that:
Rm y m = k m r ⇒ ym km
Wm = =
r Rm
ω& m = Amω m + bm r ⇒ y
Wm = m = k m
T
( sI − Am ) −1bm
y m = c Tmω m r
⇒
km
Wm = k m
T
( sI − Am ) −1 bm =
Rm
Adaptive Control - 54- S.Ge
Stability Analysis
ω& = A pω + b p u
y = cTp ω
Consider
u = θ (t ) T ω = θ (t )T ω + k (t ) r
{ }T {
= θ ∗ + φ (t ) ω + k * + φ k r }
Then, C.L.
T
( )
ω& = A p + b pθ * ω + bp φ T ω + φ k r + k *b p r
y = c pω
T
For the exact values θ * , k * , the plant with feedback matches the
reference model,
T
Ap + b pθ * = Am ; k *b p = bm
and c p = c m
Adaptive Control - 55- S.Ge
Then
1
e& = Ame + bmφ T
ω
e1 = c Tm [sI − Am ]−1
* bm
k
*
φ T
ω
e1 = c Tme k
1 km
This is strictly positive real, as is c Tm ( sI − Am )−1 bm = .
* *
k k Rm
Consider Lyapunov function condidate
V (e, φ ) = e T Pe + φ T Γ −1φ
where
ATm P + PAm = −Q
Then
1
V& = −eT Qe + 2e T P ∗ bmφ T ω + 2φ T Γ −1φ&
k
Adaptive Control - 56- S.Ge
1
Since Am , * bm , cm is SPR, KY-Lemma ensures that
k
1
P bm = cm
k∗
Thus
∴ lim e (t ) = 0
t→∞
⇒ lim e1 (t ) = 0
t →∞
Adaptive Control - 57- S.Ge
Case n* = 1 , Summary
Plant:
R p y = k p Z pu
Control:
1 1
y f1 = y, u f1 = u
T T
∆
[
ω (t ) = p n −1 y f1 , p n − 2 y f1 , L , y f1 , p n −1u f1 , p n − 2u f1 , L , u f1 , r ]
T
u (t ) = θ (t )T ω (t )
Adaptive law
Result: If
(a) order of R p , n, is known;
(b) Z p is stable polynomial;
(c) sgn( k p ) is known;