<< Chapter < Page | Chapter >> Page > |
More insight into the meaning of the design parameter can be gained by examining all three aforementioned design methods in terms of the inversediscrete Fourier transform. Suppose that our objective, as it is, is to synthesize an N-point FIR filter. Suppose further that weuse the approach of specifying the frequency response we desire with equallyspaced samples in the frequency domain and then use the inverse discrete Fourier transform (DFT) to transform the frequency specification into atime-domain impulse response. This approach is shown in graphical form in [link] .
Analytically there is a one-to-one relationship between the N points of an FIR impulse response and the frequency response of the filter measuredat N equally-spaced frequencies between 0 and Hertz. Specifically it is straight-forward to show that the impulse response and the complex gains , for , are invertibly related, where the filter's frequency response is given by
Thus choosing the complex gains is equivalent to choosing the impulse response , and, through [link] , to the filter frequency response at all values of between 0 and Hertz. By examining [link] it can be seen that choosing a frequency response (and hence an impulse response)can be intuitively viewed as adjusting the gain levers on a graphic equalizer of the typenow used on home stereos. Each lever sets the gain, denoted here as , of a filter given by
By setting these N gain values optimally the best possible frequency response isattained.
The analogy of the graphic equalizer can be followed somewhat further. [link] suggests that the FIR design problem can be thought in the terms of the structure shown in [link] . The input signal is applied to all of what we'll the basis filters, where the frequency response of the -th filter is given by [link] . As noted earlier these basis filters, so called because they form the linearly independent set of filters used toconstruct , are frequency-shifted versions of the same fairly sloppy bandpass filter. These filter outputs are then scaled by thecomplex coefficients and then added together to produce the observable filter output. Thus the basis filters are fixed and the control the frequency and hence impulse response of the digital filter. It should be noted that the filter is not usually actuallyconstructed Frequency-domain filters are of course the counterexample. as shown in [link] but it is a very convenient analogy when trying to understand the relationships betweenthe various filter synthesis methods.
Now we shall use the model. In our quest for the true meaning of , consider first the design of a simple lowpass filter. We desire the cutoff frequency and the stopband edge to be as low as possible and allow the peak stopband ripple to be quite large. Using thegraphic equalizer model just discussed yields the design shown in [link] . Only one filter, the one centered at DC, is used. Its gain is set to unity and that of all others is set to zero. The peakstopband ripple is determined by the first sidelobe of the only active filter. It can be computed to be about 13 dB below the maximum passband powerlevel (measured at DC).
What is in this case? Graphically it can be seen to be somewhat less than than the frequency interval between DC and the first transmissionzero of which occurs at . Suppose that we now rewrite equation 2 from the module titled "Filter Sizing" as
Thus we see that in the simple filter designed in [link] that associated value of is slightly less than one.
Now suppose that we attempt to design a better filter, again using the graphic equalizer method. Our first objective is to reduce the size of the stopbandripple. To do this we leave set to unity and increase the values of and slightly so that their positive mainlobe values cancel thenegative-going first sidelobe of . All other filter gain levels willremain set to zero. The effects of this strategy are seen in [link] .
The first objective, that of reducing the peak stopband ripple, is achieved. By choosing and just right, the first sidelobe of can be effectively cancelled, leaving the other sidelobes to compete for thepeak value. The second effect is less desirable, however. From graphical inspection it is clear that , the frequency interval between and , has grown. It now exceeds , thus making greater than unity.
These trends continue as more and more filter gains are allowed to become non-zero in the quest of further reducing the peak stopband ripple.The peak is reduced, the ripple structure begins to approach the Chebyshev equal-ripple firm seen in Figure 1 from the module titled "Statement of the Optimal Linear Phase FIR Filter Design Problem" , and the transitionband stretches out as more filters are used to try to constrain the stopband frequency response to the stopband ripple goals. The design parameter is just a measure of the number of filters, or, equivalently, the number of equalizer levers, needed to transit from one gainlevel (e.g., the passband) to another (e.g., the stopband) while achieving the desired passband and stopband ripple performance. Since is the spacing between the bins of an N-point DFT, the term can also be thought of as the number of DFT bins needed to make a gain transition. Thisinterpretation is explored next.
Notification Switch
Would you like to follow the 'Notes on the design of optimal fir filters' conversation and receive update notifications?