Frequency, which is the same solve

The angle a current warms

A 1 mΩ shunt with 0.5 nH in series is a time constant of 500 ns, and its angle at 50 kHz is 8.93° — a property of the part, until the part carries current. Its inductance does not warm and its resistance does, so at 40 A on 50 K/W, 80 K above ambient, a thick-film shunt's angle is 8.86° and a copper trace's 6.17°. The loss is largest at the shunt's own corner, 0.23° and 10.7°, because warming slides the whole arctangent sideways. A power reading calibrated cold reads a thick-film shunt's resistance 0.81% high and its angle 0.070° low, and the two errors meet a load's power factor through its tangent: they cancel at 0.152 lagging and add on every leading load, 1.02% at 0.5. A hundredth of a degree is lost at 15.1 A on thick film and 2.42 A on copper, and the material and the mounting enter only as their product. An alternating current heats the part at twice its frequency, and below the thermal corner its resistance follows, giving the reading a third harmonic of −59 dB at 30 A.

Assumes: The resistor that is only a resistor · The ammeter that is a resistor

The resistor turned round found that a resistor’s stray capacitance is weighted by where along the part it sits, so that a part read from one end is a different part from the same part read from the other. Every resistor in that essay and the three before it was a fixed object with fixed elements, and the question in each was how those elements combine into an impedance. It closed on a resistor that is not fixed: a shunt carrying a large current warms, and its resistance follows, so its phase error becomes a function of the very current it is measuring.

The magnitude half of that has been measured already. The resistance that depends on the reading solved a shunt’s self-heating as a fixed point and found the reading high by R0/(1−αθI2R0)R_0/(1 - \alpha\theta I^2 R_0), a divisor that depends on what it divides. The angle half is a different quantity with a different shape, and it is the one an alternating measurement — a power analyser, a current probe, a motor drive’s phase-current sensor — actually depends on. The reason it differs is that only one of the shunt’s two elements is a function of temperature.

A 1 mΩ, 0.5 nH shunt's angle at 50 kHz is 8.93° cold, and its own heat takes it to 8.86° at 40 A on thick film and 6.17° on copper — which runs away at 71.6 A. computed by solving, not by drawing: the angle of a 1 mΩ shunt with 0.5 nH in series, at 50 kHz, from its netlist, with its resistance at the thermal fixed point R₀(1 + αΔT), ΔT = θI²R₀/(1 − αθI²R₀), θ = 50 K/W, iterated and held to the closed form. Cold the angle is 8.927°. At 40 A the part dissipates about 1.6 W and warms by 80.1 K: the foil alloy's angle is 8.913°, the thick film's 8.857°, the copper trace's 6.168°, warmer at 116 K. The inductance does not warm, so the angle falls as the resistance rises. Copper has no fixed point above 71.6 A; the others' runaway currents, 1000 A and 447 A, are far beyond any rating.
Fig. 1 The angle at 50 kHz of a 1 mΩ shunt with 0.5 nH in series, solved at its own thermal fixed point on 50 K/W, against the current through it, for a foil alloy, a thick film and a copper trace. Cold, every material reads 8.93°. At 40 A the part is 80 K above ambient and the angles are 8.91°, 8.86° and 6.17°. The copper trace has no fixed point at all above 71.6 A.

A time constant that warms

A low-value shunt is, to a good approximation over the band where it is used, a resistance in series with an inductance: the inductance of the current’s path through the part and its terminations. For a 1 mΩ part in a 2512 package half a nanohenry is typical, and that makes the shunt a time constant of τ=L/R=500\tau = L/R = 500 ns. Its voltage leads its current by arctan⁡(ωτ)\arctan(\omega\tau), which at 50 kHz is 8.93°. Right in size, wrong in angle found that a resistor’s angle leaves its ideal long before its magnitude does, and for a milliohm part this is that result in its starkest form: nine degrees of phase at a frequency where the magnitude is within 1.2 per cent.

Now give the part a current. It dissipates I2RI^2R and warms by θ times that, through a thermal resistance θ to its surroundings — 50 K/W here, a reasonable figure for a 2512 on modest copper. Its resistance follows, R=R0(1+αΔT)R = R_0(1 + \alpha\Delta T), and because the current is held by whatever the shunt is in series with, the heat it makes rises with the heat it already has. The fixed point is ΔT=θI2R0/(1−αθI2R0)\Delta T = \theta I^2 R_0/(1 - \alpha\theta I^2 R_0), which the figures iterate and hold to the closed form.

