PracticeVideosBlogFlashcards

7.4 Power Supply Design & Voltage Regulators

Key Takeaways

  • Power supply filter circuits (C-filter, LC-choke input, π\pi-filter) attenuate AC ripple; simple C-filters exhibit ripple voltage Vr(p−p)=IDCfrippleCV_{r(p-p)} = \frac{I_{DC}}{f_{ripple} C}.

  • Zener diode shunt regulators maintain constant output voltage V_Z under line and load variations provided Zener current remains within bounds IZ(min)≤IZ≤IZ(max)I_{Z(min)} \le I_Z \le I_{Z(max)}.

  • Fixed linear IC regulators (78xx positive, 79xx negative) provide fixed DC outputs (e.g., 7805 for +5V, 7912 for -12V) with built-in thermal overload and short-circuit protection.

  • Adjustable 3-terminal regulators like the LM317 regulate output via reference voltage Vref=1.25V_{ref} = 1.25V using formula Vout=1.25(1+R2R1)+IadjR2V_{out} = 1.25 \left(1 + \frac{R_2}{R_1}\right) + I_{adj} R_2.

  • Switched-Mode Power Supplies (SMPS) utilize high-frequency PWM switching (Buck, Boost, Buck-Boost topologies) to achieve high conversion efficiency (80-95%) compared to linear regulators (30-60%).

Last updated: July 2026

7.4 Power Supply Design & Voltage Regulators

Quick Answer: Power supply filters smooth pulsating DC from rectifiers into steady DC. Capacitor filter ripple is Vr(p−p)=IDCfrippleCV_{r(p-p)} = \frac{I_{DC}}{f_{ripple} C}. Zener regulators hold voltage VZV_Z constant across load changes. Fixed 3-terminal regulators (78xx positive, 79xx negative) deliver fixed voltages. Adjustable regulators like LM317 produce Vout=1.25V(1+R2R1)+IadjR2V_{out} = 1.25\text{V} \left(1 + \frac{R_2}{R_1}\right) + I_{adj} R_2. Switched-Mode Power Supplies (SMPS)—Buck (step-down: Vout=DVinV_{out} = D V_{in}), Boost (step-up: Vout=Vin1−DV_{out} = \frac{V_{in}}{1-D}), and Buck-Boost (Vout=−D1−DVinV_{out} = -\frac{D}{1-D} V_{in})—achieve 85−95%85-95\% efficiency compared to 40−60%40-60\% for linear regulators.

Power Supply Filtering & Smoothing Circuits

The output of a rectifier is pulsating DC containing a desired DC component VdcV_{dc} and an undesirable AC ripple voltage component VrV_r.

1. Filter Topologies & Ripple Expressions

  • Capacitor Input Filter (C-Filter): A large electrolytic capacitor placed in parallel across the load charges to peak voltage VmV_m during diode conduction and discharges into RLR_L during non-conduction.
    • Peak-to-Peak Ripple Voltage: Vr(p−p)=IDCfrippleC=VDCfrippleRLCV_{r(p-p)} = \frac{I_{DC}}{f_{ripple} C} = \frac{V_{DC}}{f_{ripple} R_L C}
    • DC Output Voltage under Load: VDC=Vm−Vr(p−p)2=Vm−IDC2frippleCV_{DC} = V_m - \frac{V_{r(p-p)}}{2} = V_m - \frac{I_{DC}}{2 f_{ripple} C}
    • RMS Ripple Voltage & Ripple Factor: Vr(rms)=Vr(p−p)23  ⟹  γ=Vr(rms)VDC=123frippleRLCV_{r(rms)} = \frac{V_{r(p-p)}}{2\sqrt{3}} \implies \gamma = \frac{V_{r(rms)}}{V_{DC}} = \frac{1}{2\sqrt{3} f_{ripple} R_L C}
  • LC Filter (Choke Input Filter): Series inductor LL blocks high-frequency AC ripple currents, while shunt capacitor CC bypasses remaining AC ripple to ground. Ripple factor is independent of load current: γ=23ω2LC(for full-wave rectifier at 2ω)\gamma = \frac{\sqrt{2}}{3 \omega^2 L C} \quad (\text{for full-wave rectifier at } 2\omega)
  • π\pi-Filter (CRC / CLC Filter): Combines an input capacitor, series choke or resistor, and output capacitor, yielding extremely low ripple factor at the expense of higher component cost and size.

Linear Voltage Regulators: Zener & Integrated Circuits

