Section Overview
Circuits need a steady, predictable supply voltage, but the raw power available — from a battery that sags as it drains, or a rectified transformer output that ripples — is neither steady nor at the exact voltage needed. The voltage regulator fixes that: it takes a varying or higher input and produces a clean, constant, specified output. There are two ways to do it, and the tradeoff between them runs through all of power electronics. A linear regulator simply drops the excess voltage as heat — dead simple and very quiet, but inefficient. A switching regulator rapidly switches and filters the power to transfer it efficiently — efficient and cool-running, but more complex and noisier. This section explains both, the dropout voltage a linear regulator needs, the common part families, and how to identify and check a regulator, pulling together the transistor, inductor, and diode from the sections before it.
Why This Matters
Almost every device has at least one voltage regulator, and they are frequent, high-impact failure points. A regulator that has failed — output missing, wrong, or shorted — leaves the circuit it feeds dead or damaged, so "this rail has no voltage" or "this rail reads full input voltage" is a diagnosis that points straight at the regulator. Understanding the two types also guides repair: a linear regulator running scorching hot is a clue (overload or a too-large input-output gap), while a switching regulator's failure often involves the inductor, diode, or switching transistor around it. And a regulator that shorts can pass its full input voltage downstream, destroying everything it feeds — a dangerous failure to recognize. Knowing what a regulator does, which kind you're looking at, and how to check its input against its output is one of the most useful power-diagnosis skills in the whole handbook.
Required Prerequisites
- Transistors — BJT and MOSFET Fundamentals — a linear regulator uses a pass transistor and a switcher uses a MOSFET switch; both build on the transistor.
- Inductors and Transformers — a switching regulator stores and transfers energy in an inductor, so the inductor is central to it.
- Power and Energy in DC Circuits — the wasted-voltage-times-current heat of a linear regulator and the idea of efficiency come straight from power.
Recommended Consumables
No consumables required. A few salvaged regulators — a 7805 and a switching module from a scrap board — make ideal, reusable study material.
Recommended Practice Hardware
- A linear regulator or two (a 7805 in a TO-220 package is the classic), and a small switching regulator module if you have one (recognizable as a little IC with a nearby inductor)
- A multimeter to measure input and output voltages — the core regulator check
- Internet or datasheet access to look up a regulator's pinout and specifications from its part number
For any measurement on powered equipment, observe the mains and discharge cautions from earlier chapters; loose parts and low-voltage benches are safe.
Real-World Applications
Regulators are the backbone of every power supply. A phone charger and a PC power supply are switching regulators, chosen for efficiency so they run cool and waste little energy. A small linear regulator like a 7805 provides a clean 5 V for a microcontroller or sensor where a quiet, simple supply matters more than efficiency. Battery-powered devices lean heavily on switching regulators (often boost converters to lift a low battery voltage up, or buck converters to bring it down efficiently) to stretch battery life. Audio and radio circuits often prefer a linear regulator's low noise for their sensitive stages. When a device shows a dead or misbehaving power rail, the regulator feeding it is one of the first things a technician checks — and knowing which type it is shapes what else to suspect around it.
Common Challenges
- Thinking a hot linear regulator is normal. Some warmth is expected, but a linear regulator too hot to touch usually signals a large input-output gap at high current, an overload, or a fault. The heat is wasted power — (input minus output) times current.
- Confusing buck and boost. A buck converter steps voltage down (output lower than input); a boost steps it up (output higher). Getting the direction backwards inverts what the circuit is supposed to do.
- Assuming the pinout. Like transistors, three-terminal regulators don't share one universal pinout, and different families differ. Read the part number and check the datasheet before wiring or testing.
Safety Notes
Risk Level: Low. Measuring regulators is low-risk, but two hazards deserve attention.
Professional Tips Before Starting
- Check input first, then output. The single most useful regulator test is measuring both: correct input but wrong or missing output points at the regulator (or an overload pulling it down or into thermal shutdown); missing input points upstream instead.
- Read the type from the surroundings. A three-terminal part alone is likely a linear regulator; a small IC beside an inductor (and often a Schottky diode and capacitors) is a switching regulator. That tells you what else to suspect.
- Respect the dropout rule for linear parts. A linear regulator needs its input above the output by at least its dropout voltage; if the input has sagged too close to the output, the regulator can't hold the output — a "low output" that isn't the regulator's fault.
Understanding, Identifying, and Checking Regulators
The Core Job
A voltage regulator takes an input voltage that may be too high, or that varies with load and time, and holds its output at a steady, specified value. It's what stands between messy real-world power — a drooping battery, a rippling rectifier output — and the clean, constant rail that digital and analog circuits need to work correctly. Every regulator does this same job; the two families differ only in how.
Linear Regulators
A linear regulator does it the simple way: it acts like an automatically adjusted resistor in series with the load (built around a "pass" transistor from Section 4.5), continuously dropping whatever excess voltage is present so that the output stays put. If it's fed 9 V and must output 5 V, it drops the extra 4 V — and here's the catch: that dropped voltage, times the current, becomes heat. The power wasted is (input − output) × current, so a big input-output gap at high current makes a lot of heat, which is why linear regulators often need a heatsink and why they are inefficient. Their virtue is the flip side: they are simple, cheap, and very low-noise, giving a clean output prized by sensitive analog and audio circuits.
A linear regulator also needs the input to stay above the output by a minimum margin — the dropout voltage. Feed a 5 V regulator with 5.2 V and, if its dropout is 2 V, it can no longer regulate; the output falls. So the input must be at least output plus dropout.
The classic linear parts are three-terminal regulators you'll recognize by number:
- 78xx — fixed positive regulators where the last two digits are the output voltage: a 7805 outputs +5 V, a 7812 outputs +12 V, a 7809 gives +9 V, and so on.
- 79xx — the fixed negative counterparts: a 7905 outputs −5 V.
- LM317 — an adjustable positive regulator whose output you set with two resistors, referenced to an internal 1.25 V reference; it covers a range rather than one fixed value.
Switching Regulators
A switching regulator (a switch-mode supply, SMPS) does the job a cleverer way: instead of burning the excess, it rapidly switches the input on and off with a transistor (usually a MOSFET) and filters the chopped-up result through an inductor and capacitor into a smooth output, transferring energy rather than dissipating it. Because little is wasted, switchers are efficient — they run cool and are kind to batteries — which is why nearly all modern power supplies are switchers. The tradeoffs are that they are more complex (more parts: the switch, an inductor, a diode or synchronous switch, capacitors, and control circuitry) and electrically noisier, since the switching action injects ripple and high-frequency noise that sensitive circuits may object to.
Switching regulators come in three basic topologies, named by what they do to the voltage:
- Buck — a step-down converter: the output is lower than the input (e.g. 12 V down to 5 V), efficiently.
- Boost — a step-up converter: the output is higher than the input (e.g. 3.7 V battery up to 5 V).
- Buck-boost — can go either way, output above or below the input, useful when a battery voltage crosses the target as it drains.
Notice that a switcher reuses the very components from earlier in this chapter: the inductor stores and releases energy each cycle, the MOSFET is the fast switch, and a diode and capacitor steer and smooth the result.
Ratings, Identification, and Checking
The ratings that matter are the input voltage range it accepts, the output voltage it produces, the output current it can supply (with thermal limits — exceed them and it overheats or shuts down), and, for a linear part, the dropout voltage; for a switcher, its efficiency. Identification follows the chapter's pattern: regulators come in familiar packages — TO-220 (power, with a heatsink tab), TO-92 (small), and SOT-23 or other SMD packages — and you read the part number off the body and consult the datasheet for the pinout and specs, never assuming pin order. A switching regulator is often recognizable as a small IC sitting next to an inductor.
Checking a regulator is mostly measuring: with power applied safely, measure the input and the output. A healthy regulator shows a correct input and the right output. Correct input but wrong or missing output means the regulator is bad, overloaded, or in thermal shutdown; missing input sends you upstream. And the dangerous case: an output reading much higher than it should — near the input — suggests a shorted regulator passing input straight through, the pass-transistor short from Section 4.5 writ large, which can damage everything downstream.
Common Mistakes
- Reading buck and boost backwards. Buck steps down (output lower); boost steps up (output higher). Fix the direction in your mind before analyzing a supply.
- Ignoring the dropout requirement. A linear regulator can't output more than its input minus the dropout; too little headroom means low output that isn't a regulator fault.
- Treating a scorching linear regulator as fine. Excessive heat is wasted power and often a sign of overload or a too-large drop; investigate rather than ignore.
- Assuming the regulator is bad without checking input. No output could be a missing input. Always measure both before condemning the part.
Troubleshooting Guidance
Regulators reward a simple, disciplined check: measure input and output. If the input is correct and the output is wrong or absent, the regulator is the prime suspect — but remember it may be a symptom rather than the cause, because a downstream short can overload the regulator and force its output down or trip its thermal shutdown, so check whether the load is pulling excessive current before condemning the part. A linear regulator that is extremely hot points to overload or an oversized input-output gap; let the numbers guide you, since the heat is (input − output) × current. The most dangerous failure is a shorted regulator that passes full input voltage to the output: if a rail reads far above its rated voltage, suspect this immediately and remove power, because downstream parts rated for the lower voltage can be destroyed in moments — the same shorted-pass-transistor idea from Section 4.5, scaled up. When replacing, match the type and the ratings: the correct output voltage and polarity (a 7805 is not a 7812, and neither is a 7905), adequate input range and output current, package and pinout from the datasheet, and, for a switcher, the surrounding inductor and diode if they were damaged too. As with every part in this chapter, identify the exact number and check the datasheet before fitting a replacement.
Verification & Testing Methods
Check your understanding before moving on:
- [ ] Explain what a voltage regulator does and why a steady supply matters.
- [ ] Contrast linear and switching regulators on efficiency, heat, noise, and complexity, and state the dropout rule.
- [ ] State the output of a 7805 and a 7812, what a 79xx is, and which of buck/boost steps voltage up versus down.
- [ ] Describe how to check a regulator by measuring input and output, and what a shorted regulator does.
Then try the practice exercises below — identifying and reasoning about regulators, measuring where safe.
Practice Exercises
- Name the type (5 minutes, reasoning). For each, state whether it's most likely a linear or a switching regulator and why: (a) a lone three-terminal TO-220 part; (b) a small IC beside an inductor and a Schottky diode; (c) the part chosen for lowest output noise in an audio preamp; (d) the part chosen for best efficiency in a battery device.
- Regulator numbers (5 minutes, recall). State the output of: (a) a 7809; (b) a 7912; (c) a 78xx in general; and say what an LM317 is and roughly what its internal reference voltage is.
- Linear heat (5 minutes, pen and paper). A linear regulator is fed 12 V, outputs 5 V, and supplies 0.5 A. How much power does it waste as heat? Use (input − output) × current, and say whether a heatsink is likely needed.
- Diagnose a rail (10 minutes, reasoning). A board's 3.3 V rail measures 8 V (its regulator's input is 8 V). What has most likely happened, why is it dangerous to the rest of the board, and what would you do first? Then describe the check for the opposite case — the rail reads 0 V.
These core ideas — the regulator's job, linear versus switching tradeoffs and dropout, the 78xx/79xx/LM317 and buck/boost, and the input-versus-output check — are tested in the Chapter Quiz at the end of this chapter, where a score of 80% is required to continue.
Key Takeaways
- A voltage regulator turns a varying or higher input into a steady, specified output — the clean, constant supply circuits need.
- A linear regulator drops the excess voltage as heat (like an auto-adjusted series resistor with a pass transistor): simple and low-noise but inefficient, wasting (input − output) × current as heat; it needs the input above the output by its dropout voltage.
- The classic linear parts: 78xx fixed positive (7805 = +5 V, 7812 = +12 V), 79xx fixed negative (7905 = −5 V), and the adjustable LM317 (set by two resistors, ~1.25 V reference).
- A switching regulator (SMPS) switches and filters to transfer energy: efficient and cool but more complex and noisier; its topologies are buck (step-down), boost (step-up), and buck-boost (either), reusing the inductor, MOSFET, and diode from earlier sections.
- Ratings that matter: input range, output voltage, output current (with thermal limits), dropout (linear), efficiency; identify by part number and datasheet, with a switcher recognizable by its nearby inductor.
- Check a regulator by measuring input and output: correct-in/wrong-out means the regulator (or an overload); a rail reading near the input voltage warns of a shorted regulator passing full voltage downstream — a destructive failure to catch fast.
Skills Learned
- You can now explain what a voltage regulator does and why circuits need a steady supply.
- You can now contrast linear and switching regulators on efficiency, heat, noise, and complexity, and apply the dropout rule.
- You can now identify a 78xx/79xx/LM317 and tell buck from boost by voltage direction.
- You can now check a regulator by comparing input and output and recognize a shorted or overheating one.
- You can now connect a shorted regulator to a rail reading full input voltage and the risk to downstream parts.
Glossary Additions
- voltage regulator — a component or circuit that takes a varying or higher input voltage and produces a steady, specified output voltage, giving the rest of a circuit the clean, constant supply it needs.
- linear regulator — a regulator that holds its output steady by dropping the excess input voltage as heat (through a series pass transistor); simple and low-noise but inefficient, wasting (input − output) × current, and requiring the input to exceed the output by its dropout voltage. The 78xx, 79xx, and LM317 are common examples.
- switching regulator — a regulator (switch-mode supply, SMPS) that rapidly switches the input on and off and filters the result through an inductor and capacitor, transferring energy efficiently rather than dissipating it; highly efficient and cool-running but more complex and electrically noisier, in buck (step-down), boost (step-up), and buck-boost topologies.
- dropout voltage — the minimum amount by which a linear regulator's input must exceed its output for it to keep regulating; if the input falls to within the dropout of the output, the regulator can no longer hold the output steady.
Suggested Next Sections
Must read next:
- Op-Amps and Amplifier ICs — from power ICs to signal ICs: the operational amplifier, the versatile building block that amplifies and compares signals, and how to recognize and reason about it.
Recommended:
- Transistors — BJT and MOSFET Fundamentals — the pass transistor and switching MOSFET that regulators are built from.
- Inductors and Transformers — the energy-storing inductor at the heart of every switching regulator.