The inductance does not follow. It is a property of the current path’s geometry, and the geometry barely moves; copper’s expansion changes a nanohenry by parts per million per kelvin, against a resistance that changes by parts per thousand. So warming divides the time constant by 1+αΔT1 + \alpha\Delta T, and the angle falls with it.

Three materials, one cold angle

The three materials of the hero figure span the range a designer meets. A foil or manganin-type alloy is made for its low temperature coefficient, about 20 ppm/K. A thick-film chip resistor is around 100. A copper trace used as a shunt — common in power stages, where a length of board copper costs nothing — is 3900. All three can be built to the same 1 mΩ and 0.5 nH, so cold they are the same part with the same 8.93°.

At 40 A each dissipates about 1.6 W and sits 80 K above ambient. The foil alloy’s resistance has risen by 0.16 per cent and its angle has fallen to 8.913°, a loss of 0.014°. The thick film’s has risen 0.81 per cent and its angle is 8.857°, 0.070° down. The copper trace is a different case: its rising resistance has made it hotter still, 116 K, its resistance is 45 per cent up, and its angle is 6.17°. And above 71.6 A, where αθI2R0\alpha\theta I^2 R_0 reaches one, it has no fixed point at all — the heat it makes outruns the heat the board removes at every temperature, and it warms until something in the model stops being true. The alloy’s and the film’s runaway currents, 1000 A and 447 A, are far beyond anything either would be rated for.

The angle the heat takes, across the band

The fraction by which the time constant shrinks is the same at every frequency, but the angle it moves is not, because an arctangent is not a straight line.

The angle the heat takes at 40 A, across the band: largest at the shunt's own corner near 318 kHz, 0.230° on thick film and 10.7° on copper, and small at both ends. computed by solving, not by drawing: the cold angle of a 1 mΩ, 0.5 nH shunt less its angle at 40 A, at its thermal fixed point on 50 K/W, from the netlist at each frequency. The shunt is a time constant, τ = L/R, 500 ns cold, and its angle is atan(ωτ); warming divides τ by 1 + αΔT, which moves the whole arctangent sideways. Well below the corner the shift is the angle times αΔT/(1 + αΔT), growing with frequency; well above it the angle is near 90° and the shift falls away. It peaks at the geometric mean of the cold and warm corners: 0.2301° at 316 kHz for the thick film, 10.6514° at 383 kHz for the copper trace.
Fig. 2 The cold angle less the angle at 40 A, for the thick film and the copper trace, against frequency. Below the shunt’s corner the loss grows with frequency; above it the angle approaches 90° and the loss fades. It peaks at the geometric mean of the cold and warm corners: 0.230° at 316 kHz for the thick film and 10.7° at 383 kHz for copper.

Well below the corner the angle is nearly ωτ\omega\tau, a straight line, and dividing τ by 1+αΔT1 + \alpha\Delta T removes the same fraction of it at every frequency — so the angle lost, in degrees, grows in proportion to frequency, from a thousandth of a degree at 1 kHz towards the corner. Well above the corner the angle is nearly 90° whatever τ is, and the loss falls away again. In between, on a logarithmic frequency axis, the arctangent is an S-shaped step, and warming slides the step sideways without changing its shape. The largest difference between two copies of a step slid apart is at the midpoint between them, which is the geometric mean of the cold corner and the warm one, and there it is arctan⁡τ0/τ1−arctan⁡τ1/τ0\arctan\sqrt{\tau_0/\tau_1} - \arctan\sqrt{\tau_1/\tau_0}.

For the thick film at 40 A that is 0.230° at 316 kHz, three times what the 50 kHz reading loses. For copper it is 10.7° at 383 kHz. The practical reading is that the frequencies at which a shunt’s angle matters most — where it is large enough to need correcting — are also the frequencies at which its heat moves the angle most. A shunt calibrated at a few hundred kilohertz, near its own corner, is calibrated exactly where its self-heating is worst.

What a cold calibration leaves in a power reading

The angle matters because it is corrected. A power analyser or a metering front end that reads current through a shunt measures the shunt’s angle once, cold, and removes it from every reading thereafter, along with the shunt’s cold resistance. At 40 A the thick-film shunt it calibrated is no longer that shunt.

