2023年全國(guó)碩士研究生考試考研英語(yǔ)一試題真題(含答案詳解+作文范文)_第1頁(yè)
已閱讀1頁(yè),還剩6頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡(jiǎn)介

1、<p><b>  附 錄:</b></p><p>  ERROR HANDLING</p><p>  Error Detection:</p><p>  There are 5 different error types (which are not mutually exclusive):</p><p&

2、gt;  BIT ERROR:</p><p>  A unit that is sending a bit on the bus also monitors the bus. A BIT ERROR has to be detected at that bit time, when the bit value that is monitored is different from the bit value t

3、hat is sent. An exception is the sending of a “recessive” bit during the stuffed bit stream of the ARBITRATION FIELD or during the ACK SLOT. Then no BIT ERROR occurs when a “dominant” bit is monitored. A TRANSMITTER send

4、ing a PASSIVE ERROR FLAG and detecting a “dominant” bit does not interpret this as a BIT ERROR.</p><p>  STUFF ERROR:</p><p>  A STUFF ERROR has to be detected at the bit time of the 6th consecu

5、tive equal bit level in a message field that should be coded by the method of bit stuffing.</p><p>  CRC ERROR:</p><p>  The CRC sequence consists of the result of the CRC calculation by the tra

6、nsmitter. The receivers calculate the CRC in the same way as the transmitter. A CRC ERROR has to be detected, if the calculated result is not the same as that received in the CRC sequence.</p><p>  FORM ERRO

7、R:</p><p>  A FORM ERROR has to be detected when a fixed-form bit field contains one or more illegal bits. (Note, that for a Receiver a dominant bit during the last bit of END OR FRAME is not treated as FORM

8、 ERROR).</p><p>  ACKNOWLEDGMENT ERROR</p><p>  An ACKNOWLEDGMENT ERROR has to be detected by a transmitter whenever it</p><p>  does not monitor a “dominant” bit during the ACK SLO

9、T.</p><p>  Error Signaling:</p><p>  A station detecting an error condition signals this by transmitting an ERROR FLAG. For an “error active” node it is an ACTIVE ERROR FLAG, for an “error pass

10、ive” node it is a PASSIVE ERROR FLAG. Whenever a BIT ERROR, a STUFF ERROR, a FORM ERROR or an ACKNOWLEDGMENT ERROR is detected by any station, transmission of an ERROR FLAG is started at the respective station at the nex

11、t bit. Whenever a CRC ERROR is detected, transmission of an ERROR FLAG starts at the bit following the ACK DELIMITER, unless</p><p>  FAULT CONFINEMENT OF CAN:</p><p>  With respect to fault con

12、finement a unit may be in one of three states:</p><p>  “error active” </p><p>  “error passive”</p><p>  “bus off” </p><p>  An “error active” unit can normally take p

13、art in bus communication and sends an ACTIVE ERROR FLAG when an error has been detected.</p><p>  An “error passive” unit must not send an ACTIVE ERROR FLAG. It takes part in bus communication, but when an e

14、rror has been detected only a PASSIVE ERROR FLAG is sent. Also after a transmission, an “error passive” unit will wait before initiating a further transmission. </p><p>  A “bus off” unit is not allowed to h

15、ave any influence on the bus. (E.g. output drivers switched off). </p><p>  For fault confinement two counts are implemented in every bus unit:</p><p>  TRANSMIT ERROR COUNT:</p><p>

16、;  RECEIVE ERROR COUNT:</p><p>  These counts are modified according to the following rules (note that more than one rule may apply during a given message transfer):</p><p>  When a RECEIVER det

17、ects an error, the RECEIVE ERROR COUNTwill be increased by 1, except when the detected error was a BIT ERROR during the sending of an ACTIVE ERROR FLAG or an OVERLOAD FLAG.</p><p>  When a RECEIVER detects a

18、 “dominant” bit as the first bit after sending an ERROR FLAG the RECEIVE ERROR COUNT will be increased by 8.</p><p>  When a TRANSMITTER sends an ERROR FLAG the TRANSMIT ERROR COUNT is increased by 8.</p&

19、gt;<p>  Exception 1:</p><p>  If the TRANSMITTER is “error active” and detects an ACKNOWLEDG- MENT ERROR because of not detecting a “dominant” ACK and does not detect a “dominant” bit while sending i

20、ts PASSIVE ERROR FLAG.</p><p>  Exception 2: </p><p>  If the TRANSMITTER sends an ERROR FLAG because STUFF ERROR occurred during ARBITRATION, and should have been “recessive”, and has been sent

