LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Implementation of iir filter

i want to implement each second order stage using the direct form II filter equations
s[i] = x[i]-a1s[i-1]-a2s[i-2]
y[i] = b0s[i]+b1s[i-1]+b2s[i-2]

can anybody please tell me how to implement this
0 Kudos
Message 1 of 2
(2,293 Views)
Do this in a for loop. (For each of your input points).
For the delay elements, use the shift registers on the for loop. (Right click on for loop and add shift register.) If you click on the shift register element and drag it down (as if to resize it vertically) you will get another element underneath it. The top one is your first delay, the bottom one is your second delay, etc. You can do the same thing with your output also. Hope this helps.

If you have more questions, e-mail me @
faraclas@engr.uconn.edu
0 Kudos
Message 2 of 2
(2,293 Views)