Professional Documents
Culture Documents
Controllability
Observability
Basic Properties of State Space Models
◮ Controllability, Observability 1
R. E. Kalman
1
R. E. Kalman, On the general Theory of Control Systems , In Proc. 1st
Congress of Automatic Control, Moscow,1960
Controllability: Quadruple Tank Example
! A3
$
− T11 0 A1 T 3 0
d∆x " 0 − T12 0 A4 %
" A2 T 4 %
=" 1 % ∆x+
dt # 0 0 T3 0 &
0 0 0 − T14
! K1 $
A1 0
" 0 K2 %
" A2 %
" (1−K2 ) % ∆u
# 0 A3 &
(1−K1 )
A4 0
' ( )
1 0 0 0 Ai 2xi∗
∆y = ∆x, Ti =
0 1 0 0 Ci ρg
Quadruple Tank Example-Linear Case
Linear System 2: K2 = 1
' −0.3477 0 0.4982 0
( ' 31.8310 0
(
0 −0.2306 0 0.2877 0 9.5493
ẋ = 0 0 −0.4982 0 x+ 0 22.2817 u
0 0 0 −0.2877 0 0
ẋ = Ax + Bu T ż = T ΛT −1 x + Bu
ẋ = T ΛT −1 x + Bu ż = Λz + T −1 Bu
x = Tx x = Tz
Quadruple Tank Example-Linear Case
Linear System 2: K2 = 1
' −0.3477 0 0 0
( ' 31.8310 73.7418
(
0 −0.2306 0 0 0 9.5493
ż = 0 0 −0.4982 0 z+ 0 22.2817 u
0 0 0 −0.2877 0 0
Quadruple Tank Example-Linear Case
1
H(s) =
s +4
with the state space model realisations
Model 1 : Model 2 :
' ( ' (
ẋ = −4x + u −2 0 0
x˙a = xa + u
0 −4 1
y =x ' (
* + x1
y = 1 1 xa , xa =
x
Controllability-Transfer Function
ẋ = Ax + Bu, x(0) = x0
! $
u(n − 1)
* +"
" u(n − 2) %
%
−And x(0) = Bd Ad Bd ··· An−1
d Bd " .. %
, -. /# . &
Controllability matrix
u(0)
Controllability-General Definition
0 t
P(t, t0 ) = Φ(t, λ)B(λ)B T (λ)ΦT (t, λ)dλ
t0
! A3
$
− T11 0 A1 T 3 0
d∆x " 0 − T12 0 A4 %
" A2 T 4 %
=" 1 % ∆x+
dt # 0 0 T3 0 &
0 0 0 − T14
! K1 $
A1 0
" 0 K2 %
" A2 %
" (1−K2 ) % ∆u
# 0 A3 &
(1−K1 )
A4 0
' ( )
1 0 0 0 Ai 2xi∗
∆y = ∆x, Ti =
0 0 1 0 Ci ρg
ẋ = Ax + Bu T ż = T ΛT −1 x + Bu
ẋ = T ΛT −1 x + Bu ż = Λz + T −1 Bu
x = Tz y = CTz
Quadruple Tank Example-Linear Case
Transformed system
' −0.3477 0 0 0
( ' 6.3662 73.7418
(
0 −0.2306 0 0 128.3928 9.5493
ż= 0 0 −0.4982 0 z+ 0 22.2817 u
0 0 0 −0.2877 130.8938 0
* 1 0 −0.9573 0 +
y = 0 0 0.2892 0 z
' ( ' (
0 0
◮ It turns out that C ∗ v2 = and C ∗ v4 =
0 0
◮ States z2 and z4 are unobservable with this sensor
configuration
' (
0
◮ If C ∗ vj = , then the element of the state vector zj is
0
not observable
◮ All the states (modes) of the system is observable if we can
show that
C ∗ vj ∕= 0 ∀j
Observability-Transfer Function
1
H(s) =
s +4
with the state space model realisations
Model 1 : Model 3 :
' ( ' (
ẋ = −4x + u −2 0 −2
x˙a = xa + u
0 −4 1
y =x ' (
* + x1
y = 0 1 xa , xa =
x
Observability-Transfer Function
! y (t)
$ ! C $ ! D 0 0 ··· 0
$! u(t)
$
ẏ (t) " CA % CB D 0 ··· 0 u̇(t)
" ÿ (t) % "
" CA2
%
% " CAB CB D ··· 0 %" ü(t) %
# .
.
&= "
"
" .
%
%
%
x(t) + # .
.
.
.
.
.
.
.
.
.
&# .
.
&
. # . & . . . . . .
.
n−2 n−3
y (n−1) CAn−1 CA B CA B ··· ··· ··· u (n−1)
' () *
Ob. matrix
is full rank.
◮ An unobservable system means
◮ We do not have sufficient set of sensors to understand
everything that is going on through observation of inputs and
outputs
◮ Use obsv command in Matlab
Observability-General Definition
(observability gramian)
0 t
M(t, t0 ) = ΦT (t, λ)C T (λ)C (λ)Φ(t, λ)dλ
t0
* 1 0 0 0
+ * 1 0 0 0
+ * 1 0 0 0
+
y1 = 0 1 0 0 x, y2 = 0 0 1 0 x, y3 = 0 0 0 1 x
1 1 0 0 0
2
y4 = 0 0 1 0 x
0 0 0 1
◮ Rank(obsv(A,C1))=4;
◮ Rank(obsv(A,C2))=2;
◮ Rank(obsv(A,C3))=3;
◮ Rank(obsv(A,C4))=3;
* +
◮ Is the tank system observable if C5 = 1 1 0 0 ?
Minimal Realizations