C553 of 57
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

C5 · Lesson 53 · Power supply lab

Exact ripple and diode currents, Zener and follower regulators, in Python

Lessons 8 and 11 sized rectifiers and regulators with approximations: ripple as I2fC, a conduction window of 2Vr/Vp, a Zener as a fixed voltage. Each is good to ten or twenty percent, which is fine for a first pass and not for a product. In this lab you'll compute the same quantities exactly from the models, see where the approximations err and in which direction, and build the calculations a power-supply design needs.

Play

  • A half-wave rectifier charges a capacitor that feeds a constant-current load. The second trace is the diode's current.
  • The diode conducts in short pulses near each peak. Raise the load current: the ripple grows, the pulses widen, and their peaks climb.
  • Raise the capacitance. The ripple falls, but the pulses get narrower and taller: the same charge has to arrive in less time.

Predict

A full-wave rectifier with a 10.6 V peak feeds 100 mA from 1000 µF at 60 Hz. The formula I2fC gives 0.83 V of ripple. Is the true ripple larger or smaller?

Name it

Exact conduction with a constant-current load

Take the input as Vpsin⁡ϕ after the diode drops, with ϕ=ωt. While the diode conducts, the capacitor follows the input and the diode supplies ωCVpcos⁡ϕ+IL. That falls to zero just after the peak, at

ϕoff=π2+arcsin⁡ILωCVp.

From there the capacitor discharges linearly, v=Vpsin⁡ϕoff−IL(ϕ−ϕoff)ωC, until it meets the rising input of the next half-cycle (full-wave, π later) or the next cycle (half-wave, 2π later). Solving that crossing by bisection gives the turn-on phase ϕon and with it

  • the ripple, Vp(1−sin⁡ϕon);
  • the conduction angle, ϕoff−ϕon;
  • the peak diode current, ωCVpcos⁡ϕon+IL, at turn-on.

A Zener with resistance

Model the Zener in breakdown as VZ0 in series with rz. With the supply, RS, the Zener and the load RL all meeting at the output node, the node equation gives

V=Vin/RS+VZ0/rz1/RS+1/rz+1/RL,

valid while that V is at least VZ0 (the Zener conducts). Below that the Zener is off and the output is just the divider VinRLRS+RL.

The follower regulator

The base node satisfies Vin−VBRB=VB−VZ0rz+ILβ+1, and the output is VB−VTln⁡ILIS. The input must stay above both VZ+RB(IZ,min+ILβ+1) and Vout plus the pass transistor's minimum voltage, or the output drops out.

Worked example

Find the exact ripple, conduction angle and peak diode current for lesson 8's bridge supply: 10.6 V peak, 100 mA, 1000 µF, 60 Hz. Compare them with the approximations.

Show the solution
  1. Turn-off angle. ωCVp = 4.00 A, so ϕoff=π2+arcsin⁡0.14.00=1.596rad just past the peak.
  2. Turn-on angle. Bisection finds the next turn-on at ϕon = 1.197 rad into the next half-cycle.
  3. Ripple. ΔV=10.6(1−sin⁡1.197)=0.731V
  4. Conduction angle and peak current. The conduction angle is 0.399 rad (22.8°), and Ipk=4.00cos⁡1.197+0.1=1.56A
  5. Compare with the approximations. They gave 0.833 V, 0.396 rad and 1.68 A: the ripple 14% high, the window less than 1% narrow, the peak current 8% high. All are on the safe side for sizing, but a supply designed to them carries a larger capacitor than it needs.

Answer the exact ripple is 0.731 V, the conduction angle 0.399 rad (22.8°) and the peak diode current 1.56 A, against the approximations' 0.833 V, 0.396 rad and 1.68 A.

Worked example

A 5.1 V Zener (rz = 10 Ω) is fed from 12 V through 150 Ω. Find the output with 1 kΩ, 200 Ω and 100 Ω loads.

Show the solution
  1. With 1 kΩ. V=12/150+5.1/101/150+1/10+1/1000=5.480V and the Zener carries 5.480−5.110 = 38 mA.
  2. With 200 Ω. The output is 5.284 V, with 18 mA in the Zener.
  3. With 100 Ω. The formula gives 5.057 V, below VZ0, so the Zener is off and the output is 12×100250=4.80V Regulation has been lost.
  4. What the rz model shows. The output already falls 0.2 V between the first two loads, which the fixed-voltage model hides.

Answer the output is 5.480 V with 1 kΩ and 5.284 V with 200 Ω; with 100 Ω the Zener turns off and the output drops to 4.80 V.

Worked example

Lesson 52's follower regulator (5.6 V Zener with rz = 10 Ω, RB = 220 Ω, β = 50, IS=10−14 A) runs from 9 V. What's its output at 50 mA and 500 mA, and what's its dropout input at 500 mA?

Show the solution
  1. Base voltage at 50 mA. VB=9/220+5.6/10−0.05/511/220+1/10=5.738V
  2. Output at 50 mA. VBE=0.02585ln⁡0.0510−14=0.756V so Vout = 4.983 V.
  3. At 500 mA. VB = 5.654 V and VBE = 0.815 V, so the output is 4.839 V: 144 mV lower, as lesson 52 estimated.
  4. What the base resistor needs. Vin≥5.6+220×(5+9.8)mA=8.86V
  5. What the pass transistor needs. It needs 4.84 + 1.0 = 5.84 V.
  6. Which sets the limit. So the regulator drops out below 8.86 V at full load: the Zener's resistor sets the limit, well above what the transistor needs.

Answer the output is 4.983 V at 50 mA and 4.839 V at 500 mA, and the regulator drops out below an 8.86 V input at 500 mA.

Check

Step 1. Write conduction(Vp, f, C, IL, full=True) returning (ripple, angle, ipeak) for a capacitor-input rectifier with an ideal diode and a constant-current load, as in the reading: find ϕoff, then bisect for the turn-on phase in the next half-cycle (full-wave) or cycle (half-wave).

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Step 2. Write zener_design(Vmin, Vmax, VZ, ILmax, IZmin) returning (RS, PZ, PR): the largest series resistor, and the Zener's and the resistor's worst-case dissipation (at the highest input with no load).

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Step 3. Write zener_out(Vin, RS, VZ0, rz, RL) returning the output of a Zener regulator with the VZ0 + rz model, falling back to the plain divider when the Zener isn't conducting.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Step 4. Write follower_reg(Vin, VZ0, rz, RB, beta, IL, IS=1e-14) returning the output of an emitter-follower regulator, from the base-node equation and VBE=VTln⁡ILIS with VT = 0.02585 V.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

Step 5. Write dropout(Vout, IL, beta, VZ, RB, IZmin=0.005, vce=1.0) returning the lowest input voltage at which a follower regulator still regulates at load current IL.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

A full-wave rectifier (10 V peak after the diodes, 50 Hz) feeds 0.5 A from 2200 µF.

(a)

What ripple does the usual approximation give?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

(b)

At what phase does the diode stop conducting?

Check

A Zener (VZ0 = 6.2 V, rz = 20 Ω) fed from 10 V through 100 Ω drives 1 kΩ. What's the output?

Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.

Explain why

Why does the usual ripple formula overestimate the ripple of a capacitor-input rectifier?

Practice

Keep practicing

4 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.