Measurement, which is a circuit on a circuit

The ring a blocking capacitor buys

A series capacitor in front of a transformer stops its flux from walking: a 55%-duty drive that walks a bare core by 0.40 units of volt-time a period settles within a few dozen periods once the capacitor takes the drive's average. The price is a second-order high-pass with the magnetising inductance, and an inductance lets its poles go complex where two resistive coupling stages never could. Between equal resistances the damping cannot fall below 1/√2, and the poles are complex only for a capacitor between 0.17 and 5.8 times L/R². From a stiff driver the damping is √(L/C)/2R and has no floor: a capacitor large enough to make the droop small — the droop is 1/RC, the capacitor's and not the transformer's — makes the tail ring, from one zero crossing at a tenth of L/R² to thirty-five at a hundred.

Assumes: The corner that says nothing about an edge · One step, computed twice

Two coupling stages without a buffer found that a pair of resistor-and-capacitor coupling stages, however they load each other, can only spread their poles along the real axis: a network made of resistors and capacitors cannot ring. Its tail crosses zero once — the two zeros at the origin remove the waveform’s area and first moment, and one sign change is the least that balances both — and then returns to zero without oscillating. That essay closed with the arrangement where the guarantee fails, which is the one that matters most often in practice: a coupling capacitor in front of a transformer.

The capacitor is there for a reason that comes from the other end of this collection. The flux that walks drove a core with a square wave whose halves differed by one per cent and saturated it in 64 cycles, and the walk the core sees found a relaxation oscillator’s threshold noise doing the same thing slowly and at random. Both walks are the drive’s direct component accumulating in the core. A capacitor in series passes no direct current, so it removes the direct component and the walk with it. What it adds is a second reactance in a loop that already had one.

A high-pass with an inductance in it

The transformer is reduced to what a pulse sees at its low-frequency end: its magnetising inductance, 1 mH, with the load reflected across it, 100 Ω. A coupling capacitor C sits in series between a driver of resistance RsR_s and the transformer. Two elements block direct current — the capacitor in series and the inductance in shunt — so there are two zeros at the origin, exactly as for two resistive coupling stages, and the transfer function is

H(s)=s2LCa LC s2+(CRs+L/RL) s+1,a=1+Rs/RL.H(s) = \frac{s^2LC}{a\,LC\,s^2 + (CR_s + L/R_L)\,s + 1}, \qquad a = 1 + R_s/R_L.

The natural unit of time is L/RLL/R_L, ten microseconds, and the natural measure of the capacitor is x=CRL2/Lx = CR_L^2/L, the ratio of the capacitor’s time constant against the load to the inductance’s: x = 1 is 0.1 µF. In those terms the damping ratio of the two poles is (xRs/RL+1)/(2ax)(xR_s/R_L + 1)/(2\sqrt{ax}), and nothing about it forces the poles to be real.

With a 0.30 µF coupling capacitor and a stiff driver the transformer's damping is 0.289: the pulse's tail crosses zero 8 times in sixty units of L/Rₗcomputed by solving, not by drawing, marched and checked against the closed form to 2.3e-4: a pulse two L/Rₗ long through a series coupling capacitor into a 1 mH magnetising inductance with 100 Ω reflected across it, from a stiff driver. The capacitor is 0.30 µF, x = CRₗ²/L = 3. The poles are those of 3.000e-10·s² + 1.000e-5·s + 1, a damping of 0.2887 and a natural frequency of 9.19 kHz. The top ends at 0.128 of the high-frequency gain, and after the pulse the tail crosses zero 8 times, with lobes above a thousandth of the pulse, in the sixty units drawn. The slider is the capacitor.-1-0.50000.50010102030405060time, in units of L/Rₗ (10 µs)output ÷ the transformer's high-frequency gainx = 3, damping 0.289, 8 crossingssolved, then checked — marched, complex polesan inductance lets the tail ring
Fig. 1 A pulse two L/RLL/R_L long through a 0.3 µF coupling capacitor into the transformer, from a stiff driver, marched and checked against the closed form. The damping is 0.289 and the tail rings, crossing zero eight times in sixty units. The slider is the capacitor.

