9. State Controllability (Example)
• Consider the system given below
• State diagram of the system is
xy
uxx
21
0
1
30
01
1
1
)(sU
)(sY
1
-1
s
3
-1
s
2
1x
2x
10. State Controllability (Example)
ABBCM
00
11
CM
0
1
B
0
1
AB
System order(state
variable) is 2 but rank is
1, therefore not
controllable
19. State Observability
• Observable Matrix (OM)
• The system is said to be completely state observable if
1
2
MMatrixityObservabil
n
CA
CA
CA
C
O
nOMrank )(
n= system order ,based on
the number of state
variable
20. State Observability (Example)
• Consider the system given below
• OM is obtained as
• Where
xy
uxx
40
1
0
20
10
CA
C
OM
40C
120
20
10
40
CA
23. Output Controllability
• Output controllability describes the ability of an external
input to move the output from any initial condition to any
final condition in a finite time interval.
• Output controllability matrix (OCM) is given as
BCABCACABCBCM n 12
O
24. Work Out Exercise
• Check the state controllability, state observability
and output controllability of the following system
10,
1
0
,
01
10
CBA
49. • % State Space Representation % x' = Ax + Bu % y = Cx + Du % %
Problem 1 --------------------------------------------------------------- %
• Check Controllability and Observability of a 2nd order System %
• Given ------------------------------------------------------------------- MatrixA =
[0 1;-2 -3]; MatrixB = [0;1]; MatrixC = [1 -1]; MatrixD = 0; %
• Objective --------------------------------------------------------------- %
• 1) To Find Controllable Matrix Qc, its rank and check controllability
• % 2) To Find Observable Matrix Qb, its rank and check observability
%------
• --- % Controllable Matrix -----------------------------------------------------
Qc = ctrb(MatrixA,MatrixB); rankQc = rank(Qc); disp('Controllable
Matrix is Qc = '); disp(Qc); if(rankQc == rank(MatrixA)) disp('Given
System is Controllable.'); else disp('Given System is Uncontrollable');
end % Observable Matrix -------------------------------------------------------
Qb = obsv(MatrixA, MatrixC); rankQb = rank(Qb); disp('Observable
Matrix is Qb = '); disp(Qb); if(rankQb == rank(MatrixA)) disp('Given
System is Observable.'); else disp('Given System is Unobservable');
end % End of Program ----------------