<< Chapter < Page | Chapter >> Page > |
The frequency response of the filter is found by setting , which gives [link] the form
It should be recalled that this form assumes a sampling rate of . To simplify notation, is used to denote the frequency response rather than .
This frequency-response function is complex-valued and consists of a magnitude and phase. Even though the impulse responseis a function of the discrete variable n, the frequency response is a function of the continuous-frequency variable and is periodic with period .
Unlike the FIR filter case, exactly linear phase is impossible for the IIR filter. It has been shown that linear phase isequivalent to symmetry of the impulse response. This is clearly impossible for the IIR filter with an impulse response that is zerofor and nonzero for n going to infinity.
The FIR linear-phase filter allowed removing the phase from the design process. The resulting problem was a real-valuedapproximation problem requiring the solution of linear equations. The IIR filter design problem is more complicated. Linear phase isnot possible, and the equations to be solved are generally nonlinear. The most common technique is to approximate themagnitude of the transfer function and let the phase take care of itself. If the phase is important, it becomes part of theapproximation problem, which then is often difficult to solve.
As shown in another module, equally spaced samples of can be approximately calculated by taking an -length DFT of given in [link] . However, unlike for the FIR filter, this requires that the infinitely long impulse response betruncated to at least length-L. A more satisfactory alternative is to use the DFT to evaluate the numerator and denominator of [link] separately rather than to approximately evaluate [link] . This is accomplished by appending zeros to the and zeros to the from [link] , and taking length-L DFTs of both to give
where the division is a term-wise division of each of the values of the DFTs as a function of . This direct method of calculation is a straightforward and flexible technique that does not involvetruncation of and the resulting error. Even nonuniform spacing of the frequency samples can be achieved by altering the DFTas was suggested for the FIR filter. Because IIR filters are generally lower in order than FIR filters, direct use of the DFT isusually efficient enough and use of the FFT is not necessary. Since the and do not generally have the symmetries of the FIR , the DFTs cannot be made real and, therefore, the shifting and stretching techniques of other modules are notapplicable.
As an example, the frequency-response plot of a third-order elliptic-function lowpass filter with a transfer function of
is given in [link] a. The details for designing this filter are discussed in elsewhere. A similar performance for themagnitude response would require a length of 18 for a linear-phase FIR filter.
Notification Switch
Would you like to follow the 'Digital signal processing and digital filter design (draft)' conversation and receive update notifications?