Improved Clock Synchronization Algorithms for the Controller Area Network (CAN)
Authors:
- Murat AkpinarMAMurat Akpinar
- Klaus Werner SchmidtKSKlaus Werner Schmidt
- Ece Guran SchmidtESEce Guran Schmidt
- 1 July 2019
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-8
Abstract
Safety-critical in-vehicle applications require an accurate global time in order to coordinate their actions. Although Controller Area Network (CAN) is the most widely used in-vehicle communication bus, it does not support synchronized clocks. Hence, the realization of clock synchronization on CAN is highly relevant. This paper develops two new ideas for the clock synchronization on CAN. The first contribution is a new software-based algorithm based on periodic reference messages. Different from existing algorithms, the proposed algorithm enables the use of timestamps that are taken close to the reference message transmission hence improves the clock accuracy. The second contribution of the paper is an original method for correcting clocks between reference messages. In particular, the proposed algorithm updates local clocks based on the bit timing on the CAN bus. Results from simulation experiments show an improvement of about 60% in the clock precision.Keywords
This publication has 10 references indexed in Scilit:
- Recent Advances and Trends in On-Board Embedded and Networked Automotive SystemsIEEE Transactions on Industrial Informatics, 2018
- Computation of Response Time Distributions for Messages on the Controller Area Network2018
- Evaluation of response time distributions for controller area network messages2018
- Improved clock synchronization start-up time for Ethernet AVB-based in-vehicle networks2015
- Intra-Vehicle Networks: A ReviewIEEE Transactions on Intelligent Transportation Systems, 2014
- Impact of clock drifts on CAN frame response time distributions2011
- Orthogonal, Fault-Tolerant, and High-Precision Clock Synchronization for the Controller Area NetworkIEEE Transactions on Industrial Informatics, 2008
- Achieving microsecond accuracy with 32 bit microcontrollers using the controller area network (CAN)2004
- Hardware design of a high-precision and fault-tolerant clock subsystem for CAN networksIFAC Proceedings Volumes, 2003
- Fault-tolerant clock synchronization in CAN2002