A cold-calibrated power reading through a thick-film shunt at 40 A and 50 kHz: 0.81% high from the resistance, plus the angle's −0.070° — which cancels it at a power factor of 0.152 lagging and adds to it on every leading load. computed by solving, not by drawing: a power reading at 50 kHz that divides the shunt's voltage by its cold resistance and removes its cold angle, 8.927°, with the shunt at its fixed point for 40 A — 80.6 K warmer, 0.806% higher in resistance and 0.0703° lower in angle. The resistance alone reads every load 0.81% high (dashed). The angle's residue moves a reading by its tangent times the load's: on a lagging load it lowers it and the two cancel at a power factor of 0.1516, where the load's tangent is one over the shunt's angle; on a leading load it raises it — 1.02% at 0.5 and 1.41% at 0.2, against 0.59% and 0.20% lagging.
Fig. 3 A power reading at 50 kHz through a thick-film shunt at 40 A, divided by its cold resistance and corrected by its cold angle, against the load’s power factor. The resistance alone reads every load 0.81% high (dashed). The angle’s residue, −0.070°, lowers a lagging load’s reading and raises a leading one’s: the two cancel at a power factor of 0.152 lagging, and on a leading load at 0.5 the reading is 1.02% high.

The two residues behave differently. The resistance residue is a scale factor, 0.81 per cent at 40 A, the same on every load. The angle residue is an error in the phase between the measured voltage and current, and a phase error moves a power reading by the tangent of the load’s angle times the error: nothing on a resistive load, and more and more as the power factor falls. Its sign depends on which way the load’s current sits. The warm shunt’s voltage leads its current by less than the calibration assumes, so the corrected current appears to lag by an extra 0.070°, which lowers the reading of a lagging load and raises that of a leading one.

So on lagging loads the two residues oppose each other, and they cancel where the load’s tangent is the reciprocal of the shunt’s cold angle — tan⁡φL=1/φ0\tan\varphi_L = 1/\varphi_0 — which at 50 kHz is a power factor of 0.152. On leading loads they add: 1.02 per cent at a power factor of 0.5, 1.41 at 0.2, against 0.59 and 0.20 on the same loads lagging. The magnitude essay’s answer is therefore the right one only at unity power factor. Away from it, the error a shunt’s heat writes into a power reading depends on the load as well as on the current, and on a capacitive load it is larger than the magnitude alone says.

The current a hundredth of a degree allows

Precision power analysers quote phase accuracies of a few thousandths to a hundredth of a degree at tens of kilohertz, which gives a natural question: how much current can a shunt carry before its own heat uses up that budget?

The current at which a shunt's angle at 50 kHz is out by a hundredth of a degree: 33.7 A, 15.1 A, 2.42 A at 50 K/W — material and mounting enter only as their product. computed by solving, not by drawing, at the fixed point on the netlist: the current at which a 1 mΩ, 0.5 nH shunt, calibrated cold at 50 kHz, has lost 0.01° of its 8.927° angle to its own heat, against the thermal resistance to ambient, for three materials. At 50 K/W: 33.7 A for the foil alloy, 15.1 A for the thick film, 2.42 A for the copper trace; at 10 K/W, a shunt on a large copper pour, 75.4 A, 33.7 A, 5.4 A. It is close to √(δ/(φ₀αθR₀)), so the temperature coefficient and the thermal resistance trade one for one: a tenfold better alloy is worth a tenfold better heatsink, and either raises the current by √10. A higher measuring frequency, with a larger cold angle, lowers it as the square root of that angle.
Fig. 4 The current at which a 1 mΩ, 0.5 nH shunt calibrated cold at 50 kHz has lost 0.01° of its angle to its own heat, against its thermal resistance to ambient. At 50 K/W: 33.7 A for the foil alloy, 15.1 A for the thick film, 2.42 A for the copper trace; at 10 K/W, 75.4, 33.7 and 5.4 A.

The answer is close to δ/(φ0αθR0)\sqrt{\delta/(\varphi_0\alpha\theta R_0)}, with δ the allowed angle and φ0\varphi_0 the cold one, and two things follow from its shape. The first is that the temperature coefficient and the thermal resistance enter only as their product. A foil alloy five times better than thick film is worth exactly as much as mounting the thick film on five times better copper: on 10 K/W the film carries 33.7 A, the same current the alloy carries on 50. The second is that the current falls as the square root of the cold angle. At 5 kHz, where the cold angle is ten times smaller, the same hundredth of a degree allows a current 10\sqrt{10} times larger.

