Circuits that do a job, and the range they do it over

The reservoir the headroom sizes

A 12 V regulator with a volt of headroom needs its input never to fall below 13 V, and the moment that is hardest is low mains at full load: a rectified 15.3 V peak into half an amp. Marched with the diodes in the netlist, a supply with no leakage inductance holds that trough from 2.65 mF up; one with the 0.3 mH of leakage that flattens a supply's regulation holds it from 1.58 mF — 40 per cent less capacitance, checked by marching both designs at their own sizes and finding 13.02 V. The saving grows as the headroom shrinks, a ratio of 1.51 at 12 V and 1.67 at 13, and it comes with a gentler charging pulse, 3.44 A against 4.70. It is not free. The inductance rings the reservoir up past the source's own peak, so the leaky design holds the same floor under a higher mean, and at high mains its regulator dissipates 3.43 W against 3.05 — 12 per cent more heat for 40 per cent less capacitor.

Assumes: The direct voltage that is a sawtooth · A source below a frequency

The inductance that flattens the supply found that a transformer’s leakage inductance, an element usually listed among a winding’s defects, makes an unregulated supply regulate better: 0.3 millihenries took the output resistance at a hundred ohms of load from 3.88 ohms to 0.67, because the inductance first rings the reservoir up and then turns the rectifier part of the way toward choke input. It closed by naming the decision that result is for. A supply like this usually feeds a regulator, and a regulator does not care about the mean output or its slope. It cares about one number: the lowest the input ever falls, at the heaviest load and the lowest mains. The smallest reservoir that keeps that number above the regulator’s output plus its dropout is the reservoir a designer buys.

This essay finds that reservoir, with and without the leakage, and what each design costs elsewhere. The leakage turns out to buy a lot of capacitance. It also turns out to charge for it, in a currency the earlier essay’s figures did not show: heat in the regulator at the other end of the mains range.

The smallest reservoir that keeps a 12 V regulator in regulation at low mains: 2.65 mF with no leakage and 1.58 mF with 0.3 mH. computed by solving, not by drawing, marched with the diodes in the netlist: the trough of the reservoir's voltage at 15.3 V peak — ten per cent low mains — into 28 Ω, about half an amp, with 50 mΩ of winding and no leakage inductance or 0.3 mH, at six reservoirs from 680 µF to 4.7 mF (dots). A regulator of 12 V with 1 V of headroom needs the trough above 13 V (line). No leakage: trough 10.03, 11.15, 12.08, 12.76, 13.28, 13.60 V; smallest reservoir 2.65 mF. 0.3 mH: trough 10.63, 12.16, 12.95, 13.31, 13.52, 13.62 V; smallest reservoir 1.58 mF. Each smallest reservoir was then marched again and its trough is 13 V to a few hundredths. The leakage that flattens the supply also lifts its trough at every reservoir drawn, so the same floor is held with 40% less capacitance.
Fig. 1 The lowest voltage on the reservoir at 15.3 V peak — ten per cent low mains — into 28 Ω, about half an amp, against the reservoir, with 50 mΩ of winding and no leakage (solid) or 0.3 mH (dashed), marched at six sizes from 680 µF to 4.7 mF. A 12 V regulator with 1 V of headroom needs 13 V. Without leakage that takes 2.65 mF; with 0.3 mH, 1.58 mF. Both were marched again at those sizes and their troughs are 13.02 V.

The condition a regulator sets

The supply is the one these essays have used since the direct voltage that is a sawtooth: a centre-tapped full-wave rectifier, its diodes in the netlist, feeding a reservoir capacitor, marched cycle by cycle until it settles. Nominally the winding delivers 17 volts peak. The regulator after it is a 12 volt part with a volt of dropout, so its input must never fall below 13 volts. The worst moment is low mains, taken as ten per cent low — 15.3 volts peak — at the full load of half an amp. The regulator draws roughly its output current from its input whatever the input voltage is; that is represented here by the 28 ohms that draw half an amp at the trough, which is a resistor where a regulator is a current sink, and the difference is named rather than hidden. The winding has 50 milliohms of resistance, and either no leakage inductance or 0.3 millihenries, the value the earlier essay found best for regulation.

