Skip to content
Applied Electronics

Power supplies: linear regulators and buck and boost converters

The linear regulator and its efficiency, LDOs, the buck converter with proven volt-second balance, current ripple with an example, the boost converter, interference and PFC.

Every electronic circuit needs stable DC voltages: 3.3 V for the microcontroller, 1 V for the processor, 5 V for USB, 12 V for a motor. They are derived from a battery or the mains with regulators, linear or switching. In this lesson we see how a linear regulator works and why it wastes energy, and how buck and boost switching converters achieve efficiencies above 90%.

The linear regulator

A transistor (the pass element) in series between input and output acts as a variable resistance; an error amplifier compares a fraction of the output with a stable reference voltage (a 1.2 V bandgap reference) and adjusts the transistor so that the output stays constant. It is a non-inverting feedback amplifier, with the reference as its input.

The flaw is efficiency. The load current flows through the transistor, which has the difference between input and output across it:

    \[ P_{lost} = (V_{in} - V_{out})\,I,\qquad \eta \le \frac{V_{out}}{V_{in}} \]

Example. From 12 V to 3.3 V at 1 A: the load receives 3.3 W and the regulator dissipates 8.7 W, an efficiency of 27.5%. A heat sink is needed, and a battery would last a quarter of what it could.

Linear regulators remain very valuable, though, when the difference is small or the current low: they are simple, cheap and above all quiet, with no switching noise. LDO (low dropout) regulators work with a difference between input and output of a few hundred millivolts, and are often used after a switching converter to clean up the supply of sensitive analogue circuits.

The buck converter

The buck (step-down) converter uses a switch, a diode (or a second switch), an inductor and a capacitor.

Buck converter and inductor current waveform
On the left the circuit: switch S connects and disconnects the input source; when it is open, the diode gives the inductor current L a path; the capacitor C and the load R are at the output. On the right the inductor current: it rises during the fraction DT of the period in which the switch is closed, falls for the rest, swinging by ΔI around the output current.

The switch closes for a fraction D of the period T (the duty cycle) and opens for the rest. When it is closed, the inductor sits between V_{in} and the output and its current rises; when it is open, the current keeps flowing through the diode and falls.

Theorem. In steady state and continuous conduction,

    \[ V_{out} = D\,V_{in} \]

Proof. In steady state the inductor current at the start and end of each period is the same, so the average voltage across it is zero (v = L\,di/dt, integrated over a period, gives zero): this is the volt-second balance. During DT the voltage across the inductor is V_{in} - V_{out}; during (1 - D)T, with the diode conducting, -V_{out}. So (V_{in} - V_{out})DT - V_{out}(1 - D)T = 0, that is V_{out} = DV_{in}. ∎

The converter is a DC transformer with an electronically adjustable ratio. Ideally it dissipates nothing: the switch has either zero voltage or zero current, the inductor and capacitor store energy without consuming it. Real converters reach 90 to 95%.

Current ripple. During DT the current rises by

    \[ \Delta I = \frac{(V_{in} - V_{out})\,D}{f\,L} \]

Example. From 12 V to 3.3 V: D = 0.275. With f = 500 kHz and L = 10 µH, \Delta I \approx 0.48 A. A higher frequency allows smaller inductors and capacitors, but increases switching losses: modern converters run between a few hundred kilohertz and a few megahertz, and with gallium nitride transistors even higher.

The boost converter

Swapping the positions of switch and inductor gives the boost (step-up) converter. With the switch closed the inductor charges from the input; when open, its voltage adds to the input voltage and pushes current to the output through the diode. The same volt-second balance (V_{in}DT + (V_{in} - V_{out})(1 - D)T = 0) gives

    \[ V_{out} = \frac{V_{in}}{1 - D} \]

From 5 V to 12 V needs D = 1 - 5/12 \approx 0.58. It is the converter that raises the voltage of a lithium cell (3.7 V) to the 5 V of a USB port in power banks, and the one that drives backlight LEDs.

In practice

Switching converters are everywhere, but they must be designed carefully: fast switching produces electromagnetic interference, contained with current loops kept as short as possible on the printed circuit board, ceramic capacitors close to the components and input filters. Finally, the pulsed currents of the rectifier feeding them from the mains cause the low power factor of power supplies, corrected with a PFC stage (Electrical Engineering lesson on power): that stage is itself a boost converter.

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x