Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66651

IIR Filtering and response .vi: Butterworth filter magnitude response depends on sampling rate -why?

$
0
0

Hi folks,

I am not expert in filter design, only someone applying them, so please can someone help me with an explanation?

I need to filter very low-frequent signals using a buttherwoth filter 2. or 3. order as bandpass 0.1 to 10 Hz .

Very relevant amplitudes are BELOW 1 Hz, often below 0.5 Hz but there will be as well relevant amplitudes above 5 Hz to be observed.

This is fixed and prescribed for the application.

However, the sampling rate of the measurement system is not prescribed. It may be between say between 30 and 2000 Hz. This will depend on whether the same data set is used for analysing higher frequencies up to 1000 Hz of the same measurement or this is not done by the user and he chooses a lower sampling rate to reduce the file sizes, especially when measuring for longer periods of several weeks.

To compare the 2nd and 3rd order's magnitude response of the filter I used the example IIR Filtering and response .vi:

I was very astonished when I the found that the magnitude response is significantly influenced by the SAMPLING RATE I tell the signal generator in this example vi.

 

Can you please tell me why - and especially why the 3rd order filter will be worse for the low frequency parts below 1 Hz of the signal. I was told by people experienced with filters that the 3rd oder will distort less the amplitudes which is not at all true for my relevant frequencies below 1 Hz.  

 

In the attached png you see 4 screenshots for 2 or 3 order and sampling rate 300 or 1000 Hz to show you the varying magnitude responses without opening labview.

 

THANK YOU for your ANSWERS!!!

 

chris

 


Viewing all articles
Browse latest Browse all 66651

Trending Articles