With a stiff driver and a 0.3 µF capacitor — x = 3 — the damping is 0.289 and the natural frequency 9.19 kHz. The march, by the backward difference the earlier coupling essays used, agrees with the closed form for complex poles to 10−310^{-3} of the pulse. The pulse’s top droops to 0.128 of the transformer’s high-frequency gain by its end, and after it the tail does what no resistive coupling ever did: it rings, crossing zero eight times with lobes larger than a thousandth of the pulse in the sixty units drawn.

The slider runs the capacitor from 0.03 µF to 1 µF. The smallest gives a damping of 0.913 and a tail with two crossings; 0.1 µF, damping 0.500 and five; 1 µF, damping 0.158, a slower ring of which only five crossings fit in the window. A larger capacitor rings more slowly and for longer, which is the first sign that the coupling capacitor’s usual sizing rule — make it large enough not to matter — is the wrong rule here.

Who decides whether it can ring

The damping depends on the driver as much as on the capacitor, and the three cases a designer meets are different in kind.

Between equal resistances the poles are complex only for x from 0.172 to 5.83 and the damping never falls below 1/√2; from a stiff driver it is 1/(2√x), with no floor. computed by solving, not by drawing. The damping ratio of the coupling capacitor and magnetising inductance, against x = CRₗ²/L, for a driver of zero, a tenth of and equal to the load resistance. Matched, the damping is (x + 1)/(2√(2x)): least at x = 1, where it is 0.7071, and below one only between 3 − 2√2 = 0.1716 and 3 + 2√2 = 5.828. From a tenth of the load resistance it falls to 0.302 at its least. From a stiff driver it is √(L/C)/(2Rₗ) = 1/(2√x) and falls without limit as the capacitor grows: 0.500 at x = 1, 0.158 at x = 10, 0.050 at x = 100.
Fig. 2 The damping ratio of the two poles against x=CRL2/Lx = CR_L^2/L, from a stiff driver, from one of a tenth of the load resistance, and from one equal to it. Matched, the poles are complex only in a window and the damping never falls below 1/21/\sqrt{2}; from a stiff driver it falls without limit.

Between equal resistances the damping is (x+1)/(22x)(x + 1)/(2\sqrt{2x}). It is least at x = 1, where it is exactly 1/21/\sqrt2, and it is below one — the poles complex — only between x=3−22=0.172x = 3 - 2\sqrt2 = 0.172 and 3+22=5.833 + 2\sqrt2 = 5.83. A matched transformer can ring, but only mildly and only for a band of capacitors: at a damping of 0.707 each half cycle of the ring is e−π=0.043e^{-\pi} = 0.043 of the one before, so after the crossing the two zeros force there is one shallow lobe a twentieth the size, and nothing a reader would see after it. Both ends of the window are the same physics: a very small capacitor makes the pair behave like a resistive coupling stage with the capacitor’s time constant, a very large one like the transformer’s own droop, and each is a first-order system with a slow second pole behind it.

From a driver of a tenth of the load resistance the floor drops to 0.302, and the window widens.

From a stiff driver the damping is L/C/(2RL)=1/(2x)\sqrt{L/C}/(2R_L) = 1/(2\sqrt x) — 0.500 at x = 1, 0.158 at x = 10, 0.050 at x = 100 — and there is no floor at all. The driver’s resistance was what damped the series resonance of the capacitor and the inductance; a driver with none leaves only the load across the inductance, and the load damps less the larger the capacitor. Gate drivers, line drivers, the output stages of switching converters are all stiff drivers, and all of them feed transformers through blocking capacitors.

The floor has a one-line reason. With equal resistances the two damping terms in the denominator’s middle coefficient are CRCR and L/RL/R — the capacitor’s time constant against the driver and the inductance’s against the load — and the damping is their sum over twice the geometric mean of the capacitor’s and inductance’s product, scaled by a\sqrt a. A sum of two positive numbers is never less than twice their geometric mean, so the damping is never less than 1/a=1/21/\sqrt a = 1/\sqrt2, and it reaches that only when the two terms are equal, at x = 1. The driver’s resistance is doing half of the damping’s work at every capacitance, and taking it away removes exactly the term that was holding the damping up as the capacitor grew.

The droop is the capacitor’s

The reason designers make the capacitor large is the droop: a pulse through a transformer sags as the magnetising current builds, and the obvious expectation is that a series capacitor adds its own sag to the transformer’s. From a stiff driver it does something stranger.