The hero figure is the trough against the reservoir. Without leakage it rises from 10.03 volts at 680 microfarads to 13.60 at 4.7 millifarads. With 0.3 millihenries it is higher at every size drawn: 10.63 at 680, 12.95 at 1.5 millifarads where the plain supply has 12.08, and 13.62 at 4.7. Interpolated in the logarithm of the capacitance, the plain supply reaches 13 volts at 2.65 millifarads and the leaky one at 1.58.

The interpolation is the first route. The second is to march each supply again at its own interpolated reservoir and read the trough directly, and both come out at 13.02 volts — the interpolation in a quantity that bends was good to two hundredths of a volt. The leaky supply holds the same floor with 40 per cent less capacitance.

Why the leakage lifts the floor

The trough is where the reservoir has discharged for longest since it was last topped up. Without leakage the diodes conduct in a short, steep pulse near the crest of each half cycle, and the reservoir then carries the load alone until the next crest — the sawtooth the first of these essays drew. Everything about the trough is set by how much charge the pulse delivers and how long the reservoir has to hold the load without it.

The leakage inductance changes both. It limits how fast the current can rise, so the pulse is lower and longer, and it keeps the current flowing after the winding voltage has passed its crest, because an inductance cannot stop its current at once. The diodes conduct over a larger share of each half cycle, the reservoir is topped up later, and the gap it must bridge alone is shorter. That is the choke-input behaviour the inductance that flattens the supply found partway developed at 0.3 millihenries, and its effect on the trough is to lift it at every reservoir: the reservoir is charged less abruptly and discharged for less of the cycle.

The lift is not the same at every size, and its shape explains where the saving comes from. Read from the hero figure’s dots, the leaky supply’s trough is 0.60 volts higher at 680 microfarads, 1.01 at a millifarad, 0.87 at 1.5, 0.55 at 2.2, 0.24 at 3.3 and only 0.02 at 4.7. It is largest where the ripple is large and the reservoir is being drawn well down between pulses, because that is where spreading the pulse buys the most time; with a very large reservoir the ripple is small whatever the pulse looks like, and both supplies approach the same trough. The 13 volt requirement happens to sit where the lift is still about half a volt, and that half volt is the 40 per cent.

What the textbook sizing would have bought

The usual way to size a reservoir skips the march. The load draws its current II from the capacitor for most of each half cycle, so the ripple is about I/2fCI/2fC, and a reservoir that must hold the trough within ΔV\Delta V of the crest is C=I/(2f ΔV)C = I/(2f\,\Delta V). The direct voltage that is a sawtooth found that expression high, because the capacitor does not discharge for the whole half cycle: the diodes are conducting for part of it.

Applied to these two designs with the crests the marches actually reach, it oversizes both. For the plain supply, a crest of 14.55 volts and a trough of 13 is a ΔV\Delta V of 1.55 volts, and at about half an amp the expression asks for about 3.2 millifarads, a fifth more than the 2.65 the march found. For the leaky supply, a crest of 15.47 volts gives a ΔV\Delta V of 2.45 and the expression asks for about 2.0 millifarads, nearly 30 per cent more than 1.58. The expression is more wrong for the leaky supply because its diodes conduct for a larger share of the cycle, which is exactly the part of the behaviour the expression leaves out.

And the expression cannot see the leakage at all unless the crest is measured. A designer who estimates the crest as the winding’s peak less a diode drop, about 14.6 volts, would size both supplies alike, and would never find the 40 per cent: the leakage acts by moving the crest above the source, which no expression written in terms of the source can know.

The saving grows as the headroom shrinks

A regulator with more dropout, or a lower output, needs a lower trough, and the two supplies’ requirements can be read off the same marches for any need.

