Concept

Device mismatch — where it appears

The difference between two devices that a design assumes are identical, as a fraction of the quantity they share. It is a distribution rather than a number, so a circuit that depends on it has an accuracy with a width, and no amount of solving one instance produces that width.

Named by 15 essays across 7 fields — each of them below, with the objects they name alongside it.

At a stationary point a tolerance has a mean, not a spread. computed by solving, not by drawing. Six hundred ladder filters with every reactance drawn independently from ±1 per cent, measured at the ripple peak and at a frequency between the peaks. Away from the peak the distribution is centred on nominal and 325 of 600 are above it. At the peak none is: the whole distribution lies below, with a mean of -0.0030 per cent and a worst case of -0.0140. A yield calculation that assumes a symmetric spread at a frequency that has a stationary point is wrong in both directions at once — it allows parts above a limit that cannot exist, and it misses that the whole batch has moved.

The tolerance that can only take away

At a doubly terminated ladder filter's ripple peak the first derivative of the magnitude with respect to every reactance is zero to ten digits, which an earlier essay measured and which says nothing about how much the response moves. This says how: every second derivative is negative, so of six hundred ladder filters built from one per cent components not one is above nominal, the mean has shifted rather than the spread having grown, and doubling the tolerance quadruples the damage instead of doubling it.

networks · Sensitivity
What a cascaded modulator is worth, against how well its two paths match. computed by solving, not by drawing. Two first-order loops marched sample by sample at an oversampling ratio of 64, with the first stage's quantisation error taken as the difference between what its comparator said and what was presented to it — nothing here reads a state a real converter could not. Perfectly matched, the cascade gives 72.5 decibels against the first stage's own 47.5: second-order shaping out of two first-order loops, neither of which can be unstable. The gain with which the first error reaches the second stage is then given an error, and the flat left-hand half of the curve is the arrangement working. It costs three decibels at 5.29 per cent, which is a capacitor ratio — achievable, and not free, and not something the digital side can measure or correct.

Two loops, and the mismatch between them

Single loops of second, third and fourth order, marched alone, each stop working above an amplitude that falls with the order — which is why nobody builds a fourth-order single loop. The standard answer is two first-order loops with the first one's error fed to the second and differentiated back out, giving second-order shaping out of parts that cannot be unstable. The cancellation is between an analogue path and a digital one, and it is worth 25 decibels until the two differ by five per cent.

digital · Noise-shaping
300 mirrors built to one design, with 2% device mismatch. computed by solving, not by drawing. Every pair in the population is a full Newton solve of the same netlist with two saturation currents drawn from a normal distribution, the Early conductances iterated to self-consistency for each. The mean is 3.836 per cent, which is the systematic error the rung below computed with identical devices (3.937 per cent) — the mismatch does not move it. The spread about it is 1.955 per cent, which is the device mismatch arriving with nothing dividing it, and the worst pair of the 300 is 8.43 per cent out. A design whose specification is the mean has specified the one mirror nobody has.

The error that is a distribution

The rung below solved a mirror and separated two errors — one that falls with beta and one that does not. Neither is what limits a real mirror. Two transistors on the same die differ, a fractional difference in saturation current is a fractional difference in collector current with nothing dividing it, and the honest object is a spread rather than a number: mean 3.84 per cent, standard deviation 1.96, worst of three hundred 8.43. Degeneration divides it by one plus gm·R and stops at the resistors' own tolerance, and where it stops is a voltage — a hundred millivolts, containing nothing but the ratio of two tolerances.

semiconductors · Current mirror
The "offset" a switch leaves moves by 1.863 mV across a volt of signal. computed by solving, not by drawing. The charge a switch leaves on a 1 pF hold capacitor, as the input it was sampling changes. It is W·L·C_ox·(V_gs − V_th) with the clock's high level for the gate, so it falls as the input rises for two reasons at once: less gate drive, and a threshold that rises with the source potential through the body effect. The dashed line is the part that does not know what the signal is — the clock coupling through the gate overlap capacitance, -1.649 mV — and it is the only part of this that is honestly an offset. The curve stops where the switch does: an n-channel device passes nothing within a threshold of its own gate, and the model refuses rather than returning a zero.

The offset that knows the signal

The charge a switch leaves on the capacitor it was sampling is the gate oxide capacitance times the channel area times the overdrive, and both terms in that overdrive depend on the input — one directly and one through the body effect. So the 5.67 mV a data sheet would call an offset moves by 1.86 mV across a volt of signal, which is a gain error of 0.186 per cent and only 3.4 µV of anything else. Opening the summing-node switch first divides the gain error by the amplifier's own gain, exactly, and what is left goes from twenty-nine times the sampled-noise floor to nineteen times below it.

