The switching principle
Intent
Section titled “Intent”- Explain why an ideal switching converter dissipates no power, unlike a linear regulator.
- Compute the dc component of a switch-node waveform from the duty ratio .
- State what the output filter must do and what the small-ripple approximation assumes.
Theory
Section titled “Theory”Why switch?
Section titled “Why switch?”A linear regulator lowers a voltage by dropping the difference across a transistor that carries the whole load current; that difference times the load current is lost as heat. An ideal switch loses nothing: when it is on, the voltage across it is zero, and when it is off, the current through it is zero, so the product of the two, the power it dissipates, is zero in both states [Erickson & Maksimović 2020, Ch. 1 (Introduction)]. Ideal inductors and capacitors store and return energy without dissipating any. A converter built only from ideal switches and reactive elements can therefore convert power without loss.
The switch node and its dc component
Section titled “The switch node and its dc component”Connect a single-pole double-throw switch to the input source. In position 1 the switch node sees the input voltage ; in position 2 it is grounded. The switch repeats this pattern once every switching period
- switching period
- switching frequency
Assumptions, convention and source
- Assumptions
- definition
- Source
- Erickson & Maksimović 2020, Ch. 2 (Principles of Steady-State Converter Analysis)
- Equation id
def.Ts· equations.yaml entry
and spends the fraction of each period, the duty ratio, in position 1 [Erickson & Maksimović 2020, Ch. 2]. The switch-node voltage is therefore a rectangular wave. Its average over one period, its dc component, is
- average switch-node voltage
- duty ratio
- input voltage
Assumptions, convention and source
- Assumptions
- ideal (lossless) switches and passive components
- periodic steady state
- Notes
- the switch node sits at for and at for the rest of the period; the LC filter passes this average
- Source
- Erickson & Maksimović 2020, Ch. 2 (Principles of Steady-State Converter Analysis)
- Derivation
- step-by-step sympy derivation
- Equation id
sw.v_avg· equations.yaml entry
Filtering: keep the average, reject the harmonics
Section titled “Filtering: keep the average, reject the harmonics”A Fourier series splits into that dc component plus harmonics at multiples of the switching frequency . An L-C low-pass filter whose corner frequency lies well below passes the dc component and strongly attenuates the harmonics, so the output voltage is essentially the dc component of the switch node [Erickson & Maksimović 2020, Ch. 2]. The duty ratio, a timing quantity, now sets a dc voltage.
The conversion ratio
Section titled “The conversion ratio”A converter is summarised by its conversion ratio , the dc output voltage divided by the dc input voltage:
- output voltage
- conversion ratio
- input voltage
Assumptions, convention and source
- Assumptions
- definition
- Source
- Erickson & Maksimović 2020, Ch. 2 (Principles of Steady-State Converter Analysis)
- Equation id
def.V· equations.yaml entry
Filtering the switch node is the buck converter: its output is the switch-node average, which gives the buck conversion ratio. Other arrangements of the same switch, inductor and capacitor give other ratios, such as those of the boost and the buck-boost. All three are derived on the volt-second balance page.
The small-ripple approximation
Section titled “The small-ripple approximation”A real filter leaves some switching ripple on the output. With a well-designed filter the ripple is small compared with the dc value, and in steady-state analysis the output voltage may be replaced by its dc value : the small-ripple approximation [Erickson & Maksimović 2020, Ch. 2]. With it, the voltage across the inductor is constant within each subinterval, so the inductor current rises and falls along straight lines; the slope of those lines sets the current ripple. Apply the approximation to quantities that are nearly constant, never to the ripple you are trying to compute.
Worked example
Section titled “Worked example”An example buck converter, whose switch node is filtered by an L-C stage into a resistive load:
| Symbol | Value | How it is obtained |
|---|---|---|
| input voltage | 24 V | given |
| duty ratio | 0.5 | given |
| switching frequency | 100 kHz | given |
| switching period | 10 µs | Switching period |
| average switch-node voltage | 12 V | DC component of the switch-node voltage (buck) |
| conversion ratio | 0.5 | Buck conversion ratio, CCM |
| output voltage | 12 V | Output voltage from the conversion ratio |
| inductor ripple, half peak-to-peak | 300 mA | Buck inductor current ripple (half peak-to-peak), CCM |
The switch node spends the fraction 0.5 of each 10 µs period at 24 V, so its dc component, and with it the output, is 12 V. The inductor current still carries a triangular ripple of 300 mA around its dc value (half of peak-to-peak), which the output capacitor smooths further.
Try it
Section titled “Try it”▶ Open in the equation explorer: DC component of the switch-node voltage (buck)
Preset from the example buck-basic
▶ Open in the simulator: Buck
Preset from the example buck-basic
Sweep from 0 to 1: the dc component grows in proportion to it, whatever the switching frequency.
Bench exercise
Section titled “Bench exercise”No power stage is needed. Feed a logic-level square wave from a function generator into an R-C low-pass filter whose corner frequency is far below the square wave’s frequency. Measure the filter output with a multimeter on its dc range while you change the duty cycle, and compare each reading with the high level of the square wave times the duty ratio. Then look at the same node with an oscilloscope: the remaining ripple shrinks when you raise the frequency or the filter’s time constant, while the dc reading does not change.
Gotchas
Section titled “Gotchas”- The average follows the switch node, not the gate signal. Diode forward drops, switch resistance and dead time change the switch-node voltage during parts of the period, so the dc output departs from the ideal value set by the commanded duty ratio. The averaged-models page adds such losses to the model [Erickson & Maksimović 2020, Ch. 3].
- In DCM the switch node does not return to zero for the whole off-interval. Once the inductor current has fallen to zero, the diode stops conducting and the switch node rings around the output voltage, so the output ends up above ; see CCM and DCM [Erickson & Maksimović 2020, Ch. 5].
Go deeper
Section titled “Go deeper”- Book chapter Principles of Steady-State Converter Analysis (Ch. 2)
The standard derivation of volt-second and charge balance, the small-ripple approximation and inductor/capacitor ripple. - Course Introduction to Power Electronics
First course of the CU Boulder specialization: steady-state analysis, losses and efficiency. - Application note Basic Calculation of a Buck Converter's Power Stage (SLVA477)
A compact CCM design-calculation checklist: duty ratio, inductor ripple, capacitors.
An ideal switch is either fully on or fully off. How much power does it dissipate?
Answer and explanation
Correct answer: C Power is voltage times current. An ideal switch that is on has no voltage across it, and one that is off carries no current, so the product is zero in both states.
A switch node alternates between and with . What is its dc component?
Answer and explanation
Correct answer: A The dc component is the average over one period: the high level times the fraction of the period spent there, a quarter of .
Why must the corner frequency of the output L-C filter lie well below the switching frequency?
Answer and explanation
Correct answer: B The switch-node waveform is a dc component plus harmonics at multiples of . A low-pass filter whose corner lies well below keeps the dc component and strongly attenuates the harmonics.
What does the small-ripple approximation assume?
Answer and explanation
Correct answer: D It replaces a waveform that has little ripple by its dc value while other quantities are computed, for example the voltage across the inductor. It is never applied to the ripple being computed: the inductor current ripple follows from the slopes that the approximation makes constant.
A buck converter in CCM runs at a fixed duty ratio. The switching frequency is doubled. What happens to the dc output voltage?
Answer and explanation
Correct answer: C In CCM the dc output equals the dc component of the switch node, , which does not depend on . Doubling halves the period and the current ripple, not the average.
Why does a linear regulator waste power when its input voltage is much higher than its output voltage?
Answer and explanation
Correct answer: B The pass transistor is in series with the load, so it carries the load current and drops the voltage difference; the product of the two is dissipated as heat.
The numbers in the examples, presets and exercises on this site are synthetic: round teaching values, not data from any real design.