An Improved Network Time Protocol for Industrial Internet of Things
Open Access
Abstract
In the industrial Internet of Things, the network time protocol (NTP) can be used for time synchronization, allowing machines to run in sync so that machines can take critical actions within 1 ms. However, the commonly used NTP mechanism does not take into account that the network packet travel time over a link is time-varying, which causes the NTP to make incorrect synchronization decisions. Therefore, this paper proposed a low-cost modification to NTP with clock skew compensation and adaptive clock adjustment, so that the clock difference between the NTP client and NTP server can be controlled within 1 ms in the wired network environment. The adaptive clock adjustment skips the clock offset calculation when the NTP packet run trip time (RTT) exceeds a certain threshold. The clock skew compensation addresses the inherent issue that different clocks (or oscillators) naturally drift away from each other. Both adaptive clock adjustment and clock skew compensation are environment dependent and device dependent. The measurement result in our experimental environment shows that the when the RTT threshold is set at 1.7 ms, the best synchronization accuracy is achieved.Keywords
Funding Information
- Advanced Institute of Manufacturing with High-tech Innovations (AIM-HI) National Chung Cheng University, Chia-Yi, Taiwan
This publication has 13 references indexed in Scilit:
- CoSiWiNeT: A Clock Synchronization Algorithm for Wide Area IIoT NetworkApplied Sciences, 2021
- Optimization and realization of Network Time Protocol on IIoT2021
- Evaluation of the impact on industrial applications of NTP Used by IoT devices2020
- An Efficient Wireless Sensor Network for Industrial Monitoring and ControlSensors, 2018
- Temperature-Compensated Clock Skew AdjustmentSensors, 2013
- The optimization techniques for time synchronization based on NTP2010
- Clock Synchronization in Wireless Sensor Networks: An OverviewSensors, 2009
- On Maximum Likelihood Estimation of Clock Offset and Skew in Networks With Exponential DelaysIEEE Transactions on Signal Processing, 2008
- Analysis of synchronization algorithms with time-out control over networks with exponentially symmetric delaysIEEE Transactions on Communications, 2002
- Adaptive hybrid clock discipline algorithm for the network time protocolIEEE/ACM Transactions on Networking, 1998