The smallest reservoir against the regulator's need: with 0.3 mH of leakage 1.19 mF for 12.5 V and 1.58 mF for 13 V, against 1.90 mF and 2.65 mF. computed by solving, not by drawing, from the twelve marches: for each trough a regulator might need, from 11.5 to 13.5 V, the reservoir that just reaches it, interpolated in log C, with no leakage (solid) and 0.3 mH (dashed). For 12.5 V: 1.90 mF, 1.19 mF. For 13 V: 2.65 mF, 1.58 mF. Both curves rise steeply as the need approaches the highest trough any reservoir drawn reaches — 13.60 V without leakage and 13.62 V with it at 4.7 mF — and the ratio between them is 1.51 at 12 V, 1.60 at 12.5 and 1.67 at 13: the saving grows as the headroom shrinks.
Fig. 2 The smallest reservoir that holds each trough a regulator might need, from 11.5 to 13.5 V, interpolated from the same marches, with no leakage (solid) and 0.3 mH (dashed). For 12.5 V: 1.90 mF and 1.19 mF. For 13 V: 2.65 mF and 1.58 mF. The ratio between them is 1.51 at 12 V, 1.60 at 12.5 V and 1.67 at 13 V. The vertical lines are the troughs at 4.7 mF, 13.60 and 13.62 V.

For a 12.5 volt trough the plain supply needs 1.90 millifarads and the leaky one 1.19; for 13 volts, 2.65 and 1.58. The ratio grows as the need rises — 1.51 at 12 volts, 1.60 at 12.5, 1.67 at 13 — because both curves bend upward steeply as the need approaches the highest trough any reservoir can deliver, and the plain supply’s curve bends sooner. Near the limit, a few hundred millivolts of extra headroom cost the plain supply a great deal of capacitance and the leaky one somewhat less.

That is a practical asymmetry. The reservoir’s cost is set at low mains and full load, and those are the conditions a designer is least able to relax: mains tolerance is specified by somebody else, and a regulator’s dropout is a property of the part. A supply that is closest to its limit is the one where the leakage is worth most.

Two capacitors that are one found that two reservoir capacitors in parallel are one curve read at a different series resistance, and the resistance that lowers the ripple found an interior minimum in the ripple against the capacitor’s own resistance. Both moved the ripple by small amounts at a fixed reservoir. The leakage moves the reservoir needed by forty per cent at a fixed trough, which puts it in a different class of effect.

A smaller reservoir and a gentler pulse

The reservoir is not the only part the charging pulse sizes. The current that sizes the transformer found the winding’s copper set by the pulse’s root-mean-square current and the diodes by its peak, and both grow as the pulse narrows.

At each supply's own smallest reservoir the diodes' peak is 4.70 A without leakage and 3.44 A with it: the leakage buys a smaller capacitor and a gentler charging pulse together. computed by solving, not by drawing, from the same marches: the peak diode current against the reservoir at low mains, with no leakage (solid) and 0.3 mH (dashed), and at each supply's smallest reservoir for a 13 V trough (large dots). No leakage at 2.65 mF: 4.70 A, a crest factor of 9.52; 0.3 mH at 1.58 mF: 3.44 A, a crest factor of 6.78. Without leakage a bigger reservoir means a narrower, taller pulse — the crest factor rises from 5.76 at 680 µF to 10.53 at 4.7 mF — so the design that needs more capacitance also needs diodes and a winding for a larger peak. With leakage the pulse is spread and the trade runs the other way.
Fig. 3 The peak diode current against the reservoir at low mains, with no leakage (solid) and 0.3 mH (dashed), and at each design’s own smallest reservoir (large dots): 4.70 A, a crest factor of 9.52, for the plain supply at 2.65 mF, and 3.44 A, a crest factor of 6.78, for the leaky one at 1.58 mF. Without leakage the crest factor climbs from 5.76 at 680 µF to 10.53 at 4.7 mF.

