资源描述:
《毕业设计中英文资料--基于ch372实现can总线适配器》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、外文资料TheImplementationofCANBusAdapterBasedonCH372AbstractToimplementquickandreliablecommunicationbetweenCANbusnetworkandcomputer,weproposeasortofdesignmethodofCANbusnetworkadapterbasedonCH372,andmainlyintroducetheconcreteimplementationsofhardwarecircuitandsoftwareprograminthisarticle.Thissy
2、stemadoptsthemodularizationdesign,andanewUSBinterfacechipCH372isadoptedintheUSBcommunicationmodule,whichcansimplifythedesignofsoftwareprogram.SJA1000buscontrollerisadoptedintheCANbusmodule.ThesystemcaneffectivelyimplementthedatatransferbetweenCANbusandcomputerwithhighspeed.Keywords:USBbus,
3、CANbus,CH372,SJA10001.IntroductionIntheCANbusmeasurementandcontrolnetwork,thenetworkadapterassumestheimportanttaskofdatatransferbetweenmonitorunitandlowercomputer.ThedesignoftraditionaladapterisgenerallybasedonISAbusandEISAbus,whichhasnotfulfilledtheneedofhigh-speeddatatransfernowadays.Tho
4、ughthenetworkcardbasedonPCIbushas quicktransferspeed,butitstillhasmanydisadvantagesanddeficienciessuchascomplexagreement,systemresourceoccupation,nonsupporthotswapandexpensiveprice.ThoughRS232hasconvenientswap,butitstransferspeedistoolow,anditsmaximumcommunicationspeedisonly20Kbps.USBbussu
5、pportshotswap,anditiseasytobeextended,andithasquickspeed,soitistheidealchoicetodesignCANbusadapter.However,pastUSBinterfacechipsalwaysadoptPDIUSBD12andUSBN903,andtheirsoftwaredesignswerecomplex.Inthisdesign,weadoptnewUSBinterfacechipCH372withinteriorintegratedUSBagreement,whichcouldmakepro
6、gramdesignandimplementationeasier,anduserscouldputtheirenergiesonthedesignofapplication.TheadapterdesignedinthisarticleisactuallyappliedintheproductupdatingprojectofDontaiS&TDevelopmentCo.Ltd.Thepracticeprovedthatthedesigncouldenhancethecommunicationspeed,itsinstallationandmaintenancewerec
7、onvenientandithadextensiveapplicationfutureintheindustrialcontroldomain.2.Theimplementationofadapterhardwarecircuit2.1TotalstructureofhardwarecircuitThehardwarecircuitoftheadapterdesignedinthisarticleadoptsthemodularizationdesignincludingmaincontrollermodule,U