Professional Documents
Culture Documents
Matthew M. Peet
Illinois Institute of Technology
State-Space:
ẋ = Ax(t) + Bu(t) Input Output
u State-Space y
y(t) = Cx(t) + Du(t) x(0) = 0 System
has solution
x(t) = eat x0 ,
But we are interested in Matrices. Can we define the matrix exponential?
∗ 1 1 1
eM = I + M ∗ + (M ∗ )2 + (M ∗ )3 + · · · + (M ∗ )k + · · ·
2 6 k!
∗ ∗
∗ 1 2 ∗ 1 3 1 k
=I +M +( M ) + M + ··· + M + ···
2 6 k!
∗
1 1 1
= I + M + M2 + M3 + · · · + Mk + · · ·
2 6 k!
d At
• dt e = AeAt
d At d 1 2 1 k
e = I + (At) + (At) + · · · + (At) + · · ·
dt dt 2 k!
2 3 k
= 0 + A + A(At) + A(At)2 + · · · + A(At)k + · · ·
2 6 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 .
Proof.
Let x(t) = eAt x0 , then
• ẋ(t) = AeAt x0 = Ax(t).
• x(t) = e0 x0 = x0
The equation
ẋ(t) = Ax(t) + Bu(t), x(0) = 0
has solution Z
t
x(t) = eA(t−s) Bu(s)ds
0
Proof.
Check the solution:
Z t
ẋ(t) = e0 Bu(t) + A eA(t−s) Bu(s)ds
0
= Bu(t) + Ax(t)
State-Space:
ẋ = Ax(t) + Bu(t)
y(t) = Cx(t) + Du(t) x(0) = 0
ẋ = −x(t) + u(t) 1
0.8
0.4
u(t)
0
−0.2
Solution:Z −0.4
t −0.6
y(t) = −1
0 2 4 6 8 10
0 t
Z t
−t 1
=e es sin(s)ds − sin(t)
0 2 0.6
output
1 −t s 1
e (sin s − cos s)|t0 − sin(t)
0.4
= e
2 2 0.2
1 −t t 1 0
y(t)
2 2 −0.2
1 −t −0.4
= e − cos t −0.6
2 −0.8
0 2 4 6 8 10
t
ẋ(t) = Ax(t)
There are several notions of stability.
• All notions are equivalent for linear systems.
Definition 1.
A differential equation is stable if any solution x(t) satisfies
lim x(t) = 0
t→∞
ẋ(t) = Ax(t)
Question: Is it stable?
Suppose A is diagonalizable, so A = T ΛT −1 , so that
Ak = T ΛT −1 T ΛT −1 · · · T ΛT −1 = T Λk T −1
We conclude that
1 1
eAt = T T −1 + (T ΛT −1 )t + (T Λ2 T −1 )t2 + · · · + (T Λk T −1 )tk + · · ·
2 k!
1 1
= T I + (Λt) + (Λt)2 + · · · + (Λt)k + · · · T −1
2 k!
= T eΛt T −1
Then Jt
e 1
eAt = T eJt T −1 =T
.. −1
T
.
eJ n t
eAt is entirely composed of terms of the form
eλi t tk
k!
We conclude that ẋ(t) = Ax(t) is stable if and only if Re λ < 0.
Definition 2.
A is Hurwitz if Re λi (A) < 0 for all i.
The solution is Z t
x(t) = eA(t−s) Bu(s)ds
0
Use Leibnitz rule for differentiation of integrals
Z t
ẋ(t) = eA(t−t) Bu(t) + AeA(t−s) Bu(s)ds
0
= Bu(t) + Ax(t)
Definition 3.
For a given (A, B), the state xf is Reachable if for any fixed Tf , there exists a
u(t) such that
Z Tf
xf = eA(Tf −s) Bu(s)ds
0
Definition 4.
The system (A, B) is reachable if any point xf ∈ Rn is reachable.
Thus Rt = Image(Γ).
• Rt is a subspace.
Definition 5.
For a given system (A, B), the Controllability Matrix is
C(A, B) := B AB A2 B · · · An−1 B
Definition 6.
For a given (A, B), the Controllable Subspace is
Definition 7.
The system (A, B) is controllable if
CAB = Im C(A, B) = Rn
Definition 8.
The finite-time Controllability Grammian of pair (A, B) is
Z t
T
Wt := eAs BB T eA s ds
0
Theorem 9.
For any t ≥ 0,
Rt = CAB = Image (Wt )
or
Image Γt = Image C(A, B) = Image (Wt )
x ∈ Im B AB A2 B · · · An−1 B
Sketch.
The same principle as deriving the solution. Denote
Then if A = T λT −1
charA (λ1 )
charA (A) = T charA (Λ)T −1 =T
.. −1
T
.
charA (λn )
M. Peet Lecture 7: State-Space Theory 23 / 29
Controllability
Sketch.
But the λi are eigenvalues of A, so
hence
charA (λ1 ) 0
charA (A) = T
.. −1
T =T
.. T = 0
. .
charA (λn ) 0
Cayley-Hamilton says
thus An ∈ span(An−1 , · · · , I)
• This is unsurprising since A has n2 dimensions but is formed by n bases.
M. Peet Lecture 7: State-Space Theory 24 / 29
Controllability
Proof: Show Rt ⊂ CAB for any t ≥ 0. Expand
Am t m
At
e = I + At + · · · + + ···
m!
grouping by Ai ,
Let Z t
yi = φi (t − s)u(s)ds,
0
then
yn−1 yn−1
Definition 11.
The Orthogonal Complement of a subspace, S ⊂ X, is denoted
S ⊥ := x ∈ Rn : hx, yi = xT y = 0
for all y ∈ S
Properties
• dim(S ⊥ ) = n − dim(S)
• For any x ∈ Rn ,
x = xS + xS ⊥ for xS ∈ S and xS ⊥ ∈ S ⊥
xS = P x
if xS ∈ S and x − xS ∈ S ⊥ .
Generalizes to any Hilbert space
Theorem 13.
⊥
For any M ∈ Rn×m , [Im(M )] = Ker M T .
Proof.
⊥ ⊥
We need to show [Im(M )] ⊂ Ker M T and Ker M T ⊂ [Im(M )] .
⊥
• Suppose x ∈ [Im(M )] . If xT y = 0 for any y ∈ Im[M ], then xT M z = 0
for all z.
• Thus z T M T x for all z. Let z = M T z.
• Then xT M M T x = kM T xk2 = 0.
M. Peet
⊥
⊥
Lecture 7: State-Space Theory
T
28 / 29
Controllability