LMI Methods in Optimal and Robust Control: Matthew M. Peet
LMI Methods in Optimal and Robust Control: Matthew M. Peet
Matthew M. Peet
Arizona State University
State-Space:
ẋ = Ax(t) + Bu(t) Input Output
u State-Space y
y(t) = Cx(t) + Du(t) x(0) = 0 System
Definition 1.
Define the Matrix Exponential:
1 1 1
e A = I + A + A2 + A3 + · · · + Ak + · · ·
2 6 k!
d At
• dt e = AeAt
d At d 1 2 1 k
e = I + (At) + (At) + · · · + (At) + · · ·
dt dt 2 k!
1 2 1 k−1
= A I + (At) + (At) + · · · + (At) + ···
2 (k − 1)!
• However, eM +N 6= eM eN unless, M N = N M .
M. Peet Lecture 4: State-Space Theory 3 / 23
State-Space Solutions and the Jordan Decomposition
The equation ẋ(t) = Ax(t), x(0) = x0
has solution
x(t) = eAt x0
Proof.
Let x(t) = eAt x0 , then
• ẋ(t) = AeAt x0 = Ax(t).
• x(0) = e0 x0 = x0
Definition 4.
A is Hurwitz if Re λi (A) < 0 for all i.
Theorem 5.
ẋ(t) = Ax(t) is stable if and only if A is Hurwitz.
x k = Ak x 0
Definition 6.
A is Schur if |λi (A)| < 1 for all i.
Theorem 7.
xk+1 = Axk is stable if and only if A is Schur.
M. Peet Lecture 4: State-Space Theory 6 / 23
Lyapunov Functions
ẋ(t) = f (x(t))
Theorem 8 (Lyapunov).
V is a Lyapunov Function if V (0) = 0 and V (x) > 0 for x 6= 0 and
limkxk→∞ V (x) = ∞. If
d
V (x(t)) < 0 for ẋ(t) = f (x(t)).
dt
Then for any x(0) ∈ R the system ẋ(t) = f (x(t)) has a unique solution which is
stable in the sense of Lyapunov.
M. Peet Lecture 4: State-Space Theory 7 / 23
Lyapunov Functions: Local Stability
ẋ(t) = f (x(t))
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 4: State-Space Theory 9 / 23
An Example of Global Stability Analysis
A controlled model of a jet engine (Derived from
Moore-Greitzer).
3 1
ẋ = −y − x2 − x3
2 2
ẏ = 3x − y
This is feasible with
V (x) = 4.5819x2 − 1.5786xy + 1.7834y 2 − 0.12739x3 + 2.5189x2 y − 0.34069xy 2
+ 0.61188y 3 + 0.47537x4 − 0.052424x3 y + 0.44289x2 y 2 + 0.090723y 4
AT P + P A < 0
Proof.
Suppose there exists a P > 0 such that AT P + P A < 0.
• Define the Lyapunov function V (x) = xT P x.
• Then V (x) > 0 for x 6= 0 and V (0) = 0.
• Furthermore,
V̇ (x(t)) = ẋ(t)T P x(t) + x(t)T P ẋ(t)
= x(t)T AT P x(t) + x(t)T P Ax(t)
= x(t)T AT P + P A x(t)
• Hence V̇ (x(t)) < 0 for all x 6= 0. Thus the system is globally stable.
• Global stability implies A is Hurwitz.
M. Peet Lecture 4: State-Space Theory 11 / 23
The Lyapunov Inequality
Proof.
For the other direction, if A is Hurwitz, for any Q > 0, let
Z ∞
T
P = eA s QeAs ds
0
• Thus P A + AT P = −Q < 0.
xk+1 = f (xk )
Theorem 11 (Lyapunov).
V is a Lyapunov Function if V (0) = 0 and V (x) > 0 for x 6= 0 and
limkxk→∞ V (x) = ∞. If
Then for any x0 ∈ Rn the system xk+1 = f (xk ) is stable in the sense of
Lyapunov.
AT P A − P < 0
Proof.
Suppose there exists a P > 0 such that AT P A − P < 0.
• Define the Lyapunov function V (x) = xT P x.
• Then V (x) > 0 for x 6= 0 and V (0) = 0.
• Furthermore,
V (xk+1 ) = xTk+1 P xk+1
= xTk AT P Axk
< xTk P xk = V (xk )
• Hence V (xk+1 ) < V (xk ) for all k ≥ 0. Thus the system is Stable.
• Stability implies A is Schur.
M. Peet Lecture 4: State-Space Theory 14 / 23
Lyapunov Functions
Proof.
For the other direction, if A is Hurwitz, for any Q > 0, let
X∞
P = (AT )k QAk
k=0
∞
X ∞
X
AT P A − P = (AT )k QAk − (AT )k QAk
k=1 k=0
= −(AT )0 QA0 = −Q < 0
• Thus AT P A − P < 0.
YALMIP Code:
> P = sdpvar(n); eta=.1;
> F=[P>=eta*eye(n)];
> F=[F; A’ P A - P<=0];
> optimize(F);
M. Peet Lecture 4: State-Space Theory 15 / 23
Pole Locations AKA D-stability
Some people still care about pole locations.
• For these people, we have D-stability.
To begin, you have to define the acceptable region of the complex plane using
inequality constraints.
1.8
• Rise Time: ωn ≤ tr
• Settling Time: σ ≤ − 4.6
ts
ln Mp
• Percent Overshoot: σ≤− π |ωd |
Recall that if z is the complex pole location:
2
• ωn = kzk2 = z ∗ z
• ωd = Im z = (z − z ∗ )/2
• σ = Re z = (z + z ∗ )/2
Which yields
• Rise Time: z ∗ z − 1.82
t2r ≤0
• Settling Time: (z + z ∗ ) + 4.6
ts ≤ 0
• Percent Overshoot: z − z ∗ + ln πM |z + z ∗ | ≤ 0
p
Theorem 13 (Gutman).
The pole locations, z ∈ C of A satisfy
X
z ∈ {z ∈ C : ckl z k (z ∗ )l < 0}
k,l
Definition 14.
An LMI Region of the complex plane has the form
{z ∈ C : F0 + zF1 + z ∗ F2 < 0}
1.82
Rise Time: z ∗ z − ≤0
t2r
|{z}
r 2
−r z −r 0 0 1 0 0 ∗
= + z+ z <0
z∗ −r 0 −r 0 0 1 0
| {z } | {z } | {z }
F0 F1 F2
Which by the Schur complement is equivalent to r − z ∗ r−1 z > 0.
Percent Overshoot: z − z ∗ + π
ln Mp |(z + z ∗ )| ≤ 0
ln Mp (z + z ∗ ) π(z − z ∗ )
0 0 ln Mp π ln Mp −π
= + z+ z∗ < 0
π(z − z ∗ )∗ ln Mp (z + z ∗ ) 0 0 −π ln Mp π ln Mp
| {z } | {z } | {z }
F0 F1 F2
Which by the Schur complement is equivalent to z − z ∗ < 0 and
(z − z ∗ )2 > ( ln πMp )2 |z + z ∗ |2 ≤ 0.
M. Peet Lecture 4: State-Space Theory 19 / 23
An LMI for Convex Regions of the Complex Plane
z ∈ {z ∈ C : F0 + zF1 + z ∗ F2 < 0}
ln Mp
Percent Overshoot: z + z ∗ ≤ − π |z − z∗|
Lemma 18.
ln M
The pole locations, z ∈ C of A satisfyz + z ∗ ≤ − π p |z − z ∗ | if and only if
there exists some P > 0 such that
ln Mp (AP + (AP )T ) π(AP − (AP )T )
<0
π(AP − (AP )T )T ln Mp (AP + (AP )T )