Section Overview
Section 7.2 left the linear regulator with a problem: it burns the excess voltage as heat, so it's inefficient whenever the input-output gap is large. The switching regulator (or switch-mode supply) solves that. Instead of dissipating the difference, it rapidly switches a transistor fully on and fully off and stores energy in an inductor, transferring it to the output in packets. Because a fully-on switch drops almost nothing and a fully-off switch carries no current, very little is wasted — switching regulators reach roughly 85 to 95% efficiency. This section explains that switch-and-store principle, the duty cycle and switching node that control it, and the three core topologies: the buck converter (steps voltage down), the boost converter (steps it up), and the buck-boost converter (either). It also covers the price — switching noise — and how these supplies fail. This is the efficient workhorse behind nearly all modern power conversion.
Why This Matters
Switching regulators run almost everything now — phone chargers, laptop supplies, LED drivers, the many rails inside every computer and gadget — precisely because they are efficient and can step voltage up as well as down, which a linear regulator cannot do at all. Understanding them lets a technician recognize a switching supply on sight (the tell-tale inductor, switching transistor, and catch diode), know what a healthy one looks like on a scope, and target the parts that actually fail: a degraded output capacitor causing ripple, a failed switching transistor or inductor, or a controller that won't start. It also frames the central power-design choice — switching for efficiency and flexibility, linear for low noise (Section 7.2) — that explains why real equipment uses both. Because switching supplies are everywhere and fail in recognizable ways, diagnosing them is among the most useful power-repair skills.
Required Prerequisites
- Linear Regulators — Theory and Behavior — the heat-and-efficiency problem that switching regulators exist to solve, and the low-noise trade-off they invert.
- Inductors and Transformers — the inductor that stores and releases energy each switching cycle is the heart of every switching regulator.
- DC Power Supply Fundamentals — the supply chain and ripple this regulation stage sits within.
Recommended Consumables
No consumables required. A scrap buck-converter module or a dead USB charger makes ideal study material (mains chargers only once safely discharged), but nothing is used up.
Recommended Practice Hardware
- Optional: a small buck-converter module (the common adjustable kind) and a boost module, a bench supply, a load, and a multimeter
- An oscilloscope is very useful here for seeing the switching node toggle and measuring output ripple; much of switching-supply diagnosis is scope work
- No special hardware is required; the switch-and-store principle and the topologies stand on reasoning
Real-World Applications
Switching regulators are the dominant form of power conversion today. Every phone charger and laptop adapter is a switching supply; inside a computer, switching regulators (mostly bucks) generate the many low-voltage, high-current rails a processor and memory need. Boost converters step a single battery cell up to a higher rail, drive strings of LEDs, and power displays. Buck-boost converters keep a steady output as a battery discharges from above to below the target voltage. On the repair bench, switching supplies are a constant: a charger that's dead or intermittent, a rail with excessive ripple from a tired output capacitor, a board that won't power up because one buck won't start. Recognizing the topology, knowing what the switching node should look like, and identifying the failed part make switching-supply repair a high-value, frequently-needed skill.
Common Challenges
- Expecting linear simplicity. A switching regulator has an inductor, a switching transistor, a catch diode (or second switch), a controller, and careful layout — more parts and more that can go wrong than a linear regulator's few pins.
- Forgetting the noise. Switching supplies inject ripple and high-frequency noise onto their output and into their surroundings; this is the price of efficiency and the reason sensitive analog or RF stages often get a linear regulator (Section 7.2) instead.
- Not reaching for a scope. Much of a switching supply's behavior — whether it's switching at all, its output ripple, whether it's hiccuping — is only visible on an oscilloscope; a multimeter alone often can't tell you what's wrong.
Safety Notes
Risk Level: Low. The low-voltage switching stages here are safe to probe. A few practical notes.
Professional Tips Before Starting
- Scope the switching node first. A switching regulator that's working shows a clean square-wave switching waveform at the node where the transistor meets the inductor; a flat line there means it isn't switching (dead controller, no start), which localizes the fault immediately.
- Read the topology from the parts and the voltages. An inductor with a switching transistor and a catch diode is a switching regulator; whether the output is below or above the input tells you buck or boost. Knowing which sets your expectations.
- Suspect the output capacitor for ripple and noise. A degraded, high-ESR output capacitor is the most common switching-supply fault, showing up as excess output ripple and sometimes instability — check it before deeper parts.
How a Switching Regulator Works
The Switch-and-Store Principle and Efficiency
A switching regulator avoids the linear regulator's heat by never sitting in a half-on state. It drives its transistor as a switch: fully on (dropping almost no voltage, so little power lost) or fully off (carrying no current, so no power lost). While the switch is on, energy is pushed into an inductor (Section 4.3), which stores it in its magnetic field; while the switch is off, the inductor releases that stored energy to the output, its current kept flowing by a catch diode (or a second, synchronous switch). An output capacitor smooths the delivered packets into a steady voltage. Because the switch spends its time fully on or fully off — not dissipating the difference — very little energy is wasted, so switching regulators typically reach 85 to 95% efficiency, far above a linear regulator's Vout ÷ Vin. That efficiency, and the ability to step voltage up as well as down, is the whole reason they dominate modern power conversion.
Duty Cycle and the Switching Node
What sets the output is the duty cycle — the fraction of each switching cycle the transistor is on (D = 0.5 means on half the time). Switching happens fast, at a switching frequency of tens of kilohertz to a few megahertz, far above audio and small enough to use a modest inductor. A feedback loop watches the output and continuously adjusts the duty cycle: if the output sags, it lengthens the on-time; if it rises, it shortens it — holding the output steady much as the linear regulator's loop did, but by timing rather than by dissipation. The point where the switch, the inductor, and the catch diode meet is the switching node, and it swings rapidly between roughly a supply rail and ground every cycle (the input in a buck, the output in a boost). That switching node is the single most useful test point in the supply: a clean switching waveform there means the regulator is running; a static level means it isn't.
Buck: Stepping Down
The buck converter steps voltage down — its output is lower than its input. The switch feeds the inductor from the input during the on-time and the inductor coasts through the catch diode during the off-time, so the load sees the input voltage only for the on-fraction of each cycle. For an ideal buck, the output is approximately:
Vout ≈ D × Vin
So a 12 V input at a duty cycle of about 0.42 gives roughly 5 V out, and a smaller duty cycle gives a lower output. Bucks are the most common switching regulator, generating the low-voltage, high-current rails inside almost every computer and gadget efficiently.
Boost: Stepping Up
The boost converter does what no linear regulator can: it steps voltage up, producing an output higher than its input. It works by storing energy in the inductor while the switch is on, then releasing it in series with the input when the switch turns off, so the output is pumped above the input. For an ideal boost:
Vout ≈ Vin ÷ (1 − D)
So a 5 V input at a duty cycle of 0.5 gives about 10 V out, and a larger duty cycle pushes it higher. Boosts drive LED strings, raise a single battery cell to a higher rail, and power displays.
Buck-Boost: Either Direction
The buck-boost converter can produce an output either below or above its input, which is essential when the input can be higher or lower than the target — most importantly a battery, whose voltage falls through the target as it discharges. A classic buck-boost inverts the polarity (a negative output), while modern non-inverting buck-boost designs keep the same polarity and smoothly transition from stepping down to stepping up as needed. The key idea is flexibility: a buck-boost holds a steady output across an input range that straddles it.
Trade-offs Versus Linear
The switching regulator inverts the linear regulator's strengths and weaknesses. It is far more efficient (little heat, so it runs cooler and needs less heatsinking), it can step up as well as down, and it handles large input-output gaps well — all things a linear regulator does poorly or not at all. The price is noise: the rapid switching injects ripple and high-frequency noise onto the output and radiates electromagnetic interference (EMI) into the surroundings, so a switching rail is noisier than a linear one and often needs extra filtering — which is why sensitive analog, RF, and precision circuits frequently get a quiet linear regulator (Section 7.2), sometimes fed from a switching pre-regulator to get both efficiency and low noise. A switching regulator is also more complex, with more parts and more careful layout. The design choice is the trade-off: switching for efficiency and flexibility, linear for low noise.
Common Mistakes
- Assuming a switching supply is as simple as a linear one. It has an inductor, switch, catch diode, controller, and layout-sensitive parts — more failure points to consider.
- Ignoring switching noise on a sensitive rail. A switching regulator's ripple and EMI can disturb analog or RF circuits; filter it or use a linear regulator there.
- Diagnosing without a scope. Whether the node is switching, the ripple level, and hiccup behavior are often only visible on an oscilloscope.
- Confusing buck and boost. Buck steps down (Vout below Vin), boost steps up (Vout above Vin); check the input-output relationship before assuming a topology.
Troubleshooting Guidance
Diagnose a switching regulator with a scope on the switching node as the first move: a clean switching waveform there means the regulator is running and the fault is likely downstream; a static node (stuck high, low, or floating) means it isn't switching — a dead controller, a missing enable, no input, or a shorted switch — and localizes the problem to the control side. For no or wrong output, check the input and enable, then the power parts: a failed switching transistor (often shorted), an open inductor, a bad catch diode, or a failed controller each stop or corrupt the output; a shorted switch can also draw heavy current and blow an input fuse. For high output ripple or noise, suspect the output capacitor first — a degraded, high-ESR electrolytic (Section 3.7) is the single most common switching-supply fault and shows as excess ripple and sometimes instability; a marginal inductor or poor filtering can contribute. For a supply that won't start or hiccups (repeatedly tries to start and shuts down, often from an overload, a short on the output, or a soft-start/protection tripping), look for a downstream short or an over-current condition pulling the supply into protection. Throughout, remember the cautions: parts can be hot, a boost output is above its input, and a mains-input switching supply has a lethal high-voltage side with a charged bulk capacitor (Section 7.1). Because the switching node reveals so much at a glance, scoping it first usually points straight at whether the fault is in the controller, the power parts, or downstream.
Verification & Testing Methods
Check your understanding before moving on:
- [ ] Explain the switch-and-store principle and why it gives high efficiency compared to a linear regulator.
- [ ] Explain duty cycle and the switching node, and estimate a buck output from Vout ≈ D × Vin.
- [ ] State which topology steps down, which steps up, and which can do either, with their voltage relationships.
- [ ] Describe the no-output, high-ripple, and won't-start faults and the first thing to scope.
Then try the practice exercises below — principle, topology, and diagnosis reasoning, no live mains work required.
Practice Exercises
- Estimate the output (10 minutes, pen and paper). (a) A buck converter runs from 24 V at a duty cycle of 0.5 — estimate its output. (b) A boost converter runs from 3.6 V at a duty cycle of 0.5 — estimate its output. Use Vout ≈ D × Vin for the buck and Vout ≈ Vin ÷ (1 − D) for the boost, and state which one steps up.
- Switching vs linear (5 minutes, reasoning). A design needs to make 12 V from a 5 V USB input at good efficiency. Can a linear regulator do this? Which topology can, and what is the main downside you'd have to manage?
- Read the topology (5 minutes, reasoning). You find a regulator with an inductor, a switching transistor, and a catch diode; the input is 12 V and the output measures 3.3 V. Is this a buck or a boost, and how do you know? What would the switching node look like on a scope if it's healthy?
- Diagnose ripple (10 minutes, reasoning). A switching rail has the right average voltage but excessive ripple, and a device on it glitches. Name the most likely failed component, explain why it causes ripple, and say what you'd check on a scope to confirm.
These core ideas — switch-and-store efficiency, duty cycle and the switching node, buck/boost/buck-boost and their step directions, the switching-noise trade-off, and the common faults — are tested in the Chapter Quiz at the end of this chapter, where a score of 80% is required to continue.
Key Takeaways
- A switching regulator reaches high efficiency (typically 85 to 95%) by switching a transistor fully on and off and storing energy in an inductor, transferring it to the output in packets rather than burning the excess as heat like a linear regulator (Section 7.2).
- The duty cycle — the on-fraction of each switching cycle — is what the feedback loop adjusts to set the output; the switching node (where switch, inductor, and catch diode meet) swings between input and ground and is the key test point.
- The buck converter steps down (Vout ≈ D × Vin, so 12 V at D ≈ 0.42 gives about 5 V); the boost converter steps up (Vout ≈ Vin ÷ (1 − D), so 5 V at D = 0.5 gives about 10 V); the buck-boost converter can produce an output either below or above its input.
- The essential parts are the switching transistor, the inductor, the catch/freewheel diode (or a synchronous switch), and the output capacitor.
- Trade-off versus linear: switching is far more efficient, runs cooler, and can step up as well as down, but injects switching noise and EMI and is more complex — so sensitive analog/RF often uses a quiet linear regulator instead.
- Faults: no/wrong output (failed switch, open inductor, bad catch diode, dead controller), high ripple (degraded high-ESR output capacitor), and won't-start/hiccup (a downstream short or protection tripping) — scope the switching node first.
Skills Learned
- You can now explain the switch-and-store principle and why it gives high efficiency.
- You can now explain duty cycle and the switching node and estimate a buck or boost output.
- You can now identify buck, boost, and buck-boost topologies and their step direction.
- You can now weigh switching versus linear regulators and diagnose no-output, high-ripple, and won't-start faults.
- You can now scope the switching node to tell whether a switching regulator is running.
Glossary Additions
- switching regulator — a voltage regulator (also called a switch-mode power supply) that reaches high efficiency by rapidly switching a transistor fully on and off and storing energy in an inductor, transferring energy to the output in packets rather than dissipating the excess as heat; it can step voltage up or down but injects switching noise. Its efficiency is typically 85 to 95%.
- buck converter — a switching regulator that steps voltage down, producing an output lower than its input; for an ideal buck the output is approximately the input times the duty cycle (Vout ≈ D × Vin). It is the most common switching topology.
- boost converter — a switching regulator that steps voltage up, producing an output higher than its input by storing inductor energy and releasing it in series with the input; for an ideal boost Vout ≈ Vin ÷ (1 − D).
- buck-boost converter — a switching regulator that can produce an output either below or above its input; classically inverting (negative output), with modern non-inverting designs that transition smoothly between stepping down and up — essential when the input can be higher or lower than the target, as with a discharging battery.
- duty cycle — the fraction of each switching cycle that the switch is on (for example D = 0.5 is on half the time); a switching regulator's feedback loop adjusts the duty cycle to set and hold the output voltage.
Suggested Next Sections
Must read next:
- Battery Systems — Lithium Chemistry and Protection — where portable power comes from: lithium cell chemistry, why it demands protection and careful charging, and the safety that surrounds it — the source that switching (and buck-boost) regulators so often run from.
Recommended:
- Linear Regulators — Theory and Behavior — the low-noise, less-efficient counterpart, and the trade-off that decides which to use.
- Voltage Regulators — Linear and Switching — the component-level overview this switching detail builds on.