Devices, and the amplitude they stop being linear at

The trim a lot should get

A single bipolar pair with 2% saturation-current and 10% current-gain mismatch, driven through source resistance, drifts less after a load trim than after a constant one below 34 kΩ and more above it. A production lot is not that pair. Two thousand pairs, their mismatches drawn with spreads of 1% and 10%, trimmed at 300 K through 20 kΩ, leave a drift spread of 1.005 µV/K after a constant trim and 0.828 after a load trim, and the two spreads cross at 27.9 kΩ, not 34. The closed route that makes two thousand pairs cheap needed one correction, found by solving eight of them in full: a load trim balances the outputs by unbalancing the collector currents, so even two transistors of identical current gain draw unequal base currents, and through 100 kΩ a 2% pair trimmed that way drifts 0.686 µV/K from the trim alone. Choosing the better trim pair by pair raises the yield at ±0.5 µV/K from 47% to 64%, at the price of measuring each pair's drift.

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 T−1.5T^{-1.5} 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 −2.5 Vb/T-2.5\,V_b/T. 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.

Two thousand pairs through 20 kΩ, each trimmed at 300 K: a constant trim leaves a drift spread of 1.005 µV/K and a load trim 0.828 µV/K, and 68.3% against 77.8% are inside ±1 µV/Kcomputed by solving, not by drawing: 2000 bipolar pairs at 10 µA a side, each with a saturation-current mismatch whose logarithm is normal with σ = 1% and a current-gain mismatch whose logarithm is normal with σ = 10% about 200, driven through 20 kΩ from each input, seeded. Histograms of the drift each pair is left with after nulling at 300 K: by subtracting a constant (dashed), σ = 1.005 µV/K, and by setting the collector-load ratio (solid), σ = 0.828 µV/K. Closed forms for the two spreads, at the population's 1% and 10%: 0.996 µV/K and 0.806 µV/K; at this lot's own sample spreads they meet the histograms to a per cent. Inside ±1 µV/K: 68.3% of the constant-trimmed pairs and 77.8% of the load-trimmed ones.050100150-3-2-10123drift at 300 K after the trim (µV/K)pairs, of 2000constant trimσ 1.005 µV/Kload trimσ 0.828 µV/K±1 µV/K68% and 78%solved, then checked — 2000 pairs, seededa spread, not a pair
Fig. 1 Two thousand pairs at 10 µA a side, saturation-current mismatch normal with σ\sigma = 1% in its logarithm and current-gain mismatch with σ\sigma = 10% about 200, driven through 20 kΩ and trimmed at 300 K. Histograms of the drift each is left with: a constant trim (dashed) leaves σ\sigma = 1.005 µV/K and a load trim (solid) 0.828. Inside ±1 µV/K: 68.3% and 77.8%.

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 T1.5T^{1.5} — with two numbers of its own. Its saturation-current mismatch is m=exm = e^x, with xx normal with a standard deviation of 1%, and its current-gain mismatch is β2/β1=ey\beta_2/\beta_1 = e^y about a geometric mean of 200, with yy 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 VTx/TV_T x/T less the base-current share’s 1.5 Vb/T1.5\,V_b/T, with Vb=RsIc(1/β1−1/β2)V_b = R_s I_c(1/\beta_1 - 1/\beta_2). A load trim leaves −2.5 Vb/T-2.5\,V_b/T. 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.

Eight pairs from the lot, solved in full and by the closed route at 20 kΩ: both trims agree to two per cent, and only when the load-trimmed pair's base currents are taken at its trimmed collector currents — taken at equal currents they are up to 0.17 µV/K out. computed by solving, not by drawing: the first eight pairs of the seeded lot, each solved as the trim essay solved one — Newton on each junction, bisection on the emitter node and on the nulling input, the load ratio bisected — and its drift at 300 K taken by a central difference, against the closed route. Constant trim (open circles): −0.795 µV/K, 0.276 µV/K, 0.388 µV/K, −1.560 µV/K, 0.035 µV/K, 0.214 µV/K, −0.487 µV/K, 1.299 µV/K. Load trim (filled): 0.770 µV/K, 0.100 µV/K, −0.556 µV/K, −1.654 µV/K, 0.908 µV/K, 1.003 µV/K, −0.578 µV/K, 0.586 µV/K. Crosses: the load trim's closed form with the base currents taken at equal collector currents, −2.5·Rs·Ic(1/β₁ − 1/β₂)/T, which misses the term a load trim introduces by unbalancing the currents; it is up to 0.167 µV/K out.
Fig. 2 The first eight pairs of the lot at 20 kΩ, solved in full — Newton on each junction, bisection on the emitter node and on the nulling input, the load ratio bisected — against the closed route. Constant trim (open circles) and load trim (filled) both lie on the line to two per cent. Crosses: the load trim’s closed form with the base currents taken at equal collector currents, which is up to 0.17 µV/K out.

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 rr, and the output then nulls with the collector currents in the ratio 1/r1/r. 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 a=RsIc/βa = R_s I_c/\beta, it is Vb′=a(y−ln⁡r)V_b' = a(y - \ln r), and since the trim sets ln⁡r=x+Vb′/VT\ln r = x + V_b'/V_T, it is

Vb′=a (y−x)1+a/VT.V_b' = \frac{a\,(y - x)}{1 + a/V_T}.

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 xx, the saturation-current mismatch, to the load trim’s residue, so the load trim’s drift now depends on both mismatches. And the denominator, 1+a/VT1 + a/V_T, 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.

