0
\$\begingroup\$

I'm testing the below current sense circuit that uses an INA210.

Current Sense Circuit

When the current flowing is 0.25 A the voltage on pin "CUR" is 1 V (measured by controller and multi-meter). By my calculations the CUR voltage should be 0.01 V and 1 V for 25 A. If my controller receives more than 3.3 V from CUR it will fry my controller.

R5:
R5 Resistor

By disconnecting most of the load and reducing the current to below 0.01 A the CUR pin is measuring 0.61 V. Current is measured by a separate current sensor between the battery and the PCB.

Here is a photo of the chip. The red text is the PCB pad design. Did I install the chip 180° incorrectly?

enter image description here

enter image description here

\$\endgroup\$
12
  • \$\begingroup\$ Are you certain of the value of R5? \$\endgroup\$
    – Sparky256
    Commented Feb 1 at 4:14
  • \$\begingroup\$ My multi meter is not sensitive enough to measure below 0.5 ohm, or a voltage drop that small. This is the spec sheet of the part which seems legit: datasheet.lcsc.com/lcsc/… \$\endgroup\$
    – Tim
    Commented Feb 1 at 4:21
  • \$\begingroup\$ Is R5 a 4 terminal Kelvin connected resistor? \$\endgroup\$ Commented Feb 1 at 4:26
  • 2
    \$\begingroup\$ The output of U1 cannot exceed V+, so you won't fry your controller regardless. See voltage output on page 8 of the datasheet. \$\endgroup\$
    – Drew
    Commented Feb 1 at 4:39
  • \$\begingroup\$ Good to know CURR can't exceed 3.3v. I've added a picture of the R5 resistor. It has a raised body in the middle but nothing fancy like the picture shown below. The voltage multiplier is 1000 times what it should be so it must be something more significant. \$\endgroup\$
    – Tim
    Commented Feb 1 at 4:51

2 Answers 2

4
\$\begingroup\$

When measuring the voltage across a very small resistance, it is important that one is not measuring the voltage across the solder joints connecting the resistor, or worse, across the contacts of a solderless breadboard. For that reason, the shunt resistor in the OPs circuit should have Kelvin connections.

enter image description here

(Image from Bournes via Mouser.com)

One pair of terminals (the wider tabs) is used to connect the shunt resistor across the current to be measured. The second pair of terminals (the narrower tabs) carries little to no current, but transmits the voltage difference to the diff amp.

Digikey has an article that discusses the use of Kelvin connections for low value current sense resistors.

enter image description here

\$\endgroup\$
0
1
\$\begingroup\$

Now that you've included a picture of your layout it seems that the long trace going to U1 pin 5 may be a problem. (Barring any other potential problems already included in the comments.)
The trace connection going to the via under R5 already seems to be in the form of a Kelvin connection.

But before you actually redesign the whole PCB you could try to verify that the extra trace is the actual cause. To do this first cut the trace just after the pin edge of U1 pin 5, (without disturbing the traces beyond that). Tack solder a thin wire directly from U1 pin 5 to the pad of R5, (try connecting to the pad corner away from the other traces and use a very minimal amount of solder).

If you then test your PCB and find that you get results closer to what you expected you can be fairly sure that the extra trace length was causing the problem. You can then redesign the PCB to create a form of Kelvin connection to R5 similar to figure 3 in the Digikey link in the answer from Math Keeps Me Busy, (who should get the credit for explaining the concept). Alternately you might just order an actual shunt resistor that has the Kelvin format and use that instead.

Another issue that may effect the accuracy of using such a low value shunt resistor could be from running traces in different directions off the pads. Ideally you want all of the current that is to be sensed running directly and evenly across the resistor. If there are traces with currents going off at multiple angles from the pad (as you currently have), there could be small voltage drops across the pad itself. If you do redesign the PCB layout you may be able to reduce additional errors by using a single centered trace for the high current going to and from each pad of the shunt resistor, then create the traces to the sense chip as shown in the Digikey link.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.