Mcs Unit 2.1 PDF
Mcs Unit 2.1 PDF
net
eer
systems in the previous chapters. This is a useful representation if the system is linear, time invariant
and has a single input and single output (SISO). It is also defined for systems with zero initial
in
conditions only. The tools developed, viz, root locus technique, Bode plot, Nyquist plot, Nichol's
g.n
chart etc are powerful in the analysis and design of control systems. But transfer function representation
is not useful for,
1.
2.
3.
Systems with initial conditions
Nonlinear systems
Time varying systems and
et
4. Multiple input multiple output (MIMO) systems
further, the output for a given input can only be found. It does not throw any light on the variation
of internal variables. Sometimes this information is necessary because, some internal variables may
go out of bounds, eventhough the output remains within the desired limits. The methods discussed
so far are known as classical methods. In this method, the output only is fedback to obtain the
desired performance of the system. This may not result in the best or optimum performance of the
system. It may be desirable to feedback additional internal variables to achieve better results. The
design procedures in classical theory are mostly trial and error procedures.
A need for a represenation which overcomes all the above draw backs was felt and the state space
representation of the system was evolved. This representation forms the basis for the development of
modern control systems. This representation contains the information about some of the internal
variables along with the output variable and is amenable for analysis and design using digital computer.
It is suitable for representing linear, nonlinear, time invariant, time varying, SISO and MIMO systems.
www.EasyEngineering.net
www.EasyEngineering.net
L i(t)
r>r>nC">~
v(t)
ww
The dynamic behaviour of this circuit can be understood by considering the loop equation,
w.E di 1
Ri + L dt + C
t
Ii dt = vet) ..... (9.1)
asy -00
ngi
dt ..... (9.2)
nee di
The solution of eqn. (9.2) requires two initial conditions, namely, i(o) and dt (0). i(o) is the
current throught the inductor at t = 0 and from eqn. (9.1) with t = 0, we have,
rin
v(O) - Ri(O) _l fi dt
o
g.n
o
di
dt (0) = L
C -00
d'
et
The quantities ~ Ii dt is the voltage across the capacitor at t = 0 and hence d: (0) is dependent
-00
on the inital voltage across the capacitor in addition to v(O) and i(O). Thus, if we know vet) for t ~ 0,
i(O), the current through the inductor at t = 0 and vc(O), the voltage across the capacitor at t = 0, the
dynamic response of the system can be easily evaluated. Inductor and the capacitor are the two
energy storing elements in the network which are responsible for the behaviour of the network
alongwith the input. Thus we can treat the current through the inductor and voltage across the
capacitor, as the characterising variables of the network. If these variable are known at any time
t = to' the network response can be easily found out. Hence these two variables describe the ~te of
the network at any time t and these are the minimum number of variables that should be known at
t = to to obtain the dynamic response of the network.
www.EasyEngineering.net
www.EasyEngineering.net
w.E dx
.
...
·•
..
.
dtn =
asy Xn = fn (xl' x2 ... ~; ul' 11:2 ... urn' t)
The functions f l _f2 ... fn may be time varying or time invariant and linear or nonlinear in nature.
E
Using vector notation to represent the states, their derivatives, and inputs as :
ngi
nee ..... (9.4)
rin
where X(t) is known as state vector and U(t) is known as input vector. We can wrie eqns. (9.3) g.n
in a compact form as,
X(t) = f [X(t), U(t),t] et ..... (9.5)
If the functions f are independent of t, the system is a time invariant system and eqn. (9.5) is
written as,
x(t) f [X(t), U(t)]
= ..... (9.6)
The outputs YI' Y2 ... yp may be dependent on the state vector X(t) and input vector U(t) and may
be written as,
yet) = g [X(t), U(t)] ..... (9.7)
www.EasyEngineering.net
www.EasyEngineering.net
YI (t)
Y2 (t)
where yet) =
9.3
ww
State Equations for Linear Systems
For linear systems, in eqn. (9.3), the derivatives of state variables can be expressed as linear
w.E
combinations of the state variables and inputs.
XI = all xI + a l2 x 2 + .,. + a ln ~ + b ll u l + b l2 u 2 + ... + b lm urn
asy
x2 = azl XI + az2 x2 + .,. + azn xn + b21 u l + b22 u2 + ... + b2m urn
E ngi
Xn = ~I xI + an2 x 2 + .,. + ann xn + bnl u l + b n2 u 2 + ... + b nm u m.... ·(9.8)
a l2 ... ll b12 . .. lm
[an ... _ [b ...
A= .
a 21 a 22 al'l
a 2n .
··
·
b21
, B - ..
.
b 22 b 2m
b 1
ani a n2 ann b nl b n2 b nm
Similarly, the outputs can also be expressed as linear combinations of state variables and inputs as,
YI(t) = C ll xI + C l2 X2 .. , + C ln Xn + d ll UI + d l2 U2 + ... + dim urn
www.EasyEngineering.net
www.EasyEngineering.net
C= .
c pl[
~ll ... ~ln 1
.
C
[~ll
. D= .
pn ' d pl
. . ~:1
The complete state model of the linear system is given by eqn. (9.9) are (9.11).
asy
and eqn. (9.13) is known as the output equation.
For a single input single output system
yet) =
E
X(t) = A X(t) + bu
C X(t) + du
ngi
.... (9.14)
..... (9.15)
nee
Where band dare (n x 1) and (p x 1) vectors respectively. u(t) is the single input and yet) is the
single output. In most of the control systems, the output is not directly coupled to the input and hence
yet) is not dependent on u(t). Hence eqn. (9.15) is written as,
yet) = C X(t) rin ..... (9.16)
g.n
For time invariant systems, the matrices A, B, C and D are constant matrices. For time varying
systems, the elements of A, B, C and D matrices are functions of time. In this book we will be
concerned with linear, time invariant, single input single output systems only.
et
State variable representation of a system is not unique. For a given system we may define different
sets of variables to describe the behaviour of the system. In all such different representation the
number of state variables required are the same, and this number is known as the order of the system.
Let us consider the RLC circuit again, shown in Fig. 9.1. If the current, i, through the inductor and
voltage, vC' across the capacitor are taken as state variables, we have,
dVe
C dt = i(t) ..... (9.17)
di
L dt = vL(t) = v - i R - ve ..... (9.18)
i(t) ~ x 2(t)
vet) ~ u(t)
www.EasyEngineering.net
www.EasyEngineering.net
1
We have x\ (t) = C x2 (t) ..... (9.19)
1 R 1
x2 (t) = - L x\(t) - L xit ) + L u(t) ..... (9.20)
In matrix form, eqns. (9.19), (9.20) can be written as,
..... (9.21)
or
ww X(t) = A X(t) + b u(t)
asy
Now, consider the eqn. (9.1) for the RLC circuit,
E
di 1
Ri + L - + -
dt C
t
Sidt = v
-co ngi ..... (9.23)
. dq
-co
g.n
and 1= -
dt
In terms of the variable q, eqn. (9.23) can be written as
d 2q di q
et
..... (9.25)
d 2q q
x2 (t) = dt 2 LC
..... (9.30)
www.EasyEngineering.net
www.EasyEngineering.net
XI(t)]
[ X2(t) [°1 -r::-lR]
= - LC
[XI]
x2 +
[~l
L u(t)
..... (9.31)
Eqns (9.21) and (9.31) give two different representations of the same system in state variable
form. Thus, the state variable representation of any system is not unique.
w.E
where P is a nonsingular n x
Z=P- 1 X.
n constant matrix, so that
. .... (9.33)
From eqn. (9.32),
asy
x =P Z =AX+Bu
E
=APZ + Bu
ngi
Z=AZ+13u.
nee
Eqn. (9.34) is the representation of the same system in terms of new state variables Z and
. .... (9.34)
A =p- 1 AP
rin
and 13 = p- 1 B.
g.n
Since P is a non singular matrix, p- 1 exists. Now let us consider some standard or canonical forms
of state models for a given system.
www.EasyEngineering.net
www.EasyEngineering.net
The n initial conditions are y(o), Y(0), ... , (n~l) (0). If, for the present, we assume the initial
conditions to be zero, we can obtain the transfer function of the system from eqn. (9.35) as,
Y(s) bos m + bls m- I -+- ... + bm_Is + b m
T(s) = U() = n n-I ..... (9.36)
s s +als + ... +an_Is+a n
The initial conditions can be taken care of, after obtaining the state space representation.
Case (a) m= 0
It the derivatives of the inputs are not present in eqn. (9.35) and it can be written as,
(n) (n-I)
y + a l y + ... + ~ _ I Y + ~y = bou ..... (9.37)
ww
Let us defme the state variables as,
xI =y
w.E "-2=x l
x3 = x2 = Y
=y
asy .
E
(n-I)
~=xn_l= y ..... (9.38)
and xn =
(n) ngi
From eqn. (9.37) we have,
y
nee
(n-I) n-2 .
X n = bou - a l y - ~ y ... - ~ _ 1 Y - an Y
rin
bou - a l ~ - ~ ~ _ 1 ..• - an _ I x2 - ~ xI
=
g.n
The above equations can be written in a matrix form as,
o
o o
o
et
..... (9.39)
o 0
www.EasyEngineering.net
www.EasyEngineering.net
The output y is equal to xI and hence the output equation is given by,
y=CX ..... (9.41)
where c = [1 0 0 ..... 0]
If the transfer function is known instead of the differential equation, we can easily obtain a differential
form as shown below.
For m = 0, we have from eqn. (9.36)
Yes) bo
T(s) = U() = n n-I ..... (9.42)
S S +a1s + .... +a n
or
w.E (n)
y (t) + a l
(n-I)
Y + ... + an y = bou ..... (9.43)
asy
Eqn. (9.43) is the same as eqn. (9.37) and hence the state space model is again given by
eqns. (9.39) and (9.41). A block diagram of the state model in eqn. (9.39) is shown in Fig. (9.2).
state variable. E
Each block in the forward path represents an integration and the output of each integrator is takne a
ngi
nee
--,- J
rin
~ g.n
et
I
\ I
... ----~----"
L..------~IIuf---------l
We can also represent eqn. (9.39) in signal low graph representation as shown in Fig. (9.3).
y
? 0
www.EasyEngineering.net
www.EasyEngineering.net
If we have non zero initial conditions, the initial conditions can be related to the initial conditions
on the state variables. Thus, from eqn. (9.38).
Xl (0) = Y (0)
x2 (0) = y (0)
(n-l)
"n (0) = y (0) ..... (9.44)
Example 9.1
Obtain the phase variable state model for the system
ww
Solution
y+2y+3y+y=u
w.E
Here n = 3 and a l = 2, az = 3, a3 = 1 and b = 1. Hence the state model can be directly written down as,
asy[~ ~ ~] + [~] u
[ ::] =
E
[::]
X3 -1 - 3 - 2 X3 1
X(O) = [yeO), ngi
y (0), Y(O)]T
and y = [1 0 O]X
nee
Example 9.2
rin
Obtain the companion form of state model for the system whose transfer function is given by,
Yes) 2 g.n
Solution:
Case a :
T(s) = -U-(s-) = --'s3=-+-s"""2-+-2-s-+-3
et
The state model in companion form can be directly written down as,
x=[~ 0
-3 -2 -1
~]X+[~]U 2
Y = [1 0 O]X
Case b: m:;t:O
Let us consider a general case where m = n.
The differential equation is given by
(n) (n-I) n-2 n-I (n) (n-I)
y +a l y +az Y +"'+~-l Y +any=bo u +b l u + ... +bnu .....(9.45)
www.EasyEngineering.net
www.EasyEngineering.net
and
ww Yes) _ n
Y (s) - bOs + b i s
n--I
+ ... + bn ..... (9.48)
w.E 1
Eqn. (9.47) is same as eqn. (9.42) with b =1.
a
Hence its state space representation is given by eqn. 9.39.
syE 0
[~:l=
0 1 0 0 0
ngi
nee [}l
0 0 0 0 0
u ..... (9.49)
0 0 0 0 1 0
-an -an-l -a n-2
rin
-a 2 -a1
and YI= xl
g.
The signal flow graph of this system is the same as in Fig. (9.3) with y = YI and b o = 1.
net
..... (9.50)
(n) (n-l)
or Y = b o Y1 + b i Y 1 + .. , + b n _ I Y1+ bn YI
From eqn. (9.49) and (9.50), we have
Y = bo xn + b i ~ + ... + bn _ I x2 + bn xl
www.EasyEngineering.net
www.EasyEngineering.net
..... (9.52)
The signal flow graph of the system of eqn. (9.45) is obtained by modifying signal flow graph
shown in Fig. (9.3) as,
ww U(s)
w.E
asy
E ngi
Fig. 9.4 Signal flow graph of system of eqn. (9.45)
rin
Where b! are the coefficients of the numerator polynomical of eqn. (9.46). In this case, the state
g.n
space representation of eqn. (9.35) can be written down by inspection.
Example 9.3
y + 2 Y+ 3 y + 6 y = ii - U + 2u
et
Obtain the state space representation of the system whose differential equation is given by,
y = [2 -1 1] X
www.EasyEngineering.net
www.EasyEngineering.net
u y
ww
-6
w.E '~
Phase variable representation is a simple method of obtaining the state space representation of a
a
system. This plays a very important role in the design of a control systems in state space. But this
syE
representation is not useful in practice, as these phase variables often do not represent physical
variables and hence are not available for measurement or control. They are given by the output and its
ngi
derivatives. Higher order derivatives of the output are difficult to obtain in practice. Hence let us
consider another more useful representation of state model of a system.
rin
is obtained as a diagonal matrix. Let us consider the transfer function of the system given by
n nI
Yes) bos + bls - + ... + bn_Is + b n
T(s) = U() = n n-I g.n ..... (9.54)
S S + als + ... + an-Is + an
et
Case a : All the poles ofT(s) are distinct and given by -PI' -P2' ... - Pn' Expanding T(s) in partial
fractions, we have,
Yes) n k·
T(s) = - - = b + :E _1_ ..... (9.55)
U(s) 0 i=l S + Pi
Eqn. (9.55) can be represented by a block diagram in Fig. (9.6) (a) and signal flow graph in
Fig. (9.6) (b).
Defming the output of each integrator as a state variable, as shown in Figs. (9.6) (a), (b) we have,
XI =u-PI Xl
X2 =u-P2 X2 ..... (9.56)
Xn = U'- Pn Xn
y = kl 'Xl + k2 X2 + ... + ~ ~ + bO U ..... (9.57)
www.EasyEngineering.net
www.EasyEngineering.net
r---------~~bor-------------
+
U(s)
ww
w.E
asy
Fig. 9.6 (a) Block diagram representation of eqn. (9.55).
E ngi
nee
rin
g.n
Fig. 9.6 (b) Signal flow graph of eqn. (9.55).
et
Expressing eqn. (9.56) and (9.57) in matrix form.
..... (9.58)
..... (9.59)
www.EasyEngineering.net
www.EasyEngineering.net
In eqn. (9.58) we observe that the system matrix A is in diagonal form with poles of T(s) as its
diagonal elements. Also observe that the column vector b has all its elements as IS. The n equations
represented by eqn. (9.58) are independent of each other and can be solved independently. These
equations are said to be decoupled. This feature is an important property of this normal form which
is useful in the analysis and design of control systems in state variable form. It is also pertinent to
mention that the canonical variables are also not physical variables and hence not available for
measurement or control.
Example 9.4
Obtain the normal form of state model for the system whose transfer function is given by
Yes) s+1
ww
T(s)- ----- ..... (9.60)
U(s) s(s + 2)(s + 4)
Solution
w.E
T(s) can be expanded in partial fractions as,
I 1 3
asy
T(s) == 8s + 4(s + 2) - 8(s + 4) ..... (9.61)
E
The state space representation is given by,
ngi
nee
[i ±-i] rin
Y==
Case b: Some poles of T(s) in eqn. (9.54) are repeated.
X
g.n
Let us illustrate this case by an example.
Yes) s
et
..... (9.62)
T(s) == U(s) = (s + 1)2(s + 2)
The partial fraction expansion is given by,
2 1 2
T(s) == s + 1 - (s + 1)2 - s + 2 ..... (9.63)
The simulation of this transfer function by block diagram is shown in Fig. (9.7).
Defining the output of each integrator in Fig. (9.7) as a state variable, we have
Xl == x2 - Xl
X2 == U-X2
X3 == u- 2x3 ..... (9.64)
and Y == -Xl +. 2x2 - 2x3 ..... (9.65)
www.EasyEngineering.net
www.EasyEngineering.net
U(s)
ww
Eqns. (9.64) and (9.65) can be put in matrix form as,
1
w.E X
. = [-0 1
0
~ ~ 1X [~]
0 -2
+
I
u ..... (9.66)
asy
Y = [-1 2 -2] X
The above procedure can be generalised to a system with more repeated poles. Let Al be repeated
..... (9.67)
E
twice, A2 be repeated thrice and A3 and A4 be distinct in a system with n = 7. The state model for this
ngi
I
system will be,
XI
x2
Al
0 Al
0
0
0
0
0
0 nee
0
0
0
0 xXl2
0
I
X3
x
0 0 A2 0 0
rin
0 X3 0
+ 0 u
X5
4
0
0
0
0
0
0
A2
0 A2
0
0
0
0
Ix 4
g.n ..... (9.68)
X6
X7
0
.0
0
0
0
0
0
0
0
0
A3
0
0
A4
lX'
X6
x7
Matrix eqn. (9.68) is partitioned as shown by the dotted lines and it may be represented by
et
eqn. (9.69).
www.EasyEngineering.net
www.EasyEngineering.net
w.E ° X3
Y = [1
-1 - 2 - 3
0] X
X3 1
asy
The transfer function is of the form, for n = 3
E
3 2
bos + b 1s + b 2s + b 3
T(s) -
ngi
- S3 + a 1s 2 + a2s + a 3
From the matrix A, b, and C we have
a l = 3, ~= 2, a3 = 1 nee
bo = 0, b l = 0, b2 = 0, b 3 = 1
rin
Hence 2
1
T(s) - -=-----c:-----
-s3+3s +2s+1 g.n
Example 9.6
Obtain the transfer function of the system
et
x=[~ ~ ~]x+[~]u
-2 -4 -6 1
Y = [1 -2 3] X + 2u
Here a l =6
b o= 2
bl - bo at = 3
b3 = 1 + 2(2) = 5
b2 = - 2 + 2(4) = 6
bl = 3 + 2(6) = 15
www.EasyEngineering.net
www.EasyEngineering.net
2s 3 +15s 2 +6s+5
T(s) = 2
S3 +6s +4s+2
If the state model is in Jordon form, we can obtain the transfer function as shown in Ex 9.7.
Example 9.7
Obtain the transfer function for the system
-1 1 °"j [0]
X= [°° -°l O-2X + °1 u
ww Y = [-1 3 3] X
Solution
w.E
From the system matrix A, the three poles of the transfer function are -1, -1 and -2. The residues at
-1 asy
these poles are -1, 3 and 3 (from the matrix C). The transfer function is, therefore, given by
3 3
T(s) = - +
E +--
s+l (s+1)2 s+2
ngi
2S2 + 6s + 7
(s + 1)2(s + 2) nee
rin
If the matrix A is not in either companion form or Jordon form, the transfer function can be
derived as follows.
www.EasyEngineering.net
www.EasyEngineering.net
Since a transfer function representation is unique for a given system, eqn. (9.74) is independent of
the form of A. For a given system, different system matrices may be obtained, but the transfer
function will be unique.
-I Adj(5I - A)
Since (51 - A) = lsi - A I
the roots of lsI -Ai = ° ..... (9.75)
are the poles of the transfer function T(s) and eqn. (9.75) is known as the characteristic equation of
the matrix A.
Example 9.8
ww
Obtain the transfer function for the system,
as°y Y = [1
1 -2 -3
1] X
1
Solution En
° gi
(sl - A) =
s+1
° s+1 -1
1 : nee
[
-1 2 s+3
rin
g.n
2
-(s+l)l
l
(sI-Ar = s3+5s 2 +10s+6
S2 + 4s + 4
- 2(s + 1) et
s+l
(s + 1)2
S2 +4s + 5 2
-(s+1)l [0]
T(s) = _1_ [1 0 1] 1 S2 +4s+4 s +1 1
L1(s) [ 1
s+ - 2(s + 1) (s+1)2 1
T(s) = _1_ [1
L1(s)
° 1]
[
1-S
52 +5s+5
]
(s + 1)(s -1)
s(s -1)
www.EasyEngineering.net
www.EasyEngineering.net
9.6 Diagonalisation
The state model in the diagonal or Jordon form is very useful in understanding the system properties
and evaluating its response for any given input. But a state space model obtained by considering the
real physical variables as state variables is seldom in the canonical form. These physical variables can
be readily measured and can be used for controlling the response of the system. Hence a state model
obtained, based on physical variables, is often converted to canonical form and the properties of the
system are studied. Hence we shall consider the techniques used for converting a general state space
model to a Jordon form model. Consider a system with the state space model as,
ww
Let us define a new set of state variables 'Z', related to the state variables X by a non singular
matrix P, such that
w.E X=PZ
X =PZ
..... (9.78)
..... (9.79)
asy
Substituting eqns. (9.78) and (9.79) in eqn. (9.76), we have
PZ =APZ + bu
or
also y = CPZ + du
E
Z = p- 1 APZ + p- 1 bu
ngi ..... (9.80)
..... (9.81)
1
nee
Let us select the matrix P such that p- AP = J where J is a Jordon matrix.
Z= bu
Thus JZ +
y = cZ + du rin ..... (9.82)
..... (9.83)
where b= P-1b
g.n
and c =CP e
Now how to choose the matrix P such that p- 1 AP is a Jordon matrix? In order to answer this t
question, we consider the eigenvalues and eigenvectors of the matrix A.
www.EasyEngineering.net
www.EasyEngineering.net
Eqn. (9.86) is a set of homogeneous equations and it will have a nontrivial (X"# 0) solution if and
only if,
IA - All = 0 ..... (9.87)
Eqn. (9.87) results in a polynomial in A given by,
An + a l An - I + ~ An - 2 + ... + an_IA + an = 0 ..... (9.88)
There are n values of A which satisfy eqn. (9.88). These values are called as eigen values of the
matrix A. Eqn. (9.88) is known as the characteristic equation of matrix A. Since eqns. (9.87) and
(9.75) are similar, the eigen values are also the poles of the transfer function.
For any eigenvalue A = Ai' from eqn. (9.86) we have,
ww [A - Ai I] X = 0
For this value of Ai' we know that a nonzero vector Xi exists satisfying the eqn. (9.89).
..... (9.89)
w.E
This vector X\ is known as the eigenvector corresponding to the eigenvalue \. Since there are
n eigenvalues for a nth order matrix A, there will be n eigenvectors for a given matrix A. Since
IA - All = 0, the rank of the matrix (A - AI) < n.
asy
If the rank of the matrix A is (n - 1), there will be one eigenvector corresponding to each A\. Let
these eigen vectors corresponding to AI' A2, ... An be m l , m2, ... mn respectively.
Then, from eqn. (9.85),
Ami =
E Al m l ngi
Am2 = A2 m 2
nee ..... (9.90)
Amn = An mn
rin
Eqn. (9.90) can be written in matrix form as,
A [m\, m2, ... m n] = [AI m l , A2 m 2, ... An m n] g.n ..... (9.91)
et
I
We can write eqn. (9.91) as,
Defming,
where M is called as the modal matrix, which is the matrix formed by the eigen vectors, we have,
AM = MJ ..... (9.93)
Where J is the diagonal matrix formed by the eigen values as its diagonal elements.
From eqn. (9.93) we have
J = ~I AM ..... (9.94)
This is the relation to be used for diagonalising any matrix A. Ifthe matrix P in eqn. 9.80 is chosen
to be M, the model matrix of A, we get the diagonal form.
www.EasyEngineering.net
www.EasyEngineering.net
If all the eigenvalues ofA are distinct, it is always possible to find n linearly independent eigenvectors
and the J matrix will be diagonal. On the other hand if some of the eigenvalues are repeated we may
not be able to get n linearly independent eigenvectors. Corresponding to the repeated eigen values, we
will have to obtain, what are known as generalised eigenvectors. These vectors also will be linearly
independent and the resulting J matrix will be in the Jordon fonn as given in eqn. (9.68). Let us
illustrate these different cases by some examples.
Example 9.9
This examples illustrates the case when all the eigen values are distinct. Consider the matrix
ww
Solution
w.E
Since A is in triangular fonn the eigen values are the values on diagonal.
Consider
Al =
IA - All asy
1, A2 = 2 and A3 = 3
IA - All =
E 1- A
0
o
2-A ngi 2
1
o o 3-A
nee
rin
It can be shown that the eigen vector can be obtained as any non zero column of adj (A - AI).
Thus,
(2 - A) (3 - A) o g.n1
-2 (2-A)
adj IA - All =
[
~ (I-A) (3-A)
o et
-(I-A)
(I-A) (2-A)
2 0 - 21
adj (A - I) =
[o0 00 00
The two non zero column of adj (A - I) are linearly dependent and hence anyone of them can be
taken as an eigen vector.
www.EasyEngineering.net
www.EasyEngineering.net
10-1]
ww ~I =
.
0 1 -1
[0 0 1
w.E ~IAM=
1 0
0 1 =~l[~0 ~ ~][~ ~ ~]
asy [
o 0 -1 0 3 0 0 1
E
Carrying out the multiplication, we have,
n
J~[~ ~~] gin
Example 9.10 eer
ing
Let us consider the case when roots are repeated. Consider
[~ ~ ~] .ne
Solution:
A=
t
The eigen values of A are
Al = 1 and 1..2 = 1..3 = 2
The adj (A - AI) is given by
(2 - 1..)2 -(2-1..) 1-2 (2-1..) 1
Adj(A - AI) = ~ (1-1..) (2-1..) -(1-1..) ..... (9.95)
[
o (1-1..) (2-1..)
For 1..=1
Adj(A-I)=[~ ~l ~ll
www.EasyEngineering.net
www.EasyEngineering.net
1] }_
; . it . l
,~
.. m
I
=
[00 ~~~.
',.
Since A = 2 is a repeated eigen value, it is possible to get either two li~eatl, iAdtJ'ltft.~ ~'_~ri
vectors or one linearly independent eigen vector and one generalised eigen vector. In ~etWt\~ I~A: is
repeated r times, the number of linearly independent eigen vectors is eqwli to the ril18t1 of,<AJ..'1J,
or [n - rank of (A - Ai I)] where n is the order of the matrix A. • ~ '\ , /.~j.,
In the present example, ' •
..
t;, '
'f"
-1 I 2-
ww [A - 21] =
[
~ o
o
I ;
"
:'
.
'
.
\ :
, , ~
~'
, I
:, nullity
asy
11 [A - 21] = 3 - 2 = 1
We can find only one linearly independent vector for the repeated eiae6
j I, ",
v;1ll,.../l.:l: ~' • .t~tbe
W, b~; ;
' " '
E
obtained by any non zero column of adj [A - AI]. From eqn. (9.95) with A = t, , ,.
\ '\
i
.nJ'"e ~.9~); ,
• 0;'
" •
m3 = -
d [1-2(1(2-A)]
- - ~)
/I,
. ~
'" ".!~ "
J ., ~ 'f '
~ of. ~'
I
I
dA (1- A) (2 - A) A=2
.i)
'I "/f~'i;;
. },~' ..•
.' ' J,,_i
~, ~ .;;. t::' "
~~ .,. '.
': , f ','
'. -, ~ I
www.EasyEngineering.net
www.EasyEngineering.net
M=
1 1 2]
0 1 1
[ 001
1-1 -1]
~I =
[o
0 1
0
-1
1
w.E
as~y[~ ~ !]
En
This is the required result.
Example 9.11
gin
Consider the matrix,
1 1 2]
eer
[ A= 0 2 0
002
in g.n
Obtain the Jordon form of the matrix.
Solution:
et
The eigen values of A are,
(2 - 1..)2
o
- (2 - A)
(1-1..) (2-1..)
-2(2-1..)
- (I-A)
1
[ o 0 (1-1..) (2-1..)
-1 1 2]
Adj(A - I) =
[o 0 0
0 0 0
www.EasyEngineering.net
www.EasyEngineering.net
(A-2I){f f ~1
ww
The rank
and nUllity
p (A - 21) = 1
11 (A - 21) = 3 - 1 = 2
w.E
Hence we can find two linearly independent eigen vectors for the repeated eigen value A = 2. The
two eigen vectors can be found by considering the equation
E ngi
or
nee
Choose xl' x2 and x3 to satisfy this equations. Since there is only one equation and 3 variables, we
can choose two variables arbitrarily.
rin
We have xl = x2 + 2x3
g.n
One solution is obtained by taking xl = 0, x 2 = 2 and x3 = -1. Another linearly independent solution
is obtained by taking
Xl = 1, x2 = 1 and x3 = 0 et
The modal matrix is,
M=[~ ~l i1
-1
o -21
-1
2
www.EasyEngineering.net
www.EasyEngineering.net
Control Systems
" ~ ,,~
:rfC
>"'j'j'"
1. .- ~
'. ", '"
,
4'
~I =[ ~ -~
0
~~1[~ ~ ~1[~
2 0 0 2
0
2 :
0 -1 0
1
" ,' . fL ' \
"'"
[~ ~ ~1
"
~ ,
:'::: . "
,~ ">,
.' ~Yf 'ot~e that the Jordon matrix is purely a diagonal matrix eventhough a root is repeated.
, ~; ~~ ww
." "'.', ..i(>a f~ the m~~ix A, when it .is in the companion form deserves special attention.
w
-"l~~ ~fJ~ ~ 1-04'11 of A ~re dIstm~t and are gIven by AI' 1..2' ... An
.Ea
I ', 'i:J:l t;thll~" ~ modal matnx can be shown to be equal to,
'~f" .. .r;!t·r'f "
. .,. 1 1 ... 1
syE
1. V";', ." ••
", ~.
f • "I'
Al 1..2 An
4 '. ' ( :
..
1..2I 1..22 1..2n
ngi
" '
j " j • • ", M=
. ., I ,
,
, -',
Al 0 1..2 1 1..3
}..
1..2I 21..1 A~ 21..2 1..23
M=
, , ,
~(An-I) ~£(t..n-I) An-I ~(An-I) An-I
i ; -,
An-I
I dA I I 22! dA~ dA 2 3
, . I 2
, . 1 ! ,¥the
t~ ,l..j" i~ r~eated r times, the qth eigen vector (q ~ r) corresponding to this eigen value
~_i;,: 'll'~"b)' t
~;' .·.L~ t 1 ' .~ ~
dq- I
!:';~' ~~in
\ \.:"
" \,.' 1
(q -1) dAr l [1 t..j A~ t..rIf
.:,~~ ~f~ 1h~S obtained is known as the modified Vander Monde matrix.
1.. nt'~'
~ t..
! _f
" '1
'
•
www.EasyEngineering.net
www.EasyEngineering.net
X (t) -
A X (t) = bu (t) ..... (9.97)
Multiplying both sides of Eqn. (9.97) by e-A\ we have
e-At [X (t) - A X (t)] = e-At bu (t) ..... (9.98)
ww
Consider ~
dt
[e-At X (t)] = e-At X(t) - Ae-At X (t)
w.E
From eqn. (9.98) and (9.99), we can write,
= e-At (X (t) - A X (t)] ..... (9.99)
a dt
..!
syE
[e-At X (t)] = e-At bu (t) ..... (9.100)
nf gi
Integrating both sides of eqn. (9.100) between the limits 0 to t, we get
t t
e-At X (t) I
o
=
o nee
e-Ar b u (-t) d,
t
e- At X (t) - Xo = fe-At b u (,) d, rin
o
g.n
et
t
www.EasyEngineering.net
www.EasyEngineering.net
If u(t) = 0, we have
.....(9 .103)
This equation gives the relation relation between the initial state Xo and the state at any time t. The
transition from the state Xo to X(t) is carried out by the matrix exponential eAt. Hence this matrix
function is known as the state transition matrix (STM). If the STM is known for a given system the
response to any input can be obtained by using eqn. (9.101). This is a very important concept in the
state space analysis of any system.
E = <I> (t l )
n
<I> = <I>
The solution of the state equation can be written in terms of the function
<I> (t l )
<I> (t) as,
f gi
t
rin
In the solution of state equation, the STM plays an important role and hence we must find ways of
computing this matrix.
www.EasyEngineering.net
www.EasyEngineering.net
x=[_~ _~]x;
Solution
The solution of the given system is given by,
X(t) = eAt Xo
Let us compute the state transition matrix eAt using Laplace transform method.
[~ ~] ~ 3]
w.E (sl - A) = - [ _02
a syE [s
= 2 s+3
-1]
(sl -Ar l
1ngi [s +3
~]
= S2 +3s + 2 - 2
nee
1) r2)]in
(5+ :(5+
g.n
eAt = 1',-1 [sl -Ar l
(s + 1) (s + 2) (s + 1) (s + 2)
et
2e-I -e -21 e-I -e -21 1
= [ -2e- +2e- 21 -e-I +2e- 21
'
The homogeneous solution of the state equation is given by,
X(t) = eAt Xo
-I
2e -e
-21
= [ -2e- +2e- 21
I
e- _e-
-e- I
21
+2e- 21
1[01]
'
www.EasyEngineering.net
www.EasyEngineering.net
The solution can be obtained in the Laplace transfer domain itself and the time domain solution can
be obtained by finding the Laplace inverse. This obviates the need for finding Laplace inverse of all
the elements of eAt, Thus
X(s)= (sI-Arl Xo
[~]
s+3
X(s) =
(s + l)(s + 2)
-2
(S+I):(S+2)1
[
(s + l)(s + 2) (s + l)(s + 2)
ww =
s+3
(S+I~c;+2)
1
w.E [
(s + l)(s + 2)
a syE 1
2e -t - e -2t
X(t) = [ _2e- t +2e- 2t
..... (9.110)
Let n
f(A) = b o I + b l A + b2 A2 + .... + bnAn + b n + I A + 1+..... . .... (9.111)
Consider a scalar function,
f(A) = bo + b l A + b2 A2 + .... + bn An + bn + I An + 1+..... ..... (9.112)
Let f(A) be divided by the characteristic polynomial q(A) given by eqn. (9.109). Let the remainder
polynomial be g(A). Since q(A) is of order n, the remainder polynomial g(A) will be of order (n - 1)
and let Q(A) be the quotient polynomial. Thus,
f(A) = Q(A) q(A) + g(A) ..... (9.113)
Let g(A) = a o + a l A+ a l A2 + ..... + an_I An-I
The function f(A) can be obtained from eqn. (9.113) by replacing A with A
Thus f(A) = Q(A) q(A) + g(A) ..... (9.114)
www.EasyEngineering.net
www.EasyEngineering.net
ww
can be computed interms of a finite lower order polynomial.
To summarise, the procedure for finding a matrix function is :
(i)
(ii) w.E
Find the eigen vlaues of A.
(a) If all the eigenvalues of A are distinct solve for the coefficients a of g(A) using
l
a f(A)
syE
= g(A) for i = 1, 2, ... n
(b) If some eigenvalues are repeated, the procedure is modified as shown below.
Let A = Ak be repeated r times.
ngi
Then
dJq(A)1
~
A=Ak
= ° .
nee
for J = 0, 1, ... r - 1
This gives the required r equations corresponding to the repeated eigen value Ak. Proceeding
et
in a similar marmer for other repeated eigenvalues and using eqn. (9.116) we get the necessary
equations to evaluate,
a l , for j = 0, 1, 2 ... n - 1
(iii) The matrix function f(A) can be computed using the relation,
f(A) = g(A)
The procedure is illustrated using a few examples.
Example 9.13
Find f(A) =A4 + 2A3
Solution:
The eigenvalues of A are obtained from,
I=~
1
q(A.) = _5 _A.I = 0
A. (A. + 5) + 6 = 0
2
A. + SA. + 6 = 0
or A. = -3,-2
Since the order of A is 2,
g(A.) = 0.0 + 0. 1 A.
Now
ww f(A.) = A.4 + n 3
w.E g(A.)
g(-3)
g(-2)
=
=
f(A.) for A. = -3, -2
0.0 - 30. 1 = (_3)4 + 2 (_3)3
0.0 - 20. 1 = (_2)4 + 2 (_2)3
= 27
0
asy
= =
54 1- 27 A
nee
= -
Solution:
The characteristic equation is given by
-A. 1 0
q(A.) = 0 - A. 1 = 0
-6 -11 -6-A.
The eigenvalues are
A. = -1, -2, and -3
f(A.) = eAt
www.EasyEngineering.net
www.EasyEngineering.net
3
ww <XI = 2.5e-t - 4e-2t + "2 e-3t
Example 9.15
Solution:
The characteristic equation is
A.2 + 4A. + 4 = 0
(A. + 2)2 = 0 or A. = -2, -2
We have f(A.) = eA.t and g (A.) = <Xo + <XI A.
www.EasyEngineering.net
www.EasyEngineering.net
and
df("-l) dg("-J
--=--
d\ d"-l
f(-2) = g(-2)
a o - 20. I = e-2t
and t eAtl = a
A=-2 I
t e-2t = 0. 1
or
ww a o= e-2t + 2t e-2t
asy =
0. 0
[ 0 U
0]
o + ul
[ 0
- 4
1]
- 4
E ngi
nee
rin
Example 9.16
Obtain the solution of the state equation, g.n
. [0-1
X= et
Xo = [0 1] T and u is a unit step input.
Solution:
First the STM is computed. Using Laplace transform method
= S2
1 [s-1+ 2 s1]
+ 2s + 1
Consider the state equation,
X =AX+bu
www.EasyEngineering.net
www.EasyEngineering.net
ww
w.E=[:] ['(':1)'] +
asy (s+li
En
+~~Il)l gin
e
Taking inverse Laplace transfonn, we get,
eri
X(t) = [
1
~~
-tj n g.n
Example 9.17
Find the state response of the system,
et
l
0 1
X= 0 0
-6 -11
For Xo = [1 0 O]I and a unit step input.
Solution:
We have already calculated the STM for the A matrix of this example, in Ex. 9.12. Using this result in
the response of the system.
X(t)=eAtXo+ J
t
eA(t-t)bu(t)dt
o
www.EasyEngineering.net
www.EasyEngineering.net
21
3e-1 -3e- +e-
eAIXO= -3e-I+6e-21+3e-31
31
1
From Ex. (9.14),
[ 3e-1 -12e- 21 +ge- 31
ww O.5e-(I-t) _ e
-2(I-t) -3(I-f)
e__
+ O.5_
w.Ef I
asy
o
O.5e -(I-t) _ 2e -2(t-t) + 1.5e -3(I-f)
o
E ngi lOS
- - . e -lOS
+ . e -21 --e
1 -31
6
nee
O.5e -I _ e -21 + O.Se -31
_ O.5e -I + 2e -21 -l.Se -31
6
rin
I
www.EasyEngineering.net
www.EasyEngineering.net
ww [~ ~ ~]
w.E A=
Let
asy X=PZ
Where P is the modal matrix .
En
Modal matrix for this matrix A was obtained in Ex 9.9. Using the result, we have
gin
[~ :]
0
eeP= 1
0
rin
[I 0-I]
p- 1 = 0 1 -1 g.n
and
o
Using the transformation, we have
0 1 et
Z = p-l A P Z + p-l bu
(.: p-l AP gives the diagonal matrix with the eigen values 1,2 and 3 on the diagonal)
1 0 0] [-1]
[
Z= ~ ~ ~ Z+ -~ U
www.EasyEngineering.net
www.EasyEngineering.net
ww
Solution of the above equation is given by,
a
bU('t)d't
asy
where E ngi
nee
The state transmition matrix eJt can be easily obtained since J is in diagonal form.
It is given by,
rin
Jt [e'~ 0
e 2t
g.n
e =
0 e;' ] et
Thus
e;'][~] f~'
0 0
Z (t) =
[e'
~ e 2t
+
e2(t-t)
0 e"L] [=:J dt
0
Z (t) = nfe(H']
0
o
+ t - e 2(t-t)
a e 3(t-t)
d't
www.EasyEngineering.net
www.EasyEngineering.net
e(t-t)
[~]
e2(t-t)
Z (t) = + 2
_ e3(t-t)
3 0
ww Z (t) = m + 2 2
w.E 1 e
--+-
3 3
3t
asy
E .!..(l-e 2t )
2 ngi
..!..C-1+e 3t )
3
nee
rin
g.n
XCt) = PZ Ct),
We have
.!..(l_e 2t )
2
et
..!..Ce 3t -1)
3
e3t 2
-+-
3 3
1 1 2t 1 3t
X(t) = ---e +-e
6 2 3
3t
..!..Ce -1)
3
www.EasyEngineering.net
www.EasyEngineering.net
ww
applying a suitable unconstrained control.
(ii) by measuring the output for a finite length of time, can we determine the initial state of the
system.
w.E
These aspects were first introduced by Kalman and are defined as controllability and observability
asy
of the system respectively. These aspects playa very important role in the design of a controller for
a given system. In this section we will only give elementary treatment of these aspects of the system.
rin
final state X (tf ) in fmite time, u&ing an unconstrained control signal u(t). If every state is controllable,
the system is said to be completely state controllable.
Kalman's test for control/ability
g.n
Consider the dynamical system described by the state equation,
X =AX+Bu et
..... (9.118)
where X is a n-dimensional state vector
u is an scalar control signal
A is an n x n system matrix
B is an n x I input matrix
Without loss of generality, let us consider the initial time 10 = 0 and the fmal desired state to be the
origin of the state space.
The solution of the state eqn. (9.118) is given by,
www.EasyEngineering.net
www.EasyEngineering.net
ww
If we are able to obtain a u(t) for any given X(O) from eqn. (9.119), the system is controllable.
Using eqn. (9.116) with f(A) = e-At, we can write e-At as,
asy
Substituting eqn. (9.120) in eqn. (9.119), we have,
E ngi
nee ..... (9.121)
rin
Let·
g.n
Then
~o
~I
X(O) = [B : AB : A 2B : ..... : An-IB ] ~2 ..... (9.123)
A control u(t) exists, which transfers any given initial state X(O) to the origin of state space, if the
vector [~o' ~l' ... ~n- d can be obtained from eqn. (9.123). It requires that the n x n matrix
T
www.EasyEngineering.net
www.EasyEngineering.net
This result can be extended to a more general case where the input vector is of dimension r. In the'
equation
..... (9.125)
ww has a rank n.
The matrix Qc is known as the controllability matrix. For complete state controllability, therefore,
w.E
all the columns of Qc must be linearly independent. This test for deciding the controllability is known
as Kalman's test for controllability.
Gilbert's test for Controllability
asy
Let us now consider an alternate test for examining the controllability of a given system. Let us
suppose that the eigenvalues of A in eqn. (9.124) are distinct. It is possible to transform the A matrix
X=PZ E
into a diagonal matrix using a transformation matrix P. As already discussed in section 9.6, if
ngi
eqn. (9.124) can be transformed to
rin
where P matrix is the modal matrix and p-l AP is a diagonal matrix with eigen values on the
diagonal. Eqns. (9.126) are first order uncoupled differential equations. The kth equation is given by
www.EasyEngineering.net
www.EasyEngineering.net
For a 7th order system with eigen values AI' AI' A2, A2, A2, A3, and A4 , J is of the form,
Al 1 1 0 0 0 0 0
o All 0 0 0 0
----+------,
0
0 o 1 A2 1 o1 0 0
1 1
J= 0 0 1
0 A2 1 1
0 0 ..... (9.129)
0 0 1
L
0 0
______
A2 +_,
1 0 0
0 0 0 0 o 1LA3. _1 r -0 ,
0 0 0 0 0 o 1• A_4 1
ww
Each square block is called a Jordon block, as discussed earlier. J can thus be written as,
w.E
where J 1 is of order 2
asy
and
J2 is of order 3
J3, J4 are each of order 1
E ngi
nee
The condition for complete state controllability by this method can be stated as follows:
The system is completely state controllable if and only if,
rin
1. No two Jordon blocks in eqn. (9.129), are associated with the same eigen value.
g.n
2. The elements of the row of p-l B corresponding to the last row of any Jordon block of J are
not all zero. If some of the Jordon blocks are of order 1, i.e., the corresponding eigen values
et
are distinct, the rows in p-l B corresponding to these eigen values must not contain all zeros.
It is to be noted that application of Gilbert's method requires that the equations be put in the
Jordon's form. Kalman's test can be applied to any representation of the given system.
Output Controllability
In practical systems, we may have to control the output rather than the states. In such cases, we can
define output controllability. State controllability is neither necessary nor sufficient for controlling the
output.
Consider the system
X =AX+Bu
Y=CX+Du ..... (9.130)
x - is an n vector
u - is an m vector
Y - is a p vector
www.EasyEngineering.net
www.EasyEngineering.net
..... (9.131)
be equal to p.
If in a particular system D = 0 i.e., the system output does not directly depend on the input, the
rank of the matrix,
ww ..... (9.132)
must be p.
Example -9.19 w.E
asy
Test the following systems for controllability using (i) Kalman's test (ii) Gilbert's test.
nee
[~ ~ ~l B= [i] A= [~ ~lr B= Hl
(c) A =
002
(d)
ing 2
0
Solution:
.ne
(a) A=[j -1~ J B=m
t
(i) Kalman's test
The controllability matrix,
Qc =[B:AB:A2B]
=
[
0
0
0
1-6
II
1 -6 25
The rank of Qc is 3.
Hence the system is controllable.
www.EasyEngineering.net
www.EasyEngineering.net
3 2.5 0.5]
ww p-l =
[
-3 -4 -1
1 1.5 0.5
w.E
p-l B = as[-~y~ ~~] [~]
En
1 1.5 0.5 1
-_ [0.5] gin
-1
0.5 eer
ing
Since all the eigenvalues are distinct and none of the elements of p-l B is zero, the system is
completely state controllable.
.ne
(b) t
(i) Kalman's test
The controllability matrix,
The rank of this matrix is 2 and hence the system is not controllable.
www.EasyEngineering.net
www.EasyEngineering.net
=[~
0
p
1
0
:]
p-l =
[1 0 -1]
0 1 -1
ww o 0 1
asy 0
=H] En
gin
eer
Since the first element in p-1B is zero, the system is not controllable.
ing
.ne
(i) Kalman's test
The controllability matrix, t
Qc = [i ~ ~]
The rank of this matrix is 1 and hence the system is not controllable.
(ii) Gilbert's test
The eigen values are 1, 2 and 2.
From example 9.10, the modal matrix Pis
P=
1 11 2]1
[o 0 1
0
www.EasyEngineering.net
www.EasyEngineering.net
l~ ~:Hl]
-1
p-I B
ww and 1
= 0
w.E ~m
asy
E
Since the first element of p-I B corresponding to the distinct eigen value, Al = 1, is zero
ngi
and the last row element of p-I B corresponding to the repeated eigen value, ~ = 2, is
also zero the system is not controllable.
n
A~l~ ~~] B~H] eer
(d)
ing
(i) Kalman's test
The controllability matrix, .ne
Qc =H-~ ~] t
Since the rank of this is 1, the system is not controllable.
(ii) Gilbert's method
From example 9.11, the eigen values, the model matrix P, and its inverse are,
Al = 1, A2 = A3 = 1 ;
~ ~] ; p-I = r~ ~1 -2]
-1
-1 0 lo 2
www.EasyEngineering.net
www.EasyEngineering.net
0
J ~ p-l AP~ [~ 2
0 ~]
0
~ [~ J2
0 n
ww Since the Jordon block J2 and J3 are associated with the same eigen value 1..2 = 1..3 = 2,
the system is )1ot controllable. In this case, it is not necessary to fmd the elements of
Example 9.20
w.E
P-lB. For any B, the system is not controllable.
asy
For the following system, detennine controllability.
2 0 0]E [0 1]
+ 1 0 [~l
X= 0 2 0
[o 3 1 X
0 1ngi ]
nee
2
Solution:
The controllability matrix,
rin
Qc = [B : AB : A2B]
g.n
e t
The rank of this matrix is 3 and hence the system is completely state controllable.
9.8.2 Observability
Now let us define the second aspect of the system, i.e., observability.
Definition
A system is said to be completely observable, if every state X(to) can be detennined from the
measurement of the output Y(t) over a finite time interval, to ~ t ~ t f .
This property of the system is very useful, because the state vector can be constructed by observing
the output variables over a finite interval of time. Therefore even if some states are not measurable,
they can be estimated using the measurable output variables over a finite time. Estimation of all the
state variables is required in some cases, when these state variables have to be fedback to obtain a
desired control.
www.EasyEngineering.net
www.EasyEngineering.net
X =AX+Bu
Y=CX ..... (9.133)
The condition for complete state observability is that the observability matrix,
C
CA
Qo = CA 2 ..... (9.134)
ww CA n - 1
has a rank n.
w.E
Gilbert's test for observability
asy
The state equations represented by eqn. (9.133) can be transformed to its canonical form using the
transformation,
X=PZ
E
z = p-l APZ + p-l Bu ngi ..... (9.135)
Y=CPZ
nee
rin
Since p-lAP is a diagonal matrix, the states are decoupled. Information about one state is not
available in the other state equations. Since Y is a combination of these decoupled states, if any
g.n
column ofCP in eqn. (9.135) is zero, the corresponding state variable does not affect the output Y,
i.e., if the jth column of CP contains all zeros, then the state variable ZJ is not observable from the
output. This is the condition if all eigen values of A are distinct.
et
If some of the eigen values are repeated, the matrix p-l AP is in Jordon form and the conditions for
complete state observability are stated as follows:
The system is completely state observable if,
I. no two Jordon blocks in J = p-l AP are associated with the same eigen value.
2. no columns of CP that correspond to the first row of each Jordon block consist of zero
elements. If some of the eigen values are distinct, the Jordon blocks corresponding to these
eigen values are of order I and hence the columns of CP corresponding to these block must
not be all zero.
The above conditions can be best illustrated by the following examples:
(a) X= [-2 0]
0 -4 X Y = [2 -2] X
www.EasyEngineering.net
www.EasyEngineering.net
(b) . [-1 0]
X = 0 -1 X Y=[l -l]X
Not observable since two Jordon blocks are associated with the same eigen value-1.
(c) x = [-~ -~ ~] X Y = [a b c] X
o 0-2
(i) If a = 0 and / or c :t:. 0 the system is not observable.
(ii) If a :t:. 0 and c:t:. O. the system is observable.
ww
w.E [
=-1~ ~ __ 0__ ~I
. 0 1 -2 1 0
(d) X r- 0: 0 -2 1 X
1
o 0 0-2
asy
1
Since all the elements of first column of C of Jordon block corresponding to the :!igenvalue
E
A= -1 are non zero and all the elements of first column ofC of the Jordon block corresponding
ngi
to the repeated eigenvalue A = -2 are non zero, the system is completely observable.
0 01
(e) X = -
-3
-
1
~o ~3_0 1-2
~ ~ - - ~1 X
1
nee 0 1 1 2 -1]
1o 0
1
0 -2
[
Y=OO:O
rin 1 X
g.n
1
Since all the elements of column 1 of C corresponding to the Jordon block of the repeated
Problem 9.21
eigenvalue A = -3 are zero, the system is not observable.
et
Comment on the complete state observability of the following systems using,
(i) Kalman's test
(ii) Gilbert's test
(a) x= [j Jx -11
0 Y = [1 -1 1] X
(b) X
= [~ 2
o
I 2]1 X
2
Y = [1 -1 0] X
www.EasyEngineering.net
www.EasyEngineering.net
(c) Y = [1 0 0] X
(a) ww x= [~ ~ ~] X Y = [1 0 0] X
(i) w.E
Kalman's test
-6 -11 -6
a
The observability matrix,
syE
[C~ ] r~ 0n~]
QO =
CA 2
=
0 0 1 gin
The rank of Qo is 3 and hence the system is observable.
eer
(ii) Gilbert's test
The model matrix for this system is, ing
.ne
p+: -~ -i] t
CP = [I 0 0] [-: -~ -i]
= [1 1]
Since none of the columns of CP are zero, the system is completely observable.
(b) X=
1 21 2]1 X
0 Y = [1 -1 0] X
[0 0 2
www.EasyEngineering.net
www.EasyEngineering.net
ww
w.E
The transformed equations are,
asy
Y=CPZ
E ngi
[~o ~ ~l
nee
= [1 -1 0] Z
rin
= [1 0 1] Z
0 1
g.n
Since the first column of CP corresponding to the Jordon block of eigen value A = 2 is
zero, the system is not observable. et
(c) Y = [1 0 0] X
Qo = [~A 1=[~ ~ ~l
CA 2 1 3 6
www.EasyEngineering.net
www.EasyEngineering.net
P=
1 02 11]
0
[o -1 0
The Jordon form of the system is
I'0 0]
Z= Oi2~0
[o 0 +,2_ z
L _
ww
w.E Y= [1 0 0]
[~1 _021 ~1]
=
asy
[1 0 0] Z
Since two Jordon blocks correspond to the same eigen value A = 2, the system is not
observable.
E
ngi[~ ~]
x=[~ ~]
0
0
(d)
nee
2
0
X
Y= X
1 0 1]
P=
[o 0 1
0 1 1
www.EasyEngineering.net
www.EasyEngineering.net
Z~[~ 2 ~l z
0
and
0
~l [~
0
[~
0
Y=
0
:Jz
[~ o 2]
ww = lIZ
Since none of the columns ofY contain all zero elements, and the eigenvalues of A are
w.E
distinct, the system is observable.
asy
Kalman has introduced the duality principle to establish the relationship between controllability and
observability.
Consider system 1,
X =AX+Bu
E ngi
Y=CX
nee
and its dual defined by system 2,
www.EasyEngineering.net
www.EasyEngineering.net
Problems
9.1 Obtain the state space representation of the electrical system shown in Fig. P 9.1.
2n
+
+
v IF
ww Fig. P.1
Take
w.E v=u and
asy
9.2 Obtain the state space representation for the mechanical system shown in Fig. P 9.2 taking
the displacement and velocity of the mass as state variables
E ngi
B
nee
rin
x
g.n
Fig. P.2
et
9.3 The block diagram ofa position control system is shown in Fig. P 9.3. Obtain the state space
representation of the system.
Fig. P.3
www.EasyEngineering.net
www.EasyEngineering.net
9.4 Obtain the state space representation of the system shown in Fig. P 9.4.
Take c = xl' C = x 2 and m = x3
u 10 m C(s)
s+4 S2 +s+1
ww
Fig.P.4
w.E
(i) Companion form or Bush's form
(li) Diagonal/Jordon form
for the following systems. asy
(a)
(b)
y x + 23 x + 15 = u
+9
Y+ 9 x + 23 x + 15 = ti
E- 2 U + 4u ngi
9.6 Obtain the state space representation in,
nee
(i) Phase variable form
(ii) Jordon's form
and
rin
for the systems whose transfer functions are given by,
g.n
(a)
s+1
s(s + 4)(s + 5)
(b) s+5
(s + 1)2(S + 4)
(c)
10
(s + 1)3 et
9.7 Obtain the transfer functions of the following systems.
1. X= [~ ~ ~j [~j
-2 -3 -4
X+
1
u 2. X= [~ ~ ~j [~j
-4 -6 -8
X+
1
u
y = [1 0 0] X Y = [-2 4 0] X + 2u
3. X= n-~ J [~j
y = [-1 2 4] X
X+ u
www.EasyEngineering.net
www.EasyEngineering.net
2. X~[! -; ~]x+[_~]u
y = [1 0] X y = [1 1 -1] X
9.9 Transform the following matrices into Diagonal/Jordon form representations.
ww
[
6 5
w.E
(iii) A =
-2
- ~ (iv) A= [-~ -~ ~]
[
asy 1 -1 -2
E ngi (vi)
-1 0]
-2 0
n
9.10 Find the state transition matrix for the following systems. eer
o -1
X = [~ ~] X X =[ 1
i n[~g.~ ~]
(i) (ii)
X= [~ _~] X + [~] u
Xo
[1 l]T and u(t) is a unit step input.
=
9.12 Obtain the Jordon's cononical form of the following system and obtain its solution for a step
input
X = [~~ ~] [~]
6 5 -2
X+
1
u
X(o) = [1 0 O]T
www.EasyEngineering.net
www.EasyEngineering.net
9.13 Determine whether the following systems are completely state controllable and observable
using (i) Kalman's test and (ii) Gilbert's test.
Y = [1 1 0] X
Y=[~ 0 ~]X
ww[~ ~ _~] {l
w.E
(e) X= X
Y=[O 1 -l]X
(d) X=
a
[~ ~ Jx+Hu syE Y = [0 1 -1] X
n
-1 -3
gin
9.14 Determine output controllability of system in problem P. 9 .13 (b).
eer
ing
-djl- .ne
t
www.EasyEngineering.net