<< Chapter < Page Chapter >> Page >

The meaning of the design parameter α

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] .

Using the Discrete Fourier Transform (DFT) as the Basis of FIR Filter Design

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 f s Hertz. Specifically it is straight-forward to show that the impulse response h ( k ) and the complex gains h ^ n , for 0 n N - 1 , are invertibly related, where the filter's frequency response is given by

H ( f ) = 1 N n = 0 N - 1 h ^ n s i n π ( N f T - n ) s i n π ( f T - n N ) .

Thus choosing the complex gains h ^ n is equivalent to choosing the impulse response h ( k ) , 0 k N - 1 , and, through [link] , to the filter frequency response at all values of f between 0 and f s 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 h ^ n , of a filter given by

H n ( f ) = 1 N s i n π ( N f T - n ) s i n π ( f T - n N ) .

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 N of what we'll the basis filters, where the frequency response of the n -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 H ( f ) , are frequency-shifted versions of the same fairly sloppy bandpass filter. These filter outputs are then scaled by thecomplex coefficients h ^ n and then added together to produce the observable filter output. Thus the basis filters are fixed and the h ^ n 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.

The FIR Filter Design Problem Models as a Bank of Bandpass Filters

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 f c and the stopband edge f s t 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).

A Simple Lowpass Filter Designed Using the Graphic Equalizer Analogy

What is Δ f in this case? Graphically it can be seen to be somewhat less than than the frequency interval between DC and the first transmissionzero of H n ( f ) which occurs at f = f s N . Suppose that we now rewrite equation 2 from the module titled "Filter Sizing" as

Δ f α f s N .

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 h ^ 0 set to unity and increase the values of h ^ 1 and h ^ 2 slightly so that their positive mainlobe values cancel thenegative-going first sidelobe of h ^ 0 . All other filter gain levels willremain set to zero. The effects of this strategy are seen in [link] .

Lowpass Filter Obtained Using the Second and Third DFT Basis Functions

The first objective, that of reducing the peak stopband ripple, is achieved. By choosing h ^ 1 and h ^ 2 just right, the first sidelobe of h ^ 0 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 Δ f , the frequency interval between f c and f s t , has grown. It now exceeds f s N , thus making α greater than unity.

These trends continue as more and more filter gains h ^ n 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 f s N 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.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Notes on the design of optimal fir filters. OpenStax CNX. Sep 14, 2009 Download for free at http://cnx.org/content/col10553/1.3
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Notes on the design of optimal fir filters' conversation and receive update notifications?

Ask