Professional Documents
Culture Documents
FIR Filters
adrian valenzuela
This work is produced by The Connexions Project and licensed under the Creative Commons Attribution License
Abstract In signal processing, a lter removes unwanted parts of the signal, such as random noise, or extracts the useful parts of the signal, such as the components lying within a certain frequency range.
In signal processing, there are many instances in which an input signal to a system contains extra unnecessary content or additional noise which can degrade the quality of the desired portion. In such cases we may remove or lter out the useless samples. For example, in the case of the telephone system, there is no reason to transmit very high frequencies since most speech falls within the band of 400 to 3,400 Hz. Therefore, in this case, all frequencies above and below that band are ltered out. The frequency band between 400 and 3,400 Hz, which isn't ltered out, is known as the passband, and the frequency band that is blocked out is known as the stopband. FIR, Finite Impulse Response, lters are one of the primary types of lters used in Digital Signal Processing. FIR lters are said to be nite because they do not have any feedback. Therefore, if you send an impulse through the system (a single spike) then the output will invariably become zero as soon as the impulse runs through the lter.
Filter Coecients
Impulse Response
Tap
Multiply-Accumulate (MAC)
Version
http://creativecommons.org/licenses/by/1.0
http://cnx.org/content/m12009/1.5/
Figure 1: This gure demonstrates an FIR low pass lter with 40 taps.
Reducing the number of taps used in the lter will reduce the number of calculations to process in the signal, however, the quality of the ltering will suer. Rippling will become more sever, the rollo will be less steep, and the passband will be less accurate. This may be seen in the following diagram where fewer number of taps were used.
http://cnx.org/content/m12009/1.5/
Figure 2: Using only 11 taps has degraded the lter from gure 1.
All lters may be categorized by the section of the frequency spectrum that they alter. The following gures depict some of the basic types of digital lters:
http://cnx.org/content/m12009/1.5/
http://cnx.org/content/m12009/1.5/
Figure 4: Bandpass lters allow a section in the middle of the spectrum to remain.
http://cnx.org/content/m12009/1.5/
http://cnx.org/content/m12009/1.5/