LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Butterworth Filter design

Hello,

I need to design a butterworth filter with following characteristics:

 

1. Type: Low-Pass
2. Characteristic: Butterworth
3. Cutoff-Frequency: 60 Hz
4. Tolerance level at 0 Hz : +0,1/-0,2 dB
5. Tolerance level at 60 Hz : (-3dB) +0,1/-0,3 dB
6. Slope: 24 dB/Octave
7. Tolerance level of the slope : +5/-5 dB
8. Attenuation band: -50 dB

 

The sample rate is 2 kHz.

I guess it must be a butterworth filter 4th-order (because the slope is 24 dB/Octave) with a low cut off frequency of 60 Hz.

But what is the attenuation band and how can I find out the tolerance levels?

 

Thanks for your help!

 

0 Kudos
Message 1 of 9
(3,897 Views)

Hi nimirope,

 

there are online resources like this or that to determine filter parameters. Have you tried them?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 9
(3,890 Views)

Thank you for your help. Unfortunately I have no idea how to use the filter design tools.

Can't I use the butterworth VI like this?:

 

0 Kudos
Message 3 of 9
(3,883 Views)

Hi nimirope,

 

Can't I use the butterworth VI like this?

Yes sure!

But it doesn't provide all the options you want to configure…

 

Those webtools atleast offer some insights and ideas on how to design your filter and how to implement them. (LabVIEW also supports FIR and IIR filters!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 9
(3,880 Views)

Could you recommend me any tutorials or examples?

0 Kudos
Message 5 of 9
(3,865 Views)

And why doesn't the butterworth vi in labview provide all the options I need for my task?

0 Kudos
Message 6 of 9
(3,847 Views)

Hi nimirope,

 

why doesn't the butterworth vi in labview provide all the options I need for my task?

Because for "usual" requirements you don't need those settings. Filter order and cutoff frequency is most often sufficient, the other parameters are set by the filter type (aka Butterworth)…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 9
(3,843 Views)

Hi GerdW,

 

I downloaded the digital filter design tool for labview.

Could you please tell/explain me what I have to put into the passband ripple and stopband edge frequency?

 

0 Kudos
Message 8 of 9
(3,815 Views)

Hi nimirope,

 

I never used that tool (or toolkit)…

 

what I have to put into the passband ripple and stopband edge frequency?

Passband ripple: max deviation from gain=1 in the passband (your "tolerance level at 0 Hz")

stopband edge frequency: frequency, where does the filter needs to meet the stopband attenuation

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 9
(3,812 Views)