arrow
Return

High Accuracy Software-Based Clock Synchronization Over CAN

delete2022-07-01
delete6
PRE
AI
S
Sascha Einspieler *
B
Benjamin Steinwender
W
Wilfried Elmenreich
DOI:10.1109/TSMC.2021.3096597delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
In distributed real-time communication systems, common knowledge of the global time is crucial. It prevents message violations on the bus and allows independent components to collaborate within a real-time system on a timely basis. Systems with hard real-time requirements need to have high precision and accuracy of time. This is achieved by hardware-supported frame time-stamping mechanisms as found in dedicated protocols, such as TTCAN, Flexray, and TSN-enabled Ethernet. However, many microcontroller units are not specifically designed to provide such a hardware-based solution at the communication interface. Therefore, a software-based implementation of the time synchronization algorithm is needed. Nevertheless, some COTS microcontroller units already provide an IEEE 1588-enabled Ethernet interface, including a high-precision timer module with rate correction. This module can be used for time synchronization purposes to align a set of distributed clocks via various communication interfaces. This article investigates the accuracy of software-based and hardware-supported time synchronization algorithm over the CAN protocol using a COTS microcontroller. As a result, we present identified jitter and delay sources as well as the achieved time accuracy. We show that using an advanced timer module combined with additional system knowledge allows submicrosecond precision and accuracies.
Keywords:
Synchronization
Clocks
Delays
Jitter
Software
Transceivers
Hardware
Accuracy
clock
controller area network (CAN)
real-time
software
synchronization

Journal

IEEE Transactions on Cybernetics cover
IEEE Transactions on Cybernetics
IF:
10.5
Papers:
1.1W
Citations:
5.0W

Organization

U
University of Klagenfurt
Scholars:
945
Papers: 1.0K
Citations: 1.0K