21、 as “recessive” but monitored as “dominant”.</p><p>  In exceptions 1 and 2 the TRANSMIT ERROR COUNT is not changed.</p><p>  If a TRANSMITTER detects a BIT ERROR while sending an ACTIVE ERROR F

22、LAG or an OVERLOAD FLAG the TRANSMIT ERROR COUNT is increased by 8.</p><p>  If a RECEIVER detects a BIT ERROR while sending an ACTIVE ERROR FLAG or an OVERLOAD FLAG the RECEIVE ERROR COUNT is increased by 8

23、.</p><p>  Any node tolerates up to 7 consecutive “dominant” bits after sending an ACTIVE ERROR FLAG, PASSIVE ERROR FLAG or OVERLOAD FLAG. After detecting the 14th consecutive “dominant” bit (in case of an A

24、CTIVE ERROR FLAG or an OVERLOAD FLAG) or after detecting the 8th consecutive “dominant” bit following a PASSIVE ERROR FLAG, and after each sequence of additional eight consecutive “dominant” bits every TRANSMITTER increa

25、ses its TRANSMIT ERROR COUNT by 8 and every RECEIVER increases its RECEIVE ERROR COU</p><p>  After the successful transmission of a message (getting ACK and no error until END OF FRAME is finished) the TRAN

26、SMIT ERROR COUNT is decreased by 1 unless it was already 0.</p><p>  After the successful reception of a message (reception without error up to the ACK SLOT and the successful sending of the ACK bit), the RE

27、CEIVE ERROR COUNT is decreased by 1, if it was between 1 and 127. If the RECEIVE ERROR COUNT was 0, it stays 0, and if it was greater than 127, then it will be set to a value between 119 and 127.</p><p>  A

28、node is “error passive” when the TRANSMIT ERROR COUNT equals or exceeds 128, or when the RECEIVE ERROR COUNT equals or exceeds 128. An error condition letting a node become “error passive” causes the node to send an ACTI

29、VE ERROR FLAG.</p><p>  A node is “bus off” when the TRANSMIT ERROR COUNT is greater than or equal to 256.</p><p>  An “error passive” node becomes “error active” again when both the TRANSMIT ER

30、ROR COUNT and the RECEIVE ERROR COUNT are less than or equal to 127.</p><p>  An node which is “bus off” is permitted to become “error active” (no longer “bus off”) with its error counters both set to 0 afte

31、r 128 occurrence of 11 consecutive “recessive” bits have been monitored on the bus.</p><p><b>  Note:</b></p><p>  An error count value greater than about 96 indicates a heavily dist

32、urbed bus. It may be of advantage to provide means to test for this condition.</p><p><b>  Note:</b></p><p>  Start-up / Wake-up:</p><p>  If during start-up only 1 node

33、 is online, and if this node transmits some message, it will get no acknowledgment, detect an error and repeat the message. It can become “error passive” but not “bus off” due to this reason.</p><p><b>

34、;  錯(cuò)誤處理</b></p><p><b>  錯(cuò)誤檢測(cè):</b></p><p>  有以下5 種不同的錯(cuò)誤類(lèi)型(這5 種錯(cuò)誤不會(huì)相互排斥)</p><p>  位錯(cuò)誤(Bit Error)</p><p>  單元在發(fā)送位的同時(shí)也對(duì)總線進(jìn)行監(jiān)視。如果所發(fā)送的位值與所監(jiān)視的位值不相符合,則在此位時(shí)間里檢

35、測(cè)到一個(gè)位錯(cuò)誤。但是在仲裁場(chǎng)(ARBITRATION FIELD)的填充位流期間或應(yīng)答間隙(ACK SLOT)發(fā)送一“隱性”位的情況是例外的。此時(shí),當(dāng)監(jiān)視到一“顯性”位時(shí),不會(huì)發(fā)出位錯(cuò)誤。當(dāng)發(fā)送器發(fā)送一個(gè)被動(dòng)錯(cuò)誤標(biāo)志但檢測(cè)到</p><p>  “顯性”位時(shí),也不視為位錯(cuò)誤。</p><p>  填充錯(cuò)誤(Stuff Error):</p><p>  如果在使用位

36、填充法進(jìn)行編碼的信息中,出現(xiàn)了第6 個(gè)連續(xù)相同的位電平時(shí),檢測(cè)到一個(gè)填充錯(cuò)誤。</p><p>  CRC 錯(cuò)誤(CRC Error):</p><p>  CRC 序列包括發(fā)送器的CRC 計(jì)算結(jié)果。接收器計(jì)算CRC 的方法與發(fā)送器相同。如果計(jì)算結(jié)果與接收到CRC 序列的結(jié)果不相符,則檢測(cè)到一個(gè)CRC 錯(cuò)誤。 形式錯(cuò)誤(Form Error):</p>&l

