Unexpected reversed voltage over shunt resistor

current measurementi2cpower-consumptionsensor

I'm trying to measure the current consumption of an accelerometer using a 1kOhm shunt at Vdd. I've read that there's a ~30kOhm resistor at SA0, so grounding it causes a much higher current draw.

When I indeed ground SA0, I see 100mV over the shunt. However, when it's connected to Vdd, I see -36mV over the shunt (measured using a UNI-T UT39A multimeter). The device works correctly, but this negative voltage doesn't seem right.

Does anyone know why pulling SA0 high causes a reversed current draw?

Thanks

EDIT

I've also tried 100R and 10R.

Here's the schematic. Note that I've picked a random part to represent the sensor. The idea is to indicate that the shunt is on the Vdd line.

enter image description here

Best Answer

Your shunt resistor is way too high, to measure properly, you need a low value resistor and a differential amplifier.

In your test setup, the voltage drop on the shunt resistor might be too high for the component to operate properly.

There are off the shelf products that implement this capability.

Related Topic