Power Supplies & Voltage Regulation

a three-terminal regulator

A three-terminal regulator is a whole linear regulator shrunk into a single chip with just three legs: input, output, and ground (or adjust). You feed raw, higher DC into one pin, add a small capacitor on each side, and a clean regulated voltage comes out the other — no design of the feedback loop required, because it is all built in. It is the friendliest power part a beginner meets, and it powered a generation of electronics.

There are two flavours. Fixed regulators like the 78xx family give a preset output set by the last digits: a 7805 makes 5 V, a 7812 makes 12 V, a 7905 makes negative 5 V. Adjustable regulators like the LM317 set their output with two external resistors: the chip holds a fixed 1.25 V between its output and adjust pins, so Vout = 1.25 times (1 + R2/R1) plus a tiny adjust-pin current term. Example: R1 = 240 ohm and R2 = 720 ohm give 1.25 times (1 + 720/240) = 1.25 times 4 = 5.0 V. Both kinds include current limiting and thermal shutdown, so they survive shorts and overheating by quietly folding back.

Why it matters: three-terminal regulators are cheap, rugged, and almost foolproof, which is why they are everywhere from lab gear to toys. Two honest cautions. First, they are linear, so they obey efficiency = Vout/Vin and need a heat sink whenever (Vin - Vout) times current is more than about a watt. Second, the classic 78xx needs roughly 2 V of headroom (its dropout); feed a 7805 from only 5.5 V and it cannot regulate — for tight headroom you need a low-dropout type instead.

A 7805 with a 0.33 uF cap at the input and a 0.1 uF cap at the output turns a noisy 9 V battery into a steady 5 V for a logic board. Swap in an LM317 with R1 = 240 ohm and R2 = 390 ohm and you instead get 1.25 times (1 + 390/240) = 3.3 V — same chip family, output set by two resistors.

Three legs, a couple of caps — a complete linear regulator on a chip.

Those input and output capacitors are not optional decoration: many three-terminal regulators oscillate or ring without them. Follow the datasheet's recommended values and place them close to the pins.

Also called
78xxLM317三端調節器