Measurement, which is a circuit on a circuit

The EMF a reversal reads as resistance

Reversing the current through a milliohm removes any thermoelectric voltage that holds still, and the delta removes one that drifts in a straight line. A lock-in is the same idea with a sinusoid, and it is the same filter: its rejection of a slow drift is first order with its reference odd about the centre of its window and second order with it even, so the + − + delta is a cosine-phase lock-in, and no frequency changes the order. What alternating the current does change is the one EMF no reversal touches. Peltier heat at each lead-to-terminal junction is proportional to the current and reverses with it, so its Seebeck voltage reads as resistance — 270 ppm of a milliohm for 3 µV/K junctions at 50 K/W, read in full by every reversal scheme. Through the junction's thermal time constant a sinusoidal current pushes it into quadrature: at ωτ = 10 all but 2.67 ppm of it leaves the in-phase reading. Swept in frequency it draws a semicircle whose diameter and top measure the junction. And the price is the sense loop's inductance, read through the reference's phase error, which puts the best frequency for 5 s junctions and 1 nH at 4.4 Hz.

Assumes: Two terminals measure the leads as well · The ammeter that is a resistor

The voltage four wires carry in found the one error a four-terminal measurement’s sense loop cannot avoid by construction: the thermoelectric voltage where a copper lead meets a brass terminal. Ten milliamps through a milliohm is ten microvolts, so every microvolt of EMF moves a single-polarity reading by a tenth. Reversing the current removes any EMF that holds still. The + − + delta, three readings weighted a quarter, minus a half and a quarter, removes one that drifts in a straight line, and four readings remove a parabola. Each extra reading cancels one more derivative of the drift, the arithmetic of a numerical method’s order that one step, computed twice used on a step response.

That essay ended with three open questions, and two of them turn out to be one. A precision bridge does not reverse a direct current a few times; it drives a sinusoid at a few hertz and reads it with a phase-sensitive detector, which multiplies the voltage by a reference and averages. Is that a better way to reject a drifting EMF, or the same way in a different form? And the essay named the one EMF no reversal can remove: a voltage that follows the current’s sign, which is the junction’s own Peltier heating. Alternating the current at a frequency is the only thing that acts on it, and what it does is worth measuring.

Every way of alternating the current is a filter on the EMF's drift: the reversal and a sine-phase lock-in reject a slow drift to first order, the delta and a cosine-phase lock-in to second, four readings to third. computed by solving, not by drawing: the rms reading each scheme makes of a unit sinusoidal drift in the sense loop's EMF, against the drift's frequency in cycles of the current's reversal. Finite differences of readings half a cycle apart (closed form, |sin(πf/2)|ⁿ): a reversal, n = 1; the + − + delta, n = 2; four readings, n = 3. A lock-in over four whole cycles of a sinusoidal current, demodulated numerically, with its reference odd about the centre of the window (sine phase) and even about it (cosine phase), the second also with a Hann window across its cycles. Low-frequency slopes, measured: reversal, + − 1.000, delta, + − + 2.000, four readings 3.000, lock-in, sine phase 1.000, lock-in, cosine phase 2.000, cosine phase, Hann window 2.000. A lock-in is a reversal scheme, and the order of its rejection is set by the symmetry of its reference about the window, not by its frequency.
Fig. 1 The rms reading each scheme makes of a unit sinusoidal drift in the sense loop’s EMF, against the drift’s frequency in cycles of the current’s reversal: a reversal, the + − + delta and four readings, all half a cycle apart; and a lock-in over four whole cycles with its reference in sine phase and in cosine phase at the window’s centre, the second also with a Hann window. The low-frequency slopes are 1, 2, 3, 1, 2 and 2: the window lowers the response and keeps its order.

Every scheme is a filter on the drift

