期刊文献+

CAN优先级倒置原因与对策 被引量:2

Priority Inversion in CAN: Causes and Solution
在线阅读 下载PDF
导出
摘要 CAN总线是代表性的基于消息优先级进行调度的事件触发协议。为了保障通信的正常运行,必须实现帧开始时的硬同步以及无帧发送时的毛刺滤除。在现有CAN总线协议中,这2个设计的组合在特定场合会引起高优先级消息失去与同时发生的低优先级消息的竞争机会,即优先级倒置。优先级倒置的后果是高优先级消息的送达时间延迟,送达时间的理论分析结果不再正确。在完全兼容CAN总线的条件下,提出了在总线空闲时以及在服务间隔第3位处理毛刺的方法。它对于优先级倒置有改进,但对于毛刺较长而与低优先级消息帧开始位(SOF)相连引起的倒置仍无法解决。 CAN is a representative event-triggered protocol scheduled based on priority. To guarantee the correct operation it is necessary to realize hard synchronization during frame starting and glitch filtering when there is no frame starting. In current CAN protocol the two corresponding protocol designs in some cases will cause priority inversion: the higher priority message loses the chance to compete with the lower priority message which is ready at the same time with the higher one. The consequence of priority inversion is delay of higher priority message's delivery, and the scheduling analysis result is no longer correct. This paper suggests a remedy method to deal with the glitch in bus idle time and the glitch in the 3rd bit of inter mission. It is fully compatible with native CAN. It mitigates the pri- ority inversion problem, but the problem is still there when the width of glitch is prolonging to the SOF of lower priority message.
作者 杨福宇
出处 《单片机与嵌入式系统应用》 2012年第4期1-4,共4页 Microcontrollers & Embedded Systems
关键词 CAN 优先级倒置 毛刺 CAN priority inversion glitch
  • 相关文献

参考文献8

  • 1杨福宇.关于CAN隐患的争辩[J].单片机与嵌入式系统应用,2009,9(6):5-8. 被引量:7
  • 2杨福宇.CAN调度理论与实践意义[J].单片机与嵌入式系统应用,2008,8(2):5-8. 被引量:2
  • 3杨福宇.CAN标准中的时钟容差修正建议[J].单片机与嵌入式系统应用,2009,9(12):14-16. 被引量:2
  • 4Robert Bosch GmbH. Method o{ Arbitrating Access to a Data Bus and ApparatusU.S.Patent 5,303,348[OL].http://www.Ireepatentsonline.corn/ pdfb/doeuments/uspt/patent _ pdf/5303/US5303348/pdf/ US5303348.pdI,2008.
  • 5杨福宇.CAN协议的错帧漏检率改进[J].单片机与嵌入式系统应用,2011,11(9):8-11. 被引量:7
  • 6Luis Miguel Pinho,Francisco Vasques. Improved Fault Tol erant Broadcasts in CAN EOL[OL].http//paginas,re.up.pt/ vasques/research/publi_ 01/etfa2001.pdf,-201.
  • 7Fei Ren. Performance improvements of automobile communi- cation protocols in electromagnetic interference environments EOL[OL].http://scholarsmine,rest.edu/ thesis/ pdf/Ren_O9007 dee80487 aed.pdf,2007.
  • 8Quality Control System Corporation. Keeping Secrets about NASA's "Toyota Study" of Unintended Acceleration EOL[OL].http://www,quality - control,us/Keeping - Secrets.html,2011.

二级参考文献15

  • 1杨福宇.CAN总线的局限[J].电子设计应用,2006(11):32-32. 被引量:6
  • 2ISO/TC 22/SC3. ISO 11898-1 Road Vehicles-Controller Area Network (CAN)-Partl: Data link layer and physical signaling[S]. Winterthur: ISO, 2003.
  • 3ISO/TC 22/SC3. ISO 16845 Road Vehicles-Controller Area Network (CAN)-Conformanee Test Plan[S]. Winterthur: ISO, 2004.
  • 4Robert Bosch GmbH.CAN Specification Version 2.0[S],1991.
  • 5Jan Unruh,et al,Error Detection Analysis of AutomotiveCommunication Protocols:International Congress&Exposi-tion,February 1990[C].Detroit:美国汽车工程师学会,1990.
  • 6Eushiuan Tran.Multi-Bit Error Vulnerabilities in the Con-troller Area Network Protocol[EB/OL].[2007-12].http://www.cs.cmu.edu/~koopman/thesis/etran.ps.qz.
  • 7Ci A.Ci A Draft Standard 304 V1.0.1 CANopen frameworkfor safety-relevant communication[S],2008.
  • 8SAE J 1939[OL].[2009-7].http://www.esd-electronics-usa.com/Shared/Library/CAN/CAN%20Seminar%20Extended.pdf.
  • 9Tindell K W, Burns A. Guaranteeing message latencies on Controller Area Network (CAN) lOLl, [2007 - 09 - 03]. http:// eoblitz, eodeen, org: 3125/citeseer. ist. psu. edu/eaehe/papers/es/ 2347/ftp:zSzzSzftp, es. york. ae. ukzSzpubzSzrealtimezSzpaperszSzICC TB Sept 94. pdf/guaranteeing-message-lateneies-on, pdf.
  • 10Tindell K W, Hansson H, Wellings A J. Analysing real-time communications: Controller Area Network (CAN)[OL], E2007 - 09 - 031. http://coblitz. codeen, org: 3125/citeseer. ist. psu. edu/eaehe/papers/e/2347/ftp: zSzzSzftp, es. york. ae. ukzSzpubzSzkenzSzkenzSzean8, pdf/tindel194analysing, pdf.

共引文献8

同被引文献11

引证文献2

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部