Signal Processing Concepts and Engineering Insights. 


Explore signal processing concepts, algorithm comparisons, and practical engineering insights.
Topics include FFT vs STFT, FRF analysis, filtering techniques, and other signal processing methods used in real engineering workflows. 

Frequency & Spectral ProcessingDistortion, Leakage, and Smearing in FFT : Understanding Why Frequency Analysis Can Mislead You

Distortion, Leakage, and Smearing in FFT : Understanding Why Frequency Analysis Can Mislead You

Fast Fourier Transform (FFT) is one of the most widely used tools in signal processing. However, in practice, FFT results often appear misleading due to several fundamental limitations.

Three key phenomena frequently affect FFT results

  • Distortion
  • Spectral Leakage
  • Smearing (Resolution Loss)

In this article, we analyze these effects using controlled examples in MALMIJAL, comparing

  1. Ideal case (No Distortion)
  2. Distortion with Leakage
  3. Distortion with Smearing and Leakage

812fba9adcab7.png

FFT distortion, leakage, and smearing comparison showing how frequency components spread and mislead spectral analysis

Test Signal Configuration

The input signal consists of three sinusoidal components

input signal consists of three sinusoidal components


Key point

  • The 100 Hz and 103 Hz components are intentionally close
  • This makes the example sensitive to resolution and leakage effects


Case 1: Ideal FFT Representation (Bin-Aligned Condition)

Time Domain Signal

Time domain waveform showing combined sine signals at 10 Hz, 100 Hz, and 103 Hz without distortion

Time-domain signal composed of 10 Hz, 100 Hz, and 103 Hz components (refer to Samples/distortion.mmj)


FFT Result

Frequency spectrum showing sharp peaks at 10 Hz, 100 Hz, and 103 Hz with no spectral leakage

FFT result with perfectly resolved frequency components (no leakage or distortion)


In this first case, the time-domain signal is simply the sum of three sinusoidal components

24775228d2573.png


There is nothing unusual about the signal itself.
What makes this case “ideal” is the FFT condition, not the waveform.

Here, the FFT is configured so that the frequency resolution is

frequency resolution


This means the signal components at 10 Hz, 100 Hz, and 103 Hz fall exactly on FFT bin locations. As a result, the spectrum is represented with sharp and well-separated peaks.


Observations

  • The signal itself is not special or “cleaner” than in other cases.
  • The important point is that the FFT bins align with the signal frequencies.
  • Under this condition, spectral leakage is minimized and the frequency components appear exactly where expected.


Key Insight

This ideal result occurs only when:

  • The signal length T matches integer multiples of each frequency period
  • The FFT bin spacing aligns with signal frequencies


Case 2: Spectral Leakage Due to Frequency-Bin Mismatch

Time Domain Signal

Time domain waveform showing combined sine signals at 10 Hz, 100 Hz, and 103 Hz without distortion

Time-domain signal composed of 10 Hz, 100 Hz, and 103 Hz components


FFT Result

Frequency spectrum where energy around 10 Hz and 100 Hz is spread across neighboring bins

FFT result showing spectral leakage around the 10 Hz and 100 Hz components


At first glance, the time-domain waveform in this case looks essentially identical to Case 1.
That is expected, because the underlying signal is still the same combination of 10 Hz, 100 Hz, and 103 Hz components.

The difference is not in the signal itself. The difference is in the FFT setup. In this case, the FFT size is changed from 1000 to 1024, which changes the frequency resolution from

Δf = 1 Hz to Δf ≈ 0.977 Hz


Now the 10 Hz, 100 Hz and 103 Hz components no longer fall exactly on FFT bin centers. Because of this mismatch, their energy spreads into neighboring bins, producing spectral leakage.


Observations

  • The time-domain signal is not distorted.
  • The distortion appears in the frequency-domain representation.
  • This is better described as FFT-induced spectral distortion or spectral leakage, not waveform distortion.


Spectral Leakage Explained

FFT assumes that the signal is periodic within the observation window

If this condition is violated

  • The signal is effectively truncated
  • This introduces discontinuities at the window edges
  • Resulting in energy spreading across frequencies


Case 3: Smearing and Leakage Under Reduced Observation Time 

Time Domain Signal

Time domain waveform with shorter duration causing reduced frequency resolution

Time-domain signal with reduced observation length leading to poor resolution


FFT Result
Frequency spectrum with broadened peaks and overlapping frequency components due to smearing

FFT result showing both smearing and leakage, making frequency separation difficult 


Observations

  • Spectral peaks become broader.
  • Close frequencies (100 Hz and 103 Hz) are difficult to distinguish.
  • Overall spectrum appears blurred.


Smearing (Resolution Loss)

Frequency resolution is determined by

31ba5948418fb.png 

Where,

  • Trecord : observation time, record length
  • Δf : frequency resolution
  • Fs: sampling frequency
  • N: number of samples


Interpretation

  • Shorter Trecord → larger Δf
  • Larger Δf → lower ability to separate close frequencies


Practical Impact

ConditionResult
Long observation timeHigh resolution
Short observation timeSmearing
Misaligned windowLeakage



Practical Implications

In real-world signal analysis

  • Apparent “noise” is often spectral leakage
  • Unexpected frequency components may be spectral artifacts
  • Poor resolution may hide critical features



How to Mitigate These Effects

1. Increase Observation Time

  • Improves frequency resolution
  • Reduces smearing


2. Apply Window Functions

Common choices

  • Hanning
  • Hamming
  • ...

These reduce discontinuities and minimize leakage.


3. Align Sampling Conditions (Coherent Sampling)

  • Ensure signal contains integer number of cycles
  • Match FFT bin spacing to signal frequencies



Key Takeaways

  • FFT results are not absolute truth
  • They are highly dependent on sampling and processing conditions


Always interpret FFT results in the context of

  • Signal length
  • Windowing
  • Frequency resolution


Suggested Further Reading

You may also find these topics helpful: