Where the models stop

The resistor mismatch that is only an offset

Two emitter resistors that differ by δ unbalance a degenerated pair, and with an ideal tail they do it in the simplest way possible: the arm currents always sum to the tail, so the mismatch adds the constant (Iₜ/2)·R·δ = Vₜ·gₘRₑ·δ to the input and nothing else. Solved arm by arm, a 1% mismatch at gₘRₑ = 3 is the balanced pair moved by 0.776 mV to 4 × 10⁻¹⁶ of the tail, and a trim of that size leaves no second harmonic at any drive. What separates it from a junction's offset is that it grows with the degeneration meant to divide it: at a fixed output its second harmonic falls as gₘRₑ/(1 + gₘRₑ)², one decibel per decibel of gain rather than two, and it takes over from 0.5 mV of base–emitter mismatch at gₘRₑ = 1.93. For −80 dB at 10 mV of output the resistors must match to 0.823% at gₘRₑ = 1 even with perfect transistors.

Assumes: How small is small signal · What a resistor in the emitter buys

Two decibels of matching for one of gain found the exchange rate a designer most wants for a differential pair. An input offset brings back the second harmonic the pair’s symmetry removed; emitter resistors divide that second harmonic by the square of one plus gmReg_mR_e at a fixed output; so every decibel of gain given up buys two decibels of distortion, or allows two decibels more offset at the same distortion. A matching specification that allowed 0.535 mV at −60 dB undegenerated allows 2.14 mV at gmRe=1g_mR_e = 1.

The offset in that calculation was a property of the transistors — a mismatch in their saturation currents, which is a fixed number of millivolts at the input whatever surrounds them. The emitter resistors were taken as equal. They are parts with a tolerance like any other, and at gmRe=3g_mR_e = 3 each carries three quarters of its arm’s input voltage, so a one per cent difference between them is not obviously small beside a transistor mismatch. The question the earlier essay left was how a resistor mismatch enters, and whether degeneration relaxes it the way it relaxes the transistors’.

It enters in the simplest way there is, and that simplicity is what makes it behave differently. A mismatch between the emitter resistors is an input offset — exactly, with no slope term, no drive dependence and nothing a trim leaves behind — but an offset whose size is proportional to the degeneration that is meant to suppress it. The two decibels per decibel survive for the transistors and become one for the resistors.

At a fixed output a 0.5 mV junction mismatch's second harmonic falls as (1 + gₘRₑ)⁻² and a 1% resistor mismatch's as (1 + gₘRₑ)⁻¹: past gₘRₑ = 1.93 the resistors set itcomputed by solving, not by drawing, every waveform solved arm by arm in currents. A pair on a 1 mA tail, its output held at what the bare, balanced pair gives for 10 mV of peak drive; the second harmonic over the fundamental from a 0.5 mV VBE mismatch alone (dashed), from a 1% mismatch between the emitter resistors alone (dotted), and from both in the same sense (solid), against one plus the degeneration. Between gₘRₑ = 5 and 20 the junction's falls with slope −2.00 and the resistors' with −0.89, still approaching −1, since the local slope of gₘRₑ/(1 + gₘRₑ)² is 1/gₘRₑ − 1. The resistors' mismatch is an input offset of Vₜ·gₘRₑ·δ, which grows with the degeneration that divides it, so the two cross where gₘRₑ = ΔVBE/(Vₜδ) = 1.93; beyond it each decibel of gain given up buys one decibel of distortion, not two.1µ10µ100µ1m10m1 + gₘRₑsecond harmonic ÷ fundamental, output held at 10 mV of drive bare2510200.5 mV of VBE aloneslope −2.001% in the resistorsslope −0.89bothcross at gₘRₑ 1.93solved, then checked — solved arm by arm0.89 dB per dB past 1.93
Fig. 1 The second harmonic over the fundamental, with the output held at what the bare, balanced pair gives for 10 mV of peak drive, against one plus the degeneration: from 0.5 mV of VBEV_{BE} mismatch alone (dashed), from a 1% mismatch between the emitter resistors alone (dotted), and from both (solid). Between gₘRₑ = 5 and 20 the first falls with slope −2.00 and the second with −0.89, heading for −1; they cross at gₘRₑ = 1.93.