The first figure treats each scheme as what it is, a linear operation on the voltage across the sense terminals. That voltage is the resistance’s drop, which alternates with the current, plus an EMF, which does not. A scheme’s reading of the EMF is a weighted sum of its values at the reading instants, and its response to an EMF that varies sinusoidally at a frequency ff is a transfer function. For the finite differences, with readings half a reversal cycle apart, it has a closed form: ∣sin⁡(πf/2)∣n|\sin(\pi f/2)|^n, in cycles of the reversal, with nn the number of readings less one. At low frequency that rises as fnf^n — first order for a reversal, second for the delta, third for four readings — and the slopes measure 1.000, 2.000 and 3.000.

A lock-in reads the same voltage by multiplying it by a sinusoid at the current’s frequency and averaging over whole cycles. The figure computes its response to a drifting EMF numerically, by demodulating a sinusoidal drift over four cycles, and the low-frequency slope comes out at one with the reference in one phase and two in the other. A lock-in is a reversal scheme. It reverses continuously, with a sinusoidal weighting where the reversal used a square one, and its rejection of a slow drift has an order exactly as the finite differences do.

Nothing about the frequency changes that order. Raising the current’s frequency moves every curve to the left in absolute terms — a drift at a given rate is then a smaller fraction of a cycle — which helps every scheme equally. What separates the schemes is the slope, and the slope is set by something other than the frequency.

The phase decides the order

What sets it is the reference’s symmetry about the centre of the averaging window. The second figure sweeps the phase of the reference at the window’s centre, from sine through cosine and back, and reads three drifts across a four-cycle window: a constant, a straight line and a parabola, each of unit span.

A lock-in over four whole cycles reads a straight-line drift as 0.0796 of its span with its reference in sine phase at the window's centre and nothing in cosine phase, and a parabola the other way round. computed by solving, not by drawing: a lock-in demodulating over four whole cycles of its reference, with the reference's phase at the centre of the window swept from sine (0°) to cosine (90°) and back, reading a drift that is constant, a straight line, and a parabola across the window, each of unit span. The constant reads nothing at every phase (whole cycles). The straight line reads 0.0796 at 0° and nothing at 90°, following |cos φ|; the parabola reads nothing at 0° and 0.0063 at 90°. A reference even about the centre cancels every odd power of a drift centred on it, and one odd about the centre every even power — so the + − + delta, whose square reference is even about its middle reading, is the cosine-phase case.
Fig. 2 A lock-in over four whole cycles, its reference’s phase at the centre of the window swept from sine (0°) to cosine (90°), reading a constant, a straight-line and a parabolic drift of unit span. The constant reads nothing at every phase; the straight line reads 0.0796 of its span at 0° and nothing at 90°; the parabola reads nothing at 0° and 0.0063 at 90°.

Over whole cycles a constant reads nothing at any phase, since a sinusoid averages to zero. The straight line reads 0.0796 of its span with the reference in sine phase and nothing with it in cosine phase, following ∣cos⁡φ∣|\cos\varphi|. The parabola does the opposite. The reason is symmetry. A drift centred on the window splits into even and odd parts about the centre, and a reference that is even about the centre — a cosine there — cancels the odd parts, of which a straight line is one, while a reference that is odd cancels the even parts. A constant is even and is cancelled anyway by whole cycles. So a cosine-phase lock-in cancels a constant and a straight line, which is second order, and a sine-phase lock-in only a constant.

The + − + delta is the cosine-phase case in square form. Its three readings, weighted ¼, −½, ¼, make a square reference that is even about the middle reading, and it cancels the constant and the line for the same reason. The reversal, two readings + −, is odd about its midpoint, which is why it cancels only the constant. Four readings, + − + −, weighted 1, 3, 3, 1 over eight, combine both symmetries in a longer kernel and reach third order. A lock-in with a window — a Hann taper across its cycles — lowers its response’s coefficient, by a factor of about five here, but in this computation it does not raise the order: the slope at low frequency is still one in sine phase and two in cosine. The order comes from how many moments of the drift the weighting annihilates, and a smooth window over whole cycles annihilates no more of them than a square one does.

The practical reading is that a lock-in has nothing to offer against a slowly drifting EMF that a delta measurement does not already have, and that a careless one has less. A lock-in whose averaging window starts at an arbitrary point of its reference, as a continuously running one effectively does, is somewhere between the two phases, and its rejection of a linear drift is first order with a coefficient set by where the window happened to begin.

