Controller Area Network (CAN) schedulability analysis: Refuted, revisited and revised

被引:474
作者
Davis, Robert I. [1 ]
Burns, Alan
Bril, Reinder J.
Lukkien, Johan J.
机构
[1] Univ York, Dept Comp Sci, Real Time Syst Res Grp, York YO10 5DD, N Yorkshire, England
[2] Tech Univ Eindhoven, NL-5600 AZ Eindhoven, Netherlands
基金
英国工程与自然科学研究理事会;
关键词
Controller Area Network (CAN); fixed priority scheduling; non-pre-emptive scheduling; schedulability analysis; response time analysis; priority assignment policies;
D O I
10.1007/s11241-007-9012-7
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Controller Area Network (CAN) is used extensively in automotive applications, with in excess of 400 million CAN enabled microcontrollers manufactured each year. In 1994 schedulability analysis was developed for CAN, showing how worst-case response times of CAN messages could be calculated and hence guarantees provided that message response times would not exceed their deadlines. This seminal research has been cited in over 200 subsequent papers and transferred to industry in the form of commercial CAN schedulability analysis tools. These tools have been used by a large number of major automotive manufacturers in the design of in-vehicle networks for a wide range of cars, millions of which have been manufactured during the last decade. This paper shows that the original schedulability analysis given for CAN messages is flawed. It may provide guarantees for messages that will in fact miss their deadlines in the worst-case. This paper provides revised analysis resolving the problems with the original approach. Further, it highlights that the priority assignment policy, previously claimed to be optimal for CAN, is not in fact optimal and cites a method of obtaining an optimal priority ordering that is applicable to CAN. The paper discusses the possible impact on commercial CAN systems designed and developed using flawed schedulability analysis and makes recommendations for the revision of CAN schedulability analysis tools.
引用
收藏
页码:239 / 272
页数:34
相关论文
共 42 条
[1]  
AHRBOUR MG, 1991, P 12 IEEE REAL TIM S, P116
[2]  
[Anonymous], THESIS
[3]  
[Anonymous], 1993, 118981 ISO
[4]  
Audsley N. C., 1991, Technical Report YCS- 164
[5]  
Bosch, 1991, CAN SPEC VERS 2 0
[6]  
BRIL R, 2006, 0634 CS TUE
[7]  
Bril R. J., 2006, 5 INT WORKSHOP REAL, P5
[8]  
BRIL RJ, 2006, 0619 CS TUE
[9]  
BRIL RJ, 2006, 0605 CS TU EINDH
[10]   Timing analysis of real-time communication under electromagnetic interference [J].
Broster, I ;
Burns, A ;
Rodríguez-Navas, G .
REAL-TIME SYSTEMS, 2005, 30 (1-2) :55-81