SMQTT: A Lightweight Clock Synchronization Algorithm for IoT Devices Using MQTT
2023 (English)In: IEEE International Symposium on Precision Clock Synchronization for Measurement, Control, and Communication, ISPCS, IEEE Computer Society , 2023Conference paper, Published paper (Refereed)
Abstract [en]
Advancements in the Industrial Internet of Things (IIoT) and cyber-physical systems have driven the development of Industry 4.0, which has led to the emergence of advanced cloud-based applications. The web applications connect the field IIoT devices to 'the Internet'. The adequate performance of web applications depends on how seamlessly devices communicate and synchronize. The IIoT devices prominently use Message Queueing Telemetry Transport (MQTT) for machine to machine (M2M) communication. MQTT implements publish-subscribe-based broker architecture that distributes a common timebase to client devices. Such one-way time transfer methods are less accurate and often introduce synchronization errors. While existing time synchronization methods for field IIoT end devices, e.g., Simple Network Time Protocol (SNTP), provide adequate synchronization based on two-way delay transfer methods, their performance degrades significantly with deteriorating network conditions. To address these synchronization challenges, we propose SMQTT, a scalable, software-based, lightweight clock synchronization method for IIoT end devices utilizing MQTT-based M2M communication. The proposed method effectively leverages the broker architecture to implement a two-way delay-based synchronization algorithm. We conducted measurements in network deployments to evaluate the performance of the proposed algorithm. The results demonstrate that SMQTT surpasses both SNTP and state-of-the-art methods in terms of accuracy. Specifically, in our measurements under poor network conditions, SMQTT achieves synchronization performance improvements of 94% and 73% compared to SNTP and the state-of-the-art method, respectively.
Place, publisher, year, edition, pages
IEEE Computer Society , 2023.
Keywords [en]
Clock Synchronization, Cyber-physical systems, Industrial internet of things, IoT, MQTT, Round Trip Delay, SNTP, Embedded systems, Internet of things, Machine-to-machine communication, Mechanical clocks, Network architecture, Synchronization, Cybe-physical systems, Industrial internet of thing, Message queueing telemetry transport, Network time protocol, Simple network time protocol, Simple networks, Cyber Physical System
National Category
Computer Engineering
Identifiers
URN: urn:nbn:se:mdh:diva-65016DOI: 10.1109/ISPCS59528.2023.10296995ISI: 001099046900012Scopus ID: 2-s2.0-85178510685ISBN: 9798350313581 (print)OAI: oai:DiVA.org:mdh-65016DiVA, id: diva2:1819293
Conference
2023 International IEEE Symposium on Precision Clock Synchronization for Measurement, Control, and Communication, ISPCS 2023, London, 18 September 2023 through 22 September 2023
2023-12-132023-12-132023-12-20Bibliographically approved