S11 · Lesson 1 · Switching power conversion
Why linear regulators waste power, how an ideal switch processes power without loss, the duty cycle and the DC component of a switched waveform, and filtering the switching harmonics with an LC low-pass
A phone charger the size of a matchbox converts 120 V AC to 5 V DC at 20 W and barely gets warm. A linear regulator doing the same job would have to burn off most of the power as heat. The difference is switching: a transistor that's either fully on (no voltage across it) or fully off (no current through it) dissipates almost nothing, and by switching it on and off fast and filtering the result, any average voltage can be produced. This course is about designing, modeling and controlling circuits built on that idea.
- The voltage at the switch node of a buck converter: the input for a fraction D of each period and zero for the rest, at 100 kHz, with its spectrum.
- Its DC component is exactly . Everything else sits at the switching frequency and its harmonics.
- An LC low-pass filter with its corner well below the switching frequency passes the DC and strips the harmonics: that's the buck converter.
Predict
A linear regulator drops 12 V to 3.3 V for a 2 A load. How efficient is it?
A linear regulator passes the full load current through a transistor with the difference in voltage across it, so its efficiency is at best = 3.3/12 = 27.5%, and it dissipates (12 − 3.3) × 2 = 17.4 W to deliver 6.6 W. A switching converter at 95% efficiency would lose 0.35 W.
Name it
Why switch
A transistor dissipates . In a linear regulator both are large at once. As a switch, either v ≈ 0 (on) or i ≈ 0 (off), so an ideal switch processes power with no loss. Real switches lose a little in conduction and during the transitions (lesson 8); efficiencies of 90 to 99% are routine.
The duty cycle
A switch that connects the input to a node for a fraction D of each period , and grounds it otherwise, produces a waveform whose average is
the duty cycle D controlling the output. The rest of the waveform is harmonics of : its first harmonic has amplitude .
Filtering
An LC low-pass filter with corner passes the average and attenuates a harmonic at by about . Ideal inductors and capacitors don't dissipate power, so the whole converter can in principle be lossless.
The family
Rearranging the switch, inductor and capacitor gives converters that step voltage down (buck), up (boost), invert it (buck-boost) and more, with or without transformer isolation. Lessons 2 to 4 analyze them.
Worked example
What duty cycle makes 3.3 V from 12 V, and how big is the switching ripple if the filter's corner is at 10 kHz and the converter switches at 200 kHz?
Show the solution
- Duty cycle.
- First harmonic. For a feel for the ripple, take D = 0.5. The first harmonic is then at 200 kHz.
- Filter attenuation. The LC filter attenuates it by
- Ripple left over. Higher harmonics are attenuated even more. Lesson 3 computes the ripple more precisely, from the inductor current's slopes.
Answer D = 0.275, and the switching ripple is about 19 mV.
Worked example
A 6.6 W load is fed at 95% efficiency. How much power is lost, compared with the linear regulator?
Show the solution
- Input power.
- Power lost.
- Compare with the linear regulator. That's fifty times less than the linear regulator's 17.4 W: the difference between a small heat sink and none at all, or between a battery lasting an hour and three.
Answer 0.35 W is lost, fifty times less than the linear regulator's 17.4 W.
Worked example
A server rack converts 48 V to 12 V at 96% efficiency, then 12 V to 1 V at 90%, delivering 100 W. How much power is lost, compared with a single 48 V to 1 V stage at 88%?
Show the solution
- Two stages: efficiencies multiply.
- Two-stage loss. so 15.7 W is lost.
- Single-stage loss. At 88%: so 13.6 W is lost.
- Compare. Two good stages can lose more than one less efficient one, which is why direct 48 V-to-point-of-load converters became attractive in data centers.
Answer the two-stage chain loses 15.7 W, more than the single 88% stage's 13.6 W.
Check
What's the best efficiency a linear regulator can have dropping 24 V to 1.8 V?
Check
A linear regulator drops 12 V to 3.3 V at 5 A. How much does it dissipate?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
Check
A switch connects 5 V to a node for a fraction 0.45 of each period and grounds it the rest. What's the node's average voltage?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
A converter delivers 20 W at 0.85 efficiency. How much does it lose?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
Check
A 12 V switch waveform has duty cycle 0.2. What's the amplitude of its first harmonic?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
A 50% duty 12 V switch waveform at 500 kHz drives an LC filter with its corner at 2 kHz. Estimate the fundamental ripple left at the output.
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
Two converters in cascade run at 0.94 and 0.85 efficiency, delivering 200 W.
(a)
What is the overall efficiency?
(b)
How much power is lost?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
Check
A switch node toggles between V and 0 with duty cycle D.
Step 1
What is its average?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
What is its fundamental's amplitude?
Step 3
What is its RMS value?
Explain why
Why can a switching converter in principle be 100% efficient when a linear regulator can't?
Power is dissipated in an element when it has voltage across it and current through it at the same time. A linear regulator controls its output by holding its pass transistor partway on, so the whole load current flows through it with the excess voltage across it, and that product is lost as heat. A switching converter only ever uses its transistor fully on, with almost no voltage, or fully off, with almost no current, so the product is near zero in both states. The energy is moved by inductors and capacitors, which store and release it without dissipating any, so an ideal switching converter loses nothing. Real ones lose a few percent in switch resistance, transitions and magnetic cores.
Practice
Keep practicing
10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.