<< Chapter < Page Chapter >> Page >

Questions or comments concerning this laboratory should be directedto Prof. Charles A. Bouman, School of Electrical and Computer Engineering, Purdue University, West Lafayette IN 47907;(765) 494-0340; bouman@ecn.purdue.edu

Introduction

This is the first part of a two week laboratory in digital filter design.The first week of the laboratory covers some basic examples of FIR and IIR filters, and then introduces the conceptsof FIR filter design. Then the second weekcovers systematic methods of designing both FIR and IIR filters.

Background on digital filters

In digital signal processing applications, it is often necessary to change the relative amplitudesof frequency components or remove undesired frequencies of a signal.This process is called filtering . Digital filters are used in a variety of applications.In Laboratory 4, we saw that digital filters may be used in systems that perform interpolation and decimationon discrete-time signals. Digital filters are also used in audio systemsthat allow the listener to adjust the bass (low-frequency energy) and the treble (high frequency energy) of audio signals.

Digital filter design requires the use of both frequency domain and time domain techniques.This is because filter design specifications are often given in the frequency domain, but filters are usually implementedin the time domain with a difference equation. Typically, frequency domain analysis is done using the Z-transform andthe discrete-time Fourier Transform (DTFT).

In general, a linear and time-invariant causal digital filter with input x ( n ) and output y ( n ) may be specified by its difference equation

y ( n ) = i = 0 N - 1 b i x ( n - i ) - k = 1 M a k y ( n - k )

where b i and a k are coefficients which parameterize the filter. This filter is said to have N zeros and M poles. Each new value of the output signal, y ( n ) , is determined by past values of the output, and by present and past valuesof the input. The impulse response, h ( n ) , is the response of the filter to an input of δ ( n ) , and is therefore the solution to the recursive difference equation

h ( n ) = i = 0 N - 1 b i δ ( n - i ) - k = 1 M a k h ( n - k ) .

There are two general classes of digital filters: infinite impulse response (IIR) and finite impulse response (FIR).The FIR case occurs when a k = 0 , for all k . Such a filter is said to have no poles, only zeros.In this case, the difference equation in [link] becomes

h ( n ) = i = 0 N - 1 b i δ ( n - i ) .

Since [link] is no longer recursive, the impulse response has finite duration N .

In the case where a k 0 , the difference equation usually represents an IIR filter.In this case, [link] will usually generate an impulse response which has non-zero values as n . However, later we will see that for certain valuesof a k 0 and b i , it is possible to generate an FIR filter response.

The Z-transform is the major tool used for analyzing the frequency response of filters and their differenceequations. The Z-transform of a discrete-time signal, x ( n ) , is given by

X ( z ) = n = - x ( n ) z - n .

where z is a complex variable. The DTFT may be thought of as a special case of the Z-transformwhere z is evaluated on the unit circle in the complex plane.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Purdue digital signal processing labs (ece 438). OpenStax CNX. Sep 14, 2009 Download for free at http://cnx.org/content/col10593/1.4
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Purdue digital signal processing labs (ece 438)' conversation and receive update notifications?

Ask