The EMF that reverses with the current

The schemes so far reject EMFs that do not depend on the current. One EMF does. Where a current passes from copper into brass, the junction absorbs or releases Peltier heat at a rate ΠI\Pi I, with Π=ST\Pi = ST the junction’s Peltier coefficient, SS the two metals’ relative Seebeck coefficient and TT the absolute temperature. At the entry junction the heat has one sign and at the exit junction the other, so one warms and the other cools. Each junction is also a thermocouple, and the two temperature changes make Seebeck voltages that add round the sense loop. The result is a voltage proportional to the current, with the current’s sign: indistinguishable, at direct current, from resistance.

Its size is RP=2S2TRthR_P = 2S^2T R_{th}, with RthR_{th} each junction’s thermal resistance to its surroundings. For junctions of 3 µV/K at 300 K with 50 K/W each — assumed values, for a small brass terminal on a thin lead — that is 270 ppm of a milliohm. With a massive terminal of 5 K/W and an alloy pair of 1 µV/K it is 3 ppm; with a thermoelectric material it is most of the reading. It scales as the square of the Seebeck coefficient, which is why precision shunts use alloys chosen for a small one against copper.

Every reversal scheme reads it in full. A reversal subtracts readings at the two polarities and the Peltier voltage has changed sign between them, exactly as the true drop has, so it survives the subtraction intact; the delta and the four-reading scheme are weighted sums of the same kind. No finite difference of alternating readings separates two voltages that both alternate with the readings. This is the EMF the earlier essay could only describe.

A frequency moves it out of phase

A sinusoidal current gives the junction something a reversal does not: a time scale. The junction’s temperature follows the Peltier heat through its thermal time constant τ\tau, so at an angular frequency ω\omega the temperature, and with it the Seebeck voltage, lags the current by arctan⁡ωτ\arctan\omega\tau and is smaller by 1+(ωτ)2\sqrt{1 + (\omega\tau)^2}. A lock-in reads the part in phase with the current, RP/(1+(ωτ)2)R_P/(1 + (\omega\tau)^2).

The Peltier EMF reverses with the current, so every reversal scheme reads it as 270 ppm of resistance; an alternating current at ωτ = 10 pushes all but 2.67 ppm of it into quadrature, and at 1 Hz all but 0.273 ppm. computed by solving, not by drawing: a milliohm read with 100 mA rms through copper leads on brass terminals, each junction with a Seebeck coefficient of 3 µV/K, a thermal resistance to its surroundings of 50 K/W and a time constant of 5 s — assumed values. The Peltier heat ΠI = STI warms one junction and cools the other, and their Seebeck EMFs add, Rₚ = 2S²T·Rth = 270 ppm at direct current. Every reversal scheme reads it in full (dashed): it is proportional to the current and reverses with it. A lock-in reads the in-phase part only, Rₚ/(1 + (ωτ)²) (solid), checked against a march of the junction's temperature at four frequencies (dots): 267 ppm at ωτ = 0.1, 135 ppm at ωτ = 1, 2.67 ppm at ωτ = 10, 0.027 ppm at ωτ = 100. At 0.1 Hz it is 24.8 ppm, at 1 Hz 0.273 ppm, at 10 Hz 0.00274 ppm.
Fig. 3 The Peltier error in a milliohm read at 100 mA rms, for junctions of 3 µV/K, 50 K/W and 5 s (assumed): every reversal scheme reads RPR_P = 270 ppm (dashed); a lock-in’s in-phase reading is RP/(1+(ωτ)2)R_P/(1 + (\omega\tau)^2) (solid), checked by marching the junction’s temperature at four frequencies (dots). At ωτ\omega\tau = 10 it is 2.67 ppm; at 1 Hz, 0.273 ppm.