Voltage regulation ensures the output DC voltage remains stable despite changes in AC line voltage (Line Regulation) or load current (Load Regulation).

  • Line Regulation (%): ΔVoutΔVin×100%\frac{\Delta V_{out}}{\Delta V_{in}} \times 100\%
  • Load Regulation (%): VNL−VFLVFL×100%\frac{V_{NL} - V_{FL}}{V_{FL}} \times 100\%

1. Zener Diode Shunt Regulator

A Zener diode connected in reverse bias across the load regulates output voltage at VZV_Z.

  • Series current-limiting resistor RSR_S: RS=Vin−VZIS=Vin−VZIZ+ILR_S = \frac{V_{in} - V_Z}{I_S} = \frac{V_{in} - V_Z}{I_Z + I_L}
  • Operational Bounds:
    • To maintain regulation at maximum load (IL(max)I_{L(max)}), Zener current must not fall below IZ(min)I_{Z(min)} (typically 5 mA5\text{ mA}): RS(max)=Vin(min)−VZIZ(min)+IL(max)R_{S(max)} = \frac{V_{in(min)} - V_Z}{I_{Z(min)} + I_{L(max)}}
    • At zero load (IL=0I_L = 0), Zener current must not exceed maximum power dissipation IZ(max)=PZ(max)VZI_{Z(max)} = \frac{P_{Z(max)}}{V_Z}: RS(min)=Vin(max)−VZIZ(max)R_{S(min)} = \frac{V_{in(max)} - V_Z}{I_{Z(max)}}

2. Fixed IC Regulators (78xx & 79xx Series)

Standard 3-terminal linear voltage regulators feature internal thermal shutdown, current limiting, and safe-area protection.

  • 78xx Series: Positive fixed voltage regulators (e.g., 7805 = +5V+5\text{V}, 7812 = +12V+12\text{V}, 7824 = +24V+24\text{V}).
  • 79xx Series: Negative fixed voltage regulators (e.g., 7905 = −5V-5\text{V}, 7912 = −12V-12\text{V}).
  • Pinouts (TO-220 Package):
    • 78xx: Pin 1 = Input, Pin 2 = Ground, Pin 3 = Output.
    • 79xx: Pin 1 = Ground, Pin 2 = Input, Pin 3 = Output.

3. Adjustable IC Regulator (LM317)

The LM317 is a 3-terminal positive adjustable regulator maintaining a precise reference voltage Vref=1.25 VV_{ref} = 1.25\text{ V} between its Output and Adjust pins.

  • Output Voltage Formula: Vout=Vref(1+R2R1)+IadjR2=1.25V(1+R2R1)+IadjR2V_{out} = V_{ref} \left(1 + \frac{R_2}{R_1}\right) + I_{adj} R_2 = 1.25\text{V} \left(1 + \frac{R_2}{R_1}\right) + I_{adj} R_2
  • Since adjustment pin current IadjI_{adj} is small (≈50 μA\approx 50\ \mu\text{A}), it is often neglected: Vout≈1.25V(1+R2R1)V_{out} \approx 1.25\text{V} \left(1 + \frac{R_2}{R_1}\right)
  • Recommended setting: Choose R1≈240 ΩR_1 \approx 240\ \Omega to ensure minimum load current (≈5 mA\approx 5\text{ mA}).

Switched-Mode Power Supplies (SMPS) & DC-DC Converters

Switched-Mode Power Supplies switch a power transistor (MOSFET) fully ON and fully OFF at high frequencies (50 kHz−1 MHz50\text{ kHz} - 1\text{ MHz}), controlling output voltage by varying the Pulse-Width Modulation (PWM) duty cycle D=tonTD = \frac{t_{on}}{T}.

Basic Non-Isolated Converter Topologies

TopologyConversion Function (VoutV_{out} vs VinV_{in})Voltage LevelDuty Cycle Range (DD)Key Components & Operation
Buck ConverterVout=D⋅VinV_{out} = D \cdot V_{in}Step-Down (Vout<VinV_{out} < V_{in})0<D<10 < D < 1Transistor in series with input; inductor-capacitor output filter smooths current.
Boost ConverterVout=Vin1−DV_{out} = \frac{V_{in}}{1 - D}Step-Up (Vout>VinV_{out} > V_{in})0<D<10 < D < 1Inductor stores energy during tont_{on}; discharges into output capacitor during tofft_{off}.
Buck-Boost ConverterVout=−D1−DVinV_{out} = -\frac{D}{1 - D} V_{in}Inverting Step-Up/Step-Down0<D<10 < D < 1Produces negative polarity voltage relative to ground; step-down for D<0.5D < 0.5, step-up for D>0.5D > 0.5.

