車載網(wǎng)絡(luò)節(jié)點(diǎn)發(fā)出自動位置_第1頁
車載網(wǎng)絡(luò)節(jié)點(diǎn)發(fā)出自動位置_第2頁
車載網(wǎng)絡(luò)節(jié)點(diǎn)發(fā)出自動位置_第3頁
車載網(wǎng)絡(luò)節(jié)點(diǎn)發(fā)出自動位置_第4頁
已閱讀5頁,還剩8頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)

文檔簡介

1、INTERFRAMEINTERFRAME 1INTERFRAMESPACE:separateDATAFRAMEsandFRAMEsfromprecedingframeswhatevertypetheyare(DATAFRAME, REMOTE FRAME, ERROR FRAME, OVERLOAD FRAME)2OVERLOADFRAMEsandERRORFRAMEsarenotprecededbyan INTERFRAME SPACE(在overload 和error之前沒有interframe)3multipleOVERLOADFRAMEsarenotseparatedbyanINTER

2、FRAME INTERFRAMEINTERFRAME 1 INTERFRAME SPACE INTERMISSION(間歇) BUS IDLEINTERFRAMEINTERFRAME ForerrorpassivestationswhichhavebeenTRANSMITTERofthe previous message:增加了SUSPEND TRANSMISSION(掛起傳送INTERFRAME 1consistsofthreerecessive2DuringINTERMISSIONtheonlyactiontobetakenissignallingan OVERLOAD condition

3、(看是否第一或第二位為dominent)3nostationisallowedtoactivelystarttransmissionofaDATAFRAMEor REMOTE FRAME.4 注意:If a CAN node has a message waiting for transmission and it samples a dominant bit at the third bit of INTERMISSION, it will interpret this as a START OF FRAME bit, and, with the next bit, start transm

4、itting itsmessagewiththefirstbitofitsIDENTIFIERwithoutfirsttransmittinga START OF FRAME bit and without becoming receiver.BUSBUS INTERFRAME 1TheperiodofBUSIDLEmaybeofarbitrary2Thebusisrecognizedtobefreeandanystationhavingsomethingto transmit can access the bus.3Amessagewhichispendingfortransmissiond

5、uringthetransmissionof another message(suspend transmission), is started in the first bit following INTERMISSION.4ThedetectionofadominantbitonthebusisinterpretedasaSTART OF FRAME.SUSPENDSUSPEND INTERFRAME k1SUSPENDeightrecessive2 After an error passive station has transmitted a message, it sends eig

6、htrecessivebitsfollowingINTERMISSION,beforestartingtotransmit a further message or recognizing the bus to be idle.3Ifmeanwhileatransmission(causedbyanotherstation)starts,the station will become receiver of this message.被動錯誤節(jié)點(diǎn),B報文優(yōu)先級高于AB獲取總線控制權(quán),第Definitionof TRANSMITTER / 1 A unit originating a messa

7、ge is called “TRANSMITTER” of that message.TheunitstaysTRANSMITTERuntilthebusisidleortheunit loses ARBITRATION.2 Aunitiscalled“RECEIVER”ofamessage,ifitisnotTRANSMITTER of that message and the bus is not idle.MessageMessagefilteringisbasedthewholemaskMESSAGE 1 Message filtering is based upon the whol

8、e Identifier. Optional mask registers that allow any Identifier bit to be set dont care for message filtering,maybeusedtoselectgroupsofIdentifierstobemappedintothe attached receive buffers.2 If mask registers are implemented every bit, mask registers must be programmable(可編程的), i.e. they can be enab

9、led or disabled for messagefilteringThelengthofthemaskregistercancomprise(包含the whole IDENTIFIER or only part of it.MESSAGEMESSAGE 70f3239單片機(jī)的CAN控制器的ID寄存器MESSAGEMESSAGE Thepointoftimeatwhichmessage is taken to be valid, is different for the transmitter and the receivers of the message.MESSAGE 1Theme

10、ssageisvalidforthetransmitter,ifthereisnoerroruntil the end of END OF FRAME.Ifamessageiscorrupted,retransmissionwillfollowautomatically and according to prioritization. In order to be able to compete for bus access with other messages, retransmission has to start as soon as the bus is idle.2Themessa

11、geisvalidforthereceiversifthereisnoerroruntil thelastonebitofENDOFFRAME(除了幀末尾位)Thevalueofthe last bit of END OF FRAME is treated as dont care, a dominant value does not lead to a FORM ERROR (cf. section 7.1).范圍:TheframesegmentsSTARTOFFRAMEARBITRATIONFIELD, CONTROL FIELD, DATA FIELD and CRC SEQUENCE

12、are coded by the method of bit stuffing.規(guī)則1:Wheneveratransmitterdetectsfiveconsecutivebitsofidentical value in the bit stream to be transmitted it automatically inserts a complementary bit in the actual transmitted bit stream.規(guī)則2:The remaining bit fields of the DATA FRAME or REMOTE FRAME(CRCDELIMITE

13、RACKFIELDandENDOFFRAMEareoffixedformandnot規(guī)則3TheERRORFRAMEandtheOVERLOADFRAMEareoffixed form as well and not coded by the method of bit stuffing.規(guī)則4The bit stream in a message is coded according to the Non- Return-to-Zero(NRZmethodThismeansthatduringthetotalbittimethe generated bit level is either d

14、ominant or recessive.無0態(tài)。Wheneverthebusisfree,anyunitmaystarttotransmitaIf2ormoreunitsstarttransmittingmessagesatthesametime,thebus access conflict is resolved by bitwise arbitration using the IDENTIFIER.During arbitration every transmitter compares the level of the bit transmittedwiththelevelthatismonitoredonthebus.Iftheselevelsare equaltheunitmaycontinuetosend.Whenarecessivelevelissentand a dominant level is monitored (see Bus Values), the unit has lost arbitration and must withdraw without sending one

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論