CCP
CCP
X z = ZI - F Z X 0 + ZI-F g U z
-1 -1
U z ZI F
Solution of homogeneous equation:
X (k 1) F X (k ) (1) is the homogeneous state equation.
At k=0,1 we get
X 1 F X 0 g u 0
X 2 F X 1 g u 1
Substituting X 1 in X 2
In general,
k 1
X k F k X 0 F k i 1 g u i (2)
i 0
Y z r1 r2 rn
b0 ...
U z Z p1 Z p2 Z pn
The coefficients ri i 1, 2,...n are the residues of the transfer function at the
p1 0 . . 0 1
0 p2 . . 0 1
F . . . . . ; g . ; C r1 r2 . . rn
. . . . . .
0 0 . . pn 1
r1 r2 rn
Y z b0U z U z U z ... U z
Z p1 Z p2 Z pn
U (Z )
X1 ( k ) X ( k 1) p1 X1 ( k ) U ( k )
Z p1 1
U (Z )
X 2 (k ) X ( k 1) p2 X 2 ( k ) U ( k )
Z p2 2
G z = b0 +H1(z)+......+Hm (z)
Where,
ri1 ri2 rin
Hi (z) = + +... +
z - pi
ni
z - pi
ni -1
z - pi
The first term in H i ( z ) can be synthesized as a chain of ni identical first order terms
1
each having transfer function . The second term can be synthesized as a chain
Z pi
of ni 1 first order terms. The entire H i ( z ) can be synthesized by the system having
Obtain 3 different state models and Draw the block diagram for the state model.
Solution:
Y z 4z3 -12z 2 +13z-7
=
u z z3 4 z 2 5z 2
X 1 (k 1) 0 1 0 X 1 ( K ) 0
X (k 1) 0
2 0 1 X 2 K 0 U ( K )
X 3 (k 1) 2 5 4 X 3 K 1
X1 ( K )
Y ( K ) 1 7 4 X 2 K 4U ( K )
X K
3
Elements of C matrix:
b0 4; b1 12;
b2 13; b3 7; a1 4; a2 5; a3 2
b3 a3b0 7 (2)*4 7 8 1
X ( k 1)
1
X 2 (k )
X ( k 1)
3
2 X1 (k ) 5 X 2 ( k ) 4 X 3 ( k ) U ( k )
Y (k ) X1 (k ) 7 X 2 (k ) 4 X 3 (k ) 4U (k )
X 1 (k 1) 0 0 2 X 1 ( K ) 1
X (k 1) 1
2 0 5 X 2 K 7 U ( K )
X 3 (k 1) 0 1 4 X 3 K 4
X1 ( K )
Y ( K ) 0 0 1 X 2 K 4U ( K )
X K
3
X ( k 1)
1
2 X 3 (k ) U (k ) X ( k 1)
2
X1 (k ) 5 X 3 (k ) 7U (k )
X ( k 1)
3
X 2 ( k ) 4 X 3 (k ) 4U (k ) Y (k ) X 3 ( k ) 4U ( k )
X 1 (k 1) 1 1 0 X 1 ( K ) 0
X (k 1) 0
2 1 0 X 2 K 1 U ( K )
X 3 (k 1) 0 X K 1
3
0 2
X 1 (k )
Y ( K ) [2 1 3] X 2 (k ) 4 U ( K )
X 3 (k )
Y ( K ) 2 X1 ( K ) X 2 ( K ) 3 X 3 ( K ) 4U ( K )
z+5
Example 1.2: Consider G(z) =
z 12 z 2 50 z 30
3
X1 ( K )
Y ( K ) 5 1 0 X 2 K
X K
3
Observable phase variable form:
X 1 (k 1) 0 0 30 X 1 ( K ) 5
X (k 1) 1
2 0 50 X 2 K 1 U ( K )
X 3 (k 1) 0 1 12 X 3 K 0
X1 ( K )
Y ( K ) 0 0 1 X 2 K 4U ( K )
X K
3
Example 1.3: Obtain the Jordan canonical form realization for the following transfer
function.
Y ( z) z 3 8 z 2 17 z 8
U ( z ) z 1 z 2 z 3
Jordan canonical form : The given function is converted into a proper fraction.
Y ( z) 2z 2 6z 2
1
U ( z) ( z 1)( z 2) ( z 3)
2z2 6z 2
Applying p. f .e. to
( z 1)( z 2) ( z 3)
2z2 6z 2 A B C
( z 1)( z 2) ( z 3) ( z 1) ( z 2) ( z 3)
Y ( z) 1 2 1
Now, 1
U ( z) ( z 1) ( z 2) ( z 3)
X 1 ( K 1) X 1 ( K ) U ( K )
X 2 ( K 1) 2 X 2 ( K ) U ( K )
X 3 ( K 1) 3 X 3 ( K ) U ( K )
Y ( K ) 4 X1 ( K ) 2 X 2 ( K ) X 3 ( K ) U ( K )
Example 1.4: For the difference equation, obtain Jordan canonical form realization
y( K 3) 5 y( K 2) 7 y( K 1) 3 y( K ) r ( K 1) 2r ( K )
Solution:
Y ( z ) Z 3 5Z 2 7Z 3 R(Z ) Z 2
z+2 z+2
G(z) =
z 3 5 z 2 7 z 3 z 12 z 3
z+2 A B C
Now,
z 1 z 3 ( z 1) ( z 1) ( z 3)
2 2
X 1 (k 1) 1 1 0 X 1 ( K ) 0 X 1 (k )
X (k 1) 0 1
2 0
X 2 K 1 U ( K ) Y ( K ) [0.25 0.5 0.25] X 2 (k )
X 3 (k 1) 0 0 X K 1 X 3 (k )
3
3
X 1 ( K 1) X 1 ( K ) X 2 ( K )
X 2 ( K 1) X 2 ( K ) U ( K )
X 3 ( K 1) 3 X 3 ( K ) U ( K )
(k ) 1 ZI F Z
1
Z 0 0 1 Z 1
ZI F
0 Z 2 3 2 Z 3
1 Z 3 1
ZI F
1
z ( z 3) 2 2 Z
( Z 3) Z Z
Z 2 3Z 2 Z 3Z 2
2
Now, (k ) 1
2Z Z2
Z 2 3Z 2 Z 2 3Z 2
X1 ( z) Z 3 Z 3
1 2 1
z Z 3Z 2 Z 1 Z 2
x1 (k ) 2 2(1)k
k
X 2 ( z) 1 1
1 2 1
z Z 3Z 2 Z 1 Z 2
x2 (k ) 2 (1)k
k
X 3 ( z) 2 2
1 2 1
z Z 3Z 2 Z 1 Z 2
x3 (k ) 2 2 2(1)k
k
X 4 ( z) Z Z
1 2 1
z Z 3Z 2 Z 1 Z 2
x4 (k ) 2 2 (1)k
k
(k )
2 2 2(1)k 2 2 (1) k
k k
1 1
P Where the Eigen values are 1 1, 2 2
1 2
2 1 0 1 1 1 1 0
The matrix P 1FP (1) 2 3 1 2 0 2
1 1
(1) k 0
Now k=
0 (2) k
The coefficients 0, 1, 2 .... n1 are evaluated using the following equation
f i i k g i
g 0 I 1
f 1 1k g 1
f 2 2k g 2
g 0 I 1 2 2
f 1 1k g 1
i)
iii) f 3 3k g 3
Example 1.6:
0 1
Given F Find state transition matrix (k ) using Cayley Hamilton
1 2
theorem.
Solution:
0 0 1 1
The Eigen values are, I F 2 2 1 0
0 1 2 1 2
1, 1
f 1 1 0 1
k
d d
d f d g
1 1
d k d
d 1 d 0 1
k 1k 1 1 1 k 1
k
1k 1 k 0 k 0 1
k k 1
1 1 k 1 2
k
0
1 k k
k 1
k
k 1 k
2 1 0 3
X (k 1) 4 0 1 X (k ) 7 U (k ); X (0) x0
1 0 0 0
G( z ) ZI F Z
1
z 3 1 0
ZI F 4 z 1
1 0 z
ZI F z 3 3z 2 4 z 1
z2 z 1
1
ZI F Z 4 z 1 z z 3
1
z 3 Z G( z)
z
1 z z 3 4
z2 z 1 2
1
H ( z ) ZI F g 4 z 1 z z 3
z 3 7
1
z
1 z z 3 4 0
3z 2 7 z
1
H ( z ) 7 z 2 9 z 3
3z 7
Example 1.8: Given
0 1
F
4 5
Determine the state transition matrix using
i) the Z transform method ii) Similarity transformation iii) Cayley Hamilton
method
Solution:
0 1
Given F
4 5
Inverse Z transform method:
(k ) 1 ZI F Z
1
Z 0 0 1 Z 1
ZI F
0 Z 4 5 4 Z 5
1 Z 5 1
ZI F
1
z ( z 5) 4 4 Z
X1 ( z) ( Z 5) Z 5
1 2 1
z Z 5Z 4 Z 1 Z 4
x1 (k ) 1.331 0.33(4)k
k
X 2 ( z) 1 1
1 2 1
z Z 5Z 4 Z 4 Z 1
x2 (k ) 0.331 0.33(4)k
k
X 3 ( z) 4 4
1 2 1
z Z 5Z 4 Z 1 Z 4
X 4 ( z) Z Z
1 2 1
z Z 5Z 4 Z 1 Z 4
x4 (k ) 0.331 1.33(4)k
k
(k )
1.32 1 1.32(4)k 0.33 1 1.33(4)k
k k
(k ) Pk P 1
P is the transformation matrix that transforms matrix A into diagonal form.
1 1
P Where the Eigen values are 1 1, 2 4
1 2
4 1 0 1 1 1 1 0
The matrix P 1 AP (0.33)
1 1 4 5 1 4 0 4
(1)k 0
Now k=
0 (4)k
(k )
1 4 0 (4)k 0.33 0.33 1.32 1k 1.32(4)k 0.331 1.33(4)k
k
f 1 1 0 1
k
f 4 4 0 4 1
k
(k )
1.32 1 1.32(4)k 0.33 1 1.33(4)
k k k
Diagonalization
Example 1.9: Consider a discrete time system with
0 1 0 0
X (k 1) 0 0 1 X (k ) 0 U (k )
6 11 6 1
y 6 0 0 X (k )
1 0
I F 0 1 0
6 11 6
( 1)( 2)( 3) 0
( 6) 14 6 2
Now, adj I F 3( 6) 24 ( 6) 2
21 12 (7 12) ( 2 3)
9 5 2 1
For 1 1, adj 1 I F 9 5 2
Eigen vector V1 1
9 5 2 1
6 4 2 2
For 2 2, adj[2 I F ] 12 8 4 Eigen vector V2 4
3 2 1 1
5 3 2 1
For 3 3, adj[3 I F ] 15 9 6 Eigen vector V3 3
15 9 6 3
The model matrix M is obtained by placing the Eigen vectors together as given by
1 2 1
M 1 4 3
1 1 3
1 0 0
F M 1 FM 0 2 0
0 0 3
Controllability:
For the linear system given by equation,
X (k 1) F X (k ) gU (k )
y ( k ) c X (k ) d U (k )
If there exists an input u(k), which transfers the initial state X(0) = X 0 to the state X1 at
k=N, the state X0 is said to be controllable. If all initial states are controllable, the
system is said to be completely controllable. Otherwise, the system is said to be
uncontrollable. The necessary and sufficient condition for the system to be
completely controllable is that the nxn controllability matrix, Q c = [g Fg F2g…. Fn-1g]
Observability:
For the linear system given by equation,
Prepared by Prof.S.Nagammai, HOD/EIE, KLNCE Page 1.18
EI6801- Computer control of Process
X (k 1) F X (k ) gU (k )
y ( k ) c X (k ) d U (k )
1 1 0
X (k 1) X (k ) U (k )
0 1 1
y (k ) 1 1 X (k )
Solution:
The controllability matrix is, Qc g Fg
1 1 0 1
Fg
0 1 1 1
0 1
Qc & Qc 1
1 1
The system is therefore completely controllable.
1 0 1 1
F T CT
1 1 1 0
1 1
Q0 & Qc 1
1 0
The system is therefore completely observable.
Example 1.11: Investigate the controllability and observability of the following
system,
1 2 1 1 1 0
X (k 1) X (k ) U (k ); y (k ) X (k )
1 1 0 0 0 1
Controllable:
1 2 1 1
F ;g
1 1 0 0
1 1 1 2 1 1 1 1
g ; Fg
0 0 1 1 0 0 1 1
1 1 1 1
Qc
0 0 1 1
1 1
The determinant of one of the sub matrix is = -1. & rank( Qc ) =2. So the given
0 1
0 1 0 0 x1
x(k 1) 0 0 1 x(k ) 0 u (k ) Y [3 4 1] x2
0 2 3 1 x3
Solution:
The observability matrix is
C
Q0 CF
CF 2
0 1 0
CF CF F [0 1 1] 0 0 1 [0 2 2]
2
0 2 3
C 3 4 1
Q0 CF 0 1 1 & Q0 0
CF 2 0 2 2
Solution:
Y z
= G(z)= C ZI- F g
-1
1)
R z
Z
0 0 1 Z 1
ZI-F
Z 0.125 0.75 0.125 Z 0.75
0
1 Z 0.75 1
ZI-F 2
-1
(Z 0.75Z+0.125) 0.125 Z
Y z 1 Z 0.75 1 0 (Z 0.5)
0.5 1 2
R z (Z 0.75Z +0.125)
2
0.125 Z 1 Z 0.75Z +0.125
The poles of the transfer function are at Z=0.5 & Z=0.25.
2) Due to cancellation of pole zero term, system is uncontrollable and unobservable.
JURY’S STABILITY TEST:
The Jury’s stability test is used to determine whether the roots of the
characteristic polynomial lie within a unit circle or not. It consists of two parts,
Let, ∆z be the nth order characteristic polynomial of a sampled data control system
Prepared by Prof.S.Nagammai, HOD/EIE, KLNCE Page 1.21
EI6801- Computer control of Process
∆z = an zn + an-1zn-1 + an-2zn-2 +………+ a2z2 + az + a0 = 0
Necessary Condition
Sufficient Condition
1 a0 a1 a2 ......an-2 an-1 an
5 c0 c1 c2 .....Cn-1 Cn-2
….
2n-5 p0 p1 p2 p3
2n-4 p3 p2 p1 p0
2n-3 q0 q1 q2
The table consists of (2n-3) rows, where n is the order of the characteristic equation.
The jury’s stability table is formed using the following rules,
1. The first two rows of the table consists of the co-efficient of ∆(z),arranged in
ascending order of powers of z in row 1,and a reverse order in row 2.
2. All even numbered rows are simply the reverse of the immediately preceding
odd-numbered rows.
a0 an k
bk =
an ak
a0 an a0 an 1 a0 an 2
b0 ; b1 ; b2 and so on
an a0 an a1 an a2
b0 bn 1k
ck
bn 1 bk
b0 bn 1 b0 bn 2 b0 bn 3
c0 ; c1 ; c2 and so on
bn 1 b0 bn 1 b1 bn 1 b2
The procedure is continued until the (2n-3) rd row is reached which will contain
exactly three elements. The elements of the first column of the table are used to
check the following (n-1) conditions. These (n-1) conditions are the sufficient
conditions for the stability of the system.
a0 an
b0 bn1
c0 cn2
…… q0 q2
If the necessary and sufficient conditions are satisfied then all the poles of the system
lies inside the unit circle in Z-plane and so the system is stable. If even one of the
conditions is not satisfied the system is unstable.
i) ∆z(1) = 2 7 10 4 1 24 0, satisfied
1 1 4 10 7 2
2 2 7 10 4 1
3 -3 -10 -10 -1
4 -1 -10 -10 -3
5 8 20 20
a0 an , (i.e) 1 2 satisfied
Example 1.15: Using Jury’s stability criterion check if all the roots of the following
characteristic equations lie within the unit circle.
i) z3 -1.3z 2 -0.08z+0.24=0
row Z0 Z1 Z2 Z3 Z4
1 0.002 0.08 0.4 -1.368 1
2 1 -1.368 0.4 0.08 0.002
3 -1 1.368 -0.4 -0.083
4 -0.083 -0.4 1.368 -1
5 1 -1.4 0.51
Hence all the roots of the characteristic equation lie within the unit circle.
Example 1.16: Using jury stability criterion, determine the values of ‘k’ for which the
system described by the characteristic equation z3 -0.1z 2 +0.2kz -0.1k = 0 is stable.
row Z0 Z1 Z2 Z3
1 -0.1k 0.2k -0.1 1
2 1 -0.1 0.2k -0.1k
3 0.01 k2-1 -0.02 k2 +0.1 0.01k-0.2k
The constraint is, b0 bn1
-(0.01 k2 – 1)>0.19k
k2+19k-100 < 0
(k-4.3)(k+23.3) < 0
k < 4.3
Example 1.17: Using jury stability criterion, examine the stability of the system
described by the characteristic equation z3 -1.1z 2 - 0.1z+0.2= 0
Solution:
row Z0 Z1 Z2 Z3
The first condition indicates that, at least one root is at z=1. Therefore the system is
critically stable.
Example 1.18: Check the stability of the system described by the characteristics
polynomial z z 5 2.6 z 4 0.56z 3 2.05z 2 0.0775z 0.35
Solution:
row Z0 Z1 Z2 Z3 Z4 Z5
1 0.35 0.0775 -2.05 -0.56 2.6 1
2 1 2.6 -0.56 -2.05 0.0775 0.35
3 -0.877 0.832 -0.16 0.832
4 0.832 -0.16 0.832 -0.877
5 0.077 -0.6 -0.55
6 -0.55 -0.6 0.077
7 -0.29 -0.376
Now, (n-1)=4 constraints are checked.
Solution: For a system with sample & hold, the forward path transfer function is
given by
k k 1 0.5 0.5
Gh0 G( z ) (1 z 1 ) Z .T 2 (1 z 1 ) Z .T 2
s ( s 2) 2 s s s 2
k 3( z 0.0025) 0.5( z 1)( z 0.0025) 0.5( z 1)2 k 3( z 0.0025) 0.5( z 1)(1 0.0025)
2
2 ( z 1)( z 0.0025) ( z 1)( z 0.0025)
Example 1.20: Investigate the stability of the system for sampling period T=0.5 and
T=1sec.
Solution:
1- e-ST k
G ho GH(s) =
S S(S +1)
1 A B C
2
2
S (S +1) S S S 1
1 1 1 -1 z
G ho GH(s) = k 1 z -1 2
Tz z
= k(1 z ) + T
S S S 1 (z 1) z 1 z e
2
0.11z + 0.085
G ho GH(s) = k
z 1 z 0.61
0.11z + 0.085
The characteristic equation of the system is, 1+ k 0
z 1 z 0.61
The poles of the closed loop system lie inside the unit circle, and the critical value of
K is found from magnitude criterion.
0.11+ 0.085
k 1 k 128.8
1 1 1 0.61
0.368z + 0.264
The characteristic equation of the system is, 1+ k 0
z 1 z 0.368
The poles of the closed loop system lie inside the unit circle, and the critical value of
K is found from magnitude criterion.
0.368z+0.264
k 1
z 1 z 0.368 z 1
0.368 + 0.264
k 1 k 26.33
1 1 1 0.368
It is clear that, as the sampling rate increases the margin of stability decreases.
This method provides an analytical method for determining the absolute stability of
sampled data control systems. The characteristic equation for the sampled data
system is, 1 A( z ) F ( z) 0
Generally A(z) is the open loop transfer function and will be in the form of a ratio of
two polynomials.
F ( z) a0 a1 z a2 z 2 ....... an z n 0
k 0 for k odd
k 0 for k even
a0 an
1
an a0
a0 0 an an 1
a1 a0 0 an
2
an 0 a0 a1
an 1 an 0 a0
a0 0 0 a3 a2 a1
a1 a0 0 0 a3 a2
a a1 a0 0 0 a3
3 2
a3 0 0 a0 a1 a2
a2 a3 0 0 a0 a1
a1 a2 a3 0 0 a0
Example 1.21: Determine the stability of the sampled data control system whose
z
open loop transfer function is given by A( z ) =
2.45z +1 2.45 z 1
Solution:
z
1 0
2.45z +1 2.45 z 1
F ( z ) (2.45z) 2 z 1 6 z 2 z 1 0
Prepared by Prof.S.Nagammai, HOD/EIE, KLNCE Page 1.30
EI6801- Computer control of Process
Here the order of the characteristic equation is 2. Therefore, two determinants
1 & 2 are to be evaluated to determine stability.
a0 a2 1 6
1 35
a2 a0 6 1
a0 0 a2 a1 1 0 6 1
a1 a0 0 a2 1 1 0 6
2 1176
a2 0 a0 a1 6 0 1 1
a1 a2 0 a0 1 6 0 1
y (t ) 1 e ST
G p ( s)
r (t ) s
Y ( z) 1 e ST 1 G p ( s)
G p ( s) (1 Z )
R( z ) s S
Example 1.22: Find the response of the system to a unit impulse input. [ Assume T=1
sec]
Solution:
Y ( z) 1 e ST 1 1 1
(1 Z )
R( z ) s S 1 S ( S 1)
1 A B
S ( S 1) S S 1
1 A(S 1) BS
1 t
L1 e
Y ( z) 1
(1 z 1 )
1 z
(1 z 1 )
z S 1
S S 1 z 1 z e
1
e T
R( z ) n z
z eT
Y ( z) z e1 z 1 1 e1 0.632
( z 1) 1
1
R( z ) ( z 1)( z e ) z e z 0.368
r (n) (n) R( z) 1
0.632 1
Y ( z) z 1 n 1
a u (n 1)
z 0.368 za
E ( z ) R( z ) B( z ) R( z ) GhoGH (s) E ( z )
R( z )
E( z) (2)
1 GhoGH ( S )
Example 1.23: Find the transfer function of the closed loop SDCS shown in fig.
Solution:
C(z) G ho G(s)
=
R(z) 1+ G ho GH(s)
1- e-ST 1 1 z z
= 1- z
0.632
G ho G(s) =
-1
= (1- z -1 ) - -1
=
s s +1 s(s +1) z -1 z - e z - 0.368
1- e-ST 1 1
G ho GH(s) = 1- z 2
-1
s s(s +1) s (s +1)
1 A B C
2
2
s (s +1) S S S 1
1 e-ST 1 1 1 1 -1 z
1 z 2
z z
G ho GH(s) =
-1
= (1 z ) +
s s(s +1) s s s 1 (z 1)
2
z 1 z e-1
G ho GH(s)
( z 1)( z 0.368) ( z 1)( z 0.368)
0.368 z 0.264
G ho GH(s)
( z 1)( z 0.368)
Example 1.24: Find the transfer function of the closed loop sample data system
shown in Fig below.
Solution:
C(z) G ho G(s)
=
R(z) 1+ G ho G(s)
1- e-ST
= 1- z
10 10
G ho G(s) =
-1
s s +1 s + 2 s s +1 s + 2
10 A B C
s s +1 s + 2 S S 1 S 2
5 10 5 -1 5z 5z
G ho G(s) = 1- z -1
10z
(1- z ) +
s s 1 s 2 z -1 z - e z - e-2
-1
4.3z 0.74
G ho G(s)
( z 0.135)( z 0.368)
4.3z 0.74
C ( z) ( z 0.135)( z 0.368) 4.3z 0.74
R( z ) 1 4.3z 0.74 ( z 0.135)( z 0.368) 4.3z 0.74
( z 0.135)( z 0.368)
Example 1.25: Investigate the stability of the system for sampling period T=0.5 and
T=1sec.
Solution:
1- e-ST k
G ho GH(s) =
S S(S +1)
1 A B C
2
2
S (S +1) S S S 1
1 1 1 -1 z
G ho GH(s) = k 1 z -1 2
Tz z
= k(1 z ) + T
S S S 1 (z 1) z 1 z e
2
0.11z + 0.085
G ho GH(s) = k
z 1 z 0.61
0.11z + 0.085
The characteristic equation of the system is, 1+ k 0
z 1 z 0.61
0.11z+0.085
k 1
z 1 z 0.61 z 1
0.11+ 0.085
k 1 k 128.8
1 1 1 0.61
0.368z+0.264
k 1
z 1 z 0.368 z 1
0.368 + 0.264
k 1 k 26.33
1 1 1 0.368
The system is found to be stable, for 0 k 26.33
It is clear that, as the sampling rate increases the margin of stability decreases.
Example 1.26: Determine the response of the closed loop sample data system shown
in Fig to unit step input.
Solution:
1 1 1 z z 0.632
RG(s) = = = -1
=
S S +1 S (s +1) z 1 z e z 0.368
1 e ST 1 1
GG ho (s) =
1
= (1 Z )
s S 1 S (S 1)
1 t
L1 e
1
GG ho (s) (1 z 1 )
1 z
(1 z 1 )
z S 1
S S 1 z 1 z e
1
e T
n z
z e T
z e1 z 1 1 e1 0.632
GG ho (s) ( z 1) 1
1
( z 1)( z e ) z e z 0.368
0.632
RG(s)
z 0.368
0.632 C(z) 0.632
C(z) =
1+ GG ho (s) 1+ 0.632 z 0.264 z z z 0.264
z 0.368
0.632
Applying partial fraction expansion to
z z 0.264
0.632 A B
z z 0.264 z z 0.264
Solving for constants A and B we get, A=-2.4, B=2.4
z 2.4 z
C ( Z ) 2.4
z z 0.264
Pole placement or State feedback controller Design:
In pole placement design method all the closed loop poles may be placed in
desired location. This design technique starts with the determination of desired
closed-loop poles to satisfy transient response requirements. By choosing an
appropriate gain matrix K for state feedback, it is possible to force the system to have
closed loop poles at the desired locations, provided that the original system is
completely state controllable. In this design technique, it is assumed that all state
variables are measurable and are available for feedback.
Consider a nth order SISO system with state feedback control law,
u( K ) K X ( K )
The state equation of the system with state variable feedback is given by
X ( K 1) FX ( K ) gu( K ) FX ( K ) g K X ( K ) ( F g K ) X ( K )
The Eigen values of ( F gK ) can be arbitrarily placed in the complex plane by
choosing K suitably.
State feedback gain matrix determination:
i) Check for state controllability
ii) Determine the desired characteristic polynomial from the given desired pole
locations
iii) Determine the matrix ( F ) by comparing the coefficients of the desired
characteristic polynomial, Where ( F ) F n a1F n1 a2 F n2 .......... an1F an I
iii) Determine state feedback gain matrix k, using Ackermann’s formula as given
by k [ 0 0 ………0 1] U 1 ( F )
Where U= [g Fg………Fn-1g]
4 6 1
0 0 1
a1 F 4
2
2 1
4 2 1
0 1 0
1
a2 F 0 0 1
2
4 2 1
4 2 1 0 0 1 0 0.5 0 4 1.5 0
( F ) 4 2 1 4 2 1 0 0 0.5 0 4 1.5
4 6 1 4 2 1 2 1 0.5 6 3 2.5
K 0 0 1U 1 ( F )
2 1 1 4 1.5 0
K 0 0 1 1 1 0 0 4 1.5
1 0 0 6 3 2.5
K 4 1.5 0
Aliter:
The desired characteristics polynomial is
z( z (0.5 0.5 j))( z (0.5 0.5 j)) z 3 z 2 0.5 z 0 (1)
z 0 0 0 1 0 0
0 z 0 0 0 1 0 K
1 K2 K3 0
0 0 z 4 2 1 1
z 1 0
0 z 1 0
4 K1 2 K 2 z 1 K 3
Z 3 z 2 (1 K3 ) (2 K2 ) z (4 K1 ) 0 (2)
Comparing equation (1) and (2)
(4 K1 ) 0 K1 4
(2 K 2 ) 0.5 K 2 1.5
(1 K3 ) 1 K3 0
Example 1.28: Consider the system defined by
0 1 0
X (k 1) X (k ) u (k )
0.16 1 1
Y (k ) 1 0 X (k )
Design a state feedback controller which will place the closed loop poles at
1 j 2 .
Solution:
The desired characteristics polynomial is
( z (1 2 j ))( z (1 2 j)) z 2 2 z 5 0 (1)
The characteristics equation is ZI F gK ) 0
z 0 0 1 0
0 z 0.16 1 1 k1 k2 0
z 1 0 0
0.16 z 1 k k2
0
1
z 1
k 0.16 z 1 k 0
1 2
z 2 (1 k2 ) z 0.16 k1 0 (2)
Comparing equation (1) and (2)
(0.16 k1 ) 5 k1 4.84
(1 k2 ) 2 k2 1
The observer should have the same state equations as the original system &
design criterion should be to minimize the difference between the system output
y=[c][x] & the output ŷ =[c][ x̂ ] as constructed by the observed vector x̂ . This is
equivalent to minimization of x xˆ . Since X is inaccessible an attempt is made to
minimize ( y yˆ ) The difference ( y yˆ ) is multiplied by n x 1 vector m & fed into the
input of the integrator of the observer. The problem is to design’ m’ so that ( y yˆ ) is
minimized.
We know that, X k 1 F X k g u k
1
Let Xˆ (k ) is theobsrved state
Refering to Fig.,
Xˆ (k 1) FXˆ (k ) gU (k ) m y(k ) yˆ (k )
Xˆ (k 1) FXˆ (k ) gU (k ) m c X (k ) c Xˆ (k )
Xˆ (k 1) F mc Xˆ (k ) gU (k ) mc X (k )
2
let X (k ) Xˆ (k ) X (k )
Then X k 1 F mc X (k )
The vector X k 1 can be made to decay fast if the Eigen value of the matrix
F mc are properly selected.
Procedure:
i) Check for state observability
ii) Determine the characteristic polynomial of the system with state observer,
given by ZI ( F mC ) 0
Wher m m1 m2 .... mn
T
0.34
The observer gain matrix is, m
2
Dead beat observer design:
Consider a completely controllable and observable SISO system of order n, described
by the equations,
X k 1 F X k g u k
1
Y k C X k D u k
2
y(k ) 1 1 X (k )
a)Design a state feedback controller which will place the closed loop poles at
0.6 j 0.4 .
b) Design a prediction observer for dead beat response.
Prepared by Prof.S.Nagammai, HOD/EIE, KLNCE Page 1.43
EI6801- Computer control of Process
Solution:
state feedback controller design:
The desired characteristics polynomial is
( z 0.6 0.4 j ))( z 0.6 0.4 j )) 0
z 2 1.2 z 0.52 0
The given plant model is converted into controllable canonical form.
1 2
The controllability matrix is, Qc g Fg
1 1
The determinant of matrix Qc is not equal to zero, so the system can be transformed
into CCF.
Z 0.16 2.16
The characteristic equation of A is, ZI F Z 2 Z 0.16 0
0.16 Z 1.16
Now,
a 1 1 1
M 1
1 0 1 0
1 1
P Qc M
0 1
The CCF model is given by,
1 0 2 1 1 1 0 1
F P 1FP
1 1 1 1 0 1 0.16 1
0
g P 1 g
1
z 2 (1 k2 ) z 0.16 k1 0 (2)
Comparing equation (1) and (2)
K 0.36 2.2
K KP1 2.56 2.2
z 0 0 1 m1
0 z 0.16 1 m 1 0 0
2
z 1 m1 0
0.16 z 1 m 0
0
2
z m1 1
m 0.16 z 1 0
2
z 2 (1 m1 ) z m1 0.16 m2 0 (2)
Comparing equation (1) and (2)
(1 m1 ) 0 m1 1
m1 0.16 m2 0 m2 0.84
X k 1 Xˆ (k 1) F X k g u k FXˆ (k ) gu (k ) m C X (k 1) C X k 1
X k 1 F mCF X (k ) Xˆ (k ) F mCF X (k )
The vector X k 1 can be made to decay fast if the Eigen value of the matrix
F mcF are properly selected.
Example 1.31: Consider the system defined by
0 1 0
X (k 1) X (k ) u (k )
0.16 1 1
Y (k ) 1 1 X (k )
Design a current observer for the system; the response to the initial observer error
is required to be dead beat.
Solution:
The characteristics equation is ZI ( F mCF ) 0
z 0 0 1 m1 0 1
0 z 0.16 1 m 1 1 0.16 1 0
2
z 1 m1 0 1 1 0 1
0.16 z 1 m
0 0 0 0.16 1
0
2
z 1 m1 m1 0 1
0.16 z 1 m
m2 0.16 1
0
2
z 0.16m1 1
0.16 0.16m 0
2 z 1
( z 0.16m1 )( z 1) (0.16 0.16m2 ) 0
z 2 0.16m1 z z 0.16m1 0.16 0.16m2 0
z 2 (0.16m1 1) z 0.16m1 0.16 0.16m2 0
The desired characteristics polynomial is z 2 0
(0.16m1 1) 0
1
m1 6.25
0.16
0.16m1 0.16 0.16m2 0
0.16(6.25) 0.16 0.16m2 0
0.16 1 0.16m2
m2 5.25
x1 (t )
i.e., x(t )
xe (t )
The complete description of system is given by,
x1 (k 1) f11 f1e x1 g1
x (k 1) f
f ee xe ge
u
e e1
x1
y 1 0
xe
The dynamics of the unmeasured state variables are given by,
xe (k 1) fe1 x1 fee xe geu f ee xe f e1x1 geu (1)
The following substitution is made in the original observer design equation to obtain
reduced order observer.
From (1) & (2)
x xe
F fee
gu fe1 y ge u
C f1e
xˆe (k 1) f ee xˆe (k ) f e1 y(k ) geu (k ) m[ y(k 1) f11 y(k ) g1u (k ) f1e xˆe (k )]
input measurement
Substituting (3) & (4) in (5), & simplifying, the error equation is,
xe (k 1) ( f ee mf1e ) xe (k )
0 1 0
X (k 1) X (k ) u (k )
0.16 1 1
Y (k ) 1 1 X (k )
Design a state feedback controller so that the response system is dead beat.
Solution:
The desired characteristics polynomial is z 2 0 (1)
The characteristics equation is ZI F gK ) 0
z 0 0 1 0
0 z 0.16 1 1 k1 k2 0
z 1 0 0
0.16 z 1 k k2
0
1
z 1
k 0.16 z 1 k 0
1 2
z (1 k2 ) z 0.16 k1 0
2
(2)
Comparing equation (1) and (2)
(0.16 k1 ) 0 k1 0.16
(1 k2 ) 0 k2 1
Example 1.33: A discrete time regulator system has the plant
1 1 0
x(k 1) x( k ) u (k )
0 2 1
Design a state feedback controller which will place the closed loop poles at 0.5,0.6.
Z 1 1
The characteristic equation of A is, ZI F Z 2 3Z 2 0
0 Z 2
Now,
a 1 3 1
M 1
1 0 1 0
1 0
P Qc M
1 1
The CCF model is given by,
1 0 1 1 1 0 0 1
F P 1FP
1 1 0 2 1 1 2 3
0
g P 1 g
1
(2 k1 ) 0.3 k1 1.7
(3 k2 ) 1.1 k2 4.1
K 1.7 4.1
K KP1 2.4 4.1
Example 1.34: Consider the system defined by
1 1 0.5
X (k 1) X (k ) u (k )
0 1 1
Y (k ) 1 0 X (k )
Find the estimator equations and the value of the gain so that the desired poles are
at 0.6 j 0.3 for
i) A prediction estimator
ii) A current estimator
z 0 1 1 m1
0 z 0 1 m 1 0 0
2
z 1 1 m1 0
0
0
z 1 m2 0
z 1 m1 1
m 0
2 z 1
z 2 (m1 2) z m1 1 m2 0 (2)
Comparing equation (1) and (2)
(2 m1 ) 1.2 m1 3.2
m1 1 m2 0.45 m2 2.65
Design of current estimator:
The desired characteristics polynomial is
z 0.6 0.32 z 2 1.2 z 0.45 0 (1)
2
z 0 1 1 m1 1 1
0 z 0 1 m 1 0 0 1 0
2
z 1 1 m1 0 1 1
0
0
z 1 m2 0 0 1
z 1 m1 1 m1
m 0
2 z 1 m2
z 2 (m1 m2 2) z 1 m1 0
1 m1 0.45 m1 0.55
m1 m2 2 1.2 m2 2.65
1. The state diagram of a linear system is shown in Fig. Assign the state variables and
write the dynamic equations of the system in matrix form.
Solution:
Let X 1 be state variable assigned to the output of first delay element, X 2 be state
variable assigned to the output of second delay element and X 3 be state variable
X1 (k 1) 0.5 X1 (k ) 0.25 X 2 (k ) 2 X 3 (k ) U (k )
X 2 (k 1) 0.5 X 2 (k ) X 3 (k ) U (k )
X 3 (k 1) 3 X 2 (k ) 0.33 X 3 (k ) 2U (k )
Y (k ) 5 X1 (k ) 6 X 2 (k ) 7 X 3 (k ) 8U (k )
0.5 0.25 2 1
X (k 1) 0 0.5 1 X (k ) 1 U (k )
0 3 0.33 20
X1 ( K )
Y ( K ) 5 6 7 X 2 K 8U ( K )
X K
3
Solution:
X 1 (k 1) 0 1 0 X 1 ( K ) 0
X (k 1) 0 0 1 X K 0 U ( K )
2 2
X 3 (k 1) 2 1 1 X K 1
3
Elements of C matrix:
X1 ( K )
Y ( K ) 2 15 4 X 2 K 2 U ( K )
X3 K
X ( k 1)
1
X 2 (k )
X ( k 1)
2
X 3 (k )
X ( k 1)
3
2 X1 (k ) X 2 (k ) X 3 (k ) U (k )
Y (k ) 2 X1 (k ) 15 X 2 (k ) 4 X 3 (k ) 2U (k )
X 1 (k 1) 0 0 2 X 1 ( K ) 2
X (k 1) 1
2 0 1 X 2 K 15 U ( K )
X 3 (k 1) 0 4
X3 K
1 1
X1 ( K )
Y ( K ) 0 0 1 X 2 K 2U ( K )
X K
3
X ( k 1) 2 X 3 ( k ) 2 U ( k )
1
X ( k 1) X1 (k ) X 3 (k ) 15U (k )
2
X ( k 1) X 2 ( k ) X ( k ) 4 U ( k )
3 3
Y (k ) X 3 (k ) 2U (k )
3.A discrete time system has the state equation given by,
Solution:
0 0 1 1
The Eigen values are, I F 2 7 10 0
0 10 7 10 7
2, 5
f 1 1k g 1
f 2 2k g 2
f 2 2 0 21
k
1 0 0 1
k 1.66 2 0.66 5 0.33 2 0.33 5 10 7
k k k k
0 1
k
3.33 2 3.33 5 0.65 2 1.65 5
k k k k
z z 3 0.2 z 2 0.2kz 0.2k .Determine the values of ‘k’ for which the system is stable.
row Z0 Z1 Z2 Z3
- (0.04 k2 – 1)>0.16k
k2+4k-25 < 0
4 16 100 4 10.8
k1,2 7.38,3.4
2 2
k < 3.4
5. Using Jury’s stability test, check if all the roots of the following characteristic
equation lie within the unit circle. z3 + 2.1z2 +1.44z + 0.32 = 0
Solution:
row Z0 Z1 Z2 Z3
1 0.32 1.44 2.1 1
2 1 2.1 1.44 0.32
3 -0.898 -1.64 -0.78
(n-1) constraints are checked.
6. Using jury stability criterion, determine the values of ‘k’ for which the system
described by the characteristic equation z 3 -0.25z 2 -0.05z+k =0 is stable.
Prepared by Prof.S.Nagammai, HOD/EIE, KLNCE Page 1.55
EI6801- Computer control of Process
Solution:
row Z0 Z1 Z2 Z3
1 k - 0.05 -0.25 1
2 1 -0.25 -0.05 k
3 k2-1 -0.05 k + 0.25 -0.25k+0.05
(n-1) constraints are checked.
(k+1.16)(k-0.91) > 0
7. Using Schur-Cohn’s stability test, check if all the roots of the following characteristic
Solution:
a0 a2 0.8187 2.661
1 6.41
a2 a0 2.661 0.8187
C 1 0 0; d 0 4
Design a prediction observer such that the observer poles are at 0.5 j 0.25
Solution:
z 3 z 2 0.3125z 0
z 0 0 0.5 1 0 m1
0 z 0 1 0 1 m 1 0 0 0
2
0 0 z 0 0 0 m3
z m1 0.5 1 0
1 m z 1 0
2
m3 0 z
Determine the state feedback gain matrix ‘k’ such that the closed loop system will
exhibit the dead beat response.
Solution:
z 0 0 0 1 0 0
0 z 0 0 0 1 0 K1 K2 K3 0
0 0 z 0.5 0.2 1.1 1
z 1 0
0 z 1 0
0.5 K1 0.2 K 2 z 1.1 K 3
( K3 1.1) 0 K3 1.1
(0.2 K 2 ) 0 K 2 0.2
(0.5 K1 ) 0 K1 0.5
Assuming that only y(k)=x2(k) is measurable, design a reduced order observer such
that the response to the observer error is dead beat. Give all relevant observer
equations.
Solution:
11. A regulator system has the plant with the transfer function
Y ( z) z 2
U ( z ) 1 0.8 z 1 1 0.2 z 1
Y ( z) z 2 z 2 1
U ( z ) 1 0.8 z 1 0.2 z 0.16 z z 1 0.16 z z 2
1 1 2 1
X 1 (k 1) 0 1 X 1 (k ) 0
X (k 1) 0.16 1 X (k ) 1 u (k )
2 2
y (k ) 1 0 X (k )
z 0 0 1 0
0 z 0.16 1 1 k1 k2 0
z 1 0 0
0.16 z 1 k k2
0
1
z 2 (1 k2 ) z 0.16 k1 0 (2)
1 m 0 m 1
(k ) 1 ZI F Z
1
X (k 1) F X (k ) gU (k )
y ( k ) c X (k ) d U (k )
If there exists an input u(k), which transfers the initial state X(0) = X 0 to the state X1 at
k=N, the state X0 is said to be controllable. If all initial states are controllable, the
1.
system is said to be completed controllable. Otherwise, the system is said to be
uncontrollable. The necessary and sufficient condition for the system to be
completely controllable is that the nxn controllability matrix,Qc = [g, Fg, F2g ….. Fn-
1g] has rank equal to n. i.e., rank(Qc) = n.
X (k 1) F X (k ) gU (k )
y ( k ) c X (k ) d U (k )
If it is possible to determine the state X(0) = X0 by the measurement of output Y(k)
over a finite time interval then the state X0 is said to be observable. If all initial
2.
conditions are observable, the system is said to be completely observable. Otherwise,
the system is said to be unobservable. The necessary and sufficient condition for the
system to be completely observable is that the nxn observability matrix,
Q0 C CF CF2 .. ... CFn 1 T has rank equal to n, ie) rank ( Q 0 ) = n.
4.Outline the block diagram for digital realization of the system described by the
state model
0 1 0
X (k 1) X (k ) u (k ) Y (k ) 1 1 X ( K )
2 3 1
Solution:
X1 ( K 1) X 2 ( K )
X 2 ( K 1) 2 X1 ( K ) 3 X 2 ( K ) u(k )
Y (k ) X 1 ( K ) X 2 ( K )
Y ( z) [Z+0.5]
2
R( z ) [Z -1.5Z+0.5]
X 1 (k 1) 0 1 X 1 ( K ) 0
X (k 1) 0.5 1.5 u (k )
2 X 2 K 1
X (k )
Y (k ) 0.5 1 1 5u (k )
X 2 (k )
The general form of state model for an nth order linear time invariant discrete time
system is,
X k 1 F X K g u k state equation
Y k C X k D u k output equation
i) Similarity transformation
The state variables of dynamic systems are the smallest set of variables which
determine the state of the dynamic system.
9.Give the formula to find the solution of non homogeneous state equation.
In general,
k 1
X k F k X 0 F k i 1 g u i (2)
i 0
0 1
F
2 3
Find the Eigen vector of F and obtain the diagonal representation of ‘F’
Solution:
The characteristic equation of this system is
1
I F 0 ; 0
2 3
2 3 2 0
1 1, 2 2
3 1
Now, adj I F
2
2 1 1
For 1 1, adj[1 I F ] ; V1
2 1 1
1 1 1
2 2, adj[1I F ] ; V 2
2 2
2
The transformation matrix M that transforms ‘F’ into diagonal form is,
1 1
M
1 2
The matrix F is,
2 1 0 1 1 1 2 1 1 1 1 0
F M 1FM 2 3 1 2 2 2 1 2 0 2
1 1
Necessary Conditions:
∆z (1) > 0 and
(-1) n ∆z (-1) > 0 (or) ∆z (-1)> 0 for n even
∆z (-1) < 0 for n odd
12. Consider the characteristics polynomial z z 3 1.3z 2 0.08z 0.24
Check the stability of the system.
∆z(1)= 1-1.3-0.08+0.24=-0.14<0 not satisfied.
Thus the roots don’t lie within the unit circle and the system is unstable.
14.How many rows are formed in Jury’s table and what are the sufficient
conditions to be checked from this table for stability?
Sufficient Condition
For sufficient condition, we construct a table whose elements are based on the
coefficients of ∆z.
The table consists of (2n-3) rows, where n is the order of the characteristic equation.
The first column elements of the table are used to check the following (n-1)
conditions. These (n-1) conditions are the sufficient conditions for the stability of the
system.
a0 an
b0 bn1
c0 cn2
…… q0 q2
15. State Schur-Cohn stability criteria.
The characteristic equation for the sampled data system is, 1 A( z ) F ( z) 0
Generally A(z) is the open loop transfer function and will be in the form of a ratio of
two polynomials.
F ( z) a0 a1 z a2 z 2 ....... an z n 0
The Schur-Cohn criteria states that all the roots of the characteristic equation lie
inside the unit circle if the following conditions are met.
k 0 for k odd
k 0 for k even
k is a determinant that has 2k rows and 2k columns and obtained using the
coefficients of ak .
The necessary and sufficient conditions that the roots of the characteristic equation lie
inside the unit circle in the Z plane are,
F (0) 0.5 1
18.For the characteristic polynomial F(z) = 3z4 + 7z3 10z2 + 4z + 1, find the stability
of the system.
3z4 +7z3 +10 z 2 +4z +1= 0
row Z0 Z1 Z2 Z3 Z4
1 1 4 10 7 3
2 3 7 10 4 1
3 -8 -17 -20 -5
4 -5 -20 -17 -8
5 39 36 75
a0 an , (i.e) 1 3 satisfied