A Real-Time CAN-CAN Gateway with Tight Latency Analysis and Targeted Priority Assignment
Guoqi Xie, Haijie Gong, Yunbo Han, Samarjit Chakraborty, Wanli Chang
Abstract
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Related papers
- Optimal Priority Assignment for Multiple CAN/CAN-FD Buses with a Central GatewayTaeju Park, Jiarui Lyu, Kang G. ShinRTSS 2020 · 3 citations
- Optimizing End-to-End Latency of Sporadic Cause-Effect Chains Using Priority InheritanceYue Tang, Xu Jiang, Nan Guan, Songran Liu et al.RTSS 2023 · 7 citations
- Obfuscated Priority Assignment to CAN-FD Messages with Dependencies: A Swapping-based and Affix-Matching ApproachGuoqi Xie, Debayan Roy, Yawen Zhang, Renfa Li et al.DAC 2021 · 1 citation
- Conditionally Optimal Parallelization of Real-Time DAG Tasks for Global EDFYoungeun Cho, Dongmin Shin, JaeSeung Park, Chang-Gun LeeRTSS 2021 · 12 citations
- Priority Optimization for Autonomous Driving Systems to Meet End-to-End Latency ConstraintsXisheng Li, Ye Ma, Yuting Chen, Jinghao Sun et al.RTSS 2024 · 3 citations
