Professional Documents
Culture Documents
The Z transform has the same role in discrete systems that the Laplace transform
has in analysis of continuous system. The Z transform is the principal analytical
tool for single-loop discrete-time systems.
The Z transform
L{f*(t) }= F*(s)
The function f*(t) is regarded as taking value zero except at instants where t=kT,
where k takes only integral values.
∞ ∞ ∞
∫ -st
f*(t)e dt = ∑f(kT)e -skT
= ∑f(kT)(esT) -k
0 k=0 k=0
The Z transform of f(t) is defined as being equal to the Laplace transform of f*(t):
that is
Z{f(t) }=L{f*(t) }
if Z{ f(t) } is designated F(z) then
∞
F(z) = F*(s) = ∑ sT -k
f(kT)(e )
k=0
∞
sT
finally, if we define z=e , then F(z) = ∑
k=0
f(kT)z
-k
ENG640 – Control Systems Design : Hassan Parchizadeh, Dr. Barry Haynes Page 1
Example : find the Z-transform of unit-step function f(t) = u(t)
where f(t) = 0 when t < 0 and f(t) = 1 when t ≥ 0.
Solution
For discrete form f(t) = f(kT) = u(kT) which is unity for all values of K
∞
F(z) = ∑ -k
f(kT)z = 1 + z
k=0
-1
+ z-2+ z-3+ z-4+ ........... (1)
k=0
∑ -k -1 -2 -3 -4
z-1 F(z) = z-1 f(kT)z = z + z + z + z + ........... (2)
Subtract (2) from (1) F(z) - z-1 F(z) = 1 => F(z)(1 - z-1) = 1
1 z
Therefore F(z) =
1-z -1 =
z-1
solution
F(z) = 1 + e-aT z-1 + e-2aT z-2+ e-3aT z-3+ e-4aT z-4+ ........... (1)
e-aT z-1 F(z) = e-aT z-1 + e-2aT z-2+ e-3aT z-3+ e-4aT z-4+ ........... (2)
Problem 2: Find the Z-transform of unit-ramp function where f(t) = 0 when t < 0
and f(t) = t when t ≥ 0.
ENG640 – Control Systems Design : Hassan Parchizadeh, Dr. Barry Haynes Page 2
The Z transform of a Laplace Function
Assume G(s) = N(s)/D(s), where D(s) has a finite number of distinct roots. Then
p
G(z) = ∑ D’(x
N(x ) n
) 1–en
1
XnT
z-1
n=1
Where D’ = dD(s)/ds and Xn, n=1,….,p are the roots of equation D(s) = 0.
Example: find the Z-transform of f(s) = 1/s. ( note : f(s) = £u(t), the step function).
Example: find the Z-transform of f(s) = 1/(s+a). ( note : f(s) = L f(t) =e-at ).
Problem : Can you find the Z-transform of (i) f(s) = 1/(s2+3s+2) (ii) 1/s2 (ramp).
1 Tz mT T
t 2 +
s2 ( z − 1) ( z − 1) ( z − 1) 2
2 T 2 z ( z + 1) m2 2m + 1 2
T2
2
t − +
s3 ( z − 1) 3 ( z − 1) ( z − 1) 2 ( z − 1) 3
1 z e − amT
− at
e z − e − aT
s+a z − e − aT
1
− at
Tze − aT (
Te − amT e − aT + m( z − e − aT ) )
( s + a) 2 te ( z − e − aT ) 2 ( z − e − aT ) 2
a 1 − e − at z (1 − e − aT ) 1 e − amT
−
s( s + a ) ( z − 1)( z − e −aT ) ( z − 1) ( z − e − aT )
1 1 1 z z 1 e − amT e −bmT
(e − at − e −bt )
−
(b − a) ( z − e −aT ) ( z − e −bT ) −
( s + a )( s + b) (b − a ) ( z − e − aT ) ( z − e −bT )
(b − a )
a (1 − e − aT ) z
t−
1
(1 − e − at )
Tz
− T amT − 1 e − amT
2
s (s + a) + +
a ( z − 1) 2 a ( z − 1)( z − e − aT ) ( z − 1) 2 a ( z − 1) a ( z − e − aT )
a z sin(aT ) z sin(amT ) + sin(1 − m)aT
2 2 sin(at ) 2
s +a z − 2 z cos(aT ) + 1 z 2 − 2 z cos(aT ) + 1
s z ( z − cos(aT )) z cos(amT ) − cos(1 − m)aT
cos(at )
2 2
s +a z 2 − 2 z cos(aT ) + 1 z 2 − 2 z cos(aT ) + 1
b z sin(bT )e − aT
e − at sin(bt ) e − amT ( z sin(bmT ) + e − aT sin(1 − m)bT )
2 2
( s + a) + b z 2 − 2 z cos(bT )e − aT + e − 2 aT z 2 − 2 z cos(bT )e − aT + e − 2 aT
ENG640 – Control Systems Design : Hassan Parchizadeh, Dr. Barry Haynes Page 4
Example: find the Z-transform of f(t) to generate sin(3t) at intervals 0f 0.1 Sec.
Example: find the Z-transform of D(s) given below with a sampling time of 0.1
Sec. 6
D(s) = 2
s + 5s + 6
Solution
6 A B As + 3A + Bs + 2B s(A + B) + (3A + 2B)
D(s) = = + = =
(s + 2)(s + 3) (s + 2) (s + 3) [………………....] [………………….....]
-1
6 6
6z 6z 0.4674 z
D(s) =
(s + 2)
-
(s + 3) Z {D(s)}= z – e-2T
-
z – e-3T
= -1
1 – 1.5595 z + 0.6065 z
-2
Example: find the Z-transform of the continuous plant below being supplied with
samples from a digital controller through a ZOH DAC with a sampling time T=0.1
Sec.
3(s + 2)
Impulses DAC Gp(s ) = Continuous
From the s(s + 4) Output from
Micro T The system
Impulses
To the
Micro
ENG640 – Control Systems Design : Hassan Parchizadeh, Dr. Barry Haynes Page 5
Solution
-sT
(1 - e )
D(s)= ------------
s
-1 -2
3/2 Tz z _ 3/8 z 0.27363 z – 0.224178 z
G(z) = ( z – 1 ) [ + 3/8 ]
=
z (z – 1)2 z–1 z – e-4T -1 -2
1 – 1.67032 z + 0.67032 z
Up to this point it has been assumed that negligible time elapses between sampling
the error and producing the corresponding input voltage to the input of the plant.
For example, in a ship autopilot sampling at 10 seconds, makes the milliseconds
spend on computation insignificant. In an aircraft however, with an autopilot
sampling, say, every 50 milliseconds, the computation time is a significant
proportion of the sampling interval. The delay would therefore have to be included
in the mathematical model of the system as ‘dead time’ or ‘transport lag’. The
modified transform is seen to contain a parameter m; this relates to the amount of
delay that must be accounted for. Let the dead time be TD seconds and p as a
proportion(fraction) of the sampling interval, that is
TD = ( n + p)T And m of modified table m= 1- p
TD TD
t t
T T T T T
n=0 n=4
The fractional portion of the delay is then treated in the manner described above
and the integer portion is accounted for by multiplying the result by z-n.
ENG640 – Control Systems Design : Hassan Parchizadeh, Dr. Barry Haynes Page 6
Example: find the Z-transform of the continuous plant below being supplied with
samples from a digital controller through a ZOH DAC with a sampling time T=0.5
Sec and having a finite delay TD of : (i) 0.2 seconds, and (ii) 1.8 seconds.
-1 -TDs
-1
G(z) = ( 1 - z ) Z {e }= (1- z )
Z m{ 1
}
s2 s2
-1 T -1 0.5
G(z) = ( 1 - z ) [ (zmT
– 1)
+
(z – 1)2
]
=(1- z ) [ (z0.3– 1) + (z – 1)2 ]
-1 -3 -1 0.35 0.5
G(z) = ( 1 - z )z [ (zmT +
T
]
= (1- z ) z -3[ (z – 1)
+
(z – 1)2
]
– 1) (z – 1)2
ENG640 – Control Systems Design : Hassan Parchizadeh, Dr. Barry Haynes Page 7
Problem: find the Z-transform of the continuous plant below being supplied with
samples from a digital controller through a ZOH DAC with a sampling time T=1
Sec and having a finite delay TD of : (i) 0.3 seconds, and (ii) 3.5 seconds.
solution
-1 -2 -1
u(z)[ 1 – 1.5595 z + 0.6065 z ] = e(z) x 0.4674 z
-1 -2 -1
u(z) –1.5595 u(z) z + 0.6065 u(z) z = 0.4674 e(z) z
Problem : find the difference equation of D(s) given below by finding D(z) :
3(s + 2)
s (s + 4)
ENG640 – Control Systems Design : Hassan Parchizadeh, Dr. Barry Haynes Page 8