Fourier series of switched waveforms
Intent
Section titled “Intent”- Split a periodic waveform into its dc component and its harmonics.
- Compute the harmonic amplitudes and the rms value of a rectangular pulse train, the waveform at a converter’s switch node.
- Explain why a low-pass filter recovers the dc component of the switch-node voltage.
Theory
Section titled “Theory”Periodic signals as sums of sinusoids
Section titled “Periodic signals as sums of sinusoids”A periodic signal is the sum of its average value, the dc component, and sinusoids at integer multiples of its fundamental frequency, the harmonics [Alexander & Sadiku 2017, Ch. 17]. The amplitudes of the harmonics, plotted against frequency, form the signal’s amplitude spectrum [Alexander & Sadiku 2017, Ch. 17].
The rectangular pulse train
Section titled “The rectangular pulse train”The switch node of a buck converter carries a pulse train: the input voltage for the fraction of every period and zero for the rest [Erickson & Maksimović 2020, Ch. 2]. Its dc component is its average (average switch-node voltage), and its harmonics have the amplitudes
- amplitude of harmonic h
- duty ratio
- pulse amplitude
- harmonic order
Assumptions, convention and source
- Assumptions
- ideal rectangular pulse train between 0 and V_pk with duty ratio D
- periodic steady state
- Notes
- the dc component is ; the harmonic amplitudes fall as and vanish where is an integer
- Source
- Alexander & Sadiku 2017, Ch. 17 (The Fourier Series)
- Derivation
- step-by-step sympy derivation
- Equation id
fourier.pulse.harm· equations.yaml entry
The amplitudes fall in inverse proportion to the harmonic order, and a harmonic vanishes whenever is an integer: at all the even harmonics are missing.
The rms value
Section titled “The rms value”The rms value is the square root of the mean of the square over one period [Alexander & Sadiku 2017, Ch. 11]. For the pulse train only the pulse contributes to that mean:
- rms voltage
- duty ratio
- pulse amplitude
Assumptions, convention and source
- Assumptions
- ideal rectangular pulse train between 0 and V_pk with duty ratio D
- Source
- Alexander & Sadiku 2017, Ch. 11 (AC Power Analysis)
- Derivation
- step-by-step sympy derivation
- Equation id
fourier.pulse.rms· equations.yaml entry
The loss in a resistance depends on the rms value of its current, not on the average (conduction loss), and for a narrow pulse the rms value is much larger than the average.
Why the output filter works
Section titled “Why the output filter works”A buck converter’s L-C filter passes the dc component of the switch-node voltage and attenuates its harmonics, the lowest of which lies at the switching frequency. What remains at the output is the average, , plus a small ripple [Erickson & Maksimović 2020, Ch. 2].
Worked example
Section titled “Worked example”An example pulse train, as found at the switch node of a buck converter:
| Symbol | Value | How it is obtained |
|---|---|---|
| pulse amplitude | 12 V | given |
| duty ratio | 0.25 | given |
| harmonic order | 1 | given |
| average switch-node voltage | 3 V | DC component of the switch-node voltage (buck) |
| amplitude of harmonic h | 5.4 V | Amplitude of the h-th harmonic of a rectangular pulse train |
| rms voltage | 6 V | RMS value of a rectangular pulse train |
The pulse train’s dc component is 3 V, and its fundamental has an amplitude of 5.4 V, larger than the dc component itself at this duty ratio. Its rms value is 6 V.
Try it
Section titled “Try it”▶ Open in the equation explorer: Amplitude of the h-th harmonic of a rectangular pulse train
Preset from the example pulse-train
Sweep : the fundamental is largest at . Then set to 2 and sweep again: the second harmonic vanishes at and is largest at 0.25 and 0.75.
Bench exercise
Section titled “Bench exercise”On a buck evaluation board, measure the switch-node voltage with a differential probe, or a probe with a short ground connection, and use the oscilloscope’s FFT function. Read the dc value and the amplitudes of the first few harmonics, and compare them with the equations at the measured duty ratio and input voltage. Check whether the oscilloscope displays each harmonic’s peak amplitude or its rms value, which is smaller by a factor of .
Gotchas
Section titled “Gotchas”- The harmonics do not stop at the switching frequency. Those of an ideal pulse train fall only as , so they extend far above the switching frequency; this matters for filters, interference and sampling.
- Average and rms are different. Two currents with the same average can have very different rms values, and resistive losses follow the rms value [Alexander & Sadiku 2017, Ch. 11].
- The rms value of a sinusoid is its amplitude divided by ; that of a pulse train is not. Use the rms value of the actual waveform [Alexander & Sadiku 2017, Ch. 11].
Go deeper
Section titled “Go deeper”- Lecture notes 6.003 Lecture Notes
Lecture slides: the Laplace transform (lecture 6), frequency response and Bode plots (lectures 9 and 11), Fourier series (lecture 15). - Course 6.003 Signals and Systems (Fall 2011)
Signals and systems with video lectures: Laplace transform, frequency response, Bode plots and Fourier series.
A pulse train switches between and with . What is its dc component?
Answer and explanation
Correct answer: B The dc component is the average: the pulse height times the fraction of the period it lasts.
What is the rms value of a pulse train between and at ?
Answer and explanation
Correct answer: B The mean square is , and its square root is , twice the average.
At , which harmonics of a rectangular pulse train are missing?
Answer and explanation
Correct answer: C A harmonic vanishes where is an integer; at that is every even .
Apart from the zeros, how do the harmonic amplitudes of a rectangular pulse train fall with the harmonic order ?
Answer and explanation
Correct answer: A The amplitude is : the envelope falls as .
What is the amplitude of the fundamental of a pulse train between and at ?
Answer and explanation
Correct answer: B With and the sine term is 1, so the amplitude is .
Why does a buck converter's output equal the average of its switch-node voltage?
Answer and explanation
Correct answer: A The output keeps the dc component and a small residue of the harmonics: the ripple.
The numbers in the examples, presets and exercises on this site are synthetic: round teaching values, not data from any real design.