Current Measurement: Shunts, Hall Sensors, Current Transformers and Clamps
Measuring a voltage means touching two nodes; measuring a current means breaking the circuit or sensing the field around a conductor. Each approach costs something: a series shunt adds a voltage drop and heat, a magnetic sensor adds offset and drift, a current transformer works only for AC. Choosing between them is one of the most common decisions in measurement design, from a battery monitor on a microcontroller board to a power analyser. This lesson compares the four main methods and works through a shunt design.
Safety for this lesson. Bench work is on circuits at DC from a current-limited supply. Current transformers and clamp meters on mains conductors are described here as professional measurements, made by trained people with CAT-rated equipment; in this course they appear only as calculations.
The shunt: Ohm's law with care
A shunt resistor in the current path gives . The design trades signal against loss:
A bigger shunt gives a larger signal (better against amplifier offset and noise) but more dissipation, more self-heating and a larger burden voltage for the circuit. Industrial shunts are rated , , or at full current.
- Four-terminal (Kelvin) shunts have separate current and sense terminals, so the solder joints and leads that carry the current are outside the measured voltage (Four-Wire Resistance).
- Material: manganin and similar alloys have tempcos of a few to tens of ppm/K; a copper PCB trace "shunt" has and is only an indicator.
- Low-side shunts (between load and ground) keep the sense voltage near ground but lift the load's ground; high-side shunts keep the load grounded but put the small sense voltage on top of a large common-mode voltage, which a current-sense amplifier or a differential/isolated input must reject.
Magnetic sensing
Hall-effect sensors place a Hall element in the gap of a magnetic core around the conductor. The output is proportional to the field, so they measure DC and AC with galvanic isolation and almost no burden. Open-loop sensors amplify the Hall voltage directly: simple, but with offset, gain drift and core hysteresis of the order of a percent. Closed-loop (compensated, "zero-flux") sensors drive a secondary winding to null the field; the secondary current is then an accurate replica of the primary divided by the turns ratio, with errors of to and bandwidths of or more. Fluxgate sensors push the same principle to ppm-level accuracy in power analysers and calibration systems.
Current transformers (CTs) are transformers with the conductor as a one-turn primary and secondary turns. The secondary current flows through a low burden resistor. They are passive, isolated and accurate (measuring classes 0.1, 0.2, 0.5 and 1 for precise work, 3 and 5 for indication, and the extended-range 0.2S and 0.5S for revenue metering, under IEC 61869-2:2012; protection CTs have their own P classes), but AC only, with a lower frequency limit set by the magnetising inductance. Never leave a CT's secondary open while primary current flows: the core is driven into saturation and the secondary can develop dangerous high voltages; CTs are installed with shorting links. Rogowski coils are air-cored, flexible and never saturate; they output , which an integrator turns into current.
Clamp meters put a split core (CT for AC-only clamps, Hall element for AC/DC clamps) in a jaw so the conductor need not be broken. They are the standard tool for electricians on installations, used with CAT III or CAT IV ratings; their accuracy is typically to , and position of the conductor in the jaw matters.
| Method | DC | Isolation | Burden | Typical accuracy | Watch out for |
|---|---|---|---|---|---|
| shunt + amplifier | yes | no (unless isolated amp) | , heat | to | self-heating, common mode, thermal EMF |
| open-loop Hall | yes | yes | ~0 | to | offset, drift, hysteresis |
| closed-loop Hall / fluxgate | yes | yes | ~0 | to | supply current, bandwidth |
| current transformer | no | yes | burden VA | to | open secondary, saturation, low-frequency limit |
| Rogowski coil | no | yes | ~0 | to | integrator drift, position |
Worked example: a 10 A shunt for a battery monitor
Given: currents up to DC; a shunt on a PCB with thermal resistance and tempco ; a current-sense amplifier with gain and offset within , feeding a , 12-bit ADC.
Find: the dissipation and self-heating error of and shunts, and the resolution and offset error with a shunt.
Solve:
Check: the shunt is the better compromise: half the heat, half the self-heating error, and an amplifier offset () that is of full scale; at it is still of the reading, so a battery monitor that must see small standby currents needs an offset calibration (measure with zero current and subtract) or a second, larger shunt. Units check: .
import numpy as np
I_max = 10.0 # A, full scale
for V_fs in (0.050, 0.100): # shunt voltage at full scale
R = V_fs / I_max
P = I_max**2 * R
# self-heating: thermal resistance 20 K/W to the board, tempco 50 ppm/K
dT = 20 * P
err_ppm = 50 * dT
print(f"{1000 * V_fs:3.0f} mV shunt: R = {1000 * R:4.1f} mohm, P = {P:4.2f} W, "
f"self-heating {dT:4.0f} K -> {err_ppm:4.0f} ppm")
# Current-sense amplifier to a 3.3 V ADC, 12 bits
R, gain = 0.005, 50 # 5 mohm shunt, gain 50 V/V
V_adc_fs = 3.3
I_fs = V_adc_fs / (R * gain)
lsb = I_fs / 4096
offset_uV = 100e-6 # amplifier input offset limit
print(f"shunt 5 mohm x 50: full scale {I_fs:.1f} A, 1 LSB = {1000 * lsb:.2f} mA, "
f"100 uV offset = {offset_uV / R * 1000:.0f} mA")
# Open-loop Hall sensor (illustrative): 40 mV/A, zero-current offset limit +/- 8 mV
for I in (1.0, 10.0):
e_off = 8e-3 / 40e-3
print(f"Hall, {I:4.1f} A: offset alone is {e_off:.3f} A = {100 * e_off / I:4.1f} % of reading")
# Current transformer (calculation only): 1:2000 turns, 100 A primary, 10 ohm burden
N2, I1, Rb = 2000, 100.0, 10.0
I2 = I1 / N2
print(f"CT 1:{N2}: I2 = {1000 * I2:.1f} mA, burden voltage {I2 * Rb:.2f} V, VA burden {I2**2 * Rb:.3f} VA") 50 mV shunt: R = 5.0 mohm, P = 0.50 W, self-heating 10 K -> 500 ppm
100 mV shunt: R = 10.0 mohm, P = 1.00 W, self-heating 20 K -> 1000 ppm
shunt 5 mohm x 50: full scale 13.2 A, 1 LSB = 3.22 mA, 100 uV offset = 20 mA
Hall, 1.0 A: offset alone is 0.200 A = 20.0 % of reading
Hall, 10.0 A: offset alone is 0.200 A = 2.0 % of reading
CT 1:2000: I2 = 50.0 mA, burden voltage 0.50 V, VA burden 0.025 VA
The Hall sensor's offset makes it useless at without a zero calibration, while the CT line shows why CTs are specified in VA: the burden must stay within the rated VA, or the ratio error grows.
Guided lab: high-side and low-side shunts
Hand calculation. A supply drives a load through a high-side shunt: , the shunt drops , and both of its terminals sit near ( and ). A ground-referenced meter or ADC cannot read on top of accurately; a differential input with good common-mode rejection can.
Simulation. Rsh is the high-side shunt between vs and load. Read the two node voltages and I(Rsh); slide the load to (, drop ) and to ().
What you would measure. Build it with a supply, a , load (or a -rated power resistor), and a , shunt. A DMM across the shunt reads about (with the shunt's tolerance, ); the same current on the DMM's range reads but adds its own burden (tens of millivolts). If you have a Hall current sensor module, read it at and : expect a zero offset of some tens of milliamperes until you subtract it.
Hazards and safe setup. in the load gets hot: use a power resistor on a heatsink or in free air, away from plastics, and set the supply's current limit to . No mains: CT and clamp measurements on installations are left to qualified electricians.
Pitfalls
- Measuring a high-side shunt with a ground-referenced input (a scope's grounded probe will short the shunt's low terminal to ground through the earth).
- Sizing a shunt for signal and forgetting the watts and the self-heating error.
- Trusting a Hall sensor at small currents without a zero calibration.
- Opening a CT secondary under load (never), or using an AC-only clamp on DC.
Practice
- A , shunt: what is its resistance and dissipation at full current?
- A CT of ratio feeds a burden. At primary, what is the burden voltage?
Answer
- , .
- , (calculation only).
Test yourself
Which sensor measures DC current with galvanic isolation?
- a current transformer
- a Rogowski coil
- a Hall-effect sensor
- an AC clamp
Doubling the shunt resistance for the same current
- halves the dissipation
- doubles the signal and the dissipation
- removes self-heating
- halves the burden voltage
Why must a current transformer's secondary never be opened under load?
- it loses calibration
- the core saturates and the secondary can develop dangerous voltages
- the primary current stops
- it becomes a Hall sensor
A high-side current-sense amplifier must have good
- slew rate
- common-mode rejection
- input bias current only
- output current