05-13-2016 12:11 PM
HI all,
Simply I am doing frequency sweep. The attached photot has three graph, on the top left you can see I am getting - 16 dBm which is the same as I generated, on the right top graph is the FFT of each single step. the below graph shows the result of the power and frequency sweep of the total steps.
I am getting some wrong values in AMPLITUDE after inserted them in FFT, I tried to add zero padding to make the FFT work to power of 2 but i still have the same problem.I have read that the problem beacuse of spectral leakage but I don't know how to overcome this problem. Any support? Thanks in advance
Regards
05-13-2016 08:31 PM
05-14-2016 06:03 AM
Hi mike,
actaully this old post that you mentioned is different totally. I had got wrong amplitude when I inserted the values to the basic FFT. but I got right values when I use other kind of FFT. Then I google it and I found that I have to scale the output in order to get right amplitude, have a look for the below link.
http://digital.ni.com/public.nsf/allkb/EB86C3F027DF072186256DB0006C3612
now my problem is when I do frequency sweep I got wrong values as I mentioned before, but when I insert only one value at each time I still can get right amplitude.
05-14-2016 08:31 AM
05-14-2016 08:37 AM
05-14-2016 10:35 AM
05-16-2016 05:02 AM
Thanks Mike for your explination,
as you mentioned I have tried to use windowing but it doesn't sort out the problem. Is there any other way that I can use it to solve the problem? thanks in advance
05-16-2016 08:04 AM
05-16-2016 08:17 AM
hmmmm, Ok, isee. Thank you so much for your comment
05-16-2016 08:19 AM
Getting more data may help. But only if the data is meaningful.
If you can slow the sweep and increase the sampling rate then you get more samples at (or near) each frequency. It is best if you can have a data set which is sampled at only one frequency as opposed to a varying frequency. That will improve the frequency resolution.
Since it looks like your signal has a high signal to noise ratio, condsider calculating the sum of the energy in all the frequency bins near the peak which are above some threshold. That will probably be closer to the "amplitude" you think you should get.
Lynn