Measurement, which is a circuit on a circuit

The noise a cancelled input keeps

A bias-cancelled input supplies its transistor's base current from a replica, so the pin draws only the difference — 1 nA out of 20, on the datasheet. The two currents are independent streams of charge, so their means subtract and their shot noises add: the pin carries 112 fA/√Hz, √2 more than the same transistor uncancelled and 6.2 times a pin that truly draws 1 nA. Seeded counts of the two streams, differenced, give the same density to three per cent. Behind a megohm the cancelled input reads 169 nV/√Hz, the noisiest of the three, and its current noise overtakes the source's own Johnson noise at 1.28 MΩ, where the 1 nA its bias suggests would take 50. The comparison that fits is with the older cure: an uncancelled input balanced by a resistor on its other pin also sets a second stream of the base current against the first, carries almost exactly the same current noise, and adds the resistor's Johnson noise besides.

Assumes: The current the instrument draws · The floor a current sets

The temperature a cancelled input is best at measured what an amplifier that cancels its input current leaves at the pin: the difference of two currents that both drift, the base current and the replica set against it, whose residue crosses zero at a temperature that has a distribution of its own. Every number in that essay, and in the cure that needs one current before it, was a mean — an offset, a drift, a residue — and cancellation is very good at means. A bipolar input that draws 20 nA can be made to draw 1 nA, and the datasheet says 1 nA. The current the instrument draws began the sequence by showing that an input’s current is set by something outside the part, and the datasheet’s number is the mean of it.

The question those essays left was whether cancellation, which removes most of the mean current, removes any of its noise. A current is not only its mean. It is a stream of carriers crossing a junction one at a time, and the irregularity of their arrival is shot noise, with a density 2qI\sqrt{2qI} set by the current that flows. A cancelled pin has two currents flowing — the base current in, and the replica out — and only their difference appears on the datasheet.

Two streams, one pin

The model is the one every shot-noise calculation in these essays uses. The base current is a stream of independent carriers with mean IbI_b, so its noise density is 2qIb\sqrt{2qI_b}. The replica is produced by a second transistor biased to copy the first, and its carriers cross a different junction for reasons of their own; it too is a stream with mean IcI_c, and nothing correlates its arrivals with the base current’s. At the pin the means subtract and the noises, being independent, add in power:

Inet=Ib−Ic,in=2q (Ib+Ic)=2q (2Ib−Inet).I_{net} = I_b - I_c, \qquad i_n = \sqrt{2q\,(I_b + I_c)} = \sqrt{2q\,(2I_b - I_{net})} .

A pin cancelled to a twentieth of its base current carries the noise of 1.95 base currents.

Cancelled from 20 nA to 1.0 nA, a pin carries 112 fA/√Hz of current noise — √2 more than before cancelling, and 6.2 times a pin that truly draws 1.0 nAcomputed by solving, not by drawing: the shot-noise density of a bipolar input whose 20 nA base current is cancelled by a replica, against the net current left at the pin, beside an uncancelled pin drawing that net current (line). The two streams are independent, so their noise adds in power while their means subtract: 0.40 nA net, 113 fA/√Hz; 1.0 nA net, 112 fA/√Hz; 2.0 nA net, 110 fA/√Hz; 4.0 nA net, 107 fA/√Hz; 10 nA net, 98.0 fA/√Hz; 20 nA net, 80.1 fA/√Hz, against √(2qI) of 11.3 fA/√Hz, 17.9 fA/√Hz, 25.3 fA/√Hz, 35.8 fA/√Hz, 56.6 fA/√Hz, 80.1 fA/√Hz. Held against differenced Poisson counts of the two streams over 40,000 windows of 1 µs (dots), which agree to three per cent at every point. Cancellation takes away the mean and leaves the noise of twice the base current.10f100f1n10nnet current the pin draws (A)current noise density (A/√Hz)cancelled from 20 nA112 fA/√Hz at a twentiethuncancelled, √(2qI)17.9 fA/√Hz at a twentiethsolved, then checked — two routes, six cancellationsthe mean goes, the noise stays
Fig. 1 The shot-noise density of a bipolar input whose 20 nA base current is cancelled by a replica, against the net current left at the pin: 113 fA/Hz\text{fA}/\sqrt{\text{Hz}} at 0.4 nA net, 112 at 1 nA, 110 at 2, 107 at 4, 98.0 at 10 and 80.1 at 20 — uncancelled. An uncancelled pin drawing the same net currents would carry 11.3, 17.9, 25.3, 35.8, 56.6 and 80.1. Differenced Poisson counts of the two streams over 40,000 windows of 1 µs agree at every point to three per cent.