37、t;p>  當(dāng)一個(gè)固定形式的位場(chǎng)含有1 個(gè)或多個(gè)非法位,則檢測(cè)到一個(gè)形式錯(cuò)誤。(備注:接收器的幀末尾最后一位期間的顯性位不被當(dāng)作幀錯(cuò)誤)</p><p>  應(yīng)答錯(cuò)誤(Acknowledgment Error):</p><p>  只要在應(yīng)答間隙(ACK SLOT)期間所監(jiān)視的位不為“顯性”,則發(fā)送器會(huì)檢測(cè)到一個(gè)應(yīng)答錯(cuò)誤。</p><p><b>

38、  錯(cuò)誤標(biāo)定:</b></p><p>  檢測(cè)到錯(cuò)誤條件的站通過(guò)發(fā)送錯(cuò)誤標(biāo)志指示錯(cuò)誤。對(duì)于“錯(cuò)誤主動(dòng)”的節(jié)點(diǎn),錯(cuò)誤信息為“主動(dòng)錯(cuò)誤標(biāo)志”,對(duì)于“錯(cuò)誤被動(dòng)”的節(jié)點(diǎn),錯(cuò)誤信息為“被動(dòng)錯(cuò)誤標(biāo)志”。站檢測(cè)到無(wú)論是位錯(cuò)誤、填充錯(cuò)誤、形式錯(cuò)誤,還是應(yīng)答錯(cuò)誤,這個(gè)站會(huì)在下一位時(shí)發(fā)出錯(cuò)誤標(biāo)志信息。只要檢測(cè)到的錯(cuò)誤的條件是CRC 錯(cuò)誤,錯(cuò)誤標(biāo)志的發(fā)送開(kāi)始于ACK 界定符之后的位(其他的錯(cuò)誤條件除外)。</p&g

39、t;<p>  CAN的故障界定:</p><p>  至于故障界定,單元的狀態(tài)可能為以下三種之一:</p><p><b>  “錯(cuò)誤主動(dòng)”</b></p><p><b>  “錯(cuò)誤被動(dòng)”</b></p><p><b>  “總線關(guān)閉”</b></p

40、><p>  “錯(cuò)誤主動(dòng)”的單元可以正常地參與總線通訊并在錯(cuò)誤被檢測(cè)到時(shí)發(fā)出主動(dòng)錯(cuò)誤標(biāo)志。</p><p>  “錯(cuò)誤被動(dòng)”的單元不允許發(fā)送主動(dòng)錯(cuò)誤標(biāo)志?!板e(cuò)誤被動(dòng)”的單元參與總線通訊,在錯(cuò)誤被檢測(cè)到時(shí)只發(fā)出被動(dòng)錯(cuò)誤標(biāo)志。而且,發(fā)送以后,“錯(cuò)誤被動(dòng)”單元將在初始化下一個(gè)發(fā)送之前處于等待狀態(tài)。</p><p>  “總線關(guān)閉”的單元不允許在總線上有任何的影響(比如,關(guān)閉輸

41、出驅(qū)動(dòng)器)。</p><p>  在每一總線單元里使用兩種計(jì)數(shù)以便故障界定:</p><p><b>  發(fā)送錯(cuò)誤計(jì)數(shù)</b></p><p><b>  接收錯(cuò)誤計(jì)數(shù)</b></p><p>  這些計(jì)數(shù)按以下規(guī)則改變(注意,在給定的報(bào)文發(fā)送期間,可能要用到的規(guī)則不只一個(gè)):</p>

42、<p>  當(dāng)接收器檢測(cè)到一個(gè)錯(cuò)誤,接收錯(cuò)誤計(jì)數(shù)就加1。在發(fā)送主動(dòng)錯(cuò)誤標(biāo)志或過(guò)載標(biāo)志期間所檢測(cè)到的錯(cuò)誤為位錯(cuò)誤時(shí),接收錯(cuò)誤計(jì)數(shù)器值不加1。</p><p>  當(dāng)錯(cuò)誤標(biāo)志發(fā)送以后,接收器檢測(cè)到的第一個(gè)位為“顯性”時(shí),接收錯(cuò)誤計(jì)數(shù)值加8。</p><p>  當(dāng)發(fā)送器發(fā)送一錯(cuò)誤標(biāo)志時(shí),發(fā)送錯(cuò)誤計(jì)數(shù)器值加8</p><p><b>  例外情況1:

