FIR filters use only input signal samples to compute the next output. The difference equation for FIR filter is:y(n) = b0 * x(n) + b1 * x(n - 1) + b2 * x(n - 2) + ..., where y(n) - n'th sample of output x(n) - n'th sample of input
IIR filters use also output signals samples. That is,y(n) = b0 * x(n) + b1 * x(n - 1) + b2 * x(n - 2) + ... - a1 * y(n - 1) - a2 * y(n - 2) - ...,
You can see from the FIR formula that its impulse response is indeed time-limited, because its output is based on a number of input samples and if input becomes zero then output will go zero sooner or later. The length of FIR filter buffer defines the frequency and magnitude resolution that the filter can provide. For example, a low pass filter with pass band edge frequency of 100 Hz (0dB) and stop frequency 150 Hz (-60 dB) at 44100 Hz sampling requires about 1400 buffer size. FIR filters can have linear phase on frequency dependence.
IIR filter output depends on both input and output samples. IIR filters resemble analog filters in this respect and often synthesized on an analog model. IIR filters generally require less memory size, but harder to implement. They have problems with stability, coeficients resolution. Good idea is break the whole filter into second order sections. Response of a practical IIR filter may be finite because of limited coeficients length. Sometimes, the response is made infinite intentionally to generate for example sine waves.
|file: /Techref/logic/dsp/firvsiir.htm, 1KB, , updated: 2004/8/4 09:47, local time: 2018/10/16 12:56,
|©2018 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://www.piclist.com/techref/logic/dsp/firvsiir.htm"> Digital Signal Processing Logic </A>
|Did you find what you needed?|
PICList 2018 contributors:
o List host: MIT, Site host massmind.org, Top posters @20181016 RussellMc, Van Horn, David, Sean Breheny, David C Brown, Bob Blick, Neil, Isaac M. Bavaresco, John Gardner, Harold Hallikainen, Denny Esterline,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to www.piclist.com!