Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 14th October 2007, 10:25 PM   (permalink)
Experienced Member
 
Odysseas is on a distinguished road
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!
Odysseas is offline   Reply With Quote
Old 15th October 2007, 10:15 AM   (permalink)
Experienced Member
 
ericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to behold
Default

hi,
This is an option, ref attachment.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 7th July 2008 at 11:22 AM.
ericgibbs is online now   Reply With Quote
Old 15th October 2007, 11:39 AM   (permalink)
Experienced Member
 
Odysseas is on a distinguished road
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!
Odysseas is offline   Reply With Quote
Old 15th October 2007, 05:39 PM   (permalink)
Experienced Member
 
ericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to beholdericgibbs is a splendid one to behold
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
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 7th July 2008 at 11:22 AM.
ericgibbs is online now   Reply With Quote
Old 16th October 2007, 04:58 AM   (permalink)
Experienced Member
 
Ambient is on a distinguished road
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?
Ambient is offline   Reply With Quote
Old 16th October 2007, 07:05 AM   (permalink)
Experienced Member
 
eblc1388 is just really niceeblc1388 is just really niceeblc1388 is just really nice
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.
__________________
L.Chung

Last edited by eblc1388; 16th October 2007 at 07:16 AM.
eblc1388 is offline   Reply With Quote
Old 17th October 2007, 04:52 PM   (permalink)
Experienced Member
 
Odysseas is on a distinguished road
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!
Odysseas is offline   Reply With Quote
Old 18th October 2007, 04:24 AM   (permalink)
Experienced Member
speakerguy79 is on a distinguished road
Send a message via AIM to speakerguy79 Send a message via MSN to speakerguy79
Default

Bidirectional current sense amplifier? Try MAX4081.
speakerguy79 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Expert Stabilised Power Supply with Current Limiting mechie Electronic Projects 36 11th March 2008 07:16 PM
Battery Charger with auto shut-off feature hardcore misery Electronic Projects Design/Ideas/Reviews 134 12th February 2008 08:19 PM
Voltage ElectroMaster Electronic Theory 44 8th August 2007 05:35 PM
Need some help with a code provided by ATMEL ikalogic Micro Controllers 1 23rd January 2007 02:45 PM
imulate a small Voltage Drop Out with MOSFET vs. parasitic capacitances dirkdiggler2oo2 Electronic Projects Design/Ideas/Reviews 6 22nd December 2006 02:29 PM



All times are GMT. The time now is 10:35 AM.


Electronic Circuits  |  Radio Controlled
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.