Lecture 14
Lecture 14
Controllability: Assume that the system is at the origin initially. is controllable if the matrix
Can we find a control signal so that the state reaches a given
Wc = ( B AB A2 B ... A n− 1 B )
position at a fixed time? Notice we do not require that it stays
there! has full rank. The system observable if the matrix
Observability: Can the state x be determined from observa-
C
tions of the output y over some time interval. CA
Wo =
CA2
..
.
n− 1
CA
c K. J. Åström August, 2000
has full rank. 1
Prototype of Noncontrollable System Prototype of Nonobservable System
Two identical systems driven by the same input. Intuitively: no Two identical systems whose outputs are added. Intuitively: no
way to make the systems move in opposite ways. way to find out which system generated the output.
A simple example A simple example
dx1 S dx1
S
= − x1 + u = − x1 + u
dt dt
dx2 u dx2 y
dt
= − x2 + u
dt
= − x2 + u
Σ
y = x1 + x2
c K. J. Åström August, 2000 2
System Structure Kalmans Decomposition
The coordinates can be chosen so that a linear system has the A linear system can be transformed to the form
following structure
A11 0 A13 0 B1
xc A11 A12 xc B1 A A24 B
d dx 21 A22 A23 2
= + u = x+ u
dt xc̄ 0 A22 xc̄ 0 dt 0 0 A33 0 0
0 0 A43 A44 0
where the states x c are controllable and x c̄ are noncontrollable.
y = ( C1 0 C2 0) x
d xo A11 0 xo
= where the state vector has been partitioned as
dt xō A21 A22 x0̄
xo T
y = ( C1 0) xco
xō x
cō
x=
where the states x o are observable and x ō not observable xc̄o
(quiet) xc̄ ō
The system can be written as Take Laplace transforms (assuming all initial values zero)
d x A B x B
= + u sY ( s) = sU ( s), → Y ( s) = U ( s) → y( t) = u( t)
dt v 0 0 v 0
x
y = (C 0) There are also design methods where it is deliberately at-
v
tempted to cancel poles and zeros. It is important to under-
Notice that the state v which models the load disturbance is not stand what happens when this is done. The decomposition of a
controllable from u. linear system gives good insight into what happens when work-
ing with transfer functions.
c K. J. Åström August, 2000 4
Example of Cancellation ... Example of Cancellation ...
u y
Σ The system has two states, one state corresponding to the
Equations in new coordinates mode s = −a, is controllable and the state corresponding to
2 the mode s = −b is also controllable unless a = b. The state
dz1
= −az1 1 z1 z1 is observable but not the state z 2 . There are four interesting
dt s +a
dz2 cases:
= −bz2 + ( b − a) z1 + ( b − a)u
dt • a > 0 and b > 0:
y = 2z1 + u Σ
b−a z2 −
Σ
s+b both modes stable
v = z1 − z2 + u
Σ
υ • a < 0 and b > 0:
The state z1 is observable but not controllable mode s = −a unstable mode s = −b stable
• a > 0 and b < 0:
The state z2 is controllable but not observable
mode s = −a stable mode s = −b unstable
• a < 0 och b < 0:
both modes unstable
and the characteristic polynomial is s + kb. Choose controller Consider the situation when plant dynamics is slow (a small
gain k to get closed loop pole at s = −α , hence k = α /b. 0.1) and desired response fast (α large 1.0).
Are there any drawbacks with the cancellation?
0
0 5 10 15 20 25 30 35 40
Change k i from 0.1 to 1!
1
0
0.5
−0.5 0
−0.5
0 5 10 15 20 25 30 35 40
−1 0
0 5 10 15 20 25 30 35 40
−0.5
Notice that after the initial reaction the control signal does not −1
Summary
• The notions of controllability and observability were
introduced by Kalman in 1960.
• The arise from questions that are natural to ask when
state models are used:
– Can the states be moved from one position to another?
– Can the state be computed from the measured signal.
• The conditions are required to solve the pole placement
and the observer problems.
• The concepts give a natural decomposition of a system
which gives insight into the cancellation problem.
c K. J. Åström August, 2000 6