For the copper trace the conclusion is stark. A trace shunt on ordinary board loses a hundredth of a degree at 2.4 A, and a tenth of a degree — the scale of the angle itself at a few kilohertz — at under 8 A. As a phase reference it is a part whose angle is a property of its current from a few amperes up, and a power stage that senses current through copper and corrects for its inductance is correcting a moving target.

The heat that follows the waveform

Everything so far treats the current as steady, or as alternating so fast that the part’s temperature sees only its mean. That is true of a 50 kHz current through a part whose thermal time constant is seconds. It is not true at low frequency.

A 30 A sine through a thick-film shunt heats it at twice its frequency: below 0.040 Hz the resistance follows and the reading carries a third harmonic of −59 dB, falling 20 dB a decade abovecomputed by solving, not by drawing, and marched at 0.01, 0.1 and 1 Hz (dots): a 1 mΩ, 100 ppm/K shunt on 50 K/W with a thermal time constant of 2 s, carrying 30 A peak. The dissipation has a part at twice the frequency, of I²R₀/2, which the thermal low-pass turns into a temperature swing of θ(I²R₀/2)/|1 + j2ωτ|; the resistance swings with it, and the voltage, the current times that resistance, picks up a third harmonic of α times half the swing. At low frequency it is 1116.2 ppm of the fundamental, −59.0 dB; above the corner at 1/(4πτ) = 0.0398 Hz it falls 20 dB a decade, to 0.90 ppm at 50 Hz. Marched: 1093.185 ppm at 0.01 Hz, 415.956 ppm at 0.1 Hz, 44.723 ppm at 1 Hz.frequency of the current (Hz)third harmonic over the fundamental−120 dB−100 dB−80 dB−60 dB0.010.1110closed form−59.0 dB at low frequencythermal corner0.0398 Hzat 50 Hz−121.0 dBsolved, then checked — and marched at three frequenciesthe heat follows the current, then cannot
Fig. 5 A 30 A peak sine through a 1 mΩ, 100 ppm/K shunt with a 2 s thermal time constant on 50 K/W: the third harmonic of the voltage over its fundamental, against frequency, in closed form and marched at three frequencies. Below the thermal corner at 0.040 Hz the resistance follows the heating and the harmonic is −59 dB; above it the harmonic falls 20 dB a decade, to −121 dB at 50 Hz. The slider sets the peak current.

A sine current Isin⁡ωtI\sin\omega t dissipates I2R0sin⁡2ωtI^2R_0\sin^2\omega t, which is a mean of I2R0/2I^2R_0/2 and a part of the same size at twice the frequency. The part’s thermal mass filters that second part: it is a low-pass of time constant τth\tau_{th}, so the temperature swings at 2ω2\omega by θ(I2R0/2)/∣1+j2ωτth∣\theta(I^2R_0/2)/|1 + j2\omega\tau_{th}|. The resistance swings with it, and the voltage — the current times a resistance swinging at twice the current’s frequency — acquires a component at three times the frequency, of α times half the swing.

At 30 A peak through the thick-film shunt that is 1,116 parts per million of the fundamental below the thermal corner, −59 dB: more distortion than many of the amplifiers whose power the shunt is measuring. The corner is at 1/(4πτth)1/(4\pi\tau_{th}), 0.040 Hz for a 2 s part, and above it the swing averages out at 20 dB a decade. At 50 Hz the harmonic is under a part per million, −121 dB, and at 50 kHz it is gone. So the shunt’s own distortion is a low-frequency effect, and the place it appears is a slow waveform: a battery tester cycling over seconds, a motor drive at a few hertz, a power supply’s load test at a tenth of a hertz. The march at 0.01, 0.1 and 1 Hz agrees with the closed form within its resolution, and doubling the current quadruples the harmonic, since the swing goes as the square of the current.

Why the angle and not the magnitude

The magnitude essay’s error and this one’s are made of the same αΔT, and it is fair to ask why the angle deserves treatment of its own. The answer is in what each error is relative to. A magnitude error of αΔT is relative to the reading, and on a shunt it is usually smaller than the part’s tolerance and drift together. An angle error of φ0αΔT\varphi_0\alpha\Delta T is relative to a phase that has been carefully subtracted, and the quantity it corrupts — the power factor of the load, or the real part of a complex impedance being measured — is often a small difference of large numbers. The tangent in the power reading is the amplifier: at a power factor of 0.1 a residue of a hundredth of a degree is 0.17 per cent of the power.