From a stiff driver a short pulse's top droops at 1/(Rₗ·C) — the capacitor's rate, not the transformer's Rₗ/L — so a capacitor ten times larger droops ten times less and is 3.16 times less damped. computed by solving, not by drawing, with marched steps as dots: the initial droop rate of the coupled transformer's step, per unit of L/Rₗ, against x, for drivers of zero, a tenth of and equal to the load resistance. From a stiff driver the rate is exactly 1/x — 1/(Rₗ·C) — because at the instant of a step the inductance carries no current and the load's current comes from the capacitor alone; the inductance's own droop, Rₗ/L, enters only in the second term. Marched: x = 0.3: 3.3023, x = 1: 1.0000, x = 3: 0.3342, x = 10: 0.1004. With source resistance the rate gains the inductance's share: 1.000 at x = 1 matched, 0.550 at x = 10 matched.
Fig. 3 The initial droop rate of the coupled transformer’s step, per unit of L/RLL/R_L, against x, for the three drivers, with marched steps as dots. From a stiff driver it is exactly 1/x: the capacitor’s rate against the load, with no contribution from the inductance.

At the instant of a step the inductance carries no current — its current can only grow — so all of the load’s current flows through the capacitor, which charges at 1/(RLC)1/(R_LC), and the output falls by exactly that rate. The initial droop from a stiff driver is the capacitor’s, 1/(RLC)1/(R_L C), and not the transformer’s RL/LR_L/L; the inductance enters the response only in its second term, through the curvature. The march measures 3.30, 1.000, 0.334 and 0.100 per unit of L/RLL/R_L at x = 0.3, 1, 3 and 10, against 1/x. With source resistance the inductance does contribute at first order — at x = 1 from a matched driver the rate is 1.000 and at x = 10 it is 0.550, the extra being the source resistance carrying the inductance’s current.

So the designer’s lever against droop, from a stiff driver, is the capacitor alone: ten times the capacitance gives a tenth of the initial droop. And the same tenfold capacitance cuts the damping by 10\sqrt{10}, to 0.158 from 0.500. The two requirements pull the one part in opposite directions, and nothing about the inductance changes the trade.

The inductance does return, in the second term, and for long pulses it is the larger. The step’s curvature at its start is (1/RLC)2−1/LC(1/R_LC)^2 - 1/LC, which in units of L/RLL/R_L is 1/x2−1/x1/x^2 - 1/x: for any capacitor larger than x = 1 the inductance makes the top bend downwards faster as the pulse goes on. Over a pulse of width w the droop is about w/x+(1/x−1/x2) w2/2w/x + (1/x - 1/x^2)\,w^2/2, and the second term overtakes the first once w exceeds 2x/(x−1)2x/(x-1) — 2.22 units at x = 10, and a little over two for any large capacitor. So for a pulse longer than about twice L/RLL/R_L, a large blocking capacitor has handed most of the droop back to the transformer, which is where it was before the capacitor was added, and kept the ring. Making the capacitor larger still buys almost nothing for such a pulse: its own term shrinks, the transformer’s does not.

Every half cycle, another crossing

Two resistive coupling stages crossed zero once. The coupled transformer crosses as often as its ring stays above whatever level a reader can see.

From a stiff driver the tail crosses zero 1 time at x = 0.1 and 35 at x = 100 before it fades — one crossing is owed to the two zeros, the rest to the inductance. computed by solving, not by drawing, counted on the closed form over twenty-five of each capacitor's ring periods and held against the march at x = 1 and 10: the number of times a two-unit pulse's tail crosses zero with a lobe larger than a thousandth of the pulse, through the coupling capacitor and transformer from a stiff driver. x = 0.1: damping 1.581, 1 crossing; x = 0.3: damping 0.913, 2 crossings; x = 1: damping 0.500, 5 crossings; x = 3: damping 0.289, 9 crossings; x = 10: damping 0.158, 14 crossings; x = 30: damping 0.091, 22 crossings; x = 100: damping 0.050, 35 crossings. Overdamped, the tail crosses once, as two resistive coupling stages' did, because two zeros at the origin remove two moments. Underdamped, every half cycle of the ring above the threshold is another, and their number grows roughly as one over the damping.
Fig. 4 The number of times a two-unit pulse’s tail crosses zero, with lobes above a thousandth of the pulse, before the ring fades, against x, from a stiff driver: counted on the closed form over twenty-five ring periods and held against the march at two capacitors.