filters · Switched-capacitor
Two sensors on one return: 511 µV in each reading, 100 nV in the difference. computed by solving, not by drawing. Two sensors referenced to the same local node, each reaching it through 2 mm of its own copper and each drawing 1 mA through that copper, with a 100 mA load returning through the 10 mm they all share. The interfering voltage is one voltage on one node, so it is added to both readings identically and the difference between them has none of it: 511.0 µV in each reading against 100.0 nV in the difference at a kilohertz, which is 74.2 dB. No resistor tolerance enters it — with the two stubs equal the rejection is exact to the solver, 166 decibels. What is left is the 10 per cent MISMATCH between the stubs times the sensors' own current, which the closed form puts at 100.0 nV, and it is proportional to the mismatch: 10.0 nV at 1%, 30.0 nV at 3%, 100 nV at 10%, 300 nV at 30%.

One voltage added to two readings

A difference amplifier across a shared return rejects somebody else's current by 54 decibels, and the number is four resistors rather than the amplifier. Two sensors referenced to the same node do better by a different mechanism entirely: the interfering voltage is one voltage on one node, so it is added to both readings identically and the difference between them has none of it — 511 microvolts in each reading against two and a half picovolts in the difference, which is 166 decibels and is exact rather than good. What is left is not a tolerance but a mismatch between the two sensors' own return paths, ten nanovolts per per cent of it.

instruments · Common-impedance
Three mismatches, and only one of them reaches the output. computed by solving, not by drawing. Each of the three quantities that can differ between the two transistors is given a spread of its own, one at a time, and 200 pairs are solved at each. The saturation currents produce a spread that follows them exactly — exponent 0.998, so 1.910 per cent of copy error for two per cent of mismatch. The current gains produce a line of slope 2.003, which is second order rather than first, and land at 2.20e-4 per cent for the same two. There is no third line because there is no third component: with no emitter resistors there is nothing for a resistor tolerance to be a tolerance of, and matching a mirror is a statement about emitter area and about nothing else.

The mismatch that cancels itself

A current mirror's copy error is spread by three things the two transistors can differ in, and the population that measures it has always drawn all three at once. Turned on one at a time, a two per cent spread of saturation currents gives 1.910 per cent of copy error and a two per cent spread of current gains gives 0.00022 — because the gains enter only as a sum of reciprocals, which has no first derivative where they are equal. Then the standard cure un-cancels it, by a factor of 86.

semiconductors · Current mirror
A cable's carrier limit is its conductors' matching, not its capacitance. computed by solving, not by drawing. A 350 Ω quarter bridge at 1000 µε, excited at a carrier frequency, with 10 metres of cable at 100 pF a metre on each output terminal. Each terminal sees the two arms meeting there in parallel against that capacitance, so each lags by arctan(2πf·(r/2)·C) with a corner at 909 kHz — and with the two conductors matched the lag CANCELS in the difference: -0.117° where each terminal has -5.71°. A mismatch does not cancel, and it arrives multiplied by the ratio of the excitation to the signal, which at 1000 µε is 2000: at 1 per cent the phase is 40.3° at a hundred kilohertz. So the excitation a 10-metre cable allows for 200 parts per million falls from 205 kHz matched to 1.82 kHz at 1 per cent. And it depends on the strain being measured — 183 Hz at 100 µε, 547 Hz at 300 µε, 1.82 kHz at 1000 µε, 5.45 kHz at 3000 µε — because the amplification is the reciprocal of the signal.

The carrier a cable allows

A carrier-frequency amplifier removes an instrument's offset drift by exciting the bridge with alternating current, and the cable that was a resistance at direct current becomes a capacitance. Both output terminals see the same arms and the same capacitance, so the lag cancels in the difference: ten metres matched leaves 0.15 degrees at a hundred kilohertz where each terminal has 6.3. What does not cancel is the mismatch between the two conductors, arriving multiplied by the ratio of the excitation to the signal — two thousand at a thousand microstrain — so one per cent of it takes the allowed carrier from 205 kilohertz to 1.8.

applied · Bridge
A tenth of a per cent of screen mismatch on the gauge's side cancels the pair's own phase: 18.2 kHz becomes 143 kHz. computed by solving, not by drawing. A 350 Ω quarter bridge at 1000 µε read through ten metres of screened pair: 100 pF a metre from each conductor to the screen, Cs, and 50 pF a metre between the two, Cp. The loss of the synchronously demodulated reading, 1 − cos φ, against the excitation frequency: for the capacitance between the conductors alone, for the screen capacitances alone with a mismatch of 0.1% on the gauge's side, for both together, and for a matched screen with nothing between. For a 200 ppm budget they allow 18.2 kHz, 18.3 kHz, 143 kHz and 205 kHz. The pair's capacitance lags the reading; extra screen capacitance on the gauge's own terminal leads it, by an amount divided by the signal, so at a mismatch of δ·Cp/Cs the two cancel to first order.

