Harmonic composition of a square wave-related question



On 23 Jun 2005 18:30:07 -0700, "davidd31415" <davidd31415@xxxxxxxxx>
wrote:

>I know you can make a square wave from the sum of sinusoidals, but does
>this mean that if you look at a sine-wave that wasn't made by using
>sinusoids (perhaps using a switch or an oscillating crystal to turn the
>signal on and off) on a spectrum analyzer that you would see all of the
>harmonics required to make up the square wave?
___
This post got me to thinking about a related subject. I'm a hobbyist,
and my math is limited to one year of calculus, but I would like to
see if I have a correct conception of what's going on here. I can see
that any periodic function can be put through the Fourier transform to
obtain an infinite series of sin and/or cos terms to completely
describe the original function. This applies to electronic circuits,
musical instruments, vibrational analysis of bridge decks, etc.
So, when one sees a "perfect square wave" on the oscope, it is
actually always a mixture of sine waves of f(fundamental-the frequency
of the square wave as seen on the oscope),3f,5f,7f...... frequencies.
A more complex wave like that produced by a violin string would look
different than either a sine wave or a square wave, because the
mixture of waves producing it are not at the amplitude/frequency
required by the Fourier transform to produce a square wave. If I were
to see what looks like a very low distortion sine wave on the oscope,
I can infer that this is a "true sine" wave, with very little
contribution from any higher harmonics, and not some weird lucky mix
of higher sin/cos frequencies that are significant compared to the
fundamental? Or would the use of a spectrum analyzer be required to be
sure?
For circuit elements like capacitors and inductors, whose reactance
varies with frequency, what happens when dealing with a square wave?
what frequency does one use in the reactance formulas, knowing that
you're dealing with a mixture of them? I would instinctively just put
in the fundamental frequency, but is this right? TIA for clearing any
of this up for me.


.



Relevant Pages

  • Re: square to sine
    ... >>> Assuming you want the sine wave to be the same frequency as the ... >>> filter tuned to the square wave's fundamental frequency. ... It would be a sine wave, if the input was a true square wave ... lowpass with high Q giving a peak at 1 kHz. ...
    (sci.electronics.basics)
  • Re: sine wave as Sampling clock
    ... I am trying to explore the effect of using sine wave clock from sampling ... instead of conventional square wave. ... at high frequency sine wave still has sufficiently good rise time. ...
    (comp.dsp)
  • Re: UPS sine wave vs square wave output?
    ... >relation to the RMS value, as compared to a sine wave. ... Most "square wave" converters don't really make a square wave. ... electronics can and electric motors also can have trouble with it. ...
    (sci.electronics.design)
  • Re: square to sine
    ... run the square wave through a bandpass ... >>> filter tuned to the square wave's fundamental frequency. ... As the square wave is all the odd ... >you will have a very good sine wave. ...
    (sci.electronics.basics)
  • Re: UPS sine wave vs square wave output?
    ... A square wave input of the same RMS value of an equivalent sine wave will ... that peak DC at the filters will be 1.4 times the sine RMS ... With a stepped square wave, or worse still, a pure square wave input of the ...
    (sci.electronics.design)