43、</b></p><p>  發(fā)送器為“錯(cuò)誤被動(dòng)”,并檢測(cè)到一應(yīng)答錯(cuò)誤,此應(yīng)答錯(cuò)誤由檢測(cè)不到一“顯性”ACK以及當(dāng)發(fā)送被動(dòng)錯(cuò)誤標(biāo)志時(shí)檢測(cè)不到一“顯性”位而引起。</p><p><b>  例外情況2:</b></p><p>  發(fā)送器因?yàn)樘畛溴e(cuò)誤而發(fā)送錯(cuò)誤標(biāo)志。此填充錯(cuò)誤發(fā)生于仲裁期間,引起填充錯(cuò)誤是由于:填充位位于RTR 位之

44、前,并已作為“隱性”發(fā)送,但是卻被監(jiān)視為“顯性”。</p><p>  例外情況1和例外情況2時(shí),發(fā)送錯(cuò)誤計(jì)數(shù)器值不改變。</p><p>  發(fā)送主動(dòng)錯(cuò)誤標(biāo)志或過(guò)載標(biāo)志時(shí),如果發(fā)送器檢測(cè)到位錯(cuò)誤,則發(fā)送錯(cuò)誤計(jì)數(shù)器值加8。</p><p>  當(dāng)發(fā)送主動(dòng)錯(cuò)誤標(biāo)志或過(guò)載標(biāo)志時(shí),如果接受器檢測(cè)到位錯(cuò)誤(位錯(cuò)誤),則接收錯(cuò)誤計(jì)數(shù)器值加8。</p><p

45、>  在發(fā)送主動(dòng)錯(cuò)誤標(biāo)志、被動(dòng)錯(cuò)誤標(biāo)志或過(guò)載標(biāo)志以后,任何節(jié)點(diǎn)最多容許7個(gè)連續(xù)的 “顯性”位。</p><p>  以下的情況,每一發(fā)送器將它們的發(fā)送錯(cuò)誤計(jì)數(shù)值加8,及每一接收器的接收錯(cuò)誤計(jì)數(shù)值加8:</p><p>  當(dāng)檢測(cè)到第14個(gè)連續(xù)的“顯性”位后;</p><p>  在檢測(cè)到第8個(gè)跟隨著被動(dòng)錯(cuò)誤標(biāo)志的連續(xù)的“顯性”位以后;</p>&

46、lt;p>  在每一附加的8個(gè)連續(xù)“顯性”位順序之后。</p><p>  報(bào)文成功傳送后(得到ACK 及直到幀末尾結(jié)束沒(méi)有錯(cuò)誤),發(fā)送錯(cuò)誤計(jì)數(shù)器值減1,除非已經(jīng)是0。</p><p>  如果接收錯(cuò)誤計(jì)數(shù)值介于1和127之間,在成功地接收到報(bào)文后(直到應(yīng)答間隙接收沒(méi)有錯(cuò)誤,及成功地發(fā)送了ACK 位),接收錯(cuò)誤計(jì)數(shù)器值減1。如果接收錯(cuò)誤計(jì)數(shù)器值是0,則它保持0,如果大于127,則它會(huì)

47、設(shè)置一個(gè)介于119 到127 之間值。</p><p>  當(dāng)發(fā)送錯(cuò)誤計(jì)數(shù)器值等于或超過(guò)128 時(shí),或當(dāng)接收錯(cuò)誤計(jì)數(shù)器值等于或超過(guò)128 時(shí),節(jié)點(diǎn)為“錯(cuò)誤被動(dòng)”。讓節(jié)點(diǎn)成為“錯(cuò)誤被動(dòng)”的錯(cuò)誤條件致使節(jié)點(diǎn)發(fā)出主動(dòng)錯(cuò)誤標(biāo)志。</p><p>  當(dāng)發(fā)送錯(cuò)誤計(jì)數(shù)器值大于或等于256 時(shí),節(jié)點(diǎn)為“總線關(guān)閉”。</p><p>  當(dāng)發(fā)送錯(cuò)誤計(jì)數(shù)器值和接收錯(cuò)誤計(jì)數(shù)器值都小于或

48、等于127 時(shí),“錯(cuò)誤被動(dòng)”的節(jié)點(diǎn)重新變?yōu)椤板e(cuò)誤主動(dòng)”。</p><p>  在總線監(jiān)視到128 次出現(xiàn)11 個(gè)連續(xù)“隱性”位之后,“總線關(guān)閉”的節(jié)點(diǎn)可以變成“錯(cuò)誤主動(dòng)”(不再是“總線關(guān)閉”),它的錯(cuò)誤計(jì)數(shù)值也被設(shè)置為0。</p><p><b>  備注:</b></p><p>  一個(gè)大約大于96 的錯(cuò)誤計(jì)數(shù)值顯示總線被嚴(yán)重干擾。最好能夠

溫馨提示

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

評(píng)論

0/150

提交評(píng)論