Latency Analysis of WebSocket and Industrial Protocols in Real-Time Digital Twin Integration

Hlayel, Mohammed and Mahdin, Hairulnizam and Mohd Adam, Husaini Aza (2025) Latency Analysis of WebSocket and Industrial Protocols in Real-Time Digital Twin Integration. International Journal of Engineering Trends and Technology, 73 (1). pp. 120-135. ISSN 2231–5381

[img] Text
J19483_07c23d89b696383513f47251e8d24bbb.pdf
Restricted to Registered users only

Download (922kB) | Request a copy

Abstract

Integrating digital twins with industrial automation, particularly in remote environments, demands efficient real-time communication to synchronize virtual models with physical devices. Latency and resource usage are critical for ensuring seamless operation, especially when considering IEC 61588 standards, which mandate response times under 100 milliseconds for real-time systems. This paper presents a comparative analysis of WebSocket as an intermediary protocol with Siemens S7, benchmarked against widely used industrial communication protocols, including MQTT, Modbus, and OPC UA. The study focuses on real-time performance and resource efficiency in remote setups, using Amazon Web Services (AWS) cloud-based Node-RED as the protocols’ server. Although WebSocket is not an industrial automation standard, it demonstrated competitive latency and resource efficiency, particularly when integrated with Siemens S7 for remote operations. The results show that WebSocket with S7 outperforms other protocols like MQTT, while Modbus and OPC UA exhibit higher latency in cloud-based Node-RED environments. OPC UA’s performance significantly improved after optimizing the currently used Node-RED’s server sampling parameters. These findings underscore the need for further optimization of Node-RED nodes to enhance protocol handling in remote industrial settings, as performance still lags behind local configurations.

Item Type: Article
Uncontrolled Keywords: Digital Twin, Modbus, MQTT, OPC UA, WebSocket, Real-Time communication
Subjects: T Technology > TA Engineering (General). Civil engineering (General)
Divisions: Faculty of Computer Science and Information Technology > FSKTM
Depositing User: Mr. Mohamad Zulkhibri Rahmad
Date Deposited: 18 Aug 2025 03:41
Last Modified: 18 Aug 2025 03:42
URI: http://eprints.uthm.edu.my/id/eprint/12993

Actions (login required)

View Item View Item