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.
- โข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.
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
Calculator
Enter any 2 values to calculate the rest
Circuit Challenges
A 7805 regulates 9 V to 5 V with a 400 mA load. How much power does it dissipate as heat?
Calculate & fill in: