Building a high current adapter

Building a high current adapter



When measuring current the voltage drop in the measuring circuit can be a problem, but there are a couple of ways around that:

  • Using a current clamp. This solution is very good when measuring more than a couple of amps.
  • Using a small resistor. This is also a good solution, but it is necessary to measure some low voltages and there will be galvanic connection between the meter and circuit (Only a problem with oscilloscopes and some logging equipment).
  • Using a special current measuring chip. These chips uses the same principle as the current clamp, but everything is on a single chip.


I will be looking at the chip solution here and build a small adapter with the chip (The chip is called ACS712).






The chip exist in 3 version, a 5A, a 20A and a 30A, here I have bought all 3 version, mounted on some small PCB's, this way I can use them without designing my own PCB.
A look at the datasheet, gives some information about the chip:

  • 5A chip: 0.185 V/A
  • 20A chip: 0.100 V/A, I will be using this, due to the easy calculations.
  • 30A chip: 0.066 V/A


This means that the 20A chip will output 1V, when the current is 10A, that is easy to measure with any DMM.
But the voltage is not from 0 volt, it is from half the supply voltage, i.e. when the chip is supplied with 5 volt and the current is zero, the output is 2.5 volt and the 1 volt output from a 10A current is added or subtracted from the 2.5 volt, i.e. depending on current direction the output voltage will be 1.5 or 3.5 volt at 10A.

The chip has 1.2 mOhm resistance in the current path, i.e. at 20 ampere it will only drop 0.024 volt. When mounted on a PCB and with connection, the final resistance will be considerable higher.



A look from the side.



On this picture I have marked the + PCB trace in red, the signal trace in green and a filter signal in cyan.
When current goes into the + input, the output voltage will rise.
The led is on when power is connected.
The circuit draws 13 mA with the led, it is about 10 mA for the chip and 3 mA for the led.



Building

To build the adapter I need some sort of power supply, with only 13mA current draw a battery must be fine. Because the chip needs 5 volt and preferable very stable I also need a voltage regulator. With a battery I want a low power and low dropout regulator. Looking around in my different component boxes I found some LM2931A, this regulator chip uses only a few uA and will deliver 5 volt output down to about 5.1 volt input. It does also have polarity protection, i.e. if I insert the battery the wrong way around, it will just block the current.
With a 9 volt E block I will get about 600mAh/13mA -> 46 hours runtime, more than enough for doing regular measurements, but not very good if I want to be logging for days.
To see when the battery is empty, I will also need a led. In series with this led I have added a zenerdiode to make it turn off (or rather go very weak) at around 5 volt.



The above picture shows all the parts.

  • The current adapter chip/pcb.
  • White led
  • 3.3 kohm resistor for led
  • 4.1 volt zener for led
  • LM2931A 5 volt regulator
  • 100uF/10V capacitor for regulator.
  • 2 x 30A binding posts.
  • 2 x binding posts.
  • A on/off switch.
  • A box, with room for a 9V battery.




First I need some holes in the box.



The switch, led and binding posts are mounted on the box.



The components mounted. I have used some rather thick copper wire between the binding posts and the adapter pcb.



The regulator is mounted directly on the switch.
I have removed the led (D1), to save some power.



After testing I have added some hot melt glue to the critical points.



A few labels on the front of the box.



The box has a separate cover for the battery, i.e. I do not need to open the box for battery replacement.



General specifications

The final box uses 11mA, 10 for the chip and 1 the led. This will give an estimated runtime of 600/11 -> 54 hours or a bit above 2 days.
The 600mA in a 9 volt battery is from the Energizer datasheet for low current (10mA) discharge to 6 volt.

As can be seen in the tests below I got about 6 mOhm resistance in the circuit or 19 mOhm with test wires connected. I could have reduced the 6 mOhm by removing the terminals on the PCB and soldering the wires directly to the PCB. I could also use shorter test wires and screw them directly into the binding post, that would also reduce the resistance.

6 mOhm is 0.12 volt drop at 20A
19 mOhm is 0.38 volt drop at 20A
The Fluke 189 DMM has 59 mOhm with test wires, that is 1.2 volt at 20A (Note: DMM is 10A max.).



The galvanic isolation, there is no connection between the current input terminals and the DMM output terminals.



What DMM to use

Because the output voltage is in the range 0.5 to 4.5 volt, the best DMM must have a 5000 or 50000 count display. A 3000 or 4000 count will also work fine but will not have full resolution over the full range.

Depending on the DMM the resolution will be:

  • 2000 count DMM -> 0.1A
  • 3000-4000 count DMM -> 0.01A at some currents.
  • 5000 count DMM -> 0.01A at the full range.
  • 30000-40000 count DMM -> 0.001A at some currents.
  • 50000 count DMM -> 0.001A at the full range.


With a careful zeroing of the DMM, it is possible to get a actual precision of about +/-2 mA when measuring low currents. This means that a reading of 20mA would mean the actual current is between 18 and 22 mA. This is much better than a typical clamp meter.



Testing with power supply

For the first test I have made a setup with a couple of DMM's and a power supply. In this test the adapter and the DMM is supposed to show exactly the same current, because they are in series.



Everything connected and power is on.
Fluke 179 is measuring the voltage drop in the adapter.
Agilent U1272A is measuring the output from the adapter/chip.
Fluke 189 is measuring the current.
The output from the chip is 2.5163 volt.



Lets get rid of the 2.5xx volt. With most DMM's is is possible to use a REL button, that will show difference from when the button was pressed. This is a case where it is very useful.



First test with about 1A.
Fluke 189: 1.1469A
Agilent U1272A: 0.1142V -> 1.142A, difference from above is about 0.4%
Fluke 179: 7.4 mV in voltage drop, i.e. 6.4 mOhm resistance



Test with about 6A.
Fluke 189: 6.300A
Agilent U1272A: 0.6272V -> 6.272A, difference from above is about 0.4%
Fluke 179: 40.8 mV in voltage drop, i.e. 6.5 mOhm resistance



Test with about 9A.
Fluke 189: 9.263A
Agilent U1272A: 0.922V -> 9.22A, difference from above is about 0.5%
Fluke 179: 60.6 mV in voltage drop, i.e. 6.5 mOhm resistance



Test with about -9A.
Fluke 189: -9.258A
Agilent U1272A: -0.9279V -> -9.279A, difference from above is about 0.2%
Fluke 179: -60.4 mV in voltage drop, i.e. 6.5 mOhm resistance

This looks like a very good result.



Testing with flashlight

In this test I test current consumption on some single LiIon flashlights. I have not optimized the test leads for lowest possible resistance, but just used some standard high current test leads.
The DMM and the adapter will not show the same current, because the voltage to the light will depend on the resistance in the measuring circuit and the DMM has considerable higher resistance than the adapter.



The first light is Klarus XT10 without the tailcap.
It uses 1.5633A according to my Fluke 189 and I has 0.0785 volt drop in the test leads.



With the adapter I get 1.542A and a voltage drop of 0.0268 volt.
The difference between the two values is not really significant.



Next light is a 4Sevens S12, this light uses a 26650 battery and a SST90 led, I expect to see some serious current drain with this light.
With the Fluke 189 I get 3.0886A ampere and 0.182 volt drop.



With the adapter I get 3.583A and a voltage drop of 0.066 volt.
This is a 14% difference, here the adapter does improve the result.



A test with an oscilloscope on the current adapter. For this test I uses a old Dereelight CL1H V3 with a P60 module. The blue trace is the light sensor and the red trace is the current adapter. With 0.1 V/A it means that the light is using about 2A in the peaks.



Conclusion

What do I get from this adapter:
Very low voltage drop.
Good accuracy up to 20A.

