Professional Documents
Culture Documents
Y (s)
= C [sI − A]−1 B + D
U(s)
MIEEC, DEEC, FEUP DIGITAL CONTROL - Part II
Background Review - Coordinates Change
Let
A ∈ Rn×n be a linear map from Rn into Rn with domain and
range spaces are endowed with the canonical basis
{e1 , . . . , en }.
B = {v1 , . . . , vn } be a new basis for both domain and range
spaces and let the matrix T := [v1 : v2 : . . . : vn ].
Then,
The representation of A : Rn → Rn in the system of
coordinates defined by B is
à = T −1 AT
The representation of the system ẋ(t) = Ax(t) + Bu(t),
y (t) = Cx(t) + Du(t) in the basis B is
y (t) = C̃ x̃ + D̃u, x̃˙ = Ãx̃ + B̃u
where à = T −1 AT , C̃ = CT , B̃ = T −1 B, and D̃ = D.
MIEEC, DEEC, FEUP DIGITAL CONTROL - Part II
Background Review - Eigenvalues & eigen-directions
Observation: [A − λ̄I ]v̄ = 0 ⇔ v̄ ∈ N A − λ̄I
⇔ rank(A − λ̄I ) < n, and, thus,
Example
0 1 0 ··· 0 0 bn − an b0
0
0 1 ··· 0
T bn−1 − an−1 b0
0
Ac =
: : : ··· : , Bc = : , Cc =
: .
0 0 0 ··· 1 0 b2 − a2 b0
−an −an−1 −an−2 · · · −a1 1 b1 − a1 b0
0 0 ··· 0 0 −an bn − an b0 0
1 0 ··· 0 0 0
bn−1 − an−1 b0
0
T
:
Ao = : ··· : : : , Bo =
: , Co = :
0 0 ··· 1 0 −a2 b2 − a2 b0 0
0 0 ··· 0 1 −a1 b1 − a1 b0 1
Observation: Ao = AT T T
c , Bo = Cc , Co = Bc .
−p1 0 ··· 0 0 0 1 c1
0 −p2 ··· 0 0 0 1 c2
T
Ad =
: : ··· : : : , Bd = : , Cd = :
0 0 ··· 0 −pn−1 0 1 cn−1
0 0 ··· 0 0 −pn 1 cn
−p1
1 0 0 0 0 0 c1
0
−p1 1 0 0 0
0
c2
0 0 −p1 0 0 0 1 T
c3
A=
, B = , C =
0 0 0 −p1 1 0
0
c4
0 0 0 0 −p1 0 1 c5
0 0 0 0 0 −p2 1 c6
MIEEC, DEEC, FEUP DIGITAL CONTROL - Part II
State Transition Matrix - Definition and Notation
Linear Time Invariant (LTI) systems - constant A, B, C & D
Definition. Φ(t, t0 ):Rn →Rn defines the system’s response to:
initial state: x(t)=Φ(t,
Z t t0 )x(t0 ) [impulsive response]
control: x(t)= Φ(t, s)Bu(s)ds [convolution]
t0
control and initial state:
Z t
x(t)=Φ(t, t0 )x(t0 )+ Φ(t, s)Bu(s)ds
t0
a) Semigroup Property.
Let x(t1 )=Φ(t1 , t0 )x(t0 ) and x(t2 )=Φ(t2 , t1 )x(t1 ).
Then, x(t2 )=Φ(t2 , t0 )x(t0 ), with
Φ(t2 , t0 )x(t0 )=Φ(t2 , t1 )Φ(t1 , t0 )
b) det e A(t−t0 ) 6= 0, ∀t ∈ R
c) Let (λ̄, v̄ ) be an eigenvalue & eigenvector (generalized) pair of
A ∈ Rn×n . Then,
i) (λ̄k , v̄ ) also is for Ak .
ii) (e λ̄τ , v̄ ) also is for e Aτ .
d) State space basis change: Ã = T −1 AT ⇒ e Ãτ = T −1 e Aτ T .
e) A = diag (λ1 , . . . , λn ) ⇒ e Aτ = diag (e λ1 τ , . . . , e λn τ ).
f) Jordan bloc. τ τ2
λ 1 0 1 1! 2!
Example: A = 0 λ 1 ⇒ e Aτ = e λτ 0 1 1! τ
0 0 λ 0 0 1
g) Complex eigenvalues. Let n = 2, u(t) = 0, and
(λ = σ + iµ, v = vR + ivI ) & (λ∗ = σ − iµ, v ∗ = vR − ivI ) be
eigenvalue and eigenvector pairs of A.
Let (α, β) be s.t. x0 = x(t0 ) = αv + βv ∗ , then
∗ (t−t )
x(t) = αe λ(t−t0 ) v + βe λ 0
v∗
Matrix. Z τ
β = col(β1 , . . . , βn ) where βi = αi (t1 − s)u(s)ds,
t0
i = 1, . . . , n
Key Conclusion. A LTI control system is Controllable (i.e.,
condition (1) holds) if and only if the Controllability Matrix M is
of full rank.
MIEEC, DEEC, FEUP DIGITAL CONTROL - Part II
Controllability (cont.)
CAn−1
The observation problem can be cast as the following system of n
equations in the n unknown components of x(t0 ). Consider the set
{ti : ti ∈ [t0 , t], i 6= j ⇒ ti 6= tj },
y (ti ) = αT (ti − t0 )Qx(t0 ), i = 1, . . . , n. (2)
Observation 3: For k > 1 consider (2) extended to
yj (ti ) = αT (ti − t0 )Qj x(t0 ), i = 1, . . . , n, j = 1, . . . , k, where Qj is
the observability matrix constructed with line j of C .
MIEEC, DEEC, FEUP DIGITAL CONTROL - Part II
Observability (cont.)
Now, we just need to show that rank of Q = n is necessary and
sufficient condition for the system of equations (2) to have a
unique solution. In other words, from the observations
{y (ti ) : i = 1, . . . , n} we fully determine x(t0 ).
Argument of contradiction (still with k = 1):
Let us assume, that Q has rank n and that ∃ ti , tj with i 6= j s.t.
y (ti ) = y (tj ). Then, we would have α(ti − t0 ) = α(tj − t0 ) since
a) 0 = (α(ti − t0 ) − α(tj − t0 ))T Qx(t0 )
b) x(t0 ) ∈ Rn is arbitrary
However, the system of equations in the Cayley-Hamilton Theorem
specifying the coefficients αk (τ ), k = 0, . . . , n − 1, clearly shows
that this is not possible: From the set of equations provided by the
eigen-values λp , we have - here exemplified for an eigen-value of
multiplicity one -,
e λp (ti −t0 ) −e λp tj (ti −t0 ) = (α(ti −t0 )−α(tj −t0 ))T col(1, λp , · · · λn−1
p ).
MIEEC, DEEC, FEUP DIGITAL CONTROL - Part II
Observability (cont.)
xk+1 = Ac xk + Bc uk , yk = Cc xk + Dc uk
R B AB · · · Am B
⊆ R (M)
ẋ = [A − BK ]x, x(0) = x0
M −1 φ(A)
K= 0 0 ··· 0 1
where
A is the matrix specifying the system dynamics.
M is the controllability matrix.
φ(·) is the matrix version of the desired closed loop
characteristic polynomial
where the ai ’s and the αi ’s are, respectively, the open-loop and the
closed-loop coefficients of the characteristic polynomial.
Alternative: From the given state space representation derive the
differential control system, and, then, from this obtain a CCF
representation. Apply the
MIEEC, approach
DEEC, FEUP of theCONTROL
DIGITAL previous
- Part slide.
II
Linear State Feedback Controllers (cont)
The system is not Controllable, i.e., rank[M] = q < n
1. Change of coordinates reference to obtain a controllable
subsystem
P = f1 · · · fq v1 · · · vn−q ,
where fi , i = 1, . . . , q are q columns of M which form a
linearly independent set, and vi , i = 1, . . . , n − q are n − q
arbitrary vectors such that rank[P] = n. Then,
−1 A11 A12 −1 B11
Â=P AP = , B̂ =P B = , K̂ =KP = K1 K2 .
0 A22 0
Observation: The subsystem (A11 , B11 ) is controllable.
2. We have
det(sI − A + BK ) = det(sI − Â + B̂ K̂ )
= det(sIq − A11 + B11 K1 )det(sIn−q − A22 ).
MIEEC, DEEC, FEUP DIGITAL CONTROL - Part II
Linear Feedback State Estimation
Recall the LTI Control System ẋ = Ax + Bu, y = Cx, x ∈ Rn ,
u ∈ Rm , y ∈ Rk , n, m, k ∈ N.
Now, the state variable is not directly accessible. I has to be
estimated ( x̃) from the input (u) & output (y ) with a state
estimator:
ė = (A − Ke C )e
Let
U(s) = −K X̃ (s), and
s X̃ (s) = (A − Ke C )X̃ (s) + BU(s) + Ke Y (s)
we have
X̃ (s) = (sI − A + Ke C + BK )−1 Ke Y (s)
and, thus,