于can总线的电梯呼梯控制器的设计与实现[](design and implementation of elevator call controller based on can bus [])

于can总线的电梯呼梯控制器的设计与实现[](design and implementation of elevator call controller based on can bus [])

ID:15735609

大小:52.50 KB

页数:19页

时间:2018-08-05

上传者:xinshengwencai
于can总线的电梯呼梯控制器的设计与实现[](design and implementation of elevator call controller based on can bus [])_第1页
于can总线的电梯呼梯控制器的设计与实现[](design and implementation of elevator call controller based on can bus [])_第2页
于can总线的电梯呼梯控制器的设计与实现[](design and implementation of elevator call controller based on can bus [])_第3页
于can总线的电梯呼梯控制器的设计与实现[](design and implementation of elevator call controller based on can bus [])_第4页
于can总线的电梯呼梯控制器的设计与实现[](design and implementation of elevator call controller based on can bus [])_第5页
资源描述:

《于can总线的电梯呼梯控制器的设计与实现[](design and implementation of elevator call controller based on can bus [])》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库

于can总线的电梯呼梯控制器的设计与实现[1](DesignandimplementationofelevatorcallcontrollerbasedonCANbus[1])IntheCANBuselevatorcallladdercontrollerdesignandimplementation,[1].txtcopy(copy)otherpeople'spersonalitysignature,notcalledplagiarism,notcallednoassertive,justfeelright.Thesamethinghappened.DesignandimplementationofelevatorcallcontrollerbasedonCANbusWuLei,XuCuiqin,QuanShuhai(Schoolofautomation,WuhanUniversityofTechnology,430070)Abstract:ThispaperdesignsanelevatorcallcontrollerbasedonCANbus,whichisanimportantpartofelevator.Thecontrollerisusedtogivethecallrequestinformationforeachfloorandshowthecurrentoperationoftheelevator.ThissystemusesthecurrentratioThepopularindustrialfieldbusCANbuscompletesthecommunicationbetweenthecallladdercontrollerandthemastercontroller,andputsforwarditshardwareandsoftwareDesignmethodofcommunicationprotocol.Keywords:PIC18F258;CANbus;LEDdotmatrixdisplayscreenCLCnumber:TP229,documentidentificationcode:B DesignandImplementofElevatorCallerControllerBasedonCANbusWu,Lei,Xu,Cui-qin,Quan,Shu-haiAbstract:ThisarticledesignedonekindofelevatorcallercontrollerbasedonCANbusIt,is,an,important,of,constituent,elevator,This,,controller,uses,in,producingEach,floor,the,call,to,request,the,information,and,,demonstrating,elevator,currentMovement,situation.,This,system,uses,the,present,quite,popular,,industry,field,busCANbusTo,complete,the,communication,between,elevator,caller,controller,main,andController,and,proposed,its,software,and,hardware,and,,the,design,method,ofCommunicationprotocol.Keywords:PIC18F258;LEDDisplayScreenCANbus;1Introduction Atpresent,theproductionanduseofelevatorshavebecomeoneofthesymbolsofthemodernizationofacountry.ElevatorisamechanicalandelectricalintegrationComplextransportationequipmentfortallbuildings.Itinvolvesmechanicalengineering,electronictechnology,powerelectronicstechnology,motoranddrivetheory,Automaticcontroltheoryandmanyotherscientificfields.Elevatorcallladdercontrollerisanimportantpartofelevator,locatedoneveryfloorTheleftorrightoftheelevatordooristhecallingdeviceoneachfloor,whichisusedtogivethecallrequestinformationforeachfloorShowthecurrentoperationoftheelevator.Passengerscanlearnalotofinformationabouttheelevatorbymeansofmonitors,buttonsandsoon.PaperadoptsCANbustechnologydesignacallladdercontroller,eachcontrollerneedsonlyonepairoftwistedpairwirestoconnectwithacertainnetworktopologyTheutilitymodelhastheadvantagesofconvenientinstallationandhighreliability.Forthecontrolsystemofdifferentfloornumbers,onlythecorrespondingnumberisaddedtotheCANbusInordertomaketheelevatorcontrolsystemmoreflexible,thecallcontrollercanbemadewithoutanychangesinthehardwareandsoftwareofthemaincontroller Convenient.2elevatorcallladdercontrollerbriefintroductionTheelevatorcallcontrolleristhecallingpartoftheelevatorsystem.Accordingtothefunction,thecallladdercontrollerincludesthreeparts:ElectricAladderdisplayunit,acallreceivingunitandacommunicationunit.(1)displayunit:Thecallladderunitisthepartoftheman-machinecommunicationbetweenthepassengerandtheelevator,whichactsastheelevatordoorareawaitingforthepassengersoftheelevatorBeabletokeeptrackoftheelevator'scurrentfloor,thedirectionoftheelevator'scurrentoperationandthecurrentstatusofthecall.bookThesystemusestwo8stageluminousLEDasfloordisplay,andusestwoLEDwithupperandlowerarrowaselevatorupanddownThedirectionindicatingdeviceandthecallingladdercontrollercommunicatewiththemaincontrollertoobtainthecurrentelevatorsituationanddisplay.(2)callreceivingunit: Whenpassengersneedtotaketheelevator,passengersneedtocallthroughthetwocallbuttonsonthecallladderpanelineachfloorCalltheelevatorcontrolsystemtocall(needtoreachthecurrentlevelabovethecall)anddowncall(needtoarriveatthecurrentbuilding)Callfrombelowlevel)request.Afterthecallcontrollerreceivesthecallrequest,itisprocessedandsentthroughthecommunicationunitProjectsupportedbytheState863Project(ProjectNo.2001AA501213)Maincontroller.(3)communicationunit:Inthetraditionalelevatorcontrolsystem,thecommunicationbetweenthecallladderandthemastercontrolisapointtopointcommunicationI/OdirectControlmode,maincontrollerthrough16floordisplaylines,2directionsdisplaylines, 2calls,registrationandothermultiplesignallinesdirectlyDirectconnectionwitheachflooroftheelevatorwhenthecallgangboard,increases,whichmakesthesystemverycomplexconnection.Therefore,BenSystemadoptionTheCANbuscompletesthecommunicationbetweenthecallladderandthemastercontrol,greatlysimplifyingthesystemstructure.SystemhardwaredesignElevatorcallladdercontrolleradoptsPIC18F258microcontrollerasthecore,themicrocontrollercomeswithCANtransceiverinterface.peripheralCircuitbyCANdrivemodule,inputmodule,displaymoduleanddialcodeswitch,upperbutton,lowerbutton,debuginterfaceandsoonA.ElevatorcallladdercontrollerasAnodeoftheCANbusnetwork,andtheCANdrivermoduleisthecallladdercontrollerandthephysicaltotal TheinterfacebetweenlinesisprovidedtoThedifferentialtransmittingandreceivingfunctionoftheCANbus;theinputmodulereceivesthecallfromthemaincontrolandcallsdownAndthearrivalofthedoorsignal,etc.,theseinformationinaccordancewiththerequirementsofthecommunicationprotocol,afterprocessing,intothemailbox,andthensenttoTotalCANThedisplayunitcomprisesabuttonlightdisplay,adotmatrixdisplayandaninspectionlampdisplay3parts,whichdotmatrixdisplaycanalsobeachievedScrollingeffectsoffloornumberanddirectionarrow.3.1CANdrivermoduleCAN(Control,Area,Network,controllocalareanetwork))originallyfromGermanyBOSCHcompanylaunchedforcarsDatacommunicationbetweenaninternalmeasurementandanexecutionunit.Itsbusspecificationsarenowavailable ISOinternationalstandardsorganizationforinternationalstandardQuasi-iswidelyusedindiscretecontrolsystems.TheCANprotocolisalsobasedontheinternationalstandardorganization'sopensysteminterconnectionmodelbaseButitsmodelstructureisonly3layers,thatis,onlytotakeTheunderlyingphysicallayer,datalinklayer,andtoplevelapplicationofOSILayer.Thesignaltransmissionmediumistwistedpair.Communicationrateupto1Mbps/40m,thedirecttransmissiondistanceisfarthestL0km/kbps.Mostequipmentcanbeconnected110.CANisaserialcommunicationnetworkthateffectivelysupportsdistributedcontrolandreal-timecontrol,Manynewtechniquesanduniquedesignsareadopted.Comparedwiththegeneralcommunicationbus,thedatacommunicationofCANbusisoutstandingReliability,realtimeandflexibility. CANtransceiverselectionPHILIPSPCA82C250,it'sawiderangeofapplicationsCANcontrollersandobjectsTheinterfacechipbetweenthebusescantransmitandreceivethedifferentialinformationofthebus.Inordertoimprovetheanti-interferenceabilityofthesystem,stayPCA,82C250,andHighspeedopticalseparationisaddedbetweenPIC18F2586N137.InordertoensureStabilityofCANbus,ThepowersupplyoftheCANdrivermoduleisadoptedDC2405poweredalone.3.2displayunitThecallingcontrollerdisplayunitcomprisesabuttonlamp,afloor,adirectionarrowandaninspectionlamp.Traditional elevatorsareallusedSevensectionsofcodetoshowthedirectionarrowandthenumberoffloors5x7LEDdotmatrixdisplaytodisplay,andcanmakearrowsHeadandfloornumbersaredisplayedwhiletheelevatorisrunning.PICpassTXportsend48bitserialsignal,sendforwardThesequenceisheadedbyarrows,withtenfloors,onefloor,androwsselected.ConvertapreviousserialtoaparalleldeviceParallel74HC164OutputterminalQ7andthenextone74HC164serialinputAconnectedtoform 474HC164classcompanyThefirsttosendThearrowsignalistransmittedtothelastoneAfter74HC164,after3Theoutputofthe74HC164Q0~Q6areconnectedseparatelyThecolumnaddressofthe3dotmatrixA1~A7,thefirstone74HC164Q0~Q4throughunidirectionaldrivepartsMC1413connection3Therowaddressofthedotmatrix B1~B5.ThedotmatrixisscannedInsoftware,everyother1msoutputsoneline,soThe5lineonlyneeds5msTime,thehumaneyewillnotfeelflashingColumnsignaleveryother50msmoveonebitTherefore,therollingeffectofthearrowandthefloornumbercanbegeneratedFruit.WhentheelevatorbrokedownSinglechipmicrocomputerTheI/Oportoutputshighleveltolighttheinspectionlamp.Dotmatrixdisplayschematicdiagram,suchasOneAsshown.3.3callunit Thecallingladdercontrolleralsocomprisesadialcodeswitch,anupperbutton,alowerbuttonandadebugginginterface.ThedialswitchisusedforsettingthecallladderWhentheelevatorisupordown,themastercontrollerplacesthefloornumberandpassengeroftheelevatorIftheexpectedfloornumberisthesame,theelevatorwillstoprunningand,ifdifferent,continuetogoupordown,whilethearrowScrollupordown.Theupperandlowerbuttonsarepartofthepassenger'scall,andthecallladderreceivesthecallrequestandisprocessed,Thecommunicationsectionissenttothemaincontroller.Thedebuginterfaceisusedtodownloadprogramsorsimulatedebugging.Bain&company,simulatorTheICD2.chart1LEDdotmatrixdisplayhardwareschematic4systemsoftwaredesign4.1CANcommunicationsoftwaredesign InthissystemTheCANmoduleworksinconfigurationmodeandnormalWorkingmodel.First,controlandstatusregistersarehandledinconfigurationmodeBaudratecontrolregister,I/0controlregister,interruptFlagandcontrolregisters,receivemaskregisters,andreceivefilteringTheregisterissetaccordingtothesystemrequirementsoastoguaranteeCANbusOpen。ThisregistercanonlybeconfiguredinconfigurationmodeAfterfinishing,enternormalworkingmode.ThehostcomputerandtheslavecomputerarebothRespectiveCANreceiveinterruptopen,waitCANbustransmission Incomingdata.Whensendingthecallingladderinformation,theCAN16bitsettingCANSendthedataformat,anddata;17placethefloornumberAsIDnumber;18bitsetas0;19sum20bitstorageuplinkInformationissentwithuplinkinformation2bytesFFFFH,ifSendwithout0000H;21and 22bitsstoredownlinkinformation.TheCANmodulesendsdataflowdiagramsasshowninFig.2shows.4.2mainprogramdesignSoftwaretoachievetheswitchcodeinitializationsettings,CANinitializationsettings,readthemasterresponseandreceivefromCANTheinformationsentbythebus,theprocessingbutton,thecallingsubroutine,andtheCANSendanddotmatrixdisplay.Programflowchart,suchas3shows.chart2CANmodulesenddataflowchart5ConclusionInthispaper,PIC18F258isdesignedasthecoreofCANcommunicationTheelevatorelevatorcontrollerhasbeenusedfornearly1years ThecontrollerhasgoodfunctionalcharacteristicsandhighreliabilityStrong,andperformance,highprices.ThesystemissimpleinstructureandeasytoinstallThetrendofthefutureelevatorcontrolsystemhasbeensuccessfullyputintomassproductionProduce.Theinnovativepointofthispaperis:anefficientindustrialfieldbus,CANbusTheelevatorcallcontrollerisintroducedandthecommunicationbetweenthecontrollerandthemaincontrollerisgreatlysimplifiedThesystemstructureisimproved,andtheinstallationoftheelevatorcontrolsystemismoreflexibleandconvenient.Reference[1]WanJianru,LiuHongchi,LiuChunjiang.ElevatorcontrolbasedonCANbusDesignandimplementationofsignalmeasurementandcontrolnetwork.Journalofinstrumentandmeters,2003,24(4):434~437 [2]LiuTie,realkomidori.ElevatorcontrolsystembasedonCANbus.northJournalofBeijingUniversityofbusinessandTechnology(NATURALSCIENCE),2002,20(4):28~31[3],strictlaw,high,Hui,Xuhui.ElevatormonitoringsystembasedonfieldbusDesign。Microcomputerinformation,Vol.twenty-first,2005,issuesixth,85pagesAuthor'sbriefintroduction:firstauthor:WuLei(1982-),female,masterdegreestudent,Schoolofautomation,WuhanUniversityofTechnology,researchfield:controltheoryandcontrolworkerCheng.E-mail:yixing9335@sina.comSecondauthor:XuCuiqin(1981-),female,master'sdegree,WuhantheorySchoolofautomation,Universityofengineering,researchfield:detectiontechnologyandintelligentcontrolThirdAuthor:Encyclopediaofthesea,male,doctoral,doctoraltutor,WuhanPolytechnicUniversityDeanofSchoolofautomation,figure3,programflowchart authorbriefintroduction:wulei(1982-),female,anpostgraduatestudentfromschool.ofautomation,wuhanuniversityoftechnology(whut),majorincontroltheoryandcontrolengineering;xucuiqin(1981-),female,postgraduatestudentfromschool.wuhanuniversityoftechnology,ofautomation,majorinintelligencecontrol;.shuhai,male,professorandtheheadofthecollegeofautomationofwhut作者通信方式:湖北武汉市武汉理工大学西院64信箱吴蕾收.430070邮编.

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。
关闭