598 Lecture 15
598 Lecture 15
Matthew M. Peet
Arizona State University
Our next goal is to extend LMI’s and optimization to nonlinear systems analysis.
ẋ(t) = f (x(t))
Problem: Stability
Given a specific polynomial f : Rn → Rn ,
find the largest X ⊂ Rn
such that for any x(0) ∈ X,
limt→∞ x(t) = 0.
2018-04-24
ẋ(t) = f (x(t))
Linearity refers to the map from inputs to outputs vs. linearity in the RHS of
the representation.
Nonlinear Dynamical Systems
Long-Range Weather Forecasting and the Lorentz Attractor
2018-04-24
y
ẋ = y
−1
−2
Domain−of−attraction
−3
−3 −2 −1 0 1 2 3
x
Theorem 1 (Poincaré-Bendixson).
Invariant sets in R2 always contain a limit cycle or fixed point.
Consider
ẋ(t) = f (x(t))
with x(0) ∈ Rn .
◮
Existence of Solutions ◮ invariant sets
◮ center manifold theorem
There exist many systems for which no solution exists or for which a solution
blems
only of solutions
exists over a finite time interval. Finite Escape Time
x(0) = x0 4
3
1 x(t) x0
, 0≤t< = 2.5
x(t)
0t x0 1 − x0 t 2
1.5
which clearly has escape time
1 1
f =
x0 1 0.5
te = 0
x0 0 1 2 3 4 5
Time t
1.4 1.4
1.2 1.2
1 1
0.8 0.8
0.6 0.6
0.4 0.4
0.2 0.2
0 0
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
x(t) =
0 t≤C
x(t)
0.5
−1
0 1 2 3 4 5
Time t
√
Figure: Several solutions of ẋ = x
Compare with water tank:
M. Peet Lecture 15: 9 / 44
Continuity of a Function
Customary Notions of Continuity
Definition 9.
The function f is Globally Lipschitz if it is Lipschitz on its entire domain.
Example: f (x) = x3 is Locally Lipschitz on [−1, 1] with L = 3.
• But f (x) = x3 is NOT Globally Lipschitz on R
• L is typically just a bound on the derivative.
invariant sets ◮
4.5
dx
= x2 , x(0) = x0
dt 4
has the solution
has the solution x0 3.5
x(t) = x 3
x(t) = 1 0
−
, x0 0≤tt < x1 2.5
x(t)
1−x t 0 0 2
1
t = f
c = supx∈[0,2] |f (x)| = 4. Then we xhave a solution for 0 0.5
0
0 1 2 3 4 5
t ∈ [0, tf ].
1
We can verify that the solution x(t)Problems
Uniqueness = 1−t < 34 for t < tfPrevious
. problem is like the water-tank problem in backw
time
√
Example: The equation ẋ = x, x(0) = 0 has many solutions:
M. Peet Lecture 15: (Substitute τ = −t in differential equation). 14 / 44
Examples on Existence of Solutions
Non-Uniqueness
1
L = sup |f 0 (x)| = sup | 2 |=∞
x∈[0,2] x∈[0,2] 3x 3
1
Since 0 = ∞. So there is no Lipschitz Bound.
M. Peet Lecture 15: 15 / 44
Typical Existence of Solutions Proof Approach
Step 1: Contraction Mapping Theorem
2. Z t
x(t) = x0 + f (x(s))ds for all t ∈ [0, tf ]
0
Proof.
We have shown that P : B → B.
Step 2: Now show that P is a contraction. For any two x, y ∈ B, we have
Z t
kP x − P yk = sup k f (x(s)) − f (y(s))dsk
t∈[0,tf ] 0
Z t Z tf
≤ sup ( kf (x(s)) − f (y(s))kds) = kf (x(s)) − f (y(s))kds
t∈[0,tf ] 0 0
Z tf
≤L kx(s) − y(s)kds ≤ Ltf kx − yk < kx − yk
0
Where the last inequality comes from the constraint tf < min{ L1 , rc }. Thus P is
a contraction which means there exists a solution x ∈ B such that
ẋ = f (x(t))
Note that this existence theorem only guarantees existence on the interval
h ri
1
t ∈ 0, or t ∈ 0,
L c
Where
• L is a Lipschitz constant for f in the ball of radius r centered at x0
• c is a bound for f in the ball of radius r centered at x0 .
Q: What does a Lyapunov function prove if there is no guaranteed solution?
A: Nothing. (Particularly problematic for PDEs)
M. Peet Lecture 15: 21 / 44
Illustration of Picard Iteration
This is a plot of Picard iterations for the solution map of ẋ = −x3 .
z(t, x) = 0; P z(t, x) = x; P 2 z(t, x) = x − tx3 ;
P 3 z(t, x) = x − tx3 + 3t2 x5 − 3t3 x7 + t4 x9
1.5
1.0
0.5
0.9
0.8
0.7
0.6
0.5
t
0.2 0.4 0.6 0.8 1.0
Figure: The Solution map φ and the functions Gki for k = 1, 2, 3, 4, 5 and i = 1, 2, 3
for the system ẋ(t) = −x(t)3 . The interval of convergence of the Picard Iteration is
T = 31 .
The system is locally Lyapunov stable on D if for any > 0, there exists a δ()
such that for kx(0)k ≤ δ(), x(0) ⊂ D we have kx(t)k ≤ for all t ≥ 0
Definition 20.
The system is globally asymptotically stable if it defines a map g : Rn → G
which is continuous at the origin.
Definition 21.
The system is locally exponentially stable on D if it defines a map g : D → G
where
kg(x, t)k ≤ Ke−γt kxk
for some positive constants K, γ > 0 and any x ∈ D.
Definition 22.
The system is globally exponentially stable if it defines a map g : Rn → G
where
kg(x, t)k ≤ Ke−γt kxk
for some positive constants K, γ > 0 and any x ∈ Rn .
Theorem 23.
Let V : D → R be a continuously differentiable function and D compact such
that
V (0) = 0
V (x) > 0 for x ∈ D, x 6= 0
T
∇V (x) f (x) ≤ 0 for x ∈ D.
Theorem 24.
Suppose there exists a continuously differentiable function V and constants
c1 , c2 , c3 > and radius r > 0 such that the following holds for all x ∈ B(r).
Lemma 25 (Gronwall-Bellman).
Let λ be continuous and µ be continuous and nonnegative. Let y be continuous
and satisfy for t ≤ b,
Z t
y(t) ≤ λ(t) + µ(s)y(s)ds.
a
Then Z Z
t t
y(t) ≤ λ(t) + λ(s)µ(s) exp µ(τ )dτ ds
a s
y(t) ≤ λeµt .
Proof.
We begin by noting that we already satisfy the conditions for existence,
uniqueness and asymptotic stability and that x(t) ∈ B(r).
Now, observe that
c3
V̇ (x(t)) ≤ −c3 kx(t)k2 ≤ − V (x(t))
c2
−c3
Which implies by the Gronwall-Bellman inequality (µ = c2 , λ = V (x(0)))
that c3
V (x(t)) ≤ V (x(0))e− c2 t .
Hence
1 1 c3 c2 c3
kx(t)k2 ≤ V (x(t)) ≤ e− c2 t V (x(0)) ≤ e− c2 t kx(0)k2 .
c1 c1 c1
Definition 26.
A set, X, is Positively Invariant if x(0) ∈ X implies x(t) ∈ X for all t ≥ 0.
Theorem 27.
Suppose that there exists some continuously differentiable function V such that
V (x) > 0 for x ∈ D, x 6= 0
T
∇V (x) f (x) ≤ 0 for x ∈ D.
for all x ∈ D. Then for any γ such that the level set
X = {x : V (x) = γ} ⊂ D, we have that Vγ is positively invariant.
Furthermore, if ∇V (x)T f (x) ≤ 0 for x ∈ D, then for any δ such that
X ⊂ Vδ ⊂ D, we have that any trajectory starting in Vδ will approach the
sublevel set Vγ .
M. Peet Lecture 15: 33 / 44
Problem Statement 1: Global Lypunov Stability
Given:
• Vector field, f (x)
P P
Find: function V , scalars α, β such that i αi = .01, i βi = .01 and
X
V (x) ≥ αi (xT x)i for all x
i
X
V (x) ≤ βi (xT x)i for all x
i
∇V (x)T f (x) ≤ 0 for all x
Conclusion:
• Lyapunov stability for any x(0) ∈ Rn .
P
• Can replace V (x) ≤ i βi (xT x)i with V (0) = 0 if it is well-behaved.
Mass-Spring: Pendulum:
c k g
ẍ = − ẋ − x ẋ2 = − sin x1 ẋ1 = x2
m m l
1 1 1
V (x) = mẋ2 + kx2 V (x) = (1 − cos x1 )gl + l2 x22
2 2 2
= −cẋ2 ≤ 0
M. Peet Lecture 15: 35 / 44
Problem Statement 2: Global Exponential Stability
Given:
• Vector field, f (x), exponent, p
P P
Find: function V , scalars α, β, δ such that i αi = .01, i βi = .01 and
X
V (x) ≥ αi x2p
i for all x
i
X
V (x) ≤ βi x2p
i for all x
i
∇V (x)T f (x) ≤ −δV (x) for all x
Conclusion:
• Exponential stability for any x(0) ∈ Rn .
Convergence Rate:
r
βmax δ
kx(t)k ≤ 2p
kx(0)ke− 2p t
αmin
M. Peet Lecture 15: 36 / 44
Problem Statement 2: Global Exponential Stability
Example
Choose:
V (x) = x2 + y 2 , r = 1 1
y
Derivative
T −1
T 2x y
∇V (x) f (x) =
2y −x − (x2 − 1)y −2
Domain−of−attraction
= −xy + xy + (x2 − 1)y 2 −3
−3 −2 −1 0 1 2 3
x
Conclusion:
• There exist a T such that x(t) ∈ {x : V (x) ≤ γ} for all t ≥ T if Br ⊂ Vγ .
Sub-Problem: Given, V , r,
min γ such that
γ
P
Find: function functions, k, V , scalars α ≥ 0, β ≥ 0 such that i αi = .01,
P
i βi = .01 and
X
V (x) ≥ αi x2p
i for all x : xT x ≤ r2
i
X
V (x) ≤ βi x2p
i for all x : xT x ≤ r2
i
∇V (x)T f (x) + ∇V (x)T g(x)k(x) ≤ 0 for all x : xT x ≤ r2 (BILINEAR)
Conclusion:
• Controller u(u) = k(x(t)) stabilizes the system for x(0) ∈ {x : V (x) ≤ γ}
if Vγ ⊂ Br .
M. Peet Lecture 15: 42 / 44
Problem Statement 6: Output Feedback Controller
Synthesis (Global Exponential )
Suppose
ẋ(t) = f (x) + g(x)u(t) u(t) = k(y(t))
y(t) = h(x(t))
Given:
• Vector fields, f (x), g(x), h(x) exponent, p
Find:
P functionPfunctions, k, V , scalars α ≥ 0, β ≥ 0, δ > 0 such that
i α i = .01, i βi = .01 and X
V (x) ≥ αi x2p
i for all x
i
X
V (x) ≤ βi x2p
i for all x
i
∇V (x)T f (x) + ∇V (x)T g(x)k(h(x)) ≤ −δV (x) for all x
Conclusion:
• Controller u(t) = k(y(t)) exponentially stabilizes the system for any
x(0) ∈ Rn .
M. Peet Lecture 15: 43 / 44
How to Solve these Problems?
General Framework for solving these problems
max γ
V ,γ
subject to
V (x) − xT x ≥ 0 ∀x ∈ X
T T
∇V (x) f (x) + γx x ≤ 0 ∀x ∈ X
Going Forward
• Assume all functions are polynomials or rationals.
• Assume X := {x : gi (x) ≥ 0} (Semialgebraic)