Professional Documents
Culture Documents
Introduction
This chapter presents another method for the design of single input single output (SISO)
digital controllers. This method is a direct analytical design method in that the controller
is designed in the z-domain. Controllers in the forward and feedback path are designed.
Direct digital controller design with Controller D(z) in the forward loop:
With the controller D(z), the closed loop pulse transfer function is,
D( z)G ( z)
H ( z) =
1 + D( z)G ( z)
1 H ( z) c( z)
D( z) = . = both polynomials
G ( z) 1 H ( z) d ( z)
This implies that for a given plant G(z) and by specifying the pulse transfer function H(z),
the controller D(z) can be obtained mathematically.
1
3. Stability constraints
H(z) must contain all unstable zeros of G(z) in its zeros and 1-H(z) must contain all
unstable poles of G(z) in its zeros. The following is the proof of (3):
The following example illustrates how D(z) (in the forward loop) is calculated using
specifications for H(z).
2
Example:
G(s) a
G(z) = (1 z 1 )Z =
s s * s(s + a)
z + 0.9672
= 0.04837 for a = 0.1
(z 1)(z 0.9048)
Let the desired c.c equation corresponding to s2 + s + 1 = 0 roots 0.5 j0.866
o
which is discretized (T = 1) as z 2 0.7859z + 0.36788 = 0 roots 0.39 j0.456 or 0.6e j49.6
1 0.7859z 1 + 0.36788z 2 = 0
Let it be required that the velocity constant K v = 1
b 1 z 1 + b 2 z 2 +.....
Then H(z) =
1 0.7859z 1 + 0.36788z 2
Now error e(z) = R(z)(1- H(z))
1
for unit step input e = 0 Lim( z 1) (1 H ( z)) = 0 H(1) = 1
z 1 z 1
b 1 + b 2 +.....
= 1 b 1 + b 2 +...= 0.58198 (1)
1 0.7859 + 0.36788
1 1 Tz 1
for a unit ramp e = = = 1 Lim( z 1) 2
(1 H ( z)) =
Kv 1 z1
( z 1) Kv
H ( z) 1
and since H(1) = 1, then Lim T = =1
z1 z Kv
b + 2 b 2 + 3b 3 +...... ( 0.05014)
1 = 1 (2)
0.58198
Since we have only two equations (we stop at z -2 )
b 1 + b 2 +...= 0.58198 & b 1 + 2 b 2 = 0.53184
b 1 = 0.63212 & b 2 = -0.05014
0.63212z 1 0.05014 z 2
H(z) =
1 0.7859z 1 + 0.36788z 2
( z 1)( z 0.41802)
1 H ( z) = 2
z 0.7859 z + 0.36788
which has a zero at z = 1 (G has a pole at z = 1)
1 H
D( z) =
G 1 H
1 ( z 1)( z 0.9048) 0.63212 z 0.05014
=
0.04837 z + 0.9672 ( z 1)( z 0.41802)
( z 0.9048)( z 0.07932)
= 13.068
( z + 0.9672)( z 0.41802)
3
Assignment PROBLEM
Repeat the design explained in the example above for the following roots:
j49.6 o
1. z = (0.6 * 0.8)e
j45o
2. z = (0.6 * 0.8)e
j55o
3. z = (0.6 * 0.8)e
Plot the response as well as the control signal u(k) for the original case as well as the
three given variations.