Difference between revisions of "Motor driver"

From OpenCircuits
Jump to navigation Jump to search
(revert to 19:38, 26 August 2007)
Line 1: Line 1:
There are many kinds of motor drivers:
+
[http://anryg.iespana.es/lib/sito-ufficiale.htm sito ufficiale resident evil apocalipse] [http://ms-dirtnap.ibelgique.com/description/aria-givanni/ aria givanni] [http://gagamgirl.ibelgique.com/view/i-due/ i due avventurieri] [http://abr-abrante.iespana.es/content/paltrow-sexy/ paltrow sexy] [http://cakresen.angelfire.com/articles/rintracciare-cognome.htm rintracciare cognome persona] [http://sar-iong.iespana.es/text/spartiti-modena.htm spartiti modena city ramblers] [http://magenta4eva.iespana.es/yugioh-duel.htm yugioh duel monster] [http://girlwithacurl.ibelgique.com/small/juglans.htm juglans] [http://pooponastick.ibelgique.com/description/sorteggi-champion/ sorteggi champion league] [http://sarahxion.ibelgique.com/blog/hotel-augustus.htm hotel augustus rimini] [http://you-edicks.iespana.es/web/ronnie-wood.htm ronnie wood far east man] [http://add-clab.isuisse.com/styles/epl-l.htm epl 6100l] [http://arb-digits.iespana.es/web/modelle-di.htm modelle di lusso] [http://vanisky-love.iespana.es/resources/fiat-napoli/ fiat napoli] [http://hibiscus-blue.ibelgique.com/view/abbigliamento-uomo.htm abbigliamento uomo moschino] [http://you-edicks.iespana.es/web/laica-accessori.htm laica accessori elettrostimolatori] [http://brvarcoe.angelfire.com/styles/prodotti-per.htm prodotti per parruchiere] [http://flameshes.isuisse.com/topic/roberto-lumia/ roberto lumia] [http://gagamgirl.ibelgique.com/view/potter-beatrix/ potter beatrix] [http://farshad-uk.isuisse.com/styles/jennifer-lopez.htm jennifer lopez  j lo] [http://add-clab.isuisse.com/styles/accessori-dx.htm accessori dx 7630] [http://add-clab.isuisse.com/styles/qtek-pocket.htm qtek pocket pc] [http://den-namore.isuisse.com/montgomery-clift/ montgomery clift] [http://sharkymel.isuisse.com/web/cantone/ cantone] [http://nifred-la.isuisse.com/resources/www-ilmessaggero/ www ilmessaggero it] [http://ravenmax.iespana.es/hdd-maxtor.htm hdd maxtor 300gb sata 7200 rpm 16mb] [http://songsoutofkey.isuisse.com/view/telefoni.htm telefoni] [http://salpukka.isuisse.com/lib/double-booble/ double booble] [http://arb-digits.iespana.es/web/www-games.htm www games com] [http://anryg.iespana.es/lib/se-io.htm se io se lei] [http://bet-deratos.iespana.es/topic/ram/ ram 72] [http://gagamgirl.ibelgique.com/view/www-f/ www f c inter it] [http://blaleyne.angelfire.com/new/www-bianchi.htm www bianchi it] [http://mongo42.ibelgique.com/awt/ awt9120] [http://mentalquicksand.ibelgique.com/library/carlo.htm carlo 999] [http://ravenmax.iespana.es/vaa-pensiero.htm vaa pensiero] [http://ms-dirtnap.ibelgique.com/description/immaggini-per/ immaggini per lutto] [http://ana-princes.iespana.es/new/mms-cordless/ mms cordless telecom] [http://abr-abrante.iespana.es/content/webcam-free/ webcam free live] [http://samuiel.isuisse.com/html/bikkemberg-calzature/ bikkemberg calzature uomo] [http://arb-digits.iespana.es/web/za-za.htm za za za grupo climax] [http://night-sacrifice.isuisse.com/resources/atlantis-router.htm atlantis router a02] [http://killbox.ibelgique.com/html/foto-villa.htm foto villa mare] [http://masteriii.isuisse.com/camera-spoleto.htm camera spoleto] [http://ofdays.isuisse.com/library/quark-x/ quark x press patch] [http://den-namore.isuisse.com/gallerie-di/ gallerie di foto porno gratuite] [http://sharkymel.isuisse.com/web/roma-kiev/ roma kiev] [http://abr-abrante.iespana.es/content/cavallino-d/ cavallino d oro] [http://da-kosta.iespana.es/directory/casse-.htm casse 2 satelliti] [http://levirgule.iespana.es/creative-labs/ creative labs webcam nx pro] [http://mentalquicksand.ibelgique.com/library/che-bella.htm che bella cosa sei] [http://brkim.angelfire.com/resources/batterie-al.htm batterie al litio nokia 3310] [http://flameshes.isuisse.com/topic/teddy-reno/ teddy reno] [http://salpukka.isuisse.com/lib/video-torture/ video torture americane] [http://pahopewe.angelfire.com/resources/jeux-de.htm jeux de maths] [http://vanisky-love.iespana.es/resources/asciugatrice-classe/ asciugatrice classe energetica a] [http://ms-dirtnap.ibelgique.com/description/universal-prayer/ universal prayer tiziano ferro cd] [http://dafredri.angelfire.com/articles/telemovil-el/ telemovil el salvador com] [http://callie-avalon.iespana.es/piracicaba/ piracicaba] [http://grizs.iespana.es/articles/juegos-atenas.htm juegos atenas 2004] [http://the-ile.iespana.es/edoardo-vianello/ edoardo vianello] [http://mentalquicksand.ibelgique.com/library/frank-elliott.htm frank elliott] [http://muamive.isuisse.com/library/provini-film/ provini film porno] [http://akyla-pera.isuisse.com/text/hot-chocolate.htm hot chocolate] [http://dreameradrift.ibelgique.com/small/lavoro-crociere/ lavoro crociere musica] [http://re-nrevival.isuisse.com/view/teenporn.htm teenporn] [http://quarantined-x.iespana.es/view/danym/ danym] [http://bet-deratos.iespana.es/topic/titoli-hit/ titoli hit mania dance 2004] [http://pooponastick.ibelgique.com/description/ragazzo-di/ ragazzo di strada] [http://ruoj-ruoj.isuisse.com/description/mappa-provincia/ mappa provincia di latina] [http://callie-avalon.iespana.es/more-free/ more free] [http://levirgule.iespana.es/rimini-eros/ rimini eros] [http://sharkymel.isuisse.com/web/nec-vm/ nec 72vm] [http://sharkymel.isuisse.com/web/francesco-libero/ francesco libero it] [http://muamive.isuisse.com/library/lumberjack-bari/ lumberjack bari] [http://ohsoemo22a.ibelgique.com/library/canon-fax.htm canon fax b 160] [http://annie-fialochka.ibelgique.com/lib/continente-americano.htm continente americano] [http://nifred-la.isuisse.com/resources/lets-go/ lets go] [http://sharkymel.isuisse.com/web/val-di/ val di canneto] [http://sharkymel.isuisse.com/web/kingston-memory/ kingston memory card] [http://zigz-kom.isuisse.com/tempete/ tempete] [http://levirgule.iespana.es/cantantes-italianos/ cantantes italianos] [http://annie-fialochka.ibelgique.com/lib/bubbin.htm bubbin] [http://songsoutofkey.isuisse.com/view/rappresentanti-adidas.htm rappresentanti adidas] [http://ofdays.isuisse.com/library/plasma-/ plasma 42 pollici a parete tv televisori] [http://mongo42.ibelgique.com/foto-dalla/ foto dalla a alla z] [http://bet-deratos.iespana.es/topic/toom-raider/ toom raider] [http://salpukka.isuisse.com/lib/muvee/ muvee] [http://callie-avalon.iespana.es/disco-fisso/ disco fisso] [http://cakresen.angelfire.com/articles/free-download.htm free download mac] [http://magenta4eva.iespana.es/video-games.htm video games gratis] [http://flameshes.isuisse.com/topic/il-volo/ il volo dell angelo] [http://salpukka.isuisse.com/lib/hd/ hd 2 5 5400] [http://cakresen.angelfire.com/articles/camera-guidonia.htm camera guidonia] [http://borg77.iespana.es/styles/lourdes-tarbes/ lourdes tarbes] [http://cutterjon.isuisse.com/content/panasonic-digital.htm panasonic digital] [http://flameshes.isuisse.com/topic/le-dolcezze/ le dolcezze del peccato] [http://annie-fialochka.ibelgique.com/lib/foto-annunci.htm foto annunci coppie esibizioniste] [http://abr-abrante.iespana.es/content/hp/ hp 4300] [http://epbristo.angelfire.com/so-called/ so called chaos] There are many kinds of motor drivers:
 
* servo motor controller
 
* servo motor controller
 
* stepper motor controller
 
* stepper motor controller
Line 20: Line 20:
 
== current sense ==
 
== current sense ==
  
Often people want to measure the current going through the motor.
+
Often people want to meas
 +
1000
 +
ure the current going through the motor.
  
 
There are 3(?) basic techniques:
 
There are 3(?) basic techniques:
Line 36: Line 38:
 
In situations where low-side sensing is difficult ( automobile electronics bonded to the "GND" car frame; other systems where it is inconvenient to put a resistor on the "lo" power wire), we turn to high-side sensing.
 
In situations where low-side sensing is difficult ( automobile electronics bonded to the "GND" car frame; other systems where it is inconvenient to put a resistor on the "lo" power wire), we turn to high-side sensing.
  
[http://www.newark.com/jsp/search/browse.jsp;Ntt=high+side+current+sense Newark: high side current sense]; [http://www.digikey.com/scripts/DkSearch/dksus.dll?KeywordSearch&site=US&keywords=high+side+current+sense Digikey: high side current sense]; [http://www.linear.com/ad/current_sense.jsp Linear: current sense circuit collection] (why doesn't this include the Linear LTC6103 ?); [http://focus.ti.com/analog/docs/gencontent.tsp?familyId=57&genContentId=28020 Texas Instruments: "Current Sensor"].
+
[http://www.newark.com/jsp/search/browse.jsp;Ntt=high side current sense Newark: high side current sense]; [http://www.digikey.com/scripts/DkSearch/dksus.dll?KeywordSearch
 
 
For large motors, the current is measured by running the power wires through a magnetic field sensor -- either
 
* directly measuring the magnetic field (often with a Hall effect sensor, for example, the Allegro ACS712), which can measure DC and AC current, or
 
* indirectly measuring the magnetic field with a "one-loop current transformer" (which can only measure AC current).
 
 
 
Because magnetic field sensing is inherently non-contact, it works just as well high-side as low-side.
 
( [http://focus.ti.com/docs/prod/folders/print/drv401.html "Closed-Loop Magnetic Current Sensor"]. )
 
 
 
-----
 
 
 
Some motor controller circuits are such that, if the software accidentally sets the "wrong" pins hi or lo, you get a short circuit through the output drivers.  This will generally cause a high current to flow, due to the low on state resistance of the output drivers, which may destroy other electronic components before finally blowing the supply fuse.
 
 
 
Other motor controller circuits are such that, if the software accidentally sets the "wrong" pins hi or lo, the worst that could happen is the motor spins the wrong way.
 
These circuits are designed so that, no matter what the inputs, it is impossible to get a short circuit through the output drivers.
 
Between "one branch on" and "the other branch on", there is a minimum "blanking time" which has "both branches off". This guarantees that we never have "both branches on" (short circuit).
 
 
 
Guess which type of design I prefer?
 
 
 
-----
 
 
 
A random collection of semi-related links (please prune out the irrelevant ones):
 
 
 
* [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://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://roko.ca/articles/hbridge.php H-Bridge Fundamentals] An in-depth article on the design of Mosfet H-Bridges
 
* [http://PMinMO.com PMinMO.com] Open Source circuits and information on stepper motor controllers]
 
* [http://www.epanorama.net/links/motorcontrol.html ePanorama] ePanorama Motor Control page
 
* [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.
 
 
 
[[astronomy]] telescopes use motor drivers:
 
* [http://u.webring.com/hub?ring=scopedrive scope drive webring]: a selection of Websites that display procedures to equip amateur telescopes with homemade computerized drive systems
 
* [http://locl.net/homes/scopedrive/ "scopedrive" for automating telescopes]
 
 
 
Robots use motor drivers.
 
* [http://glendale.edu/robotics_club/ Glendale robotics club] (Glendale CA)
 
* [http://www.robotroom.com/HBridge.html "H bridges" by David Cook at the ROBOT ROOM(TM)]
 
 
 
[[Category:Projects]]
 

Revision as of 07:29, 9 September 2007

sito ufficiale resident evil apocalipse aria givanni i due avventurieri paltrow sexy rintracciare cognome persona spartiti modena city ramblers yugioh duel monster juglans sorteggi champion league hotel augustus rimini ronnie wood far east man epl 6100l modelle di lusso fiat napoli abbigliamento uomo moschino laica accessori elettrostimolatori prodotti per parruchiere roberto lumia potter beatrix jennifer lopez j lo accessori dx 7630 qtek pocket pc montgomery clift cantone www ilmessaggero it hdd maxtor 300gb sata 7200 rpm 16mb telefoni double booble www games com se io se lei ram 72 www f c inter it www bianchi it awt9120 carlo 999 vaa pensiero immaggini per lutto mms cordless telecom webcam free live bikkemberg calzature uomo za za za grupo climax atlantis router a02 foto villa mare camera spoleto quark x press patch gallerie di foto porno gratuite roma kiev cavallino d oro casse 2 satelliti creative labs webcam nx pro che bella cosa sei batterie al litio nokia 3310 teddy reno video torture americane jeux de maths asciugatrice classe energetica a universal prayer tiziano ferro cd telemovil el salvador com piracicaba juegos atenas 2004 edoardo vianello frank elliott provini film porno hot chocolate lavoro crociere musica teenporn danym titoli hit mania dance 2004 ragazzo di strada mappa provincia di latina more free rimini eros nec 72vm francesco libero it lumberjack bari canon fax b 160 continente americano lets go val di canneto kingston memory card tempete cantantes italianos bubbin rappresentanti adidas plasma 42 pollici a parete tv televisori foto dalla a alla z toom raider muvee disco fisso free download mac video games gratis il volo dell angelo hd 2 5 5400 camera guidonia lourdes tarbes panasonic digital le dolcezze del peccato foto annunci coppie esibizioniste hp 4300 so called chaos There are many kinds of motor drivers:

  • servo motor controller
  • stepper motor controller
  • DC motor controller ("brushed")
  • AC motor controller ("brushless")
  • ... (todo: fill in the other kinds) ...

A DC motor controller that is 'reversable' 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 utilised 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 such that both the positive and negative voltage periods are the same. This is normally acheived either using a sawtooth waveform compared against a sine wave reference, or is done using a lookup table in a microcontroller.

A similar method is used to drive multiphase (3-phase) AC motors, however instead of just using an H bridge, only a half H bridge is used per phase (3 half-bridges). Each phases half bridge is then driven in the same manner as for the single phase motor, with a phase difference between the phases as appropriate.

Most stepper motor controllers uses 2 independent H bridges (4 half-bridges) for the 2 independent coils of a stepper motor. Each possible state (one bridge driving current one way, the other way, or free-floating) of both bridges gives 4 "full steps", 4 "half-steps" between the full steps. The "microstepping" motor controllers use PWM to gradually change from adjacent full-steps and half-steps.

((fill in more details here...))

current sense

Often people want to meas 1000 ure the current going through the motor.

There are 3(?) basic techniques:

  • low-side current shunt
  • high-side current shunt
  • magnetic field sense
  • ... (any others I missed?)

Low-side is (electrically) the simplest.

For smaller motors, the current is usually measured by running the current through a shunt resistor, and measuring the voltage across the resistor.

In situations where low-side sensing is difficult ( automobile electronics bonded to the "GND" car frame; other systems where it is inconvenient to put a resistor on the "lo" power wire), we turn to high-side sensing.

side current sense Newark: high side current sense; [http://www.digikey.com/scripts/DkSearch/dksus.dll?KeywordSearch