The trim a lot should get
Assumes: What a pair cancels, and what it only halves · The tolerance that is not on any part
The trim that takes the drift with it took one bipolar pair and asked where its offset trim should go. Trimmed by a constant applied after the pair, the offset is zero at 300 K and drifts exactly as it did before; trimmed by the ratio of the collector loads, inside the same logarithm as the saturation-current mismatch, it holds zero at every temperature. Then base current through a source resistance added a second share with its own temperature law, falling as as the current gain rises, and neither trim held it. The load trim, which is proportional to absolute temperature, opposed that share at 300 K and drifted away from it in the opposite direction elsewhere, leaving . For that pair, with a 2% saturation-current mismatch and current gains of 200 and 220, the constant trim was the better choice above 34 kΩ and the load trim below.
The essay ended by naming what that crossing was a property of. A crossing between two shares of an offset depends on the ratio of the shares, and that ratio was fixed by the pair’s two mismatches. A production line trims thousands of pairs, each with its own two mismatches, of either sign, drawn from spreads. The decision it must make is one trim for the whole line, or a measurement that chooses per unit, and either decision is about a distribution and not about any one pair.
A lot, drawn
The lot is two thousand pairs, generated from a fixed seed so that every number here can be reproduced. Each pair is the earlier essay’s pair — 10 µA a side from a 20 µA tail, 10 kΩ collector loads, current gain rising as — with two numbers of its own. Its saturation-current mismatch is , with normal with a standard deviation of 1%, and its current-gain mismatch is about a geometric mean of 200, with normal with a standard deviation of 10%. The two draws are independent, which is how the mismatch that cancels itself separated a mirror’s mismatches too. A 1% spread in saturation current is a reasonable figure for a pair of modest area laid out side by side; a 10% spread in current gain is ordinary for transistors that were not selected for it. The earlier essay’s pair, at 2% and 10%, is a two-sigma pair in the first and a one-sigma pair in the second.
Every pair is trimmed at 300 K, by each method in turn, and the quantity of interest is the drift each method leaves at 300 K, in microvolts per kelvin. That is the number a data sheet specifies, and the number that decides whether a pair trimmed at room temperature is still in specification at 85 °C.
What the histograms say
At 20 kΩ on each input, the first figure shows the two distributions. Neither is centred anywhere but on nought — the mismatches have both signs equally — and they differ in width. The constant trim leaves a standard deviation of 1.005 µV/K, the load trim 0.828. On this lot, at this source resistance, the load trim is the better single choice: 77.8% of the pairs are inside ±1 µV/K after it, against 68.3% after the constant trim.
That is not the earlier essay’s answer applied to a lot, because the earlier essay’s answer was about one pair. Its crossing at 34 kΩ was the resistance at which that pair’s base-current share became large enough, relative to its saturation-current share, that the load trim’s conversion cost more than the constant trim’s indifference. In a lot each pair has its own crossing. A pair with a small saturation-current mismatch and a large current-gain mismatch prefers the constant trim at almost any resistance — and whichever trim it gets, its residual offset is what the offset that brings the even orders back found restores distortion — a pair with the opposite combination prefers the load trim at almost any. The line’s decision has to be about the spread of the drift, and the spread has a crossing of its own.
A closed route, and the term it missed
Two thousand pairs at nine source resistances is eighteen thousand pairs, and the earlier essay’s solve is too slow to be run that many times: each load trim bisects a load ratio, and each step of the bisection solves the pair from its junction laws by Newton’s method and two more bisections. So the lot is computed by a closed route, and the route is checked by solving a sample of the lot in full.
The first version of the closed route used the earlier essay’s results as they stood. A constant trim leaves the untrimmed drift, which is the saturation-current share less the base-current share’s , with . A load trim leaves . The check against the full solve passed for the constant trim and failed for the load trim, by up to 0.17 µV/K on eight pairs whose drifts were of order 1.
The reason is in what a load trim does to the currents. A constant trim leaves the collector loads equal, and the output nulls with equal collector currents. A load trim makes the loads unequal by a ratio , and the output then nulls with the collector currents in the ratio . Unequal collector currents in transistors of the same current gain mean unequal base currents — the error the base current the mirror counts twice met in a copy — and through a source resistance unequal base currents are an offset. So the base-current share after a load trim is not the untrimmed one. With , it is , and since the trim sets , it is
Taken at the trimmed currents, the closed route meets the full solve to two per cent on all eight pairs, as the second figure shows. The correction does two things. It adds a term in , the saturation-current mismatch, to the load trim’s residue, so the load trim’s drift now depends on both mismatches. And the denominator, , shrinks the whole share slightly as the source resistance grows, because the trim’s own unbalance partly cancels the base currents it opposes.
The trim’s own share
The extra term deserves a figure of its own, because it is a property of the load trim and not of any mismatch in current gain. Take a pair whose two transistors have current gains of exactly 200, so that the earlier essay’s analysis says the base currents contribute nothing: their difference is nought. Trim it by the load ratio, through a source resistance, and the trim itself creates a base-current difference.
The third figure solves such pairs in full. At a 2% saturation-current mismatch the load trim leaves 0.080 µV/K at 10 kΩ and 0.686 at 100 kΩ, a drift proportional to the mismatch and nearly to the source resistance, and it is exactly the term the closed route was missing. The constant trim, which leaves the currents equal, drifts 1.706 µV/K at 2% at every source resistance, which is the untrimmed saturation-current drift and nothing else.
Even here the load trim is better, by a factor of 2.5 at 100 kΩ, but the factor is no longer infinite, as the earlier essay’s figure at zero source resistance made it look. A load trim through source resistance converts a part of the saturation-current mismatch into a base-current share, with the base-current share’s temperature law, and the conversion grows with the resistance. A load trim is therefore never perfect for a pair driven through source resistance, even one whose current gains match.
Where the spreads cross
With the closed route corrected, the lot can be computed at every source resistance. The fourth figure plots the standard deviation of the drift after each trim, from nought to 100 kΩ.
At nought the load trim leaves nothing — there are no base currents through no resistance — and the constant trim leaves the saturation-current share’s spread, , 0.862 µV/K for this lot. As the resistance rises, the constant trim’s spread grows slowly, because its base-current share enters as added in quadrature to a share that does not change, while the load trim’s grows in proportion, as . The two spreads cross at 27.9 kΩ, where the base-current share’s spread is roughly half the saturation-current share’s.
The earlier essay’s pair crossed at 34 kΩ because its saturation-current mismatch was large — two sigma — so its base-current share had to grow further before it mattered. A lot crosses where its typical pair does, and a pair at the edge of the distribution is not typical. The lot’s crossing is the number a product line wants, and it depends on two spreads that a foundry quotes and nothing else.
The closed forms are drawn as lines, and they use the population’s spreads, 1% and 10%. The dots are the lot’s measured spreads. They meet the lines to a per cent when the lot’s own sample standard deviations — 1.000% and 10.3% on this seed — are put into the formulas instead, which is the check the figure makes: the formula is exact to first order, and the remaining difference is the sample.
Choosing per pair
A product line that trims each pair once, at one temperature, has to use one method throughout. A line that measures each pair at a second temperature knows each pair’s drift under either trim before it commits, and can choose the better one pair by pair. That is a different policy with a different cost, and the fifth figure prices its benefit.
At 20 kΩ and a specification of ±0.5 µV/K, the constant trim passes 38.7% of the lot, the load trim 46.8%, and the choice per pair 64.0%. At ±1 µV/K the three are 68.3%, 77.8% and 88.5%. The choice per pair is better than either single trim at every specification — it must be, since it takes the better of two for each pair — and by most at the tight specifications, where a pair’s two drifts most often fall on opposite sides of the limit.
What it costs is the second temperature. A trim decided at 300 K alone has no access to the drift; a pair has to be measured warm, or cold, before its trim is chosen, which in production is a second insertion into a test station at a controlled temperature. Whether that is worth the 17 percentage points at ±0.5 µV/K depends on what a failing part costs, which the circuit cannot say.
There is also a policy the figure does not draw, because the earlier essay already found it: a two-knob trim, set at two temperatures for zero offset and zero drift. It leaves only curvature and passes nearly every pair at any drift specification, but it needs the second temperature too, and both knobs. The choice per pair is a cheaper use of the same second measurement — one knob, chosen — and it is the middle option between a single blind trim and a full two-point one.
Reading the decision rule
Three numbers summarise the line’s decision, and only one of them is the earlier essay’s.
The first is the crossing in source resistance, which moves from 34 kΩ for the single pair to 27.9 kΩ for this lot. A designer who took the single pair’s crossing as a rule would, between those resistances, choose the trim that is worse for the lot. With a larger saturation-current spread the lot’s crossing moves up towards the pair’s; with a larger current-gain spread it moves down.
The second is the spread itself, which sets yield. At 20 kΩ the better single trim leaves 0.83 µV/K, so a specification of ±1 µV/K passes 78% of the lot, and a specification of ±2 µV/K, about two and a half sigma, passes nearly all of it. A data sheet’s typical drift is roughly this sigma, and its maximum is a multiple of it.
The third is the price of information: 17 points of yield at ±0.5 µV/K for a second temperature. That number depends on the lot sitting near the crossing, where the two trims are close in spread and differ pair by pair. Far from the crossing, one trim is better for nearly every pair, and choosing per pair gains little. At 20 kΩ this lot is just below its crossing, which is where measuring pays most.
How the numbers were obtained
The lot is two thousand draws of and from verify-kit’s seeded generator, seed 4040, by Marsaglia’s polar method. The same draws are used at every source resistance, so the curves across resistance are not separated by sampling noise.
The closed route gives each pair’s constant-trim drift as with at equal collector currents, and its load-trim drift as , with at the trimmed currents and the load ratio found by iterating to convergence. Eight pairs were solved in full by the earlier essay’s method, each drift taken by a central difference two kelvin either side of 300 K, and both routes agree to two per cent plus 0.02 µV/K. The matched-gain pairs were all solved in full and compared with the closed form to two per cent.
The spreads were checked against their first-order closed forms with the lot’s sample spreads to one per cent at every source resistance drawn, and the crossing was bisected on the closed forms at the population’s spreads. Like the error that is a distribution, every percentage here is a statement about this sample, accurate to about a percentage point at the yields drawn.
What the lot leaves out
The two mismatches are independent and normal. A real process correlates them weakly — a transistor with a larger emitter area has more saturation current and slightly different current gain — and has tails heavier than normal from defects. Correlation would move the crossing, and tails would lower the yields at loose specifications more than at tight ones.
Every pair is trimmed perfectly. A real trim has a resolution, a laser cut or a fuse step, and leaves a residue at 300 K whose drift follows the trim’s law. What matching does about temperature found the saturation-current share proportional to absolute temperature, which is also what a load trim’s residue follows, so a coarse load trim leaves a residual drift of the residual offset divided by .
The source resistance is the same for every pair. In an application it is set by the circuit, not by the part, and a part sold for general use meets every source resistance. A trim chosen for a typical source resistance is the right one on average over a distribution of applications that the manufacturer does not know. The rejection the parts have met the same problem in another form: a figure of merit that depends on the circuit it is placed in.
Curvature is ignored. All the drifts here are slopes at 300 K. Two millivolts a kelvin, and the wrong sign is where a single junction’s curvature was measured; a lot’s curvature spreads too, and a specification over a wide range is a box, not a slope.
The number worth carrying
The trim a product line should choose depends on the spreads of its two mismatches, not on any pair. For 1% and 10% spreads the load trim’s drift spread crosses the constant trim’s at 27.9 kΩ of source resistance, not at the 34 kΩ one pair with 2% and 10% mismatches crossed at. Computing a lot cheaply needed one correction found only by solving pairs in full: a load trim unbalances the collector currents it trims, so its residue is with , and even matched current gains leave 0.686 µV/K at 2% and 100 kΩ. Choosing per pair at a second temperature raises the yield at ±0.5 µV/K from 47% to 64% at 20 kΩ.
Still open: a trim of finite resolution, a correlated process, and the source resistance as a distribution
A trim with steps. A load trim made by cutting a resistor in steps cannot reach the exact ratio, and the residue it leaves at 300 K is a uniform distribution whose drift follows absolute temperature. Adding that to the lot’s spread, and finding the step size at which the trim’s own resolution becomes the larger term, would turn the yield curves into a specification for the trim network.
Mismatches that move together. With the saturation-current and current-gain mismatches correlated, the load trim’s term in either grows or shrinks depending on the sign. A correlation of a few tenths, which a single layout asymmetry could produce, would move the crossing, and how far is a question this lot answers by redrawing.
The circuit as part of the draw. A part sold for general use is placed in circuits with source resistances spread over decades. The yield a manufacturer cares about is the fraction of placements in which the part meets its specification, and choosing a trim to maximise that is a problem over a joint distribution of the part and its use. The temperature a cancelled input is best at showed how a ratio of two such spreads can produce a distribution with no mean at all, which is a warning that this one may not be benign.
Part 5 on differential pair
One argument about Differential pair, and one of 4 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.
Current gainDevice matchingDifferential pairInput offsetMonte carloOffset driftYield
- The cure that needs one current device matching, monte carlo
- The small leg of a large ratio device matching, monte carlo
- What a ratio does not see device matching, monte carlo