Without leakage a larger reservoir means a narrower, taller pulse: the crest factor rises from 5.76 at 680 microfarads to 10.53 at 4.7 millifarads. So the plain supply’s larger reservoir comes with a larger peak, 4.70 amps at its 2.65 millifarads, a crest factor of 9.52. The leaky supply at its own 1.58 millifarads peaks at 3.44 amps, a crest factor of 6.78. It needs less capacitor and puts less stress on its diodes and its winding at the same time. Most design trades in this supply have run one way or the other — the resistance that belongs in the winding found a winding resistance lowering the peak at the cost of mean output — and this one runs both ways at once, which is what makes the leakage look free.

The price, at the other end of the mains

It is not free, and the cost appears at the opposite corner of the operating range: high mains, where the regulator has the most voltage to drop.

The price of the smaller reservoir: at high mains the regulator fed from the leaky supply dissipates 3.43 W against 3.05 W. computed by solving, not by drawing, marched at 18.7 V peak — ten per cent high mains — with each supply's smallest reservoir for a 13 V trough at low mains: 2.65 mF with no leakage and 1.58 mF with 0.3 mH. The regulator's dissipation is (mean input − 12 V) × the input current. No leakage: mean input 13.81 V at low mains and 17.02 V at high, 0.89 W and 3.05 W; 0.3 mH: mean input 14.18 V at low mains and 17.49 V at high, 1.11 W and 3.43 W. The leaky supply holds the same trough with a larger ripple about a higher mean — its inductance rings the reservoir above the source's own peak — and the regulator's heat follows the mean, so the design that saved 40% of the capacitance costs 12% more heat at high mains.
Fig. 4 The regulator’s dissipation at half an amp, (mean input − 12 V) × the input current, for each design at its own smallest reservoir, at low mains (15.3 V peak, left bars) and high mains (18.7 V peak, right bars). The plain supply at 2.65 mF: 0.89 W and 3.05 W. The leaky supply at 1.58 mF: 1.11 W and 3.43 W.

At low mains the plain supply’s mean input is 13.81 volts and the leaky supply’s 14.18, so the regulator dissipates 0.89 and 1.11 watts. At high mains, 18.7 volts peak, the means are 17.02 and 17.49, and the regulator dissipates 3.05 and 3.43 watts. The leaky design runs its regulator 12 per cent hotter at the worst corner. A regulator’s heatsink is sized at high mains and full load, so the 40 per cent saved in capacitance is paid back in heatsink.

The mechanism is visible in the waveforms. Both designs have their trough at 13 volts. They do not have the same mean, because they do not have the same ripple, and a regulator dissipates in proportion to the mean.

One floor, two shapes

Two supplies sized to the same 13 V trough at low mains: 2.65 mF with no leakage and 1.58 mF with 0.3 mH, and the shapes they reach it with. computed by solving, not by drawing, marched: the last 20 ms of the reservoir voltage at 15.3 V peak into 28 Ω, for each supply at its own smallest reservoir. Both troughs are at 13 V: 13.023 and 13.016 V. Without leakage the reservoir is charged in a short pulse near the crest and then sags; with 0.3 mH the charge is spread over a longer stretch of the half cycle and the inductance carries it on past the crest, so the reservoir peaks at 15.47 V — above the 15.3 V source — against 14.55 V, with a ripple of 2.45 V against 1.52 V: a larger ripple about a higher mean, holding the same floor with 40% less capacitance.
Fig. 5 The last 20 ms of the reservoir voltage at low mains, for each design at its own smallest reservoir: no leakage at 2.65 mF (solid) and 0.3 mH at 1.58 mF (dashed). Both troughs are 13.02 V. The plain supply peaks at 14.55 V with 1.52 V of ripple; the leaky one at 15.47 V — above the 15.3 V source — with 2.45 V.

The plain supply’s reservoir is charged in a short pulse and sags, peaking at 14.55 volts with 1.52 volts of ripple. The leaky supply’s is charged over a longer stretch, and its inductance carries the charging current on past the crest of the winding voltage, so the reservoir rises above the winding’s own peak: 15.47 volts against a 15.3 volt source. That is the ringing-up the earlier essay found flattening the regulation, and it is what lifts the trough here. With a smaller reservoir the ripple is larger, 2.45 volts, so the same floor sits under a higher mean.

