Summary: The finite duration impulse response (FIR) digital filter in one of two structures of linear, time invariant digital filters. It is straight forward to design, capable of linear phase, always stable, and can be implemented using the FFT.
There are two types of linear, time-invariant digital filters. We will investigate digital filters with a finite-duration impulse response (FIR) in this section and those with an infinite-duration impulse response (IIR) in another document. FIR filters have characteristics that make them useful in many applications [1,2].
However, frequency responses that have rapid transition between pass and stop bands are often better realized with IIR filters.
It is the purpose of this section to examine and evaluate these characteristics which are important in the design of the four basic types of linear-phase FIR filters.
Because of the usual methods of implementation, the Finite Impulse Response (FIR) filter is also called a nonrecursive filter or a convolution filter. From the time-domain view of this operation, the FIR filter is sometimes called a moving-average or running-average filter. All of these names represent useful interpretations that are discussed in this section; however, the name, FIR, is most commonly seen in filter-design literature and is used in these notes.
The duration or sequence length of the impulse response of these filters is by definition finite; therefore, the output can be written as a finite convolution sum by
If the FIR filter is interpreted as an extension of a moving sum or as a
weighted moving average, some of its properties can easily be seen. If one has
a sequence of numbers, e.g., prices from the daily stock market for a
particular stock, and would like to remove the erratic variations in order to
discover longer term trends, each number could be replaced by the average of
itself and the preceding three numbers, i.e., the variations within a four-day
period would be ``averaged out" while the longer-term variations would remain.
To illustrate how this happens, consider an artificial signal
This example illustrates the basic FIR filter-design problem: determine N, the
number of terms for