I need to measure the current draw of DUT that can be an MCU in deep sleep, such as Attiny85, or a more power hungry MCU that is powered off by TPL5110. In this post, I proposed a circuit where an INA828 is used to measure the voltage across a sensing resistor. In that circuit I proposed to have two separates grounds, one for the DUT and sensing resistor and one for the INA828. I have received very helpful comments that made me realize that the circuit would hardly work since the INA828 would very likely reach saturation due to the separate grounds.
Therefore, I propose here a new version with the hope that this will work or at least that it is an improvement compared to the previous proposal. All feedback and criticism is of course very welcome. In this version there is only a single ground. The battery is still a 3.7V LiPo. The goal is still to measure the voltage drop across a sensing resistor in order to calculate the current flowing through it. I have already realized a PCB with multiple sense resistors (from 1 MOhm down to 10 Ohm) with 0.1% tolerance and a bypass. The sense resistors can be enabled/disabled with Jumpers. I initially select the bypass to start the DUT, I put it in deep sleep and then select the appropriate sense resistor. So far I have used this test PCB and measured the voltage drop across the sense resistor using a digital multimeter (DMM). This works quite well when the current is in the order of uA or higher, but when I need to measure currents in the order of tens of nA there is a large measurement error caused by the not high enough DC input resistance of the DMM. Hence, I am looking for a buffer or OPA with larger input DC resistance than a DMM.
In this new version, see schematic below, the REF pin of the INA828 is connected to the common ground GND. The sense resistor is connected between DUT and GND. In this way, the difference between common-mode voltage and output voltage will be much smaller compared to the version I proposed in the earlier post and it should hopefully avoid saturation in the INA828, since the voltage across the sense resistor will be not more than few hundreds of mV. The +5V, -5V dual supply will be generated by two 9V batteries (to get +9V, -9V) in combination with a positive LDO and a negative LDO to convert to a "stable" +5V, -5V to avoid supply voltage drift due to 9V batteries discharging. The multiple sensing resistors with jumpers to enable/disable them would be placed in a new PCB that also includes the INA828 IC and its LDOs for dual supply.
My plan is that if I can make the INA828 circuit to work, I may connect at its output a simple DMM or an ADC. I do not need to log the data to a PC or other device, so either using DMM at the INA828 output or an ADC (for instance the ADS1263) that is controlled by an MCU with LCD display is enough for me.
- Do you think the schematic is correct or am I making any mistake?
- Is the INA828 a good choice for measuring these voltages or you have a better suggestion? My guess is that it should work well since the input bias current is 0.15nA thus negligible compared to the current flowing in the test resistor.
- Will I need to have galvanic isolation between the sense resistor and the OPA measuring it´s voltage? In this case I should replace the INA828 with something else.
- Do you agree with using a dual supply +/- 5V and to connect the REF pin to GND?
Thanks in advance