Devices, and the amplitude they stop being linear at

The sensor inside its own answer

A junction driven from a current source cannot run away, because its forward voltage falls with temperature and its loop gain is therefore negative. What that costs is a thermometer that is warmer than what it is measuring by 4.26 kelvin at ten milliamperes, and — the part a calibration cannot remove — under-reports every change in ambient by 9,584 parts per million, because the sense current's own dissipation falls as the reading rises. Calibrated at 25 degrees, it is out by 583 millikelvin at 85.

Assumes: The loss that depends on what it causes · Two millivolts a kelvin, and the wrong sign · A bias point is a solution, not a choice

Two millivolts a kelvin, and the wrong sign built the number everybody knows out of two rising quantities. The thermal voltage climbs by a third of a per cent per kelvin and the saturation current climbs far faster, and the drop at a fixed current is nVₜ·ln(I/Iₛ), so the second wins and the forward voltage falls at about two millivolts per kelvin.

That is a statement about a junction at a temperature. This rung asks what happens when the junction is the thing deciding the temperature, which it always is, and which nothing in that essay allowed for.

The dissipation at a fixed sense current is I·V, and V is a function of T. So the temperature is a fixed point of the same equation the two rungs below solve for a ferrite core and for an inrush thermistor:

T = Tₐ + Rₜₕ · I · V(T).

A diode's drop from 250 to 400 K, at 1.00 mA. computed by solving, not by drawing. Thirty-one operating points, each Newton's method on the exponential at its own temperature. The drop falls at 1.828 mV/K measured against 1.830 mV/K from the closed form — falls, although the thermal voltage in the exponent rises, because the saturation current rises faster. Over the same range the slope per decade of current goes the other way, from 49.6 mV to 79.4 mV, because that one is Vₜ ln 10 and nothing else.
Fig. 1 The relation being closed, from the rung below. At a fixed current the drop falls with temperature, computed both as the slope of a solved sweep and as the closed-form derivative, and the two agree — which is what makes it safe to put inside a loop.

The sign, and what it rules out

dV/dT is negative, so dP/dT is negative at a fixed current, so the loop gain Rₜₕ·dP/dT is negative at every temperature and every current on the range that matters.

A junction driven from a current source is therefore unconditionally stable, however badly it is mounted. There is no thermal resistance that removes the root; there is no ignition temperature; the disappearing-root failure that the loss that depends on what it causes draws for a wound component has no counterpart here.

Driven from a voltage source it is the opposite, and the contrast is the whole reason the distinction is drawn. At a fixed voltage the current rises with temperature, because the saturation current is climbing exponentially and nothing is holding the current down. Then dP/dT is positive and large, the loop gain crosses one at a thermal resistance a bench supply provides without effort, and the root disappears. That is thermal runaway in a junction, it is why a bare diode across a supply fails and a diode fed from a resistor does not, and it is the same disappearing root drawn one field over.

The thermal resistance at which the operating point stops existing. computed by solving, not by drawing. One dissipation curve and four removal lines. As the thermal path gets worse the line flattens, the two crossings walk towards each other, and at 182.7 kelvin per watt they touch — the stable point at 187.9 degrees and the ignition point at 188.7, with loop gains of -1.907 and 18.419 bracketing exactly one. Above it there is no temperature at which the part can get rid of what it makes, and the answer is that no steady state exists rather than that the temperature is large. The boundary is bisected on whether a root exists, which is a question with a yes and a no in it; watching two curves approach needs a tolerance nothing justifies.
Fig. 2 What the fixed-voltage case looks like when the root goes, drawn for the magnetic version of the same equation. Two crossings walk together and merge, and above the merge there is no temperature at which the part can get rid of what it makes.

Two errors, and only one of them calibrates out

Because the loop gain is negative and small, the interesting output is not stability. It is the two errors that a small negative loop gain produces in a measurement.

The offset is the junction sitting above ambient by Rₜₕ·P. At a microamp and six hundred kelvin per watt it is nought point two nine millikelvin, which is nothing. At ten milliamperes it is four point two six kelvin, which is not. A calibration removes it: measure the diode’s voltage at a known ambient, write down the constant, subtract it forever.

