The current that does not reach the input
Assumes: The current the instrument draws · The millivolts in the wire
The current the instrument draws put the amplifier’s own input current into the netlist and found that the difference between the two inputs is what binds: the bias current can be cancelled by making the two source resistances equal, and the offset current cannot, so the classical cure is worth a factor of ten rather than a factor of a thousand.
Every number in that essay is a property of the amplifier. This one is about the other current at the same node, which is not the amplifier’s at all. It comes across the surface of the board, from whatever is nearby, through a resistance that is a property of the laminate, the flux residue and the weather — and on a high-impedance input it is larger than anything the device does.
What a board is worth, and what it is worth in the rain
A clean board with a solder mask and no residue is somewhere around 10¹² ohms between adjacent features. That is not a small number and it is not large enough. Fifteen volts across a teraohm is fifteen picoamps; through a one-gigohm source resistance that is fourteen millivolts of error, which is four orders of magnitude above the amplifier’s own contribution.
The resistance is also not a constant. Relative humidity above about sixty per cent puts a monolayer of water on the surface and ionic residue dissolves into it; two decades is an ordinary morning’s variation, and the left-hand end of the figure above is what that looks like. An instrument that reads correctly in a dry laboratory and drifts by a volt on a wet one has not developed a fault.
The comparison is the whole reason the technique exists. Choosing an amplifier whose input current is fifty femtoamps rather than fifty picoamps is a real decision with real cost, and on the board described above it changes the answer by nothing at all, because the laminate is contributing three orders of magnitude more.
One wire, and what is across the leakage
A guard is a conductor that surrounds the input trace — a ring on both faces of the board, or a driven shield on the cable — and is held at the input’s own potential by the amplifier. The leakage path from the rail then lands on the ring instead of the input, and the amplifier supplies whatever current that takes from its output, where it does no harm.
What is left is the leakage from the ring to the input, and across that resistance there is not fifteen volts. There is the difference between the input and the guard, which is the amplifier’s own error: the signal divided by its open-loop gain. With a gain of a million and a signal of a volt, the leakage current is a millionth of what it was.
The netlist says 1.00 nanovolts where the bare board said 13.99 millivolts. And it says something about the character of what is left as well as its size. The bare error is proportional to the rail, which makes it an offset, drifting with whatever the rail does. The guarded error is proportional to the signal, which makes it a gain error of one part in a billion — a quantity that is calibrated out by the same operation that calibrates out the divider ratio, and that does not drift when the rail does.
That is the same structural move two terminals measure the leads makes with a four-terminal resistance measurement, and it is worth naming the shared idea: neither technique removes an error current. Both arrange for it to flow somewhere that does not matter.
What is actually in the netlist
The board is three elements and the amplifier is four, and it is worth writing them out because the whole argument is which node each one connects to.
The leakage is a resistor from a rail node at fifteen volts. On the bare board it goes to the input node; on the guarded board it is split into two, one from the rail to the ring and one from the ring to the input, with the split set by how much of the path the ring intercepts. The cable is a capacitance, from the input to ground on the bare board and from the input to the ring on the guarded one — the same component, moved to a different node, which is the entirety of what a driven shield is.
The amplifier is the one-pole macro-model the feedback field already uses: a transconductance into a capacitance, then a follower, so its direct-current gain and its gain-bandwidth are two element values rather than two fitted parameters. The ideal amplifier and its bandwidth is where that model’s own range was measured, and this essay is entirely inside it.
The error is then two solves rather than one: the same board with the leakage present and with it raised to 10¹⁸ ohms. The difference is the leakage’s contribution and nothing else, so the amplifier’s own offsets and the divider’s own gain cannot leak into the number being reported. That is the same two-solve habit two solves that add argues for, applied to a subtraction rather than a superposition.
An input resistance that is a function of frequency
The quantity a data sheet calls the input resistance is the signal divided by the current the input draws, and on a guarded board that current is the residual leakage. So the resistance is the physical leakage multiplied by the loop gain — and a loop gain is a function of frequency.
It starts at 10¹⁸ Ω, falls twenty decibels a decade above the amplifier’s own corner at one hertz, and arrives back at the bare 10¹² Ω by a megahertz. Half of what the guard bought is gone by 1.73 Hz.
There is nothing wrong with the guard here and nothing wrong with the amplifier. The quantity itself is not a resistance: it is a resistance multiplied by a frequency-dependent number, and calling the result the input resistance is the mistake. A data sheet’s figure is a direct-current statement about a circuit that nobody uses at direct current, and the frequency at which it stops being true is the amplifier’s own dominant pole rather than anything about the board.
The dashed line in that figure is the unguarded board, which has no loop gain anywhere in it and is therefore flat. The unguarded number is smaller and it is honest.
The same loop gain, spent on the cable
A guard does something else that is usually described as a second benefit and is the same mechanism counted twice. The shield around the input conductor is held at the input’s potential, so the capacitance between them has no voltage across it and draws no charging current. The capacitance is still there and the amplifier still drives it — from its output, where it is a load rather than a pole.
A gigohm and a hundred picofarads is a corner at 1.59 Hz, and there is nothing to be done about it: it is a low-pass filter made of the source and the cable, and no amplifier improves it. Guarded, the corner moves to 812 Hz — a factor of 510.
It is not the full loop gain, and the reason it is not is instructive. The guard’s own accuracy falls with frequency exactly as the input resistance above does, so the bootstrapping stops working before the loop gain has run out. Where the answer lands is the crossing of two falling curves, and the netlist finds it; no expression in the shape C/(1 + T) gives 812 Hz, because T is not one number.
Where the guard is driven from, and what that costs
For a follower the guard is the output, and there is nothing to choose. For a non-inverting amplifier of gain G the guard has to be driven from the feedback divider, at the potential the inverting input sits at — which is the input’s potential only to the extent that the divider is accurate and the amplifier’s common-mode rejection is good.
That puts a second, quite different error in series with the first: a resistor tolerance. A divider mismatched by a tenth of a per cent holds the guard a thousandth of the signal away from the input, which caps the improvement at a thousand however large the loop gain is. The mechanism is the same one the rejection the parts have measures in an instrumentation amplifier: an active circuit’s performance limited by the passive components’ matching rather than by anything the device does.
Both errors scale with the source resistance, which is worth stating because it says what the technique is for. At a source impedance of a kilohm the bare leakage is fourteen nanovolts and nobody guards anything. The whole subject exists above about a hundred megohms, which is electrometers, pH probes, photodiodes at low light and insulation testers — and in every one of them the source is a real physical thing whose own resistance is the measurement.
A guard that is not driven, and why it is worse than none
There is a third arrangement, and it is common, and it is a trap: a ring connected to ground rather than to the input’s potential.
It does intercept the leakage from the rail, and if that were the only path it would work. But it also puts a low-impedance conductor immediately beside the input trace at a fixed potential, and any signal on the input now has the full signal voltage across that leakage resistance. The current is proportional to the signal, so it appears as a shunt resistance across the source — a gain error of the source resistance divided by the leakage resistance, which for a gigohm source and a teraohm ring is a thousand parts per million.
That is a thousand times worse than the driven ring’s one part in a billion, and it is worse than the bare board in one specific respect: it is proportional to the signal, so it does not calibrate out as an offset and it is not constant with signal level if the surface resistance is non-ohmic. A ring at the wrong potential is a component fitted to the input.
The two currents at one node
There are now three contributions at the input node and they behave differently enough that it is worth listing them together, because a specification that names one of them is naming a third of the problem.
The amplifier’s bias current is a property of the device, is nearly constant, and produces an offset proportional to the source resistance. The offset current — the difference between the two inputs — is a tenth of it and cannot be cancelled by balancing. The board’s leakage is a property of the board and the weather, produces an offset proportional to the rail and to the source resistance, and is the largest of the three by orders of magnitude until a ring is fitted.
Guarding does not improve the first two. What it does is move the third from being the binding constraint to being irrelevant, and the value of that is precisely that it restores the amplifier’s own specification to being the thing that decides — which is why choosing a femtoamp part is a sensible decision on a guarded board and a waste of money on a bare one.
What is not here
No temperature. Surface resistance falls with temperature as well as with humidity, and the amplifier’s own input current roughly doubles every ten kelvin for a junction-input device. Both move the comparison above and neither is in this netlist. Two millivolts a kelvin is the machinery that would carry it.
No triboelectric or piezoelectric charge. A coaxial cable flexed at a high-impedance input generates charge directly, and at a gigohm it is a large error with no resistance anywhere in its description. It is the reason low-noise cable exists and it is not a leakage.
And no dielectric absorption in the board itself. The laminate between the guard and the input is a capacitor with a distribution of relaxation times, exactly as the capacitor that remembers describes, so a step on the guard is followed by a slow current into the input for decades of time afterwards. On a settling measurement at these impedances that is the tail that decides how long a reading takes.
The number the technique is specified by
If a guard is worth the loop gain, then the specification a designer needs is not the leakage resistance and not the amplifier’s input current. It is the product of the leakage resistance and the loop gain at the frequency of interest, and that product has a name nowhere.
It also has an awkward property: it is worse for a fast amplifier used slowly than for a slow one. A part with a megahertz of gain-bandwidth and a gain of a million has its corner at one hertz, and above one hertz the guard’s benefit falls; a part with the same gain and a hundred kilohertz of gain-bandwidth has its corner at a tenth of a hertz and is worse everywhere. What decides the guard’s benefit at a given frequency is the open-loop gain there, which is the gain-bandwidth divided by the frequency, so the fast part wins — and the reason to say so is that a slow, low-input-current electrometer amplifier is exactly what one would otherwise reach for.
That is the same trade how much of the amplifier gets through states about desensitivity: what feedback improves, it improves by the loop gain, and the loop gain is a curve. A guard is a feedback technique with the board’s leakage inside the loop.
What one wire bought
A ring of copper, connected to a node the circuit already has, changes a fourteen-millivolt offset into a one-nanovolt gain error and a 1.6 Hz corner into an 812 Hz one. It adds no component, costs no current, and appears on the schematic as a wire.
And it is invisible to every measurement that does not have the board in it. Simulate the amplifier and the source and there is nothing to find; the whole of the effect is in a resistance nobody drew, between two features whose spacing was chosen by a layout tool. That is why the technique is transmitted as a rule rather than as a calculation, and why the calculation — two solves of the same netlist, with the leakage present and absent — is worth doing once.
The other element nobody drew
A leakage resistance across a board is the second time this collection has found a design decided by a quantity that is not on the schematic and not on any bill of materials, and the pair is worth reading together because the two behave in opposite ways.
Where the current comes back is the other one: the return current under a track spreads out at low frequency and runs directly beneath it at high, and the frequency at which it changes over depends on neither the length of the track nor its width — 106 kilohertz for any track two hundred micrometres above a half-milliohm plane. Everything a designer usually varies is absent from the answer, and what decides it is a spacing.
The two differ in what a layout can do about them. A return path is decided by geometry and cannot be argued with; the current goes where the impedance is least, and the only design freedom is where the plane is. A leakage path is decided by a resistance that a guard ring removes from the circuit, by holding both ends of it at the same potential — which is why the repair here is worth a factor of a million and the repair there is worth choosing a stackup.
And the edges that are lengths is where the collection gathers boundaries of this kind: the ones whose axis is a distance, which nobody chooses at the schematic, which are set by whoever builds the thing, and which appear in no netlist at all. A guard ring’s clearance and a track’s height above its plane are both on that list, and both are numbers a calculation can supply to somebody who would otherwise be following a rule.
Part 1 on guarding
One argument about Guarding, and one of 2 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 8 sharing most with it of 14.
The objects named here
The third axis, after the field and the idea: the things themselves, and every essay that touches each one.
BootstrappingGuardingInput bias currentInput impedanceLeakage currentLoop gainMeasurement errorSource impedance