Two transistors of identical current gain, trimmed by the load ratio: through source resistance the trim itself makes a drift, 0.686 µV/K at 2% and 100 kΩ — a share of the saturation mismatch that only a load trim has. computed by solving, not by drawing: pairs with current gains of exactly 200 each, saturation-current mismatches of 0.5, 1 and 2%, driven through 10 to 100 kΩ, trimmed at 300 K by the collector-load ratio and solved in full (dots), against 2.5a·ln m/(T(1 + a/Vₜ)) with a = Rs·Ic/β (lines). 0.5%: 0.020 µV/K, 0.058 µV/K, 0.111 µV/K, 0.173 µV/K; 1.0%: 0.040 µV/K, 0.117 µV/K, 0.221 µV/K, 0.345 µV/K; 2.0%: 0.080 µV/K, 0.232 µV/K, 0.440 µV/K, 0.686 µV/K. The load ratio balances the outputs by unbalancing the collector currents by the mismatch, so equal current gains draw unequal base currents, and through a source resistance those drop an offset that falls as T⁻¹·⁵ against a trim that rises as T. The constant trim leaves the currents equal and drifts 1.706 µV/K at 2%, independent of the source resistance.
Fig. 3 Pairs with current gains of exactly 200 each and saturation-current mismatches of 0.5, 1 and 2%, through 10 to 100 kΩ, load-trimmed at 300 K and solved in full (dots), against 2.5 aln⁡m/(T(1+a/VT))2.5\,a\ln m/(T(1 + a/V_T)) with a=RsIc/βa = R_s I_c/\beta (lines). At 2% and 100 kΩ the trim alone leaves 0.686 µV/K. The constant trim drifts 1.706 µV/K at 2% whatever the source resistance.

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Ω.

The spread each trim leaves across the lot, against source resistance: the load trim's grows from nothing and crosses the constant trim's at 27.9 kΩ, below the 34 kΩ the single pair crossed at. computed by solving, not by drawing: the standard deviation of the drift at 300 K across the 2000-pair lot after a constant trim (dashed) and a load trim (solid), at source resistances from 0 to 100 kΩ (dots), against closed forms to first order in the two spreads (lines): σ = √((Vₜσₓ)² + (1.5aσᵧ)²)/T for the constant trim and 2.5a√(σₓ² + σᵧ²)/(T(1 + a/Vₜ)) for the load trim, with a = Rs·Ic/β; the dots meet the lines to a per cent when the lot's own sample spreads are used. 0 kΩ: 0.862 µV/K and 0.000 µV/K; 5 kΩ: 0.872 µV/K and 0.213 µV/K; 10 kΩ: 0.900 µV/K and 0.422 µV/K; 20 kΩ: 1.005 µV/K and 0.828 µV/K; 30 kΩ: 1.157 µV/K and 1.220 µV/K; 40 kΩ: 1.342 µV/K and 1.597 µV/K; 50 kΩ: 1.548 µV/K and 1.961 µV/K; 70 kΩ: 1.996 µV/K and 2.651 µV/K; 100 kΩ: 2.711 µV/K and 3.603 µV/K. The two cross at 27.9 kΩ, where σᵦ is about half of Vₜσₓ. The single pair's crossing, 34 kΩ, belonged to that pair's own two mismatches; a lot crosses where its two spreads say.
Fig. 4 The spread of drift at 300 K across the lot, after a constant trim (dashed) and a load trim (solid), against source resistance, with closed forms to first order in the two spreads (lines). The load trim’s spread rises from nothing and crosses the constant trim’s at 27.9 kΩ; the single pair crossed at 34 kΩ (faint line). At 100 kΩ the spreads are 2.71 and 3.60 µV/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, VTσx/TV_T\sigma_x/T, 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 1.5 aσy1.5\,a\sigma_y added in quadrature to a share that does not change, while the load trim’s grows in proportion, as 2.5 aσx2+σy2/(1+a/VT)2.5\,a\sqrt{\sigma_x^2 + \sigma_y^2}/(1 + a/V_T). 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.

Yield against a drift specification at 20 kΩ: at ±0.5 µV/K the constant trim passes 38.7%, the load trim 46.8%, and choosing whichever is better for each pair 64.0% — a choice that needs each pair's drift measured. computed by solving, not by drawing: the fraction of the 2000-pair lot, through 20 kΩ, whose drift at 300 K after trimming falls inside a specification of ±s, against s: trimmed by a constant (dashed), by the load ratio (solid), and by whichever of the two leaves the smaller drift for that pair (dotted). At ±0.25 µV/K: 20.0%, 22.9%, 37.5%. At ±0.5: 38.7%, 46.8%, 64.0%. At ±1: 68.3%, 77.8%, 88.5%. Choosing per pair needs that pair's drift, which is a second temperature in production; the two single trims need one.
Fig. 5 The fraction of the lot inside a drift specification of ±s at 20 kΩ, after a constant trim (dashed), a load trim (solid), and whichever of the two leaves the smaller drift for each pair (dotted). At ±0.25 µV/K: 20.0%, 22.9% and 37.5%. At ±0.5: 38.7%, 46.8% and 64.0%. At ±1: 68.3%, 77.8% and 88.5%.

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 xx and yy 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 VTx/T−1.5 Vb/TV_T x/T - 1.5\,V_b/T with VbV_b at equal collector currents, and its load-trim drift as −2.5 Vb′/T-2.5\,V_b'/T, with Vb′V_b' at the trimmed currents and the load ratio found by iterating r=m eVb′(r)/VTr = m\,e^{V_b'(r)/V_T} 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 TT.

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 −2.5 Vb′/T-2.5\,V_b'/T with Vb′=a(y−x)/(1+a/VT)V_b' = a(y - x)/(1 + a/V_T) , 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 y−xy - x 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