Research on Segmented Latency Testing Method for in-Vehicle Real-Time Systems Based on DDS Middleware

<div class="section abstract"><div class="htmlview paragraph">With the rapid development of intelligent connected vehicles, their open and interconnected communication characteristics necessitate the use of in-vehicle Ethernet with high bandwidth, real-time performance, and reliability. DDS is expected to become the middleware of choice for in-vehicle Ethernet communication. The Data Distribution Service (DDS), provided by the Object Management Group (OMG), is an efficient message middleware based on the publish/subscribe model. It offers high real-time performance, flexibility, reliability, and scalability, showing great potential in service-oriented in-vehicle Ethernet communication. The performance of DDS directly impacts the stable operation of vehicle systems, making accurate evaluation of DDS performance in automotive systems crucial for optimizing system design. This paper proposes a latency decomposition method based on DDS middleware, aiming to break down the overall end-to-end latency into specific delays at each processing stage, thereby enabling a more precise evaluation of the system's overall performance. By reviewing the DDS protocol standard, a sequence diagram analysis is conducted based on the FastDDS implementation, and the boundaries for latency decomposition between DDS and the lower layers are determined according to the protocol specification. To eliminate biases caused by clock synchronization issues, an end-to-end latency loopback testing method based on the RPC mechanism is proposed. This method integrates RPC with the publish-subscribe model, combining it with a synchronization discovery mechanism. Building on the foundation of end-to-end latency, a segmented latency testing method is designed using DDS, allowing for a fine-grained analysis of the latency characteristics of each component within the system. Finally, experiments simulating the communication environment of in-vehicle controllers were conducted. The results show that publication frequency, data load, and reliability QoS strategies significantly affect different layers of the system. The validity and reliability of the segmented latency testing method are verified, and optimization recommendations for design are provided.</div></div>

Authors

Institutions

Publication Details

Journal
SAE technical papers on CD-ROM/SAE technical paper series
Published
2025-03-31
DOI
https://doi.org/10.4271/2025-01-8083
Primary Topic
Real-time simulation and control systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Research on Segmented Latency Testing Method for in-Vehicle Real-Time Systems Based on DDS Middleware

Feng Luo, Yi Ren, Yanhua Yu, Yongping Hou
SAE technical papers on CD-ROM/SAE technical paper series
Real-time simulation and control systems
article

Research on Segmented Latency Testing Method for in-Vehicle Real-Time Systems Based on DDS Middleware

Feng Luo, Yi Ren, Yanhua Yu, Yongping Hou
article en

Abstract

<div class="section abstract"><div class="htmlview paragraph">With the rapid development of intelligent connected vehicles, their open and interconnected communication characteristics necessitate the use of in-vehicle Ethernet with high bandwidth, real-time performance, and reliability. DDS is expected to become the middleware of choice for in-vehicle Ethernet communication. The Data Distribution Service (DDS), provided by the Object Management Group (OMG), is an efficient message middleware based on the publish/subscribe model. It offers high real-time performance, flexibility, reliability, and scalability, showing great potential in service-oriented in-vehicle Ethernet communication. The performance of DDS directly impacts the stable operation of vehicle systems, making accurate evaluation of DDS performance in automotive systems crucial for optimizing system design. This paper proposes a latency decomposition method based on DDS middleware, aiming to break down the overall end-to-end latency into specific delays at each processing stage, thereby enabling a more precise evaluation of the system's overall performance. By reviewing the DDS protocol standard, a sequence diagram analysis is conducted based on the FastDDS implementation, and the boundaries for latency decomposition between DDS and the lower layers are determined according to the protocol specification. To eliminate biases caused by clock synchronization issues, an end-to-end latency loopback testing method based on the RPC mechanism is proposed. This method integrates RPC with the publish-subscribe model, combining it with a synchronization discovery mechanism. Building on the foundation of end-to-end latency, a segmented latency testing method is designed using DDS, allowing for a fine-grained analysis of the latency characteristics of each component within the system. Finally, experiments simulating the communication environment of in-vehicle controllers were conducted. The results show that publication frequency, data load, and reliability QoS strategies significantly affect different layers of the system. The validity and reliability of the segmented latency testing method are verified, and optimization recommendations for design are provided.</div></div>

SAE technical papers on CD-ROM/SAE technical paper seriesVol. 1
Tongji University (CN)
Openalex Percentile: Top 94%
Real-time simulation and control systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.