LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Finding width of FFT peak

Hi,

i have a signal with single peak at a particular frequency.

Now i wish to filter out that peak using a bandstop filter.

However, for that I need to find the bandwidth of that peak which is observed. (in frequency domain obviously)

Is there any way I can do that?

0 Kudos
Message 1 of 10
(4,185 Views)

@Bgmnt wrote:

Hi,

[..]

Is there any way I can do that?


Sure. The question is what you expect to get.

The first thing is that your signal has to be free of alias frequencies. Otherwise, all analysis is non-sense.

The second thing is that the resolution of the frequency correlates to the resolution of the time. That means: the higher your sampling rate, the better your frequency resolution will be after the transformation (FFT). => "Bandwidth of the peak" makes only sense if the width is greater than the resolution of the frequency.

 

When using the Peak Detector.vi, you could evaluate the width input and 2nd derviate output if that includes data you are looking for.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 10
(4,156 Views)

I am using tone measurement block for measuring tone frequency.

Capture.PNG

 

Isnt peak detection used for time domain signals?

 

0 Kudos
Message 3 of 10
(4,150 Views)

Also width is an input in peak detector vi. I want to display the bandwidth as an output .

0 Kudos
Message 4 of 10
(4,147 Views)

Please read the help for Peak Detector.vi.

This function works on arrays arrays. It doesn't matter if the array reflects data of time or frequency domain.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 5 of 10
(4,141 Views)

Hi.

width is an input to peak detector vi

I want the width of the peak as a n OUTPUT. that is i want to findth the range of frequencies that it spawns so that i can filter that out using bandstop filter of the detected bandwidth

 

0 Kudos
Message 6 of 10
(4,086 Views)

use waveform analysis multi scale peak detection vi...

 

 There are  two ways to tell s thanks in forums : either give Kudos or  Marked Solutions

0 Kudos
Message 7 of 10
(4,079 Views)

also

"Peak detection is one of the most important time-domain functions performed in signal monitoring".

as mentioned by NI "http://www.ni.com/white-paper/3770/en/"

 

0 Kudos
Message 8 of 10
(4,075 Views)

Rizwan,

width is an input for this too.Smiley Sad

0 Kudos
Message 9 of 10
(4,069 Views)

Use peak detect to find it, then just fit a Gaussian to the peak. You can then calculate the FWHM.

0 Kudos
Message 10 of 10
(4,050 Views)