{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,12]],"date-time":"2026-11-12T07:52:11Z","timestamp":1794469931343,"version":"4.9.1"},"reference-count":18,"publisher":"MDPI AG","issue":"13","license":[{"start":{"date-parts":[[2022,7,3]],"date-time":"2022-07-03T00:00:00Z","timestamp":1656806400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"Advanced Institute of Manufacturing with High-tech Innovations (AIM-HI) National Chung Cheng University, Chia-Yi, Taiwan"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>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.<\/jats:p>","DOI":"10.3390\/s22135021","type":"journal-article","created":{"date-parts":[[2022,7,4]],"date-time":"2022-07-04T23:38:55Z","timestamp":1656977935000},"page":"5021","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":19,"title":["An Improved Network Time Protocol for Industrial Internet of Things"],"prefix":"10.3390","volume":"22","author":[{"given":"Ting-Chao","family":"Hou","sequence":"first","affiliation":[{"name":"Department of Electrical Engineering, Advanced Institute of Manufacturing with High-Tech Innovations, National Chung Cheng University, Chia-Yi 621301, Taiwan"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Lin-Hung","family":"Liu","sequence":"additional","affiliation":[{"name":"Department of Electrical Engineering, Advanced Institute of Manufacturing with High-Tech Innovations, National Chung Cheng University, Chia-Yi 621301, Taiwan"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yan-Kai","family":"Lan","sequence":"additional","affiliation":[{"name":"Department of Electrical Engineering, Advanced Institute of Manufacturing with High-Tech Innovations, National Chung Cheng University, Chia-Yi 621301, Taiwan"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yi-Ting","family":"Chen","sequence":"additional","affiliation":[{"name":"Department of Electrical Engineering, Advanced Institute of Manufacturing with High-Tech Innovations, National Chung Cheng University, Chia-Yi 621301, Taiwan"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Yuan-Sun","family":"Chu","sequence":"additional","affiliation":[{"name":"Department of Electrical Engineering, Advanced Institute of Manufacturing with High-Tech Innovations, National Chung Cheng University, Chia-Yi 621301, Taiwan"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2022,7,3]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","unstructured":"Ferrari, P., Bellagente, P., Depari, A., Flammini, A., Pasetti, M., Rinaldi, S., and Sisinni, E. (2020, January 3\u20135). Evaluation of the impact on industrial applications of NTP Used by IoT devices. Proceedings of the 2020 IEEE International Workshop on Metrology for Industry 4.0 & IoT, Rome, Italy.","DOI":"10.1109\/MetroInd4.0IoT48571.2020.9138290"},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Borenius, S., Costa-Requena, J., Lehtonen, M., and Kantola, R. (2019, January 21\u201323). Providing Network Time Protocol Based Timing for Smart Grid Measurement and Control Devices in 5G Networks. Proceedings of the 2019 IEEE International Conference on Communications, Control, and Computing Technologies for Smart Grids (Smart Grid Comm), Beijing, China.","DOI":"10.1109\/SmartGridComm.2019.8909788"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Gore, R.N., Lisova, E., \u00c5kerberg, J., and Bj\u00f6rkman, M. (2021). CoSiWiNeT: A Clock Synchronization Algorithm for Wide Area IIoT Network. Appl. Sci., 11.","DOI":"10.3390\/app112411985"},{"key":"ref_4","unstructured":"Burbank, J., Mills, D., and Kasch, W. (2010). Network Time Protocol Version 4: Protocol and Algorithms Specification, RFC 5905. [1st ed.]. Available online: https:\/\/www.rfc-editor.org\/rfc\/rfc5905.html."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Ruiqing, P., Peng, H., Wenxue, Y., Min, G., and Bin, Z. (2010, January 21\u201324). The optimization techniques for time synchronization based on NTP. Proceedings of the 2nd International Conference on Future Computer and Communication, Wuhan, China.","DOI":"10.1109\/ICFCC.2010.5497413"},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Mills, D. (1996). Simple Network Time Protocol (SNTP) Version 4 for IPv4, IPv6 and OSI, RFC 2030. Available online: https:\/\/datatracker.ietf.org\/doc\/html\/rfc4330.","DOI":"10.17487\/rfc2030"},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Mills, D. (1989). Measured Performance of the Network Time Protocol in the Internet System, RFC 1128. Available online: https:\/\/www.rfc-editor.org\/rfc\/rfc1128.pdf.","DOI":"10.17487\/rfc1128"},{"key":"ref_8","doi-asserted-by":"crossref","unstructured":"Aponte-Luis, J., G\u00f3mez-Gal\u00e1n, J.A., G\u00f3mez-Bravo, F., S\u00e1nchez-Raya, M., Alcina-Espigado, J., and Teixido-Rovira, P.M. (2018). An Efficient Wireless Sensor Network for Industrial Monitoring and Control. Sensors, 18.","DOI":"10.3390\/s18010182"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"505","DOI":"10.1109\/90.731182","article-title":"Adaptive Hybrid Clock Discipline Algorithm for the Network Time Protocol","volume":"6","author":"Mills","year":"1998","journal-title":"IEEE\/ACM Trans. Netw."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"10981","DOI":"10.3390\/s130810981","article-title":"Temperature-Compensated Clock Skew Adjustment","volume":"13","author":"Palomares","year":"2013","journal-title":"Sensors"},{"key":"ref_11","unstructured":"(2022, June 18). NTP Based on Github. Available online: https:\/\/github.com\/ntp-project\/ntp."},{"key":"ref_12","unstructured":"(2022, June 18). Time Synchronization for Linux. Available online: https:\/\/my.oschina.net\/myaniu\/blog\/182959."},{"key":"ref_13","unstructured":"(2022, June 18). How to Install and Use Wireshark on Ubuntu. Available online: https:\/\/linuxhint.com\/install_wireshark_ubuntu\/."},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Liu, L.-Y., Chen, Y.-T., Chu, Y.-S., and Hou, T.-C. (2021, January 16\u201318). Optimization and realization of Network Time Protocol on IIoT. Proceedings of the 2021 IEEE International Conference on Consumer Electronics-Taiwan (ICCE-TW 2021), Penghu, Taiwan.","DOI":"10.1109\/ICCE-TW52618.2021.9603231"},{"key":"ref_15","first-page":"1652","article-title":"Analysis of synchronization algorithm with time-out control over networks with exponentially symmetric delays","volume":"10","year":"2002","journal-title":"IEEE Trans. Commun."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"1685","DOI":"10.1109\/TSP.2007.910536","article-title":"On maximum likelihood estimation of clock offset and skew in networks with exponential delays","volume":"4","author":"Chaudhari","year":"2008","journal-title":"IEEE Trans. Signal Process."},{"key":"ref_17","unstructured":"Liu, L.-Y. (2021). Optimization and Implementation of Network Time Synchronization Applied to the Internet of Things. [Master\u2019s Thesis, National Chung Cheng University]."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"56","DOI":"10.3390\/s90100056","article-title":"Clock Synchronization in Wireless Sensor Networks: An Overview","volume":"9","author":"Rhee","year":"2009","journal-title":"Sensors"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/13\/5021\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,10]],"date-time":"2025-10-10T23:42:15Z","timestamp":1760139735000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/22\/13\/5021"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,7,3]]},"references-count":18,"journal-issue":{"issue":"13","published-online":{"date-parts":[[2022,7]]}},"alternative-id":["s22135021"],"URL":"https:\/\/doi.org\/10.3390\/s22135021","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2022,7,3]]}}}