Controllability and Observability in Control Systems
Introduction to Controllability and Observability
The concepts of controllability and observability are fundamental to modern control system theory, having been introduced by R.E. Kalman in 1960.
While originally theoretical, these concepts are particularly important for practical implementations in engineering.
Controllability: This property determines if it is possible to manipulate the dynamic system to achieve a desired behavior under a specific control input.
Observability: This property determines if the internal state of a system can be identified by observing its external outputs.
Definitions and Core Principles
Controllability Definition: A system is said to be controllable if an input function u(t) can transform the initial state x(t0) of the system to any required final state x(tf) within a finite time interval (tf−t0),t>0.
Observability Definition: A system is said to be observable if, from a finite measurement of output carried over an interval of time (0≤t≤tf), the initial state of the system can be determined.
Uncontrollability: If there is no connection between a specific state and the input, the system is called uncontrollable.
Unobservability: If there is no contact/connection between a certain state and the output, the system is deemed unobservable.
Observability of Discrete-Time Systems
Consider a linear, time-invariant, discrete-time system in state-space form:
x(k+1)=Adx(k)x(0)=x0 (unknown)
With output measurement:
y(k)=Cdx(k)
Where:
x(k)∈Rn
y(k)∈Rp
Ad and Cd are constant matrices of appropriate dimensions.
Since the n-dimensional vector x(0) has n unknown components, it is expected that n measurements are sufficient to determine it. By taking k=0,1,…,n−1, a sequence of equations is generated:
From linear algebra, a unique solution for the unknown x(0) exists if and only if the system matrix has rank n. This leads to the definition of the observability matrix Qo:
Qo=[CdT,(CdAd)T,(CdAd2)T,…,(CdAdn−1)T]T
Theorem: The linear discrete-time system is observable if and only if the observability matrix Qo has rank equal to n.
Controllability of Discrete-Time Systems
Consider a linear discrete-time invariant control system:
x(k+1)=Adx(k)+Bdu(k)x(0)=x0
Assuming the input u(k) is a scalar, the input matrix Bd is a vector denoted by bd. Taking k=0,1,2,…:
The linear continuous-time system is controllable if and only if rank(Qc)=n.
The linear continuous-time system is observable if and only if rank(Qo)=n.
Kalman's Tests
Controllability Test
Step 1: Construct the matrix Qc=[B,AB,A2B,…,An−1B].
Step 2: Find the determinant of Qc. If det(Qc)=0, the control system is controllable (system is non-singular).
Observability Test
Step 1: Construct the matrix Qo=[CT,ATCT,…,(AT)n−1CT]T.
Step 2: Find the determinant of Qo. If det(Qo)=0, the system is observable.
Frequency Domain Perspective
In the frequency domain, controllability and observability are related to the transfer function H(s) for a single-input single-output (SISO) system:
H(s)=C(sI−A)−1B
Theorem:
If there are no pole-zero cancellations in the transfer function H(s), then the system is both controllable and observable.
If a pole-zero cancellation occurs in H(s), then the system is either uncontrollable, unobservable, or both.
Worked Examples
Example 1: Discrete-Time System
Given: x(k+1)=(1324)x(k)y(k)=[1,2]x(k)Bd=(10)
Observability Check:
n=2.
Cd=[1,2].
CdAd=[1,2](1324)=[7,10].
Qo=(17210).
det(Qo)=(1×10)−(2×7)=10−14=−4.
Since det(Qo)=0, the system is observable.
Controllability Check:
Bd=(10).
AdBd=(1324)(10)=(13).
Qc=(1013).
det(Qc)=3−0=3. (Note: A separate calculation in notes suggested Bd=(00) leading to uncontrollability; however, using the provided Bd=(10) yields rank 2).
Example 2: Continuous-Time System
Given: x˙=(3−121)x+(12)uy=[1,1]x
Controllability:
B=(12).
AB=(3−121)(12)=(71).
Qc=(1271).
det(Qc)=1−14=−13=0. System is controllable.
Observability:
C=[1,1] implies CT=(11).
ATCT=(32−11)(11)=(23).
Qo=(1213).
det(Qo)=3−2=1=0. System is observable.
Example 3: 3rd Order System
Given: A=−3201−3102−3,B=010,C=[0,1,0]
Controllability:
B=(010)T.
AB=1−31.
A2B=A(AB)=−3201−3102−31−31=−613−6.
Qc=0101−31−613−6.
det(Qc)=0. (Two columns/rows are identical). The system is uncontrollable.
Observability:
CT=010.
ATCT=2−32.
(AT)2CT=−1213−12.
Qo=02−121−31302−12.
det(Qo)=−1(−24−(−24))=0. The system is unobservable.