06-20-2019 01:47 AM
I am analyzing a bunch of time series signals meausred at diffrent magnetic fields to pick up the main compoment frequency and plot them.
Method 1: I use the extract single tone information VI. It can easily detect the center freqency of the spectrum and the results looks smooth except there is always frequecy jump at some positions. See the following snapshot with red circle highlighted.
Method 2: I use curve fitting function(Lorentz function) on FFT data (from extract single tone information VI output) to get the center freqencies. The plot seems smooth all the way. But it looks noisier than that the extract single tone information VI gives.
The question is, how these jump happens using the extract single tone information VI detected frequency? Why are the fitting results noisier than that the extract single tone information VI gives?
Thanks.
WT
Solved! Go to Solution.
06-20-2019 01:56 AM
06-20-2019 07:19 PM
HI GerdW,
Thanks.
attached are part of the data set.
Use the FFT-fit-profile-auto_ver0.2a.vi to batch processing the data by select the folder where contains data and then click the button "AUTO start".
Method "Single Tone Info" using the extract single tone information VI to detect the main frequency.
Best regards,
WT
LV2013
06-21-2019 12:46 AM
06-21-2019 04:09 AM
Hi GerdW,
I may not present my question clearly. Please see the attached snaphsots.
Thanks.
WT
06-21-2019 04:19 AM
06-22-2019 04:56 AM
GerdW
We are doing very sensitive measurement. This jump is a big deal !
Please see the full data results.
Thanks.
Best regards,
WT
06-24-2019 11:49 AM
The Extract Single Tone Information.vi algorithm applies a Hanning window and then looks for the frequency bin that is largest in magnitude and uses that bin and the adjacent bins (total of three bins) to estimate the tone frequency. This means that other bins are ignored in the estimation. Depending on your noise you may get "unlucky" with the estimate. You might try using the Extract Multiple Tone Information.vi, as it uses a different algorithm that uses more bins. When I tried Extract Multiple Tone Information.vi on your data it yielded a smoother estimate.
I did not look carefully at the formulas, but the spectrum that is passed to the fitting VI is in units of dB. Extract Single Tone Information.vi does not convert to dB before estimation, so there may be slight differences because of that.
-Jim
06-25-2019 05:22 AM
Hi DSPGuy
Thanks for your solutions. The Extract Multiple Tone Information.vi does work!
Best regards,
WT