Wenyan Yan , Bin Fu , Jing Huang , Ruiqi Lu , Renfa Li , Guoqi Xie
{"title":"A conflict-free CAN-to-TSN scheduler for CAN-TSN gateway","authors":"Wenyan Yan , Bin Fu , Jing Huang , Ruiqi Lu , Renfa Li , Guoqi Xie","doi":"10.1016/j.sysarc.2024.103188","DOIUrl":null,"url":null,"abstract":"<div><p>The automotive Electrical/Electronic (E/E) architecture with Time-Sensitive Networking (TSN) as the backbone network and Controller Area Network (CAN) as the intra-domain network has attracted extensive research attention. In this architecture, the CAN-TSN gateway serves as a vital hub for communication between the CAN and TSN networks. However, with frequent information exchange between domains, multiple real-time applications inevitably compete for the same network resources. The limited availability of schedule table entries and bandwidth allocation pose challenges in scheduling design. To mitigate the transmission conflicts at the CAN-TSN gateway, this paper proposes a CAN-to-TSN scheduler consisting of two primary stages. The first stage introduces the Message Aggregation Optimization (MAO) algorithm to aggregate multiple CAN messages into a single TSN message, ultimately decreasing the communication overhead and the schedule table entries number. The second stage proposes the Exploratory Message Scheduling Optimization (EMSO) algorithm based on MAO. EMSO disaggregates and reassembles the CAN messages with small deadlines within the currently un-scheduled TSN message to improve the acceptance ratio of CAN messages. Experimental results demonstrate that EMSO achieves an average acceptance ratio of CAN messages 4.3% higher in preemptive mode and 8.2% higher in non-preemptive mode in TSN than state-of-the-art algorithms.</p></div>","PeriodicalId":50027,"journal":{"name":"Journal of Systems Architecture","volume":"153 ","pages":"Article 103188"},"PeriodicalIF":3.7000,"publicationDate":"2024-05-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Systems Architecture","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1383762124001255","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
The automotive Electrical/Electronic (E/E) architecture with Time-Sensitive Networking (TSN) as the backbone network and Controller Area Network (CAN) as the intra-domain network has attracted extensive research attention. In this architecture, the CAN-TSN gateway serves as a vital hub for communication between the CAN and TSN networks. However, with frequent information exchange between domains, multiple real-time applications inevitably compete for the same network resources. The limited availability of schedule table entries and bandwidth allocation pose challenges in scheduling design. To mitigate the transmission conflicts at the CAN-TSN gateway, this paper proposes a CAN-to-TSN scheduler consisting of two primary stages. The first stage introduces the Message Aggregation Optimization (MAO) algorithm to aggregate multiple CAN messages into a single TSN message, ultimately decreasing the communication overhead and the schedule table entries number. The second stage proposes the Exploratory Message Scheduling Optimization (EMSO) algorithm based on MAO. EMSO disaggregates and reassembles the CAN messages with small deadlines within the currently un-scheduled TSN message to improve the acceptance ratio of CAN messages. Experimental results demonstrate that EMSO achieves an average acceptance ratio of CAN messages 4.3% higher in preemptive mode and 8.2% higher in non-preemptive mode in TSN than state-of-the-art algorithms.
以时敏网络(TSN)为骨干网络,以控制器局域网(CAN)为域内网络的汽车电气/电子(E/E)架构已引起广泛的研究关注。在这种架构中,CAN-TSN 网关是 CAN 和 TSN 网络之间进行通信的重要枢纽。然而,由于域间信息交换频繁,多个实时应用不可避免地会争夺相同的网络资源。调度表项的有限可用性和带宽分配给调度设计带来了挑战。为缓解 CAN-TSN 网关上的传输冲突,本文提出了一种由两个主要阶段组成的 CAN-to-TSN 调度器。第一阶段引入报文聚合优化(MAO)算法,将多条 CAN 报文聚合成一条 TSN 报文,最终减少通信开销和调度表条目数。第二阶段在 MAO 的基础上提出了探索性报文调度优化(EMSO)算法。EMSO 在当前未调度的 TSN 报文中分解并重新组装截止日期较小的 CAN 报文,以提高 CAN 报文的接受率。实验结果表明,与最先进的算法相比,EMSO 在 TSN 的抢占式模式下实现的 CAN 报文平均接收率提高了 4.3%,在非抢占式模式下提高了 8.2%。
期刊介绍:
The Journal of Systems Architecture: Embedded Software Design (JSA) is a journal covering all design and architectural aspects related to embedded systems and software. It ranges from the microarchitecture level via the system software level up to the application-specific architecture level. Aspects such as real-time systems, operating systems, FPGA programming, programming languages, communications (limited to analysis and the software stack), mobile systems, parallel and distributed architectures as well as additional subjects in the computer and system architecture area will fall within the scope of this journal. Technology will not be a main focus, but its use and relevance to particular designs will be. Case studies are welcome but must contribute more than just a design for a particular piece of software.
Design automation of such systems including methodologies, techniques and tools for their design as well as novel designs of software components fall within the scope of this journal. Novel applications that use embedded systems are also central in this journal. While hardware is not a part of this journal hardware/software co-design methods that consider interplay between software and hardware components with and emphasis on software are also relevant here.