DC-PTP: Drift Correction-Based Precision Time Protocol for CAN in Automotive Embedded Systems

The Controller Area Network (CAN) is widely used in safety-critical systems, such as powertrain and chassis control systems in automotive embedded systems. Because the functions in safety-critical systems are highly time-sensitive, any slight time deviation (i.e., offset) among the Electronic Control Units (ECUs) of these systems may cause functions to run abnormally. The offset is mainly caused by clock drift. The clock frequency of ECU driven by a crystal oscillator may have different deviations (known as clock drift) due to differences in hardware manufacturers’ engineering and process or external environmental factors such as temperature and vibration. The clock drift will affect clock accuracy and eventually be reflected in the timestamps of CAN controller when sending or receiving CAN frames, meaning that the generation of offset occurs in ECU. Reducing the offset using time synchronization techniques is of utmost importance. In order to further lower the offset, we propose a clock drift correction-based Precision Time Protocol (DC-PTP) for CAN to solve this problem. For clock drift correction, we first measure the clock drift of master ECU and slave ECU, and then calculate the relative clock drift between the master and slave on the basis of the measured clock drift. The relative clock drift is used to correct the acquired timestamps during Precision Time Protocol time synchronization to reduce the effect of clock drift. Furthermore, a synchronization convergence approach is presented to continuously converge the offset until the offset is within the given range. We implement DC-PTP on a prototype built with heterogeneous microcontrollers. Experimental results show that the offset using DC-PTP is within 1 μ s along with low memory overheads of 2% for the master. The memory overhead of the slave is slightly higher than that of the master, and the bus load of DC-PTP is only 17%.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Embedded Computing Systems
Published
2026-09-01
DOI
https://doi.org/10.1145/3842737
Primary Topic
Network Time Synchronization Technologies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

DC-PTP: Drift Correction-Based Precision Time Protocol for CAN in Automotive Embedded Systems

Guoqi Xie, Yehua Wei, Jiangwei Li
ACM Transactions on Embedded Computing Systems
Network Time Synchronization Technologies
article

DC-PTP: Drift Correction-Based Precision Time Protocol for CAN in Automotive Embedded Systems

Guoqi Xie, Yehua Wei, Jiangwei Li
article en

Abstract

The Controller Area Network (CAN) is widely used in safety-critical systems, such as powertrain and chassis control systems in automotive embedded systems. Because the functions in safety-critical systems are highly time-sensitive, any slight time deviation (i.e., offset) among the Electronic Control Units (ECUs) of these systems may cause functions to run abnormally. The offset is mainly caused by clock drift. The clock frequency of ECU driven by a crystal oscillator may have different deviations (known as clock drift) due to differences in hardware manufacturers’ engineering and process or external environmental factors such as temperature and vibration. The clock drift will affect clock accuracy and eventually be reflected in the timestamps of CAN controller when sending or receiving CAN frames, meaning that the generation of offset occurs in ECU. Reducing the offset using time synchronization techniques is of utmost importance. In order to further lower the offset, we propose a clock drift correction-based Precision Time Protocol (DC-PTP) for CAN to solve this problem. For clock drift correction, we first measure the clock drift of master ECU and slave ECU, and then calculate the relative clock drift between the master and slave on the basis of the measured clock drift. The relative clock drift is used to correct the acquired timestamps during Precision Time Protocol time synchronization to reduce the effect of clock drift. Furthermore, a synchronization convergence approach is presented to continuously converge the offset until the offset is within the given range. We implement DC-PTP on a prototype built with heterogeneous microcontrollers. Experimental results show that the offset using DC-PTP is within 1 μ s along with low memory overheads of 2% for the master. The memory overhead of the slave is slightly higher than that of the master, and the bus load of DC-PTP is only 17%.

ACM Transactions on Embedded Computing Systems
Hunan University (CN), Hunan Normal University (CN)
Openalex Percentile: Top 8%
Network Time Synchronization Technologies
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.