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?
 
I used to be an HVAC technician. One time I had a service call in which there was no power to the thermostat. The thermostat did not have power because the fuse in the air handler was blown. The fuse in the air handler was blown because there was a low voltage short. The rubber coating on one of the thermostat wires was chewed off by a rodent. The exposed metal in the thermostat wire was touching the metal cabinet of the air handler. This was a low voltage short. This low voltage...
Thread 'How Does Jaguar's 1980s V12 Dual Coil Ignition System Enhance Spark Strength?'
I have come across a dual coil ignition system as used by Jaguar on their V12 in the 1980's. It uses two ignition coils with their primary windings wired in parallel. The primary coil has its secondary winding wired to the distributor and then to the spark plugs as is standard practice. However, the auxiliary coil has it secondary winding output sealed off. The purpose of the system was to provide a stronger spark to the plugs, always a difficult task with the very short dwell time of a...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
Back
Top