The arithmetic of one arm

Write the pair with a tail current II, arm currents i1i_1 and i2i_2 that sum to it, and emitter resistors R1,2=R(1±δ/2)R_{1,2} = R(1 \pm \delta/2). Around the input loop the differential input is the difference of the two base–emitter voltages plus the difference of the two resistor drops:

v=VTln⁡i1i2+i1R1−i2R2.v = V_T\ln\frac{i_1}{i_2} + i_1R_1 - i_2R_2.

The resistor drops expand into two parts:

i1R1−i2R2=R(i1−i2)+Rδ2(i1+i2).i_1R_1 - i_2R_2 = R(i_1 - i_2) + \frac{R\delta}{2}(i_1 + i_2).

The first is the balanced pair’s degeneration term. The second contains the sum of the arm currents, and an ideal tail fixes that sum at II at every instant, whatever the input. So the second part is a constant, IRδ/2IR\delta/2, and the mismatched pair’s transfer is the balanced pair’s with its input moved by that much. In the units the earlier essays used, where gm=I/2VTg_m = I/2V_T for each device at balance, the offset is

Vos=I2R δ=VT gmRe δ.V_{os} = \frac{I}{2}R\,\delta = V_T\,g_mR_e\,\delta.

There is no slope term. It is natural to expect one: a resistor mismatch makes one arm’s degeneration stronger than the other’s, and that sounds like a difference of gain between the halves, which would distort asymmetrically. It does not, because the two arms are not separate amplifiers. Whatever current leaves one arm arrives in the other, and the total voltage the resistors drop on a difference of current is set by their sum, R1+R2=2RR_1 + R_2 = 2R, which the mismatch leaves alone. What the mismatch changes is the drop on the common current, and the tail holds that still.

Two routes to one waveform

That derivation forms the offset algebraically, so the check has to avoid doing the same. Every waveform in this essay is solved arm by arm: for each instant of the drive, one arm’s current is bisected in amperes until the input loop closes with the two resistors at their own values, and the other arm takes the rest of the tail. Nothing in that solve knows that the mismatch is an offset.

A 1% emitter-resistor mismatch at gₘRₑ = 3 is a 0.776 mV input offset, exactly, and a trim of that size leaves nothing. computed by solving, not by drawing. The second harmonic of a pair degenerated to gₘRₑ = 3 on a 1 mA tail with emitter resistors 1% apart, solved arm by arm in currents (solid), against the balanced pair given an input offset of Vₜ·gₘRₑ·δ = 0.7759 mV (dots). They agree to a part in ten thousand at every drive, and the two transfers differ by at most 4.4e-16 of the tail anywhere in ±0.4 V, because the tail fixes i₁ + i₂ and so the resistors' mismatch term, (Rδ/2)(i₁ + i₂), is a constant. Trimmed at the input by exactly that offset, the mismatched pair's second harmonic is below 10⁻⁹ at every drive: nothing of a slope survives.
Fig. 2 A pair degenerated to gₘRₑ = 3 with emitter resistors 1% apart, solved arm by arm (line), against the balanced pair given an input offset of VT gmRe δV_T\,g_mR_e\,\delta = 0.7759 mV (dots): the second harmonic over the fundamental against drive. They agree at every drive, and the two transfers differ by at most 4.4 × 10⁻¹⁶ of the tail. Trimmed at the input by exactly that offset, the mismatched pair’s second harmonic is below 10⁻⁹ everywhere.

At gmRe=3g_mR_e = 3 on a one-milliamp tail, the resistors are 155 Ω each, and a one per cent difference between them is 1.55 Ω. The prediction is an offset of 0.5 mA×1.55 Ω=0.7760.5\,\text{mA} \times 1.55\,\Omega = 0.776 mV. The arm-by-arm solve and the balanced pair moved by 0.776 mV give transfers that differ by 4.4×10−164.4\times10^{-16} of the tail anywhere between ±0.4 V of input — the last bit of a double — and second harmonics that agree to a part in ten thousand at every drive from one millivolt to four hundred, where the pair is saturated.

