DSP4
DSP4
Ahmad Salman
DSP
Content and Figures are from Discrete-Time Signal Processing, 2e by Oppenheim, Shafer, and Buck, ©1999-2000 Prentice Hall Inc.
Chapter-3
The z-Transform
• Counterpart of the Laplace transform for discrete-time signals
• Generalization of the Fourier Transform
– Fourier Transform does not exist for all signals
• The z-Transform is often time more convenient to use
• Definition:
Xz xn z n
n
xn e
j j n
Xe
n
2
The z-transform and the DTFT
• The z-transform is a function of the complex z variable
• Convenient to describe on the complex z-plane
• If we plot z=ej for =0 to 2 we get the unit circle
Im
X e j
Unit Circle
r=1
0
Re
2 0 2
3
Convergence of the z-Transform
• DTFT does not always converge
xn e
j j n
Xe
n
– Infinite sum not always finite if x[n] no absolute summable
– Example: x[n] = anu[n] for |a|>1 does not have a DTFT
xnre
X re j j n
xn r n e jn
n n
xn r
n
-n
4
Convergence of the z-Transform
• Rule of thumb:
– The condition on the series will tell you directly the Region where
z-transform will converge.
N2 N1 N2 1
a a
n N1
an
1a
1
a n
n 0 1 a
5
Region of Convergence
• The set of values of z for which the z-transform converges
• Each value of r represents a circle of radius r
• The region of convergence is made of circles
• Example: z-transform converges for
values of 0.5<r<2
Im – ROC is shown on the left
– In this example the ROC includes the
unit circle, so DTFT exists
6
Right-Sided Exponential Sequence Example
az
xn a un n
Xz a unz
n n
1 n
n n0
az
xn a un
n
Xz a unzn n
1 n
n n0
N2
N1 N2 1
n N1
n
1
az az
1 0 1
az 1 az
1 n
1
n0
az
1
Xz 1 n
n0 1 az 1
8
Two-Sided Exponential Sequence Example
n n
1 1
xn un - u- n - 1
3 2
1 1
ROC : z 1
3
1
z
3
1 1
1 n ROC : z 1
1 1 1 2
z
n 2 1 1 z 1 1
2 z Im
2
1
2z z 1 1
1 1 12
Xz 3x oo
2
x Re
1 1 1 1 1
1 z 1 1 z 1 z z 12
3 2 3 2
9
Finite Length Sequence
an 0 n N 1
xn
0 otherwise
1 az
1 N
1 zN aN
az 1 az
N 1 N 1
Xz a z n n
1 n
1
N 1
n0 n0 z za
10
Properties of The ROC of Z-Transform
• The ROC is a ring or disk centered at the origin
• DTFT exists if and only if the ROC includes the unit circle
• The ROC cannot contain any poles
• The ROC for finite-length sequence is the entire z-plane
– except possibly z=0 and z=
• The ROC for a right-handed sequence extends outward from
the outermost pole possibly including z=
• The ROC for a left-handed sequence extends inward from the
innermost pole possibly including z=0
• The ROC of a two-sided sequence is a ring bounded by poles
• The ROC must be a connected region
• A z-transform does not uniquely determine a sequence
without specifying the ROC
11
Stability, Causality, and the ROC
• Consider a system with impulse response h[n]
• The z-transform H(z) and the pole-zero plot shown below
• Without any other information h[n] is not uniquely determined
– |z|>2 or |z|<½ or ½<|z|<2
• If system stable ROC must include unit-circle: ½<|z|<2
• If system is causal must be right sided: |z|>2
12
The Inverse Z-Transform
• Formal inverse z-transform is based on a Cauchy integral
• Less formal ways sufficient most of the time
– Inspection method
– Partial fraction expansion
– Power series expansion
• Inspection Method
– Make use of known z-transform pairs such as
1
anun
Z
z a
1 az 1
13
Inverse Z-Transform by Partial Fraction Expansion
• Assume that a given z-transform can be expressed as
M
b z k
k
Xz k 0
N
k
a
k 0
z k
M N N
Ak s
Cm
Xz B z r
r 0
r
k 1,k i 1 dk z 1
m 1 1 d z
i
1
m
Ak 1 dk z 1 Xz z d
k
Cm
1
s m! di s m
ds m
s m
s
1
1 diw X w
dw w di1
15
Example: 2nd Order Z-Transform
1 1
Xz ROC : z
1 1 1 1 2
1 z 1 z
4 2
– Order of nominator is smaller than denominator (in terms of z -1)
– No higher order pole
A1 A2
Xz
1 1 1 1
1 z 1 z
4 2
1 1 1
A1 1 z Xz 1
4 1 1 1
1
z
4 1
2 4
1 1
A 2 1 z 1 Xz 2
2 1 1 1
1
z
2 1
4 2
16
Example Continued
1 2 1
Xz z
1 1 1 1 2
1 z 1 z
4 2
n n
1 1
xn 2 un - un
2 4
17
Example #2
Xz
1 2z 1 z 2
1 z 1
2
z 1
3 1 1
1 z 1 z 2 1 z 1 1 z 1
2 2 2
• Long division to obtain
1 5z 1
Xz 2
2
1 2 3 1 2
z z 1 z 2z
1
1
1 1
1 z 1 z
2
1
2 2
z 2 3z 1 2 A1 A2
Xz 2
5z 1 1 1 1 1 z 1
1 z
2
1
A1 1 z 1 Xz
2 1
9
A 2 1 z 1 Xz
z 1
8
z
2
18
Example #2 Continued
9 8
Xz 2 z 1
1 1 1 z 1
1 z
2
n
1
xn 2n 9 un - 8un
2
19
Inverse Z-Transform by Power Series Expansion
• The z-transform is power series
Xz xn z
n
n
• In expanded form
Xz x 2 z2 x 1 z1 x0 x1 z 1 x2 z 2
21
Z-Transform Properties: Time Shifting
xn no
Z
z no Xz ROC R x
• Here no is an integer
– If positive the sequence is shifted right
– If negative the sequence is shifted left
• The ROC can change the new term may
– Add or remove poles at z=0 or z=
• Example
1 1
Xz z
1
z
1 1 z 1 4
4
n-1
1
xn un - 1
4
22
Z-Transform Properties: Multiplication by Exponential
zno xn
Z
Xz / zo ROC zo R x
2
n
1/2 1/2
Xz z r
1 re jo z 1 1 re jo z 1
23
Z-Transform Properties: Conjugation
x* n
Z
X * z* ROC R x
• Example
Xz xn z n
n
X z xn z n
x n z n
n n
x n z x n z
X z n n
Z x n
n n
24
Z-Transform Properties: Time Reversal
1
x n
Z
X1 / z ROC
Rx
• ROC is inverted
• Example:
xn anu n
1 - a-1z 1
Xz z a1
1 az 1 - a-1z 1
25
Z-Transform Properties: Convolution
x1 n x2 n
Z
X1 z X2 z ROC : R x1 R x2
• Convolution in time domain is multiplication in z-domain
• Example:Let’s calculate the convolution of
x1 n anun and x2 n un
1 1
X1 z ROC : z a X 2 z ROC : z 1
1 az 1 1 z 1
• Multiplications of z-transforms is
1
Y z X1 z X2 z
1 az 1 1 z 1
• ROC: if |a|<1 ROC is |z|>1 if |a|>1 ROC is |z|>|a|
• Partial fractional expansion of Y(z)
yn
1
1a
un an1un
26
Z-Transform Properties: Differentiation
dXz
nxn Z
z ROC R x
dz
• Example: We want the inverse z-transform of
Xz log 1 az 1 z a
an
xn 1 un 1
n 1
n
27