The curve runs the wrong way for anyone reading the datasheet. Cancelling deeper lowers the net current and raises the noise, from 80.1 fA/Hz\text{fA}/\sqrt{\text{Hz}} uncancelled towards 113 at a fiftieth; the noise of a cancelled pin approaches 2\sqrt 2 times the uncancelled transistor’s, whatever the net current says. Against a pin that genuinely draws the net current — the line — the cancelled pin at 1 nA is 6.2 times noisier, and at 0.4 nA ten times.

The second route is a count rather than a formula. In each of 40,000 windows of a microsecond the base current delivers a Poisson number of carriers with its own mean, the replica removes a Poisson number with its own, and the pin’s current in the window is the difference times the electron’s charge over the window. The variance of that difference, over the window’s noise bandwidth of 1/2τ1/2\tau, gives the density directly, and it matches the summed shot noise to three per cent at every depth, while the mean of the same counts matches the net current. The slider on the figure at the head of the page sets the base current to 2, 20 or 200 nA, and the whole picture scales by its square root.

What the counts look like

The density is an abstraction over many windows, and the counts themselves make the mechanism visible.

The same transistor before and after cancelling, in windows of a nanosecond: 20 nA scattering by 1.78 nA, then 1 nA scattering by 2.59 — and a true 1 nA input scattering by 0.40. computed by solving, not by drawing from seeded counts: the charge each pin draws in 160 windows of 1 ns, as a current about its own mean, the three traces stacked 10 nA apart — the base current's carriers counted, less the replica's where there is one, each a Poisson count of its own stream. bipolar, 20 nA: mean 19.90 nA, standard deviation 1.78 nA against 1.79 from its density; cancelled, 1 nA net: mean 1.07 nA, standard deviation 2.59 nA against 2.50 from its density; a true 1 nA input: mean 0.99 nA, standard deviation 0.40 nA against 0.40 from its density. Cancelling moves the pin's mean down by the replica's and widens its scatter by the replica's own; the true 1 nA input is narrow because it has only one small stream.
Fig. 2 The current each pin draws in 160 windows of 1 ns, about its own mean, stacked 10 nA apart. The 20 nA bipolar pin, mean 19.90 nA, scatters by 1.78 nA against 1.79 from its density; the same transistor cancelled to 1 nA, mean 1.07 nA, scatters by 2.59 nA against 2.50; a true 1 nA input, mean 0.99 nA, scatters by 0.40 nA against 0.40.

In windows of a nanosecond a 20 nA stream delivers about 125 carriers and scatters by about eleven of them, 1.78 nA as a current. Cancelled, the pin’s mean falls to 1 nA but the scatter grows to 2.59 nA, because the replica’s 119 carriers a window scatter by their own eleven and the two scatters do not cancel — they add. A pin that genuinely draws 1 nA delivers six carriers a window and scatters by two and a half of them, 0.40 nA. Seen in the counts, cancellation is subtraction of two large numbers with independent errors, and the result has a small mean and a large error, which is what subtraction of large uncertain numbers always produces.

What a source resistance makes of it

Current noise matters only through the impedance it flows in, and the comparison that decides between inputs is the noise referred to the input in front of a source.

