LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hey guys!!! currently i dealing with project on 5 th order iir filter

 I designed iir filter using direct form -II. can someone help me in how to modify the VI so that dynamically  a,b coefficients are taken  from user and how

 to design a vi that takes zeros and poles as input from user and display phase and magnitude response of it.

0 Kudos
Message 1 of 9
(1,126 Views)

Hi soujiss,

 


@soujiss wrote:

 I designed iir filter using direct form -II. can someone help me in how to modify the VI …


To modify your VI you need to attach your VI!

Best regards,
GerdW


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

The below is the vi  designed by me which is working absolutely fine for second order how can we extend it to 5th order

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

Hi soujiss,

 


@soujiss wrote:

The below is the vi  designed by me which is working absolutely fine for second order how can we extend it to 5th order


  • Why are there so many "multiply with zero" functions in your VI? I don't understand the calculation you do…
  • Why do you display simulated waveforms in a scalar indicator using dynamic datatype???
  • Why do you need 3 stop buttons?
  • Why are the frontpanel elements scattered around and so create a huge frontpanel?
  • Why don't you use charts to display your input/output data? (No need for that 3rd loop!?)

When you want help with your VI you should provide more information on what your VI already does and how it works (and how it should work)…

Best regards,
GerdW


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

@soujiss wrote:

The below is the vi  designed by me which is working absolutely fine for second order how can we extend it to 5th order


Start with the tutorial and learning resources listed at the top of the forum! (Very, very important!)

 

As has been said, there are glaring mistakes, race conditions, and just plain crazy code constructs.

 

All you need is exactly one loop where you generate the data, then filter and display it.

 

If you have a "working" program for second order, why don't you attach that too so we can see your definition of "working" and maybe glean some ideas. thanks!

 

(That YouTube video is for FPGA and never shows any code. Is there another one that actually shows a diagram somewhere?)

0 Kudos
Message 6 of 9
(1,046 Views)

Your image seems to be from this publication and really has nothing to do with LabVIEW. You still have not shown us the "working" second order example you made.

0 Kudos
Message 8 of 9
(1,033 Views)

according to the general equation of iir filter i..e h(z) =b0+b1*z^-1+b2*z^-2/1+a1*z^-1+z^-2  the filter was designed

0 Kudos
Message 9 of 9
(1,022 Views)