Why do the spectra of distorted waves have humps?

  • Thread starter Thread starter danbullard
  • Start date Start date
  • Tags Tags
    Spectrum
Click For Summary

Discussion Overview

The discussion revolves around the phenomenon of humps appearing in the spectrum of distorted sine waves after performing a Fast Fourier Transform (FFT). Participants explore the implications of wave distortion, particularly through clipping, and its effects on the resulting frequency spectrum.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant notes that the spectrum of a clipped sine wave resembles a combination of a sine wave and a square wave, depending on the extent of clipping.
  • Another suggests that clipping introduces a DC component and that the finite duration of the flat top created by clipping may contribute to spectral dips.
  • A later reply emphasizes that the spectral graph can be misleading due to the dB scale, indicating that the energy outside the fundamental frequency is relatively low.
  • One participant posits that the asymmetrical clipping raises even harmonics and the DC component, while questioning the role of duty cycle in the observed humps.
  • Questions are raised regarding the anti-aliasing filter, window function, and whether the A-D sample contains an integer number of cycles, suggesting these factors may influence the spectral characteristics.

Areas of Agreement / Disagreement

Participants express various viewpoints on the causes of the spectral humps, with no consensus reached on a singular explanation. Multiple competing theories regarding the effects of clipping and sampling are presented.

Contextual Notes

Participants acknowledge that the relationship between clipping, sampling, and spectral output is complex, with assumptions about symmetry and duty cycle affecting interpretations. The discussion highlights the need for careful consideration of signal processing principles.

Who May Find This Useful

This discussion may be of interest to those studying signal processing, physics, or engineering, particularly in the context of waveform analysis and Fourier transforms.

danbullard
Messages
1
Reaction score
0
TL;DR
distorted waves spectra humps
When I distort a sine wave by clipping or other mechanisms, I get humps in the spectrum after doing an FFT. They don't appear to be random, so where did they come from? Here is the time domain picture of a sine wave clipped on the top of a 16 bit ADC.
top_clipping_sinewave_captured.png

And here is the spectrum, note the humps.
top_clipping_sinewave_fft_zoomed.png
 
Engineering news on Phys.org
Start by searching spectrum of square wave. The spectrum of a clipped sine wave is somewhere between that of a sine wave and that of a square wave. It depends on how much the sine wave is clipped.

You can get more information by searching Fourier series. The Wikipedia hit has some good diagrams. If you are really curious after the above, search Fourier transform. If the above leaves you confused, that's because there is a lot that is not covered in these simple internet searches. If you are curious enough to want to get a solid base, you would need a class in signal processing. Such a class would normally be a graduate level class for a person majoring in physics or engineering, although it might be available to a senior level undergrad.
 
  • Like
Likes   Reactions: Averagesupernova, berkeman and Borek
When you clipped only the positive peaks you created a zero frequency, or DC, component, which can be seen. I suspect the dips in your spectrum come from the finite duration of the flat top you have created on each sine wave.
 
danbullard said:
TL;DR Summary: distorted waves spectra humps

And here is the spectrum, note the humps.
That spectral graph can be misleading if you don't realise that the vertical scale is in dB. All those components are a few percent or less of the main (original) component. The actual energy that's not at the fundamental frequency is quite low. On a linear scale, they could easily be ignored.

I think the humps are due to the asymmetrical limiting of the waveform and the sampling rate relative to the fundamental. I would expect those humps to move about as the fundamental frequency is changed slightly. Sampling can be looked upon as a form of modulation which produces extra products that you didn't expect. The term "quantisation noise" is not totally accurate because it's actually distortion and not random noise. Every element of the so-called noise is harmonically related to the sampled waveform (sidebands, if you like).
 
If the clipping was symmetrical, the odd harmonics would be present.
Because the top is clipped, and the bottom is not, that asymmetry raises the even harmonics, and the DC component.

The humps may be due to the duty-cycle of the minor clipping that is present. Change the clipping and the sample rate to see if the humps are part of the signal, or an artefact of the processing.

What anti-aliasing filter did you use?
What window function did you use?
Does the A-D sample contain an integer number of cycles?
 

Similar threads

  • · Replies 24 ·
Replies
24
Views
5K
Replies
11
Views
7K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
7K
Replies
8
Views
5K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 49 ·
2
Replies
49
Views
7K
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K