CAN网络如何工作外文翻译.docx

上传人:b****8 文档编号:28365943 上传时间:2023-07-10 格式:DOCX 页数:21 大小:227.76KB
下载 相关 举报
CAN网络如何工作外文翻译.docx_第1页
第1页 / 共21页
CAN网络如何工作外文翻译.docx_第2页
第2页 / 共21页
CAN网络如何工作外文翻译.docx_第3页
第3页 / 共21页
CAN网络如何工作外文翻译.docx_第4页
第4页 / 共21页
CAN网络如何工作外文翻译.docx_第5页
第5页 / 共21页
点击查看更多>>
下载资源
资源描述

CAN网络如何工作外文翻译.docx

《CAN网络如何工作外文翻译.docx》由会员分享,可在线阅读,更多相关《CAN网络如何工作外文翻译.docx(21页珍藏版)》请在冰豆网上搜索。

CAN网络如何工作外文翻译.docx

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

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

当前位置:首页 > 农林牧渔 > 林学

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

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