# Multiple shunt resistor INA226

For a project I'm trying to build a measurement tool for USB where I can measure U, I and P using the INA226 from Texas Instruments.

The shunt resistors all have a different value to measure a current from 0.200 µA to 4A. Of course it's going to measure voltage but the INA converts it to current and later on to power.

Between the vbus and the shunt resistors I placed some Power Distribution switches so the microcontroller can chose which one would be suited from the collected measurement from the INA.

The problem is that the RDs(on) on the switch where the shunt resistor for 4A is located is almost as high as the value of the shunt resistor.

Will the INA work as configured here or do I need to place a switch so it only measures over one shunt resistor and place V+INA226 after the power distribution switch so the RDs(on) doesn't interfere in the measurement?

• I don't think series resistances are an issue, because your INA shunt monitor should have differential inputs across ONLY your shunt resistor. It will just output a current gain based on the detected voltage (and then you put your own gain resistor to get a voltage out of the produced current) Commented Oct 15, 2014 at 13:46
• @KyranF the schematic shows the monitor across the bank of switches; you'd need either many monitors or additional switches to connect the single monitor to the selected shunt Commented Oct 15, 2014 at 13:56
• Yeah i thought of that but then i still can't connect it over all shunt resistors because all the traces would be interconnected and the current would always flow straight trough the smallest resistor. I was thinking of something like a demux or a switch so I don't lose the voltage and I can switch between the 5 resistors using the microcontroller. Any ideas? Commented Oct 15, 2014 at 13:58
• to get a good and accurate measurement, you really should just have a bank of shunt monitors with their own resistors each. You are meant to do kelvin sensing, and use very short traces, and use 1% or less tolerance resistors. I would avoid trying to do it like this because it's not really how the IC was intended to be used.. You have pointed out one of the main flaws anyway, which is multiple resistors in parallel, where the switches in the circuit do indeed change the values. You could calibrate and adjust the gain/output though, if you knew which channel you were using i guess. Commented Oct 15, 2014 at 14:07
• @PeteKirkham yes, sorry I did not notice the very faint grey text that is meant to represent the connections of the INA226 on the schematic Commented Oct 15, 2014 at 14:08