Smoke Tester: calculating the INA138 load and sense resistors

in tutorials by DP | 3 comments

Yesterday we presented the Smoke Tester, a board designed to safely power prototypes for the first time and test for shorts.

One feature of this design is the current measurement via the INA138 high side current monitoring IC. Below is a small tutorial on how we calculated the sense and load resistors for this IC.

We started of by deciding the highest current we’d like to measure. In the Smoke Tester this was 800mA. In INA138 datasheet it is mentioned that for most applications the maximum differential voltage across the shunt resistor should fall within 50-100mV.

With this in mind we selected the shunt resistor at 0.075 Ohm. This gives us 60mV at 800mA, which is within the suggested 50-100mA range.

Next we calculated if 800mA is less then the maximum current, given the maximum power dissipation of 0.125W (1/8W). Formula we used is I=sqrt(P/R) since P=R*I^2. The result was 1.29A which is above the maximum 800mA we envisioned. A 1206 1/8W 1% 0.075 Ohm shunt resistor was chosen.

We wanted the output voltage to mirror the output current, so 800mA of current would produce 800mV on the output of the INA138. The formula provided by the datasheet states that Vout = Is*Rs*Rl*gm. Where Is is the shunt current, Rs is the shunt resistance, Rl is the load resistance, and gm is the 200uA/V transconductance constant.

By solving the equation above for Rl we have. Rl=Vout/(Is*Rs*gm) or Rl = 800mV/(800mA*0.075Oohm*200uA/V) which is 66.666..KOhm. Since 66.666..K is not a normal resistance value we decided to build it by connecting 3 200K 1% resistors in parallel, giving us theoretically the exact 66.666..K needed. There are of course tolerances to be figured in, but we are satisfied with this result.

Hope this is helpful to anyone wanting to play around with high side current monitors.

This entry was posted in tutorials and tagged , .

Comments

  1. Derek Kozel says:

    “which is within the suggested 50-100mA range.” should be mV I believe.

    What’s the lowest current which can be measured with this sense resistor? It would be interesting to have a small board to log/display current use over a broad range.

  2. Merrick says:

    0.075 ohms is very small. How does the wire resistance compare? Granted we’re talking about very short distances but I was wondering if that would have a significant impact. I don’t know the answer. Just wondering.

  3. Dolabra says:

    http://circuitcalculator.com/wordpress/2006/01/24/trace-resistance-calculator/ is a calculator for the resistance of a copper trace. In eagle 6.1 there is a meander feature that would allow one to make a trace resistor. For .075 you would need about 16mm of 8mil trace.

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.