The capacitance that is already a difference

A screened pair has capacitance from each conductor to the screen, which cancels in a bridge's difference when the two match, and capacitance between the conductors, which is a difference from the start and cannot cancel. Ten metres of it between a 350 Ω quarter bridge and its carrier amplifier allows 18.2 kHz for a 200 ppm loss, against 205 kHz for the screen alone. The two phases are ωR·ΔC/δ and ωR·C, the same slope with one divided by the signal, so a screen mismatch of δ·Cp/Cs on the gauge's own terminal cancels the pair's lag exactly: 0.10% at 1000 µε takes the limit to 143 kHz. That is what a carrier amplifier's capacitance balance finds when it nulls the quadrature — and because the mismatch's phase changes sign with the strain and the pair's does not, the balance holds in tension above half the strain it was set at and never in compression.

applied · Bridge
Two coupling capacitors 1% apart reject common mode by only 46.0 dB at their corner, 0.159 Hz — and perfectly at direct current and far above it. computed by solving, not by drawing at 281 frequencies: one common-mode source driving two coupling networks, each 1 µF into 1 MΩ, with the capacitors 1% apart. The difference between the two outputs, per volt of common mode, agrees with the difference of the two first-order high-passes to 6.9e-14. It is zero at direct current, where both block, and zero far above the corner, where both pass; between, it peaks at the corner, 0.159 Hz, at 5.000e-3 — half the mismatch — which is 46.0 dB of rejection. Behind a 90 dB amplifier (grey), the coupling network decides the rejection from 0.000503 Hz to 50.3 Hz.

The rejection two capacitors lose at their corner

AC-couple both inputs of a differential instrument and the two coupling networks become part of its common-mode path. Two 1 µF capacitors one per cent apart turn common mode into difference at exactly half their mismatch at their shared corner — 46.0 dB of rejection at 0.159 Hz, from a pair that is perfect at direct current and far above. Behind a 90 dB amplifier they decide the instrument's rejection over five decades around that corner. A 10 V common-mode step arrives as a 36.8 mV differential pulse one time constant later. Four hundred pairs of 20 per cent electrolytics reject a median 25 dB. Coupling the difference instead of each side removes the dip and hands the common mode to the amplifier.

instruments · AC coupling
Calibrated at the carrier, a matched cable allows 121 kHz where its phase allowed 16.5 kHz. computed by solving, not by drawing. A 350 Ω quarter bridge read through ten metres of screened pair, excited over leads of 0.35 Ω and 3 µH each with 500 pF between them. Solid: the worst error of a synchronous reading over strains from −2000 to +2000 µε after a calibration at +1000 µε at the operating carrier, with the reference taken from the source at the instrument; dashed, from the bridge's own terminals on sense wires; dotted, the phase measure 1 − cos φ the earlier readings of this cable used. For a 200 ppm budget: 16.5 kHz by phase, 119 kHz calibrated against the source and 121 kHz calibrated against the bridge.

What a calibration at the carrier removes

The phase a cable puts on a carrier-excited bridge is a loss of 1 − cos φ, and a loss that is the same at every strain is a gain error — which a shunt calibration at the operating carrier exists to remove. Calibrated there, a synchronous reading of a quarter bridge through ten metres of matched screened pair allows 121 kHz for 200 ppm over ±2000 µε, where the phase measure allowed 16.5; the capacitance between the conductors, which no matching could improve, stops mattering. Where the reference is taken — at the instrument or from sense wires at the bridge — moves that by 1.2 per cent. What calibration cannot touch is a screen mismatch: its leak is a fixed voltage, not a fixed gain, and a hundredth of a per cent of it takes 121 kHz back to 11.5.

applied · Bridge
A 1% mismatch in the cable reads as 3.0% of full-scale displacement, at every frequency. computed by solving, not by drawing. A capacitive displacement sensor — two 10 pF plates driven at ±5 V in antiphase facing a common electrode — read by a charge amplifier through two metres of three-conductor cable with 30 pF a metre between each excitation conductor and the sense conductor. With the two cross-capacitances mismatched by 1 per cent and the sensor centred, the reading's in-phase part (solid) is 3.00 per cent of full scale at every carrier from 100 Hz to 1 MHz: the cable is a sensor capacitance, and its mismatch a displacement. The quadrature part (dashed), which the cable's resistance makes, rises with frequency and a synchronous detector rejects it. With each conductor in its own screen the cross-capacitance is gone and so is the error.

The sensor that is the capacitance

