



全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 中国激光雕刻软件项目创业计划书
- 中国AI开发平台项目创业计划书
- 中国金融移动应用项目创业计划书
- 中国计算机辅助翻译(CAT)系统项目创业计划书
- 中国骨科材料项目创业计划书
- 中国高档牛羊肉项目创业计划书
- 中国动态应用程序安全测试软件项目创业计划书
- 中国3D购物项目创业计划书
- 量子动力学在生物医学中的应用研究-洞察阐释
- 乐理乐理试题及答案
- 香丹注射液中吐温80的含量测定
- 拖延症主题班会课件
- 生产设备点检记录表
- 假发行业知识产品
- 项目策划书模板文档
- GB∕T 16895.21-2020 低压电气装置 第4-41部分:安全防护 电击防护
- 教师暑期集中培训讲稿PPT(校园突发事件的应对)
- DB23∕T 2418-2019 黑龙江省建筑工程质量鉴定技术标准
- 公司治理完整测试题【附答案】
- 汽车维修工时收费标准二类企业
- 奚旦立四环境监测物理性污染监测PPT教案
评论
0/150
提交评论