General Purpose FIR Utility
June 2, 2021
The general purpose FIR filter (GP-FIR) utility is a tool for data filtering with a finite impulse response (FIR) filter.
Unlike the IIR filter, the FIR filter does not use feedback. An FIR filter often uses more multiplication and addition operations to compensate for its data flow impediment, sometimes upwards of 200 times as many.
However, designing an FIR filter with a linear phase is simple because of its feed-forward-only data flow. A linear phase ensures that all frequency components—regardless of their frequency—will be delayed by the same amount of time.
Coefficients for an FIR filter, such as those in the above illustration, may be generated by ObserVIEW based on the user’s desired frequency response.
Alternatively, FIR coefficients may be copied and pasted from a third-party software package such as MATLAB® or GNU Octave® or a website.
Filtering with a high coefficient count FIR filter introduces long “tails” at the beginning and end of the processed data. In ObserVIEW, these can be trimmed off the filtered data by selecting the Auto Trim Tails check box when exporting time waveform data.
High coefficient count FIR filters have most of their energy in the center of the coefficient sequence and very little in the tails. Filtering a data sequence with a filter is the equivalent to convolving the FIR filter coefficients with the time data. Convolution involves dragging the filter coefficient sequence along the time sequence.
If the FIR filter’s tails are long, then it will take time for its high-energy middle to meet up with the data. Thus, it will introduce long tails to the front of the filtered data. Likewise, if a long tail FIR is dragged off the data sequence, a long tail will be introduced into the later part of the filtered data.
- Cadzow, James A., Foundations of Digital Signal Processing and Data Analysis. New York: Macmillan Publishing Company, 1987.
- Greenhoe, Daniel J., A Book Concerning Digital Signal Processing. Signal Processing ABCs, 1st ed. Self-published, 2019.
- Jackson, Leland B., Digital Filters and Signal Processing: With MATLAB® Exercises, 3rd ed. Springer Science & Business Media, 2013.
- Lightstone, M., S.K. Mitra, Ing-Song Lin, S. Bagchi, P. Jarske, and Y. Neuvo, “Efficient frequency-sampling design of one-and two-dimensional FIR filters using structural subband decomposition.” IEEE Transactions on Circuits and Systems II: Analog and Digital Signal Processing 41, no. 3 (1994): 189-201. https://doi.org/10.1109/82.279205.
- Mitra, Sanjit Kumar, Digital Signal Processing: A Computer-based Approach, 2nd ed. McGraw-Hill/Irwin, 2002.
- Proakis, John G. and Dimitris G. Manolakis, Digital Signal Processing: Principles, Algorithms, and Applications, 3rd ed. Prentice Hall, 1996.