Watch on Instagram

Circuit Bytes · Episode 41 · Power supplies · Voltage regulators

Voltage regulators

A voltage regulator holds its output steady while the input sags or ripples. A linear regulator burns the extra voltage as heat, (V in − V out) × I, while a switching regulator flicks on and off very fast and wastes far less.

Posted · About a 1 minute watch, 3 minute read · Take the quiz

Why chips need a regulator

A battery's voltage slowly drops as it drains, and power from a rectifier still has a little ripple left on it. Most chips are built for one supply voltage, often 5 V or 3.3 V, and misbehave if it wanders. A voltage regulator sits between the messy supply and the chip and keeps its output at one steady value.

The linear regulator: an automatic valve

A linear regulator, like the classic 7805 (a 5 V part), works like an automatic valve. Inside, a transistor is controlled by a feedback circuit that keeps watching the output. If the input rises, the "valve" closes a little; if it falls, it opens up. The extra voltage is dropped across that transistor and turned into heat. Linear regulators are simple and quiet, and they also smooth out much of the ripple.

It needs headroom

A linear regulator can only take voltage away, never add it. A classic type like the 7805 needs the input to stay about 2 V above the output, so about 7 V in for 5 V out. That gap is called the dropout voltage. If the input sinks below it, the output starts to sag and wobble. Low-dropout (LDO) regulators can work with a few hundred millivolts or less.

Where the heat goes

The wasted power is the voltage dropped times the current: heat = (V in − V out) × I. With 12 V in, 5 V out and 0.5 A flowing: (12 − 5) × 0.5 = 3.5 W. That is a lot of heat for a small part, so it would need a heat sink, a finned piece of metal that spreads the heat into the air. The bigger the drop and the bigger the current, the hotter it gets.

Switching regulators waste far less

A switching regulator doesn't burn off the extra voltage. It flicks a switch fully on and off, often hundreds of thousands of times a second, and a coil and capacitor smooth those pulses into a steady output. Because the switch is either fully on or fully off, it wastes little power: typical switching regulators are about 80-95% efficient. Phone chargers and most laptop supplies use them.

Try it yourself

Work out the heat for your own example with heat = (V in − V out) × I. A board fed 6 V that powers a 3.3 V chip drawing 0.2 A through a linear regulator wastes (6 − 3.3) × 0.2 = 0.54 W. Then try lowering the input to 5 V: (5 − 3.3) × 0.2 = 0.34 W. A smaller drop means less heat, as long as you keep enough headroom for the regulator you use.

Good to know

  • A linear regulator's dissipation is about (V in − V out) × I out, so use the lowest input voltage that still regulates.
  • "About 2 V of headroom" is for classic regulators like the 7805; LDO regulators need much less.
  • The valve is a simplification: inside is a pass transistor controlled by a feedback amplifier (an op-amp-like circuit, the next episode's topic).
  • Switching regulators commonly run from tens of kilohertz to a few megahertz; "about 90%" efficiency is a typical value, not a rule.
  • Battery or low-voltage supplies only; leave wall wiring to a licensed electrician.

Answer to the comment question

A linear regulator drops 9 volts to 5 volts at a quarter of an amp. How many watts turn into heat? 1 watt. The drop is 9 − 5 = 4 V, and 4 V × 0.25 A = 1 W is burned off as heat.

Test your knowledge

Quick quiz: Voltage regulators

4 multiple-choice questions. Pick one answer for each, then check how you did.

1How does a linear regulator get rid of the extra voltage?
2A classic 5 V linear regulator like the 7805 needs about how much input voltage?
3A linear regulator takes 12 V in, gives 5 V out, and supplies 0.5 A. How much power turns into heat?
4Why do switching regulators waste far less power?

Sources

Video transcript

How does a circuit keep five volts steady, no matter what?

Batteries sag as they drain, and rectified power ripples. Chips want steady voltage.

A voltage regulator fixes that. A linear one acts like an automatic valve, burning off the extra voltage as heat.

It needs a little headroom: the input must stay about two volts above the output.

Wasted heat is the voltage dropped times the current. Twelve in, five out, half an amp: three and a half watts.

Switching regulators flick on and off hundreds of thousands of times a second and waste far less. Phone chargers use them.

A linear regulator drops nine volts to five volts at a quarter of an amp. How many watts turn into heat? Comment your answer below!

That's your byte.

More from Circuit Bytes

All Circuit Bytes lessons