The gain error does not calibrate out, and it is the finding of this rung.

Raise the ambient by a kelvin. The junction warms, its forward voltage falls, its dissipation falls with it, and it therefore rises by slightly less than a kelvin. The factor is exactly

dTⱼ/dTₐ = 1/(1 − Rₜₕ·dP/dT),

which is below one because the loop gain is negative. The instrument reads a junction and is calibrated in ambient, so it under-reports every change by that factor.

A diode thermometer measuring its own sense current, at 600 K/Wcomputed by solving, not by drawing. The same fixed point as the core and the thermistor, on a junction: the dissipation is I·V and V falls with temperature, so the loop gain is negative and the equation has one root at every current. What it costs is two errors. The junction sits above ambient by 0.29 millikelvin at a microamp and 4.26 kelvin at ten milliamperes, which a calibration removes; and a kelvin of ambient produces less than a kelvin of junction, by 1/(1 − R_th·dP/dT), which it does not. After a calibration at 25 degrees the reading at 85 is out by -583 millikelvin at ten milliamperes and -0.09 at a microamp. The coefficient itself moves too — -2.403 against -1.613 millivolts a kelvin — so a quoted tempco carries a sense current as well as a junction.100µ1m10m100m11010µ100µ1m10msense current, amperesself-heating rise, kelvinmounting600 K/Wrise at 1 µA0.29 mKrise at 10 mA4.26 Kgain error, 1 µA1.4 ppmgain error, 10 mA9584 ppmerror at 85 °C-583 mKtempco at 1 µA-2.403 mV/Ktempco at 10 mA-1.613 mV/Ksolved, then checked — a sensor inside its own answer9584 ppm of gain at 10 mA
Fig. 3 The self-heating rise against sense current, over four decades of current, with the offset and the gain error beside it. The offset runs from thousandths of a kelvin to several; the gain error runs from one and a half parts per million to nine and a half thousand.

At ten milliamperes into six hundred kelvin per watt the factor is 9,584 parts per million — just under one per cent. Calibrate the thing at twenty-five degrees and read it at eighty-five and it is out by five hundred and eighty-three millikelvin, from a device whose own law is exact and whose calibration was correct.

Why a subtraction cannot fix it

A calibration at one point removes an offset. This is a gain error, and removing a gain error needs two points — which means two known ambients, which means a second reference, which is the thing the diode was there to avoid.

Worse, the factor is a property of the mounting, not of the device. Six hundred kelvin per watt is a small-signal diode with its leads in air; fifty is the same die soldered to a plane. A calibration certificate can carry a device’s own constants and cannot carry the thermal resistance of a board somebody has not built yet.

So the practical rule falls out of the arithmetic rather than out of judgement: make the sense current small enough that Rₜₕ·I·V is below the resolution wanted, and the whole problem disappears. At a microamp the offset is a third of a millikelvin and the gain error one and a half parts per million, on the same mounting where ten milliamperes costs a per cent.

A diode thermometer measuring its own sense current, at 150 K/W. computed by solving, not by drawing. The same fixed point as the core and the thermistor, on a junction: the dissipation is I·V and V falls with temperature, so the loop gain is negative and the equation has one root at every current. What it costs is two errors. The junction sits above ambient by 0.07 millikelvin at a microamp and 1.07 kelvin at ten milliamperes, which a calibration removes; and a kelvin of ambient produces less than a kelvin of junction, by 1/(1 − R_th·dP/dT), which it does not. After a calibration at 25 degrees the reading at 85 is out by -147 millikelvin at ten milliamperes and -0.02 at a microamp. The coefficient itself moves too — -2.403 against -1.610 millivolts a kelvin — so a quoted tempco carries a sense current as well as a junction.
Fig. 4 The same sweep on a well-mounted die at a quarter of the thermal resistance. Everything scales with Rₜₕ, which is the point: the error belongs to the assembly and not to the part.

