1
\$\begingroup\$

I'm trying to plan out a project of measuring large currents from my car battery through a shunt, and specifically I need help with the INA.

I bought this Deltec 250 amp shunt from eBay, that looks to be rated for 250A in short pulses, and 165ish continuously.

enter image description here

My plan is to hook it in series somehow with the car battery and use an INA to measure the voltage across, which peaks at 50mV for 250A

I've read a good deal about instrumentation amps, but I'm still confused on what specifications I should pay the closest attention to.

CMRR? Do I need to somehow detect if there is a common mode voltage near the car battery from a noise source?

Voltage input offset? Voltage error drift?

Also, there are so many specifications/choices that I'm totally unsure about what would be deemed effective for this project.

I'm also in the process of extensively reading through Analog Device's Designer's Guide to Instrumentation Amplifiers, here, which is fantastic, but I would certainly appreciate any help or input on how to do high current measuring, specifically of a car battery, still in the car.

For example, here is a page from the aforementioned AD guide.

enter image description here

The selection is huge. How do I know what CMRR is good enough? 70dB? 80? 90? Or the input offset? 1mV? 500uV? 50uV? This is a major confusion of mine and hints at my lack of experience with practical design.

\$\endgroup\$
6
  • \$\begingroup\$ Given the amperage and the fairly high 50mV of the shunt, any INA will be OK. Gain of 100 to get 5V at peak current. Are you going to an ADC? How many bits? You can measure the offset when the current is zero and subtract (if it is greater than 1 LSB). Should be a breeze. \$\endgroup\$ Commented Mar 19, 2014 at 2:53
  • \$\begingroup\$ Yes, so far I like the 13-bit MCP3301. I am curious though if there might be some source of noise in this application, after all batteries aren't very regulated, and this is going to be under the hood. I am wondering too if the large current may have some magnetic effect and noise, or if the engine or starter might. Thank you for the input \$\endgroup\$
    – krb686
    Commented Mar 19, 2014 at 3:07
  • \$\begingroup\$ To get a better familiarity with InAmps, I would recommend skimming through this: A Designer's Guide to Instrumentation Amplifiers \$\endgroup\$ Commented Mar 19, 2014 at 3:11
  • \$\begingroup\$ @NickAlexeev I really do appreciate your helpful input, but I'd also really appreciate if you fully read my original question :) \$\endgroup\$
    – krb686
    Commented Mar 19, 2014 at 3:15
  • \$\begingroup\$ 13 bits and what voltage do you want for full scale? If it is 5V then 1 LSB is only 600 microVolts. For automotive high current loads I will guess 100 Hz or less is good. Most INA have an easy way to bandlimit or low pass filter. Bypass the power pins and use a linear power supply chip that allows a big capacitive load. If the amp can't be right at the shunt, use a twisted pair instead of shielded cable. A twisted pair will make the noise induced by the high currents common mode. Twisted pair with a shield will be good for spark plug noise. Amp to ADC also needs some attention. \$\endgroup\$ Commented Mar 19, 2014 at 4:06

2 Answers 2

3
\$\begingroup\$

How hard this is depends a lot on the details of exactly what you're trying to do.

For example, what is the minimum current you want to be able to measure. 100mA? 1A? 10A? Presumably you want to be able measure cranking current, which may be more than your shunt is rated for (so the output voltage may exceed 50mV). That part is easy (lots of signal, and probably a fair bit of noise too). An offset voltage of 100uV represents 500mA. 100mA would require an offset of less than 20uV, which is challenging in the environment of an engine compartment, even with so-called "zero-drift" amplifiers. If you're looking for one part in 1000 of a 300A or 500A range, that's 300mA to 500mA.

Something like an INA331IDGK will have a 500uV maximum offset, so the error could be +/-2.5A. That could be calibrated out. The drift is typically 5uV/°C, so for a 30°C change you could see 0.75A change. That's harder to compensate for.


In general the overall strategy is usually to look at all the sources of error you can identify and calculate the input-referred error (i.e. the error in amperes measured at the shunt). Then compare those to your error budget.


I expect you'll put the shunt in the low side (between battery and auto chassis) so then the voltage across the shunt will be near or below ground, so you'll likely need a negative supply for your in-amp.

The in-amp, perhaps with some external gain setting parts, will give you a voltage relative to a reference (perhaps a ground on some external circuit). You have not mentioned what you want to do with that signal. If you just wanted to read the current on a display, you might not need an instrumentation amplifier at all- just isolate the measuring circuit and connect it across the shunt sense terminals.

Be careful of output range with the in-amp if you're going into an ADC that has a range that's a good part of the supply voltage-- depending on the type and the amplifier's supply voltage they can saturate internally. There's good information in the application notes and data sheets if you look for it.

Also consider what happens under various situations of missing connections and so on- probably the sense wires from the shunt could go -12 and maybe +12 under some conditions and those situations should not damage the front end. To some extent, that requirement degrades the available accuracy because you will have to put some resistance in series with the sense terminals, and that will increase errors due to bias current.

CMRR could be a factor if you're trying to measure currents really accurately, and for noise rejection. You can put the shunt in place and use a scope to measure the common mode voltages. Since they tend to be proportional to the current you're measuring, it's probably not a big concern.

There's a good overview here (Word Doc). Note the examples that use a regular op-amp.

enter image description here

\$\endgroup\$
2
  • \$\begingroup\$ Okay suppose I want to accurately measure to the 0.1 amp level. So a 12-bit ADC would suffice? (250 / 2^12 = 61mA) Or should I keep the 13-bit MCP3301 for error purposes? Then 100 mA would be created by a 20uV offset input. That seems mighty low, maybe that is unrealistic \$\endgroup\$
    – krb686
    Commented Mar 19, 2014 at 12:05
  • \$\begingroup\$ Now you're getting the idea. You only start to see how easy or difficult it is when you put numbers on each of the major error sources. If you use a 24-bit converter (ENOB 19+ bits) you can forget about quantization entirely as an error source, but 13 bits is probably good enough. \$\endgroup\$ Commented Mar 19, 2014 at 12:09
2
\$\begingroup\$

Input Offset Voltage: The amplifier acts as if there was a battery with a random value up to this voltage connected in series with one of the input pins. Since your maximum current will produce about 50mV, an input offset of 1mV will create a 2% of full scale bias in your measurement. So, with no current through the shunt, it may measure anywhere between about -5 and +5 amps. The offset is fairly constant for a given unit at a given temperature, so you could measure with no current and compensate.

CMRR: A common mode voltage (present at both input terminals) will appear attenuated relative to the differential signal at the output of the amplifier. For example, if your CMRR was 80dB, and you placed the shunt at the positive terminal of the 12V battery, with your measurement circuit's ground at the negative terminal, the common mode voltage will be close to 12V. That will appear on the output as a \$12*10^{-80/20} = 1.2\$mV input error, once again fairly significant in your circuit. Reducing the common mode voltage will reduce the required CMRR, but keep in mind that many noise sources will also show up as a common mode voltage.

Ultimately, it comes down to keeping the total error for the measurement within limits. CMRR, input offset voltage, noise, resistor tolerances, the resolution of any ADC, and so on all contribute to the total error. It can be helpful to create a spreadsheet to calculate the contribution of each source of error to the total. If some parameter is only contributing a small fraction of your total error, it doesn't make sense to spend a lot of money to improve it.

\$\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.