In front of a megohm: bipolar, 20 nA 150 nV/√Hz, cancelled, 1 nA net 169 nV/√Hz, a true 1 nA input 128 nV/√Hz — the cancelled pin is the noisiest of the three. computed by solving, not by drawing: input-referred noise density against source resistance for three inputs with 5 nV/√Hz of voltage noise — an uncancelled bipolar pin drawing 20 nA (80.1 fA/√Hz), the same transistor cancelled to 1 nA net (112 fA/√Hz) and a pin that genuinely draws 1 nA (17.9 fA/√Hz) — the voltage noise, the source's Johnson noise at 300 K (faint) and the current noise in the source, in power. 10 kΩ: 13.6 nV/√Hz, 13.7 nV/√Hz, 13.6 nV/√Hz; 100 kΩ: 41.1 nV/√Hz, 41.9 nV/√Hz, 40.4 nV/√Hz; 1 MΩ: 150 nV/√Hz, 169 nV/√Hz, 128 nV/√Hz; 10 MΩ: 895 nV/√Hz, 1.19e+3 nV/√Hz, 438 nV/√Hz. Below a few kilohms all three are the amplifier's own 5 nV; above, the cancelled pin's current noise takes over first.
Fig. 3 Input-referred noise density against source resistance, each input with 5 nV/Hz\text{nV}/\sqrt{\text{Hz}} of voltage noise, the source’s Johnson noise at 300 K included. At 10 kΩ: 13.6, 13.7 and 13.6 nV/Hz\text{nV}/\sqrt{\text{Hz}} for the 20 nA bipolar pin, the cancelled pin and the true 1 nA input. At 100 kΩ: 41.1, 41.9 and 40.4. At 1 MΩ: 150, 169 and 128. At 10 MΩ: 895, 1,190 and 438.

Below about ten kilohms none of this matters: the source’s own Johnson noise and the amplifier’s 5 nV/Hz\text{nV}/\sqrt{\text{Hz}} dominate, and the three inputs read the same to a few per cent. Above a hundred kilohms they separate, and in the order opposite to their bias currents. At a megohm the cancelled input reads 169 nV/Hz\text{nV}/\sqrt{\text{Hz}}, the uncancelled 150 and the true 1 nA input 128 — the source’s own 129 nV/Hz\text{nV}/\sqrt{\text{Hz}} of Johnson noise being nearly all of the last. At ten megohms the cancelled pin is 1.19 μV/Hz\mu\text{V}/\sqrt{\text{Hz}}, almost three times the true low-current input.

A designer choosing an input for a high-impedance source by its bias current would pick the cancelled part over the uncancelled one, because its offset in front of the source is a twentieth. That choice is right for the offset and wrong for the noise, and in front of ten megohms it is wrong by a third.

Where each input’s current noise takes over

Two resistances summarise an input’s current noise, and both are worth having for any part.

Where each input's current noise takes over: bipolar, 20 nA at 62.5 kΩ against its voltage noise and 2.5 MΩ against the source's own; cancelled, 1 nA net at 44.7 kΩ against its voltage noise and 1.28 MΩ against the source's own; a true 1 nA input at 279 kΩ against its voltage noise and 50 MΩ against the source's own. computed by solving, not by drawing: for each input, the source resistance at which its current noise in the source equals its 5 nV/√Hz voltage noise, eₙ/iₙ, and the one at which it equals the source's Johnson noise, 4kT/iₙ². bipolar, 20 nA: iₙ 80.1 fA/√Hz, 62.5 kΩ and 2.5 MΩ; cancelled, 1 nA net: iₙ 112 fA/√Hz, 44.7 kΩ and 1.28 MΩ; a true 1 nA input: iₙ 17.9 fA/√Hz, 279 kΩ and 50 MΩ. Above the second resistance the amplifier adds more noise than the source has; the cancelled pin reaches it at half the resistance the uncancelled one does and a fortieth of the one its bias current suggests.
Fig. 4 For each input, the source resistance at which its current noise in the source equals its 5 nV/Hz\text{nV}/\sqrt{\text{Hz}} voltage noise, and the one at which it equals the source’s Johnson noise. The 20 nA bipolar pin, 80.1 fA/Hz\text{fA}/\sqrt{\text{Hz}}: 62.5 kΩ and 2.5 MΩ. The cancelled pin, 112 fA/Hz\text{fA}/\sqrt{\text{Hz}}: 44.7 kΩ and 1.28 MΩ. The true 1 nA input, 17.9 fA/Hz\text{fA}/\sqrt{\text{Hz}}: 279 kΩ and 50 MΩ.

