Active Components
Lesson 7 of 7beginner
20 min read

Voltage Regulators

Zener regulation, linear regulators (78xx, LDO), switching overview

Theory

๐ŸŽง Listen to this lesson

Why Regulate Voltage?

Most electronic components (ICs, sensors, microcontrollers) need a stable, precise voltage supply. Batteries lose voltage as they discharge, wall adapters vary with load, and transformers output wobbly rectified AC. A voltage regulator takes a 'noisy' or variable input voltage and outputs a clean, constant voltage regardless of load or input changes.

Zener Diode Regulation

A Zener diode is designed to conduct in reverse once the voltage across it reaches the Zener voltage (V_Z). In a simple regulation circuit, a series resistor limits current, and the Zener clamps the output voltage at V_Z. This is the simplest voltage regulator โ€” good for low-current reference voltages.

  • โ€ขHow it works: current flows through R_series โ†’ Zener conducts in reverse at V_Z โ†’ excess current bypasses through the Zener โ†’ output stays at V_Z.
  • โ€ขLimitation: poor regulation under varying loads, wastes power in the series resistor and Zener, low current capability (typically < 50 mA).
  • โ€ขCommon Zener voltages: 3.3 V, 5.1 V, 12 V, 15 V.
  • โ€ขMain use today: voltage references and overvoltage protection (TVS diodes are enhanced Zeners).

Linear Regulators โ€” The 78xx Family

The 78xx series (7805 = 5 V, 7812 = 12 V, 7833 = 3.3 V) are three-terminal linear regulators: Vin, Vout, GND. They take a higher input voltage and output a fixed, regulated voltage. They need input capacitors and output capacitors (typically 100 nF ceramic + 10 ยตF electrolytic on each side) for stability.

Key Concept
The 78xx regulator needs at least ~2 V more than its output: a 7805 needs โ‰ฅ 7 V in to produce 5 V out. This 'dropout voltage' is the minimum Vin โˆ’ Vout difference for proper regulation.
  • โ€ข7805 โ€” 5 V output, used since the 1970s. Max input ~35 V, max current ~1 A (with heatsink).
  • โ€ข7812 โ€” 12 V output. Common for powering relay modules and motors.
  • โ€ข7833 โ€” 3.3 V output. For modern microcontrollers and sensors.
  • โ€ข79xx โ€” negative voltage regulators (7905 = โˆ’5 V). Used in dual-supply circuits.
  • โ€ขAll excess voltage is burned as heat: P_heat = (Vin โˆ’ Vout) ร— I_load.

LDO Regulators (Low Dropout)

LDO (Low Dropout) regulators are an improved version of linear regulators with a much smaller dropout voltage โ€” as low as 100โ€“300 mV instead of 2 V. This means an LDO can regulate 3.3 V from a 3.6 V lithium battery, which a 78xx can't. LDOs are essential for battery-powered electronics.

  • โ€ขAMS1117-3.3 โ€” popular LDO, 3.3 V, up to 1 A. Dropout ~1.1 V. Very common on dev boards.
  • โ€ขMCP1700 โ€” ultra-low quiescent current (1.6 ยตA), great for battery-powered sleep modes.
  • โ€ขAP2112K โ€” 600 mA, very low dropout (~250 mV), SOT-23 package.
  • โ€ขKey spec: quiescent current โ€” how much current the regulator itself draws with no load. Critical for battery life.

Understanding Dropout Voltage

Dropout voltage is the minimum difference between input and output voltage for the regulator to work properly. If Vin drops below Vout + Vdropout, the output starts drooping. For a 7805 (dropout ~2 V), you need at least 7 V in. For an AMS1117-3.3 (dropout ~1.1 V), you need at least 4.4 V in. For an MCP1700-3.3 (dropout ~178 mV), you need only 3.48 V โ€” perfect for a 3.7 V LiPo battery.

Heat Dissipation & Efficiency

Linear regulators work by 'wasting' the excess voltage as heat. Efficiency = Vout / Vin. Regulating 12 V down to 3.3 V is only 3.3/12 = 27.5% efficient โ€” almost 75% of the power is wasted as heat! This is acceptable for low-current applications but becomes a serious problem at higher currents.

Warning
P_heat = (Vin โˆ’ Vout) ร— I_load. If converting 12 V to 5 V at 1 A, the regulator dissipates (12โˆ’5) ร— 1 = 7 W โ€” enough to burn your finger! Use a heatsink or choose a switching regulator instead.

Switching Regulators (Overview)

Switching regulators rapidly switch the input voltage on and off and use an inductor + capacitor to smooth it to the desired output. They achieve 80โ€“95% efficiency regardless of the Vin-to-Vout ratio. They can step down (buck), step up (boost), or both (buck-boost).

  • โ€ขBuck converter โ€” steps voltage down (e.g., 12 V โ†’ 5 V). Most common type. 85โ€“95% efficient.
  • โ€ขBoost converter โ€” steps voltage up (e.g., 3.7 V โ†’ 5 V). Used to get USB voltage from a single Li-ion cell.
  • โ€ขBuck-boost โ€” can step up or down. Useful when the input voltage can vary above and below the desired output.
  • โ€ขTrade-off: switching regulators are more efficient but add electrical noise (switching ripple) and need more external components (inductor, diode, caps). Linear regulators have cleaner output.

Choosing the Right Regulator

  • โ€ขZener + resistor โ€” only for voltage references or tiny loads (< 10 mA).
  • โ€ข78xx linear โ€” when Vin is moderate, current is low (< 500 mA), and noise matters (audio, analog sensors).
  • โ€ขLDO โ€” when Vin is only slightly above Vout (e.g., battery โ†’ 3.3 V), or for clean power in noise-sensitive circuits.
  • โ€ขSwitching (buck) โ€” when efficiency matters, Vin >> Vout, or current is high (> 500 mA). Accept some noise.
  • โ€ขSwitching (boost) โ€” when you need a higher voltage from a lower battery.

Formulas

Interactive Diagram

Interactive Circuit Diagram

12.0V100ฮฉI = 120.0mAP = 1.44W
12V
7V24V
100ฮฉ
10ฮฉ500ฮฉ

Calculator

V=Iร—RV = I \times R

Enter any 2 values to calculate the rest

Circuit Challenges

Challenge 1 of 2
Regulator Heat Dissipation

A 7805 regulates 9 V to 5 V with a 400 mA load. How much power does it dissipate as heat?

Pheat=(Vinโˆ’Vout)ร—IloadP_{heat} = (V_{in} - V_{out}) \times I_{load}
+โˆ’9V5V out7805A
9V
5V
0.4A
? W

Calculate & fill in:

W

Knowledge Check

Question 1 of 5

What is the minimum input voltage for a 7805 regulator to produce 5 V?