TY - GEN
T1 - A Real-Time CAN-CAN Gateway with Tight Latency Analysis and Targeted Priority Assignment
AU - Xie, Guoqi
AU - Gong, Haijie
AU - Han, Yunbo
AU - Chakraborty, Samarjit
AU - Chang, Wanli
N1 - Publisher Copyright:
© 2020 IEEE.
PY - 2020/12
Y1 - 2020/12
N2 - There is a demand in the automotive industry to connect two CAN-based subsystems. The commercial CAN-CAN gateway supports basic message forwarding with no real-time behavior. To address this issue, a new gateway architecture is described, on which we present a novel worst-case latency analysis. Specifically, we bound the arrival of the messages at the gateway, which is then used by the Pointer Reachability Exploration (PRE) to derive the interfering message jobs. Our analysis computes a safe gateway latency tighter than the conventional one applied in CAN. Furthermore, we propose a Targeted Priority Assignment (TPA) algorithm that targets at the priorities assigned at the CAN bus and runs a reordering at the gateway to enhance the schedulability. TPA performs better than DMPO (Deadline Monotonic Priority Ordering), while OPA (Audsley's Optimal Priority Assignment) cannot be applied in this context. Evaluation over real-life and scalable CAN message sets is conducted. The reported analysis and priority assignment algorithm are developed for dynamic use to improve the acceptance ratio and can also be deployed statically to provide timing guarantees. This work can be easily extended to support multiple CAN subsystems.
AB - There is a demand in the automotive industry to connect two CAN-based subsystems. The commercial CAN-CAN gateway supports basic message forwarding with no real-time behavior. To address this issue, a new gateway architecture is described, on which we present a novel worst-case latency analysis. Specifically, we bound the arrival of the messages at the gateway, which is then used by the Pointer Reachability Exploration (PRE) to derive the interfering message jobs. Our analysis computes a safe gateway latency tighter than the conventional one applied in CAN. Furthermore, we propose a Targeted Priority Assignment (TPA) algorithm that targets at the priorities assigned at the CAN bus and runs a reordering at the gateway to enhance the schedulability. TPA performs better than DMPO (Deadline Monotonic Priority Ordering), while OPA (Audsley's Optimal Priority Assignment) cannot be applied in this context. Evaluation over real-life and scalable CAN message sets is conducted. The reported analysis and priority assignment algorithm are developed for dynamic use to improve the acceptance ratio and can also be deployed statically to provide timing guarantees. This work can be easily extended to support multiple CAN subsystems.
UR - http://www.scopus.com/inward/record.url?scp=85102015057&partnerID=8YFLogxK
U2 - 10.1109/RTSS49844.2020.00023
DO - 10.1109/RTSS49844.2020.00023
M3 - Conference contribution
AN - SCOPUS:85102015057
T3 - Proceedings - Real-Time Systems Symposium
SP - 141
EP - 152
BT - Proceedings - 2020 IEEE 41st Real-Time Systems Symposium, RTSS 2020
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 41st IEEE Real-Time Systems Symposium, RTSS 2020
Y2 - 1 December 2020 through 4 December 2020
ER -