The decisive test is the trim. If the mismatch had any slope component, subtracting the offset at the input would remove the DC shift and leave an even-order residue that grew with the drive. Subtract exactly VTgmReδV_T g_mR_e\delta and the second harmonic drops below 10−910^{-9} at every drive, which is the arithmetic’s floor for a harmonic read off 512 samples. Nothing survives the trim.

That gives a matching budget its simplest possible form. The transistors contribute an offset ΔVBE\Delta V_{BE}, which what matching does about temperature wrote as VTln⁡V_T\ln of the saturation-current ratio; the resistors contribute VTgmReδV_T g_mR_e\delta; and the pair behaves exactly as the balanced pair with the sum at its input. Everything the offset that brings the even orders back and its successor measured about an offset applies to that sum unchanged.

The offset that grows with what divides it

The difference from a junction’s offset is in the factor gmReg_mR_e. A transistor mismatch is so many millivolts at any degeneration. A resistor mismatch is zero with no degeneration — there are no resistors to mismatch — and proportional to the degeneration after that. Meanwhile the degeneration divides an offset’s effect.

At a fixed input the earlier essay found the second harmonic of a fixed offset falling as (1+gmRe)−3(1 + g_mR_e)^{-3}. For the resistors’ offset the same law gives a second harmonic proportional to

gmRe(1+gmRe)3,\frac{g_mR_e}{(1 + g_mR_e)^3},

which starts at zero, rises, and falls again.

At a fixed 5 mV of drive a 1% resistor mismatch gives the most second harmonic at gₘRₑ = ½ and none undegenerated. computed by solving, not by drawing, solved arm by arm. The second harmonic over the fundamental at a fixed input of 5 mV peak, against the degeneration: from a 1% emitter-resistor mismatch (dots, and its small-signal law as a line) and from a 0.5 mV VBE mismatch (dashed). The junction's falls from the start as (1 + gₘRₑ)⁻³. The resistors' starts at zero — with no degeneration they carry no voltage to mismatch — rises as their offset Vₜ·gₘRₑ·δ grows, peaks at 0.358 parts in ten thousand at gₘRₑ = 0.5, where gₘRₑ/(1 + gₘRₑ)³ is largest, and falls as (1 + gₘRₑ)⁻² beyond.
Fig. 3 At a fixed input of 5 mV peak, the second harmonic from a 1% resistor mismatch (dots, and its small-signal law as a line) and from 0.5 mV of VBEV_{BE} mismatch (dashed), against the degeneration. The junction’s falls from the start; the resistors’ starts at zero, peaks at 0.358 parts in ten thousand at gₘRₑ = ½, and falls as (1 + gₘRₑ)⁻² beyond.

The peak is where the derivative of D/(1+D)3D/(1+D)^3 vanishes, (1+D)=3D(1 + D) = 3D, so at gmRe=12g_mR_e = \tfrac12 exactly, and the solved harmonics put it there. At 5 mV of drive a one per cent mismatch peaks at 0.358 parts in ten thousand of second harmonic there, far below the junction’s contribution at that degeneration — a half-millivolt VBEV_{BE} mismatch is a much larger offset than the 0.13 mV a one per cent resistor mismatch makes at gmRe=12g_mR_e = \tfrac12. The point of the figure is the shape, not the size: degenerating a pair first creates a resistor-mismatch distortion that was not there, and only later begins to suppress it, and it suppresses it one power of (1+gmRe)(1 + g_mR_e) more slowly than it suppresses the transistors’.

One decibel for one, at a fixed output

The comparison that matters for a design is at a fixed output, since a degenerated stage is driven harder to make up its gain. There the earlier essay’s law for a fixed offset is (1+gmRe)−2(1 + g_mR_e)^{-2}, and the resistors’ offset turns it into gmRe/(1+gmRe)2g_mR_e/(1 + g_mR_e)^2 — a curve whose local slope against 1+gmRe1 + g_mR_e on logarithmic axes is 1/gmRe−11/g_mR_e - 1. That tends to −1: each decibel of gain given up buys one decibel of distortion, not two.

