LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA Filter Utilization

Solved!
Go to solution
I'm currently using a succession of filters in an application of mine. My question is that I've noticed performance benefits, via resource saving, implementing the multiple filters in a For-Loop. The caveat is that for my Butterworth filter, I cannot configure it for multiple channels because I need the filter configured for an Order of 4. For the second filter, it is acceptable to use the multiple channel configuration. Please see my examples in the attached Block Diagram. It appears that the 1st case is more efficient regarding resource usage on the FPGA. Would anyone see a reason why both cases would produce different results? Additionally, would Feedback Nodes increase efficiency? Thanks!
0 Kudos
Message 1 of 5
(3,221 Views)
I seem to not be able to upload the image as an attachment. Here's a link. http://i.imgur.com/sqPoy.png
0 Kudos
Message 2 of 5
(3,217 Views)
Solution
Accepted by jlgeris

The first method is treating the 4 AIs as a single channel, so it is not doing what you want. The second method is correct, but costs more since it has to instantiate 4 independent filters.

 

One option would be to cascade 2nd order multichannel filters to make a 4th order. Use the single-channel 4th order "Butterworth Coefficients" VI from the FPGA Interface>>Scaling palette to get the 6 coefficients you need. Pass 3 of those coefficients into each 2nd order stage. I haven't tried this myself, but can help if you run into problems.

 

I don't see any benefit to adding feedback nodes, but am not sure what you have in mind there.

0 Kudos
Message 3 of 5
(3,193 Views)

LabVIEW 2010 allow you to configure the butterworth for multiple channels so the first diagram would work if you make that change.

Stu
0 Kudos
Message 4 of 5
(3,185 Views)
Thank you. I will see if I can implement your recommendation as well.
0 Kudos
Message 5 of 5
(3,180 Views)