Fall 2013
y0 = 2.
(1)
Z{yn+1 } =
yn+1 z n = z
n=0
yn+1 z (n+1)
n=0
=z
!
yn+1 z
(n+1)
y0
=z
n=1
!
yk z
y0
k=0
= z(Y (z) y0 ).
Z{3yn } = 3Y (z).
Z{4n2 } = 4z 2 .
Plugging in the z-transforms into the difference equation,
z(Y (z) y0 ) + 3Y (z) = 4z 2 ,
zY (z) 2z + 3Y (z) = 4z 2 ,
= Y (z) =
2z + 4z 2
z
z
=2
+ 4z 3
.
z+3
z+3
z+3
Y (z)
1
= H(z) =
.
U (z)
z+3
+ 10
(cos + 3) + sin
H(ej ) =
ej
From the fact that normalized frequency = T , where is the unnormalized frequency
and T is the sampling period, we obtain
|H(ejT )| =
1
.
6 cos(0.1) + 10
10
15/2
5/2
5/2
15/2
10
H(ejT )
0.5
0.4168
0.3162
0.265
0.25
0.265
0.3162
0.4168
0.5
t2 = [0
3
1
6
5
1
3
1
6
5
5/9
1/9
.
2/3
1/3
.
1] C 1 = [1/9
t2 = [0
t1 = t2 F = [4/9
1/3].
1/3].
So,
T1 =
= T =
t1
t2
4/9
1/9
4/9 1/3
,
1/9 1/3
1
1/3
3 3
=
.
1/3
1 4
=
Now,
1 2
A = T FT =
,
1 0
1
B = T1 G =
,
0
C = HT = 1 4 ,
1
D = J = 0.
2. Draw a block diagram of the system using a minimum number of integrators, gains and
summers.
Through inspecting the matrices A and C of the control canonical form, we can write
down the transfer function as
s4
.
H(s) = 2
s +s2
Using this transfer function, a block diagram can be drawn as shown in Fig. 2
s+1
,
s + 10
on a digital system, whose A/D and D/A are clocked at 100 Hz. Please follow the following
steps to obtain an approximation to the continuous-time controller.
1. Map individually, the pole -10 and the zero -1 in the s-plane to a pole and a zero in
the z-plane by the relation z = esT .
Using T = 1/fs = 1/100, the pole at s = 10 maps on to
z = e10/100 ' 0.905,
and the zero at s = 1 maps on to
z = e1/100 = 0.99.
So, = 0.99 and = 0.905.
2. Setup a discrete-time system
D(z) = K
z
,
z
z 0.99
.
z 0.905
3. Use the Final Value Theorem in continuous-time to compute the DC gain of C(s).
To emulate the DC input, we can use unit step as input, whose Laplace transform is 1s .
So,
1
DC gain = lim sC(s) = lim C(s) = 0.3.
s0
s s0
4. Invoke the Final Value Theorem in discrete-time to get an expression for the DC gain of
D(z) in terms of K.
To emulate the DC input, we can use unit step as input, whose z-transform is
DC gain = lim (z 1)D(z)
z1
z
= lim zD(z) = 0.1053K.
z 1 z1
z
z1 .
So,