IIR filter and FIR filter

  • Thread starter sdfzz
  • Start date
  • #1
6
0
Hi all..

I'm a new to filters and I need some help understanding filters (I'm in mechanical engineering)

So far, I've found out that FIR filters use convolution and has a finite impulse response.

On the other hand, IIR filters are recursive and have an infinite impulse response.

But, what if I get the impulse response of an IIR filter (Butterworth, for example) and convolute the response with a signal? (given that I use only a part of the infinite signal).

Does this still count as an IIR filtering? Can I apply an IIR filter this way?

Any help would be appreciated.

Thank you
 

Answers and Replies

  • #2
240
2
Well - taking the convolution sum and truncating it to some finite range is effectively taking an FIR approximation of a given IIR filter, which is actually one of the techniques to design FIR filters.
As a practical way to model a system, it's ok, it can even be pretty accurate - eventually any IIR impulse response decreases to a certain level bellow which the quantization makes it effectively zero, but theoretically it is wrong, and off course using the recursive way to calculate the response is always more accurate than approximating with FIR.
 
  • #3
6
0
Thank you for your reply :)
 
  • #4
6
0
Can I ask one more question?

If I have a low pass filter, whose transfer function is

H(s) = a/(a+s),

It it an IIR filter or FIR filter?
 
  • #5
1,679
3
It is neither.

The discrete-time versions are an approximation to the continous transfer function.

The FIR approximation will come as close as you want to analog. The IIR version is very good but not exactly the same.

The IIR version of that filter includes a zero in the numerator at the nyquist frequency.

It's roughly y(n+1) = b*y(n) + c*(x(n)-x(n-1)).
 
  • #6
6
0
Thank you for your reply and sorry for keep asking...

The equation I'm dealing with contains a convolution, like A = f*B, where B is the input signal and f is the impulse response of a filter.

Does this mean that I am forced to use FIR filtering and no Butterworth or Chebyshev for me? (man... they look so attractive)

Also, Butterworth has a nonlinear phase, but FIR filters have a linear phase. However, if I use the impulse response of the Butterworth to do convolution (which is FIR filtering), do I still get a linear phase?

Thank you
 
  • #7
1,679
3
If you must convolve then yes FIR is required. Are you sure you must convolve?

You cannot get linear phase from an IIR.
 
  • #8
6
0
Sadly, yes. I must convolve....

Will there be any advantages of taking FIR approximation of IIR filters?
 
  • #9
rbj
2,226
9
The IIR version of that filter includes a zero in the numerator at the nyquist frequency.

not necessarily. if the analog filter was digitized using the bilinear transform, then it's true. but not necessarily if it was converted from analog to digital by other means (like Impulse Invariant).
 
  • #10
6
0
Thank you all for your help :)
 

Related Threads on IIR filter and FIR filter

  • Last Post
Replies
2
Views
3K
  • Last Post
Replies
2
Views
3K
  • Last Post
Replies
1
Views
3K
Replies
2
Views
868
Replies
2
Views
3K
  • Last Post
Replies
1
Views
1K
Replies
1
Views
2K
  • Last Post
Replies
1
Views
3K
  • Last Post
Replies
1
Views
5K
  • Last Post
Replies
4
Views
4K
Top