Lecture 7
Lecture 7
1
5/19/2024
𝑥̇ 𝑡 = 𝐴𝑥 𝑡 + 𝐵𝑢 𝑡 (2.1a)
𝑦 𝑡 = 𝐶𝑥 𝑡 (2.1b)
If the initial state is specified at time t , the solution of the state equation
yields
𝑥 𝑡 = ϕ t 𝑥 0 + ∫ ϕ t − 𝜏 𝐵𝑢 𝜏 𝑑𝜏 (2.2)
where ϕ t = 𝑒
EEE 2502 Control Engineering III Lecture Notes by Dr. Linus. A. Aloo
5/19/2024 3
𝑥 0 =ϕ t 𝑥 0 + ϕ t − 𝜏 𝐵𝑢 𝜏 𝑑𝜏 = 0 (2.3)
with finite t
For a LTI continuous time system described by eqn. (2.1), a sufficient condition for
complete state controllability is that the 𝑛 × 𝑛 controllability matrix 𝑀, defined by
𝑀= 𝐵 𝐴𝐵 𝐴 𝐵…..𝐴 𝐵 (2.4)
contains 𝑛 linearly independent row or column vectors, i.e. is of rank 𝑛 (that is,
nonsingular).
If a system is not completely controllable, it implies that it has one or more natural
modes that cannot be affected by the input directly or indirectly.
EEE 2502 Control Engineering III Lecture Notes by Dr. Linus. A. Aloo
5/19/2024 4
2
5/19/2024
𝑦 𝑡 = 𝐶𝑥 𝑡 (2.5a)
= Cϕ t 𝑥 0 + C ∫ ϕ t − 𝜏 𝐵𝑢 𝜏 𝑑𝜏 (2.5b)
Thus given 𝑢 𝑡 and 𝑦 𝑡 for t ≤ 𝑡 ≤ 𝑇 with 𝑇 being some finite value, the system is
observable if equation (2.5b) can be solved for 𝑥 0
The system is observable if the observability matrix N is nonsingular i.e. the rank of N is
equal to 𝑛
𝐶
𝑁= 𝐶𝐴 (2.6)
⋮
𝐶𝐴
The eqns. represented by (2.4) and (2.6) are referred to as Kalman’s tests for controllability
and observability.
EEE 2502 Control Engineering III Lecture Notes by Dr. Linus. A. Aloo
5/19/2024 5
𝑀= 𝐵 𝐴𝐵
0.5 0 0 0
𝐴𝐵 = =
0 −2 1 −2
0 0 0 0
𝑀=→ 𝑀 = =0
1 −2 1 −2
The matrix is singular hence the system is uncontrollable.
EEE 2502 Control Engineering III Lecture Notes by Dr. Linus. A. Aloo
5/19/2024 6
3
5/19/2024
𝑥̇ = 0.5𝑥
𝑥̇ = −2𝑥 + 𝑢(𝑡)
It is evident that whereas 𝑥 can be changed by 𝑢(𝑡) the state 𝑥 is unaffected by our choice of the
inputs since it is not coupled either directly to the input or to the state 𝑥 hence this state of 𝑥 (0)𝑒 .
is uncontrollable.
NB: On the other hand if we had
𝑥̇ = 0.5𝑥 + 𝑥
𝑥̇ = −2𝑥 + 𝑢(𝑡)
The controllability matrix is obtained as
0 1 0 1
𝑀= → 𝑀 = = −1
1 −2 1 −2
The matrix is nonsingular hence the system is controllable. 𝑥 can be controlled indirectly via 𝑥
EEE 2502 Control Engineering III Lecture Notes by Dr. Linus. A. Aloo
5/19/2024 7
Solution Cont’
(ii) The observability matrix is given by
𝐶
𝑁=
𝐶𝐴
0.5 0
𝐶𝐴 = 0 1 = 0 −2
0 −2
0 1
𝑁 = =0
0 −2
EEE 2502 Control Engineering III Lecture Notes by Dr. Linus. A. Aloo
5/19/2024 8
4
5/19/2024
𝑥̇ 𝑡 = 𝐴𝑥 𝑡 + 𝐵𝑢 𝑡
𝑦 𝑡 = 𝐶𝑥 𝑡
Where
𝑥 0 1 0 0
𝑥= 𝑥 ,A = 0 0 1 , 𝐵 = 0 ,𝐶 = 4 5 1
𝑥 −6 −11 −6 1
EEE 2502 Control Engineering III Lecture Notes by Dr. Linus. A. Aloo
5/19/2024 9
5
5/19/2024
𝑥̇ 𝑡 = 𝐴𝑥 𝑡 + 𝐵𝑢 𝑡 (2.7)
𝑦 𝑡 = 𝐶𝑥 𝑡
Select a control law or control rule 𝑢(𝑡) which is made of a linear function of the states and
of the form:
𝐮 t = 𝐫 − 𝐊x t (2.8)
In eqn. (2.8), 𝐫(t) is a vector of desired state variables and 𝐊 is known as the state variable
feedback gain matrix.
The state variable block diagram representation of equations (2.7) and (2.8) is as given in
Fig.2.2.
EEE 2502 Control Engineering III Lecture Notes by Dr. Linus. A. Aloo
5/19/2024 12
6
5/19/2024
= 𝐀 − 𝐁𝐊 x t + B𝐫 (2.9)
𝑢 𝑡 = −𝑘𝑥 𝑡 (2.12𝑎)
Or
𝑢 𝑡 = −𝑘 𝑥 𝑡 − 𝑘 𝑥 𝑡 − … − 𝑘 𝑥 𝑡 (2.12𝑏)
We see that the control 𝑢 𝑡 will drive the system from a set of initial conditions 𝑥 0 to a set of
zero states at time 𝑡 , i.e. 𝑥 𝑡 = 0.
The design problem is the specification of the desired root locations of the system’s
characteristic equation and the calculation of the gains 𝑘 to yield these desired root locations.
A necessary and sufficient condition that the closed-loop poles can be placed at any arbitrary
location in the s-plane is that the system must be completely state controllable.
EEE 2502 Control Engineering III Lecture Notes by Dr. Linus. A. Aloo
5/19/2024 14