<< Chapter < Page Chapter >> Page >

The formula for estimation of the fir filter length

For many lowpass filter designs the peak passband excursion δ 1 exceeds the peak stopband excursion δ 2 by a factor of ten or more. This ratio, earlier denoted as the weight W , was just evaluted in the previous section to have thevalue 28.8 for a typical set of specifications. In this example the stopband attenuation specification drives the requiredfilter order. In this case, and with a few additional assumptions which will be enumerated later, thenumber of coefficients in the impulse response of a high-order FIR linear phase filter, denoted N , can be accurately estimated using the formula:

N α f s Δ f ,

where the design parameter α is given by the equation:

α = 0 . 22 + 0 . 0366 · S B R .

As before, SBR is the minimum stopband attenuation compared to the nominal passband power transmission level, measured in decibels.

Continuing from example i "statement of the optimal linear fir filter design problem"

Suppose as before that the lowpass filter of interest is to have a peak-to-peak passband ripple (PBR) of 0.5 dB anda minimum stopband attenuation of 60 dB. Since W has been evaluated to be approximately 29 in this case, [link] applies. Using [link] , α is evaluated to be 2.42. Thus N is closely approximated by 2.42 times the reciprocal of the normalized transition bandwidth Δ f f s . To continue the example assume that the sampling rate is 8 kHz, thatthe cutoff frequency f c is 1530 Hz, and that the stopband edge f s t is 2330 Hz. Thus Δ f = 800 Hz and Δ f f s = 0 . 1 , yielding an estimated filter order N of approximately 24. Executing the Parks-McClellan design program with theseparameters happens to produce an impulse response which almost perfectly matches the desired result (e.g., peak stopband ripple of 60.07 dB asopposed to the stated objective of 60 dB).

Note that the required filter order N as estimated by [link] and [link] does not depend on the passband ripple PBR or on the exact values of the cutoff and stopbandfrequencies. Thus, when the conditions allowing the underlying assumptions to be met are true, estimating the required filter order N becomes very easy.

[link] provides the values of the design parameter α from [link] for various degrees of stopband suppression. Given also is the range of the passband ripple for which the values of α apply. The column marked maximum passband ripple reflects the the assumption that the passband deviation δ 1 is small compared to unity; specifically, the stated value of 1.74 dB correspondsto δ 1 = 0 . 1 . The rightmost column, denoted minimum passband ripple , is the limit imposed by the assumption that δ 1 > 10 · δ 2 . Of course FIR linear phase equal ripple filters can be designed with passband ripple extending beyond the stated range.However, as the PBR specification approaches either of these endpoints the validity of [link] will degrade. The predicted filter length will err on the low side for small PBR values and be overly pessimistic forPBR > 1.74 dB. In such cases, an iteration on design might be necessary to obtain the desired filter characteristics.

Table 1: Values of the Design Parameter α as a Function of the Minimum Stopband Attenuation
Stopband Attenuation (in dB) α Maximum Passband Ripple (in dB) Minimum Passband Ripple (in dB)
45 1.87 1.74 1.0
50 2.05 1.74 0.55
55 2.23 1.74 0.31
60 2.42 1.74 0.174
65 2.60 1.74 0.098
70 2.78 1.74 0.055

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