The third figure checks that closed form against a march of the junction’s temperature — a first-order thermal lag driven by the Peltier heat, integrated exactly over each of four thousand steps a cycle, and demodulated over four cycles — at four frequencies, and the two agree to one per cent. The in-phase error is 135 ppm at ωτ=1\omega\tau = 1, 2.67 ppm at ten, 0.027 ppm at a hundred. With a 5 s junction, 1 Hz is ωτ=31.4\omega\tau = 31.4 and leaves 0.273 ppm, a thousand times less than any reversal.

So the answer to whether a lock-in is better than a reversal is that it is better at exactly one thing. Against an EMF that drifts independently of the current, it is a reversal with a sinusoidal kernel and gains nothing in order. Against an EMF caused by the current, it is the only scheme that acts at all, because it is the only one that has a frequency the junction’s thermal lag can be compared with. A reversal is a square wave and has a period too, but how much of the Peltier voltage it reads depends on how its readings are taken. Under a square current of half-period hh the junction’s temperature is a sawtooth of exponential segments, and at the end of each half-cycle it has reached tanh⁡(h/2τ)\tanh(h/2\tau) of its direct-current value — so a reading taken as an instant at the end of each half-cycle, after the meter has settled, reads RPtanh⁡(h/2τ)R_P\tanh(h/2\tau), which falls only as 1/f1/f. At a 1 Hz reversal on a 5 s junction that is 13.5 ppm, fifty times the sinusoid’s 0.273. A reading averaged over the whole half-cycle sees the sawtooth’s mean, which is far smaller. A delta measurement whose readings are a few seconds apart, as on many meters, is slow compared with a terminal either way, and reads most of the Peltier voltage.

The error, read as a measurement

The part of the Peltier voltage that leaves the in-phase reading does not disappear: it goes into quadrature, which a two-phase lock-in reads as well.

Swept in frequency, the Peltier EMF traces a semicircle in the plane of in-phase and quadrature: its diameter is the junction's 270 ppm and its top, at ωτ = 1, is the junction's time constant — the error read as a measurement of the junction. computed by solving, not by drawing: the Peltier EMF over the current, in phase against in quadrature, for the current's frequency swept from ωτ = 0.01 to 100 (line), with the march of the junction's temperature at ωτ = 0.1, 1 and 10 (dots). It is a semicircle of diameter Rₚ = 2S²T·Rth = 270 ppm, the direct-current value at the right and nothing at high frequency at the left; its top, 135 ppm in quadrature, falls at ωτ = 1, which at τ = 5 s is 0.0318 Hz. So a lock-in that reads the quadrature as well as the in-phase part measures the thermoelectric junction it is meant to reject: its size gives S²·Rth, and the frequency of its peak gives τ.
Fig. 4 The Peltier EMF over the current, in phase against quadrature, as the frequency sweeps from ωτ\omega\tau = 0.01 to 100 (line), with the march at ωτ\omega\tau = 0.1, 1 and 10 (dots). It is a semicircle of diameter RPR_P = 270 ppm; its top, 135 ppm in quadrature, falls at ωτ\omega\tau = 1, which for a 5 s junction is 0.032 Hz.

Swept in frequency, the in-phase and quadrature parts trace a semicircle, the signature of a single first-order lag. Its diameter is the direct-current Peltier resistance, 270 ppm here, and its top falls at ωτ=1\omega\tau = 1, which for a 5 s junction is 0.032 Hz. A bridge that records both components at a few frequencies therefore measures the junction it is designed to reject: the diameter gives S2RthS^2R_{th}, the frequency of the top gives τ\tau. That is the earlier essay’s second open question — the junction that is the device — answered from the other side. A thermoelectric element’s own figure of merit is measured this way, as the difference between its direct-current and high-frequency resistances, and a precision resistance measurement that records its quadrature is doing the same measurement inadvertently.

What a frequency costs

Raising the frequency has a price. The sense loop and the current path share a little mutual inductance, however carefully the leads are twisted, and an alternating current induces ωMI\omega M I in the sense loop, in quadrature with the current. A perfect lock-in ignores it. A real one’s reference is a little out of phase — a filter’s delay, a cable’s, the delay the reference that should be late set deliberately in a strain bridge — and a phase error θ\theta reads ωMIsin⁡θ\omega M I\sin\theta of the quadrature voltage as in-phase.

