Material: Glad & Ljung Ch. 12.2 Khalil Ch. 4.1-4.3 Lecture Notes
Material: Glad & Ljung Ch. 12.2 Khalil Ch. 4.1-4.3 Lecture Notes
Material: Glad & Ljung Ch. 12.2 Khalil Ch. 4.1-4.3 Lecture Notes
Material
Lecture notes
Todays Goal
To be able to
Main idea
Examples
Start with a Lyapunov candidate V to measure e.g.,
...
1 2
e2 + b e
b2
e + aa
2
Continuous time:
Discrete time:
dV
<0
dt
V ( k + 1) V ( k) < 0
dV
ea
e + be
be
b=
= ee + a a
dt
eb
ea
e + be
=e
x(a e
xa
x+e
bu) + a a
be
b = ...
e = a .
If a is constant and a = a a then a
d a
dV
Choose update law
in a "good way" to influence
.
dt
dt
A Motivating Example
m
m x = b x p x p k0 x k1 x3
| {z } | {z }
damping
spring
b, k0 , k1 > 0
mv2
2
Rx
0
V ( x, x ) = m x 2 /2 + k0 x2 /2 + k1 x4 /4 > 0,
Fsprin ds [
V (0, 0) = 0
d
V ( x, x ) = m x x + k0 x x + k1 x3 x = {plug in system dynamics 2 }
dt
= bp x p3 < 0, for x ,= 0
Stability Definitions
t0
q x(t) x q < R,
lim x(t) = x
x is locally stable.
Furthermore, if also
(4) V ( x) < 0 for all x , x ,= x
=[
where
V
=
x
V V
V
,
,...
x1 x2
xn
V
x2
x1
level sets where V = const.
Geometric interpretation
gradient
V
x
x(t)
V ( x)=constant
f ( x)
Boundedness:
V ( x( ))d V ( x(0))
2 min exercisePendulum
Show that the origin is locally stable for a mathematical
pendulum.
x 1 = x2 ,
x 2 = sin x1
{
4
3
2
1
0
10
2
0
x1
0
10 2
x2
ExamplePendulum
(1) V (0) = 0
(2) V ( x) > 0 for 2 < x1 < 2 and ( x1 , x2 ) ,= 0
(3)
V ( x) = x 1 sin x1 { + {2 x2 x 2 = 0,
for all x
positive semidefinite ( M 0) if
if
x T M x > 0, x ,= 0
x T M x 0, x
Lemma:
M = MT > 0
M = MT 0
Z[
Z[
i ( M ) > 0, i
i ( M ) 0, i
M = MT > 0
V ( x ) := x T M x
W
V (0) = 0 ,
V ( x) > 0, x ,= 0
max ( M T M )q xq ,
1 4
x1
x = Ax =
0 3 x2
(1)
Example contd
AT P + PA = I
1 0
p11
4 3 p12
2p11
4p12 + 4p11
p12
p
+ 11
p22
p12
p12 1 4
=
p22
0 3
4p12 + 4p11
1 0
=
8p12 6p22
0 1
4p12 + 4p11 = 0
8p12 6p22 = 1
p
=[ 11
p12
p12
1/2 1/2
=
>0
p22
1/2 5/6
(2)
x1 = x1 + 4 x2
x2 = 3 x2
x12+x228 = 0
x2
4
4
0
x1
x1 = x1 + 4 x2
x2 = 3 x2
4
4
0
x
AT P + PA =
lim
Z t
h
T
T
AT eA QeA + eA Q AeA d
lim eA QeA
= Q
it
Interpretation
AT t
Qe dt z = zT Pz
At
(1) Re k ( A) < 0, k
(2) k : Re k ( A) > 0
x = 0 unstable
= xT P[ Ax + ( x)] + [ xT AT + T ( x)] Px
= xT ( PA + AT P) x + 2xT P( x) = xT Qx + 2xT P( x)
x T Qx min ( Q)q xq2
q xq < r
Example [Khalil]:
1.5
6x1
+ 2x2
(1 + x12 )2
2( x1 + x2 )
x 2 =
(1 + x12 )2
x 1 =
x2
0.5
0.5
1.5
2
10
x1
0
10
Proof Idea
Hence, V ( x(t)) 0, t .
Using the properties of V it follows that x(t) 0, t .
Invariant Sets
x(t)
x(0)
M
V ( x)
M
m x = b x p x p k0 x k1 x3
V ( x) = (2m x 2 + 2k0 x2 + k1 x4 )/4 > 0,
V ( x) = bp x p3
V (0, 0) = 0
for x
for x M
m x = b x p x p k0 x k1 x3
V ( x, x ) = (2m x 2 + 2k0 x2 + k1 x4 )/4 > 0,
V (0, 0) = 0
V ( x, x ) = bp x p3 gives E = {( x, x ) : x = 0}.
b
s+ a
b
b
s+b
a
b
x
e
+ x
x + ax = bu
b
bb
x + a
x=b
bu
e= aa
b, e
Introduce e
x=xb
x, a
b= bb
b.
ea
e + be
be
b=
V = e
xe
x + a a
V =
eb
ea
e + be
=e
x(a e
xa
x+e
bu) + a a
be
b = a e
x2
Invariant set: e
x = 0.
e
b = b
b= e
xu
b
e and e
(The parameters a
b do not necessarily converge: u " 0.)
Demonstration if time permits
Results
3000
2500
2000
1500
1000
500
0
10
20
30
time [s]
40
50
60
40
50
60
3000
2500
2000
1500
1000
500
0
10
20
30
time [s]
Results
0.8
0.6
x x
0.4
0.2
0.2
0.4
0.6
0.8
10
20
30
time [s]
40
50
60
Next Lecture