To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 96
95  |  97
Subject: 
RE: motor control
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Fri, 23 Feb 1996 02:21:21 GMT
Original-From: 
Chuck McManis <CMCMANIS@NETCOM.nomorespamCOM>
Viewed: 
2151 times
  
There is no recommended way. I've got a pretty simple bipolar
H-bridge design that you can connect up pretty easily using an
opto isolator and get 3 - 6amps of control and software compatibility.
Unfortunately I'm not in the kit business nor do I have the time to
put together a wonderful package like the ones Fred does. This works
great on the miniboard, I've not checked the HB docs so Fred correct
me if the motor connector operation is not the same.

Allow me to describe it and if you can solder you should be able
to build it:

The motor connector has three pins they are actually Motor A, V+,
Motor B. Normally they are all at V+ when the motor is "off" (the
motor is simply monitoring the difference between Motor A and
Motor B. When you "turn on" the motor either Motor A or Motor B
(depending on direction) goes to ground potential, and the motor
sees the voltage difference and runs.

You can build a common collector H-bridge using TIP120 and TIP125
darlington power transistors. The bridge is built by connecting the
emitters of the PNP transistors to the motor supply, connect the
collectors of one pair together and to one terminal of the motor,
and connect the collectors of the other pair together and to the
other motor terminal. Connect the emitters of the two NPN
transistors to ground. Put diodes (I us 1N4001's but you can use
anything that is rated > 10amps surge) connected between the
collectors and emitters of each power transistor, making sure
they are reverse biased (that is the banded end connects closer to
the V+ supply than the other end)

They should be configured sort of like this:

V+
|
+------------------+
|                  |
    Q1+-+            +-+ Q2
------O ^ D1        D2 ^ O-----
+-+              +-+
|                  |
+---   Motor   ----+
|              |
   Q3 +-+              +-+ Q4
------O ^ D3        D4 ^ O-----
+-+              +-+
|        |
+-------+----------+
        |
      Ground

Q1 and Q2 are PNP, Q3 and Q4 are NPN, D1 thru D4 are the diodes.

Now connect the emitter of one 2N2907 to the base of Q1, connect
the emitter of the 2907 to a 180 ohm resistor and then connect
the resistor to the base input of Q4. Do the same thing with
another 2N2907 connecting the base of Q2 to the base of Q3 through
a 180 ohm resistor. Now connect an opto isolator to the motor drive
as follows. Connect two of the internal LED cathodes to the middle
pin of the motor connector. Connect the cathodes of the LEDs through
a 330 - 470 ohm resistor one each to motor A and motor B of that
connector. Now on the transistor side of the optoisolator. Connect
the collectors of the affected transistors to a 1K resistor and then
to the V+ motor supply. Connect the emitters of these transistors
to ground. Now where the 1K resistors connect to the optoisoloater
transistor collecters connect them also (one each) to the base
of the 2n2907's.

The way it works is as follows:
The motor driver (L293D) turns "on" by grounding either
Motor A or Motor B, this causes the LED in the optoisolator
to illuminate. Which turns on the associated transistor in
the optoisolator. The optoisolator transistor turns on and
connects the base of the appropriate 2n2907 to ground which
turns on the 2n2907. Current then flows through the 2n2907
which pulls down the base of the PNP transistor is connected
to and pulls up the base of the NPN transistor. These two
transistors turn on and current flows through the motor.

The added advantage here is that the motor supply on the external
H-bridge can be much higher and separate from the supply on the
Handy board. Thus you can run 48v motors for example.

Sorry I can't do better graphics on short notice.

--Chuck

----------
From: Scott Brown[SMTP:sdb110@psu.edu]
Sent: Wednesday, February 21, 1996 7:13 PM
To: handyboard@media.mit.edu
Subject: motor control



What is the recommended method for connecting motors that draw over 1Amp. to
the L293D chips??  Can this be done at all?

                        -SB



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR