Apply Ohm’s law to a shunt voltage that the driver has already converted to engineering units. Use a known 0.1 Ω shunt for the arithmetic, convert millivolts to volts and divide by resistance. This is an example resistance, not an assumption about every module. In the worked example, Shunt drop of 5 mV gives current with a 0.1 ω shunt of 0.05 A.

The recorded quantity and the calculated result

Keep three columns in a commissioning export: the original shunt drop (mv), the configuration used in the conversion and the resulting current with a 0.1 ω shunt (a). Recompute the result for the lower, middle and upper worked points before interpreting a field difference. A change in range, units or representation can otherwise be mistaken for a change in the process.

Two points to check independently

At 2.5 mV the calculated current with a 0.1 ω shunt is 0.025 A. At 5 mV it is 0.05 A. Subtracting the first output from the second gives 0.025 A. These values give two independent checkpoints for a spreadsheet or a logger conversion.

INA219 shunt voltage and current. Shunt drop (mV) changes from 0 to 40 and the calculated Current with a 0.1 Ω shunt (A) changes from 0 to 0.4.
INA219 shunt voltage and current. Shunt drop (mV) changes from 0 to 40 and the calculated Current with a 0.1 Ω shunt (A) changes from 0 to 0.4. Figure by Industry Applied.

Worked data

Shunt drop (mV)

Current with a 0.1 Ω shunt (A)

0

0

1

0.01

2.5

0.025

5

0.05

10

0.1

20

0.2

40

0.4

Checking the ends of the working range

The interval from the middle to the upper test point runs from 5 to 40 on the shunt drop (mv) axis. Its average change in current with a 0.1 ω shunt (a) per input unit is 0.01. This is a two-point slope for that interval. To check a spreadsheet or a gateway calculation, enter 40 in a separate test row and compare its result against 0.4 at the displayed precision.

Installation and interpretation

Record the actual shunt value and its tolerance. Kelvin connection, resistance drift and amplifier offset can affect a small reading. Distinguish current derived from the measured shunt voltage from the device’s separately calibrated current register.

For a repeatable verification, capture a small known case and a second case well away from it. Check whether the difference follows the response in the table, then restore the working configuration and repeat one reading. Store a separate status field for missing or invalid input. Substituting zero would make a dropped observation indistinguishable from a legitimate numerical zero.

Implementation and worked data

The source implementation is maintained in the .NET IoT device project. The component notes and manufacturer references document the supported device and its interfaces. Download the worked numerical example.