A regulator downstream cannot use that extra voltage; it only burns it. The ripple that arrives as a comb found the reservoir’s ripple passing through a regulator’s rejection to its output, and a larger ripple is a larger input to that rejection as well. So the leaky design trades three things against one: less capacitance and a gentler pulse against more regulator heat and more ripple for the regulator to reject.

Which design to choose

The figures give a designer the four numbers the choice needs and leave the weighting to them. Capacitance is bulky and its ripple-current rating rises with the peak current, so the leaky design’s smaller, less-stressed reservoir is a real saving in volume and in the capacitor’s life. The regulator’s heat is the other side, and on a linear supply delivering half an amp it is a fraction of a watt at the worst corner, 0.38 watts here. On a supply where the heatsink is already the largest part, that tips the other way.

Two things make the leaky design more attractive than these numbers alone suggest. The leakage is often already there: a small mains transformer’s leakage inductance is a property of how it is wound, and choosing a transformer with a little more of it, rather than adding an inductor, costs nothing. And the regulation it buys, which the earlier essay measured, also shrinks the range of input the regulator sees, which is what what gets through from the rail found decides how much of the input’s movement reaches the output. That regulation means the regulator’s input moves less between light and full load, so a supply that must also survive a light-load high-mains condition — where the input climbs highest — has less climbing to survive. The resistance a supply’s regulation counts found the mean output’s slope against load set by each element’s mean current, and the leakage is an element whose effect on that slope is negative.

What the supply leaves out

The load is a resistance, where a regulator is close to a current sink; a current sink draws the same current at the trough as at the crest, and a resistance draws less at the trough, so the real trough is a little lower than these and the smallest reservoirs a little larger. The mains is a clean sinusoid at exactly ten per cent low, with no source impedance of its own; the mains cable and the primary add an inductance and a resistance in series with the leakage, which this essay’s design would have to include. The capacitor has no tolerance, where an electrolytic is commonly ±20 per cent, and the smallest reservoir must be bought at its minimum value — 3.9 millifarads nominal for the plain design, since 3.3 at its low limit is a hair short of 2.65, and 2.2 for the leaky one. And larger leakage inductances are not drawn, because with a reservoir of several millifarads they ring slowly enough that the march has not settled in twelve cycles; the earlier essay found the regulation turning back past an optimum, and the trough may well do the same.

The number to keep

A 12 V regulator with a volt of headroom, fed at ten per cent low mains and half an amp, needs a 13 V trough. Without leakage inductance the reservoir that holds it is 2.65 mF; with 0.3 mH, 1.58 mF — 40 per cent less, and the ratio grows as the headroom shrinks, 1.51 at a 12 V trough and 1.67 at 13. The smaller design’s diodes peak at 3.44 A against 4.70. The inductance does it by ringing the reservoir up past the source’s own peak, so the same floor sits under a higher mean, and at high mains the regulator dissipates 3.43 W against 3.05: 12 per cent more heat for 40 per cent less capacitor.

Still open: the regulator as a current sink, the mains cable, and a capacitor bought at its tolerance

A load that is a current sink. A regulator draws its output current from its input at every voltage, so as the reservoir sags its load does not fall with it. Marching the supply into a current sink instead of a resistance would lower every trough and enlarge every smallest reservoir, and the question is whether it changes the leakage’s saving or only shifts both designs together.

The cable and the primary behind the winding. The mains cable’s inductance and the primary’s resistance sit in series with the leakage, seen through the turns ratio. A supply designed with 0.3 mH of leakage on a stiff bench supply has more than that on a long lead, and whether a supply tuned for its trough is pushed past an optimum by the installation is a march with a second inductance in it.

A reservoir bought at its minimum. An electrolytic’s tolerance is wide and asymmetric, and its capacitance falls with age and with cold. A design sized at the nominal value fails its trough at the low end of the tolerance; sized at the low end, it carries more ripple current at the high end. Marching the two designs across their capacitors’ tolerance and age would say which one has more margin to spend.