The hero figure measures both. Between gmRe=5g_mR_e = 5 and 20 the junction’s second harmonic falls with slope −2.00 and the resistors’ with −0.89, the latter still on its way to −1, as the local slope says it should be at gmReg_mR_e near ten. The total, for a pair carrying both, follows the junction’s line at light degeneration and the resistors’ at heavy, and bends between them at the degeneration where the two offsets are equal:

gmRe∗=ΔVBEVT δ.g_mR_e^{*} = \frac{\Delta V_{BE}}{V_T\,\delta}.

For half a millivolt of VBEV_{BE} mismatch and one per cent resistors that is 1.93. Below it, the transistors set the even orders and the two-for-one exchange of the earlier essay holds. Above it, the resistors set them and the exchange is one for one.

What a resistor in the emitter buys priced degeneration as gain traded for linearity; symmetry and a resistor together found what it does to the pair’s odd-order boundary. Neither saw this, because both took the resistors as equal, and with equal resistors there is nothing for the resistors to contribute to the even orders at all.

Why the arms cannot disagree about their gain

The expectation of a slope term is worth taking apart, because it is the expectation most people bring to the circuit and it fails for a reason that generalises.

Treat each arm as a degenerated single transistor and the mismatch looks like a gain error: the arm with the larger resistor has the smaller transconductance, gm/(1+gmR1)g_m/(1 + g_mR_1) against gm/(1+gmR2)g_m/(1 + g_mR_2), and a pair whose halves have different gains is a pair whose output is not an odd function of its input. That reasoning would be right for two transistors driven from two separate sources and summed afterwards. It is wrong for a pair, because a pair has one input voltage and one current to divide. Any change in i1i_1 is an equal and opposite change in i2i_2, so the voltage the resistors develop against a change of current is always R1+R2R_1 + R_2 times the change — the series resistance of the two, which does not care how it is split. The split matters only to the voltage each resistor develops against the current both carry in common, and in a pair with an ideal tail that current never changes.

The same reasoning predicts the case where the slope term does appear. Drive the two transistors from one input but give them separate current sources, so that each arm’s quiescent current is fixed independently: the arms then no longer trade current, each is a single degenerated transistor, and a resistor mismatch is a mismatch of two gains. The pair removes the slope term by forcing its arms to share one current, which is the same constraint that removed its even orders in what a pair cancels — and it removes it for the same reason, so long as the constraint holds exactly.

Where the resistors take over

The crossing is a ratio of two offsets and contains nothing about the drive, which makes it a design number rather than an operating condition.

The degeneration above which emitter-resistor mismatch, not junction mismatch, sets a pair's second harmonic. computed by solving, not by drawing: the crossing bisected on solved harmonics at a drive scaled with the degeneration (dots), against ΔVBE/(Vₜδ) (lines), for junction mismatches of 0.1, 0.3, 1 mV. They agree to 2% everywhere: the crossing is a ratio of two offsets and contains no drive. With 1% resistors it is at gₘRₑ = 1.16 for 0.3 mV of VBE mismatch and 3.87 for a millivolt; with 0.1% resistors, 11.6 and 38.7.
Fig. 4 The degeneration above which the emitter resistors’ mismatch, not the transistors’, sets the second harmonic: bisected on solved harmonics at a drive scaled with the degeneration (dots), against ΔVBEV_{BE}/(Vₜδ) (lines), for junction mismatches of 0.1, 0.3 and 1 mV. They agree to 2% everywhere. With 1% resistors the crossing is at 1.16 for 0.3 mV of VBEV_{BE} mismatch and 3.87 for a millivolt.