The measurement that would show it, and why nobody takes it

The gain error is invisible to every check anybody actually runs, and it is worth walking through why, because the same reasoning applies to a lot of instrumentation.

Put the diode in an oven and sweep the ambient. The voltage against ambient is a beautiful straight line — because the fixed point is very nearly linear over any range an oven covers — with a slope that is the true coefficient multiplied by the gain factor. A fit to that sweep returns one number, its residual is tiny, and the number is wrong by nine and a half thousand parts per million.

That is the same trap the constant that is a window records about a diode’s ideality factor, arriving from a completely different direction: the residual reports that the model describes the data, which it does, and says nothing about whether the coefficient the model returns is the quantity anybody wanted.

The measurement that would show it is a sweep at two sense currents. The true junction coefficient depends on current through the logarithm, in a known way; the gain factor depends on current through the dissipation, in a different known way. Two sweeps separate them, and the separation is the diagnostic — one sweep cannot, however carefully it is taken.

The 0.7 volt constant, solved over eight decades of current. The forward voltage moves 59.5 mV for every factor of ten in current, so over the range drawn here it runs from 0.298 V to 0.774 V. The three marked points are solutions for 1 V, 5 V and 12 V through a kilohm, found by Newton's method; they span 88 mV.
Fig. 5 The law both sweeps are on. A current chosen a decade apart moves the operating point along this curve, which moves the coefficient for a reason that has nothing to do with heat — and it is the independence of the two mechanisms that makes two sweeps enough to tell them apart.

The coefficient moves too, for a different reason

There is a second dependence on the sense current and it has no heat in it at all.

The drop is nVₜ·ln(I/Iₛ) and the closed-form derivative is (V − Eg/q − xₜᵢ·Vₜ)/T. Both V and the logarithm depend on the current, so dV/dT depends on the current: minus two point four zero three millivolts per kelvin at a microamp and minus one point six one three at ten milliamperes, a difference of nearly a third.

That is not self-heating. It is the same law read at two currents, and it means the celebrated “two millivolts a kelvin” is a number about a bias as well as about a junction. A thermometer calibrated at one sense current and run at another is out by the difference between two coefficients before any of the thermal argument above applies.

A diode thermometer measuring its own sense current, at 1000 K/W. computed by solving, not by drawing. The same fixed point as the core and the thermistor, on a junction: the dissipation is I·V and V falls with temperature, so the loop gain is negative and the equation has one root at every current. What it costs is two errors. The junction sits above ambient by 0.48 millikelvin at a microamp and 7.06 kelvin at ten milliamperes, which a calibration removes; and a kelvin of ambient produces less than a kelvin of junction, by 1/(1 − R_th·dP/dT), which it does not. After a calibration at 25 degrees the reading at 85 is out by -967 millikelvin at ten milliamperes and -0.15 at a microamp. The coefficient itself moves too — -2.403 against -1.615 millivolts a kelvin — so a quoted tempco carries a sense current as well as a junction.
Fig. 6 A thermal resistance of a thousand kelvin per watt. The junction self-heats by 7.06 K at ten milliamps, which is 15,896 parts per million of gain error and leaves the reading 967 millikelvin low at 85 °C. The coefficient moves too, for a different reason: the temperature coefficient of the junction is itself a function of the current, so a sensor biased harder to reduce noise reads differently as well as reading warm.

The two effects push the same way at high current — larger self-heating, smaller magnitude of coefficient — so they compound rather than cancel, and a measurement that fits a single line through a voltage-against-ambient sweep absorbs both into one apparent slope and reports it as the device’s.

What Rₜₕ actually is here, and why it is worse than it looks

Every number above is multiplied by a thermal resistance, and there is a subtlety in which one.

For the ferrite and the thermistor the relevant resistance is from the part to the ambient, and it is what the fixed point is about. For a sensor the relevant resistance is from the sensing junction to the thing being measured, which is not the same path and is often much worse.

