LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

peak detection in certain frequency

Hello everyone.

 

I am a rookie of labview, and I want to realize a program.

 

The program reads in data and then do FFT transform.

 

After getting FFT waveform, I want to search the waveform for peak in certain frequency, say 0.4~0.6Hz,

 

and then output its magnitude.

 

I have done the FFT part, but I have no idea about peak detection in certain frequency.

 

Please help me! Thanks!

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

Since youve managed to move the signal into the frequency domain this becomes rather easy.  use the Array subset function to get an array of powerleves starting at the low cutoff freq and containing R samples (R = highest freq - lowest freq / Freq resolution)

 

Then use Array min max to return the largest power and calculate the frequency from its index! Smiley Very Happy


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 5
(3,943 Views)

 

i can understand your way.

 

if there are 1024 samples in the original signal, then after FFT, there are still 1024 samples in FFT waveform.

 

But how can I know the index certain frequency starts and ends?

 

0 Kudos
Message 3 of 5
(3,930 Views)
I guess you want to extract the frequency, amplitude and phase of a single-tone signal. You can use “Extract Single Tone Information.vi" directly. 
0 Kudos
Message 4 of 5
(3,887 Views)
Isnt this what you want ?
Regards
Asad Tirmizi
Design Engineer
Institute of Avionics and Aeronautics

" Its never too late to be, what u want to be"
Using LabVIEW 8.2
0 Kudos
Message 5 of 5
(3,880 Views)