Counted until the ring has fallen below a thousandth of the pulse, over a window of twenty-five of each capacitor’s own ring periods — a larger capacitor rings more slowly, so a fixed window would undercount it — the tail crosses zero once at x = 0.1, where the damping is 1.58 and the poles are real, and then 2, 5, 9, 14, 22 and 35 times at x = 100. The march, over the same windows at x = 1 and 10, finds the same counts to within the one lobe that peaks on the threshold.

The first crossing is owed to the two zeros at the origin and would be there with any damping; every further one is a half cycle of the inductance and capacitor ringing. Their number grows roughly as one over the damping, because each half cycle shrinks by a factor of e−πζ/1−ζ2e^{-\pi\zeta/\sqrt{1-\zeta^2}}, and a lightly damped pair needs many of them to fall by a thousand.

A step through the loaded pair crosses zero at 0.861 s and is lowest, at −0.076, at exactly twice that — the buffered pair's one and two seconds, moved earlier. computed by solving, not by drawing, marched and checked against the closed form: a unit step through two one-second coupling stages, buffered and unbuffered with the second stage's impedance equal to and 0.3 times the first's. buffered: crosses zero at 1.000 s (closed form 1.000), lowest at 2.000 s, −0.1353; k = 1: crosses zero at 0.861 s (closed form 0.861), lowest at 1.722 s, −0.0756; k = 0.3: crosses zero at 0.662 s (closed form 0.662), lowest at 1.324 s, −0.0293. For any two real poles the step's zero crossing is at t = ln(p₂/p₁)/(p₁ − p₂) and its derivative vanishes where p₁²exp(p₁t) = p₂²exp(p₂t), which is exactly 2t; loading moves t* earlier and makes the undershoot shallower.
Fig. 5 From the loaded-pair essay: a step through two resistive coupling stages crosses zero once and bottoms out at twice that time, for any loading. Without an inductance there is no ring, only the one crossing two zeros force.

The contrast with the resistive pair is the whole of the inductance’s contribution. Both networks have two zeros at the origin and both remove the waveform’s area and first moment. The resistive pair satisfies those two constraints with the least possible oscillation; the coupled transformer satisfies them too, and then rings on top, because a series resonance with too little damping has its own business that the constraints do not forbid.

Reading the ring on a bench

The ring is also a measurement, and a convenient one. Its frequency is the series resonance of the blocking capacitor and the magnetising inductance, 1/(2πaLC)1/(2\pi\sqrt{aLC}) — 9.19 kHz for 0.3 µF and 1 mH from a stiff driver, 5.03 kHz for 1 µF — and its decay per cycle gives the damping. A designer who sees a few-kilohertz oscillation on the tail of every burst from a MOSFET’s gate-drive transformer has, in that oscillation, the magnetising inductance (if the capacitor is known) and the effective damping resistance, without disconnecting anything. The tail’s first crossing, the one the two zeros force, comes first and is the same whatever the damping; the crossings after it count the damping.

The same reading tells a designer which side of the trade a circuit is on. A tail that crosses once and returns is a capacitor small enough, or a driver resistive enough, that the pulse’s droop is the cost; a tail that rings for a dozen crossings is a capacitor sized for flatness from a stiff driver, and the ring is the cost. Neither is wrong. What the crossings figure adds is that the count can be predicted from two numbers on the schematic, before the circuit is built.

What the capacitor is for, measured

None of this is an argument against the capacitor. It is there because a transformer driven with any direct component walks its flux to saturation, and the capacitor stops that.

A 55% duty drive walks the bare transformer's flux by 0.40 units every period; with an x = 10 coupling capacitor in series the walk stops, and what the capacitor costs is the ring. Marched: a ±1 V square drive of period 4·L/Rₗ and 55% duty, from a stiff driver, into the 1 mH magnetising inductance with 100 Ω across it, with and without a series coupling capacitor of x = 10. The flux is the integral of the voltage across the inductance, read at each period's end. Bare, it walks by (2·duty − 1)·T = 0.40 units a period, without limit, and the core would saturate. With the capacitor, which charges to the drive's average and so removes it, the flux settles within the first few tens of periods and then varies by 2.8e-3 units over the last twenty. The settling is the capacitor and inductance ringing at their own frequency, with the damping of 1/(2√x) = 0.158: the price of the protection.
Fig. 6 A ±1 V square drive of 55% duty and period 4L/RL4L/R_L into the transformer from a stiff driver, with and without a 1 µF coupling capacitor: the flux at the end of each period. Bare, it walks without limit; with the capacitor it settles once the capacitor has charged to the drive’s average.

