Understanding Frequency Smearing in FFT

  • Thread starter Thread starter dmorris619
  • Start date Start date
  • Tags Tags
    Fft Frequency
Click For Summary
SUMMARY

The discussion centers on the concept of frequency smearing in Fast Fourier Transform (FFT) analysis, particularly regarding amplitude determination within frequency bins. It is established that the amplitude of each bin is derived from the Discrete Fourier Transform (DFT) formula, and that zero padding can enhance the visual representation of the spectrum without improving frequency resolution. The use of windowing techniques, specifically the Hanning window, is recommended to minimize side lobe effects and improve amplitude clarity. The inherent limitations of frequency resolution due to the nature of the FFT and DFT are also emphasized.

PREREQUISITES
  • Understanding of Fast Fourier Transform (FFT) and Discrete Fourier Transform (DFT)
  • Familiarity with signal processing concepts, including frequency bins and amplitude calculation
  • Knowledge of windowing techniques, particularly the Hanning window
  • Basic understanding of zero padding in signal processing
NEXT STEPS
  • Research the mathematical foundations of the Discrete Fourier Transform (DFT)
  • Learn about different windowing techniques and their effects on FFT results
  • Explore the implications of zero padding on frequency resolution and spectrum visualization
  • Investigate resources such as bores.com and the comp.dsp USENET newsgroup for further learning
USEFUL FOR

Signal processing engineers, audio engineers, and anyone involved in analyzing frequency components of signals using FFT techniques.

dmorris619
Messages
41
Reaction score
0
I understand that for the FFT the resolution or bin size is a function of the number of samples in your signal and that while padding the signal with zeros will make the graph look more precise it will not enable you to resolve between two frequencies if they are contained in the same bin. What I do not understand is how the amplitude of each bin is determined. For example, so I have a bin size of 5 Hz and I have two cosine signals of equal magnitude in that bin separated by 1 Hz(lets say 1000 and 1001) why does the magnitude of that reported bin not equal 2? As they are moved further apart the amplitude becomes even less and also starts impacting the bin next to it as well. I imagine this has something to do with the fact that in the rectangularly windowed FFT cosine and sine are sincs rather than diracs, but am not exactly sure why the amplitude comes out to some seemingly(to my inexperienced eyes) random value. This then leads me to ask two more questions. The first is whether there is some kind of formula to determine the amplitude give the frequency and the amplitude of my cosines. The second and more ignorant question, is there anything I can do, like windowing, to make it so that the amplitude seems more logical for a bin size(so two equal magnitudes are twice the magnitude). Again the second question really is based in the fact that I don't fully understand what the meaning of each bin's amplitude is, i.e. those seemingly arbitrary numbers actually correlate to some important part of the FFT.
 
Engineering news on Phys.org
The FFT uses the same formula as the DFT to perform the Fourier transform (it just uses some fancy manipulations to speed up the calculations). So the amplitudes in the FFT are calculated using the DFT formula, which you can find here:

http://en.wikipedia.org/wiki/Discrete_Fourier_transform#Definition

For your second question, I'm not really sure of the answer. I doubt it's possible to make the amplitude results completely logical (i.e. two frequencies of identical amplitude in a bin adding up to 2), since that would cause the FT calculation to be irreversible. For example, if you had 1000Hz and 1002Hz and that gave you the same spectrum as 1000Hz and 1001Hz, then what would the inverse Fourier transform give you? It should be different for the two cases, but it can't be if those cases give the same spectrum.
That being said, there might be some way to make it at least more meaningful by windowing as you suggest, but I don't know enough about that to be of any help unfortunately.

If you're concerned about where the numbers are coming from, I'd suggest zero padding the signal before transforming it. As you say, this won't allow you to separate the frequencies any better (because of the sinc vs. delta problem), but it will add more bins which will help 'fill-out' the spectrum. That should allow you to view the actual shape of the spectrum at the frequencies of interest.
 
After more research I realized that the height isn't random but it is the sum of all of the sincs at that frequency. So why it may not be logical visually mathematically it is logical for the exact reason of being reversible. However I was able to help limit the amount to which the bin affected each other by windowing the data. I specifically used the hanning window to severly reduce the amplitude of the side lobes at a minimal cost to main lobe width.

Another great website to learn all of this from is bores.com
 
i would also suggest the USENET newsgroup, comp.dsp.
 
I am trying to understand how transferring electric from the powerplant to my house is more effective using high voltage. The suggested explanation that the current is equal to the power supply divided by the voltage, and hence higher voltage leads to lower current and as a result to a lower power loss on the conductives is very confusing me. I know that the current is determined by the voltage and the resistance, and not by a power capability - which defines a limit to the allowable...

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
2K
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
4
Views
2K
  • · Replies 15 ·
Replies
15
Views
5K
  • · Replies 4 ·
Replies
4
Views
23K
  • · Replies 10 ·
Replies
10
Views
3K