Response-Time Analysis for Controller Area Networks With Randomly Occurring Messages

A number of methods have been proposed for the response-time analysis (RTA) of controller area networks (CANs), which are the industry standard for in-vehicle network protocols. However, most of these methods are unsuitable for analyzing nonperiodically transmitted messages because they assume a constant transmission period for each message. Moreover, the calculated evaluation criteria are limited and comprise many over-pessimistic estimations, such as the worst-case response time (WCRT). To tackle these problems, this paper proposes an RTA method for CANs with randomly occurring messages, which replaces the constant transmission period with the average number of transmission instances per unit time. This approach finds the approximate probability distribution of the response time to any message in a CAN, providing a more general measure than the WCRT. To this end, a mathematical model based on M/G/1 queueing theory is developed. The model accurately emulates the behavior of nonperiodic CAN messages and enables RTA with minimal pessimistic estimations. When tested against the benchmarks, the proposed method accurately obtained response time distributions within several seconds to several tens of seconds.

[1]  Mikael Sjödin,et al.  Worst-case response-time analysis for mixed messages with offsets in Controller Area Network , 2012, Proceedings of 2012 IEEE 17th International Conference on Emerging Technologies & Factory Automation (ETFA 2012).

[2]  Sazzadur Chowdhury,et al.  In-Vehicle Networks Outlook: Achievements and Challenges , 2016, IEEE Communications Surveys & Tutorials.

[3]  Gustavo Lobato Campos,et al.  Worst case response time approach evaluation for computing can messages response time in an automotive network , 2017, 2017 Brazilian Power Electronics Conference (COBEP).

[4]  Liam Kilmartin,et al.  Intra-Vehicle Networks: A Review , 2015, IEEE Transactions on Intelligent Transportation Systems.

[5]  Hans A. Hansson,et al.  Response time analysis under errors for CAN , 2000, Proceedings Sixth IEEE Real-Time Technology and Applications Symposium. RTAS 2000.

[6]  Jukka Mäki-Turja,et al.  Extending Worst Case Response-Time Analysis for Mixed Messages in Controller Area Network With Priority and FIFO Queues , 2014, IEEE Access.

[7]  Andy J. Wellings,et al.  Analysing real-time communications: controller area network (CAN) , 1994, 1994 Proceedings Real-Time Systems Symposium.

[8]  Alberto L. Sangiovanni-Vincentelli,et al.  Using Statistical Methods to Compute the Probability Distribution of Message Response Time in Controller Area Network , 2010, IEEE Transactions on Industrial Informatics.

[9]  Alan Burns,et al.  Probabilistic analysis of CAN with faults , 2002, 23rd IEEE Real-Time Systems Symposium, 2002. RTSS 2002..

[10]  Alan Burns,et al.  Controller Area Network (CAN) schedulability analysis: Refuted, revisited and revised , 2007, Real-Time Systems.

[11]  Hiroaki Takada,et al.  The Worst-Case Response Time Analysis for FIFO-based Offset Assigned CAN Messages , 2012, J. Inf. Process..

[12]  Fan Yang,et al.  Message response time distribution analysis for Controller Area Network containing errors , 2015, 2015 Chinese Automation Congress (CAC).

[13]  Robert I. Davis,et al.  Schedulability analysis for Controller Area Network (CAN) with FIFO queues priority queues and gateways , 2012, Real-Time Systems.

[14]  Yeqiong Song,et al.  Worst-case deadline failure probability in real-time applications distributed over controller area network , 2000, J. Syst. Archit..

[15]  Jing Xie,et al.  Delay bound analysis in real-time networks with priority scheduling using network calculus , 2013, 2013 IEEE International Conference on Communications (ICC).

[16]  Alan Burns,et al.  GUARANTEED MESSAGE LATENCIES FOR DISTRIBUTED SAFETY-CRITICAL HARD REAL-TIME CONTROL NETWORKS1 , 1994 .

[17]  Alberto Sangiovanni-Vincentelli,et al.  Stochastic Analysis of CAN-Based Real-Time Automotive Systems , 2009, IEEE Transactions on Industrial Informatics.

[18]  Thomas Nolte,et al.  Probabilistic worst-case response-time analysis for the controller area network , 2003, The 9th IEEE Real-Time and Embedded Technology and Applications Symposium, 2003. Proceedings..

[19]  Robert I. Davis,et al.  Controller area network (CAN) schedulability analysis for messages with arbitrary deadlines in FIFO and work-conserving queues , 2012, 2012 9th IEEE International Workshop on Factory Communication Systems.

[20]  Zhetao Li,et al.  WCRT Analysis of CAN Messages in Gateway-Integrated In-Vehicle Networks , 2017, IEEE Transactions on Vehicular Technology.

[21]  Alan Burns,et al.  Guaranteeing message latencies on controller area network (can) , 1994 .

[22]  Jukka Mäki-Turja,et al.  Extending schedulability analysis of Controller Area Network (CAN) for mixed (periodic/sporadic) messages , 2011, ETFA2011.

[23]  Robert I. Davis,et al.  Controller Area Network (CAN) Schedulability Analysis with FIFO Queues , 2011, 2011 23rd Euromicro Conference on Real-Time Systems.