The first, en/ine_n/i_n, is the source resistance at which the amplifier’s two noises are equal and below which its current noise can be ignored; it is the optimum source resistance of the floor a circuit has. The second, 4kT/in24kT/i_n^2, is the source resistance above which the amplifier’s current noise exceeds the source’s own thermal noise — above which the amplifier, rather than the source, sets the floor. For the cancelled pin it is 1.28 MΩ, half the uncancelled pin’s 2.5 MΩ and a fortieth of the 50 MΩ that a pin drawing 1 nA would allow. Its datasheet bias current describes the third part, and its noise behaves like the first one’s, a little worse.

The window a field-effect input wins in found the band of source resistances over which a field-effect input’s tiny gate current beats a bipolar input’s lower voltage noise. Cancellation does not move a bipolar input into that window. It moves the offset there and leaves the noise behind.

The older cure, priced the same way

The cure that becomes a different circuit and the cure that needs one current measured the older remedy for input current: a resistor on the other input equal to the source, so that both pins’ currents drop the same voltage and only their difference remains as offset. It is worth pricing in noise beside cancellation, because the two cures turn out to be one idea.

The two cures cost the same noise: a balanced 20 nA input reads 212 nV/√Hz behind a megohm and the same transistor cancelled 169 nV/√Hz, against 150 nV/√Hz with neither. computed by solving, not by drawing: input-referred noise density against source resistance, 5 nV/√Hz of voltage noise. An uncancelled 20 nA input (offset 20 nA times the source); the same with a balancing resistor equal to the source on the other pin (offset the 2 nA difference between the pins, noise from both pins' currents and both resistors); and the same transistor cancelled to 1 nA net with no balancing resistor. 10 kΩ: 13.6 nV/√Hz, 18.6 nV/√Hz, 13.7 nV/√Hz; 100 kΩ: 41.1 nV/√Hz, 57.9 nV/√Hz, 41.9 nV/√Hz; 1 MΩ: 150 nV/√Hz, 212 nV/√Hz, 169 nV/√Hz; 10 MΩ: 895 nV/√Hz, 1.27e+3 nV/√Hz, 1.19e+3 nV/√Hz. Balancing and cancelling each remove most of the offset by setting a second stream of the base current against the first, and each pays the second stream's shot noise; balancing pays the second resistor's Johnson noise as well.
Fig. 5 Input-referred noise density against source resistance: a 20 nA bipolar input with no balancing (offset 20 nA times the source), the same with a balancing resistor equal to the source on the other pin (offset the 2 nA difference between the pins), and the same transistor cancelled to 1 nA net with no balancing resistor. At 10 kΩ: 13.6, 18.6 and 13.7 nV/Hz\text{nV}/\sqrt{\text{Hz}}. At 100 kΩ: 41.1, 57.9 and 41.9. At 1 MΩ: 150, 212 and 169. At 10 MΩ: 895, 1,270 and 1,190.

A balanced input works by setting the other pin’s current against the first: the two base currents cancel in the offset because they flow through equal resistances, and what is left is their difference. In noise the two pins’ currents are independent streams, so the balanced input carries the shot noise of two base currents in its source resistances — 2×2qIb2 \times 2qI_b in power, which is 2q×402q \times 40 nA. The cancelled pin carries 2q×392q \times 39 nA. The two cures pay almost exactly the same current noise, because each removes the mean by subtracting a second stream of the same size, and a second stream of the same size brings the same shot noise.

The balanced input then pays more, for the balancing resistor’s own Johnson noise, which a cancelled input does not have: 212 nV/Hz\text{nV}/\sqrt{\text{Hz}} at a megohm against 169. So cancellation is the better of the two cures in noise and the better in offset — 1 nA net against a 2 nA difference — and neither is better than an input that never had the current.

A datasheet read backwards

The relation between a pin’s mean current and its shot noise is a test that any datasheet can be put to. An input whose current is a single stream of carriers has in2=2qIbi_n^2 = 2qI_b exactly, so the ratio

in22q Ib\frac{i_n^2}{2q\,I_b}

is one for an honest single stream. For a cancelled input it is (Ib+Ic)/Inet(I_b + I_c)/I_{net}, which for cancellation to a twentieth is 39. A part specified at 1 nA of bias current and 110 fA/Hz\text{fA}/\sqrt{\text{Hz}} of current noise has a ratio of about 38, and the arithmetic says how it was built: a base current near 19 nA, nearly all of it removed by a replica. A part specified at 1 nA and 18 fA/Hz\text{fA}/\sqrt{\text{Hz}} has a ratio of one, and draws its nanoampere honestly.

The test is not exact in practice. The current noise on a datasheet is usually quoted at one frequency, sometimes above a flicker corner and sometimes not, and the bias current is a typical value at one temperature; flicker or a leakage current with its own noise would raise the ratio for reasons that have nothing to do with cancellation. But a ratio of ten or more is almost always a replica, and it says, before any circuit is built, that the part’s offset and its noise belong to different currents. A designer who reads only the bias current is reading the smaller of the two.

A measurement at ten megohms, worked

A sensor whose output impedance is ten megohms — a glass electrode, a photodiode at low light run unbiased, a piezoelectric element at low frequency — makes the choice concrete. Over a 10 Hz band, the three inputs add 2.83 µV, 3.75 µV and 1.39 µV of root-mean-square noise in front of it, the uncancelled pin, the cancelled one and the true 1 nA input respectively, all including the source’s own 1.29 µV of Johnson noise. Their offsets are 200 mV, 10 mV and 10 mV.

The uncancelled pin is the worst choice for the offset by a factor of twenty, and a 200 mV offset would take most of a low-voltage amplifier’s input range. The cancelled pin brings the offset down to what a calibration removes, and in exchange it adds a third to the noise that no calibration removes: 3.75 µV against 2.83, and nearly three times the 1.39 µV a genuinely low-current input leaves. For a measurement that is trimmed once and read slowly, the cancelled part is the right purchase and its noise is the price. For one whose resolution is the point — a reading to a microvolt behind ten megohms — the cancelled part cannot reach it, and no amount of averaging over the same band will make it, because the noise is in the band.

Where cancellation is the right purchase

None of this makes cancellation a mistake; it makes it a trade with a definite shape. The circuit in which an input’s mean current matters most and its noise least is the one the current a capacitor adds up measured: an integrator, where the mean current is a ramp and time is its gain. On a 1 µF capacitor a 1 nA cancelled residue ramps at 1 mV a second and the uncancelled 20 nA at 20 mV. The noise integrates too, but as a random walk: the charge it adds over a time TT has a spread of inT/2i_n\sqrt{T/2}, which for the cancelled pin over one second is 79 fC, or 79 nV on the capacitor — ten thousand times smaller than the ramp. There the 2\sqrt 2 is invisible and the factor of twenty is everything, and cancellation is exactly the right cure.

The trade reverses as the measurement’s band widens and its source resistance rises, which is the corner of the earlier figure: where the reading is fast and the impedance high, the noise in the band is the error, and an offset that a calibration would remove anyway was never the problem.

Why the means cancel and the noise cannot

The asymmetry between mean and noise is the general property of independent quantities, and it is worth stating without the circuit. Means add with their signs, so a large current minus a nearly equal one is small. Variances add without signs, so the difference of two independent currents is as noisy as their sum. Only a correlated subtraction removes noise, and correlation would require the replica’s carriers to arrive in step with the base current’s — which a separate transistor’s cannot do.

That is the same reason two generators with one cause could combine noise sources only by knowing how they were correlated, and the reason a balancing resistor’s cancellation of a pair’s common current, in the earlier essays, was perfect for the mean and did nothing for the noise. A measurement that wants a small current with small noise has to use a device whose current is small, not one whose current has been made small by subtraction.

How the numbers were obtained

The densities are 2q(Ib+Ic)\sqrt{2q(I_b + I_c)} for the cancelled pin and 2qI\sqrt{2qI} for an uncancelled one, at the electron’s charge. The first figure’s second route draws each stream’s carriers in 40,000 windows of a microsecond from its own mean — counts in the tens of thousands, drawn in the normal limit — differences them, and reads the density from the variance over the window’s bandwidth; the trace figure uses nanosecond windows, where the counts are a hundred or fewer, drawn as Poisson counts directly. The input-referred noise adds the amplifier’s voltage noise, the source’s Johnson noise at 300 K and each pin’s current noise in its resistance, in power. The balanced input’s offset is the difference between the pins, taken as a tenth of the bias current, as in the earlier essays.

What it leaves out

The noise is shot noise only. A bipolar input’s base current also carries flicker noise, and a replica built from a second transistor has its own; at low frequencies both rise, and whether the replica’s flicker is correlated with the base current’s — through a shared temperature, a shared bias line — would decide whether cancellation’s low-frequency noise is worse or better than the shot noise alone suggests.

The replica is assumed to be a separate stream. Some cancellation circuits derive the replica from the same transistor’s collector current through a mirror, and a mirror copies its input current’s mean faithfully and its noise only partly; a replica correlated with the base current would cancel some of the noise as well as the mean. How much depends on the mirror’s own noise, and is not measured here.

And the pin is at one temperature. The temperature a cancelled input is best at found the residue moving through zero across temperature; the noise does not, since it follows the sum of the two currents rather than their difference. At the temperature where the offset vanishes the noise is still that of two whole streams.

The numbers to keep

A bias-cancelled input carries the shot noise of the base current plus the replica, 2q(2Ib−Inet)\sqrt{2q(2I_b - I_{net})}: cancelled from 20 nA to 1 nA it is 112 fA/Hz\text{fA}/\sqrt{\text{Hz}}, 2\sqrt 2 more than uncancelled and 6.2 times a true 1 nA input. Behind a megohm it reads 169 nV/Hz\text{nV}/\sqrt{\text{Hz}} against 150 uncancelled and 128 for a true low-current input, and its current noise overtakes the source’s Johnson noise at 1.28 MΩ rather than the 50 MΩ its bias suggests. A balanced input pays the same current noise, 2q×402q \times 40 nA against 2q×392q \times 39, and its balancing resistor’s noise besides.

Still open: a replica that is correlated, the flicker of two streams, and the noise at the offset’s zero

A replica derived from the input transistor. A cancellation circuit that copies the base current through a mirror makes a replica partly correlated with it, and a correlated subtraction removes noise as well as mean. How much of the 2\sqrt 2 a mirrored replica recovers, given the mirror’s own noise, is the measurement that would rank cancellation schemes by noise rather than by offset.

Two flicker spectra. Below its flicker corner a base current’s noise rises as one over frequency, and the replica’s does too. If the two are independent the cancelled pin’s flicker is 2\sqrt 2 the uncancelled one’s, as its shot noise is; if they share a cause it may be less. Where the corner sits for each, and whether a cancelled input’s low-frequency noise is set by its two transistors or by something they share, decides which inputs a slow measurement should use.

The noise where the offset vanishes. At the temperature where a cancelled pin’s residue crosses zero its offset is nothing and its noise is that of two full streams. A measurement specified as an error band over temperature therefore has its offset smallest where its noise is largest, and the band’s worst point is a trade between the two that the separate figures do not show.

Part 6 on input bias current

One argument about Input bias current, and one of 6 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 noiseInput bias currentJohnson noiseNoise budgetOffset voltageShot noise