Sub-Microsecond Time Synchronization for Network-Connected Microcontrollers
Authors:
- 6 January 2024
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-6
Abstract
This paper presents a bare-metal implementation of the IEEE 1588 Precision Time Protocol (PTP) for network-connected microcontroller edge devices, enabling sub-microsecond time synchronization in automotive networks and multimedia applications. The implementation leverages the hardware timestamping capabilities of the microcontroller (MCU) to implement a two-stage Phase-locked loop (PLL) for offset and drift correction of the hardware clock. Using the MCU platform as a PTP master enables the distribution of a sub-microsecond accurate Global Positioning System (GPS) timing signal over a network. The performance of the system is evaluated using master-slave configurations where the platform is synchronized with a GPS, an embedded platform, and a microcontroller master. Results show that MCU platforms can be synchronized to an external GPS reference over a network with a standard deviation of 40.7 nanoseconds, enabling precise time synchronization for bare-metal microcontroller systems in various applications.Keywords
This publication has 7 references indexed in Scilit:
- Distributed Measurement System for Performance Evaluation of Embedded Clock Synchronization Solutions2022
- A Discrete Model of IEEE 1588-2008 Precision Time Protocol with Clock Servo using PI Controller2019
- GNSS Time Synchronization in Vehicular Ad-Hoc Networks: Benefits and FeasibilityIEEE Transactions on Intelligent Transportation Systems, 2018
- Hardware assisted COTS IEEE 1588 solution for x86 Linux and its performance evaluation2013
- Synchronizing the Linux system time to a PTP hardware clock2011
- Design and implementation of a PTP clock infrastructure for the Linux kernel2010
- GPS time transferProceedings of the IEEE, 1991