Professional Documents
Culture Documents
CONTROLLABILITY &
OBSERVABILITY
Claudio Melchiorri
x1
x0
t0 t1
is completely reachable if, starting from the is completely controllable if, starting from any
origin, every state can be reached in a finite state, it is possible to reach the origin in a
amount of time with a proper input control finite amount of time by applying a proper
action input control action
e3 x2 e3 x
2
x1 x3 x3
x1
x4
x4
e2 e2
e1 e1
C. Melchiorri (DEI) Automatic Control & System Theory 3
AC&ST
then:
n By changing the sequence u(0), u(1), … u(k-1) we obtain the set of states reachable in
k steps
Reachable states:
a subspace of Rn
• If
Then:
If a state is reachable, it can be reached in n steps at the most.
Note that the inclusion sequence for V+k{0} can stop for k < n.
We define as the reachability index the smallest integer r such that
We define matrix P1
P1 = [B, A B, A2 B, … An-1 B]
as the reachability matrix.
C. Melchiorri (DEI) Automatic Control & System Theory 6
AC&ST
Moreover:
1. V+ is the smallest A-invariant subspace containing im{B}
A P1 ⊆V+ im{B} ⊆ V+
2. The subspace V+ is invariant with respect to changes of basis in the state
space:
x = T x̄ V + = T V̄ +
A0 = T 1
AT P1 = [B, AB, A2 B, . . . An 1
B]
B0 = T 1
B P10 = [B 0 , A0 B 0 , A02 B 0 , . . . A0n 1
B0]
1 1 1 1
= [T B, T AT T B, T A2 T T 1
B, . . . T 1
An 1
T T 1
B]
1 1 1
= [T B, T AB, T A2 B, . . . T 1
An 1
B]
1
=T [B, AB, A2 B, . . . An 1
B]
= T 1 P1
P1 = T P10
C. Melchiorri (DEI) Automatic Control & System Theory 7
AC&ST
The state x(0) is controllable in k steps if the state –Ak x(0) is reachable in k steps from the state 0
equivalent to:
The system is completely reachable iff im{P1} = Rn, that is if P1 is full rank.
V = R = im{P1 }
Therefore, the system is completely controllable and reachable if and only if
Im{[B, AB, A2 B, · · · , An 1
B]} = Vn+ = IRn
From which
Im{An } Im{[B, AB, A2 B, · · · , An 1
B]} = V + = IRn
Example:
2 3
0 1 0
x(k + 1) = 4 0 0 1 5 x(k) 1 = 2 = 3 =0
0 0 0
2 3 2 3 2 3 2 3
1 1 1 0
x(0) = 4 1 5 , x(1) = 4 1 5 , x(2) = 4 0 5 , x(3) = 4 0 5
1 0 0 0
Example
• Necessary and sufficient condition for the problem to have a solution is that
that is that the state x(k)- Ak x (0) is reachable from zero in k steps. If this is the case,
then the solution is given by the n equations:
in the (k x m) unknowns:
• Since there are more solutions, it is possible to choose the “best one”
according to some criteria.
For example, the minimum norm solution minimizes the control energy
necessary to achieve the desires state transition
v
uk 1
minimization of uX
kuk = t uT (i)u(i)
i=0
ui
n Let θI and θi+1 i = 1, …, 5 be the input/output temperatures of the bars in each stage,
and let ui be the temperature of the i-th stage.
• In this case, matrix R5 is not invertible and it is necessary to use the pseudo-inverse
(right pseudo-inverse, since R5 is “lower rectangular”)
• Since R5 is a 1 x 5 lower rectangular matrix, a 4-dimensional null space exists defined by:
• Then x(t) is reachable at time t iff x(t) belongs to the range space of
Rt, that represents the reachability subspace V+(t) at time t
• Note: This is true if the amplitude of the input signal may have arbitrarily large
values. In practice, this cannot be true, and therefore the set of reachable
states depend on the time interval and the input amplitude. The “theoretical”
result is not affected, since in this case the input set is not a vector space and
therefore one of the main (theoretical) assumptions is not verified.
vC
L C
J(t) iL vu(t)
R R
• In matrix form:
Observability
• A system is said completely observable if, knowing the input and output functions
u|[0, t ], y|[0, t ] in any finite interval of time it is possible to determine the state x(0)
1 1
• Theorem: By defining
The system is completely observable iff Ker{P2} = 0 that is if P2 has full rank. Q
is a subspace of Rn
Matrix P2 is the observability matrix.
Observability
• Example:
Observability
• Define
That is:
• the null space of any matrix P is equal to the orthogonal complement of the
image of PT
• the image of any matrix P is equal to the orthogonal complement of the null
space of PT
Equivalent systems
• Two systems Σ (A, B, C, D) and Σ’ (A’, B’, C’, D’) are equivalent if a non
singular matrix T exists such that x = T x’ and
Equivalent systems
• As a matter of fact, the reachable subspaces in k steps for the two systems
are
Equivalent systems
• Example:
Check:
Dual systems
(1)
(2)
Dual systems
Σ stable ΣD stable
Σ completely controllable ΣD completely reconstructable
Σ completely reconstructable ΣD completely controllable
Σ completely observable ΣD completely reachable
Σ completely reachable ΣD completely observable
The proof of these properties can be easily obtained from the following equations:
with rank(P1) = ρ < n (dim R = ρ < n): the system is NOT completely reachable.
Consider the transformation matrix
where the n x ρ matrix T1, is a basis matrix of V+ and the n x (n-ρ) matrix T2 makes T non
singular. The following equivalent (and simpler) form is obtained for the system:
0 1 A011 A012 0 1 B10
A =T AT = B =T B=
0 A022 0
C 0 = CT = [C10 , C20 ] D0 = D
dim{A011 } = , dim{B10 } = m
This is the standard reachability form, since the reachable part of the system is clearly
identified by matrices (A’11, B’1, C’1).
1/s C’2
A’22
C. Melchiorri (DEI) Automatic Control & System Theory 36
AC&ST
A trajectory originated on an invariant will remain on it. Therefore, since the reachability
subspace is A-invariant, if matrix A11 is stable, a trajectory originated in this subspace will
tend to the origin. Moreover, a trajectory originated out of this invariant tends to it if matrix
A22 is stable.
• If A11 is stable, the invariant is called internally stable
• If A22 is stable, the invariant is called externally stable
If A22 is stable:
1.5 x0 • x2 tends to 0
• x tends to V
1
0.5
-0.5
-1
V
-1.5
1.5 1
1
0.5 0
0
-0.5 -1
-1
-1.5
C. Melchiorri (DEI) Automatic Control & System Theory 37
AC&ST
with rank(P2) = ρ < n (dim Q = n - ρ > 0. The system is NOT completely observable.
A transformation matrix M exists such that
0 1 A011 0 0 1 B10
A =M AM = B =M B=
A021 A022 B20
C 0 = CM = [C10 , 0] D0 = D
dim{A011 } = , dim{C10 } = p
This is the standard observability form, since the observable part of the system is
clearly identified by matrices (A’11, B’1, C’1).
where T is the matrix that transforms the system in the standard reachability form.
T 0
= (A, B, C, D) = (A0 , B 0 , C 0 , D0 ) = (T 1
AT, T 1
B, CT, D)
Dual Dual
Then, for its dual system:
T T T T
T-T 0
D = (A , C , B , D ) D = (T T AT T T
, T T CT , T T
B T , DT )
Kalman decomposition
• Consider the system ∑ = (A, B, C, D). Let R be the reachable subspace and
Q the unobservable subspace.
Consider the state transformation defined by the matrix
• Where:
T4 : T non singular
Kalman decomposition
3
Non observable sub-system
where matrix