Next Article in Journal
A Method for Autonomous Multi-Motion Modes Recognition and Navigation Optimization for Indoor Pedestrian
Previous Article in Journal
DDQN with Prioritized Experience Replay-Based Optimized Geographical Routing Protocol of Considering Link Stability and Energy Prediction for UANET
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Improved Network Time Protocol for Industrial Internet of Things †

Department of Electrical Engineering, Advanced Institute of Manufacturing with High-Tech Innovations, National Chung Cheng University, Chia-Yi 621301, Taiwan
*
Author to whom correspondence should be addressed.
This article is an extension of conference paper (https://ieeexplore.ieee.org/document/9603231).
Sensors 2022, 22(13), 5021; https://doi.org/10.3390/s22135021
Submission received: 24 May 2022 / Revised: 23 June 2022 / Accepted: 30 June 2022 / Published: 3 July 2022
(This article belongs to the Section Internet of Things)

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: NTP; time synchronization; clock skew; RTT; Internet of Things NTP; time synchronization; clock skew; RTT; Internet of Things

Share and Cite

MDPI and ACS Style

Hou, T.-C.; Liu, L.-H.; Lan, Y.-K.; Chen, Y.-T.; Chu, Y.-S. An Improved Network Time Protocol for Industrial Internet of Things. Sensors 2022, 22, 5021. https://doi.org/10.3390/s22135021

AMA Style

Hou T-C, Liu L-H, Lan Y-K, Chen Y-T, Chu Y-S. An Improved Network Time Protocol for Industrial Internet of Things. Sensors. 2022; 22(13):5021. https://doi.org/10.3390/s22135021

Chicago/Turabian Style

Hou, Ting-Chao, Lin-Hung Liu, Yan-Kai Lan, Yi-Ting Chen, and Yuan-Sun Chu. 2022. "An Improved Network Time Protocol for Industrial Internet of Things" Sensors 22, no. 13: 5021. https://doi.org/10.3390/s22135021

APA Style

Hou, T.-C., Liu, L.-H., Lan, Y.-K., Chen, Y.-T., & Chu, Y.-S. (2022). An Improved Network Time Protocol for Industrial Internet of Things. Sensors, 22(13), 5021. https://doi.org/10.3390/s22135021

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop