Tool
A current-sense resistor from both ends: from the current and the voltage you want to the resistance, or from the resistor to what it can take. With typical power ratings per package, derating and self-heating, and what the circuit reading it makes of the signal, whether that is an analog stage, a comparator or an ADC: offset, noise, resolution and accuracy over the whole current range.
Hover over anything for an explanation. Your settings are saved in this browser.
What the resistor can take, how warm it gets and how much it drifts.
A shunt is a small resistor in the path of a current. The current makes a voltage across it, V = I · R. An amplifier, a comparator or an ADC then turns that voltage into a measurement, an overcurrent trip or the feedback of a control loop. Choosing the resistance is a trade-off. A larger resistance gives a larger signal, so the offset and noise of whatever reads it (and the ADC’s steps, if there is one) matter less. But it also wastes more power, gets hotter and takes more voltage away from the circuit. This tool shows both sides at once.
Two of these four values fix the other two:
V = I · R P = I² · R = V · I R = V / I I = √(P / R)The two values you typed last are held, and the other two are calculated (pink, in a dashed box). Typing a third value releases the older of the two. Largest current for this resistor holds the resistance and the power at the share of the rating you allow. Fit the ADC range (with an ADC) holds the current and a voltage of ADC range / gain, so the amplifier output just reaches the ADC’s full scale at the maximum current.
With N equal resistors in parallel, the values in the Shunt card are for the whole shunt. Each resistor is N times the resistance and takes 1/N of the power.
The rating a resistor can take depends on its size, its construction and how well the board takes the heat away. Current-sense resistors (metal strip, metal foil, or thick film with wide terminals) are usually rated higher than standard resistors of the same size. These are typical values, at an ambient temperature up to 70 °C, with good copper:
Choosing a package fills in the typical value. Within one package size, a high-power series can be rated two to four times higher than a standard one, so always use the datasheet value of your part.
Most resistors can take their full rating up to 70 °C ambient. Above that, the allowed power falls in a straight line, to zero at 155 °C. That curve says something useful: at its full rating the resistor runs at about 155 °C, 85 °C above a 70 °C ambient. So a resistor at a fraction p of its rating runs roughly p · 85 °C above the board around it. The tool uses that to estimate the self-heating, and multiplies it by the TCR to get the drift. It is an estimate: copper area, airflow and nearby parts change it, and some metal-strip parts are specified up to 170 °C.
A reading is off for two kinds of reasons. Some errors are a percentage of the reading: the shunt’s tolerance, its drift with temperature and the amplifier’s gain error. They are the same at every current. Others are a fixed voltage, and so a fixed current: the offset of the amplifier or comparator, and half a step of the ADC when there is one. For a comparator that trips on overcurrent, the offset is how far the trip point can move. As a percentage, they grow as the current gets smaller. The worst-case total is the sum of all of them:
error(I) = tol + TCR · (|Ta − 25 °C| + ΔT(I)) + gain error + (Vos + ½ LSB / G) / (I · R)The chart under Reading the signal shows each part and the total, and the results show from which current the total is within your accuracy goal. To measure small currents well, use a larger resistance, an amplifier with a lower offset (zero-drift types reach about 10 µV), or calibrate the offset away by measuring at zero current.
Noise is shown separately and is not in the worst-case total, because averaging readings reduces it while the other errors stay. The amplifier’s input noise and the shunt’s own thermal noise add as a root-sum-square, over the noise bandwidth of the measurement. For a simple first-order bandwidth, that is π/2 times the −3 dB bandwidth:
e_shunt = √(4 · k · T · R) v_noise = √(e_shunt² + e_amp²) · √(π/2 · BW) I_noise = v_noise / RA shunt’s own noise is tiny: 10 mΩ makes about 13 pV/√Hz, thousands of times less than an amplifier. It only matters with large resistances and very quiet amplifiers.
Below about 10 mΩ, the copper and the solder joints become part of the measurement. A square of 1 oz (35 µm) copper is about 0.5 mΩ, so a few millimetres of trace in the sense path can add several percent. Take the sense lines from the inside edges of the resistor’s pads (a Kelvin connection), route them together to the amplifier, and keep the high current out of them. Four-terminal shunts have separate sense pins for this.