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?
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
Thread 'Beauty of old electrical and measuring things, etc.'
Even as a kid, I saw beauty in old devices. That made me want to understand how they worked. I had lots of old things that I keep and now reviving. Old things need to work to see the beauty. Here's what I've done so far. Two views of the gadgets shelves and my small work space: Here's a close up look at the meters, gauges and other measuring things: This is what I think of as surface-mount electrical components and wiring. The components are very old and shows how...
Back
Top