A square drive with 55 per cent duty has a direct component of a tenth of its amplitude. Into the bare transformer from a stiff driver it walks the flux by 0.40 units of volt-time a period — four microvolt-seconds at one volt — and keeps walking, exactly as the magnetics essays found for a fixed imbalance from a stiff source, until, as the walk that stops found, a winding’s resistance halts it. With a 1 µF capacitor in series the flux settles: the capacitor charges towards the drive’s average, the voltage across the inductance loses its direct component, and over the last twenty periods the period-end flux varies by less than three thousandths of a unit. How it settles is the series resonance again, ringing with a damping of 0.158 from the first edge until the capacitor has caught up.

So the blocking capacitor converts an unbounded walk into a bounded ring. That is a good exchange, and it has terms. The ring’s amplitude after a change in the drive’s duty is set by the size of the change and the damping; a drive whose duty is modulated — a regulator’s pulse width moving with the load — keeps exciting it. And the flux during the ring overshoots the level it settles at, by the same factor a step response overshoots its final value, so the core’s headroom has to cover the ring as well as the settled offset. The spread a winding resistance holds found a winding’s resistance bounding the walk at a stationary spread; the capacitor bounds it at zero, and buys the ring with the difference.

Sizing the capacitor, with both constraints in view

The two figures that constrain the capacitor from opposite sides give a designer a range rather than a rule. From a stiff driver the initial droop is 1/x per unit of L/RLL/R_L, so a pulse of width w droops by about w/(xL/RL)w/(xL/R_L), and a droop of five per cent over a two-unit pulse needs x of at least 40. At x = 40 the damping is 0.079, and the tail rings for a few dozen crossings. Halving the droop to two and a half per cent doubles x and cuts the damping by 2\sqrt2, to 0.056.

Two ways out of the trade are visible in the damping figure. A driver with some resistance raises the floor: at a tenth of the load resistance the damping cannot fall below 0.302 at any capacitance, and the cost is the driver’s own dissipation and a smaller pulse at the load. Or the damping can be added where it does no harm to the pulse — a resistor across the capacitor, which passes the direct component slowly and lets the walk return in proportion, or a snubber across the transformer, which costs power at every edge. Each is the capacitor’s ring being paid for in some other currency, and the figures above say how much of it there is to pay for.

What it leaves out

The leakage inductance and winding capacitance. The transformer here is its magnetising inductance and nothing else, which is right for the slow end of a pulse — the droop and the tail — and wrong for its edges, where leakage inductance and winding capacitance make a second, much faster resonance. The two rings are separated by the ratio of magnetising to leakage inductance, usually a few hundred, and do not interact.

A core that saturates. The inductance is linear. A core driven near its limit has an inductance that falls with the flux, so the series resonance’s frequency rises and its damping changes during the ring; whether the ring then helps or hinders the settling is a march with the core’s own curve in it.

Still open: the digital high-pass, a duty cycle that moves, and the capacitor that is also a sensor

The same arithmetic in software. A recording system that removes drift with a recursive digital high-pass puts zeros at the origin without any inductance, and a second-order digital filter can be given complex poles deliberately, for a steeper corner. Whether that choice puts a ring into every event the system records — the coupled transformer’s behaviour reproduced in arithmetic — is the question this essay leaves for a filter with no parts at all.

A drive whose duty is modulated. A regulator’s pulse width follows its load, so the drive’s average moves continuously and the blocking capacitor’s ring is excited continuously. The flux then carries a component at the load’s frequency, amplified near the series resonance, and a load that happens to vary near that frequency drives the core harder than any fixed imbalance would.

The capacitor’s voltage as a measurement. The blocking capacitor settles at the drive’s average, so its voltage is a direct reading of the drive’s imbalance — the quantity the hysteresis essays measured as a walk. A circuit that watches that voltage and trims the duty to null it is a loop around the ring, and its stability is the series resonance’s damping, read as a margin.

Part 5 on AC coupling

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

What links here

Essays that reach for this one mid-argument — the half of a link its own author cannot write down.

The objects named here

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

AC couplingDamping ratioMagnetising inductanceRingingSource impedanceStep responseTransformerVolt-seconds