Linear vs. Switched-Mode Power Supply Comparison

FeatureLinear RegulatorSwitched-Mode Power Supply (SMPS)
EfficiencyLow (30%−60%30\% - 60\%), power lost as heat (Ploss=(Vin−Vout)ILP_{loss} = (V_{in}-V_{out})I_L)High (80%−95%80\% - 95\%), minimal power loss
Size & WeightLarge & heavy due to low-frequency (60Hz60\text{Hz}) transformers & heat sinksSmall & lightweight due to high-frequency operation
Output Noise / RippleExceptionally low noise, high ripple rejection (>60 dB> 60\text{ dB})Higher switching noise & EMI requiring filtering
Design ComplexityVery simple (3-terminal ICs)Complex (PWM controller, magnetics, feedback loop)

Step-by-Step Worked Examples

Example 1: LM317 Output Voltage Calculation

Problem: An LM317 regulator circuit uses R1=240 ΩR_1 = 240\ \Omega and R2=2.4 kΩR_2 = 2.4\text{ k}\Omega (2400 Ω2400\ \Omega). The adjust pin current is Iadj=50 μAI_{adj} = 50\ \mu\text{A}. Calculate the regulated output voltage VoutV_{out}.

Solution:

  1. Identify Formula: Vout=1.25(1+R2R1)+IadjR2V_{out} = 1.25 \left(1 + \frac{R_2}{R_1}\right) + I_{adj} R_2
  2. Calculate Main Term: 1.25(1+2400240)=1.25(1+10)=1.25×11=13.75 V1.25 \left(1 + \frac{2400}{240}\right) = 1.25 (1 + 10) = 1.25 \times 11 = 13.75\text{ V}
  3. Calculate IadjI_{adj} Offset Term: IadjR2=(50×10−6 A)×(2400 Ω)=0.12 VI_{adj} R_2 = (50 \times 10^{-6}\text{ A}) \times (2400\ \Omega) = 0.12\text{ V}
  4. Total Output Voltage: Vout=13.75 V+0.12 V=13.87 VV_{out} = 13.75\text{ V} + 0.12\text{ V} = 13.87\text{ V}

Example 2: Buck Converter Duty Cycle & Output Voltage

Problem: A Buck DC-DC converter operates with an input voltage Vin=24 VV_{in} = 24\text{ V} and a switching frequency of 100 kHz100\text{ kHz}. If the switch is ON for ton=3 μst_{on} = 3\ \mu\text{s} during each period, calculate: (a) Switching period TT, (b) Duty cycle DD, and (c) Regulated output voltage VoutV_{out}.

Solution:

  1. Calculate Switching Period TT: T=1fs=1100×103 Hz=10 μsT = \frac{1}{f_s} = \frac{1}{100 \times 10^3\text{ Hz}} = 10\ \mu\text{s}
  2. Calculate Duty Cycle DD: D=tonT=3 μs10 μs=0.30(30%)D = \frac{t_{on}}{T} = \frac{3\ \mu\text{s}}{10\ \mu\text{s}} = 0.30 \quad (30\%)
  3. Calculate Output Voltage VoutV_{out}: Vout=D×Vin=0.30×24 V=7.2 VV_{out} = D \times V_{in} = 0.30 \times 24\text{ V} = 7.2\text{ V}
Test Your Knowledge

An LM317 adjustable linear voltage regulator has R1 = 240 ohms and R2 = 1.2 kilohms. Neglecting the adjust pin current Iadj, what is the regulated DC output voltage?

A

6.25 V

B

7.50 V

C

8.75 V

D

10.00 V

Test Your Knowledge

A full-wave rectifier operating at 60 Hz supplies a DC load current of 100 mA to a 1000 uF capacitor filter. What is the peak-to-peak ripple voltage across the filter?

A

0.417 V

B

0.833 V

C

1.667 V

D

3.333 V

Test Your Knowledge

A Boost SMPS converter operates with an input voltage of 12 V and a PWM duty cycle of D = 0.60. Assuming ideal lossless operation, what is the output DC voltage?

A

7.2 V

B

20.0 V

C

30.0 V

D

48.0 V

Sections you finish are checked off in the contents.