What an alternating current costs: the sense loop's 1 nH puts ωM of quadrature in the reading, and a 1 mrad phase error leaks it in phase; against the Peltier part's fall the best frequency is 4.43 Hz, for 0.0418 ppmcomputed by solving, not by drawing: the in-phase error of a lock-in reading of the milliohm against the current's frequency: the Peltier part, Rₚ/(1 + (ωτ)²) (dashed), falling as 1/f² above 1/(2πτ) = 0.032 Hz; the sense loop's mutual inductance with the current path, 1 nH, a quadrature voltage ωM·I that a reference 1 mrad out of phase reads as ωM·sin θ in phase (dotted); and the sum (solid). The best frequency is 4.432 Hz against (2Rₚ/(τ²Mθ(2π)³))^(1/3) = 4.432 Hz, with 0.0418 ppm of error — against 270 ppm for any direct-current reversal. At 50 Hz the leak alone is 0.314 ppm.the current's frequency (hertz)in-phase error (ppm of the milliohm)1 mHz1 Hz1 kHz0.00010.011100total, in phase0.0418 ppm at bestPeltier partfalls as 1/f²inductive leakrises as f, 1 mradbest frequency4.43 Hzsolved, then checked — two errors, one frequencya window, not a free lunch
Fig. 5 The in-phase error of a lock-in reading against frequency: the Peltier part falling as 1/f21/f^2 (dashed), the sense loop’s 1 nH read through a 1 mrad phase error as ωMsin⁡θ\omega M\sin\theta (dotted), and the sum (solid). The best frequency is 4.43 Hz, for 0.0418 ppm; at 50 Hz the inductive leak alone is 0.314 ppm.

The last figure puts the two together for 1 nH of mutual inductance and a 1 mrad phase error. The Peltier part falls as 1/f21/f^2 above 1/2πτ1/2\pi\tau; the inductive leak rises as ff. Their sum is least where the two balance, at f∗=(2RP/(τ2Mθ(2π)3))1/3f^* = (2R_P/(\tau^2 M\theta(2\pi)^3))^{1/3}, which is 4.43 Hz here, for 0.0418 ppm — against 270 ppm for any reversal. At mains frequency the leak alone is 0.314 ppm, already worse than the optimum by a factor of eight. A tenfold better phase moves the optimum up by 101/310^{1/3} and lowers the error by 102/310^{2/3}, the same cube-root trade that the shunt’s own heating made with the test current.

This is why precision resistance bridges run at a few hertz to a few tens of hertz — the carrier choice the carrier a cable allows made for a strain bridge from the cable’s side — not at mains frequency or above: low enough that the loop’s inductance is negligible through a realistic phase error, high enough that the junctions cannot follow the current. The window between the two is set by the junction’s time constant at one end and the loop’s inductance at the other, and both are properties of the mechanical construction rather than of the instrument.

Where the three questions meet

The earlier essay’s three open questions were an EMF correlated with the polarity, the junction that is the device, and alternating current. They are one question. A reversal cannot separate a voltage that reverses with it; a frequency can, because the thermal response that creates the voltage has a time scale; and the same time scale, read in quadrature, measures the junction. The filter an average is found that every average is a filter with a frequency response, and the reversal schemes are the alternating-sign version of the same statement: each has a zero at zero frequency, of an order its symmetry sets, and a frequency at which its kernel turns over. What they share with a lock-in is the zero; what the lock-in adds is the ability to name a frequency at which to look.

The resistance that depends on the reading counted the shunt’s self-heating as the only error that depends on the current; the Peltier voltage is a second, linear in the current where self-heating is quadratic, and so it is a resistance error rather than a nonlinearity. That is precisely why no amount of care with the current’s size removes it.

How the numbers were obtained

