Z Transform
Z Transform
Z Transform
1
5.0 Z-Transform.
5.1 Introduction.
5.2 The z-Transform.
5.2.1 Convergence.
5.2.2 z-Plane.
5.2.3 Poles and Zeros.
5.3 Properties of Region of Converges (ROC).
5.4 Properties of z-Transform.
5.5 Inverse of z-Transform.
5.6 Transfer Function.
5.7 Causality and Stability.
5.8 Discrete and Continuous Time Transformation.
5.9 Unilateral z-Transformation.
2
5.1 Introduction.
In Laplace Transform we evaluate the complex sinusoidal
representation of a continuous signal.
3
5.2 The z-Transform.
Let z = rejW be a complex number with magnitude r and angle W.
The signal x[n]=zn is a complex exponential signal.
We may write,
4
Cont’d…
X ( z) x[ n
n
] z n
1
n 1
x[n] X ( z ) z dz
2j
6
5.2.1 Convergence.
The region of converges (ROC) is the range of r for which the
below equation is satisfied:
n
x[n]r n .
z
Xz A , z
z
A Az1 1
Xz 1 , z
1 z z
7
5.2.2 z-Plane.
It is convenience to represent the complex frequency z as a location
in z-plane as shown in Figure 5.2.
Figure 5.2: The z-plane. A point z = rejW is located at a distance r– from the origin and
an angle W relative to the real axis.
The point z=rej W is located at a distance r from the origin and the
angle Wfrom the positive real axis.
b0 b1 z 1 ... bM z M
X ( z)
a0 a1 z 1 ... aN z N
The X(z) can be rewrite as a product of terms involving the roots
of the numerator and denominator polynomial,
~ M
b k 1 (1 ck z 1 )
X ( z)
k 1 k )
N 1
Where, (1 d z
~
b b0 / a0
ck= the roots of the numerator polynomial and the zeros (o) of
X(z).
dk= the roots of the denominator polynomial and the poles (x) of
X(z)
9
5.3 The Properties of ROC.
Figure 5.4: The relationship between the ROC and the time extent of a signal.
(a) A right-sided signal has an ROC of the form |z| > r+.
(b) A left-sided signal has an ROC of the form |z| < r–.
10
(c) A two-sided signal has an ROC of the form r+ < |z| < r–.
Cont’d…
Pg 565 Text
A un , 0
n
n
Xz A n un z n A n z n A
n n0 n0
z
A un , 0
n
A Az1 1
Xz 1 , z
1 z z
Anti-Causal
13
Example 5.0: Two-Sided Exponential Sequence
Example n n
1 1
xn un - u- n - 1 1 1
3 2 ROC : z 1
3
0
1 1 1 1 1
n z z z
1 1 3 3 1 3
Solution:
n0
3
z
1
1
1 z 1 1 z 1
3 3 1 1
ROC : z 1
0
2
1 1 1 1
n z z 1 z
1
1 1 2 2 1
z
n 2 1
1
2
1 z 1 1 z 1 Im
2 2
1 1
2z z
1
1 1 12
Xz 3x 2
oo1 x Re
1 1 1 1 12
1 z 1 1 z 1 z z
3 2 3 2
14
Time Domain -> s Domain
5.4 Properties of z-Transform.
Most properties of z-transform are similar to the DTFT. We
assumed that,
x[n]
z
X z , with ROC Rx
Y z , with
y[n] z
ROC Ry
(1) Linearity,
15
Cont’d…
(2) Time Reversal.
1 1
x[n]
X , with ROC
z
.
z Rx
x[n n0 ]
z z n0
X z
with ROC Rx, except possibly z=0 or |z|= infinity.
16
Cont’d…
(4) Multiplication by an Exponential Sequence.
z
x[n]
n
X , with ROC | | R x
z
a
(5) Convolution.
x[n] * y[n]
z
X z Y z , with ROC atleast Rx R y
X z , , with ROC
d
nx[n]
z
z
Rx
dz
17
5.5 The Inverse Z-Transform.
There are two common methods;
5.5.1 Partial-Fraction Expression.
5.5.2 Power-Series Expansion.
18
5.5.1 Partial-Fraction Expansion.
Example 5.1: Inversion by Partial-Fraction Expansion.
Find the inverse z-transform of, X ( z)
1 z 1 z 2
1 1
with ROC 1<|z|<2. (1
2
z )(1 2 z 1 )(1 z 1 )
2 1 1
(1 z )
2
- The ROC has a radius less than the pole at z=2, it is the left-sided
inverse z-transform.
2
2(2) u[n 1]
n
z
(1 2 z 1 )
- Finally the ROC has a radius greater than the pole at z=1, it is the
right-sided inverse z-transform.
2
2u[n]
z
(1 z 1 )
20
Cont’d…
Step 3: Combining the Terms.
1 2 2
X ( z)
1 1 1
(1 2 z ) (1 z 1 )
(1 z )
2
n
1
x[n] u[n] 2(2) u[n 1] 2u[n].
n
2
. 21
Example 5.2: Inversion of Improper Rational Function.
Find the inverse z-transform of,
z 3 10 z 2 4 z 4
with ROC |z|<1. X ( z) 2
2z 2z 4
z 1 10 z 1 4 z 2 4 z 3
X ( z ) 1 2
2 1 z 2z 22
Step 2: Use long division to reduce order of numerator
polynomial.
Factor z3 from numerator and 2z2 from denominator.
2 z 1 3 __________
2 z 2 z 1 1 4 z 3 4 z 2 10 z 1 1
4 z 3 2 z 2 2 z 1
6 z 2 8 z 1 1
6 z 2 3z 1 3
5 z 1 2
1 10 z 1 4 z 2 4 z 3 1 5 z 1
2
1 2
2 z 3
1 z 2z 1 z 1 2 z 2
1
1 5 z 2
2z 3
(1 z 1 )(1 2 z 1 )
23
Factor z3 from numerator and 2z2 from denominator.
5 z 1 2 1 3
1 2
1 z 2z 1
(1 z ) (1 2 z 1 )
1
X ( z ) zW ( z )
2
We define,
1 3
W ( z ) 2 z 1 3
Where, 1 z 1 (1 2 z 1 )
With ROC|z|<1
Step 3: Find the Inverse z-Transform for each Terms.
w[n] 2 [n 1] 3 [n] (1) n u[n 1] 3(2) n u[n 1]
1
x[n] w[n 1]
2
3 1
x[n] [n] [n 1] (1) n 1 u[n 2] 3(2) n u[n 2]
2 2 24
.
5.6 Transfer Function.
The transfer function is defined as the z-transform of the impulse
response. y[n]= h[n]*x[n]
Take the z-transform of both sides of the equation and use the
convolution properties result in,
Y ( z) H ( z) X ( z)
Rearrange the above equation result in the ratio of the z-transform
of the output signal to the z-transform of the input signal.
Y ( z)
H ( z)
X ( z)
The definition applies at all z in the ROC of X(z) and Y(z) for
which X(z) is nonzero.
25
Example 5.3: Find the Transfer Function.
Find the transfer function and the impulse response of a causal LTI
system if the input to the system is n
1
x[n] u[n] and output,
3
n
1
y[n] 3(1) n u[n] u[n].
Solution: 3
Step 1: Find the z-Transform of the input X(z) and output Y(z).
1
X ( z)
1 1 With ROC |z|>1/3
1 z
3
3 1
Y ( z) 1
(1 z ) 1 With ROC |z|>1.
(1 z 1 )
3
4
1
(1 z 1 )(1 z 1 ) 26
3
Step 2: Solve for H(z).
1 1
41 z
3
H ( z)
1 1 1 , with ROC |z|>1.
(1 z )1 z
3
Solve for impulse response h[n],
2 2
H ( z)
(1 z 1 ) 1 1
1 z
3 , with ROC |z|>1.
.
27
5.7 Causality and Stability.
The impulse response of a causal system is zero for n<0.
The impulse response of a casual LTI system is determined from the
transfer function by using right-sided inverse transform.
The poles inside the unit circle, contributes an exponentially
decaying term to the impulse response.
The poles outside the unit circle, contributes an exponentially
increasing term.
Stable/Causal ?
From the ROC below the system is stable, because all the poles
within the unit circle and causal because the right-sided
decaying exponential in terms of impulse response.
Figure 7.16: A system that is both stable and causal must have all its poles
inside the unit circle in the z-plane, as illustrated here. 30
5.8 Implementing Discrete-Time
LTI System.
The system is represented by the differential equation.
y[n] a1 y[n 1] a2 y[n 2] b0 x[n] b1 x[n 1] b2 x[n 2]
(1 a1 z 1 a2 z 2 )Y ( z ) (b0 b1 z 1 b2 z 2 ) X ( z )
.
32
Cont’d…
(1 a1 z 1 a2 z 2 )Y ( z ) (b0 b1 z 1 b2 z 2 ) X ( z )
Figure 7.27: Development of the direct form II representation of an LTI system. (a)
Representation of the transfer function H(z) as H2(z)H1(z).
(b) Direct form II implementation of the transfer function H(z) obtained from (a) by
collapsing the two sets of z–1 blocks. 34
5.9 The Unilateral z-Transform.
The unilateral z-Transform of a signal x[n] is defined as,
Xz xnz n
Properties. n0
If two causal DT signals form these transform pairs,
(1) Linearity.
Gz Hz
gn hn Z
n 0 1
m
z Gz gm z , n0 0
gn n0
Z n0
m 0 35