07-03-2024 10:37 AM
I've designed a Chebyshev 8th order digital IIR filter. Labview gives the coefficients for a four second order section cascaded structure (8th order in total).
How do I obtain the equivalent direct form coefficients using LabView ?
I've tried the convert structure icon but I get the 8th order/2nd order mismatch error.
Any help appreciated.
07-03-2024 03:09 PM - edited 07-03-2024 03:10 PM
@HectorBilly wrote:
I've designed a Chebyshev 8th order digital IIR filter. Labview gives the coefficients for a four second order section cascaded structure (8th order in total).
How do I obtain the equivalent direct form coefficients using LabView ?
I've tried the convert structure icon but I get the 8th order/2nd order mismatch error.
Your post is very hard to understand:
I recommend to attach a simplified version of your VI so we can actually understand what this is all about.
(Make sure to "save for previous", 2020 or below before attaching)
07-05-2024 07:32 AM
Hi
I'm using LabView to generate coefficients for a real time IIR filter I've written for the STM32F407G Discovery board.
My program requires the IIR coefficients to be "plug in" compatible with the Direct Form 2 filter structure.
Using LabView's Signal Processing\Digital Filter Design\Design\Classical filter function I've designed a Chebyshev IIR low pass filter.
I have then connected a Signal Processing\Digital Filter Design\File i/o\Save Text function to the output of the filter in order to store the filter design to an .xml file. The .xml file gives the filter coefficients for cascaded second order sections.
My question is:
Is there a LabView function which will sit between the filter output and the save text input which will convert the cascaded second order section coefficients to Direct Form 2 coefficients prior to saving the design to the .xml file ?
Thanks.
07-05-2024 09:17 AM
Thanks for the clarifications, now things make a lot more sense. 😄
Unfortunately, I don't have the digital filter design toolkit installed, but hopefully somebody else will be able to help.