+ Reply to Thread
Page 2 of 2
First 1 2
Results 16 to 23 of 23

Thread: Read current (voltage drop across resistor) in two directions

  1. #16
    Odysseas Newbie
    Join Date
    Sep 2006
    Location
    Kaufbeuren, Germany
    Posts
    71

    Default

    Alright, now I think I understand what you mean. But that would still only allow me to sense the current for all motors (at least when they're running in in one certain direction), not for each individual motor.

    Let's say two motors run forward (the first relay provides GND to the common wire, and two of the other relays provide +12Volts), then all the current would flow through the left relay, meaning I can only read the current drawn by both motors. If the motors run backwards (the left relay provides +12Volts, the other two provide GND), then I can read every individual current drain, but that's only 50% of the proper solution...

    Please correct me if I still don't get it.
    Seize the time, and seize it now!


  2. #17
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,848
    Blog Entries
    13

    Default

    hi,
    This is an option, ref attachment.
    Attached Images
    Last edited by ericgibbs; 7th July 2008 at 11:22 AM.
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

    Link to my Articles: http://www.electro-tech-online.com/a...icgibbs-55450/

  3. #18
    Odysseas Newbie
    Join Date
    Sep 2006
    Location
    Kaufbeuren, Germany
    Posts
    71

    Default

    You once said that I could also build an instrumentation amp from simple OP Amps. How do I do that? Because the plain inst amps are fairly expensive, especially considering that I would need four of them...
    Seize the time, and seize it now!

  4. #19
    ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent ericgibbs Excellent
    Join Date
    Jan 2007
    Location
    Hampshire. England.
    Posts
    10,848
    Blog Entries
    13

    Default

    Quote Originally Posted by Odysseas
    You once said that I could also build an instrumentation amp from simple OP Amps. How do I do that? Because the plain inst amps are fairly expensive, especially considering that I would need four of them...
    Hi,
    Example, ref gif
    Attached Images
    Last edited by ericgibbs; 7th July 2008 at 11:22 AM.
    Eric " Good enough is Perfect "
    I will NOT answer PM's requesting technical help, please use the Forum
    PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/

    Link to my Articles: http://www.electro-tech-online.com/a...icgibbs-55450/

  5. #20
    Ambient Newbie
    Join Date
    Jul 2006
    Location
    Massachusetts, USA
    Posts
    376

    Default

    The 6134 op-amps are kinda pricey, but the ones I have go rail-to-rail very nicely. It seems like you will need a rail-to-rail amp, as the input on one end of the resistor will be either 12V or 0V. So not using a r-r op-amp will possibly give you some offset from 0 or 12V. Some op-amps will give enough offset to really screw up the final output to the uC. They usually go for around $4 per package of dual amps. So they are not too bad. But Someone else may know of another r-r that is cheaper.

    Is r-r needed here? Am I totally off?

  6. #21
    eblc1388 Excellent eblc1388 Excellent eblc1388 Excellent eblc1388 Excellent eblc1388 Excellent
    Join Date
    Jan 2005
    Location
    UK
    Posts
    2,226

    Default

    Hi Odysseas,

    I looked again at your motor control schematic and cannot be sure it will work as you would have intended.

    Supply of each motor is controlled via a single 1P2T relay but then you switched the common of all the motors via another relay.

    This will not allow individual motor to rotate in either direction. You have created a situation that a motor can either run in a certain direction or just stop, depending on the state of its control relay.

    In order to run motor in both directions, you would need a 2P2T relay for each motor to reverse the current to the motor.

    If you place the current measurement resistor of each motor before this relay then all the current will be in a single direction and you don't have to use differential Opamp for voltage measurement.

    Is this really what you have wanted?

    edited: correct bad spelling.
    Last edited by eblc1388; 16th October 2007 at 07:17 AM.
    L.Chung

  7. #22
    Odysseas Newbie
    Join Date
    Sep 2006
    Location
    Kaufbeuren, Germany
    Posts
    71

    Default

    Yes, this is fine. I am aware of the restriction that all motors can only run in one direction or be off, but, as I said, I cannot modify the wiring of the motors, so I have no influence here to change this.

    I am presently testing a different solution, without precision current metering... I'll post again here once I know whether or not it works
    Seize the time, and seize it now!

  8. #23
    speakerguy79 Excellent speakerguy79 Excellent speakerguy79 Excellent speakerguy79 Excellent speakerguy79 Excellent speakerguy79 Excellent speakerguy79 Excellent
    Join Date
    May 2007
    Location
    USA
    Posts
    1,414

    Default

    Bidirectional current sense amplifier? Try MAX4081.

+ Reply to Thread
Page 2 of 2
First 1 2

Similar Threads

  1. Stabilised Power Supply with Current Limiting
    By mechie in forum Electronic Projects
    Replies: 41
    Latest: 11th May 2009, 10:20 PM
  2. Battery Charger with auto shut-off feature
    By hardcore misery in forum Electronic Projects Design/Ideas/Reviews
    Replies: 134
    Latest: 12th February 2008, 08:20 PM
  3. Voltage
    By ElectroMaster in forum Electronic Theory
    Replies: 44
    Latest: 8th August 2007, 05:35 PM
  4. Need some help with a code provided by ATMEL
    By ikalogic in forum Micro Controllers
    Replies: 1
    Latest: 23rd January 2007, 02:46 PM
  5. imulate a small Voltage Drop Out with MOSFET vs. parasitic capacitances
    By dirkdiggler2oo2 in forum Electronic Projects Design/Ideas/Reviews
    Replies: 6
    Latest: 22nd December 2006, 02:30 PM

Tags for this Thread