The crossings were found without the closed form: at each resistor tolerance and junction mismatch, the degeneration was bisected on the condition that the two solved second harmonics are equal, at a drive raised in proportion to 1+gmRe1 + g_mR_e. They sit on ΔVBE/(VTδ)\Delta V_{BE}/(V_T\delta) to two per cent across two decades of resistor tolerance and a decade of junction mismatch. A pair of well-matched transistors, 0.3 mV, with one per cent resistors hands control of its even orders to the resistors at gmRe=1.16g_mR_e = 1.16 — a modest degeneration, the kind used in any stage that wants its gain set by resistors. Tightening the resistors to 0.1 per cent moves that to 11.6, and with a millivolt of transistor mismatch to 38.7, at which point the resistors never matter in practice.

The pattern is the one a ladder is not a cascade and the tolerance essays found in filters: the component that sets a specification depends on how the network distributes its sensitivity, and a design change that desensitises one part can expose another. Here degeneration desensitises the pair to its transistors by moving the voltage from the junctions into the resistors, and the resistors inherit the matching problem in proportion.

What a distortion specification asks of the resistors

The earlier essay turned the exchange rate into a matching specification for the transistors. The same can be done for the resistors, with one change: their allowance is the total offset budget divided by VTgmReV_T g_mR_e, so it carries the degeneration in its denominator.

For −80 dB of second harmonic at a fixed output, the emitter resistors must match to 0.823% at gₘRₑ = 1 even with perfect transistors, and the tolerance loosens only as gₘRₑ beyond. computed by solving, not by drawing, bisected on solved harmonics. The output held at what the bare pair gives for 10 mV peak; the total input offset at which the second harmonic is −80 dB is 0.054 mV at 0, 0.213 mV at 1, 0.842 mV at 3, 6.321 mV at 10 — four times as much for every doubling of 1 + gₘRₑ. The resistor mismatch that alone uses it is that offset over Vₜ·gₘRₑ (solid): undefined bare, where the resistors carry no voltage; tightest at gₘRₑ = 1, 0.823%, which is four times the bare pair's allowance over Vₜ; and 1.08% at 3, 2.44% at 10 beyond. With 0.04 mV of the budget already taken by the junctions (dashed) the resistors get nothing below gₘRₑ = 0.25 and 0.623% at their tightest, gₘRₑ = 0.5.
Fig. 5 For −80 dB of second harmonic with the output held at what the bare pair gives for 10 mV of drive: the emitter-resistor mismatch allowed, against the degeneration, with perfect transistors (solid) and with 0.04 mV of the offset budget already taken by the junctions (dashed). The total offset allowed is 0.054 mV bare and 0.213 at gₘRₑ = 1; the resistors’ tolerance is tightest at gₘRₑ = 1, 0.823%, and loosens only as gₘRₑ beyond.

For −80 dB of second harmonic at the output a bare pair gives with 10 mV of drive, the total input offset allowed is 0.054 mV undegenerated, 0.213 at gmRe=1g_mR_e = 1, 0.842 at 3 and 6.32 at 10 — growing as (1+gmRe)2(1 + g_mR_e)^2, the earlier essay’s law at a tenth of its specification. Divided by VTgmReV_T g_mR_e, the resistor mismatch that would by itself use that budget is not defined undegenerated, since there is no resistor; it is 0.823 per cent at gmRe=1g_mR_e = 1; and 1.08 per cent at 3 and 2.44 at 10. The tightest point is where (1+D)2/D(1 + D)^2/D is least, at D=1D = 1 exactly, and there the allowance is four times the bare pair’s offset allowance over the thermal voltage.

That has a practical edge. A designer who adds degeneration to relax a pair’s matching, and specifies one per cent resistors because resistors are cheap to match, has a stage at gmRe=1g_mR_e = 1 whose resistors alone take more than the whole −80 dB budget even with perfect transistors. Share the budget — give 0.04 mV of it to the junctions — and the resistors get nothing at all below gmRe=0.25g_mR_e = 0.25 and 0.623 per cent at their tightest. The loosening beyond gmRe=1g_mR_e = 1 is real but only linear: a factor of ten more degeneration buys a factor of three in resistor tolerance, where it bought a factor of thirty in transistor tolerance.

A trim that works, and the conditions it assumes

