Edge computing allows for data processing at reduced latency since the computational power is moved close to the data sources. Traditionally, edge computing has been often used in industrial scenarios for implementing gateways between the OT (operational technology) worlds and the IT (cloud) world. Recently, big manufacturers of industrial PLC (programmable logic controller) started promoting the use of containerized virtual PLC hosted inside edge computing platforms. They foresee an innovative integration of container based applications, including automation control, with all the data centric services and application already available for edge ecosystems. Even if a clear advantage from the scalability and maintainability could be expected, would virtual PLCs meet the stringent requirements of industrial automation? This paper is part of a multistage research work, and, as a first step, it is focused on the evaluation of the performance of virtual PLC when exchanging data with other machines, controllers, supervisors, and data acquisition systems in a machine-to-machine scenario. After a brief overview of the involved technology, the design of a methodology for comparing real PLC and virtual PLC is described. Then, performance metrics, and an experimental setup for the evaluation of existing devices are defined taking care of the sources of uncertainty. The effectiveness of the proposed methodology is demonstrated considering a real use case. Through the use of the suggested methodology, important insights of the use case are revealed: for instance, the considered virtual PLC could work as fast as a real PLC with minimum communication latency in the order of 3 ms but, currently, there is a random delay with an average of 50ms whose source has been identified to be the IP stack implementation of the virtual PLC. Finally, the proposed methodology allows for the creation and the validation of analytical models of the use case.
In a LoRaWAN network, the backend is generally distributed as Software as a Service (SaaS) based on container technology, and recently, a containerized version of the LoRaWAN node stack is also available. Exploiting the disaggregation of LoRaWAN components, this paper focuses on the emulation of complex end-to-end architecture and infrastructures for smart city scenarios, leveraging on lightweight virtualization technology. The fundamental metrics to gain insights and evaluate the scaling complexity of the emulated scenario are defined. Then, the methodology is applied to use cases taken from a real LoRaWAN application in a smart city with hundreds of nodes. As a result, the proposed approach based on containers allows for the following: (i) deployments of functionalities on diverse distributed hosts; (ii) the use of the very same SW running on real nodes; (iii) the simple configuration and management of the emulation process; (iv) affordable costs. Both premise and cloud servers are considered as emulation platforms to evaluate the resource request and emulation cost of the proposed approach. For instance, emulating one hour of an entire LoRaWAN network with hundreds of nodes requires very affordable hardware that, if realized with a cloud-based computing platform, may cost less than USD 1.
11 April 2025 in IEEE Open Journal of Instrumentation and Measurement
The integration of virtual Programmable Logic Controllers (vPLCs) into industrial automation systems introduces the potential for enhanced maintainability and scalability through container-based automation. Unlike traditional hardware-based PLCs, vPLCs operate within edge computing environments, leveraging lightweight virtualization to provide flexibility and support modern microservices architectures. However, the open question is: can vPLCs meet the stringent real-time performance requirements of industrial control applications, particularly in communication with sensors and actuators? The paper objective is to fill this gap. Differently from other works in literature, the performance of the real-time data exchange between virtual PLCs and sensors/actuators is evaluated. Inparticular, the paper presents and describes a methodology designed for comparing real PLC and virtual PLC in real-time industrial automation scenarios. The methodology includes the definition of specific performance metrics, the design of a standardized experimental setup to characterize both device real-time performance and uncertainty sources, and the development of analytical models to support simulations and digital twin applications. The proposed method of comparison is demonstrated in a reference use case including real-time Ethernet connectivity; results lead to: a) important conclusions about methodology effectiveness; and b) the analytical model of the considered use case. Indetails, the analysis indicates that vPLCs exhibit approximately 50% higher jitter, suggesting a minimum recommended PROFINET cycle time of 2 ms for optimal performance. The findings contribute to the broader understanding of vPLC capabilities in industrial automation, offering practical insights for industries aiming to transition to modern, containerized control systems without compromising real-time communication performance.
The integration of legacy manufacturing systems into Industry 4.0 ecosystems necessitates architectures that balance interoperability and performance across infrastructures. This paper addresses these challenges by proposing a hybrid system leveraging Docker containers, the Moleculer framework, and the Asset Administration Shell (AAS) to enable semantic interoperability while quantifying communication latencies in bidirectional industrial workflows, analyzing microservice communication performance in edge platforms through a hybrid architecture that combines legacy protocols with edge virtualization, and contextualizing it against fieldbus-based systems and fully virtualized containerized microservices. Experimental validation on a Siemens S7-1500 Programmable Logic Controller (PLC) evaluates latency distributions across architectures, revealing average round-trip times of 7.23 ms for hybrid sensor updates and 5.94 ms for virtualized command writes, with 75% of operations under 10 ms. Performance tradeoffs emerge between protocol translation overhead in hybrid systems and transporter-induced variability in virtual deployments. By correlating temporal metrics with architectural choices, this work provides actionable insights for modernizing brownfield installations, enabling manufacturers to select optimal strategies based on legacy constraints and real-time requirements. The results highlight the viability of gradual migration paths, preserving existing investments while adopting Industry 4.0 capabilities through performance-aware microservice orchestration.
This article presented the data collected with 9 Garmin Fēnix® 7 - Standard Edition smartwatches during the GiroE-2024. GiroE is an annual e-bike event that runs concurrently with the Giro d'Italia, one of the most prestigious and challenging road cycling races worldwide. Participants ride along selected stages of the Giro d'Italia route, enjoying the same terrains and atmosphere on pedal-assisted bicycles.