Lec#04 Introduction To Z-Transform
Lec#04 Introduction To Z-Transform
Oct. 2023
Course Syllabus:-
1. Introduction
2. Spectrum analysis of sampling process
3. Signal reconstruction
4. Difference equation
5. The z-transform
6. Impulse transfer function
7. Mapping between s-plan and z-plan
8. Transient and steady state response analysis
9. Design based on root-locus
10.Design based on frequency response
11.Analytical design
2 12.Controllability & observability tests
1
10/30/2023
Lecture Agenda:-
Introduction to z Transform
Laplace Transform Recall
z Transform
Properties of z Transform
Examples
References
Difference equations are analogous to this where old values are used to
calculate new values. The order of an equation is how many time step
back you are looking at or the highest power derivative involved is.
2
10/30/2023
Introduction to z Transform
Laplace transform allows to transform a differential equation, and its
corresponding initial and final value problems, into a space in which the
equation can be solved by ordinary algebra.
The role of the z transform in discrete-time systems is similar to that of the
Laplace transform in continuous-time systems.
The Z-transform is simply a power series representation of a discrete-time
sequence.
The sequence x(0); x(1); x(2); x(3), Z-transform simply multiplies each
coefficient in the sequence by a power of z corresponding to its index.
3
10/30/2023
z-transform
The z -transform of the sequence x in the previous equation is
{x (k )} = X (z ) = k =− x (k )z − k
marker z–k is identified as being the kth element of the x sequence, i.e.,
x(k).
7
z-transform
The Laplace transform E*(s) of a samples function e*(t) is given below
e (t ) = e (kT ) (t − kT )
*
k =0
E (s ) = e (kT )e − kTs
*
k =0
Substitute z=esT into E*(s): E (z ) = e (kT )z − k
k =0
E (z ) = [e * (t )] = k =0 e (kT )z − k
Definition of z-transform:
a power series in z-1 where z is a complex variable.
8
4
10/30/2023
x (k )z
Im
−k
X (z ) =
z = e −j
k =−
Re
X (e j
)= x (k )e
k =−
− j k
10
5
10/30/2023
Properties of z-transform
11
11
12
12
6
10/30/2023
13
13
14
14
7
10/30/2023
15
15
16
16
8
10/30/2023
17
17
18
18
9
10/30/2023
19
19
20
20
10
10/30/2023
21
21
Z f ( )d =
t F ( z)
Multiply by e-at Z [e − at f (t )] = F ( ze aT ) Integration 0− 1 − z −1
𝑧
Multiply by ak 𝑍[𝑎 𝑘 𝑓(𝑘)] = 𝐹( )
𝑎 Final Value f () = lim (1 − z −1 ) F ( z )
z →1
22
22
11
10/30/2023
Example
Unit step Function
1(t ) → t 0
x (t ) =
0 → t 0
X ( z ) = Z [1(t )] = 1z −k
k =0
−1 −2 −3 −k
X (z ) = z 0
+z +z +z + ...... + z
−1 −2 −3
X (z ) = 1 + z +z +z + ......
1
= 1 + x + x 2 + x 3 + ......
1 z (1 − x )
X (z ) = −1
=
1− z z −1
23
23
Example
Unit ramp Function
t → t 0
x (t ) =
0 → t 0
x ( kT ) = kT , k = 0,1, 2, 3,...
X ( z ) = Z [ x ( kT )] = kTz −k
k =0
−1 −2 −3 −k
X ( z ) = T [0 + z + 2z + 3z + ...... + kz ]
−1 −1 −2 −3
X ( z ) = Tz [1 + 2z + 3z + 4z + ......]
Tz −1 Tz
X (z ) = −1 2
= 1
= 1 + 2x 1 + 3x 2 + 4x 3 + ......
(1 − z ) ( z − 1) 2 (1 − x ) 2
24
24
12
10/30/2023
Example
Polynomial Function
a k → k 0
x (k ) =
0 → k 0
a = cons tan t
X ( z ) = Z [ x ( k )] = x ( k ) z −k
= ak z −k
k =0 k =0
−1 −2 −3
X ( z ) = 1 + az + a 2z + a 3z + ......
1 z
X (z ) = −1
=
(1 − az ) (z − a )
25
25
Example
Exponential Function
e − at → t 0
x (k ) =
0 → t 0
x ( kT ) = e − akT ; k = 1, 2, 3,........
a = Const .
X ( z ) = Z [ x ( k )] = x ( k )z
k =0
−k
= e
k =0
− akT
z −k
− aT −1 −2 aT −2 −3aT −3
X (z ) = 1 + e z +e z +e z + ......
1 z
X (z ) = − aT −1
=
(1 − e z ) ( z − e − aT )
26
26
13
10/30/2023
1 1 1
X (z ) = [ −1
− ]
2 j (1 − e jwT z ) (1 − e − jwT z −1
)
1 (e jwT − e − jwT ) z −1
X (z ) = [ ]
2 j 1 − (e jwT + e − jwT )z −1 + z −2
)
z −1 sinwT
X (z ) =
1 − 2 z −1 coswT + z −2
z sinwT
27 X (z ) =
z 2 − 2 z coswT + 1
27
28
28
14
10/30/2023
MATLAB Example
% symbols n ,T, a, w, z
syms n T w z a;
% function f=k^n
f=n^4;
% obtain the z-transform of function f
ztrans(f)
ans =
z*(z^3+11*z^2+11*z+1)/(z-1)^5
% function h=sinwt, t=kT
h=sin(w*n*T);
% obtain the z-transform of function h in variable z
ztrans(h,z)
ans =
z*sin(w*T)/(z^2-2*z*cos(w*T)+1)
% function g=a^k
g= a^n ;
% obtain and Simplify the z-transform of function g in variable z
simplify(ztrans(g,z))
ans =
29 -z/(-z+a)
29
30
30
15
10/30/2023
31
References
Text Books:
Katsuhiko Ogata, ‘Discrete-Time Control Systems,’ 2nd edition, 1994.
st
Digital control engineering, Analysis and design, M. Sam Fadali, 1 Edition 2009
Ed. Richard C. Dorf, Boca Raton: CRC Press LLC, 2000
Lecture Notes:
Associate Professor Walaa Gabr, Ph.D. Lecture Notes 2015 and 2016.
Omar Salim, Ph.D. Lecture notes for SYS674 Oakland University 2010.
Software Packages:
MATLAB Simulink, for Mathworks.
Web Sites:
http://im0.p.lodz.pl/~jbanasiak/Sem/aims.pdf
http://lmah.univ-lehavre.fr/~alaoui/publications.html
32
32
16
10/30/2023
33
33
17