3 Controllabillity&observability
3 Controllabillity&observability
𝒙 𝒕 = 𝑨 𝒙 𝒕 + 𝑩 U(t)
𝒙 𝒕 − 𝑨 𝒙 𝒕 = 𝑩 U(t)
Multiplying both sides of this equation by 𝒆−𝑨𝒕
𝒅 −𝑨𝒕
𝒆−𝑨𝒕 𝒙 𝒕 −𝑨𝒙 𝒕 = 𝒆 𝒙 𝒕 = 𝒆−𝑨𝒕 𝑩 U(t)
𝒅𝒕
Integrating between 0 & t gives
𝒕 −𝑨𝝉
𝒆−𝑨𝒕 𝒙 𝒕 − 𝒙 𝟎 = 𝟎
𝒆 𝑩 U(𝝉) 𝒅𝝉
Assume that the final state is the origin of the state space and that the initial time is zero, or 𝒕𝒐 = 𝟎.
𝒕𝒇
𝑨𝒕𝒇
𝒙 𝒕𝒇 = 𝒆 𝒙 𝒐 + 𝒆𝑨(𝒕𝒇−𝝉) 𝑩 𝑼 𝝉 𝒅𝝉
𝟎
or
𝒕𝒇
𝒙 𝒐 =− 𝒆−𝑨𝝉 𝑩 𝑼 𝝉 𝒅𝝉
𝟎
𝒏−𝟏
𝒆−𝑨𝝉 = 𝜶𝒌 𝝉 𝑨𝒌
𝒌=𝟎
𝒏−𝟏 𝒕𝒇
𝒌
𝒙 𝒐 =− 𝑨 𝑩 ∝𝒌 (𝝉) 𝑼 𝝉 𝒅𝝉
𝒌=𝟎 𝟎
COMPLETE STATE CONTROLLABILITY OF CONTINUOUS TIME SYSTEMS
LE T
𝑡𝑓
𝛽𝑘 = 0
∝𝑘 (𝜏) 𝑈 𝜏 𝑑𝜏
𝑛−1 𝑘
𝑥 𝑜 =− 𝑘=0 𝐴 𝐵 𝛽𝑘
𝛽𝑜
𝛽1
= − 𝐵: 𝐴𝐵: … . . 𝐴 𝐵 … . .
𝑛−1
………
𝛽𝑛−1
𝒙𝟏 𝟏 𝟏 𝒙𝟏 𝟏
= 𝒙 + U
𝒙𝟐 𝟎 −𝟏 𝟐 𝟎
Since
𝟏 𝟏
𝑩 ⋮ 𝑨𝑩 = = 𝒔𝒊𝒏𝒈𝒖𝒍𝒂𝒓
𝟎 𝟎
𝒙𝟏 𝟏 𝟏 𝒙𝟏 𝟎
= 𝒙 + U
𝒙𝟐 𝟐 −𝟏 𝟐 𝟏
Since
𝟎 𝟏
𝑩 ⋮ 𝑨𝑩 = = 𝒏𝒐𝒏𝒔𝒊𝒏𝒈𝒖𝒍𝒂𝒓
𝟏 −𝟏
∴ The system is therefore completely state controllable
ALTERNATE FORM OF THE CONDITION FOR COMPLETE STATE CONTROLLABILITY
𝝀𝟏 … … 𝟎
⋮ 𝝀𝟐 … …
𝑷−𝟏 𝑨𝑷 = 𝑫 =
⋮ ⋮ ⋱ ⋮
𝟎 … … 𝝀𝒏
Let us define x=P z
𝒛 = 𝑷−𝟏 𝑨𝑷𝒛 + 𝑷−𝟏 𝑩𝑼
𝝀𝟏 𝟏 𝟎 𝟎
𝟎 𝝀𝟏 𝟏
𝟎 𝟎 𝝀𝟏
𝝀𝟒 𝟏
𝑱=
𝟎 𝝀𝟒
𝝀𝟔
⋱
𝟎 𝝀𝒏
Let 𝑺−𝟏 𝑨𝑺=J, define x=S z
𝒛 = 𝑺−𝟏 𝑨𝑺 𝒛 + 𝑺−𝟏 𝑩 𝑼
= 𝑱 𝒛 + 𝑺−𝟏 𝑩 𝑼
Conditions of complete state controllability of the above system:
• No two Jordan blocks J are associated with the same eigenvalue
• The elements of any row of 𝑺−𝟏𝑩 that correspond to the last row of
each Jordan block are not always zero.
• The elements of each row of 𝑺−𝟏𝑩 that correspond to distinct
Eigenvalues are not always zero.
EXAMPLE I:- COMPLETELY STATE CONTROLLABLE SYSTEMS
𝒙𝟏 −𝟏 𝟎 𝒙𝟏 𝟐
= 𝒙 + 𝒖
𝒙𝟐 𝟎 −𝟐 𝟐 𝟓
𝒙𝟏 −𝟏 𝟏 𝟎 𝒙𝟏 𝟎
𝒙𝟐 = 𝟎 −𝟏 𝟎 𝒙𝟐 + 𝟒 𝒖
𝒙𝟑 𝟎 𝟎 −𝟐 𝒙𝟑 𝟑
𝒙𝟏 −𝟐 𝟏 𝟎 𝟎 𝒙𝟏 𝟎 𝟏
𝒙𝟐 𝟎 −𝟐 𝟏 𝒙𝟐 𝟎 𝟎 𝒖
𝒙𝟑 + 𝟑 𝟎 𝟏
𝒙𝟑 = 𝟎 𝟎 −𝟐 𝒖𝟐
𝒙𝟒 −𝟓 𝟏 𝒙𝟒 𝟎 𝟎
𝒙𝟓 𝟎 𝟎 −𝟓 𝒙𝟓 𝟐 𝟏
EXAMPLE II:- NOT COMPLETELY STATE CONTROLLABLE SYSTEMS
𝒙𝟏 −𝟏 𝟎 𝒙𝟏 𝟐
= + 𝒖
𝒙𝟐 𝟎 −𝟐 𝒙𝟐 𝟎
𝒙𝟏 −𝟏 𝟏 𝟎 𝒙𝟏 𝟒 𝟐 𝒖
𝟏
𝒙𝟐 = 𝟎 −𝟏 𝟎 𝒙𝟐 + 𝟎 𝟎 𝒖
𝟐
𝒙𝟑 𝟎 𝟎 −𝟐 𝒙𝟑 𝟑 𝟎
𝒙𝟏 −𝟐 𝟏 𝟎 𝟎 𝒙𝟏 𝟒
𝒙𝟐 𝟎 −𝟐 𝟏 𝒙𝟐 𝟐
𝒙𝟑 = 𝟎 𝟎 −𝟐 𝒙𝟑 + 𝟏 𝒖
𝒙𝟒 −𝟓 𝟏 𝒙𝟒 𝟑
𝒙𝟓 𝟎 𝟎 −𝟓 𝒙𝟓 𝟎
CONDITIONS FOR COMPLETE STATE CONTROLLABILITY IN THE S-PLANE
A necessary and sufficient condition for complete state controllability is that
no cancellation occurs in the transfer function or transfer matrix. If
cancellation occurs, the system can not be controlled in the direction of the
cancelled mode.
Example:-
𝑿(𝑺) (𝑺 + 𝟐. 𝟓)
=
𝑼(𝑺) (𝑺 + 𝟐. 𝟓)(𝑺 − 𝟏)
Because of the cancellation of the (S+2.5) term in the transfer matrix. This
system is not completely state controllable.
IN STATE SPACE
𝒙𝟏 𝟎 𝟏 𝒙𝟏 𝟏
= 𝒙 + 𝒖
𝒙𝟐 𝟐. 𝟓 −𝟏. 𝟓 𝟐 𝟏
Since:
𝟏 𝟏
𝑩 𝑨𝑩 =
𝟏 𝟏
The rank of 𝑩 𝑨𝑩 is 1. The system is not completely state controllable.
OUTPUT CONTROLLABILITY
𝑥 𝑡 = 𝑨 𝑥 𝑡 + 𝐵 U(t)
𝑦 = 𝑪 𝑥 𝑡 + 𝐷 U(t)
The system is said to be output controllable if it is possible to construct an
unconstrained control vector u(t) that will transfer any given initial output
𝒚 𝒕𝒐 to any final output 𝒚 𝒕𝒇 in a finite time interval 𝒕𝟎 ≤ 𝒕 ≤ 𝒕𝒇
The system is completely output controllable if and only if the mx(n+1)r
matrix.
𝑪𝑩: 𝑪𝑨𝑩: 𝑪𝑨𝟐 𝑩 … . . 𝑪𝑨𝒏−𝟏 𝑩: 𝑫 is of Rank m.
OBSERVABILITY
𝜶𝒐
𝜶
𝒚 𝒕 = 𝑪: 𝑪𝑨: … . . 𝑪𝑨𝒏−𝟏 … 𝟏. . 𝑿 𝒐
………
𝜶𝒏−𝟏
If the system is completely observable then, given the output y(t) over a time
interval 𝟎 ≤ 𝒕 ≤ 𝒕𝒇 , x(o) is uniquely determined from the above equation
It can be shown that this requires, the rank of the nmxn matrix
𝑪
𝑪𝑨
…
𝑪𝑨𝒏−𝟏
To be n or the nxnm matrix
𝑪∗ 𝑨∗ 𝑪∗ … (𝑨∗ )𝒏−𝟏 𝑪∗
Is of rank n or has n linearly independent column vectors.
This matrix is called the observability matrix
Consider the system described by:-
𝒙𝟏 𝟏 𝟏 𝒙𝟏 𝟎
= 𝒙 + 𝒖
𝒙𝟐 −𝟐 −𝟏 𝟐 𝟏
𝒙𝟏
𝒚= 𝟏 𝟎 𝒙
𝟐
Let:
𝑥 𝑡 =𝑨𝑥 𝑡
𝑦 =𝑪𝑥 𝑡
Suppose:
𝑃−1 𝐴 𝑃 = 𝑫
Where D is a diagonal matrix
ALTERNATE FORM OF THE CONDITIONS FOR COMPLETE OBSERVABILITY CONT’D
Let
X=Pz
𝒛 = 𝑷−𝟏 𝑨𝑷 = 𝑫 𝒛
𝒚=𝒄𝑷𝒛
𝒚 𝒕 = 𝑪 𝑷 𝒆𝑫𝒕 𝒛 𝟎
Or
𝒆 𝝀𝟏 𝒕 𝟎 𝒆𝝀𝟏 𝒕 𝒛𝟏(𝟎)
𝒚 𝒕 =𝑪𝑷 𝒆𝝀𝟐 𝒕 𝒛 𝟎 =𝐂𝐏 𝒆 𝝀𝟐 𝒕
𝒛𝟐(𝟎)
⋱ …
𝟎 𝒆 𝝀𝒏 𝒕 𝒆𝝀𝒏 𝒕 𝒛𝒏(𝟎)
ALTERNATE FORM OF THE CONDITIONS FOR COMPLETE OBSERVABILITY CONT’D
𝒙𝟏 −𝟏 𝟎 𝒙𝟏 𝒙𝟏
= 𝒙 ,𝒚= 𝟏 𝟑 𝒙
𝒙𝟐 𝟎 −𝟐 𝟐 𝟐
𝒙𝟏 𝟐 𝟏 𝟎 𝒙𝟏 𝒚𝟏
𝒙𝟏
𝒙𝟐 = 𝟎 𝟐 𝒙 𝟑 𝟎 𝟎 𝒙
𝟐 ,
𝟏 𝒚𝟐 = 𝟒 𝟎 𝟎 𝒙
𝟐
𝒙𝟑 𝟎 𝟎 𝟐 𝒙𝟑 𝟑
𝒙𝟏 𝟐 𝟏 𝟎 𝟎 𝒙𝟏 𝒙𝟏
𝒙𝟐 𝟎 𝟐 𝟏 𝒙𝟐 𝒙𝟐
𝒚𝟏 𝟏 𝟏 𝟏 𝟎 𝟎 𝒙𝟑
𝒙𝟑 = 𝟎 𝟎 𝟐 𝒙𝟑 , =
𝒚𝟐 𝟎 𝟏 𝟏 𝟏 𝟎 𝒙𝟒
𝒙𝟒 −𝟑 𝟏 𝒙𝟒
𝒙𝟓 𝟎 𝟎 −𝟑 𝒙𝟓 𝒙𝟓
EXAMPLES:- SYSTEMS THAT ARE NOT COMPLETELY OBSERVABLE
𝒙𝟏 −𝟏 𝟎 𝒙𝟏 𝒙𝟏
= 𝒙 , 𝒚= 𝟎 𝟏 𝒙
𝒙𝟐 𝟎 −𝟐 𝟐 𝟐
𝒙𝟏 𝟐 𝟏 𝟎 𝒙𝟏 𝒚𝟏
𝒙𝟏
𝒙𝟐 = 𝟎 𝟐 𝒙 𝟎 𝟏 𝟑 𝒙
𝟐 ,
𝟏 𝒚𝟐 = 𝟎 𝟐 𝟒 𝒙
𝟐
𝒙𝟑 𝟎 𝟎 𝟐 𝒙𝟑 𝟑
𝒙𝟏 𝟐 𝟏 𝟎 𝟎 𝒙𝟏 𝒙𝟏
𝒙𝟐 𝟎 𝟐 𝟏 𝒙𝟐 𝒙𝟐
𝒚
𝒙𝟑 = 𝟎 𝟎 𝟐 𝒙𝟑 , 𝟏 = 𝟏 𝟏 𝟏 𝟎 𝟎 𝒙𝟑
𝒚𝟐 𝟎 𝟏 𝟏 𝟎 𝟎 𝒙𝟒
𝒙𝟒 −𝟑 𝟏 𝒙𝟒
𝒙𝟓 𝟎 𝟎 −𝟑 𝒙𝟓 𝒙𝟓