LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

filter on FPGA vi

Hi,

 

I'm trying to make a simple FPGA I/O vi for a closed loop control system, and I'm wondering if anyone has tips for reducing signal magnitude at ~300Hz with minimal phase shifts. I've tried the butterworth and notch filters and can't seem to improve my result with these as their associated shifts just make my problem worse. Is there anyway to use a window and output only about 1-280Hz?

 

Thanks

0 Kudos
Message 1 of 6
(2,517 Views)

what is the response of the system you are trying to control?  what is your acquisition rate? what order filter did you use? what cutoff frequency did you try?

Stu
0 Kudos
Message 2 of 6
(2,509 Views)

I'm controlling an acceleration signal for AVC. My sample rate is 50KS/s, and I've tried 4th order LP Butterworth filters with multiple cuttoff frequencies from 150-300 Hz. I've also tried using countless arrangements of notch filters, but the system is very sensitive to any phase effects.

0 Kudos
Message 3 of 6
(2,497 Views)

what do you think the response of the system is?

controlling velocity would be more typical.  achieving acceleration by controlling velocity ramp.

why acceleration?

Stu
0 Kudos
Message 4 of 6
(2,492 Views)

I'm using acceleration because the amp that powers my accelerometer only outputs the veloctiy signal in a very narrow bandwidth (~1-110Hz), whereas acceleration responds in  a broader range from ~1-450Hz. I've been staying away from integrating the signal to stay away from noise and lag....plus I can find a way to integrate the signal cleanly on the FPGA.

0 Kudos
Message 5 of 6
(2,480 Views)

what is the desired frequency response?  what is your control system capable of?

Stu
0 Kudos
Message 6 of 6
(2,460 Views)