EENG 5610: Digital Signal Processing: Class 3: The Z-Transform and Its Applications
EENG 5610: Digital Signal Processing: Class 3: The Z-Transform and Its Applications
EENG 5610: Digital Signal Processing: Class 3: The Z-Transform and Its Applications
Outline
The z-Transform
Properties of z-Transform
Rational z-Transforms
The Inverse z-Transform
Analysis of LTI Systems in the z-Domain
The One-Sided z-Transform
Dr. Xinrong Li
x
(
n
)
z
z
n
X(z) = Z {x(n)}, or x(n) X ( z )
z is a complex variable.
Dr. Xinrong Li
Example 3.1.1:
X 1 ( z ) 1 2 z 1 5 z 2 7 z 3 z 5 , ROC : entire z - plane except z 0.
X 2 ( z ) z 2 2 z 5 7 z 1 z 3 , ROC : entire z - plane except z 0 and z .
X 3 ( z ) Z { (n)} 1, ROC : entire z - plane.
X 4 ( z ) Z { (n k )} z k , k 0, ROC : entire z - plane except z 0.
X 5 ( z ) Z { (n k )} z k , k 0, ROC : entire z - plane except z .
Example 3.1.2:
1
x ( n ) ( ) n u ( n)
2
1
1
1
X ( z ) Z {x(n)} ( z 1 ) n
,
ROC
:
|
z
|
1 0.5 z 1
2
n 0 2
N 1
1 a
1
Sum
a nof
infinite, geometric series
a n (a very
if often
| a | 1used formula):
N
n 0
Dr. Xinrong Li
1 a
n0
1 a
x ( n) z
x(n)r n e jn
x(n)r n e jn
n jn
x ( n) r e
n
1
x(n)r
x ( n) r n
n 0
x ( n) r
n
n 1
n 0
x ( n)
rn
x ( n) r n
Dr. Xinrong Li
If r2 > r1,
X(z) does not exist.
Example 3.1.3
x ( n) n u ( n )
X ( z)
x ( n) z
( z 1 ) n
n 0
1
, ROC : | z | | |
1 z 1
Example 3.1.4
x(n) nu (n 1)
X ( z)
x ( n) z
1 z
( 1 z ) n
n 1
1
1 1 z
1
, ROC : | z | | |
1 z 1
Dr. Xinrong Li
x (n)
1
n 1
X
(
z
)
z
dz
2 j C
The integral is taken over a closed contour C within the ROC of X(z),
Dr. Xinrong Li
Time shifting
If Z{x(n)} = X(z), then Z{x(n-k)} = z-kX(z).
The ROC of z-kX(z) is the same as X(z) except for z = 0 if k > 0 and
8
the definition:
z = if k < 0. This is easily verified from
Dr. Xinrong Li
X ( z)
Time reversal
If Z{x(n)} = X(z), ROC: r1 < | z | < r2,
dz
z 1Z {nx(n)}
Dr. Xinrong
canLibe
UNT
used to efficiently compute convolution ofEENG
two 5610,
signals.
x ( n) x ( n l )
Rx1 x2 ( z ) X 1 ( z ) X 2 ( z 1 )
The ROC of Rx1x2(z) is at least the intersection of that of X1(z) and X2(z-1).
z
Multiplication of two
sequences
1
2 j C
z 1
v dv
v
X 1 (v ) X 2
x(0) lim X ( z )
z
If the signal x(n)
is causal, (i.e., if x(n) = 0 for n < 0)
then
10
Dr. Xinrong Li
11
Dr. Xinrong Li
Rational z-Transforms
Rational z-Transforms, and poles and zeros
Rational z-transform, an important family of z-transforms, is a
A( z ) a0 a1 z 1 ... a N z N
b0 N M ( z z1 )( z z 2 )...( z z M )
z
a0
( z p1 )( z p2 )...( z p N )
(if a0 0 and b0 0)
G z N M
(z z
k 1
N
(z p )
l
l 1
X(z) has M finite zeros, N finite poles, and | N - M | zeros (if N > M) or
12
Dr. Xinrong
Li
poles
Pole-Zero Plot
X(z) can be represented graphically in the complex plane by showing
the location of the poles by crosses () and the zeros by circles (o).
The multiplicity of the poles and zeros is indicated by a number close to
Example 3.3.2
an ,
X ( z)
x( n) z
0 n M 1
elsewhere
1 (az 1 ) M
zM aM
M 1
1 az 1
z ( z a)
0 k M 1.
( z z1 )( z z 2 )...( z z M 1 )
z M 1
13
Dr. Xinrong Li
Example:
X ( z)
14
Dr. Xinrong Li
( z 1)
( z 0.9e j / 4 )( z 0.9e j / 4 )
15
Dr. Xinrong Li
x(n) na nu ( n),
X ( z)
16
az
,
1 2
(1 az )
Dr. Xinrong Li
ROC : | z | | a |
z1 0, p1 p2 a.
17
Dr. Xinrong Li
Causal signal with a double pair of complex conjugate poles on the unit
circle:
Summary:
Causal signals with simple real poles or simple complex conjugate pairs of
poles that are inside or on the unit circle always have bounded amplitude.
A signal with a pole (or a complex conjugate pair of poles) near the origin
decays more rapidly than the one with a pole near (but inside) the unit
circle.
Properties of causal signals also applies to causal LTI systems, since their
impulse response is a causal signal.
If a pole of a system is outside the unit circle, the impulse response of the system
Dr. Xinrong Li
System function:
H ( z ) n h(n) z n
k
k 0
H ( z)
N
M
k
k
X ( z ) 1 N ak z k
Y ( z ) k 1 ak Y ( z ) z k 0 bk X ( z ) z
k 1
H ( z ) orkFIR
b z , (ak 0average
, 1 k (MA)
N ) system
All-zero
0 k or moving
H ( z)
b0
N
Pole-zero system
(bk 0, 1 k M )
k 1 a(belongs
All-pole 1system
kz
to IIR system)
19
Dr. Xinrong Li
x (n)
1
n 1
X
(
z
)
z
dz
2 j C
20
Dr. Xinrong Li
B( z ) b0 b1 z 1 ... bM z M
X ( z)
A( z ) 1 a1 z 1 ... a N z N
X ( z ) b0 z N 1 b1 z N 2 ... bM z N M 1
z
z N a1 z N 1 ... a N
21
OurLijob
Dr. Xinrong
Then,
where
AN
X ( z)
A1
A2
...
z
z p1 z p2
z pN
( z pk ) X ( z )
Ak
, 1 k N
z
z pk
This expansion formula holds for both real and complex poles.
Complex conjugate poles result in complex-conjugate coefficients in
(m i )! dz
z
, 1 i m
z pk
Dr. Xinrong Li
X ( z ) A1
1
1
1
...
A
2
N
1 p1 z 1
1 p 2 z 1
1 p N z 1
(
p
)
u ( n),
if ROC
: | z | | pk | (causal signals)
k
1
1 pk z
Suppose all poles are distinct but some of them are complex. If x(n)
is real,
the polynomials
real coefficients and complex
A
Ak* in X(z) have
1
n
k
Z will appear
| rk cos( k npair.
k )uThen,
( n), ROC : | z | | pk | rk ,
2 | Ak conjugate
poles
in complex
1 p z 1 1 p * z 1
k
k
where Ak | Ak | e j k , pk rk e j k .
23
pz
Dr.
Z
np nu (nMultiple
), ROC : | poles
z | |EENG
p | . 5610, UNT
Xinrong
Case
II Liin inverse
z-transform:
1 2
(
1
pz
)
Example 3.4.9
1 z 1
Determine the causal signal x(n), for which X ( z )
1 z 1 0.5 z 2
Solution:
1 z 1
A1
A2
X ( z)
1 z 1 0.5 z 2 1 p1 z 1 1 p2 z 1
10 j 71.565
1 j / 4
e
, p1 p2* 0.5 j 0.5
e .
2
2
1
Example 3.4.10
1
Determine the causal signal x(n), for which X ( z )
(1 z 1 )(1 z 1 ) 2
Solution:
1 1
3 1
1 z 1
X ( z)
4 1 z 1 4 1 z 1 2 (1 z 1 ) 2
3 n
1
(1) n u (n).
4 2
4
Hence, x(n)
24
Dr. Xinrong Li
B( z )
,
A( z )
X ( z)
N ( z)
Q( z )
Y ( z) H ( z) X ( z)
B( z ) N ( z )
A( z )Q ( z )
pi z 1
j 1 1
q j z 1
i 1
j 1
The first part of y(n), ynr(n), is called the natural response of the system.
The 2nd part of y(n), yfr(n), is called forced response of the system. The
influence of the system on this response is through the scale factors Qj.
25
TheLiscale
Dr. Xinrong
When X(z) and H(z) have one or more poles in common, the Y(z) will
the pole positions. If all poles have small magnitude, the decay is rapid.
If one or more poles are located near the unit circle, the corresponding
terms in ynr(n) will decay slowly toward zero.
If the poles of the input X(z), | qk | < 1 for all k, then yfr(n) will decay
the forced response is also a sinusoid that persists for all n 0. In this
case, the forced response is called the steady-state response of the
system.
For the system to sustain a steady-state output for n 0, the input signal
must persist for all n 0.
26
Dr. Xinrong Li
is: n | h(n) |
This condition implies that the system function H(z) must contain the
unit circle within its ROC (the converse is also true) because:
| H ( z ) | n | h(n) z n | n | h(n) | | z n | ,
The conditions for causality and stability are different and that one
A causal
Dr. Xinrong
Li
Example 3.5.2
Determine the ROC and h(n) for the LTI system:
3 4 z 1
1
2
H ( z)
and hence:
(c) If the system is anti-causal:
h(n) [(0.5) n 2(3) n ]u (n 1)
If the system is anti-causal, its ROC is | z | < 0.5 (the system is unstable)
and hence:
28
Dr. Xinrong Li
Pole-Zero Cancellation
When a z-transform has a pole that is at the same location as the
zero, the pole is cancelled by the zero and the term containing the
pole in the inverse z-transform vanishes.
The order of the system is reduced by one if pole-zero cancellation
response by carefully selecting poles and zeros in the input and the
system function.
When the zero is located very close to the pole but not exactly at the
same location, the term in the response has a very small amplitude.
Non-exact pole-zero cancellation can happen in practice due to
insufficient numerical precision used in representing system coefficients.
Thus, one should not attempt to stabilize an inherently unstable system
by placing a zero in the input signal at the location of the pole.
29
Dr. Xinrong Li
n 0
Dr. Xinrong Li
The
shifting property can be intuitively explained:
Z {x(n k )} [ x(k ) x(k 1) z 1 ... x(1) z k 1 z k X ( z )],
If Z2 {xtime
(n)} advance:
X ( z ), then Z {x(n k )} z X ( z ) x(n) z n ,
Case
n0
k 1
for k 0.
for k 0.
for k 0.
31
TheLilimit
Dr. Xinrong
z 1
1
1
1 z z
1 5 1 5
y ( n)
2
2 5
32
Dr. Xinrong Li
1 5
, A1, 2 p1, 2 / 5 (partial - fraction expansion) ,
2
n
1 5
u (n).
2
p1, 2
1 5
2 5