Why Shunt Resistor Values Always Give Me Trouble
When doing current sensing, a shunt resistor is the most direct approach and also the easiest to get wrong. The principle takes one sentence: pass the current through a small resistor and measure the voltage drop across it, . But when you actually build it, a larger resistance causes too much power dissipation and voltage drop, while a smaller one can't hold up against op-amp and ADC noise. The first time I built a 12V/5A load monitor, I couldn't decide between 10mΩ and 50mΩ, so I went back and forth soldering several revisions.
Three Formulas to Get the Math Right First
There are only two core relationships:
where is the gain. One more that is often overlooked is the power dissipated by the shunt itself:
Together, these three don't just determine whether you can measure current — they determine whether the measurement is accurate and whether things get hot. Take a 12V load with 5A full-load current as an example: with 10mΩ the voltage drop is only 50mV, and if the ADC full-scale is 3.3V, direct sampling uses only about 1.5% of the range, so you must add op-amp gain; the power is , which already exceeds the typical 0.125W rating of an 0805 resistor. Switch to 50mΩ and the 250mV drop is much easier to measure, but power reaches 1.25W, requiring a high-power metal-alloy resistor, and the load supply loses 250mV.
Verify with an Online Tool
I usually run the numbers through the current sense resistor calculator before I start soldering. For example, with 12V, 5A, and a desired full-scale drop of 100mV: enter the current and desired drop, and you get Rsh = 20mΩ; the power is , so with a 2× margin you need a 1W or higher part; then with gain , , which sits within the 3.3V range without clipping. The tool chains these steps together, which was exactly what I needed when I kept changing the resistance value back and forth.
Selection Takeaways and Common Mistakes
My rule of thumb: first pick the resistance for a maximum drop of 50–100mV, then choose the power rating with 1.5–2× margin, and finally set the gain so the output fills 70–80% of the ADC range. A few frequent mistakes:
- Calculating with only the nominal resistance and ignoring temperature drift. High-current heating shifts the resistance, and the current reading drifts along with it. Metal-alloy resistors usually have far better TCR than ordinary thick-film parts.
- Using low-side sensing for convenience, but the voltage offset it creates between the load ground and system ground can disrupt communication or falsely trigger protection.
- Getting the Kelvin connection wrong, so ordinary traces put their resistance in series with the sense loop. At high currents, trace resistance can exceed the shunt resistance itself.
- Not checking full-scale after setting the gain, leading to ADC overflow or very low range utilization.
Related Tools
After current sensing, you usually still need to convert ADC readings and estimate power dissipation. You can pair it with tools for voltage/current conversion, power and heat estimation, and common-mode/differential-mode gain checks. Get the shunt resistor step right first, and downstream calibration will have a solid foundation.