<< Chapter < Page Chapter >> Page >
Describes Z transforms.

Introduction

The Z transform is a generalization of the Discrete-Time Fourier Transform . It is used because the DTFT does not converge/exist for many important signals, and yet does for the z-transform. It is also used because it is notationally cleaner than the DTFT. In contrast to the DTFT, instead of using complex exponentials of the form ω n , with purely imaginary parameters, the Z transform uses the more general, z n , where z is complex. The Z-transform thus allows one to bring in the power of complex variable theory into Digital Signal Processing.

The z-transform

Bilateral z-transform pair

Although Z transforms are rarely solved in practice using integration ( tables and computers ( e.g. Matlab) are much more common), we will provide the bilateral Z transform pair here for purposes of discussion and derivation. These define the forward and inverse Z transformations. Notice the similarities between the forwardand inverse transforms. This will give rise to many of the same symmetries found in Fourier analysis .

Z transform

X z n x n z n

Inverse z transform

x n 1 2 z r X z z n 1

We have defined the bilateral z-transform. There is also a unilateral z-transform ,
X z n 0 x n z n
which is useful for solving the difference equations with nonzero initial conditions. This is similar to the unilateral Laplace Transform in continuous time.

Relation between z-transform and dtft

Taking a look at the equations describing the Z-Transform and the Discrete-Time Fourier Transform:

Discrete-time fourier transform

X ω n x n ω n

Z-transform

X z n x n z n
We can see many similarities; first, that :
X ω X z
for all z ω

Visualizing the z-transform

With the DTFT, we have a complex-valued function of a real-valued variable ω (and 2 periodic). The Z-transform is a complex-valued function of a complex valued variable z.

Plots

With the Fourier transform, we had a complex-valued function of a purely imaginary variable , F ω . This was something we could envision with two 2-dimensional plots (real and imaginary parts or magnitude andphase). However, with Z, we have a complex-valued function of a complex variable . In order to examine the magnitude and phase or real andimaginary parts of this function, we must examine 3-dimensional surface plots of each component.

Consider the z-transform given by H ( z ) = z , as illustrated below.

The corresponding DTFT has magnitude and phase given below.

While these are legitimate ways of looking at a signal in the Z domain, it is quite difficult to draw and/or analyze.For this reason, a simpler method has been developed. Although it will not be discussed in detail here, the methodof Poles and Zeros is much easier to understand and is the way both the Z transform and its continuous-time counterpart the Laplace-transform are represented graphically.

Magnitude and Phase of H(z).

What could the system H be doing? It is a perfect all-pass, linear-phase system. But what does this mean?

Suppose h [ n ] = δ [ n - n 0 ] . Then

H ( z ) = n = - h [ n ] z - n = n = - δ [ n - n 0 ] z - n = z - n 0 .

Thus, H ( z ) = z - n 0 is the z -transform of a system that simply delays the input by n 0 . H ( z ) is the z -transform of a unit-delay.

Now consider x [ n ] = α n u [ n ]

X ( z ) = n = - x [ n ] z - n = n = 0 α n z - n = n = 0 ( α z ) n = 1 1 - α z ( i f | α z | < 1 ) ( G e o m e t r i c S e r i e s ) = z z - α .

What if | α z | 1 ? Then n = 0 ( α z ) n does not converge! Therefore, whenever we compute a z -tranform, we must also specify the set of z 's for which the z -transform exists. This is called the r e g i o n o f c o n v e r g e n c e (ROC).

Using a computer to find the z-transform

Matlab has two functions, ztrans and iztrans , that are both part of the symbolic toolbox, and will find the Z and inverseZ transforms respectively. This method is generally preferred for more complicated functions. Simpler and morecontrived functions are usually found easily enough by using tables .

Application to discrete time filters

The z -transform might seem slightly ugly. We have to worry about the region of convergence, and stability issues, and so forth. However, in the end it is worthwhile because it proves extremely useful in analyzing digital filters with feedback. For example, consider the system illustrated below

Plots

We can analyze this system via the equations

v [ n ] = b 0 x [ n ] + b 1 x [ n - 1 ] + b 2 x [ n - 2 ]

and

y [ n ] = v [ n ] + a 1 y [ n - 1 ] + a 2 y [ n - 2 ]

More generally,

v [ n ] = k = 0 N b k x [ n - k ]

and

y [ n ] = k = 1 M a k y [ n - k ] + v [ n ]

or equivalently,

k = 0 N b k x [ n - k ] = y [ n ] - k = 1 M a k y [ n - k ] .

What does the z -transform of this relationship look like?

Z k = 0 M a k y [ n - k ] = Z k = 0 M b k x [ n - k ] k = 0 M a k Z { y [ n - k ] } = k = 0 M b k Z { x [ n - k ] }

Note that

Z { y [ n - k ] } = n = - y [ n - k ] z - n = m = - y [ m ] z - m z - k = Y ( z ) z - k .

Thus the relationship reduces to

k = 0 M a k Y ( z ) z - k = k = 0 N b k X ( z ) z - k Y ( z ) k = 0 M a k z - k = X ( z ) k = 0 N b k z - k Y ( z ) X ( z ) = k = 0 N b k z - k k = 0 M a k z - k

Hence, given a system the one above, we can easily determine the system's transfer function, and end up with a ratio of two polynomials in z : a rational function. Similarly, given a rational function, it is easy to realize this function in a simple hardware architecture.

Interactive z-transform demonstration

ZTDefinitionDemo
Interact (when online) with a Mathematica CDF demonstrating the Z Transform. To Download, right-click and save target as .cdf.

Conclusion

The z-transform proves a useful, more general form of the Discrete Time Fourier Transform. It applies equally well to describing systems as well as signals using the eigenfunction method, and proves extremely useful in digital filter design.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Signals and systems. OpenStax CNX. Aug 14, 2014 Download for free at http://legacy.cnx.org/content/col10064/1.15
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Signals and systems' conversation and receive update notifications?

Ask