Why do the spectra of distorted waves have humps?

  • Thread starter Thread starter danbullard
  • Start date Start date
  • Tags Tags
    Spectrum
AI Thread Summary
Distorting a sine wave through clipping generates humps in its spectrum, which appear between the characteristics of a sine wave and a square wave, influenced by the extent of clipping. The presence of these humps is attributed to the asymmetrical limiting of the waveform and the relationship between the sampling rate and the fundamental frequency. The spectral components, while visible, represent a small percentage of the main frequency and could be negligible on a linear scale. Additionally, the distortion is not random noise but harmonically related to the original waveform, with the clipping affecting even and odd harmonics differently. Understanding these phenomena may require a deeper exploration of signal processing concepts and techniques.
danbullard
Messages
1
Reaction score
0
TL;DR Summary
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 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?
 
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...
Back
Top