Signal Conditioning

Showing results for 
Search instead for 
Did you mean: 

How to caculate FPGA Butterworth Coefficients

Go to solution



I am using the National Instruments (FPGA) 'Butterworth Filter' VI, to implement a 2nd order low pass filter.

The input and output signals are Fixed Point numbers with a signed integer word length of minus 4. I have been able to configure the cut-off frequency using the VI's dialog box, but I'd like to make this configurable at run time.The VI has an input called 'Scaled Coefficients', which takes a 3 element array of 32 bit signed integers.I therefore need to determine the value of these coefficients, but the documentation does not include information on how to calculate them.

I have noticed that the Real Time module includes a 'Butterworth Coefficients' VI, which outputs 5 doubles consisting of 3 forward coefficients and 2 reverse.

I am not sure whether i can use these values, or how to scale them to the integers for the FPGA VI?


Thanks for your help.

0 Kudos
Message 1 of 2
Accepted by topic author sparkymark567

I have found the VI to calculate the required coefficients under FPGA interface.

0 Kudos
Message 2 of 2