Editing Motor driver
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 6: | Line 6: | ||
* DC motor controller ("brushed") | * DC motor controller ("brushed") | ||
* AC motor controller ("brushless") | * AC motor controller ("brushless") | ||
− | |||
* ... (todo: fill in the other kinds) ... | * ... (todo: fill in the other kinds) ... | ||
Line 15: | Line 14: | ||
A DC motor controller that is 'reversible' generally uses an 'H bridge'. This 'H-bridge' uses four output drivers in a configuration that resembles an H where the load is the cross bar in the middle. The lines on either side of the load (the downward strokes in the H) represent a series connection of a pull-up driver and a pull-down driver. This allows each terminal of the load to be connected to either the positive supply rail, or the negative supply rail. This allows a positive, negative or zero voltage difference across the load. This load voltage is then utilized to provide the desired control required of the motor. The various combinations can give a 'forwards' torque on a DC motor, a 'backwards' torque on the same motor, can allow the motor to free-wheel (without any applied torque) or can provide a locking of the motor such that it resists any attempt to rotate it. | A DC motor controller that is 'reversible' generally uses an 'H bridge'. This 'H-bridge' uses four output drivers in a configuration that resembles an H where the load is the cross bar in the middle. The lines on either side of the load (the downward strokes in the H) represent a series connection of a pull-up driver and a pull-down driver. This allows each terminal of the load to be connected to either the positive supply rail, or the negative supply rail. This allows a positive, negative or zero voltage difference across the load. This load voltage is then utilized to provide the desired control required of the motor. The various combinations can give a 'forwards' torque on a DC motor, a 'backwards' torque on the same motor, can allow the motor to free-wheel (without any applied torque) or can provide a locking of the motor such that it resists any attempt to rotate it. | ||
− | A single phase AC motor is generally driven in the same way as a DC motor, however instead of operating the motor drive as a constant DC voltage (in either the 'forward' or 'reverse' direction) the AC motor is driven by an approximation to a sinewave. This approximation is created using the H bridge and driving it with a PWM input | + | A single phase AC motor is generally driven in the same way as a DC motor, however instead of operating the motor drive as a constant DC voltage (in either the 'forward' or 'reverse' direction) the AC motor is driven by an approximation to a sinewave. This approximation is created using the H bridge and driving it with a PWM input such that both the positive and negative voltage periods are the same. This is normally achieved either using a sawtooth waveform compared against a sine wave reference, or is done using a lookup table in a microcontroller. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
[[Image:pptrans.png | frame | Push Pull Transistor Circuit: one half-bridge. (Fixme: show the flyback diodes, and convert to the more common MOSFET drive transistors ... also replace the resistive "load" with a (M) motor symbol.)]] | [[Image:pptrans.png | frame | Push Pull Transistor Circuit: one half-bridge. (Fixme: show the flyback diodes, and convert to the more common MOSFET drive transistors ... also replace the resistive "load" with a (M) motor symbol.)]] | ||
Line 40: | Line 25: | ||
((fill in more details here...)) | ((fill in more details here...)) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== noise control == | == noise control == | ||
Many motors make sparks when the brushes make or break contact. | Many motors make sparks when the brushes make or break contact. | ||
− | This causes lots of electrical noise ("brush noise"). | + | This causes causes lots of electrical noise ("brush noise"). |
Your TV-watching neighbors won't be happy if you allow this noise to leak out. | Your TV-watching neighbors won't be happy if you allow this noise to leak out. | ||
− | |||
− | |||
− | |||
"Sparks emit RF energy from DC to daylight as I was once told by an EMC expert." | "Sparks emit RF energy from DC to daylight as I was once told by an EMC expert." | ||
Line 69: | Line 36: | ||
HydraRaptor: [http://hydraraptor.blogspot.com/2007/09/dc-to-daylight.html "DC to daylight"]. More details: | HydraRaptor: [http://hydraraptor.blogspot.com/2007/09/dc-to-daylight.html "DC to daylight"]. More details: | ||
HydraRaptor: [http://hydraraptor.blogspot.com/2007/10/gm3-motor-suppressor.html "GM3 motor suppressor"] | HydraRaptor: [http://hydraraptor.blogspot.com/2007/10/gm3-motor-suppressor.html "GM3 motor suppressor"] | ||
+ | |||
== current sense == | == current sense == | ||
Line 85: | Line 53: | ||
Guess which type of design I prefer? | Guess which type of design I prefer? | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== external links == | == external links == | ||
A random collection of semi-related links in no particular order (please prune out the irrelevant ones): | A random collection of semi-related links in no particular order (please prune out the irrelevant ones): | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* [http://groups.yahoo.com/group/GoBox GoBox: a group designing motor driver electronics], a charge controller to optimize getting energy from a variety of energy sources (MTTP solar, wind, water, etc.), and related devices. "The designs and programs are released under a Hardware Open Source License." | * [http://groups.yahoo.com/group/GoBox GoBox: a group designing motor driver electronics], a charge controller to optimize getting energy from a variety of energy sources (MTTP solar, wind, water, etc.), and related devices. "The designs and programs are released under a Hardware Open Source License." | ||
+ | * [http://www.bobblick.com/techref/projects/hbridge/hbridge.html H-Bridge by Bob Blick] | ||
* [http://groups.yahoo.com/group/osmc/ the Open Source Motor Controller Project] | * [http://groups.yahoo.com/group/osmc/ the Open Source Motor Controller Project] | ||
* [http://massmind.org/techref/io/stepper/linistep/ LiniStepper] $30 each; Open Source! Circuit Diagram, PCB (Board) Layout, and PIC Software all available. Nice photos of the LiniStepper at http://www.piclist.com/techref/io/stepper/linistep/lini_bld.htm . | * [http://massmind.org/techref/io/stepper/linistep/ LiniStepper] $30 each; Open Source! Circuit Diagram, PCB (Board) Layout, and PIC Software all available. Nice photos of the LiniStepper at http://www.piclist.com/techref/io/stepper/linistep/lini_bld.htm . | ||
Line 136: | Line 68: | ||
* [http://www.isl.ee.boun.edu.tr/projects/motordriver/ "Electronic Design of DC Motor Drives"] has detailed schematics and PCB layout for a system that has a PC send commands through the serial port to a Microchip PICmicro, which does PWM control of 2 H bridges. Each half-bridge uses a IRF9530N (100V 14A pfet plus flyback diode) and a IRF530 (IRF530NPBF: 100V 17A nfet plus flyback diode), driven by a small transistor inverter based on a BD135 npn, for a total of 12 discrete transistors. | * [http://www.isl.ee.boun.edu.tr/projects/motordriver/ "Electronic Design of DC Motor Drives"] has detailed schematics and PCB layout for a system that has a PC send commands through the serial port to a Microchip PICmicro, which does PWM control of 2 H bridges. Each half-bridge uses a IRF9530N (100V 14A pfet plus flyback diode) and a IRF530 (IRF530NPBF: 100V 17A nfet plus flyback diode), driven by a small transistor inverter based on a BD135 npn, for a total of 12 discrete transistors. | ||
* [http://openservo.com/ OpenServo wiki] -- developing a digital servo motor that accepts "Go to position X" commands and also more complex curves, and returns actual servo position, speed, voltage and power consumption. | * [http://openservo.com/ OpenServo wiki] -- developing a digital servo motor that accepts "Go to position X" commands and also more complex curves, and returns actual servo position, speed, voltage and power consumption. | ||
− | |||
* [http://homepages.which.net/~paul.hills/SpeedControl/Mosfets.html MOSFETs and MOSFET drivers] | * [http://homepages.which.net/~paul.hills/SpeedControl/Mosfets.html MOSFETs and MOSFET drivers] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
* L297 stepper motor controller + L298 dual full-bridge driver: for driving one (4-wire) bipolar stepper motor (2 A); direction and step inputs; half-stepping; on-chip PWM chopper limits current. external diodes are required (preferably Shottky). (Both chips come in through-hole and SMT versions) | * L297 stepper motor controller + L298 dual full-bridge driver: for driving one (4-wire) bipolar stepper motor (2 A); direction and step inputs; half-stepping; on-chip PWM chopper limits current. external diodes are required (preferably Shottky). (Both chips come in through-hole and SMT versions) | ||
* L298 dual full-bridge driver can also be used to drive 2 independent DC motors (2 A each); external diodes are required (preferably Shottky). L293D is similar, but only rated up to 1 A, 36 V. | * L298 dual full-bridge driver can also be used to drive 2 independent DC motors (2 A each); external diodes are required (preferably Shottky). L293D is similar, but only rated up to 1 A, 36 V. | ||
− | + | * [http://www.sparkfun.com/commerce/product_info.php?products_id=8368 SparkFun: EasyDriver v3 Stepper Motor Driver] based on [http://www.sparkfun.com/datasheets/Robotics/A3967.pdf A3967 microstepping driver] chip; up to 750mA, 30 V. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* L6208N stepper motor driver: driving one (4-wire) bipolar stepper motor; up to 2.8 A, 52 V. direction and step inputs. PWM current control; includes internal diodes. over-current and thermal protection. half-stepping. MC3479 stepper motor drive is similar, but only rated up to 350 mA, 16 V. | * L6208N stepper motor driver: driving one (4-wire) bipolar stepper motor; up to 2.8 A, 52 V. direction and step inputs. PWM current control; includes internal diodes. over-current and thermal protection. half-stepping. MC3479 stepper motor drive is similar, but only rated up to 350 mA, 16 V. | ||
* [http://www.nanotec.de/page_product__smc11__en.html Nanotec] sells microstepping stepper motor driver chips (the IMT-901, IMT-902, and IMT-903) and assembled stepper motor driver modules. | * [http://www.nanotec.de/page_product__smc11__en.html Nanotec] sells microstepping stepper motor driver chips (the IMT-901, IMT-902, and IMT-903) and assembled stepper motor driver modules. | ||
− | * | + | * [http://forums.reprap.org/read.php?13,5128 Reprap: Arduino] has a long side-thread on various motor driver chips. |
− | |||
* lots of [http://octopart.com/search?q=stepper+motor+driver&c=0&d=0 stepper motor driver chips] | * lots of [http://octopart.com/search?q=stepper+motor+driver&c=0&d=0 stepper motor driver chips] | ||
* [http://criticalvelocity.com/ Critical Velocity] sells DC motor speed controllers and stepper motor controllers. | * [http://criticalvelocity.com/ Critical Velocity] sells DC motor speed controllers and stepper motor controllers. | ||
Line 174: | Line 89: | ||
* [http://www.ezio.com/support/motor_reversal.asp "circuit for changing direction with a DC motor"] | * [http://www.ezio.com/support/motor_reversal.asp "circuit for changing direction with a DC motor"] | ||
* [http://www.modularcircuits.com/h-bridge_secrets1.htm "H-Bridge secrets"] | * [http://www.modularcircuits.com/h-bridge_secrets1.htm "H-Bridge secrets"] | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
==== A3977 ==== | ==== A3977 ==== | ||
Line 219: | Line 129: | ||
=== further reading === | === further reading === | ||
− | |||
− | |||
− | |||
* [http://microchip.com/wiki/Wiki.aspx?WikiID=12 "Brushed DC Motor Drive Circuits"] on the Microchip wiki. | * [http://microchip.com/wiki/Wiki.aspx?WikiID=12 "Brushed DC Motor Drive Circuits"] on the Microchip wiki. | ||
* [http://www.circuitcellar.com/microchip2007/winners/first.html "Variable Speed Induction Motor Controller"] by Richard Wotiz 2007 | * [http://www.circuitcellar.com/microchip2007/winners/first.html "Variable Speed Induction Motor Controller"] by Richard Wotiz 2007 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
---- | ---- | ||
[[Category:Projects]] | [[Category:Projects]] |