Offset-adjusted ammeter for up to 25 Amps

Thread Starter

cmartinez

Joined Jan 17, 2007
8,257
Here's a little project that I made that may be a bit laughable for the real experts in this forum, but that came in pretty handy for me when I was trying to measure current with an oscilloscope.

What it is: It's a little circuit that makes it easier to measure current with an oscilloscope.
What it does: It subtracts the voltage offset from the signal being generated by an ampsense AMP25 sensor so as to bring it within range of the oscilloscope.
Why: Because an AMP25 sensor generates an output signal between 0 and 5V depending on the current that passes through it, but it has a 2.5V offset. That means that negative current values will be reported as a voltage between 0 and 2.5V, and positive values will be reported as a voltage between 2.5 and 5V
Why is this an issue?: Because oscilloscopes can adjust for signal offset only within certain limits, and if I want to read a small current signal (like when the AMP25 reports a value of, say 25mV) then I will run into trouble. For example, to more or less accurately read 25mV, the oscilloscope's vertical divisions should be set to 10mV. But since my oscilloscope has only 8 divisions in its complete screen, and the middle of the screen is 0V, then the maximum offset that it will let me adjust at that scale is ±100mV... but the problem is that the AMP25 zero-Amp signal is reported as 2.5V, which is way above the maximum 100mV that the oscilloscope will allow me to offset adjust on the 10mV/division selected scale.

So without much further ado, here's what I did: I built a simple, adjustable voltage subtractor circuit that subtracts 2.5V from any voltage entering it, conditioning the AMP25's output to make 0A = 0V ... and now negative current values fall in the range of -2.5V to 0V, while positive ones are in the range of 0V to +2.5V
The circuit is powered with a standard wall-wart set at 12VDC output. This voltage is then lowered and regulated to 5V with an off-the-shelf 7805. After that, I used an ICL7660S chip configured so that it generates -5V from the 5V being fed into it. This allows us then to power an OpAmp (I used an OPA244) configured as a voltage subtractor. A simple 50K trimpot connected as a voltage divider serves as an adjustable 2.5V reference for the OpAmp.

subtr01.png

Capture.JPG

Capture03.JPG
Diag01.JPG

Capture02.JPG

Capture01.JPG

DSC_2223.jpg

DSC_2228.jpg

Capture05.JPG
 
Last edited:

ScottWang

Joined Aug 23, 2012
7,409
I'll also post a 0V reading from the circuit that'll probably answer that question
Sorry, I just can't trust the low cost switch mode power using in the amplifier (whatever audio amp or op amp...)

Did you used the switch mode power supply?
Have you measure the output of the power? (scale at ±10 mV or less)
 

Thread Starter

cmartinez

Joined Jan 17, 2007
8,257
Sorry, I just can't trust the low cost switch mode power using in the amplifier (whatever audio amp or op amp...)

Did you used the switch mode power supply?
Have you measure the output of the power? (scale at ±10 mV or less)
Scott, I'm not using a switch mode power supply to feed the circuit, but rather a 7805 linear regulator. As I said before, I'll get back here later with the complete schematics.
Down here's 2:00 A.M. so nighty night, for now... :D
 

ScottWang

Joined Aug 23, 2012
7,409
Scott, I'm not using a switch mode power supply to feed the circuit, but rather a 7805 linear regulator. As I said before, I'll get back here later with the complete schematics.
Down here's 2:00 A.M. so nighty night, for now... :D
So could you show the standard wall-wart?
I still have some AC110V/60Hz to 12Vdc conventional transformer adopters, and they have a good ripple rate, and I also bought some switch mode power supplies as AC110V/60hz to 5Vdc/12Vdc and different current spec.
 

Thread Starter

cmartinez

Joined Jan 17, 2007
8,257
So could you show the standard wall-wart?
I still have some AC110V/60Hz to 12Vdc conventional transformer adopters, and they have a good ripple rate, and I also bought some switch mode power supplies as AC110V/60hz to 5Vdc/12Vdc and different current spec.
There you go Scott, here's the diagram I promised

Capture.JPG
 
Last edited:

Thread Starter

cmartinez

Joined Jan 17, 2007
8,257
And here's a sample reading taken from the circuit's output.

The green trace was measured using a 100X probe, and it's measuring the voltage across a valve's coil. The yellow trace is measuring current going through the coil, using a 1X probe connected to my circuit's output.
As you can see, CH2's grid (yellow trace) is set at 50 mV per division. And since the AMP25 sensor delivers 37 mV per Amp at its output (when it's powered with 5V), the peak current stands at about: 270 mV/(37 mV/A) = 7.30 Amps

I blame the yellow trace's thickness on noise, which considering the scale of things is not so bad.

Sample.png
 
Last edited:

Thread Starter

cmartinez

Joined Jan 17, 2007
8,257
Nice work.

Is their something different about the PCB material?
Thank you.

Nothing special about the PCB really... it was made using the toner transfer method that I mentioned in this post, using red ink. And BTW, you may want to consider placing that post in the completed projects forum as well. Soon I'll also post plans and pictures of my etching tank.
 
Top