全文预览已结束
付费下载
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
TheDesignofMotorDrivewithSpeedControlforanElectricBicycleTze-YeeHo,Wei-ChiehChen,Chih-HaoChiang,Wei-ChangHungDept.ofElectricalEngineeringFengChiaUniversityTaichung,Taiwan,R.O.C.tw,,,.twMu-SongChenDept.ofElectricalEngineeringDa-YehUniversityChangHua,Taiwan,R.O.C..twAbstractThispaperpresentsasimplemethodtodesignthespeedcontrolsystemofmotordriveforanelectricbicycle.Byproperlyselectingthecurrentcontrollertimedelayandspeedcontrollertimedelay,thecrossoverfrequencyofcurrentcontrollerandthe3-dBcornerfrequencyofPIcontrollercanbefound,respectively.Therotorfrequencyisdesignedintherangebetweenthesetwofrequenciesforproperoperation.Thesimplemethodtodeterminetherangeofoperatingspeedwithappropriatelytuningcontrollerparameters,cannotonlyspeedupthedesignandimplementationofspeedcontrolledmotordrivebutalsoreducethedevelopmenttime.Anelectricbicyclebasedonablushlessdcmotordrivewhichhashighefficiency,zeropollution,cleanandconvenient,isthendesignedandimplementedinthispaper.Thehardwaredesignbasedonamicrocontrollerisanalyzedanddiscussed.ThesoftwareprogrammingisdevelopedinMPLABintegrateddevelopmentenvironment.Finally,aprototypeofblushlessdcmotordriveforanelectricbicycleisrealizedanddemonstrated.Theexperimentalresultsshowthefeasibilityandfidelityofthecompletedesignedsystem.Keywords-electricbicycle,microcontroller,speedcontrolI.INTRODUCTIONInordertogainthehighperformanceoftheinjustrialmotordrive,mostoftheindustrialdrivesystemhavePIcontrollersinthecurrentcontrolandspeedcontrolfortuningprocess1.TheZiegler-Nicholsmethodswhicharebasedontheempiricalresearchoftryanderror,arecommonlyusedtodesigntheindustrialspeeddrive.However,theovershootphenomenonofthesystemcouldoccurifthedelaytimeisnotsufficienttodeterminethesppedcontrolerparamenters2.AmodificationofZiegler-NicholsmethodsbasedonBodesfrequencydiagramisaddressedandprovedtoreducetheovershoot3.Thismethodiscomplicatedandisnoteasytodeterminetherotoroperatingfrequency.Withtheapproximationofcurrentcontrolloopbyconsideringtheoperatingrotorfrequency,thespeedcontrolsystemcanreducetothefirstordersystem.Thecrossoverfrequencyofcurrentcontrollerandthe3-dBcornerfrequencyofPIcontrollercanbefoundwithproperselectionoftimedelaysofbothcurrentandspeedcontrollers,respectively.Therotorfrequencyisdesignedintherangebetweenthesetwofrequenciesforproperoperation.Thesimplemethodtodeterminetherangeofoperatingspeedwithappropriatelytuningcontrollerparameters,cannotonlyspeedupthedesignandimplementationofspeedcontrolledmotordrivebutalsoreducethedevelopmenttime.Theelectricbicyclewhichdoesnotproducetheexhaustgasandgeneratetheairpollutionhasbecomeoneofthemostefficientandeconomictrafficvehiclesinthemetropolitancity1.Recentyears,duetothehighlydevelopmentofpowerelectronicdevicesandmicrocontrollers,thedesignandimplementationoftheelectricbicyclehavebeenstudiedintheacademicfieldandwidelyappliedtotheindustryaswell.Inordertorealizethecompletesystem,thebasicconfigurationofanelectricbicycledrivewhichconsistsofacontroller,batterycharger,batteryandelectricmotorisfirstlyaddressedinthispaper.Acontrollerisbasicallybasedonamicrocontrollerthatcontrolsthepowerfromthebatterytotheelectricmotorandtheauxiliarydevicessuchasthebrake,thesignallightsaswell.Therefore,inordertodesignandimplementanelectricbicyclewithspeedcontrol,abrushlessdcmotordrivebasedonamicrocontrollerispresentedinthispaper.Bothdesigncriterionandrequirementsofthedesignedsystemmeetthestandardofelectric-auxiliarybicyclesCNS14126inTaiwan4.Thispaperisorganizedasfollowing.ThesectionIIofthispaperdescribesthehardwareofthedesignedsystem,whichincludesamicrocontroller,powerbreakcircuit,voltageregulator,halfbridgegatedrive,currentsensingcircuit,andphotoisolatorcircuit.The120-degreeconductionpulsewidthmodulation(PWM)controlmethodisemployedtotheblushlessdc(BLDC)motordriveaccordingtotherotorpositionfromthemeasurementsofHalleffectmagneticpolesensing.ThesectionIIIpresentsthesystemcontroldesign.ThePIcontrolalgorithmisappliedtoachievethebestperformanceofsystemresponse.ThesoftwareprogramsarewritteninClanguageandprogrammedbasedontheMPLABintegrateddevelopmentenvironment(IDE)toolbyMicrochiptechnologyincorporatedinthissection5.Finally,thecompletesystemissuccessfullydesignedandimplementedinthispaper.Theexperimentalresultsshowthesystemrealizationandverifythesystemperformance,whicharepresentedinthesectionIVandV.II.THESYSTEMSTRUCTUREOFELECTRICBICYCLEThesystemstructurewithcontrolalgorithmofmotordriveforanelectricbicyclebasedonaBLDCmotordriveisshowninFig.1.ItconsistsofadsPIC30F4011microcontroller,protectioncircuit,opticalcoupling2014InternationalSymposiumonComputer,ConsumerandControl978-1-4799-5277-9/14$31.002014IEEEDOI10.1109/IS3C.2014.228864isolation,inverter,currentsensor,encoder,andcommunicationinterface.ThemicrocontrollerdsPIC30F4011manufacturedbyMicrochiptechnologyincorporateisthecorecontrolleroftheelectricbicycle.Itisa16-bitCPUwiththecapabilityofdigitalsignalprocessing.Moreover,itsupportsmanypowerfulmodulessuchasbuilt-inPWMmodule,addressableencoderinterfacemodule,andinputcapturemodule,thesemakethedesignfriendlyandthusshortenthedevelopmentschedule.Thethree-phasebridgeinvertercomprisessixpowerMOSFETsforswitchingasshowninFig.2.ThephotocouplerTLP250manufacturedbyToshibasemiconductorcompany,isusedforelectricalisolationbetweenthemicrocontrollersystemandbusvoltage.ThemotorcurrentsfromtheDCbusaresensedthroughthecurrentdetectioncircuit.ThemagnetpoleandrotorpositionaredetectedbytheHalleffectsensor.Insuchaway,thespeedandrotorpositioncanbecalculatedandpreciselycontrolled,subsequently.The120-degreeconductionofpulsewidthmodulationtechniqueforMOSFETsswitching,isappliedtodrivethethee-phaseinverter.aiFigure1.Thesystemstructureofelectricbicycle.Thestatorphasevoltageequations(Van,Vbn,Vcn)relatedtothestatorphasecurrents(ia,ib,ic)andbackelectromotiveforce(ea,eb,ec)foraBLDCmotor,canbeexpressedby(1)5-6.ccccbcbacacccnbcbcbbbababbbnacacbabaaaaaanedtdiLdtdiLdtdiLiRVedtdiLdtdiLdtdiLiRVedtdiLdtdiLdtdiLiRVg14g14g14g14g32g14g14g14g14g32g14g14g14g14g32g3g3g11g20g20g12g3WhereRa,Rb,Rc,representthephaseresistanceforeachphase,Laa,Lbb,LccrepresenttheselfinductanceforeachphaseandLab,Lbc,Lcarepresentthemutualinductancebetweeneitheroftwophases,ea,eb,ec,representthebackEMFforeachphase.Ifathree-phasebalancedsystemisconsidered,thestatorvoltagein(1)canberearrangedtog187g187g187g188g186g171g171g171g172g170g14g187g187g187g188g186g171g171g171g172g170g187g187g187g188g186g171g171g171g172g170g14g187g187g187g188g186g171g171g171g172g170g187g187g187g188g186g171g171g171g172g170g32g187g187g187g188g186g171g171g171g172g170cbacbassscbassscnbnaneeeiiiL000L000LdtdiiiR000R000RVVV(2)Theelectromagnetictorquecanbeexpressedbyg3ateiKTg32(3)Theelectromagnetictorqueexpressedin(3)indicatesthatitcanbecontrolledbythestatorcurrentwiththetorqueconstant,Kt.Thisisverysimilartothecontrolofseparatelydcmotordrive.Theloadmodelcanbeexpressedintermsofamomentofinertia,JL,inkg-m2/sec2withaviscousfrictionBL,inN-m/rad/sec.Theelectromagnetictorque,Te,inN-mthendrivestheloadtorque,TL,inN-mcanbeexpressedbyrLLeLg550Bdtrdg550J)T(T2Pg14g32g16(4)III.THESYSTEMCONTROLDESIGNForaspeed-controlledmotordrive,thetimeconstantsofthecurrentloopareusuallymuchsmallerthanthatoftheloadandthespeedcontroller.Insuchsituation,thecontrolsystemwithsimplifiedcurrentloopforamotordrive,isshowninFig.2.ThecurrenttransferfunctionofPIcontrolappliedtoacurrentcontrollercanbeexpressedbycsT1iK(s)*asi(s)asi(s)iGg14g32g32(5)Ifthegaincrossoverfrequencyforthecurrentcontrolloopisproperlyselected,thentheGi(s)canbeapproximatedascsT11(s)iGg14g35(6)AssumethatTcisverysmallintheoperatingfrequency,thenGi(s)isapproximatetobeunity.ThePIcontrolisusuallyemployedtothespeedcontrolledmotordrivesystemandhasprovedtoachievegoodperformance.Thetransferfunctionofspeedcontroller,Gs(s),isthenexpressedassisKpsK(s)sGg14g32(7)WhereKpsistheproportionalgainandKisistheintegratorgain.Asweobservethespeedcontrolloop,theopen-looptransferfunctionofthespeedresponsehasthreepoleswhichcanbeobtainedfromtheintegratortimedelayconstant,currentlooptimedelayandtheloadtimeconstant,respectively.csT11g14tK*rg550rg550Figure2.Thesimplifiedcurrentloopforspeedcontrolloop.Forthespeed-controlleddrivesystem,thecrossoverfrequency,g90cgeneratedfromthecurrentlooptimedelayisalwaysdesignedtobehigherthantherotorfrequency,g90r.Inaddition,the3-dBfrequency,g90swhichisobtainedfrom865theintegratortimedelayofPIcontrollerisusuallychosentobesmallerthantheg90r.FromtheapproximationofcurrentloopcrossoverfrequencyandthecornerfrequencyofPIcontroller,thecompletespeed-controlleddrivesystemisredrawninFig.3.The3-dBfrequency,g90rcoftheoverallclosedloopspeedcontrolledsystemcanbefoundtobe,g90rc=(BL+KpsKt)/JL.Therotorfrequencyshouldbedesignedtobeintherangebetweeng90sandg90rcinordertoachievethebetterperformance.Thesystemisinherentlystablesincethemaximumphaseangleofthecompletecontrolsystemis-90o.Adjustingtheproportionalgainofspeedcontroller,Kps,canbeappliedtomeettherequirementsoftheovershootfortheoverallcontrolsystem.ThesystemsoftwareprogramisdevelopedunderMPLABIDEsoftwareplatformandwritteninClanguage.Mostofthefunctionsofelectricbicycleareprogrammedinthemicrocontrollerfirmwarewhichincludesthecircuitprotectionmechanism,PWMgeneration,motorcurrentscalculation,rotorpositionandspeedcalculationandrotorpoleposition7-8.TheflowchartofmainprogramformicrocontrollerfirmwareisshowninFig.4.TheinitializationsforI/Oconfiguration,Timer1,Timer2,ADCandPWMsettingsarefirstlyprocessedinthemainprogram.LsJLB1g14tK*rg550rg550psKFigure3.Theoverallsystemofspeed-controlledmotordrive.Figure4.TheflowchartofmainprogramFig.5showsthePWMinterruptroutine.Thesensingcurrentisfirstlycalculatedandfedtothecurrentcontroller.SincethePWMfrequencyis20kHz,thecurrentcontrollerisupdatedforevery50us.Afterthecalculationofcurrentcontroller,thespeedcalculationisthenperformedbyspeedcontroller.Thespeedisconstrainedbythelimiterfortheoperatingspeedrange.Figure5.ThePWMinterruptroutine.IV.THEEXPERIMENTALRESULTSTheprototypeofthemotordriveforanelectricbicyclewithspeedcontrolbasedonthedsPICmicrocontroller,istestedunderdifferentloadconditionswhicharefulfilledwiththedynamometer.Fig.6showstheprintedcircuitboardofcontrolboardfortheelectricbicycledesignedinthispaper.ThemotorparametersfortheexperimentsareKt=0.0761021N-m/A,JL=0.000245Kgm2,andBL=0.00731N-ms/rad.Thus,theg90rccanbefoundtobe1553rad/secwithKps=5.Figure.ThemagnitudefrequencyresponseofBodeplotwithdifferentKpsisshowninFig.7.ObservingtheFig.7,itcanbefoundthatthewrcisaround800rad/sec.ItconcludesthattheKpscannotbechosenlessthanKps=1.Fig.8showsthespeedcannotreachthecommandspeedifKpsistoosmall.Fig.9showsthestepresponseofthespeedfromzeroto200rpmundertheloadof10kg-cm.Itcanbeobservedthatthemotordrivecanreachthecommandspeedwithinthe1.5seconds.Thephasecurrentsundertheloadof10kg-cmisshowninFig.10,wherech1,ch2andmathrepresentphasecurrentsA,B,andC,respectively.Figure6.TheprintedcircuitboardofBLDCmotordrivefortheelectricbicycle.866050010001500200025003000-10-9-8-7-6-5-4-3-2-10g55020log(w/w*)Kps=5Kps=1Kps=0.5Figure7.TheBodefrequencyresponseofg90r.Figure8.Thestepspeedresponseprofile.Figure9.Thestepresponseofspeedundertheloadof10kg-cmFigure10.Thephasecurrentsundertheloadof10kg-cm.V.CONCLUSIONSThespeedcontrolofmotordriveforanelectricbicycleisdesignedandimplementedinthispaper.Thehardwarestructureincludingamicrocontroller,protectioncircuit,opticalcouplingisolation,three-phaseinverter,currentsensorandcommunicationinterfaceiswelldesigned.Further,thesystemsoftwareandfirmwareofmicrocontrollerareprogrammedanddescribedindetail.Basedontheproposedsimplemethodtofindthewrc,theproportionalgain,Kpsofspeedcontrollercanbeeasilyfound.TherangeofKpsisalsocanbelocatedsoastoavoidthesystemoscillation.Thissimplemethodtodeterminetherangeofoperatingspeedwithappropriatelytuningcontrollerparameters,cannotonlyspeedupthedesignandimplementationofspeedcontrolledmotordrivebutalsoreducethedevelopmenttime.Fromtheexperimentalresults,itcanbeseenthatthegoodperformanceofspeedresponseprofileverifiedthedesignedsystemovertheoperatingspeedrange.Finally,aBLDCdriveforanelectricbicycleisreal
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 现代营销学考试试题及答案
- 2026二年级数学上册 长度单位总结
- 2025年临床执业医师笔试模拟题
- 住宅质量保证书和住宅使用说明书制度
- 2026五年级数学上册 位置的知识梳理
- 企业的关于民族团结进步制度
- 企业专利预警制度
- 人事专题需不需要第一议题制度
- 猪场出栏奖惩制度方案及流程
- 男女朋友之间奖惩制度
- (完整版)装饰工程施工进度计划横道图
- 心包穿刺术教学
- 移动安全专业考试题库L1L2
- 水土保持单位工程验收鉴定书
- GB/T 2-2016紧固件外螺纹零件末端
- GB/T 12334-2001金属和其他非有机覆盖层关于厚度测量的定义和一般规则
- 北师大版八年级数学(下)每日一题(春季版)上(包含答案)
- 2008年度益阳市公务员录用考试面试时间(第一批第一组)安
- 前途理想教育主题班会
- 煤矿IP语音调度系统技术方案
- 《伦理学概论》课程教学大纲
评论
0/150
提交评论