4-State Space Solutions
4-State Space Solutions
EE580 2 / 42
General solutions
which implies
d −At
x(t) = e−At Bu(t).
e
dt
Its integration from 0 to t yields
Z t
−Aτ
e t
x(τ )|τ =0 = e−Aτ Bu(τ )dτ ;
0
Z t
e−At x(t) − e0 x(0) = e−Aτ Bu(τ )dτ ;
0
Z t
At
x(t) = e x(0) + eA(t−τ ) Bu(τ )dτ.
0
EE580 4 / 42
Computation of eAt
Method one (Using Theorem 3.5 in Chen’s book): First compute the
eigenvalues of A; next, find a polynomial h(λ) of degree n − 1 that equals
eλt on the spectrum of A; then
eAt = h(A).
EE580 6 / 42
Example two
Consider the system
0 −1 0
ẋ(t) = x(t) + u(t).
1 −2 1
Then we have
(1 + t)e−t −te−t
eAt = L−1 (sI − A)−1 =
te−t (1 − t)e−t
EE580 7 / 42
Outline
EE580 8 / 42
Example 4.4.1
˙
x̄(t) = Āx̄(t) + B̄u(t)
y(t) = C̄ x̄(t) + D̄u(t), (4)
EE580 10 / 42
Discussion
EE580 11 / 42
Revisiting Example 4.4.1
x1 1 0 x̄1
=
x2 1 −1 x̄2
x̄1 1 0 x1
=
x̄2 1 −1 x2
EE580 12 / 42
Zero-state equivalence
Theorem
Two LTI state-space equations {A, B, C, D} and {Ā, B̄, C̄, D̄} are zero-state
equivalent if and only if D = D̄, and CAm B = C̄ Ām B̄ for m = 0, 1, , 2, · · · .
EE580 13 / 42
Example 4.4.2
EE580 15 / 42
Outline
EE580 16 / 42
Realizability
ŷ(s) = ĝ(s)û(s),
EE580 17 / 42
Realizability theorem
Theorem
A transfer function ĝ(s) is realizable if and only if ĝ(s) is a proper rational
function.
Sufficiency:
ĝsp (s) = c(sI − A)−1 b = 1
det(sI−A) c[adj(sI − A)]b;
det(sI − A) has degree n;
Each entry of adj(sI − A) is the determinant of an (n − 1) × (n − 1)
submatrix of sI − A and has at most degree n − 1;
c(sI − A)−1 b is a strictly proper rational function;
If d 6= 0, then c(sI − A)−1 b + d is proper.
EE580 18 / 42
Realizability theorem (cont’)
Necessity: We consider a special case but the procedure applies to any proper
rational transfer function.
b̄1 s4 + b̄2 s3 + b̄3 s2 + b̄4 s + b̄5
ĝ(s) =
ā1 s4 + ā2 s3 + ā3 s2 + ā4 s + ā5
b1 s3 + b2 s2 + b3 s + b4
=d+ 4 .
s + a2 s3 + a3 s2 + a4 s + a5
The controllable-form realization is
−a2 −a3 −a4 −a5 1
1 0 0 0 0
ẋ(t) =
0
x(t) + u(t),
1 0 0 0
0 0 1 0 0
y(t) = [b1 b2 b3 b4 ]x(t) + du(t), (5)
EE580 19 / 42
Realizability theorem (cont’)
sx̂1 (s) = −a2 x̂1 (s) − a3 x̂2 (s) − a4 x̂3 (s) − a5 x̂4 (s) + û(s)
sx̂2 (s) = x̂1 (s), sx̂3 (s) = x̂2 (s), sx̂4 (s) = x̂3 (s).
x̂1 (s) x̂1 (s) x̂1 (s)
So we have x̂2 (s) = s , x̂3 (s) = s2 , x̂4 (s) = s3 . This implies
s3
x̂1 (s) = û(s),
s4 + a2 s3 + a3 s2 + a4 s + a5
b1 s3 + b2 s2 + b3 s + b4
ŷ(s) = d + 4 û(s).
s + a2 s3 + a3 s2 + a4 s + a5
EE580 20 / 42
Realizability theorem (cont’)
Necessity:
EE580 21 / 42
Example
EE580 22 / 42
Example (cont’)
EE580 24 / 42
Solutions of linear systems
Scalar LTI systems: ẋ(t) = ax(t) and its solution is x(t) = eat x(0)
Vector LTI systems: ẋ(t) = Ax(t) and its solution is x(t) = eAt x(0) by
using the property AeAt = eAt A
Remark: In general, AB 6= BA and e(A+B)t 6= eAt eBt
Rt
a(τ )dτ
Scalar LTV systems: ẋ(t) = a(t)x(t) and its solution is x(t) = e 0 x(0)
Rt
A(τ )dτ
Vector LTV systems: ẋ(t) = A(t)x(t) and usually x(t) = e 0 x(0) is
not its solution
t
1 t
Rt
Z Z Z t
A(τ )dτ
e 0 =I+ A(τ )dτ + A(τ )dτ A(s)ds + · · ·
0 2 0 0
Z t
1 t
Z
d R t A(τ )dτ 1
e0 = A(t) + A(t) A(s)ds + A(τ )dτ A(t) + · · ·
dt 2 0 2 0
Rt
A(τ )dτ
6= A(t)e 0
EE580 25 / 42
Fundamental matrix
For i = 1, · · · , n, pick initial state x[i] (t0 ) and denote its solution as x[i] (t).
Denote X(t) = [x[1] (t) x[2] (t) · · · x[n] (t)] and then Ẋ(t) = A(t)X(t).
If X(t0 ) is non-singular, then X(t) is called a fundamental matrix of (7).
Since one can arbitrarily choose non-singular X(t0 ), the fundamental
matrix is not unique.
EE580 26 / 42
Example
0 0
ẋ(t) = x(t) (8)
t 0
EE580 27 / 42
Non-singularity of fundamental matrix
EE580 28 / 42
State transition matrix
Let X(t) be any fundamental matrix of ẋ(t) = A(t)x(t). Then
Φ(t, t) = I
Φ(t, t0 )−1 = [X(t)X(t0 )−1 ]−1 = X(t0 )X(t)−1 = Φ(t0 , t)
Φ(t, t0 ) = Φ(t, t1 )Φ(t1 , t0 )
EE580 29 / 42
Example
EE580 30 / 42
General solutions
EE580 31 / 42
Solution verification
Z t0
x(t0 ) = Φ(t0 , t0 )x(t0 ) + Φ(t, τ )B(τ )u(τ )dτ = Ix(t0 ) + 0 = x(t0 )
t0
Z t
d ∂ ∂
x(t) = Φ(t, t0 )x(t0 ) + Φ(t, τ )B(τ )u(τ )dτ
dt ∂t ∂t t0
Z t
∂
= A(t)Φ(t, t0 )x(t0 ) + Φ(t, t)B(t)u(t) + (Φ(t, τ )B(τ ))u(τ )dτ
t0 ∂t
Z t
= A(t)Φ(t, t0 )x(t0 ) + Φ(t, t)B(t)u(t) + A(t)Φ(t, τ )B(τ )u(τ )dτ
t0
= A(t)x(t) + B(t)u(t)
EE580 32 / 42
Computing state transition matrices
Computing state transition matrix is generally difficult other than the following
special cases.
Assume A(t) has the following commutative property:
Z t
Z t
A(t) A(τ )dτ = A(τ )dτ A(t)
t0 t0
for all t0 and t; e.g., when A(t) is diagonal or constant. Then we have
∞ Z t
Rt
A(τ )dτ
X 1 k
Φ(t, t0 ) = e t0
= A(τ )dτ .
k! t0
k=0
EE580 33 / 42
Outline
EE580 34 / 42
Equivalence transformation
Let P (t) be an n × n real non-singular matrix with P (t) and Ṗ (t) being
continuous and let x̄(t) = P (t)x(t). Then the state-space equation
˙
x̄(t) = Ā(t)x̄(t) + B̄(t)u(t)
y(t) = C̄(t)x̄(t) + D̄(t)u(t), (11)
where Ā(t) = (P (t)A(t) + Ṗ (t))P (t)−1 , B̄(t) = P (t)B(t), C̄(t) = C(t)P (t)−1
and D̄(t) = D(t), is said to be equivalent to (10) and x̄(t) = P (t)x(t) is called
an equivalence transformation.
EE580 35 / 42
Fundamental matrix
EE580 36 / 42
Outline
EE580 37 / 42
Realizability
EE580 38 / 42
Realizability theorem
Theorem
An impulse response matrix G(t, τ ) is realizable if and only if G(t, τ ) can be
decomposed as G(t, τ ) = M (t)N (τ ) + D(t)δ(t − τ ).
ẋ(t) = N (t)u(t)
y(t) = M (t)x(t) + D(t)u(t). (12)
EE580 39 / 42
Example
−τ e−λτ
λt λt
g(t − τ ) = [e te ] .
e−λτ
−te−λt
ẋ(t) = 0x(t) + u(t)
e−λt
y(t) = [eλt teλt ]x(t)
EE580 40 / 42
Appendix: Op-Amp circuit implementation
EE580 41 / 42
Appendix: Op-Amp circuit implementation
(cont’)
ẋ1 (t) −0.3 2 x1 (t) −2
= + u(t)
ẋ2 (t) −8 1 x2 (t) 0
x1 (t)
y(t) = [−2 3] + 5u(t).
x2 (t)
EE580 42 / 42