<< Chapter < Page Chapter >> Page >

The preceding design methods have been based on designing an analog prototype filter and then converting it to a digitalfilter. This approach is appropriate for the class of approximations where analytical solutions are possible, but notfor many others. In the remaining part of this chapter, methods will be developed that directly design the desired digitalfilter. Most approaches are extensions of methods used for FIR filters, but they are more complicated for the IIR case whererational approximation is being performed rather than polynomial approximation.

In this section a frequency-sampling design method is developed such that the frequency response of the IIR filter will passthrough the given samples of a desired response. Since an IIR filter cannot have linear phase, the sampled response must contain both magnitudeand phase. The extension of the frequency- sampling method to a LS-error approximation is not as simple as for the FIR filter. The method presentedin this section uses a criterion based on the equation error rather than the more common error between the actual and desired frequencyresponse [link] . Nevertheless, it is a useful noniterative design method. Finally, a general discussion of iterative design methods forLS-frequency response error is given.

Frequency-sampling design of iir filters

The method for calculating samples of the frequency response of an IIR filter presented in the section on Properties of IIR Filterscan be reversed to design a filter much the same way it was for the FIR filter using frequency sampling.The z-transform transfer function for an IIR filter is given by

H ( z ) = B ( z ) A ( z ) = b 0 + b 1 z - 1 + + b M z - M 1 + a 1 z - 1 + + a N z - N .

The frequency response of the filter is given by setting z = e - j ω . Using the notation

H ( ω ) = H ( z ) | z = e - j ω .

Equally-spaced samples of the frequency response are chosen so that the number of samples is equal to the number of unknown coefficients in [link] . These L + 1 = M + N + 1 samples of this frequency response are given by

H k = H ( ω k ) = H ( 2 π k L + 1 )

and can be calculated from the length- ( L + 1 ) ) DFTs of the numerator and denominator.

H k = DFT { b n } DFT { a n } = B k A k

where the indicated division is term-by-term division for each value of k . Multiplication of both sides of [link] by A k gives

B k = H k A k

If the length- ( L + 1 ) inverse DFT of H k is denoted by the length- ( L + 1 ) sequence h n , equation [link] becomes cyclic convolution which can be expressed in matrix form by

b 0 b 1 b M 0 0 = h 0 h L h L - 1 h 1 h 1 h 0 h L h 2 h 1 h 0 h L h 0 1 a 1 a N 0 0

Note that the h n in [link] are not the impulse response values of the filter as used in the FIR case. A more compact matrix notation of is

b 0 = H a 0

where H is ( L + 1 ) by ( L + 1 ) , b is length- ( M + 1 ) , and a is length- ( N + 1 ) . Because the lower L - N terms of the right-hand vector of [link] are zero, the H matrix can be reduced by deleting the right-most L - N columns to give H 0 which causes [link] to become

b 0 = H 0 a

Because the first element of a is unity, it is partitioned to remove the unity term and the remaining length- N vector is denoted a * . The simultaneous equations represented by [link] are uncoupled by further partitioning of the H matrix as shown in

b 0 = H 1 h 1 H 2 1 a *

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Digital signal processing and digital filter design (draft). OpenStax CNX. Nov 17, 2012 Download for free at http://cnx.org/content/col10598/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Digital signal processing and digital filter design (draft)' conversation and receive update notifications?

Ask