Because the mismatch is exactly an offset, an offset trim removes it exactly — not only its DC shift but every even harmonic it causes, at every drive, as the second figure measured. That is better news than the expectation of a slope term would have allowed, and it is the reason a pair with poorly matched emitter resistors can still be trimmed to low distortion.

Three assumptions carry that conclusion, and each is a place where a real stage can depart from it.

The tail is ideal. The whole argument rests on i1+i2i_1 + i_2 being constant. A tail made from a resistor, or a current source with finite output impedance, lets the sum move — with the common-mode level, and under a large differential drive with the signal’s own even harmonics, since the tail node rides up and down at twice the signal frequency. The mismatch term then becomes (Rδ/2)(i1+i2)(R\delta/2)(i_1 + i_2) with a varying sum: a drive-dependent offset, which a fixed trim cannot remove, and whose size is the resistor mismatch times the tail’s own second-harmonic current.

The base currents are zero. With finite β the emitter currents are (1+1/β)(1 + 1/\beta) times the collector currents, and the emitter currents are what flow in the resistors. A β mismatch between the two devices then turns the equal collector currents of balance into unequal emitter currents, which the resistors convert into one more offset. It is still a constant for an ideal tail, and still trimmed with the rest.

The resistors do not drift apart. A trim made at one temperature removes the offset at that temperature. The resistors’ offset is (I/2)Rδ(I/2)R\delta, which drifts with the tail current and with any difference between the two resistors’ temperature coefficients; the junctions’ is VTV_T times a logarithm, which drifts as absolute temperature. The trim that takes the drift with it found that a trim cancels a junction’s drift only when it acts inside the same logarithm; a trim that cancels a resistor mismatch’s offset by moving the junctions’ does not share its temperature law at all.

The pair’s matching, in one line

With an ideal tail, a pair whose emitter resistors differ by δ is exactly the balanced pair with an input offset of VTgmReδV_T g_mR_e\delta: 0.776 mV for one per cent at gmRe=3g_mR_e = 3, confirmed to 4×10−164\times10^{-16} of the tail by a solve that never formed it, and removed completely by a trim of that size. Its second harmonic is largest at gmRe=12g_mR_e = \tfrac12 for a fixed input and falls only as (1+gmRe)−1(1 + g_mR_e)^{-1} at a fixed output, against a junction offset’s (1+gmRe)−2(1 + g_mR_e)^{-2}, so the resistors take over above gmRe=ΔVBE/(VTδ)g_mR_e = \Delta V_{BE}/(V_T\delta) — 1.93 for half a millivolt and one per cent. At −80 dB and a fixed output, perfect transistors still need resistors matched to 0.823 per cent at gmRe=1g_mR_e = 1.

Still open: a tail that moves, a single-ended drive, and the resistors’ own heating

A tail that moves. With a resistor in the tail the sum of the arm currents follows the common mode and the drive’s own second harmonic, and the resistor mismatch becomes an offset that moves with the signal. The size of the second harmonic that leaves after a perfect DC trim, as a function of the tail resistance and the degeneration, would say how good a tail has to be before the trim result above is worth having.

A single-ended drive. Two boundaries removed, and one moved measured the pair driven differentially. Driving one input and holding the other moves the tail node at the signal frequency, so the tail’s finite impedance converts the drive into common-mode current directly; whether the resistors’ mismatch then contributes a second harmonic proportional to the drive rather than a fixed offset is the next solve on the same arm-by-arm model.

The resistors heating unequally. The arm currents swing in antiphase, so under drive each emitter resistor dissipates a power that follows the signal. If the two have different thermal resistances to their surroundings, their values separate at the signal’s own rate and the mismatch δ becomes a function of time. Whether that thermal distortion, which how small is small signal would count as another departure from the small-signal model, ever exceeds the static mismatch’s for a practical layout is a measurement with a thermal time constant in it.

Part 9 on Small-signal

One argument about Small-signal, and one of 8 essays on it so far, each part numbered by how much of the idea it assumes. What sits either side of it:

The objects named here

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

Component toleranceDevice mismatchDifferential pairEmitter degenerationEven harmonic cancellationOffset voltageSmall-signal model