Is it worth the effort to build this adapter?
For most people probably not, the 10A range on a DMM is mostly good enough at 1A to 2A.
But people that works with higher current at low voltages, might need it.
It is also very useful for datalogging, either with a DMM or with a microprocessor based data logger where the galvanic isolation can be necessary.

Thanks for sharing!!

Looks like some fun! ;)

Interesting, what I would have to wonder is how much voltage drop there is in the switch itself?

Correct me if I’m wrong, just guessing.

table(table#posts).
|version|Amps|output|
|5|+2.5|+1.0V|
|20|+10.0|+1.0V|
|30|+15.0|+1.0V|
table(table#posts).
|version|Amps|output|
|5|+1.0|+0.400V|
|20|+1.0|+0.100V|
|30|+1.0|+0.067V|

Bought of eBay?

The switch in the flashlight?

That will vary with the construction, on flashlights with a high current draw you will need a switch with a very low voltage drop.

Some of the new high power flashlights does not even have a normal switch (like the Nitecore TM11 and TM15). If you want to measure current on them, this circuit will be a big help.

Correct, but I wonder about the 5A value, the datasheet for the chip says 0.185 V/A not 0.400 V/A.

I’m using those chips in my LED/battery analyzer (Any interest in a LED/Battery analyzer device?). They also make some higher current versions (ACS758 series) that have 1/10 the burden resistance. They are VERY nice chips.

A neat feature of the chips is that the output signal is totally isolated from the input current.

A not so neat feature is that the 0 input curent reading is not exactly centered on the input voltage and seems to be somewhat temperature dependent. The REL button on your DMM gets around that neatly. On my analyzer, the firmware auto-zeros the reading each time you reset the board.

Thanks for sharing this wonderful design.
One thing I don’t understand is that your test with 1A to 9A using power supply shows that this circuit match with Fluke 189 measurement.
Why then measurement of S12 current is having 14% differences?

There is also some drift at power on, in my adapter the output voltage shifts about 2mV within the first 30 seconds (It might also be the regulator, I have not tried to isolate the cause).

That is exactly the reason to use this adapter, instead of the Fluke 189. Look at the Fluke 179, the 189 has a voltage drop of 0.182 volt and due to this voltage drop the light will not draw the full current. With the adapter the voltage drop is only 0.066 volt.

Look at C2 on the center photo of the boards… oh my!

The production quality is not that good, you can also check C2 on the side photo.

And they did have QC stickers on them:

Oh, now I get you.
You mean when using battery in flashlight, any drop of voltage caused by DMM will make flashlight lower power consumption.
Will this happen to constant current driver flashlight?

Not necessary, some drivers will draw more current to compensate.

That depends on the actual driver. On some drivers the current will be constant, on some it will rise and on some it will fall.

If the driver is constant power and is within its constant power range, the current will rise with a DMM.

For 7135 drivers the current will stay constant if the voltage is high enough (Depends on both battery voltage and Vf), if not it will drop.

I wonder who QC’d the QC stickers?

Thanks for explanation.
So it looks like any simple DMM tail cap current measurement is just indicative unless fully understand the circuit’s behaviour. We need proper setup like this to have closest current measurement.

Maybe I should build one either since you’ve provided very detail design. I do have one current clamp but it is not as convenient as DMM.

The 10A range on a typical DMM can be used up to a few A, if you are careful with the test wires. Using the supplied probes does not work!

I did publish this article, because I believe that it is fairly easy to build the above circuit and it will improve the measurements on high currents lights. It does not have to be build exactly like mine, you could even mount the PCB and battery on a piece of wood with some heavy gauge wire connected directly to the PCB.

It has been 8 years ago I did drilling and filing on those plastic box for banana sockets. Now only do very simple soldering. Sure will be very slow to do it again.

You don’t have to do that… in fact I would skip the banana plugs and just hook wires directly to the screw terminals… it eliminates several connections that add resistance to the circuit. Power the sensor board off a 9V battery and 5V regulator.

You are right. The less connector, the less resistance. Also much simpler to do without the box.