This is the same structure the ammeter that is a resistor found in the trade between a shunt’s burden and its resolution, seen from the phase side: every error of a current measurement is a property of the voltage-sensing element as well as of the current, and the voltage-sensing element is a resistor that warms.

Where else a loss that feeds on itself has been met

The fixed point this essay leans on is not peculiar to resistors. The loss that depends on what it causes closed the same kind of loop on a ferrite core, whose saturation flux falls and whose permeability rises as it warms, so that its loss moves with the temperature its loss produces; the core has a fixed point, a runaway and a margin to it, exactly as the copper trace does here. The two differ in one way that matters for a measurement. A core’s loss is the thing being measured badly; a shunt’s heat corrupts the instrument, so its error lands on every quantity read through it, including ones — a load’s power factor, a winding’s loss — that have nothing to do with the shunt.

It also differs from the lead resistance that two terminals measure the leads as well removed with a second pair of wires. Four-terminal sensing takes the leads out of the magnitude and leaves the element’s own temperature coefficient in it; the inductance it leaves is the element’s too, and so is the angle. No wiring arrangement removes an error that lives in the element’s own resistance, which is why the only remedies are the two the corner figure trades: a better alloy, or a cooler part.

What the single time constant leaves out

The thermal model here is one time constant from the element to ambient. A real shunt has at least two: the resistive element itself, which heats in milliseconds, and the board, which heats in seconds. The pulse that ends before the heat measured exactly that thermal network and found the element’s own heat capacity deciding a short pulse’s error. For the harmonic it means a second, higher corner: above the board’s corner the element still follows the current at its own, smaller θ, until its millisecond corner too is passed, so the harmonic falls in two steps rather than one, and the −121 dB at 50 Hz is an underestimate by the ratio of the element’s own thermal resistance to the whole.

The electrical model is a resistance and an inductance. A shunt with a sense loop picks up a mutual inductance as well, and whether that mutual warms is a question about the loop’s geometry. And the angle lost to heat at the corner assumes the corner itself is in the band; for a shunt used only well below it the low-frequency proportionality is the whole story.

The arithmetic, collected

A 1 mΩ, 0.5 nH shunt is a 500 ns time constant and reads 8.93° at 50 kHz cold. At 40 A on 50 K/W it is 80 K above ambient, and its angle is 8.913° on foil, 8.857° on thick film and 6.17° on copper, which runs away above 71.6 A. The angle lost peaks at the geometric mean of the cold and warm corners, 0.230° at 316 kHz on thick film. A cold calibration leaves a thick-film power reading 0.81% high from the resistance and 0.070° low in angle: they cancel at a power factor of 0.152 lagging and add on leading loads, 1.02% at 0.5. A hundredth of a degree is lost at 33.7, 15.1 and 2.42 A, near δ/(φ0αθR0)\sqrt{\delta/(\varphi_0\alpha\theta R_0)}, so the alloy and the heatsink trade one for one. A 30 A sine at low frequency gives a third harmonic of −59 dB, falling 20 dB a decade above 0.040 Hz. The resistor that is only a resistor began with a part whose elements were fixed; this one’s elements are fixed only until it is used.

Still open: the two-step harmonic, a sense loop that shares the current path, and turns that couple

The two-step harmonic. With the element’s own millisecond time constant beside the board’s seconds, the third harmonic falls in two steps and the plateau between them is set by the element’s share of the thermal resistance. Marching the two-section thermal network at the frequencies of a motor drive would put a number on a shunt’s own distortion at 10 to 100 Hz, which the single time constant puts too low.

A sense loop that shares its current path. A four-terminal shunt’s phase error is set by the mutual inductance between its current path and its sense loop. A sense connection partway along the element should weigh that inductance by where it is attached, as the stray essays weighed capacitance by position, and the formula would put a phase error directly on the placement of two sense vias — and on whether that error warms.

Turns that couple. A wire-wound shunt is a helix, and its inductance is distributed with mutual coupling between adjacent turns rather than as a series of independent pieces. Whether the coupled helix still reduces to a resistance and an inductance at any frequency the part is used, and whether the coupling changes as the turns expand, is the question the resistor that is a helix left open, asked now of a part that carries current.

Part 5 on real resistor

One argument about Real resistor, 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.

Current shuntFixed pointLead inductancePower factorSelf-heatingTemperature coefficientThermal resistance