SBOA535 February 2022 INA190
When designing amplifiers into the microamp range, one design aspect that must be considered is the input bias currents of the amplifier. As these currents will ultimately flow through the shunt to enter the IN– leg of the amplifier, the designer is restricted to amplifiers that exhibit input bias currents far less than the minimum desired measurement point. As such, the best choice from the TI portfolio for a design needing to measure microamps is the INA190, which has a worst-case bias current magnitude of 3 nA, which should minimize the impact of this error on the lower range. The sheer magnitude of this dynamic range (10000:1) presents an issue, however.
For the INA190, the maximum output achievable due to worst-case swing-to-rail limitation is 4.96 V, and thus for a 100-mA maximum measurement, the maximum possible calculated shunt is 1.984 Ω.
For the given conditions, Figure 3-1 gives the overall output error curve for the design utilizing this shunt, while Figure 3-2 examines the error curve only down to 0.1 mA, for better granularity.
From the latter curve, it is observed that the utilization of this device alone cannot satisfy the error specification of the design. The error becomes greater than 5% around 300 µA, above the needed design minimum of 10 μA. At this lower design end, for the current selections, effectively no signal integrity remains, resulting in > 150% error at 10 μA. This is made slightly worse once an actual E96 or E192 shunt value is chosen, along with its shunt tolerance error taken into consideration.
As a single device is incapable of achieving the needed error specification over the design range, the range may be broken down into separate pieces, where each individual stage is responsible for a portion of the range in which the desired specification is achievable. While many various topologies exist, the following topology utilizes two shunt resistors in series to break the range up into two separate measurement areas. A P-channel MOSFET acts as a virtual short across the larger of these resistors when biased, establishing the following shunt resistor conditions:
To implement such a design on the high side requires a few additional components, to ensure that the PFET is able to be biased in the proper regions given that the voltage at the source of the FET is roughly that of the common mode of the design. This is achieved with a 2N3904 BJT transistor, a 5.1-V Zener diode, and several resistors. The pullup resistor in tandem with the BJT sets the gate voltage of the FET to VCM = 24 V when the BJT is unbiased, and the Zener diode forces the gate voltage to 5 V beneath VCM when the BJT is biased on, thus placing the PFET into forward operation. INA901 Schematic, 4 Decade Measurement shows the proposed design.
Utilization of such a topology does not come without its share of challenges. First, resistor choices must be made that do not cause undue harm to the load due to burden voltage of the chosen shunt resistors. Also, distortion effects may manifest during turn on and turn off times of the switch network, making the measurement unreliable during these transitions. Finally, as the FET must be controlled and keep track of which state it is in, logic is required for the use of such a topology. This is discussed in Section 4.
The design procedure is provided in the following steps:
Output Voltage (V) Over Measurement Range, 10 µA to 100 mA shows the output range of the resulting design. Note that this curve shows the P-channel activation occurring at the 1.5 mA mark, in line with the previously-mentioned hysteretic forward point.
One important aspect to pay attention to is the actual decades of current measurement specified. While examining the full range of a current sense amplifier, it often may seem foolish to a new designer that such a small amount of the actual sensing range is dedicated to one of the sections designed, but Output Voltage (V) Over Measurement Range, 10 µA to 100 mA, Log Scale shows the same data as in Figure 3-5, with the x-axis now logarithmically based:
The observation made viewing the range in log base is that each of these divisions occupies approximately the same proportional amount from a decades of measurement perspective, around 2 decades being handled per device. Various devices may be able to handle more or less by themselves, often dictated mainly by the worst-case offset voltage of the device.
The design was then simulated in TINA-TI to confirm the design expectations. INA190 Wide Measurement Schematic shows the simulation, along with measurement points.
For the simulation, DC analysis was performed to examine expected outputs across the range. Table 3-1 lists the expected DC output for the circuit. Note that TINA-TI spice models contain typical parameters, so error at lower bounds is more in line with typical performance rather than worst case.
Load Current | FET Status | Sense Voltage | INA Output Voltage, Actual | INA Output Voltage, Ideal(V) | Error (%) |
---|---|---|---|---|---|
10 µA | OFF | 995.65 µV | 25.102 mV | 24.9 mV | 0.85 |
20 µA | OFF | 1.991 mV | 49.99 mV | 49.8 mV | 0.42 |
50 µA | OFF | 4.978 mV | 124.656 mV | 124 mV | 0.17 |
75 µA | OFF | 7.467 mV | 186.876 mV | 187 mV | 0.11 |
100 µA | OFF | 9.956 mV | 249.1 mV | 249 mV | 0.08 |
200 µA | OFF | 19.912 mV | 497.98mV | 498 mV | 0.04 |
500 µA | OFF | 49.779 mV | 1.245 V | 1.24 V | 0.01 |
750 µA | OFF | 74.669 mV | 1.867 V | 1.87 V | 0.01 |
1 mA | OFF | 99.558 mV | 2.489 V | 2.49 V | 0.01 |
2 mA | ON | 3.943 mV | 98.790 mV | 98.6 mV | 0.21 |
5 mA | ON | 9.837 mV | 246.118 mV | 246 mV | 0.08 |
7.5 mA | ON | 14.748 mV | 368.890 mV | 369 mV | 0.05 |
10 mA | ON | 19.66 mV | 491.663 mV | 491 mV | 0.04 |
20 mA | ON | 39.304 mV | 982.753 mV | 983 mV | 0.02 |
50 mA | ON | 98.238 mV | 2.456 V | 2.46 V | 0.01 |
75 mA | ON | 147.35 mV | 3.684 V | 3.68 V | 0.01 |
100 mA | ON | 196.461 mV | 4.911 V | 4.91 V | 0.01 |
For AC response, a time-based step response signal was utilized along with a time-based switch to mimic the transition of the GPIO pin controlling the gate. In implementation, this logic transition is performed via GPIO, using the digitized output as a feedback to keep track in logic, and would also exhibit some amount of delay. Note that as shown in Step Response (10-mVPP Input Step) of the INA190 Bidirectional, Low-Power, Zero-Drift, Wide Dynamic Range, Precision Current-Sense Amplifier With Enable data sheet, approximately 40 µs is needed for the INA190 output to settle to steady state. INA190 4-Decade Design Dynamic Response exhibits the values required for the INA190 output to settle to steady state.
As expected, observe that there is some amount of distortion as the FET activates and changes the effective resistance between states.