




已阅读5页,还剩1页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
InstrumentationandControlofaHighPowerBLDCMotorforSmallVehicleApplicationsAlexanderRowe1,GourabSenGupta1,SergeDemidenko21SchoolofEngineeringandAdvancedTechnology,MasseyUniversity,PalmerstonNorth,NewZealandSchoolofElectronicsandComputerEngineering,RMITInternationalUniversityVietnamARowebto-ltd.co.nz,g.senguptamassey.ac.nz,.vnAbstractBrushlessDC(BLDC)motorsarebecominganincreasinglypopularmotorofchoiceforlowpoweredvehiclessuchasmopeds,powerassistedbicycles,mobilityscooters,andinthisreportedapplication,motorisedmountainboards.Withrapiddevelopmentsintechnology,highenergydensitybatteriessuchasLithium-ionPolymerbatteriesarebecomingmoreaffordableandhighlysuitableforsuchvehiclesduetothesuperiorchargerateandlightweightofthelithiumchemistrybatteries.Thiscombinedwiththehighpower,lightweight,andlowcostBLDCmotorresultsintheBLDCmotorbeingaveryfavourablesolutionoveraninternalcombustionengineforlowpowervehicleswithpowerrequirementsofupto7kW.ABLDCmotorcontrollerwasdevelopedspecificallyforthemotorisedmountainboardapplication.ThemotorcontrollerisasensoredBLDCmotorcontrollerwhichtakesinputsfromHallEffectsensorstodeterminetherotorposition.Manyothersensorsareusedtomonitorthevariablesthatarecriticaltotheoperationofthemotorcontrollersuchasthemotorphasecurrent,batteryvoltage,motortemperature,andtransistortemperature.ThereportedsystemisfurtherenhancedbyseveraladditionalfeaturessuchasoutputforanLCDscreen,regenerativebraking,timingadvance,cruisecontrol,andsoftstartfunctions.Thesetopicsarediscussedbrieflyinthispaper.Keywords-sensoredBLDCmotorcontroller,regenerativebraking,timingadvance,electricskateboard,HallsensorsI.INTRODUCTIONAmotorisedmountainboardallowsuserstotaketheextremesportofmountainboarding,whichisnormallylimitedtodownhilluseonly,toflatanduphillsurfaces.Thisgivestheusersamuchwiderchoiceoflocationswheretheycanusethemountainboard.ABLDCoutrunnermotorhasbeenusedforthisapplication.Anoutrunnermotorwaschosenforitslowspeed(130RPM/v),hightorquecharacteristicswhichreducesthegearingrequirements;a3.8:1gearratioisusedwhichisachievedinadirectchaindrive.ThemotorisaTurnigyC80100-130whichhasapowerratingof6.5kW.Thisamountofpowerissufficienttodrivesmallvehiclestospeedsofapproximately70km/hr;howeverthegearingandbatteryvoltagehasbeenselectedtolimitthemountainboardto50km/hr.Consequently,thetorqueatthewheelsisincreasedandissufficienttoallowthemotorisedmountainboardtoclimbsteephills.AsensorlesscontrollerrequiresthemotortoproduceameasureablebackEMFforthemotorcontrollertobeabletodeterminethepositionoftherotorandthereforecannotprovidesmoothcommutationatstartupandlowspeeds.Incontrast,asensoredBLDCmotorcontrollerusespositionsensorsandthereforeisabletodeterminetherotorpositionatanyspeed.Thisallowsforsmoothcommutationduringstartup.AsensoredBLDCmotorcontrollerwasbuiltforthisreason.II.ELECTRICALSYSTEMOVERVIEWAmixed-signalfieldprogrammablemicrocontroller,theSiliconLaboratoriesC8051F020,hasbeenusedtocontrolthemotordrivercircuitaccordingtoarangeofinputsfromvarioussensors.CustommadesoftwarewasprogrammedinCwhichrunsonthemicrocontroller.Thissoftwaredeterminestheoperationofthemotorcontroller.Fig.1showsthefunctionalblocksofthemotorcontroller.ThemotorcontrollerusesathreephaseH-bridgetodrivethemotor.Thiscircuitwaschosenbecauseitallowsforfourquadrantoperationofthemotor,aswellascoasting.Fig.2showstheschematicdiagramofthethreephaseH-bridge.Figure1Overviewofthemajorcomponentsofthemotorcontroller978-1-4577-1772-7/12/$26.002012IEEEThemotorcontrollerisbuilttomeetthespecificationsofthemotor-themotorcontrollershouldbecapableofsupplying130Aat48Vforburstsof5sandbeabletosupplyatleast40Acontinuously.ThedevicesofchoicefortheswitchesintheH-bridgeareN-channelmetaloxidesemiconductorfieldeffecttransistors(N-MOSFETS).Thesewerechosenfortheirlowcostandtheirabilitytosharecurrentrelativelyevenlywhenparalleledtogether1.Toachievethetargetcurrentcapabilityof130A,twoN-MOSFETSareusedinparallelforeachofthesixswitchesinthethreephaseH-bridge.A.MotorDriverCircuitAgatedriverICisusedbetweenthemicrocontrollerandthegatesoftheMOSFETSforthreereasons:Tostepupthe3.2Vlogicsignalfromthemicrocontrollertoa12VsignalforthelowsidetransistorsinordertosaturatetheMOSFETToprovideachargepumpcircuitfordrivingthegateofthehighsidetransistorsto12VabovethevoltageonthesourcepininordertosaturatetheMOSFETSToprovideshoot-throughprotectionwithprogrammabledeadtimeforthethreephaseH-bridgeGateresistorsbetweentheoutputfromthegatedriverICandMOSFETgateareusedtoslowtheswitchingtimesofthetransistors.Thisistoreducetherateofchangeofcurrent(di/dt)throughthemotorwindings2.Theselfinductanceofthewindingscausesaninducedvoltageacrossthewindingthatisproportionaltotherateofchangeofcurrentwhenthetransistorsareswitchedonandoff.ThisinducedvoltagecancausethetransistorstoexperienceavoltagethatexceedstheVdssrating,causingthemtoblow.Thesegateresistorsarearrangedinawaytoreduceringingissueswiththeparalleledtransistors3.Fig3showstheschematicdiagramforthegateresistorcircuitthatwillreduceringinginahalfbridgecircuit.Thiscanbeextendedifmoretransistorsarerequiredinparallel.Slowingtheswitchingtimeofthetransistorsaloneisnotenoughtoprotectthetransistorsfromblowing;buscapacitorsarealsousedtoabsorbthevoltagespikes2.Lowequivalentseriesresistance(ESR)capacitorsarerequiredbecausethefrequencyofthevoltagespikeisveryhigh(around50MHz).Standardelectrolyticcapacitorsarenotfastenoughtoabsorbtransientvoltagesofsuchfrequencies.TheMotorControllercircuitincorporatesaHallEffectcurrentsensortomeasurethephasecurrentofthemotor.ThisallowstheMotorControllertocutthepowertothemotorifthephasecurrentexceedsthespecifiedlimitinordertoprotectthemotorwindingsfromburningoutandthetransistorsfromblowingduetothecurrentexceedingthemaximumrating.TheHallEffectcurrentsensoroutputisananaloguesignalthatisproportionaltothecurrentflowingthroughawire.Abi-directionalcurrentsensorisusedinthisapplicationtoallowforcurrentmeasurementswhileregenerativebraking.TheMotorControlleralsousesavoltagesensorcircuittotakemeasurementsofthebatteryvoltage.Ifthevoltageislowerthanthespecifiedminimumvoltageofthebattery,themotorcontrollerwillcutthepowertothemotor.ThisisimportantastonotoverdischargetheLithium-ionPolymerbatterypackwhichcanpermanentlyreducethecapacityofthebattery4.Becauseofthewiderangeofoperatingvoltagesthatthemotorcontrollerisabletorunon(from16Vto70V),voltagesensingisdoneusingasimplevoltagedividercircuitwithalowpassRCfilter;alevelshifterisnotused.Temperaturesensorsareinstalledinthemotorandontheheatsinkofthetransistorstoallowthemotorcontrollertocutthepowertothemotorifeitherofthetemperaturesexceedsapre-definedlimit.Theon-boardtemperaturesensorofthemicrocontrollerisalsousedtotakemeasurementsofthemicrocontrollertemperature.Again,themotorcontrollerwillcutthepowerifthemicrocontrollerisoverheating.Thecurrentsensor,voltagesensor,andtemperaturesensorsalloutputanaloguesignals.Becausethesesensorsareincloseproximitytothepowerelectronicsinthemotordrivercircuit,thesmallsignalanalogueoutputsfromthesensorsarehighlysusceptibletonoise.Forthisreason,aRClowpassfilterisusedforeachoftheanaloguesignalstofilteroutthehighfrequencynoise.Eachfilteristunedtofilteranynoisethatisofslightlyhigherfrequencythanthehighestexpectedfrequencyfromthesensor.Figure2.ThreephaseH-bridgecircuitfordrivingaBLDCmotorFigure3.CircuitdiagramforgateresistorstominimizetheeffectofringingintheMOSFETgatesB.RegenerativebrakingThemotorcontrollerincorporatesasimpleregenerativebreakingfunction.Theamountofenergyregeneratedduringnormaluseinaflatoruphillapplicationisverylittle.However,becauseregenerativebrakingistheonlybrakingmethodthatdoesnotsimplyconvertkineticenergyintoheatenergy,whichheatsupthetransistorheatsinkandthemotor,itwasincludedintheproject.RegenerativebrakingisachievedbyboostingthebackEMFofthemotortoahighervoltagethanthebatteryvoltagebyusingaboostconvertercircuit.Fig.4showstheschematicdiagramofabasicboostconvertercircuit5Thiscircuitisimplementedwithoutanyadditionalhardware.ItiscreatedbyusingthelowsidetransistorsofthethreephaseH-bridgeastheswitchingdevice,themotorwindingsastheinductor,andthehighsideflybackdiodesasthediodeintheboostconvertercircuit.Threeofthesecircuitsareinfactused,oneforeachofthethreephases.TheoutputvoltageoftheboostconverteriscontrolledbyvaryingthePWMdutycycleofthelowsidetransistor.Astheoutputvoltageisincreased,thechargingcurrentisincreasedwhichresultsinthebrakingforcebeingincreased.Thereforethebrakingforceiscontrolledbyreadingthepositionofthebrakeleverandadjustingthedutycycleaccordingly.Thechargingcurrenthastobekeptwithinspecifiedlimitstopreventdamagetothebatterypack.FortheLithium-ionPolymerbatterypackusedinthisapplication,themaximumchargingcurrentis20A.Itwascalculatedthat20Aofchargecurrentprovidessufficientbrakepowertoslowdownfrom30km/hrtoacompletestopin3sC.TimingAdvanceTimingadvanceisusedinbothbrushedandbrushlessDCmotors6.InbrushedDCmotorsthisisdonebymechanicallymovingthepositionofthebrushesrelativetothemotorwindings.InBLDCmotors,timingadvanceisdoneelectronicallybycommutatingthemotorsoonerthanitwouldnormallydoso.Ideally,theamountoftimingadvance(expressedasanangleofelectricalrotation)wouldbecontinuouslyvariablefrom0atzerospeedtosomemaximumadvanceangleatthemaximummotorspeed.Thiscanbedonewithamicrocontroller,howeveritrequiresmuchprocessingandwouldrequireadedicatedmicrocontroller7.Thelargeamountofprocessingisrequiredbecausethemicrocontrollermustpredictwhenthenextmotorpositionwilloccurbasedonthespeedofthemotor,andthencalculatethetimedelaybetweenthelastmotorpositiontransitionandthenexttransitionforthedesiredangleofadvance.Withthisinformationthemicrocontrollercantriggerthecommutationatthecalculatedtimeaftertheprevioustransition.D.InternalpositionsensorsInthisapplication,asimpleapproachtotimingadvancehasbeentaken;twosetsofHallEffectsensorshavebeeninstalledinsidethemotor.Onesetispositionedforneutraltiming,theothersetispositioned30(electricalrotation)fromtheneutraltimingset.ThissecondsetofHallEffectsensorsproduceasignalfor30advancedtimingintheforwarddirectionor30retardedtiminginthereversedirection.Thisangleofadvancewasrecommendedby8asanoptimumamountoftimingadvanceforthismotorat5000RPMwhichisnearthetopspeedofthemotorwhenrunningona42Vbattery.Also,becausethemotorhasa12polestator,eachpoleisspaced30apart.ThismeansthatboththeneutraltimingandadvancedtimingsetofHallEffectsensorscanconvenientlybemountedinthegapsbetweenthestatorpoles.Fig.5showswaveformsofthesignalsfromtheneutraland30advancedmotorpositionsensors.Thetopthreewaveformsarefromtheneutraltimingsetandthebottomthreearefromtheadvancedtimingsetofmotorpositionsensors.Thisshowstheadvancedtimingtransitionsoccurring30ofelectricalrotationbeforetheneutraltimingtransitions.Withthisangleoftimingadvance,italsoworksoutthatthesignalfor30advancedtiminginthereversedirectioncanbegeneratedfromthesignalfromthesecondsetofhallsensors.Thisisbecausethesignalfor30retardedtimingisidenticaltothe30advancedsignalwhenphaseshiftedby60(whichisthespacingbetweenmotorpositiontransitions).Thisresultsinthe30retardedsignalbeingexactlyonesequencebehindthe30advancedsignal.Bygeneratingthisthirdsignal,itispossiblefortheMotorboardtouse30advancedtimingintheFigure4.CircuitdiagramshowinghowtheboostconvertercircuitisimplementedusingahalfbridgeFigure5.Waveformsfromtheneutraland30advancedmotorpositionsensorsforwardandreversedirection.Themicrocontrollerisabletoswitchbetweenneutraltimingandadvancedtimingdependingonthespeedofthemotor.Thesoftwaremakesuseofahysteresisbyswitchingtoadvancedtimingat4800RPMandbacktoneutraltimingat4700RPM.III.SOFTWAREDESIGNThemicrocontrollerisprogrammedwithcustommadesoftwaretoallowforadditionalfunctionsthatareuniquetothismotorcontroller.Thesoftwareislargelyinterruptbasedforimprovedcomputationalefficiencyandreliability.Eachtimethemicrocontrollerreadsananalogueinput,eightconsecutivereadingsaretakenandtheaverageofthesereadingsiscalculatedandusedtosetthenewvalueofthevariablethatisbeingread.Thishelpstofurtherreducetheeffectofnoiseontheanaloguesignalsfromthevarioussensors.Distancemeasurementsaredonebycountingthenumberofnewmotorpositions.Forthisparticularmotor,thereare6rotorpositionsinanelectricalrevolution,and7electricalrevolutionsinaphysicalrevolutionofthemotor.Withawheeldiameterof200mmandagearratioof3.8:1,itcanbecalculatedthatafter254newmotorpositions,themountainboardwillhavetravelled1meter.Whenthe“newposition”counterreaches254,thedistancecounterisincrementedby1mandthe“newposition”counterisresettozero.Speedmeasurementisachievedbyusingoneoftheonboardtimerstotimetheintervalbetweentwoconsecutivemotorpositionreadings.Thedistancetravelledforasinglepositionincrementisknownandthereforethespeedcanbecalculated.Athighspeeds,theaverageofeightspeedreadingsisusedforimprovedaccuracy.Fig6illustratesthebasicflowdiagramofthemotorcontrollersoftware.A.SoftStartThepurposeofthesoftstartfunctionistoprotectthemotorandmotordrivercircuitfromexperiencinganovercurrentconditionduringstartup.Thisisrequiredbecausewhenthemotorisatlowspeedorstationary,thereislittleornobackEMFproducedbythemotor.ThebackEMFopposesthevoltageappliedtothemotorterminals,thereforethevoltageexperiencedbythemotoristhedifferencebetweenthesupplyvoltageandthebackEMFvoltage.WithnobackEMF,thevoltageexperiencedbythemotorislarge.Theonlyresistanceinthecircuitisthatoftheon-resistanceofthetransistors(0.008)9,theresistanceofthemotorwindings(0.036),andtheresistanceofthewireswhichisalsoverylow.Thusthecurrentcanreachverylargelevelswhenthemotorisstationaryorrunningatalowspeed.Thesoftstartfunctionlimitsthepowertothemotorasafunctionofspeedatwhichthemotorisrunning.Thisisdonebysettingamaximumallowabledutycycleof5%atzerospeedandincreasingthislimitlinearlyto100%at1900RPM.Thisfunctionisimplementedinthemainloopoftheprogramandthereforedoesnoteffecttheoperationofthecriticalinterruptbasedfunctions.B.CruisecontrolThecruisecontrolfunctionusesPIcontroltomaintainthespeedoftheMotorboardatthespeedsetpoint.Thesetpointistakenasthecurrentspeedatthetimewhenthecruisecontrolisactivatedbyswitchingonthecruisecontrolswitchonthehandheldcontroller.ThePIcontrollervariesthePWMdutycycleinordertomaintainthespeedatthesetpointastheloadchanges,i.e.whentravellingupahill.Thecruisecontrolfunctionisdeactivatedthentheuserappliesthebrakes.Whentheuserstopsusingthebrakes,thenewspeedistakenasthesetpoint.Thevaluesfortheproportionalfactorandintegralfactorwerefoundexperimentally.IV.HANDHELDCONTROLLERTheuserinterfaceforthemotorisedmountainboardisahandheldcontroller.Theshellofaradiocontrolledcartransmitterwasusedasthebaseofthehandheldcontroller.Thisshellwasmodifiedbystrippingoutthecircuitboard,cuttingoffthebatterycase,andmountingaLCDmoduleintoit.Thetriggermechanismwasretainedandisusedastheacceleratorandbrakecontrol(pullbackthetriggertoaccelerate,pushforwardtobrake).Therearetwovariableresistors(rotarypotentiometers)thatarealsoutilised;oneisusedtosetthemaximumdutycycleforthecontroller.ThisallowsthemaximumspeedoftheMotorboardtobelimitedbytheuserwhichisusefulwhensomeoneisusingtheMotorboardforthefirsttime.TheothervariableresistorisusedtocyclethroughthevariousdatathatisFigure6.BasicflowdiagramofthemicrocontrollerprogramdisplayedontheLCDmodule.Therearetwoswitchesthatareusedbythemotorcontroller;oneisusedtoturnthecontrolleronandoff,theotherisusedasthecruisecontrolon/offswitch.ThecompletedMotorboardandthehandheldcontrollerareshowninFig7.TheLCDscreenisonlylargeenoughtodisplaytwolinesof16characters.Inordertodisplaymoredatathanwouldotherwisebepossible,oneofthevariableresistorsinthehandheldcontrollerisusedtoallowtheusertoselectfromarangeofdatascreens.Therearesixdatadisplays:1.Maindatascreen:Displayscurrentspeed,distancetravelled,batteryvoltage,andinstantaneouspoweroutput2.Temperaturescreen:Displaysthetemperatureofthetransistors,motor,microcontroller,andambienttemperature3.Maxvaluescreen:Displaysthemaxspeedreached,maxcurrentdrawn,andmaxpoweroutputduringtherun4.Secondarydatascreen:DisplaysmotorspeedinRPM,andinstantaneouscurrent5.ProgramI/Oscreen:Displaysthemaximumdutycyclelimitsetbytheuser,errorcode,andtripcodefromthemotorcontrollerprogram6.Debugscreen:Displaystheinstantaneousdutycycle,throttlevalue(thevalueusedtosetthePWMdutycycle),andalsowhichtransistorswillbeswitchedonforthecurrentmotorpositionFigure7.MotorboardandthehandheldcontrollerV.EXPERIMENTALRESULTSExperimentalresultsshowtheon-boarddistancemeasurementtobeaccurateto0.5%whenmeasuredagainstatapemeasure.Theresolutionofthismeasurementallowsthesoftwaretomeasuredistancesassmallas4mm.However,thereisuncertaintyintroducedinthemeasurementbythediameterofthewheel.Thewheelsareinflatableandthereforethediameterchangesslightlydependingontheairpressureandthemassoftherider.Alaparounda400mathleticstrackhasshownthedistancemeasurementtobewithin1mofaccuracy.Anexperimentwasalsoconductedtotesttheaccuracyoftheon-boardspeedmeasurement.TheMotorboardwasbroughtuptoanarbitraryspeedof17km/hrontheLCDscreenandheldatthatspeed.Itwasthenfilmedpastinga5mtapemeasure.Thevideorecordingwasthenreviewedtodeterminethetimetakentotravelthe5mdistance.Itwascalculatedthattheactualspeedforthisrunwas17.42km/hr.Thisexperimentwasrepeatedataspeedof25km/hraccordingtotheon-boardinstrumentation.Thecalculatedactualspeedforthisrunwas25.68km/hr.Theseresultsestablishthatthespeedmeasurementreadsslightlylow;howeveritisinaccuratebylessthan1km/hrforspeedsoflessthan25km/hr.VI.CONCLUSIONANDFUTUREWORKAswithanyprototype,thereismuchroomforimprovement.Oneareaforimprovementisthecommutationofthemotorbasedonthepositionsensorreadings.Currentlythisisdonebyreadingthemotorpositionatafrequencyof30kHztocheckforanewmotorposition.Thecommutationfunctioncanbedonemoreefficientlyusinganinterruptbasedtrigger.TheSiliconLaboratoriesC8051F020hasfourexternalinterruptpinsthatcanbeconfiguredaseitherrisingedgesensitiveorfallingedgesensitive,notboth.Thereforesixexternalinterruptpinswouldberequiredinordertotriggeraninterruptforanymotorpositiontransition.Adifferentmicrocontrollershouldbeusedthatwillallowforthemotorcommutationtobedoneentirelybasedoninterrupts.Thiswillimprovetheaccuracyofthetimingofthecommutationsandsignificantlyreducethecomputa
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 公司每年每月团建活动方案
- 公司直播运营策划方案
- 公司节电活动方案
- 2025年药学专业技术资格考试题及答案
- 2025年医学专业考生必做试题及答案
- 2025年文化产业管理专业考试试卷及答案
- 2025年文化遗产保护技师职业资格考试试题及答案
- 2025年数字营销与品牌策略课程考试试卷及答案
- 2025年思想政治教育专业考试试题及答案
- 2025年生态文明建设与管理考试卷及答案
- 2025年时事政治考试100题(含参考答案)
- 特种设备重大事故隐患判定准则
- 安装服务合同范本版
- 氧化锌避雷器基础知识课件
- GB/T 5023.3-2008额定电压450/750 V及以下聚氯乙烯绝缘电缆第3部分:固定布线用无护套电缆
- GB/T 29264-2012信息技术服务分类与代码
- GB/T 17626.18-2016电磁兼容试验和测量技术阻尼振荡波抗扰度试验
- 六年级科学上册教学计划
- 人教版数学六年级下册期末测试卷及参考答案
- 会议管理系统的分析与设计
- 省级土壤样品库实施方案
评论
0/150
提交评论