Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Measuring current on negative rail.

Status
Not open for further replies.

markdem

Member level 3
Joined
May 16, 2006
Messages
58
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,830
Hi All,
I thought this was going to be easy, but I was wrong. I have a dual rail power supply that I would like to add some voltage and amp display to. As I would also like to do some logging, I thought doing both with a PIC is the way to go.
The voltage part is fine, it is the current path that is getting me. As the power supply will be low power (under 2 amps) I was just going to use a shunt (.1 ohm 10w resister). I just have to measure the voltage drop. I can do it on the positive rail, but the negative rail is giving me different outputs. Please see the attached file for my circuit. I just can’t work out why the negative is different. I have tried to swap the inputs and change the feedback to positive, but I still am getting outputs that don’t match what I am measuring.
Can anyone help me out with this one?
Thanks
Mark
 

Attachments

  • untitled.JPG
    untitled.JPG
    47.5 KB · Views: 102

OK, after some playing around i have found if I first invert the voltage coming from the negative rail, then put it thought the op-amp, the circuit works.

I still have two questions.

1. Is this the right way of going about this? Is there a easier or better way?
2. The source voltage will go to +\-30v. This is outside of the op-amp input range. Can I just use a resistor divider to bring the voltage down? Will this have a impact on my measurement of the current?

I have included the new circuit to make it easy to see what I have done. Please note the LEDs are only there to provide a load to test.

Thanks
 

Attachments

  • untitled.JPG
    untitled.JPG
    74.6 KB · Views: 106

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top