CAN网络如何工作外文翻译.docx
- 文档编号:28365943
- 上传时间:2023-07-10
- 格式:DOCX
- 页数:21
- 大小:227.76KB
CAN网络如何工作外文翻译.docx
《CAN网络如何工作外文翻译.docx》由会员分享,可在线阅读,更多相关《CAN网络如何工作外文翻译.docx(21页珍藏版)》请在冰豆网上搜索。
CAN网络如何工作外文翻译
HowtheCANnetworkfunctions
Principlesofdataexchange.
WhendataaretransmittedbyCAN,nostationsareaddressed,butinstead,thecontentofthemessage(e.g.rpmorenginetemperature)isdesignatedbyanidentifierthatisuniquethroughoutthenetwork.Theidentifierdefinesnotonlythecontentbutalsothepriorityofthemessage.Thisisimportantforbusallocationwhenseveralstationsarecompetingforbusaccess.
IftheCPUofagivenstationwishestosendamessagetooneormorestations,itpassesthedatatobetransmittedandtheiridentifierstotheassignedCANchip(”Makeready”).ThisisalltheCPUhastodotoinitiatedataexchange.ThemessageisconstructedandtransmittedbytheCANchip.AssoonastheCANchipreceivesthebusallocation(”SendMessage”)allotherstationsontheCANnetworkbecomereceiversofthismessage(”ReceiveMessage”).EachstationintheCANnetwork,havingreceivedthemessagecorrectly,performsanacceptancetesttodeterminewhetherthedatareceivedarerelevantforthatstation(”Select”).Ifthedataareofsignificanceforthestationconcernedtheyareprocessed(”Accept”),otherwisetheyareignored.
Ahighdegreeofsystemandconfigurationflexibilityisachievedasaresultofthecontent-orientedaddressingscheme.ItisveryeasytoaddstationstotheexistingCANnetworkwithoutmakinganyhardwareorsoftwaremodificationstotheexistingstations,providedthatthenewstationsarepurelyreceivers.Becausethedatatransmissionprotocoldoesnotrequirephysicaldestinationaddressesfortheindividualcomponents,itsupportstheconceptofmodularelectronicsandalsopermitsmultiplereception(broadcast,multicast)andthesynchronizationofdistributedprocesses:
measurementsneededasinformationbyseveralcontrollerscanbetransmittedviathenetwork,insuchawaythatitisunnecessaryforeachcontrollertohaveitsownsensor.
BroadcasttransmissionandacceptancefilteringbyCANnodes
Non-destructivebitwisearbitration.
Forthedatatobeprocessedinrealtimetheymustbetransmittedrapidly.Thisnotonlyrequiresaphysicaldatatransferpathwithupto1Mbit/sbutalsocallsforrapidbusallocationwhenseveralstationswishtosendmessagessimultaneously.Inreal-timeprocessingtheurgencyofmessagestobeexchangedoverthenetworkcandiffergreatly:
arapidlychangingdimension(e.g.engineload)hastobetransmittedmorefrequentlyandthereforewithlessdelaysthanotherdimensions(e.g.enginetemperature)whichchangerelativelyslowly.Thepriorityatwhichamessageistransmittedcomparedwithanotherlessurgentmessageisspecifiedbytheidentifierofthemessageconcerned.Theprioritiesarelaiddownduringsystemdesignintheformofcorrespondingbinaryvaluesandcannotbechangeddynamically.Theidentifierwiththelowestbinarynumberhasthehighestpriority.
Busaccessconflictsareresolvedbybitwisearbitrationontheidentifiersinvolvedbyeachstationobservingthebuslevelbitforbit.Inaccordancewiththe”wiredand”mechanism,bywhichthedominantstate(logical0)overwritestherecessivestate(logical1),thecompetitionforbusallocationislostbyallthosestationswithrecessivetransmissionanddominantobservation.All”losers”automaticallybecomereceiversofthemessagewiththehighestpriorityanddonotreattempttransmissionuntilthebusisavailableagain.
Efficiencyofbusallocation.
Theefficiencyofthebusallocationsystemisdeterminedmainlybythepossibleapplicationforaserialbussystem.Inordertojudgeassimplyaspossiblywhichbussystemsaresuitableforwhichapplicationstheliteratureincludesamethodofclassifyingbusallocationprocedures.Generallywedistinguishbetweenthefollowingclasses:
●Allocationonafixedtimeschedule.
Allocationismadesequentiallytoeachparticipantforamaximumdurationregardlessofwhetherthisparticipantneedsthebusatthismomentornot(examples:
tokenslotortokenpassing).
●Busallocationonthebasisofneed.
Thebusisallocatedtooneparticipantonthebasisoftransmissionrequestsoutstanding,i.e.theallocationsystemonlyconsidersparticipantswishingtotransmit(examples:
CSMA,CSMA/CD,flyingmaster,roundrobinorbitwisearbitration).ForCAN,busallocationisnegotiatedpurelyamongthemessageswaitingtobetransmitted.ThismeansthattheprocedurespecifiedbyCANisclassifiedasallocationonthebasisofneed.
Anothermeansofassessingtheefficiencyofbusarbitrationsystemsisthebusaccessmethod:
●Non-destructivebusaccess.
Withmethodsofthistypethebusisallocatedtooneandonlyonestationeitherimmediatelyorwithinaspecifiedtimefollowingasinglebusaccess(byoneormorestations).Thisensuresthateachbusaccessbyoneormorestationsleadstoanunambiguousbusallocation(examples:
tokenslot,tokenpassing,roundrobin,bitwisearbitration)
●Destructivebusallocation.
Simultaneousbusaccessbymorethanonestationcausesalltransmissionattemptstobeabortedandthereforethereisnosuccessfulbusallocation.Morethanonebusaccessmaybenecessaryinordertoallocatethebusatall,thenumberofattemptsbeforebusallocationissuccessfulbeingapurelystatisticalquantity(examples:
CSMA/CD,Ethernet).
InordertoprocessalltransmissionrequestsofaCANnetworkwhilecomplyingwithlatencyconstraintsataslowadatatransferrateaspossible,theCANprotocolmustimplementabusallocationmethodthatguaranteesthatthereisalwaysunambiguousbusallocationevenwhentherearesimultaneousbusaccessesfromdifferentstations.
Themethodofbitwisearbitrationusingtheidentifierofthemessagestobetransmitteduniquelyresolvesanycollisionbetweenanumberofstationswantingtotransmit,anditdoesthisatthelatestwithin13(standardformat)or33(extendedformat)bitperiodsforanybusaccessperiod.Unlikethemessage-wisearbitrationemployedbytheCSMA/CDmethodthisnondestructivemethodofconflictresolutionensuresthatnobuscapacityisusedwithouttransmittingusefulinformation.
EveninsituationswherethebusisoverloadedthelinkageofthebusaccessprioritytothecontentofthemessageprovestobeabeneficialsystemattributecomparedwithexistingCSMA/CDortokenprotocols:
inspiteoftheinsufficientbustransportcapacity,alloutstandingtransmissionrequestsareprocessedinorderoftheirimportancetotheoverallsystem(asdeterminedbythemessagepriority).
Theavailabletransmissioncapacityisutilizedefficientlyforthetransmissionofusefuldatasince”gaps”inbusallocationarekeptverysmall.Thecollapseofthewholetransmissionsystemduetooverload,ascanoccurwiththeCSMA/CDprotocol,isnotpossiblewithCAN.Thus,CANpermitsimplementationoffast,traffic-dependentbusaccesswhichisnon-destructivebecauseofbitwisearbitrationbasedonthemessagepriorityemployed.
Non-destructivebusaccesscanbefurtherclassifiedinto
●centralizedbusaccesscontroland
●decentralizedbusaccesscontrol
dependingonwhetherthecontrolmechanismsarepresentinthesystemonlyonce(centralized)ormorethanonce(decentralized).
Acommunicationsystemwithadesignatedstation(interaliaforcentralizedbusaccesscontrol)mustprovideastrategytotakeeffectintheeventofafailureofthemasterstation.Thisconcepthasthedisadvantagethatthestrategyforfailuremanagementisdifficultandcostlytoimplementandalsothatthetakeoverofthecentralstationbyaredundantstationcanbeverytime-consuming.
Forthesereasonsandtocircumventtheproblemofthereliabilityofthemasterstation(andthusofthewholecommunicationsystem),theCANprotocolimplementsdecentralizedbuscontrol.Allmajorcommunicationmechanisms,includingbusaccesscontrol,areimplementedseveraltimesinthesystem,becausethisistheonlywaytofulfilthehighrequirementsfortheavailabilityofthecommunicationsystem.
InsummaryitcanbesaidthatCANimplementsatraffic-dependentbusallocationsystemthatpermits,bymeansofanon-destructivebusaccesswithdecentralizedbusaccesscontrol,ahighusefuldatarateatthelowestpossiblebusdatarateintermsofthebusbusyrateforallstations.Theefficiencyofthebusarbitrationprocedureisincreasedbythefactthatthebusisutilizedonlybythosestationswithpendingtransmissionrequests.
Theserequestsarehandledintheorderoftheimportanceofthemessagesforthesystemasawhole.Thisprovesespeciallyadvantageousinoverloadsituations.Sincebusaccessisprioritizedonthebasisofthemessages,itispossibletoguaranteelowindividuallatencytimesinreal-timesystems.
Messageframeformats.
TheCANprotocolsupportstwomessageframeformats,theonlyessentialdifferencebeinginthelengthoftheidentifier(ID).InthestandardformatthelengthoftheIDis11bitsandintheextendedformatthelengthis29bits.Themessageframefortransmittingmessagesonthebuscomprisessevenmainfields.
Amessageinthestandardformatbeginswiththestartbit”startofframe”,thisisfollowedbythe”arbitrationfield”,whichcontainstheidentifierandthe”RTR”(remotetransmissionrequest)bit,whichindicateswhetheritisadataframeorarequestframewithoutanydatabytes(remoteframe).
The”controlfield”containstheIDE(identifierextension)bit,whichindicateseitherstandardformatorextendedformat,abitreservedforfutureextensionsand-inthelast4bits-acountofthedatabytesinthedatafield.
The”datafield”rangesfrom0to8bytesinlengthandisfollowedbythe”CRCfield”,whichisusedasaframesecuritycheckfordet
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- CAN 网络 如何 工作 外文 翻译
![提示](https://static.bdocx.com/images/bang_tan.gif)