A diode measuring the temperature of a heatsink it is bolted to has a short path to the heatsink and a long one to the air, so its self-heating mostly escapes into the thing it is measuring and the gain error is small. A diode measuring the temperature of the air has the opposite arrangement: its self-heating has nowhere to go but into the air immediately around it, which is the quantity being measured, so the sensor warms its own sample.

That second case is the one where a small dissipation is expensive, and it is the case a free-standing sensor is always in. It is also the case where the thermal resistance is least predictable, because still air is not still and a millimetre per second of draught changes it by a factor.

A diode thermometer measuring its own sense current, at 2500 K/W. computed by solving, not by drawing. The same fixed point as the core and the thermistor, on a junction: the dissipation is I·V and V falls with temperature, so the loop gain is negative and the equation has one root at every current. What it costs is two errors. The junction sits above ambient by 1.20 millikelvin at a microamp and 17.24 kelvin at ten milliamperes, which a calibration removes; and a kelvin of ambient produces less than a kelvin of junction, by 1/(1 − R_th·dP/dT), which it does not. After a calibration at 25 degrees the reading at 85 is out by -2371 millikelvin at ten milliamperes and -0.36 at a microamp. The coefficient itself moves too — -2.403 against -1.624 millivolts a kelvin — so a quoted tempco carries a sense current as well as a junction.
Fig. 7 The badly coupled end of the slider — a small part in still air, which is what a free-standing air temperature sensor is. Everything scales with the mounting, and the mounting is the part of the measurement chain that has no specification.

What this shares with the two rungs below

Three parts, three signs, one equation.

A ferrite core has a negative loop gain over a hundred and fifty kelvin and then a wall, because its flux ceiling closes and the magnetising current explodes. Its failure is a root that disappears.

An inrush thermistor has a negative loop gain everywhere and no wall, so it always settles — and the protection that is gone by the second time is about the fact that where it settles is somewhere it is no longer doing its job.

A junction at a fixed current also has a negative loop gain everywhere, and its loop gain is tiny — parts per million to parts per hundred rather than order one. It never misbehaves. What it does instead is quietly scale a measurement, which is the failure mode that survives longest, because nothing about it looks wrong.

An inrush limiter's steady state, and how little of it is still a limiter. computed by solving, not by drawing. A negative-temperature-coefficient thermistor in series with a supply, at 1 ampere of load current. The falling curve is what it dissipates at a temperature — I²R with R following the two-point β fit a catalogue prints — and the rising line is what its mounting removes. They cross once, at 83.1 degrees, and the loop gain there is -1.374: negative, so the part is stable at every current rather than below a boundary. What is left of its cold 10 ohms at that temperature is 1.937 — 19.4 per cent. The slider moves the load current, and more current leaves less resistance.
Fig. 8 The middle case for comparison: a loop gain of minus one point three seven, a part that is unconditionally stable, and an operating point at which the thing it was bought for is no longer happening. Three devices, one equation, three quite different consequences of the sign and the size of one dimensionless number.

The transistor version, which is better and for a stated reason

Nobody sensitive to any of this uses a plain diode. The standard arrangement is a transistor’s base-emitter junction run at two currents in a known ratio, and the quantity measured is the difference between the two forward voltages:

ΔV(be) = n·Vₜ·ln®,

with r the current ratio. Every device constant has left the expression. The saturation current is gone, the bandgap is gone, and what is left is a thermal voltage times the logarithm of a ratio — which is proportional to absolute temperature, with a coefficient that is a pure number.

What has not left the expression is this rung. The two currents dissipate differently, so the junction is at two temperatures during the two measurements, and the difference measured is between a junction at T₁ and a junction at T₂ rather than between two currents at one temperature. The error is Rₜₕ·(I₂ − I₁)·V, and it enters ΔV(be) directly rather than being divided by anything.

The usual defence is to keep the ratio modest and both currents small, which is the same conclusion this whole page reaches: the fix is a smaller current, not a cleverer arrangement.

Where the number belongs in practice

A silicon junction is one of the two commonest ways to put a temperature into a circuit, and the one with the fewest parts — a transistor’s base-emitter junction on the same die as everything else, run at a known current, is a thermometer that costs nothing and needs no package.

