Explainer

Current shunt measurement error: why is the reading ten per cent high?

Correcting the crystal’s load capacitance would leave its startup margin unresolved. This week’s new case asks why an accurate shunt and a correctly configured amplifier still read ten per cent high.
Conceptual illustration of a current shunt bridging separate copper conductors with measurement probes.

AI-generated illustration: The Electronics Brief

Fictional case study; measurements and outcomes are illustrative.

Last week’s answer: load capacitance and startup margin

Using the simplified model, the crystal sees:

CL = (C1 × C2) / (C1 + C2) + Cs

With two 12 pF capacitors and an assumed 1 pF stray contribution, that is 6 + 1 = 7 pF. Presenting 12.5 pF under the same assumptions would require two equal capacitors of approximately 23 pF, because half of each equal capacitance contributes to the series combination.

The calculation exposes a load mismatch without establishing whether it caused the startup failures. The substitute also allowed higher ESR, while the oscillator drive configuration had stayed the same, and increasing capacitance to correct the nominal frequency condition could make startup more difficult. Before changing the capacitors, the team needed to assess compatibility with the actual oscillator, including the gain margin and drive level discussed in ST’s guide. [1]

The team checked fitted values and assembly condition, then evaluated oscillator compatibility with supplier guidance. Readiness was observed through a buffered clock output and firmware timing, avoiding an ordinary passive probe directly on the sensitive crystal nodes. Any measurement directly at a crystal node required a separately assessed loading arrangement.

The available evidence did not justify releasing the substitute for the required performance when starting from cold. The team retained the qualified configuration and tested an alternative supported by the supplier at the relevant supply and temperature conditions, including repeated starts and the specified 500 ms limit. The approval record now linked the oscillator requirements to the tests used to establish compatibility, providing a reference for subsequent substitutions.

This week’s challenge: a shunt reading ten per cent high

A controller measures a steady load current through a nominal 5 mΩ, 1% shunt on a 12 V rail. A current sense amplifier with nominal gain 20 V/V drives an ADC. Its common mode range covers the operating point, and its specified output range covers the observed voltages.

After correction for zero offset, the amplifier output is:

Independently measured load currentAmplifier output
5 A0.55 V
10 A1.10 V
20 A2.20 V

A reference current measurement has stated uncertainty of 0.2% for these conditions. A calibrated meter at the amplifier output agrees with the ADC conversion, so an ADC scaling error is not the first suspect.

The shunt, measured with four wire connections at its specified measurement points after cooling, reads approximately 5.00 mΩ. The amplifier gain is also checked independently with an appropriate differential test signal and agrees with its specification. The team has not yet made equivalent voltage measurements at the shunt and at the amplifier inputs while the load current flows.

The PCB sense connections leave the main current tracks a short distance outside the shunt pads. The current path between those pickup points and the resistor includes copper and solder connections.

The amplifier measures everything between its pickups
Original diagram: The Electronics Brief. Illustrative case values.

Which voltage is the amplifier actually amplifying?

What output would the nominal circuit produce at 20 A, and what apparent sensed resistance corresponds to the measured 2.20 V? A comparison of voltage measurements at different points could distinguish shunt error, temperature effects and additional series resistance inside the sense boundary.

TI’s guidance on current sensing explains why parasitic PCB resistance matters when the intended shunt value is only a few milliohms. The component can meet its tolerance while the measurement includes something else. [2]

Which measurements would support a layout change, and how far could a calibration at room temperature compensate for a contribution from copper resistance as operating temperature changes?

The answer follows in the next edition, proposed for 3 December. Send your measurements or reasoning through the Troubleshooter page.

Sources and technical background

  1. STMicroelectronics: crystal loading, startup margin and measurement, AN2867
  2. TI: shunt resistance, Kelvin connections and measurement errors, SBOA170

Continue reading