Controller area network with priority queues and FIFO queues: improved schedulability analysis and message set extension


SCHMİDT K. W., Alkan B., SCHMİDT Ş. E., Karani D. C., Karakaya U.

INTERNATIONAL JOURNAL OF VEHICLE DESIGN, vol.71, pp.335-357, 2016 (SCI-Expanded) identifier identifier

  • Publication Type: Article / Article
  • Volume: 71
  • Publication Date: 2016
  • Doi Number: 10.1504/ijvd.2016.078786
  • Journal Name: INTERNATIONAL JOURNAL OF VEHICLE DESIGN
  • Journal Indexes: Science Citation Index Expanded (SCI-EXPANDED), Scopus
  • Page Numbers: pp.335-357
  • Keywords: CAN, controller area network, priority queues, FIFO queues, schedulability, priority assignment, message set extension, ASSIGNMENT, SYSTEM
  • Middle East Technical University Affiliated: Yes

Abstract

Controller area network (CAN) enables communication of electronic control units (ECUs) via messages using priority-based arbitration, which requires the implementation of priority queues (PQs) in the ECU device driver. Nevertheless, it is possible that not all ECUs on a CAN support PQs but use FIFO queues (FQs) instead. In this case, the classical CAN scheduling model with PQs is not suitable for the computation of message worst-case responsetimes (WCRTs) that are essential for verifying the correct vehicle operation. This paper considers an existing scheduling model for CAN with both PQs and FQs. First, an improved algorithm for speeding up the WCRT computation is proposed. Second, the practical case where an existing CAN message set is extended by new messages is addressed. An original algorithm for assigning priorities to new messages while keeping the priority order of existing messages is developed. Both algorithms are evaluated by computational experiments.