a buck converter
A buck converter is a switching regulator that turns a higher voltage into a lower one efficiently — the step-down workhorse of modern electronics, the thing that makes a 1.2 V processor core from a 12 V rail without cooking. Instead of throttling and burning the difference like a linear regulator, it switches the full input on and off rapidly and lets an inductor and capacitor average the chopped result down to the lower voltage you want.
Trace one cycle. When the switch is on, the input drives current through the inductor into the output and the load, and the inductor stores energy in its magnetic field. When the switch turns off, the inductor — refusing to let its current stop suddenly, like a flywheel — keeps pushing that current through the load, now drawing it through a diode (or a second synchronous switch) back to ground. The output capacitor smooths the small remaining wiggle. For an ideal buck the output is simply the input times the duty cycle: Vout = Vin times D. Example: 12 V in at a 25 percent duty cycle gives 12 times 0.25 = 3 V out, at perhaps 90 percent efficiency.
Why it matters: bucks are everywhere a board has a higher supply and needs lower rails for logic, processors, and memory — laptops, phones, cars, every PC motherboard. Their efficiency stays high even with a big step-down, which linear regulators cannot manage. The honest costs are the usual switcher ones: an inductor and careful layout are required, and the chopping creates output ripple and EMI. Where a rail must be ultra-quiet, designers buck down most of the way for efficiency, then follow with an LDO for cleanliness.
A laptop's 19 V adapter rail is bucked down on the motherboard to 5 V, 3.3 V, 1.8 V, and a sub-1.2 V core, each by its own buck converter running at maybe 500 kHz to 2 MHz. Doing all those step-downs with linear regulators would waste tens of watts and need fans just for the regulators.
Vout = Vin times duty cycle — efficient step-down via switch, inductor, cap.
The simple Vout = Vin times D is the ideal; real bucks lose a little to switch and inductor resistance and the diode drop, and efficiency falls at very light loads. Read efficiency-versus-load curves, not just the peak number on the front of the datasheet.