← Back to the chapter · Next detail →
Technical detail · Energy Measurement and Profiling
Size the shunt for burden and resolution
Two inequalities bound the shunt. The burden limit keeps the peak drop small: R <= V_burden_max / I_peak. The resolution limit keeps the sleep signal above amplifier noise and offset: R >= V_min / I_sleep. When the bounds cross, no single value works.
Target a burden under 50 mV at the 200 mA peak and a readable 100 uV minimum at 10 uA sleep:
- Burden:
R <= 0.050 V / 0.200 A = 0.25 ohm. The shunt must be no larger than a quarter ohm. - Resolution:
R >= 100 uV / 10 uA = 10 ohm. The shunt must be at least ten ohms. - Conflict: 10 ohm and 0.25 ohm are 40x apart. A 10 ohm shunt drops
0.2 A x 10 = 2 Vat peak, risking brownout. A 0.1 ohm shunt gives10 uA x 0.1 = 1 uVin sleep, lost in noise.
Auto-ranging switches to a high-value shunt in sleep and a low-value shunt during the burst. Two shunts or separate measurements can also address the incompatible bounds. Keep the range behavior with the capture so the reader knows which value applied to each state.
Write rejected values into the notes as well as the chosen value. The 0.25 ohm shunt is acceptable for the burst but produces only 10 uA x 0.25 ohm = 2.5 uV in sleep; a flat trace may hide leakage. The 10 ohm shunt resolves sleep but can itself cause a reset, retry, or missing radio packet during transmit. This audit trail explains why the selected setup is defensible.