Read a capacitive displacement sensor through the same kind of cable that limited a strain-gauge bridge's carrier, and the roles exchange. On the bridge, a 1% mismatch in the cable's capacitance was a quadrature leak that grew as the square of the carrier and could be escaped by a lower one. On a sensor of two 10 pF plates it is 3.0% of full-scale displacement, in phase, at every carrier from 100 Hz to 1 MHz — because a capacitance between an excitation conductor and the sense conductor is in parallel with the measurand and is a sensor capacitance. No detector phase separates it and no carrier escapes it; only geometry does. Screen each conductor separately and there is nothing left to mismatch.

applied · Bridge
Degenerated to gₘRₑ = 1, a pair with 1 mV of offset peaks at 0.41% of second harmonic, against 0.74% bare. computed by solving, not by drawing, every harmonic read from a solved waveform. The second (solid) and third (dotted) harmonics, as fractions of the fundamental, of a differential pair with 1 mV of input offset and emitter degeneration gₘRₑ = 1, against the peak drive; the same pair undegenerated in grey (dashed: second; dot-dash: third). Degeneration lowers both and moves both to larger drives. At small drive the second harmonic follows (u/4)·g″/g′² at the offset's operating point, which for a small offset is (u/2)·(Vos/2Vₜ)/(1 + gₘRₑ)³. Its largest value over all drives is 0.406 per cent at 177 mV, against 0.736 per cent at 76 mV undegenerated.

Two decibels of matching for one of gain

An offset gives a differential pair back the second harmonic its symmetry removed. Put resistors in the emitters and that second harmonic falls as the cube of one plus gₘRₑ at a fixed input and as its square at a fixed output — measured slopes of −3.00 and −2.00 — so each decibel of gain given up buys two decibels of distortion, or two decibels more offset at the same distortion. A matching specification that allowed 0.535 mV for −60 dB at 10 mV of output allows 2.14 mV at gₘRₑ = 1. The worst case over all drives relaxes more slowly: the offset below which the second harmonic can never reach one per cent goes from 1.36 mV to 4.39 mV as gₘRₑ goes to three, because the peak it limits sits where the pair saturates, and degeneration only moves that further out.

limits · Small-signal
What balancing the source resistances is worth, against how correlated the two input currents are, for a bias-cancelled input. computed by solving, not by drawing; 400 seeded parts at each correlation, each solved unbalanced and balanced at a 1 MΩ source, input currents of zero mean and 1 nA spread. The ratio of rms errors (dots) follows 1/√(2(1 − ρ)) (line): 0.72 for independent currents — balancing makes it 38% worse — one at ρ = ½, and 6.5 at 0.99. The cure removes what the two currents share, and is a cure only if they share more than half.

The cure that needs one current

Balancing the resistances an amplifier's inputs look into removes whatever its two input currents have in common and leaves their difference. On a plain bipolar input the two are one current at two pins, correlated at 0.991, and the cure is worth ten. On an input whose bias current has been cancelled they are two residues of either sign, correlated at 0.10, and over 400 seeded parts the cure makes the error 38 per cent worse. It is worth 1/√(2(1 − ρ)) for a zero-mean current, nothing at ρ = ½, and in general exactly the input current over the offset current.

instruments · Input bias current
A second-order loop at a ratio of 64, with a quantiser of one to five bits: the ratio in the band against the input amplitude. computed by solving, not by drawing: the loop whose noise transfer is exactly (1 − z⁻¹)², marched with a sine inside the band, the error measured through a squared Hann window. At half scale, 1 bit 69.4 dB, 2 bits 82.5 dB, 3 bits 90.3 dB, 4 bits 96.8 dB, 5 bits 102.0 dB. The first extra bit adds 13.1 dB because a one-bit quantiser's error is larger than a step's uniform error; after that each adds six or seven. The amplitude each does best at moves up with the bits — 0.6 for 1, 0.6 for 2, 0.8 for 3, 0.85 for 4, 0.95 for 5 — because a fine quantiser is never driven past its last level by the shaped error.

The levels the loop cannot shape

Give a second-order noise-shaping loop a quantiser of several bits instead of one and every bit beyond the second buys six or seven decibels, the best input amplitude climbs from 0.6 of full scale to 0.95, and loops of third and fourth order that will not run on one bit run on three or four. What it charges is outside the loop's reach. The levels the quantiser feeds back enter where the input does, so their errors are passed rather than shaped: a three-bit loop loses its lead over a one-bit one when each level is out by 0.027 per cent, its error stops falling with oversampling, and the error arrives as harmonics. One bit is immune because two levels always lie on a line.

digital · Noise-shaping
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 it. computed 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.

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.

limits · Small-signal

Named alongside it

The objects these essays reach for when they reach for this one.

Measurement errorCommon-mode rejectionComponent toleranceDesign tradeoffEmitter degenerationParasiticsDifferential pairExcitationModel rangeOffset voltageStrain gaugeWheatstone bridge

All concepts