That is exactly the configuration in which the sense current is chosen for convenience rather than for this, and in which the thermal resistance from the sensing junction to the thing being sensed is a layout question nobody wrote down.

The copy, and its two errors makes the neighbouring point about a current mirror: two junctions on one die at one temperature is the assumption the whole device rests on, and the temperature is one only if neither of them is doing enough work to have its own. What matching does about temperature prices the mismatch case.

The number worth carrying

Nine thousand five hundred parts per million, which is the gain error at ten milliamperes on a badly mounted small-signal diode, and one and a half, which is the gain error at a microamp on the same part.

The ratio between them is the sense current, entering the arithmetic twice — once through the dissipation and once through the logarithm — and it is entirely under the designer’s control. That is the useful shape of the result: an error four orders of magnitude wide, decided by one number that is usually chosen for a reason having nothing to do with it.

The reason it gets chosen badly is worth stating, because it is not carelessness. A larger sense current gives a larger signal, a better signal-to-noise ratio against the amplifier reading it, and a forward voltage far enough above the leakage region that the ideality factor is well behaved — which is the argument the constant that is a window makes in detail. Every one of those pressures pushes the current up, and the one pressure pushing it down is invisible unless somebody has drawn this page.

The floor a circuit has is the shape of the trade: a quantity with an optimum in the middle rather than a monotone preference, where two mechanisms of opposite sign meet. Here the optimum exists, it is computable from the mounting and the amplifier’s own noise, and the usual practice of picking a round number and moving on lands somewhere on the curve rather than at its bottom.

An instrument inside its own measurement, in four places

A thermometer warmer than what it is measuring is one instance of a shape this collection keeps finding, and the four together are worth setting beside each other because the remedies differ.

The probe is part of the circuit is the electrical version: a reading is two solves, the circuit and the circuit-with-the-instrument, and the quantity drawn is the difference — one per cent wrong at 6.8 kHz for an ordinary probe on a two-kilohm source. The remedy is a smaller instrument, and it is available.

Two terminals measure the leads as well is the version where the instrument’s own connection is the error: a reading that is the resistance plus the wire, one per cent high at ten ohms and a hundred per cent high at a tenth. The remedy is four wires, and it is exact.

The degrees a thermocouple cannot see is the version where the instrument is in the right place and the object has more than one temperature — 2.59 kelvin between a core’s centre and its surface in still air, growing to 3.37 on a cold plate. There is no remedy; there is a decision about which temperature the specification is about.

And this one is the version with a loop in it, which is why the error is a gain rather than an offset. The sense current’s dissipation falls as the reading rises, so a calibration at one temperature cannot remove it — 583 millikelvin at 85 degrees on a part calibrated at 25 — and the only remedies available are a smaller sense current, which costs signal, or a better mounting, which is the quantity the thermometer is embedded in.

The 9 584 parts per million is the number worth carrying rather than the 4.26 kelvin, and the reason is the distinction this collection keeps returning to. An offset is removable by measurement — read the sensor at a known temperature, subtract, and it is gone. A gain error is removable only by a second calibration point, and this one is a gain error: the self-heating falls as the ambient rises, so the sensor under-reports every change rather than every reading. A single-point calibration leaves it entirely, and a two-point calibration removes it only over the interval between the two points.

That is the same structure the offset that knows the signal finds in a switched capacitor, where 5.67 mV of what a data sheet would call an offset moves by 1.86 mV across a volt of signal — a gain error of 0.186 per cent and only 3.4 µV of anything else. In both cases the quantity is named as an offset because that is what it looks like at one operating point, and in both cases the operating point is the thing it depends on. The tell is the same in both: sweep the quantity the specification says the error does not depend on, and see whether it moves.

Part 3 on thermal feedback

One argument about Thermal feedback, 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.

Fixed pointLoop gainMeasurement conditionSaturation currentStabilityTemperature coefficientThermal feedbackThermal resistanceThermal voltage