Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Peak detection FPGA

Hi,

 

I m trying to impletment peak detection program on FPGA itself. I know that there is an example peak detection can be done on Host VI. But I want to identify the frequency of the peaks of a non periodic signal on FPGA target VI itself, so that I can control a mobile robot without any connection with my host PC. 

 

Upto now I could finish FFT part and now I m facing the problem how to detect the peak frequencies on FPGA itself. I m using cRIO 2010 system. If somebody can give me a tipp, It would be nice.

 

Cheers

 

Farb16

0 Kudos
Message 1 of 3
(5,197 Views)

Hello Farb16,

 

if you want to detect the frequency peak directly in FPGA target, my suggestion is to scan all the points of the FFT data.

When you find a maximum value, than you have the peak frequency. This is very hw consuming in FPGA, so yiou should think about the best way to implement this algorithm.

May you attach the code here so I can take a look?

 

Kind regards.

0 Kudos
Message 2 of 3
(5,185 Views)

Hi there,

 

there has been a similar post before.

May you can find some useful hints:

 

Peak Detection Algorithm for FPGA LabView - NI Discussion Forums
http://forums.ni.com/t5/LabVIEW/Peak-Detection-Algorithm-for-FPGA-LabView/td-p/1174905

 

Best regards

Jörg

0 Kudos
Message 3 of 3
(5,157 Views)