英文资料与中文翻译.docx

上传人:b****1 文档编号:2421975 上传时间:2022-10-29 格式:DOCX 页数:10 大小:27.97KB
下载 相关 举报
英文资料与中文翻译.docx_第1页
第1页 / 共10页
英文资料与中文翻译.docx_第2页
第2页 / 共10页
英文资料与中文翻译.docx_第3页
第3页 / 共10页
英文资料与中文翻译.docx_第4页
第4页 / 共10页
英文资料与中文翻译.docx_第5页
第5页 / 共10页
点击查看更多>>
下载资源
资源描述

英文资料与中文翻译.docx

《英文资料与中文翻译.docx》由会员分享,可在线阅读,更多相关《英文资料与中文翻译.docx(10页珍藏版)》请在冰豆网上搜索。

英文资料与中文翻译.docx

英文资料与中文翻译

英文资料与中文翻译

INTRODUCTION

ControllerAreaNetwork(CAN)wasinitiallycreatedbyGermanautomotivesystemsupplierRobertBoschinthemid-1980sforautomotiveapplicationsasamethodforenablingrobustserialcommunication.Thegoalwastomakeautomobilesmorereliable,safeandfuel-efficientwhiledecreasingwiringharnessweightandcomplexity.Sinceitsinception,theCANprotocolhasgainedwidespreadpopularityinindustrialautomationandautomotive/truckapplications.Othermarketswherenetworkedsolutionscanbringattractivebenefitslikemedicalequipment,testequipmentandmobilemachinesarealsostartingtoutilizethebenefitsofCAN.ThegoalofthisapplicationnoteistoexplainsomeofthebasicsofCANandshowthebenefitsofchoosingCANforembeddedsystemsnetworkedapplications.

CANOVERVIEW

Mostnetworkapplicationsfollowalayeredapproachtosystemimplementation.Thissystematicapproachenablesinteroperabilitybetweenproductfromdifferentmanufacturers.AstandardwascreatedbytheInternationalStandardsOrganization(ISO)asatemplatetofollowforthislayeredapproach.ItiscalledtheISOOpenSystemsInterconnection(OSI)NetworkLayeringReferenceModelandisshowninFigure1forreference.TheCANprotocolitselfimplementsmostofthelowertwolayersofthisreferencemodel.ThecommunicationmediumportionofthemodelwaspurposelyleftoutoftheBoschCANspecificationtoenablesystemdesignerstoadaptandoptimizethecommunicationprotocolonmultiplemediaformaximumflexibility(twistedpair,singlewire,opticallyisolated,RF,IR,etc.).Withthisflexibility,however,comesthepossibilityofinteroperabilityconcerns.Toeasesomeoftheseconcerns,theInternationalStandardsOrganizationandSocietyofAutomotiveEngineers(SAE)havedefinedsomeprotocolsbasedonCANthatincludetheMediaDependantInterfacedefinitionsuchthatallofthelowertwolayersarespecified.

ISO11898isastandardforhigh-speedapplications,ISO11519isastandardforlow-speedapplications,andJ1939(fromSAE)istargetedfortruckandbusapplications.Allthreeoftheseprotocolsspecifya5Vdifferentialelectricalbusasthephysicalinterface.TherestofthelayersoftheISO/OSIprotocolstackarelefttobeimplementedbythesystemsoftwaredeveloper.HigherLayerProtocols(HLPs)aregenerallyusedtoimplementtheupperfivelayersoftheOSIReferenceModel.

HLPsareusedto:

1)standardizestartupproceduresincludingbitratesused,

2)distributeaddressesamongparticipatingnodesortypesofmessages,

3)determinethestructureofthemessages,and

4)providesystem-levelerrorhandlingroutines.ThisisbynomeansafulllistofthefunctionsHLPsperform,howeveritdoesdescribesomeoftheirbasicfunctionality.

CANPROTOCOLBASICS

CarrierSenseMultipleAccesswithCollision

Detection(CSMA/CD)

TheCANcommunicationprotocolisaCSMA/CDprotocol.TheCSMAstandsforCarrierSenseMultipleAccess.Whatthismeansisthateverynodeonthenetworkmustmonitorthebusforaperiodofnoactivitybeforetryingtosendamessageonthebus(CarrierSense).Also,oncethisperiodofnoactivityoccurs,everynodeonthebushasanequalopportunitytotransmitamessage(MultipleAccess).TheCDstandsforCollisionDetection.Iftwonodesonthenetworkstarttransmittingatthesametime,thenodeswilldetectthe‘collision’andtaketheappropriateaction.InCANprotocol,anondestructivebitwisearbitrationmethodisutilized.Thismeansthatmessagesremainintactafterarbitrationiscompletedevenifcollisionsaredetected.Allofthisarbitrationtakesplacewithoutcorruptionordelayofthehigherprioritymessage.

Thereareacoupleofthingsthatarerequiredtosupportnon-destructivebitwisearbitration.First,logicstatesneedtobedefinedasdominantorrecessive.Second,thetransmittingnodemustmonitorthestateofthebustoseeifthelogicstateitistryingtosendactuallyappearsonthebus.CANdefinesalogicbit0asadominantbitandalogicbit1asarecessivebit.

Adominantbitstatewillalwayswinarbitrationoverarecessivebitstate,thereforethelowerthevalueintheMessageIdentifier(thefieldusedinthemessagearbitrationprocess),thehigherthepriorityofthemessage.Asanexample,supposetwonodesaretryingtotransmitamessageatthesametime.Eachnodewillmonitorthebustomakesurethebitthatitistryingtosendactuallyappearsonthebus.Thelowerprioritymessagewillatsomepointtrytosendarecessivebitandthemonitoredstateonthebuswillbeadominant.Atthatpointthisnodelosesarbitrationandimmediatelystopstransmitting.Thehigherprioritymessagewillcontinueuntilcompletionandthenodethatlostarbitrationwillwaitforthenextperiodofnoactivityonthebusandtrytotransmititsmessageagain.

Message-BasedCommunication

CANprotocolisamessage-basedprotocol,notanaddressbasedprotocol

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 求职职场 > 面试

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1