Part 8 on unregulated supply

One argument about Unregulated supply, and one of 9 essays on it so far, each part numbered by how much of the idea it assumes. What sits either side of it:

The supply's mean output against its load, with no leakage inductance, 0.3 mH and 1 mH in the winding. computed by solving, not by drawing, marched with the diodes in the netlist: 17 V peak into 1000 µF, 50 mΩ of winding throughout. Without inductance the output falls 1.69 V from 200 Ω to 25 Ω, an average slope of 3.43 Ω. With 0.3 mH it falls 0.62 V, 1.14 Ω, from a higher start; with 1 mH, 0.42 V, 0.77 Ω. An element that carries the load's current and drops no mean voltage makes the regulation better, not worse. The inductance that flattens the supply Part 7 — An unregulated supply's output resistance counts each resistance by the mean current it carries, and an inductance in the winding carries the whole mean current and drops no mean voltage — so by that rule it should count for nothing. Marched, it counts for less than nothing: 0.3 mH of leakage takes the output resistance at 100 Ω from 3.88 Ω to 0.67, and the mean output falls 0.62 V from 200 Ω to 25 Ω instead of 1.69. The effect has an interior optimum — 0.03 mH makes it slightly worse, 0.3 mH best, 3 mH back to 2.86 Ω — because the inductance first rings the reservoir up and then turns the rectifier toward choke input. Fed into a 0.5 A sink instead of 28 Ω, the supply needs 2.71 mF without leakage and 1.53 mF with 0.3 mH — the resistor's 2.65 mF and 1.58 mF, to a few per cent. computed by solving, not by drawing, marched with the diodes in the netlist at 15.3 V peak with 50 mΩ of winding: the trough of the reservoir against its capacitance, the load either 28 Ω or a current sink of 0.5 A, without leakage and with 0.3 mH. No leakage, 28 Ω: trough 10.03, 11.15, 12.08, 12.76, 13.28, 13.60 V from 680 µF to 4.7 mF, smallest reservoir for 13 V 2.65 mF; No leakage, 0.5 A sink: trough 9.46, 10.86, 11.96, 12.71, 13.27, 13.61 V from 680 µF to 4.7 mF, smallest reservoir for 13 V 2.71 mF; 0.3 mH, 28 Ω: trough 10.63, 12.16, 12.95, 13.31, 13.52, 13.62 V from 680 µF to 4.7 mF, smallest reservoir for 13 V 1.58 mF; 0.3 mH, 0.5 A sink: trough 10.42, 12.20, 12.98, 13.33, 13.53, 13.63 V from 680 µF to 4.7 mF, smallest reservoir for 13 V 1.53 mF. The leakage's saving is a ratio of 1.67 with the resistor and 1.77 with the sink. Below the design point the sink's trough falls further, because a resistor's current falls with its voltage and a sink's does not; at 13 V the resistor already draws close to 0.5 A. The load that does not fall with the supply Part 9 — A linear regulator draws its output current from its input at every input voltage it can regulate from, so the honest load for the supply in front of it is a current sink and not a resistor. Marched both ways at the design point — 15.3 V peak, a 13 V trough, half an amp — the two agree: a 0.5 A sink needs 2.71 mF where 28 Ω needed 2.65, and 1.53 where it needed 1.58 with 0.3 mH of leakage, because the resistor drew 0.493 A in one design and 0.507 in the other. Away from it they part. Below the design mains the sink's trough falls 0.99 V for every volt of peak and the resistor's only 0.89, since a resistor's current falls with its voltage; the resistor lends a margin the regulator never has. At high mains a resistor draws 0.61 A where the regulator draws 0.5, so the heat the resistor model implies, 3.05 and 3.43 W, is 18 and 23 per cent too high — and the leakage's heat penalty is 8 per cent, not 12.

The objects named here

The third axis, after the field and the idea: the things themselves, and every essay that touches each one.

Crest factorDesign tradeoffHeadroomLeakage inductanceLoad regulationMarchingRectificationReservoir capacitor