资源描述:
《毕业设计中英文资料--基于ch372实现can总线适配器 (2)》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、外文资料TheImplementationofCANBusAdapterBasedonCH372AbstractToimplementquickandreliablecommunicationbetweenCANbusnetworkandcomputer,weproposeasortofdesignmethodofCANbusnetworkadapterbasedonCH372,andmainlyintroducetheconcreteimplementationsofhardwarecircuitands
2、oftwareprograminthisarticle.Thissystemadoptsthemodularizationdesign,andanewUSBinterfacechipCH372isadoptedintheUSBcommunicationmodule,whichcansimplifythedesignofsoftwareprogram.SJA1000buscontrollerisadoptedintheCANbusmodule.Thesystemcaneffectivelyimplementt
3、hedatatransferbetweenCANbusandcomputerwithhighspeed.Keywords:USBbus,CANbus,CH372,SJA10001.IntroductionIntheCANbusmeasurementandcontrolnetwork,thenetworkadapterassumestheimportanttaskofdatatransferbetweenmonitorunitandlowercomputer.Thedesignoftraditionalada
4、pterisgenerallybasedonISAbusandEISAbus,whichhasnotfulfilledtheneedofhigh-speeddatatransfernowadays.ThoughthenetworkcardbasedonPCIbushas quicktransferspeed,butitstillhasmanydisadvantagesanddeficienciessuchascomplexagreement,systemresourceoccupation,nonsuppo
5、rthotswapandexpensiveprice.ThoughRS232hasconvenientswap,butitstransferspeedistoolow,anditsmaximumcommunicationspeedisonly20Kbps.USBbussupportshotswap,anditiseasytobeextended,andithasquickspeed,soitistheidealchoicetodesignCANbusadapter.However,pastUSBinterf
6、acechipsalwaysadoptPDIUSBD12andUSBN903,andtheirsoftwaredesignswerecomplex.Inthisdesign,weadoptnewUSBinterfacechipCH372withinteriorintegratedUSBagreement,whichcouldmakeprogramdesignandimplementationeasier,anduserscouldputtheirenergiesonthedesignofapplicatio
7、n.TheadapterdesignedinthisarticleisactuallyappliedintheproductupdatingprojectofDontaiS&TDevelopmentCo.Ltd.Thepracticeprovedthatthedesigncouldenhancethecommunicationspeed,itsinstallationandmaintenancewereconvenientandithadextensiveapplicationfutureintheindu
8、strialcontroldomain.2.Theimplementationofadapterhardwarecircuit2.1TotalstructureofhardwarecircuitThehardwarecircuitoftheadapterdesignedinthisarticleadoptsthemodularizationdesignincludingmaincontrollermodule,U