The finite differences are the closed form ∣sin⁡(πf/2)∣n/2|\sin(\pi f/2)|^n/\sqrt2, rms over the drift’s phase. The lock-in is a numerical demodulation over four whole cycles at four hundred points a cycle, the drift taken at two phases in quadrature and combined in rms, with the low-frequency slope measured between a thousandth and a hundredth of the reference frequency and required to be the scheme’s order to two per cent.

The Peltier march integrates C dΔT/dt=ΠI(t)−ΔT/RthC\,d\Delta T/dt = \Pi I(t) - \Delta T/R_{th} exactly over each step with the heat held at its mid-step value, starts at the periodic steady state so that no transient has to be discarded, and demodulates the EMF 2SΔT2S\Delta T over the last four of eight cycles; in-phase and quadrature are each required to meet the closed form to one per cent at ωτ\omega\tau = 0.1, 1, 10 and 100. The best frequency is a golden-section minimum of the total, checked against the cube-root balance to two per cent.

What the alternating current leaves out

Joule heating at the junctions. A contact resistance at each junction dissipates I2RcI^2 R_c, which warms both junctions equally. With the two junctions’ Seebeck voltages opposed round the loop, equal warming cancels; any asymmetry leaves a voltage at twice the current’s frequency, which a lock-in at the fundamental rejects but a reversal at direct current reads as a polarity-independent offset and removes. The asymmetric thermal paths the earlier essay named are a second-order version of this.

A single thermal time constant. A real terminal has several, and its locus in the plane of in-phase and quadrature is a flattened arc rather than a semicircle. The Peltier part then falls more slowly than 1/f21/f^2 above the first corner, and the best frequency moves up. Right in size, wrong in angle met a quadrature component of a resistor’s own; the inductive one here is the loop’s.

The voltmeter’s noise. A lock-in’s noise bandwidth is set by its averaging time, as a delta’s is, and the error a bigger resistor cannot help is where a measurement’s noise floor was priced against its signal. Nothing here changes it, and at a few hertz a nanovoltmeter’s flicker noise is what limits the resolution of the 0.04 ppm this figure finds possible.

The number worth carrying

A lock-in rejects a drifting EMF with an order set by its reference’s symmetry about its window — first in sine phase, second in cosine phase, which is the delta — and no frequency changes that. What a frequency changes is the Peltier EMF, which reverses with the current and reads as RP=2S2TRthR_P = 2S^2TR_{th} of resistance in every reversal scheme: 270 ppm of a milliohm for 3 µV/K junctions at 50 K/W. An alternating current at ωτ\omega\tau = 10 leaves 2.67 ppm in phase and moves the rest into quadrature, where it draws a semicircle whose diameter and top measure the junction. The loop’s inductance, read through the reference’s phase error, sets the upper end of the window: 4.4 Hz is best for a 5 s junction, 1 nH and 1 mrad.

Still open: a terminal with several time constants, the bridge’s own ratio, and a delta that reverses fast

A terminal with two thermal time constants. A junction on a thin lead attached to a massive terminal has a fast and a slow path, and its locus is two arcs. Whether the best frequency then sits between the two corners or above both, and how much of the Peltier voltage the slow path leaves at a few hertz, is what a real shunt’s construction would decide.

The ratio arm. A bridge compares the unknown with a standard carrying the same current, and both have Peltier junctions. If their junctions are alike, the in-phase parts cancel in the ratio and the frequency could be lower; whether that cancellation holds to the 0.04 ppm level as the two warm differently is a matched-pair question of the kind the trim that takes the drift with it asked of transistors.

A fast delta. A + − + delta whose readings are a few milliseconds apart is a square-wave lock-in at a hundred hertz, with second-order drift rejection and the same quadrature shift of the Peltier voltage. Whether its square edges, with their odd harmonics each pushed further into quadrature, do better or worse than a sinusoid against the Peltier voltage — and against the loop’s inductance, which the harmonics see more of — is a comparison this essay’s model makes directly.

Part 5 on Four-terminal

One argument about Four-terminal, and one of 5 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.

Design tradeoffFour-terminal sensingKelvin connectionLow-resistance measurementMeasurement conditionQuadratureSynchronous detection