LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bandpass Filter in FPGA

Hi,

 

I am trying to implement filters in FPGA, low-pass and High-pass filters are working as expected in my code, but the band-pass filter is not working, the signal output is getting a DC offset added to the signal, I have attached the project, 

FPGA_CODE.JPG

This is the FPGA code I have made, the Top loop is generating a sine wave and I have looped back the signal in the hardware from AO 0 to AI 0. The raw signal is coming perfectly. Using the LPF and HPF is also working fine. Now I'm stuck with Bandpass filter. I can see that when I'm giving the output from a filter block as an input to another filter block, the response is not correct, and the FFT shows a DC offset in the RT VI, Please suggest the changes I need to make, I have gone through other posts in forum and examples, but could not make this working. (Though our legacy code use this same technique to filter the noise, we can't use the same code, and don't know how that is working since years ! )

Message 1 of 1
(2,794 Views)