SIGNALS AND SYSTEMS
Z -Transform
Introduction to Z-Transform
Inverse Z Transform
• Recall the definition of the inverse Laplace transform via contour integration:
j
1 1
X s e st ds
2 j
x (t ) X ( s ) e st ds
j
2 j C
• The inverse Z-transform follows from this:
1
x[ n ]
2 j C
X ( z ) z n 1 dz
Evaluation of this integral is beyond the scope of this course. Instead, as with the Laplace transform, we will restrict our interest
in the inverse transform to rational forms (ratio of polynomials). We will see shortly that this is convenient since linear constant-
coefficient difference equations can be converted to polynomials using the Z-transform.
• As with the Laplace transform, there are two common approaches:
Long Division
Partial Fractions Expansion
• Expansion by long division Is also known as the power series expansion approach and can be easily demonstrated by an
example.
Long Division
• Consider: z2 1
X (z)
Solution: z3 2z 4
z 1
z 1 0 z 2 3 z 3 4 z 4
z 3
2z 4 z 2
1
z3 2z 4 z2 1
z 2 2 4 z 1
z 2 2 4 z 1
3 4 z 1
3 4 z 1
z 1 0 z 2 3 z 3 3 6 z 2 12 z 3
z3 2z 4 z2 1
1
4 z 1 6 z 2 12 z 3
z 2
2 4z
1
4 z 1 8 z 3 16 z 4
3 4z
3 6 z 2 12 z 3 6 z 2 20 z 3 16 z 4
4 z 1 6 z 2 12 z 3
X ( z ) z 1 0 z 2 3 z 3 4 z 4 ...
x [ n ] 0 [ n ] 1 [ n 1 ] 3 [ n 3 ] 4 [ n 4 ] ...
Inverse Z-Transform Using Partial Fractions
• The partial fractions approach is preferred if we want a closed-form solution rather than the numerical solution
long division provides.
z3 1
• Example: X (z) 3
z z2 z 2
In this example, the order of the numerator and denominator are the same. For this case, we can use a trick of
factoring X(z)/z:
A ( z ) z z z 2 ( z 2 )( z 0 . 5 j 0 . 866 )( z 0 . 5 j 0 . 866 )
3 2
X (z) c c1 c1 c3
0
z z z 0 . 5 j 0 . 866 z 0 . 5 j 0 . 866 z 2
X (z) 1
c0 ( z ) 0 .5
z z0 2
X (z)
c1 z 0 . 5 j 0 . 866 0 . 429 j 0 . 0825
z z 0 . 5 j 0 . 866
X (z)
c3 z 2 0 . 643
z z2
Inverse Z-Transform (Cont.)
We can compute the inverse using our table of common transforms:
c1 z c1 z c3 z
X (z) c0
z 0 . 5 j 0 . 866 z 0 . 5 j 0 . 866 z 2
c1 c1 c3
c0 1
1
1 0 . 5 j 0 . 866 z 1 0 . 5 j 0 . 866 z 1 2 z 1
x [ n ] c 0 [ n ] c 1 ( 0 . 5 j 0 . 866 ) n u [ n ] c 1 ( 0 . 5 j 0 . 866 ) n u [ n ] c 3 2 n u [ n ]
The exponential terms can be converted to a single cosine using a magnitude/phase conversion:
p1 ( 0 . 5 ) 2 ( 0 . 866 ) 2 1
0 . 866 4
p 1 tan 1
rad
0 .5 3
c1 ( 0 . 429 ) 2 ( 0 . 0825 ) 2 0 . 437
1 0 . 0825
c 1 tan 0 . 19 rad (10.89 )
0 . 429
x [ n ] c 0 [ n ] c 1 ( 0 . 5 j 0 . 866 ) n u [ n ] c 1 ( 0 . 5 j 0 . 866 ) n u [ n ] c 3 2 n u [ n ]
c 0 [ n ] 2 c 1 p 1 cos( p 1 n c 1 ) c 3 ( 2 ) n u [ n ]
4
0 . 5 [ n ] 0 . 874 cos( n 0 . 19 ) 0 . 643 ( 2 ) n u [ n ]
3
Transfer Functions
• In addition to our normal transfer function components, x[ n ] y [ n ] x [ n 1]
D
such as summation and multiplication, we use one
important additional component: delay. x[ n ] y [ n ] x [ n 1]
Z-1
• This is often denoted by its Z-transform equivalent. Y ( z ) z 1 X ( z )
• We can illustrate this with an example (assume initial conditions are zero):
27
Transfer Function Example
• Redraw using Z-transform:
• Write equations for the behavior at
each of the summation nodes:
zQ 1 ( z ) Q 2 ( z ) X ( z )
zQ 2 ( z ) Q 1 ( z ) 3 Y ( z )
Y ( z ) 2Q1 ( z ) Q 2 ( z )
• Three equations and three unknowns: solve the first for Q1(z) and substitute into the other two equations.
Q 1 ( z ) z 1Q 2 ( z ) z 1 X ( z )
zQ 2 ( z ) z 1 Q 2 ( z ) z 1 X ( z ) 3 Y ( z )
Q 2 ( z ) z 2 Q 2 ( z ) z 2 X ( z ) 3 z 1Y ( z )
Q 2 (z)
1 z
1
2
z 2 X ( z ) 3 z 1Y ( z )
Y ( z ) 2 z 1
1
2
z 2 X ( z ) 3 z 1Y ( z ) 2 z 1 X ( z )
1
2
z 2 X ( z ) 3 z 1Y ( z )
1 z 1 z
Simplify.. .
Y (z) 2z 1
H (z) 2
X (z) z 3z 5
The Properties of ROC.
Figure : 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–.
(c) A two-sided signal has an ROC of the form r+ < |z| < r–.
Poles: -1/2,1/4
Figure : ROCs .
(a) Two-sided signal x[n] has ROC in between the poles.
(b) Right-sided signal y[n] has ROC outside of the circle containing the pole of largest magnitude.
(c) Left-sided signal w[n] has ROC inside the circle containing the pole of smallest magnitude.
Taking a path analogous to that used the development of the
Laplace transform, the z transform of the causal DT signal is
A n
u n , 0
n
Xz A n unz n A n z n A
n n0
n0 z
and the series converges if |z| > |α|. This
defines the ROC as the exterior of a circle in
the z plane centered at the origin, of radius|α|.
The z transform is
z
Xz A , z
z Causal
Contd…
By similar reasoning, the z transform and region of convergence of the anti-causal signal
below, are
A n
u n , 0
A Az 1 1
Xz 1 , z
1 z z
Anti-Causal
Problem and Solution