Difference between revisions of "Motor driver"

From OpenCircuits
Jump to navigation Jump to search
m (Reverted edits by 209.222.238.205 (Talk); changed back to last version by DavidCary)
Line 1: Line 1:
[http://rjste-boat.ifrance.com/articles/la-forza4/ la forza dellamore] [http://leg-erin.ifrance.com/new/giochi-di97/ giochi di  sala  gochi  200] [http://tanya-abramova.ifrance.com/html/film-erotici3/ film erotici] [http://vlut-enya.ifrance.com/text/igiene-orale/ igiene orale] [http://aipir-ine.ifrance.com/cartoonnetwork-it/ cartoonnetwork it] [http://roma-uid.ifrance.com/lib/san-remo4.htm san remo 2002] [http://kzer-ncer.ifrance.com/library/dalessio.htm dalessio] [http://rut-hete.ifrance.com/directory/provincia-mantova.htm provincia mantova it] [http://carolli-nne.ifrance.com/text/ratchet-clank2/ ratchet clank] [http://tanya-abramova.ifrance.com/html/case-vacanze13/ case vacanze affitto piemonte] [http://citize-snips.ifrance.com/blog/berg-nick/ berg nick] [http://carolli-nne.ifrance.com/text/hofmeister-wilhelm/ hofmeister wilhelm friedrich] [http://vlut-enya.ifrance.com/text/lettore-mp189/ lettore mp3 usb 1gb radio] [http://kzer-ncer.ifrance.com/library/roberto-cavalli19.htm roberto cavalli donna 40 ml] [http://rut-hete.ifrance.com/directory/clip-blue.htm clip blue] [http://leg-erasin.ifrance.com/description/un-piacevole.htm un piacevole imbroglio] [http://leg-erin.ifrance.com/new/intestatura/ intestatura] [http://tanya-abramova.ifrance.com/html/imagin/ imagin] [http://aipir-ine.ifrance.com/hs4/ hs 801] [http://luzerna-reviver.ifrance.com/text/fs-orario.htm fs orario] [http://vlut-enya.ifrance.com/text/company-segundo/ company segundo] [http://citize-snips.ifrance.com/blog/jvc6/ jvc 500] [http://aipir-ine.ifrance.com/in/ in 3] [http://mise-efaith.ifrance.com/cuculo.htm cuculo] [http://chri-ari.ifrance.com/directory/illegale.htm illegale] [http://roma-uid.ifrance.com/lib/hauppauge-win3.htm hauppauge win tv nova] [http://rjste-boat.ifrance.com/articles/firehouse-five1/ firehouse five plus 2] [http://citize-snips.ifrance.com/blog/www-chieti/ www chieti it] [http://luzerna-reviver.ifrance.com/text/affitto-casa4.htm affitto casa vacanza sirmione] [http://chri-ari.ifrance.com/directory/scopate-gratis1.htm scopate gratis] [http://dtyc-seti.ifrance.com/new/www-musicamp.htm www musicamp3 com] [http://luzerna-reviver.ifrance.com/text/autoradio-sony.htm autoradio sony con telecomando] [http://citize-snips.ifrance.com/blog/offerta-auto/ offerta auto km 0] [http://mani-ndon.ifrance.com/new/hub-usb22/ hub usb 2 alimentatore] [http://rut-hete.ifrance.com/directory/casio-exilim29.htm casio exilim exz750] [http://tanya-abramova.ifrance.com/html/doctorate-degree/ doctorate degree] [http://tanya-abramova.ifrance.com/html/chicco-triciclo/ chicco triciclo] [http://leg-erasin.ifrance.com/description/cyclette-con.htm cyclette con programmi] [http://kzer-ncer.ifrance.com/library/broken-dei.htm broken dei seether] [http://lezew0our.ifrance.com/description/luna-e.htm luna e stelle] [http://mani-ndon.ifrance.com/new/sylver-shallow/ sylver shallow water] [http://corvisn-rnum.ifrance.com/lib/zucchero-indaco2/ zucchero indaco] [http://aipir-ine.ifrance.com/ca-si1/ ca si hong dung] [http://mani-ndon.ifrance.com/new/medal-of9/ medal of honor codici] [http://lezew0our.ifrance.com/description/lexar-jumpdrive2.htm lexar jumpdrive 2 gb] [http://mani-ndon.ifrance.com/new/prestito-pesaro/ prestito pesaro] [http://leg-erin.ifrance.com/new/powershot1/ powershot 95] [http://tanya-abramova.ifrance.com/html/video-bluvertigo/ video bluvertigo] [http://aipir-ine.ifrance.com/mx10/ mx 900] [http://rjste-boat.ifrance.com/articles/tartaruga-giardino/ tartaruga giardino] [http://dtyc-seti.ifrance.com/new/altoparlanti-per7.htm altoparlanti per lettori mp3] [http://kzer-ncer.ifrance.com/library/notizie-di2.htm notizie di cento vetrine] [http://lezew0our.ifrance.com/description/ef-mm20.htm ef 28mm f 2 8] [http://lezew0our.ifrance.com/description/bigass.htm bigass] [http://pho-enixt.ifrance.com/styles/cronometro-mp/ cronometro mp3 samsung lettori] [http://away-warf.ifrance.com/new/lanet-tunisie/ lanet tunisie] [http://aipir-ine.ifrance.com/petrolmeccanica/ petrolmeccanica] [http://dtyc-seti.ifrance.com/new/sor-juana.htm sor juana ines de la cruz] [http://vlut-enya.ifrance.com/text/ss/ ss] [http://chri-ari.ifrance.com/directory/rifiuti.htm rifiuti] [http://rjste-boat.ifrance.com/articles/baby-gang/ baby gang] [http://chri-ari.ifrance.com/directory/il-romanista.htm il romanista it] [http://leg-erasin.ifrance.com/description/luli-bossa.htm luli bossa] [http://luzerna-reviver.ifrance.com/text/offerte-di21.htm offerte di lavoro brescia] [http://rjste-boat.ifrance.com/articles/fotoannunci-ragazze/ fotoannunci ragazze] [http://aipir-ine.ifrance.com/immagini-chicchi/ immagini chicchi di caffe] [http://pho-enixt.ifrance.com/styles/terme-lusso/ terme lusso] [http://aipir-ine.ifrance.com/classe/ classe 2000] [http://mani-ndon.ifrance.com/new/cocaina-a/ cocaina a caserta giovane avvocato] [http://rjste-boat.ifrance.com/articles/canzoni-d1/ canzoni d amore straniere] [http://leg-erasin.ifrance.com/description/fucili-subacquei.htm fucili subacquei diving pesca] [http://kzer-ncer.ifrance.com/library/wali-video.htm wali video] [http://mani-ndon.ifrance.com/new/orientale-zambia/ orientale (zambia)] [http://chri-ari.ifrance.com/directory/madonna-re.htm madonna re invention world tour 2004] [http://kzer-ncer.ifrance.com/library/notebook-9.htm notebook 64 bit] [http://tanya-abramova.ifrance.com/html/franco-angeli1/ franco angeli editore] [http://chri-ari.ifrance.com/directory/digital1.htm digital 5500] [http://rjste-boat.ifrance.com/articles/hd17/ hd 200] [http://corvisn-rnum.ifrance.com/lib/configurazione-siemens/ configurazione siemens sl55] [http://leg-erin.ifrance.com/new/np-fp1/ np fp 50] [http://roma-uid.ifrance.com/lib/poly-boy.htm poly boy] [http://carolli-nne.ifrance.com/text/soluzioni-giochi3/ soluzioni giochi siberia] [http://luzerna-reviver.ifrance.com/text/fontane-per1.htm fontane per interni] [http://dtyc-seti.ifrance.com/new/indocina-film.htm indocina film] [http://dtyc-seti.ifrance.com/new/tradestation.htm tradestation] [http://aipir-ine.ifrance.com/chardonnay-planeta/ chardonnay planeta] [http://away-warf.ifrance.com/new/esploratore/ esploratore] [http://luzerna-reviver.ifrance.com/text/tatuaggi-maori.htm tatuaggi maori gratis] [http://corvisn-rnum.ifrance.com/lib/coriolanus/ coriolanus] [http://carolli-nne.ifrance.com/text/qtec-case/ qtec case] [http://dtyc-seti.ifrance.com/new/keyboard-switch.htm keyboard switch] [http://mise-efaith.ifrance.com/rio-nitrus.htm rio nitrus] [http://corvisn-rnum.ifrance.com/lib/video-poker1/ video poker dowloads] [http://leg-erin.ifrance.com/new/immagini-diddl/ immagini diddl desktop] [http://mani-ndon.ifrance.com/new/tariffe-parcheggio/ tariffe parcheggio] [http://lezew0our.ifrance.com/description/www-chat6.htm www chat su dediche it] [http://pho-enixt.ifrance.com/styles/gallerie-gratis1/ gallerie gratis donne mature] [http://kzer-ncer.ifrance.com/library/marcia-nuziale6.htm marcia nuziale mendelssohn] [http://roma-uid.ifrance.com/lib/pagnossin-group.htm pagnossin group] [http://mise-efaith.ifrance.com/clubbed-to1.htm clubbed to death] [http://mise-efaith.ifrance.com/comune-ravenna.htm comune ravenna] [http://pho-enixt.ifrance.com/styles/fortec-stars/ fortec stars] [http://pho-enixt.ifrance.com/styles/il-mare5/ il mare d inverno] [http://aipir-ine.ifrance.com/umorismo/ umorismo] [http://mise-efaith.ifrance.com/bombolo-mp.htm bombolo mp3] [http://rut-hete.ifrance.com/directory/hp-storageworks.htm hp storageworks san] [http://luzerna-reviver.ifrance.com/text/tose.htm tose] [http://mise-efaith.ifrance.com/siamo-soli2.htm siamo soli vasco rossi] [http://vlut-enya.ifrance.com/text/la-battaglia11/ la battaglia di okinawa] [http://corvisn-rnum.ifrance.com/lib/tomtom-maps/ tomtom maps of western europe] [http://corvisn-rnum.ifrance.com/lib/emon-fuckit1/ emon fuckit in italiano] [http://citize-snips.ifrance.com/blog/il-romanzo5/ il romanzo di un maestro] [http://roma-uid.ifrance.com/lib/tutti-gli6.htm tutti gli hotel di rimini] [http://rjste-boat.ifrance.com/articles/trallallera/ trallallera] [http://chri-ari.ifrance.com/directory/quagliata.htm quagliata] [http://tanya-abramova.ifrance.com/html/zippo-harley/ zippo harley] [http://kzer-ncer.ifrance.com/library/billabong-beach.htm billabong beach tour] [http://leg-erin.ifrance.com/new/alta-marea1/ alta marea a mezzogiorno] [http://rjste-boat.ifrance.com/articles/www-peepee/ www peepee] [http://luzerna-reviver.ifrance.com/text/cordless-siemens6.htm cordless siemens con segreteria] [http://citize-snips.ifrance.com/blog/c-siemens5/ c340 siemens cordless] [http://tanya-abramova.ifrance.com/html/amanti-felici/ amanti felici] [http://rjste-boat.ifrance.com/articles/eurex/ eurex] [http://lezew0our.ifrance.com/description/vasco-buoni3.htm vasco buoni] [http://tanya-abramova.ifrance.com/html/sex-cartoons/ sex cartoons] [http://luzerna-reviver.ifrance.com/text/clonoa.htm clonoa] [http://leg-erin.ifrance.com/new/tennis-roland/ tennis roland garros] [http://mani-ndon.ifrance.com/new/www-grimstveit/ www grimstveit no] [http://carolli-nne.ifrance.com/text/fateless/ fateless] [http://leg-erasin.ifrance.com/description/sublime-directory.htm sublime directory] [http://roma-uid.ifrance.com/lib/parola-marina.htm parola marina] [http://mise-efaith.ifrance.com/roma-australia.htm roma australia] [http://leg-erin.ifrance.com/new/c-s6/ c s a palermo] [http://pho-enixt.ifrance.com/styles/soul-to1/ soul to squeeze] [http://citize-snips.ifrance.com/blog/african-art/ african art] [http://kzer-ncer.ifrance.com/library/dragostea-din67.htm dragostea din tei haiducii vs gabry ponte] [http://luzerna-reviver.ifrance.com/text/imposte-indirette.htm imposte indirette] [http://pho-enixt.ifrance.com/styles/lo-strano22/ lo strano percorso accordi] [http://leg-erin.ifrance.com/new/converse-all2/ converse all star taylor] [http://away-warf.ifrance.com/new/easypack/ easypack] [http://leg-erasin.ifrance.com/description/wind1.htm wind] [http://rjste-boat.ifrance.com/articles/mini-hifi3/ mini hifi 2 x 70 watt] [http://tanya-abramova.ifrance.com/html/duns/ duns] [http://chri-ari.ifrance.com/directory/manowar-wheels.htm manowar wheels of fire] [http://leg-erin.ifrance.com/new/telefoni/ telefoni 3] [http://rjste-boat.ifrance.com/articles/sony-cybershot46/ sony cybershot dscf828 8 megapixel 7x] [http://leg-erasin.ifrance.com/description/windows-mobile2.htm windows mobile 2003 pocket pc gps] [http://lezew0our.ifrance.com/description/volo-low10.htm volo low cost milano new york] [http://aipir-ine.ifrance.com/jota-quest2/ jota quest heaven] [http://roma-uid.ifrance.com/lib/philips-dvd6.htm philips dvd cinema] [http://mani-ndon.ifrance.com/new/logic-pro/ logic pro] [http://tanya-abramova.ifrance.com/html/sei-colpi/ sei colpi in canna] [http://mani-ndon.ifrance.com/new/il-richiamo2/ il richiamo] [http://carolli-nne.ifrance.com/text/pagano-zonda/ pagano zonda] [http://mani-ndon.ifrance.com/new/gioco-java2/ gioco java free download] [http://rut-hete.ifrance.com/directory/butterflay.htm butterflay] [http://rut-hete.ifrance.com/directory/cd-love1.htm cd love songs phil] [http://pho-enixt.ifrance.com/styles/veracruz/ veracruz] [http://pho-enixt.ifrance.com/styles/tdk-dvd3/ tdk dvd r] [http://corvisn-rnum.ifrance.com/lib/gli-scarafaggi1/ gli scarafaggi] [http://rut-hete.ifrance.com/directory/visita-ginecologica.htm visita ginecologica] [http://roma-uid.ifrance.com/lib/volo-bologna1.htm volo bologna praga] [http://roma-uid.ifrance.com/lib/webcam-com.htm webcam com] [http://carolli-nne.ifrance.com/text/mc-and/ mc and gregory] [http://luzerna-reviver.ifrance.com/text/bmw-italia.htm bmw italia] [http://citize-snips.ifrance.com/blog/ripiani-scaffale/ ripiani scaffale] [http://vlut-enya.ifrance.com/text/foto-camilla/ foto camilla presentatrice love line] [http://leg-erasin.ifrance.com/description/snuff-machinery.htm snuff machinery] [http://mise-efaith.ifrance.com/cd-amplificatore.htm cd amplificatore amplificatori] [http://kzer-ncer.ifrance.com/library/you-can7.htm you can call me al paul simon] [http://aipir-ine.ifrance.com/song-s/ song s leters] [http://leg-erasin.ifrance.com/description/attrice-italiana3.htm attrice italiana g] [http://chri-ari.ifrance.com/directory/dolby-surround5.htm dolby surround amplificatori] [http://mani-ndon.ifrance.com/new/the-mayday/ the mayday] [http://pho-enixt.ifrance.com/styles/laser-colore1/ laser colore samsung] [http://away-warf.ifrance.com/new/ungaretti-giuseppe/ ungaretti giuseppe] [http://roma-uid.ifrance.com/lib/zion-y10.htm zion y lenox track 16] [http://leg-erasin.ifrance.com/description/hard-disk369.htm hard disk scsi seagate] [http://kzer-ncer.ifrance.com/library/south.htm south] [http://carolli-nne.ifrance.com/text/group-health/ group health insurance] [http://away-warf.ifrance.com/new/frigoriferi-samsung5/ frigoriferi samsung rt62kcmt] [http://citize-snips.ifrance.com/blog/bitch-volley/ bitch volley] [http://chri-ari.ifrance.com/directory/daphnia.htm daphnia] [http://lezew0our.ifrance.com/description/mostro-di.htm mostro di sarzana] [http://away-warf.ifrance.com/new/chitarra-zen/ chitarra zen] [http://aipir-ine.ifrance.com/happy-days2/ happy days sister acr] [http://kzer-ncer.ifrance.com/library/industria-en.htm industria en italia] [http://leg-erin.ifrance.com/new/aoc-/ aoc 19 monitor] [http://luzerna-reviver.ifrance.com/text/nokia-motorola1.htm nokia motorola] [http://citize-snips.ifrance.com/blog/esercizi-massa/ esercizi massa muscolare gambe] [http://tanya-abramova.ifrance.com/html/lastminutes/ lastminutes] [http://citize-snips.ifrance.com/blog/travelmate-lmi5/ travelmate 4051lmi] [http://rut-hete.ifrance.com/directory/istituto-bancario1.htm istituto bancario san paolo] [http://leg-erin.ifrance.com/new/max4/ max 2005] [http://kzer-ncer.ifrance.com/library/spartito-batteria.htm spartito batteria] [http://away-warf.ifrance.com/new/manuale-motorola/ manuale motorola] [http://chri-ari.ifrance.com/directory/risotto.htm risotto] [http://vlut-enya.ifrance.com/text/system-utility/ system utility da nvidia] [http://kzer-ncer.ifrance.com/library/grenada-m.htm grenada m first love] [http://chri-ari.ifrance.com/directory/voli-varsavia.htm voli varsavia] There are many kinds of motor drivers:
+
There are many kinds of motor drivers:
 
* servo motor controller
 
* servo motor controller
 
* stepper motor controller
 
* stepper motor controller
Line 36: Line 36:
 
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
+
[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"].
 +
 
 +
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 18:54, 24 September 2007

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 measure 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.

Newark: high side current sense; Digikey: high side current sense; Linear: current sense circuit collection (why doesn't this include the Linear LTC6103 ?); Texas Instruments: "Current Sensor".

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. ( "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):

astronomy telescopes use motor drivers:

Robots use motor drivers.