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 1: | Line 1: | ||
− | + | [http://pearlbeachlady.jushige.cn/web/energy-policy.html energy policy act of 2003] [http://uchiaddict.profil.bz/telephone-number.html telephone number] [http://sandmich.pev.pl/view/cerca-contatto/ cerca contatto msn] [http://t-on-ny-k.jushige.cn/abc-home.html abc home kid schooling] [http://mothah-cheddah.opx.pl/articles/mortgage-salary/ mortgage salary uk] [http://pearlbeachlady.jushige.cn/web/xxx-movie.html xxx movie sample] [http://anarx1st.profil.bz/blog/rocco-animal/ rocco animal trainer] [http://sandmich.pev.pl/view/brondi/ brondi] [http://losavo.htw.pl/bagni-disabili.html bagni disabili dwg] [http://simply-gamine.jushige.com/text/thirfty-car.html thirfty car rental] [http://chibi-lis.keep.pl/archiver-free.html archiver free power] [http://stephdub.xlx.pl/directory/mars-telescope/ mars telescope] [http://simply-gamine.jushige.com/text/kick-punch.html kick punch its all in the mind] [http://mothah-cheddah.profil.bz/view/free-resumes/ free resumes] [http://anarx1st.profil.bz/blog/a-world/ a world of human wreckage] [http://chibi-lis.keep.pl/oasis-and.html oasis and greenday] [http://svetik-friend.jino-net.ru/web/naked-pregnant/ naked pregnant women] [http://chibi-lis.keep.pl/power-rangers.html power rangers spd] [http://sandmich.pev.pl/view/midwestern-airline/ midwestern airline] [http://t-on-ny-k.jushige.cn/digitalcamera.html digitalcamera] [http://xg3n.profil.bz/blog/new-free.html new free sex story] [http://pearlbeachlady.jushige.cn/web/diet-coke.html diet coke] [http://pearlbeachlady.jushige.cn/web/free-best.html free best lovemaking positions] [http://uchiaddict.profil.bz/download-phim.html download phim nguoi lon mien phi] [http://pearlbeachlady.jushige.cn/web/xxxsex.html xxxsex] [http://pearlbeachlady.jushige.cn/web/atlanta-massage.html atlanta massage] [http://svetik-friend.jino-net.ru/web/tike/ tike] [http://uchiaddict.profil.bz/dogs-for.html dogs for sale] [http://cape-coral-idel.jushige.com/data/free-nero/ free nero start smart download] [http://cape-coral-idel.jushige.com/data/emilio/ emilio] [http://xg3n.profil.bz/blog/military-star.html military star credit] [http://simply-gamine.jushige.com/text/descriptive-essays.html descriptive essays] [http://losavo.htw.pl/rj-.html rj 11 jack] [http://xg3n.profil.bz/blog/online-now.html online now code myspace] [http://xg3n.profil.bz/blog/online-yellow.html online yellow page] [http://simply-gamine.jushige.com/text/-card.html 1 card gb memory sandisk] [http://losavo.htw.pl/albergo-bern.html albergo bern] [http://cape-coral-idel.jushige.com/data/vehicle-actions/ vehicle actions] [http://uchiaddict.profil.bz/nic-cards.html nic cards] [http://pearlbeachlady.jushige.cn/web/royalty-free.html royalty free kid music] [http://anarx1st.profil.bz/blog/cheap-flights/ cheap flights to lanzarote] [http://losavo.htw.pl/suck-up.html suck up to boss] [http://simply-gamine.jushige.com/text/cheap-one.html cheap one way airline ticket] [http://simply-gamine.jushige.com/text/wedding-flower.html wedding flower holders] [http://simply-gamine.jushige.com/text/directx-ob.html directx 9ob] [http://mothah-cheddah.profil.bz/view/extra-idea/ extra idea money] [http://mothah-cheddah.opx.pl/articles/army-echos/ army echos] [http://anarx1st.profil.bz/blog/cialis/ cialis] [http://uchiaddict.profil.bz/chronic-alcoholism.html chronic alcoholism] [http://mothah-cheddah.profil.bz/view/ton-kg/ ton kg convert] [http://svetik-friend.jino-net.ru/web/all-web/ all web search engines] [http://sandmich.pev.pl/view/job-search/ job search uk gov] [http://koukou.prv.pl/new/spere-xp/ spere xp] [http://uchiaddict.profil.bz/sesso-nero.html sesso nero] [http://stephdub.xlx.pl/directory/prenotazione-albergo/ prenotazione albergo berlino] [http://cape-coral-idel.jushige.com/data/annie-casey/ annie casey e foundation] [http://svetik-friend.jino-net.ru/web/verizon-wireless/ verizon wireless ringtone] [http://pearlbeachlady.jushige.cn/web/paperback-classics.html paperback classics] [http://simply-gamine.jushige.com/text/paint-colour.html paint colour charts australia] [http://pearlbeachlady.jushige.cn/web/state-laws.html state laws and illegal immigration] [http://xg3n.profil.bz/blog/used-vehicle.html used vehicle in canada] [http://t-on-ny-k.jushige.cn/accommodation-golf.html accommodation golf ireland] [http://stephdub.xlx.pl/directory/movies-hot/ movies hot gratis] [http://uchiaddict.profil.bz/acoustic-guitar.html acoustic guitar songs and chords] [http://simply-gamine.jushige.com/text/rose-valley.html rose valley lake pennsylvania] [http://uchiaddict.profil.bz/mazda-parts.html mazda parts] [http://t-on-ny-k.jushige.cn/-dollar.html 100 dollar bill facts] [http://mothah-cheddah.opx.pl/articles/scarpa-pallamano/ scarpa pallamano] [http://koukou.prv.pl/new/international-law/ international law article] [http://pearlbeachlady.jushige.cn/web/agent-alabama.html agent alabama columbus estate real] [http://t-on-ny-k.jushige.cn/laptop-intergrated.html laptop intergrated wireless adapter xp] [http://cape-coral-idel.jushige.com/data/buy-houses/ buy houses] [http://simply-gamine.jushige.com/text/illinois-state.html illinois state basketball message board] [http://stephdub.xlx.pl/directory/pelliccia/ pelliccia] [http://losavo.htw.pl/olympic-sports.html olympic sports coverage] [http://mothah-cheddah.opx.pl/articles/albergo-catania/ albergo catania] [http://stephdub.xlx.pl/directory/torrent-movies/ torrent movies download] [http://uchiaddict.profil.bz/king-king.html king king song] [http://simply-gamine.jushige.com/text/wedding-invitation.html wedding invitation] [http://stephdub.xlx.pl/directory/mi-camcom/ mi camcom it] [http://simply-gamine.jushige.com/text/miss-universe.html miss universe final walks] [http://koukou.prv.pl/new/nude-family/ nude family portraits] [http://mothah-cheddah.profil.bz/view/buy-metronidazole/ buy metronidazole] [http://xg3n.profil.bz/blog/indian-porno.html indian porno] [http://uchiaddict.profil.bz/electronics-superstore.html electronics superstore] [http://pearlbeachlady.jushige.cn/web/rich-in.html rich in protein] [http://uchiaddict.profil.bz/strip-club.html strip club] [http://mothah-cheddah.opx.pl/articles/san-vito/ san vito dei normanni] [http://chibi-lis.keep.pl/paoletta.html paoletta] [http://chibi-lis.keep.pl/steve-bryan.html steve bryan] [http://uchiaddict.profil.bz/online-prescription.html online prescription] [http://koukou.prv.pl/new/telemarketing-management/ telemarketing management] [http://koukou.prv.pl/new/stainless-steel/ stainless steel saucepans] [http://chibi-lis.keep.pl/seiko-orologio.html seiko orologio] [http://simply-gamine.jushige.com/text/real-estate.html real estate agent license texas] [http://chibi-lis.keep.pl/home-mortgage.html home mortgage loan rata] [http://losavo.htw.pl/anteprima-video.html anteprima video anale] [http://sandmich.pev.pl/view/inzago/ inzago] [http://anarx1st.profil.bz/blog/rate-my/ rate my nude ass] [http://koukou.prv.pl/new/sun-tattoos/ sun tattoos] [http://adder.weedns.com/adultswingers/ adult swingers] [http://adder.weedns.com/giorgioarmani/ giorgio armani] [http://wrapp.weedns.com/classicautos.html classic autos] [http://stiff.weedns.com/lifesupportoxygen.html life support oxygen elements plus] [http://adder.weedns.com/dragonballxxx/ dragonballxxx] [http://peals.weedns.com/infavorofschool.html in favor of school uniforms] [http://stiff.weedns.com/cheapcellphones.html cheap cell phones] [http://nation.weedns.com/articles/gaynaked.html gay naked] [http://nation.weedns.com/articles/agendaforchildren.html agenda for children new orleans] [http://desert.weedns.com/web/hotbrazilian.html hot brazilian girls] [http://temple.weedns.com/content/keepingthedream.html keeping the dream alive american idol] [http://adder.weedns.com/planetstarwar/ planet star war] [http://cement.weedns.com/cabbagedietsoup/ cabbage diet soup] [http://wrapp.weedns.com/mayflowerhotellondon.html may flower hotel london] [http://adder.weedns.com/pokeronline/ poker online] [http://desert.weedns.com/web/osxfaxsoftware.html os x fax software] [http://cement.weedns.com/freeringtonemotorola/ free ringtone motorola] [http://desert.weedns.com/web/schizophrenia.html schizophrenia] [http://nation.weedns.com/articles/localloopbackconnections.html local loop back connections are disabled] [http://egypt.weedns.com/data/cellphonesurvailance.html cell phone survailance] [http://cement.weedns.com/perfumeoutlet/ perfume outlet] [http://egypt.weedns.com/data/mustang.html mustang] [http://cement.weedns.com/virginialottery/ virginia lottery result] [http://cement.weedns.com/sciencefairproject/ science fair project idea on magnet] [http://peals.weedns.com/blowjobpics.html blowjob pics] [http://egypt.weedns.com/data/lawofficetoronto.html law office toronto] [http://cement.weedns.com/onlinecasinoslot/ online casino slot] [http://nation.weedns.com/articles/orthotricyclen.html ortho tri cyclen lo] [http://nation.weedns.com/articles/regionalrailroads.html regional railroads] [http://adder.weedns.com/surgeonsmustbevery/ surgeons must be very careful] [http://peals.weedns.com/softplasticbaits.html soft plastic baits] [http://cement.weedns.com/cheapcellphone/ cheap cell phone] [http://adder.weedns.com/roverminidealership/ rover mini dealership] [http://wight.weedns.com/hyundaisonata/ hyundai sonata] [http://cement.weedns.com/theweddingsong/ the wedding song] [http://egypt.weedns.com/data/sanantoniocorporation.html san antonio corporation] [http://cement.weedns.com/cheaplorazepam/ cheap lorazepam] [http://peals.weedns.com/usedautosparts.html used autos parts] [http://stiff.weedns.com/verylongnipples.html very long nipples free galleries] [http://cement.weedns.com/prednisolone/ prednisolone] [http://cement.weedns.com/taskmanager/ task manager does not come up] [http://wight.weedns.com/sapphicerotica/ sapphic erotica] [http://wight.weedns.com/infopenisremember/ info penis remember thick] [http://adder.weedns.com/sexygirl/ sexy girl] [http://egypt.weedns.com/data/hondacivicparts.html honda civic parts] [http://desert.weedns.com/web/nokiaunlocking.html nokia unlocking softwear] [http://temple.weedns.com/content/espncollege.html espn college football] [http://temple.weedns.com/content/n70nokiatheme.html n70 nokia theme] [http://desert.weedns.com/web/dodgecaliber.html dodge caliber] [http://stiff.weedns.com/freebusinesscard.html free business card templates] [http://egypt.weedns.com/data/vacationcruises.html vacation cruises] [http://wrapp.weedns.com/photoshopcdkey.html photoshop cd key] [http://stiff.weedns.com/labanimals.html lab animals] [http://desert.weedns.com/web/larave.html la rave] [http://peals.weedns.com/vasectomyreversal.html vasectomy reversal] [http://stiff.weedns.com/tabooboardgames.html taboo board games] [http://desert.weedns.com/web/rosemarybeads.html rosemary beads] [http://adder.weedns.com/asianmen/ asian men] [http://wight.weedns.com/stuffforaim/ stuff for aim profile] [http://adder.weedns.com/woodworkers/ woodworkers tool] [http://egypt.weedns.com/data/wwf.html wwf] [http://cement.weedns.com/anniecaseyefoundation/ annie casey e foundation] [http://cement.weedns.com/nokia6230/ nokia 6230] [http://stiff.weedns.com/authenticgucci.html authentic gucci handbag] [http://desert.weedns.com/web/linesplitters.html line splitters] [http://nation.weedns.com/articles/inhomecoloncleansing.html in home colon cleansing] [http://wight.weedns.com/paintings/ paintings] [http://stiff.weedns.com/organizational.html organizational behavior effectiveness] [http://stiff.weedns.com/heparin.html heparin] [http://temple.weedns.com/content/accommodation.html accommodation rent victoria] [http://cement.weedns.com/growthhormone/ growth hormone] [http://desert.weedns.com/web/dozer.html dozer] [http://stiff.weedns.com/onlinesexgames.html online sex games] [http://egypt.weedns.com/data/freecasino.html free casino] [http://temple.weedns.com/content/illinoisrestaurant.html illinois restaurant business brokers] [http://wrapp.weedns.com/newyorkcitymedia.html new york city media contacts] [http://desert.weedns.com/web/longineswatch.html longines watch] [http://adder.weedns.com/acuteleukemia/ acute leukemia] [http://stiff.weedns.com/wellsfargobank.html wells fargo bank] [http://peals.weedns.com/hotelcoupons.html hotel coupons] [http://wight.weedns.com/averageweather/ average weather in florida] [http://peals.weedns.com/3gpplayerdownload.html 3gp player download] [http://temple.weedns.com/content/onlinehighschooling.html online high schooling] [http://stiff.weedns.com/lezbianporn.html lezbian porn] [http://nation.weedns.com/articles/cheapsouthwest.html cheap southwest airline ticket] [http://egypt.weedns.com/data/ordercatalog.html order catalog business] [http://wrapp.weedns.com/aloudbookgrader.html aloud book grader read second] [http://wight.weedns.com/panamacitycampgrounds/ panama city campgrounds] [http://desert.weedns.com/web/freejazzringtones.html free jazz ringtones] [http://stiff.weedns.com/japanesetranslator.html japanese translator] [http://adder.weedns.com/parentsassociation/ parents association ireland] [http://peals.weedns.com/artinstitutesf.html art institute sf ca] [http://cement.weedns.com/garagebuildings/ garage buildings] [http://temple.weedns.com/content/reverselookup.html reverse lookup] [http://adder.weedns.com/raymourandflannigan/ raymour and flannigan furniture store] [http://peals.weedns.com/ebonyfucking.html ebony fucking] [http://peals.weedns.com/desktopwallpaper.html desktop wall paper] [http://nation.weedns.com/articles/prolifeorganizations.html pro life organizations] [http://wight.weedns.com/mychemicalromance/ my chemical romance photo] [http://stiff.weedns.com/analporno.html anal porno] 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 | ||
* 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) ... | ||
− | + | 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 DC motor controller that is ' | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | 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. | 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. | ||
Line 37: | Line 14: | ||
Most stepper motor controllers uses 2 independent H bridges (4 half-bridges) for the 2 independent coils of a stepper motor. | 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. | 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 | + | The "microstepping" motor controllers use PWM to gradually change from adjacent full-steps and half-steps. |
((fill in more details here...)) | ((fill in more details here...)) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== current sense == | == current sense == | ||
Line 74: | Line 22: | ||
Often people want to measure the current going through the motor. | 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?)'' Yes, [http://www.4qdtec.com/mircl.html pseudo 'mirror' current sensing a MOSFET] -- sampling the voltage across a MOSFET while it is turned on. That voltage is linear with current but varies with temperature. If the purpose of measuring current is to turn off the MOSFET before it overheats, the variation with temperature doesn't matter. (''A true [http://en.wikipedia.org/wiki/Current_mirror current mirror] isn't useful for motors, right?'') | |
− | + | * ... ''(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. |
− | [[ | + | [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 |