DSP - Chapter 3 - Z-Transform
DSP - Chapter 3 - Z-Transform
DSP - Chapter 3 - Z-Transform
Chapter 3
The z-Transform
Wasif Latif
z-transform
▪ Introduction
▪ Definition
▪ Region of convergence
▪ z-transform properties
▪ Rational z-transform and its implication on ROC
▪ Examples
2
Limitation of the DTFT
4
Z-Transform
▪ We would like to be able to use the same frequency-
domain methods to analyze the system defined by
LCCDEs regardless of our particular choice of
parameter α
▪ The solution to this problem is to modify the Fourier
transform by providing an additional degree of
freedom to handle cases of divergent sequences
▪ The result is the z-transform
Z-Transform
6
Laplace Transform
z-transform
8
The z-Transform
Few Terms
▪ z-Plane: Since z is just a complex number, every
value of z can be placed on the complex plane,
which we call the z-plane
▪ ROC: A contiguous locus of values of z for which H(z)
exists is called the region of convergence (ROC) of
H(z).
▪ Zeros: The values of z in the finite z-plane for which
H(z) = 0 are called the zeros of H(z).
▪ Poles: The values of z in the finite z-plane for which
H(z) → ∞ are called the poles of H(z).
▪ The poles and zeros are collectively termed the
singularities of H(z).
▪ These singularities of H(z) can be indicated graphically on
the z-plane as a pole-zero plot, denoting the poles with an
x and zeros with an o
10
10
ROC – Region of Convergence
▪ The z-transform has a region of convergence
(ROC), which is the value of z for which the
infinite sum in the direct transform is finite
11
11
s = j
⎯⎯⎯ → H ( j), (−, ) z = e j
⎯⎯⎯→ H (e j ), (− , )
s-plane z-plane
12
12
z-trasform and DTFT
Background-Definition
j
- Fourier transform X (e ) = x[n]e
n = −
− jn
extracts the essence of x[n]
but is limited in the sense that it can handle stable systems only.
X (e j ) converges if | x[n] |
i.e., stable system → Fourier Transform converges
13
13
14
14
z-trasform and DTFT - II
15
15
16
16
Exponential weighting
17
17
18
18
Right Sided Sequence of Infinite Duration
19
19
20
20
Alternating Right-Sided Sequences
21
22
22
Left Sided Sequence of Infinite Duration
23
24
24
Alternating Left-Sided Sequences
25
26
26
Double-Sided Convergent Sequence
Two-sided sequence
1 1
x[n] = (− ) n u[n] − ( ) n u[−n − 1]
3 2
−1
1 1
X ( z ) = (− ) n z −n − ( ) n z −n
n =0 3 n = − 2
1 1
= −
1 −1 1 −1
1+ z 1− z
3 2
1 1
z , z 1/3 1/2
3 2
27
27
28
28
Double-Sided Non-Convergent Sequence
29
29
30
Properties of ROC
31
31
Example: ROC
32
32
Example: ROC
33
33
34
34
Example: Sum of Two Causal Exponential Sequences
+ =
35
35
Ex: ROC
36
36
Causal System
37
37
1
x[ n] = ( ) n u[ n]
2
① Causal
② Stable
1
X ( z ) = ( ) n z −n =
1
1
n =0 2 1 − z −1
2
1
RoC : z
2 1
1 1
2 1
2
① Outward
② UC RoC
38
38
Stability, Causality – Illustration - 2
1
x[n] = −( ) n u[−n − 1]
2
① Anti Causal
② Unstable
−1
1 1
X ( z) = − ( 2) n
z −n =
1 −1
n = −
1− z
2
1
RoC : z
1
1
2
2 2
① Inward
② UC RoC 39
39
① Causal
② Unstable
1
X ( z ) = 2n z −n =
n =0 1 − 2 z −1
RoC : z 2
1 2
1 2
① Outward
② UC RoC
40
40
Stability, Causality – Illustration - 4
x[ n] = −2 n u[ − n − 1]
① Anti Causal
② Stable
−1
1
X ( z) = − 2 z
n = −
n −n
=
1 − 2 z −1
RoC : z 2
1 2
① Inward
② UC RoC
Stable
41
41
42
42
Complex Poles and Zeros
h[n] = αn cos ωon u[n]
43
43
44
44
2nd Order System at a Fixed Value of α=0.75
45
45
ROC
46
46
DTFT from z-transform
47
47
48
48
Properties of the z-transform
49
49
z-Trasform Properties
50
50
Example: Linearity
51
51
z-Trasform Properties
𝛧
𝑑𝑒𝑙𝑎𝑦: 𝑥[𝑛 − 𝑛𝑑 ] ՞ 𝑧 −𝑛𝑑 𝑋(𝑧)
52
52
z-Trasform Properties
53
53
54
54
Ex: z-Trasform Properties
55
55
z-Trasform Properties
56
56
Proof: Convolution
57
57
Ex: Convolution
58
58
Ex: Convolution
59
59
60
60
Applications of Convolution
The convolution property of z-transforms allows us to
solve three basic problems of linear systems:
1. Filtering: If you know x[n] and h[n], you can obtain
y[n] by multiplication of the transforms,
Y(z) = X(z)H(z),
from which y[n] = Z-1{Y(z)}
1. System identification: If you know x[n] and y[n], you
can obtain h[n] by division of transforms,
H(z) = Y(z)/X(z) ,
from which h[n] = Z-1{H(z)}
3. Deconvolution: If you know y[n] and h[n], you can
obtain x[n] by division of transforms,
X(z) = Y(z)/H(z) ,
from which x[n] = Z-1{X(z)}. 61
61
62
62
Rational z-transform
63
63
𝑌(𝑧) 1
𝐻(𝑧) = =
𝑋(𝑧) 1 − 𝑎𝑧 −1
▪ This corresponds to the exponential: h[n] = anu[n].
▪ Questions: Why the causal exponential? For what values of a is this
system stable?
▪ This system is autoregressive i.e., the present output depends
on previous outputs
▪ Autoregressive systems have infinite impulse response (IIR)
▪ Systems with rational z-transforms with non-zero poles are IIR
64
64
Example: First-Order system (contd.)
65
65
Example
66
66
Example: Moving Average System
67
67
68
68
Example: Output of a Moving Average Filter
▪ Suppose the input signal frequency is ω0 = 0.2π
69
69
70
70
Poles and Zeros
71
71
72
72
Poles and Zeros – In MATLAB
a=[1 -0.8741 0.9217 -0.2672];
b=[0.1866 0.2036 0.2036 0.1866];
zplane(b, a); % plots the zeros Z and poles P using row vectors of
b and a of the transfer function
[z, p, k] = tf2zp(b, a); % Transfer function to zero-pole
conversion
zplane(z, p); grid; % plots zeros and poles using column vectors of
z and p
polezero
73
73
▪ So
0.16𝑒 −𝑗3.09 𝑧 −1 0.16𝑒 𝑗3.09 𝑧 −1 1.20
𝐻 𝑧 = −0.70 + + +
1 − 0.86𝑒 𝑗1.27 𝑧 −1 1 − 0.86𝑒 −𝑗1.27 𝑧 −1 1 − 0.36𝑧 −1
poleresiduez
74
74