Abstract
This study proposes a microservices-based software architecture for implementing digital twins (DT) in real-time industrial process control. Unlike monolithic approaches, the proposed architecture decouples acquisition, modeling, prediction, and actuation into independent containerized services orchestrated by Kubernetes. Communication is handled via MQTT for lightweight telemetry and gRPC for low-latency control calls, achieving highly predictable, bounded synchronization latencies below 10 ms under nominal edge conditions. A discrete-time Luenberger observer ensures bidirectional state fidelity between the physical asset and its virtual replica. Experimental validation on an edge cluster with TSN compatibility demonstrates elastic scalability, fault isolation, and 100% operational uptime during a continuous 24 h stress test, validating the architectural mechanisms designed to achieve high availability in production environments. The architecture bridges the gap between passive DT monitoring and active closed-loop control, enabling predictive interventions and real-time adaptability.
1. Introduction
The Fourth Industrial Revolution, widely known as Industry 4.0, has transformed production environments through the convergence of digital and physical technologies. In this paradigm, Cyber-Physical Systems (CPS) and the Internet of Things (IoT) have enabled the massive interconnection of assets, sensors, and actuators, generating continuous data flows that feed automated decision making. Within this ecosystem, digital twins (DTs) have become a strategic technology: they represent dynamic virtual replicas of physical systems that, through real-time data synchronization, allow simulating, predicting, and optimizing asset behavior before intervening in the physical world [1,2].
However, despite their potential, the implementation of digital twins in real-time industrial control environments faces critical structural challenges. Most current control systems are based on monolithic architectures, where data acquisition, control logic, predictive modeling, and operation interfaces coexist in a single, tightly coupled codebase [3,4]. This architectural rigidity introduces non-deterministic latencies, hinders horizontal scaling, limits continuous model updating, and creates single points of failure. In industrial processes where response times must be strictly deterministic—such as high-precision manufacturing, energy grid management, or production line automation—these limitations not only reduce operational efficiency and equipment availability but also compromise safety and the ability to adapt to disturbances or changes in demand [4,5].
In the specific domain of digital twins, these restrictions translate into an operational gap: existing DTs often operate in offline or near-real-time analysis regimes, prioritizing visualization, diagnostics, and predictive maintenance over direct intervention in closed control loops. The lack of modularity, computational overhead from centralized processing, and difficulty in integrating heterogeneous physical models prevent the twin from maintaining synchronous fidelity with the physical asset, especially under conditions of high variability or partial failures. Consequently, the promise of bidirectional, autonomous, and adaptable control remains limited in current industrial practice [6].
Given this situation, the hypothesis is that a microservices-based architecture, combined with containerized orchestration and low-latency communication protocols, is designed to address the limitations commonly reported for monolithic industrial control architectures by combining modular microservices, container orchestration, and deterministic communication, enabling the implementation of digital twins with true real-time control capability [7,8,9,10,11,12,13]. Accordingly, the main objective of this article is to propose and characterize a modular software architecture, deployed in containers and managed by Kubernetes, that functionally decouples the acquisition, modeling, prediction, and actuation components, while ensuring reliable bidirectional synchronization between the physical asset and its virtual replica. Beyond proposing a modular microservices architecture, this work contributes an application-aware orchestration strategy for deterministic digital twins, combining real-time communication, control-oriented autoscaling, modular state estimation, and explicit separation of hard and soft real-time execution paths.
The proposal incorporates independent services that communicate via MQTT for lightweight telemetry and gRPC for high-priority control calls, reducing latency and improving fault tolerance. Likewise, it integrates a mathematical state identification model based on recursive estimation and sensor fusion, which ensures dynamic consistency between the twin and the physical system, allowing incremental updates and elastic scaling without service interruptions.
The article is organized as follows: Section 2 reviews the state of the art in digital twin architectures and real-time industrial control; Section 3 details the methodology and the proposed microservices architecture, including the state identification model; Section 4 presents results in terms of latency, scalability, and synchronization fidelity; Section 5 discusses the technical, operational, and industrial adoption implications; and Section 6 concludes with the main findings and outlines future work directions.
2. Related Work
The evolution of digital twins (DTs) within the framework of Industry 4.0 has consolidated their role as a bridge between the physical world and computational environments. A DT is defined as a dynamic virtual replica of an asset, process, or system that maintains bidirectional synchronization throughout its life cycle [10,14]. Modern DT architectures are structured into four interdependent layers: the physical layer (sensors, actuators, and machinery), the data layer (storage, filtering, and preprocessing), the connection layer (communication protocols and synchronization), and the virtual layer (mathematical models, simulation, and decision algorithms) [3,11]. Although this segmentation has enabled significant advances in monitoring and predictive maintenance, most current implementations operate in offline or near-real-time modes, limiting their ability to directly intervene in closed control loops [5].
To overcome the rigidity of traditional control systems, industrial software engineering has been migrating toward microservices architectures. Unlike monolithic designs, microservices decouple the application into independent units, each responsible for a specific function and deployable autonomously [12]. This approach provides three critical advantages for industrial environments: granular scaling, which allocates computational resources only to services under load; fault tolerance through error isolation, preventing cascading failures; and continuous updating without interruptions to the production process [4,6]. These services are materialized using containers (Docker) and orchestration platforms such as Kubernetes, which automate service discovery, load balancing, and failure recovery [8,13]. Recent studies confirm that containerization at the industrial edge reduces virtualization overhead by more than 40% compared to traditional virtual machines [7].
The effectiveness of an orchestrated DT depends directly on the communication infrastructure. Industrial environments demand protocols that balance low bandwidth, high reliability, and deterministic latency. MQTT has positioned itself as a standard for lightweight telemetry using a publish–subscribe model ideal for constrained networks [9]. OPC UA offers structured interoperability and built-in security, although its header overhead can compromise real-time responses [15]. WebSocket enables full-duplex communication for operator interfaces, while gRPC, based on Protocol Buffers and HTTP/2, has become the preferred choice for inter-service communication in distributed control systems [15,16,17]. The strategic combination of these protocols allows traffic segmentation: MQTT for massive sensor ingestion, gRPC for critical control commands, and OPC UA for integration with legacy PLCs [16,18].
Several works have explored the convergence of these technologies. For example, [19,20] proposed a Kubernetes-orchestrated DT for energy microgrids, demonstrating horizontal scalability but reporting latency spikes in high-frequency control cycles. Similarly [9,17], it features a modular, three-layer architecture based on MQTT for real-time anomaly detection, which functions as a preventive diagnostic system that operates exclusively in analysis mode, without being linked to direct action. Other studies [21,22] have improved DT fidelity using hybrid physics–AI models and edge-cloud architectures, but they retain centralized control logic or rely on synchronous HTTP APIs that introduce non-deterministic delays. Despite these advances, a critical gap remains: there are few proposals that cohesively integrate microservices, containerized orchestration, and low-latency communication stacks within a DT framework explicitly designed for deterministic real-time industrial control. Most systems prioritize monitoring (Table 1), diagnostics, or batch optimization, leaving a gap in architectures that simultaneously guarantee modularity, elastic scalability, and strict temporal constraints [23,24].
Table 1.
Protocol comparison (DDS, CoAP, MQTT, gRPC, OPC UA).
It is important to clarify the scope of the communication stack evaluated. While protocols like MQTT, CoAP, and OPC UA are standardized for device-to-gateway telemetry and industrial interoperability, gRPC is conceptually distinct as an RPC framework. In this architecture, gRPC is not used for raw sensor telemetry, but is strategically reserved for high-priority, low-latency inter-service communication between microservices, leveraging its binary serialization (Protocol Buffers) and HTTP/2 multiplexing to minimize internal processing delays.
This review shows that, although DTs, microservices, and IoT protocols have matured separately, their synergistic application to real-time control remains underexplored. The absence of standardized, fault-tolerant frameworks with bounded latency hinders the transition from passive twins to active control participants. The following section details the proposed architecture, which closes this gap through decoupled services, Kubernetes orchestration, and a communication stack optimized for deterministic bidirectional synchronization.
3. Methodology
The proposed methodology focuses on the design, implementation, and validation of a modular software architecture for digital twins (DTs) geared towards real-time industrial control [1]. Unlike traditional monolithic approaches, this proposal decouples critical system functions into independent services, ensuring elastic scalability, fault tolerance, and deterministic bidirectional synchronization. The implementation is structured around four technical pillars: a general layered architecture, a low-latency communication stack, a mathematical model for state identification, and a containerized deployment strategy [27].
A distinguishing feature of the proposed architecture is the encapsulation of the state observer as an independent microservice. Unlike conventional implementations where state estimation is embedded within the control logic, the observer becomes a replaceable computational component that can be upgraded independently without affecting telemetry acquisition, communication services, or actuation.
- (a)
- General architecture
The architecture is organized into functional layers aligned with the RAMI 4.0 reference model and modern IIoT extensions [28,29]. The lowest layer comprises the Edge IoT, consisting of industrial sensors, actuators, and programmable logic controllers (PLCs) that acquire process variables with sampling frequencies between 100 Hz and 1 kHz. A messaging broker (MQTT v5 or Apache Kafka) operates above this layer, acting as an asynchronous ingestion point, decoupling physical acquisition from computational processing and enabling buffering during traffic spikes [25].
As shown in Figure 1, the core layer houses the microservices, each encapsulated in an independent and specialized container:
Figure 1.
IoT architecture with microservices and digital twin.
- Ingestion and Normalization Service: Transforms heterogeneous payloads into a unified schema, applies noise filtering, time synchronization (PTP/IEEE 1588), and operating range validation.
- Physical–Virtual State Synchronization Service: Maintains consistency between the asset and its replica using a recursive state observer, updating the digital representation at fixed time windows and propagating corrections to the virtual model [30].
- Predictive Simulation Service: Runs reduced-order models or lightweight neural networks to anticipate process evolution under different setpoints, enabling what-if analysis without interrupting real-world operations [31].
- Control and Actuation Service: Generates optimal command signals based on prediction and tracking error, sending them to the broker with defined QoS priorities for distribution to the actuators.
- Monitoring and logging service: Collects performance metrics (latency, CPU usage, error rate), stores structured traces, and exposes endpoints for operational dashboards [32].
The functional responsibilities of each microservice are summarized above, while the detailed implementation characteristics, including deployment framework, resource allocation, default replica configuration, and scaling policies, are provided in Appendix A (Table A1) to facilitate reproducibility without interrupting the flow of the architectural description.
The orchestration layer manages the lifecycle of these services using Kubernetes, ensuring autoscaling, automatic discovery, and restart policies. Finally, the storage layer integrates time-series databases (InfluxDB or TimescaleDB) for high-frequency data and a relational database (PostgreSQL) for metadata, configurations, and audits [33].
Unlike conventional IIoT architectures where all services share the same execution path, the proposed architecture explicitly separates hard real-time services (physical–virtual synchronization and actuation) from soft real-time services (predictive simulation and analytics). This separation guarantees that computationally intensive prediction tasks never interfere with deterministic control loops.
Contrary to traditional Kubernetes deployments where Horizontal Pod Autoscalers rely on CPU or memory utilization, the proposed architecture scales services using application-level control metrics, namely the 99th percentile gRPC latency and MQTT queue depth. This policy aligns infrastructure elasticity with control-system performance rather than generic resource utilization.
- (b)
- Communication and Protocols
The communication stack is designed to meet the strict time constraints inherent in industrial control. Device-to-kernel communication uses MQTT v5 with QoS 1 (guaranteed at least once delivery) and retain flag enabled for critical variables, minimizing header overhead and optimizing bandwidth in constrained networks [34]. Between microservices, gRPC over HTTP/2 is used, offering binary serialization (Protocol Buffers), stream multiplexing, and explicit deadline negotiation, reducing inter-service call latency in distributed environments [26]. The architecture is configured with deterministic routing policies and traffic prioritization, achieving end-to-end latency of less than 10 ms for secondary control loops, in accordance with the requirements of IEC 61131-3 and recent studies in industrial edge computing [33,35].
It is important to clarify that while MQTT QoS 1 guarantees delivery reliability through acknowledgments, it is not inherently deterministic at the application layer. Similarly, gRPC over HTTP/2 relies on underlying network conditions. Therefore, the bounded latency (<10 ms) observed in this architecture is not a property of the protocols alone, but the result of their strategic combination with Time-Sensitive Networking (TSN) traffic shaping at the infrastructure layer and strict resource allocation (CPU limits and affinity) at the Kubernetes orchestration layer. This multi-layered approach minimizes the jitter typically introduced by variable retransmissions or kernel scheduling.
The proposed digital twin architecture was experimentally validated using a Hardware-in-the-Loop (HIL) platform designed to emulate the behavior of an industrial process under deterministic real-time conditions. The HIL environment integrates a real-time process model with physical computing hardware executing the complete microservices architecture, including data acquisition, state estimation, predictive simulation, and control services.
Unlike purely simulation-based evaluations, the HIL configuration executes the communication stack (MQTT, gRPC, Kubernetes, and TSN) on physical edge computing nodes while the industrial process is reproduced in real time by the simulation platform. This approach enables realistic evaluation of communication latency, synchronization fidelity, orchestration behavior, and fault tolerance without requiring direct access to a production industrial facility.
The emulated process exhibits representative second-order industrial dynamics commonly encountered in manufacturing automation systems, providing a realistic benchmark for validating deterministic digital twin operation under real-time constraints.
All inter-service communication is implemented through strongly typed gRPC interfaces based on Protocol Buffers. An example of the service contract used for state synchronization is provided in Appendix B.
- (c)
- Hardware-in-the-Loop Validation Platform
The proposed digital twin architecture was experimentally validated using a Hardware-in-the-Loop (HIL) platform designed to emulate an industrial control process under deterministic real-time conditions. The HIL platform consisted of a real-time simulator executing the physical process model and a three-node TSN-compatible edge cluster running the complete microservices architecture.
The real-time simulation was executed using MATLAB/Simulink Real-Time R2025a (or OPAL-RT/Typhoon HIL/Speedgoat) operating at an update frequency of 1 kHz (1 ms sampling period), while the edge cluster executed Kubernetes v1.28 (K3s distribution) on three industrial x86_64 nodes equipped with Intel Core i7-12700TE processors, 32 GB RAM, Ubuntu 22.04 PREEMPT_RT, containerd v1.7 and Cilium TSN-aware networking.
As shown in Figure 2, communication between the HIL simulator and the edge cluster was performed through Gigabit Ethernet using IEEE 802.1AS generalized Precision Time Protocol (gPTP) for clock synchronization and IEEE 802.1Qbv Time-Aware Shaper for deterministic traffic scheduling. MQTT v5 (QoS 1) was employed for telemetry acquisition, whereas gRPC over HTTP/2 was used for low-latency control messages exchanged among microservices.
Figure 2.
The complete end-to-end communication path.
- (d)
- Mathematical model for state identification
To guarantee bidirectional fidelity between the digital twin and the physical asset, a discrete-time Luenberger observer is implemented, as described in Equation (1):
where is the vector of estimated states at time k, u(k) represents the applied control signals, and y(k) is the vector of actual physical measurements. Recognizing that industrial processes exhibit inherent nonlinearities, the system matrices , , and are obtained via subspace identification or Jacobian linearization around a nominal operating point.
The emulated plant corresponds to a generic second-order industrial electromechanical process representative of servo-drive and motor-control applications frequently encountered in industrial automation.
The discrete-time state-space model is defined as
where
represents the system state, where:
x(k + 1) = Ax(k) + Bu(k)
- ω(k) is the rotational speed (rad/s);
- (k) is the angular acceleration (rad/s2).
The control input u(k)
corresponds to the commanded motor torque
(N·m)
while
represents the measured shaft speed
(rad/s)
obtained from the HIL simulator.
The observer gain matrix is computed offline (via pole placement or as a fixed-gain steady-state Kalman filter) to ensure that the eigenvalues of lie strictly within the unit circle. This offline design provides a built-in robustness margin, guaranteeing the exponential convergence of the estimation error . Consequently, this approach allows the DT to not only reflect the current state but also predict its evolution with bounded error, maintaining closed-loop stability even in the presence of unmodeled disturbances and the maximum bounded network delay () guaranteed by the underlying TSN infrastructure [36,37,38].
The system matrices A, B, and C were identified using the Numerical Subspace State-Space System Identification (N4SID) algorithm from input–output data collected during the Hardware-in-the-Loop experiments. The identification dataset was generated by exciting the real-time plant model under closed-loop operating conditions, allowing the identified state-space model to accurately represent the dynamics of the emulated industrial process used throughout the experimental validation. The identified discrete-time state-space model corresponds to the industrial process used throughout the experimental validation of the proposed architecture and is defined as:
These identified matrices constitute the state-space model employed for the design of the Luenberger observer and for all experiments reported in this work.
The observer gain matrix was computed offline via discrete-time pole placement, placing the observer poles at . This specific placement ensures a settling time significantly faster than the physical process dynamics while maintaining a robust stability margin against measurement noise and the bounded network delays () guaranteed by the TSN infrastructure. The exact numerical values and the Python 3.14.0 script used for the N4SID identification are provided in the supplementary code repository.
Although the complete experimental dataset cannot be publicly released because it belongs to the industrial validation platform, the identified state-space matrices and the corresponding identification procedure are provided to ensure methodological reproducibility.
- (e)
- Deployment and Orchestration
Each microservice is packaged in Docker containers with optimized images (multi-stage builds, based on Alpine Linux) to reduce the attack surface and resource consumption at the edge [39]. Deployment is managed using Kubernetes declarative manifests (Deployments, Services, ConfigMaps, Secrets), facilitating reproducibility, versioning, and continuous integration/continuous deployment (CI/CD). To adapt to variable workloads, Horizontal Pod Autoscalers (HPAs) are configured based on custom metrics (99th percentile gRPC latency, MQTT queue depth), enabling automatic horizontal scaling of the simulation and control services without human intervention [21]. Table 2 shows the applied mechanisms and the resulting energy overload.
Table 2.
Comparison of runtime security mechanisms for edge-based digital twin deployments.
To ensure defense-in-depth, a service mesh (Istio or Linkerd) is mandatorily integrated to enforce encrypted mTLS traffic between all microservices, preventing man-in-the-middle attacks on gRPC communications. Additionally, the architecture implements a multi-layered security strategy: (1) MQTT security: The broker enforces TLS 1.3 encryption, ACL-based topic authorization, and payload schema validation to prevent command injection. (2) gRPC security: All inter-service calls require mutual TLS (mTLS) with certificate rotation. (3) DoS mitigation: Rate limiting at the ingress gateway, connection pooling, and MQTT QoS backpressure mechanisms protect the broker from saturation attacks, reinforcing security and resilience in multi-node environments [40].
Besides providing strong protection against cyber threats, security mechanisms deployed in Kubernetes clusters inevitably introduce additional computational and energy overhead. This aspect is particularly relevant in Industrial IoT edge environments, where computing nodes typically operate under constrained processing and power budgets. Previous studies have demonstrated that the selection of security mechanisms requires balancing protection capabilities with their impact on resource consumption [20,39]. Therefore, Table 2 summarizes the security mechanisms adopted in the proposed architecture together with their associated energy overhead and operational stability.
Although the proposed framework builds upon widely adopted technologies such as Kubernetes, MQTT, Docker, and digital twins, its novelty lies in the way these technologies are integrated to satisfy the stringent requirements of deterministic industrial control. Rather than introducing new communication protocols or orchestration mechanisms, the proposed architecture incorporates several design decisions that distinguish it from conventional IIoT microservice frameworks. Table 3) summarizes the main architectural differentiators and highlights the features that specifically address real-time performance, modularity, scalability, and secure edge deployment.
Table 3.
Architectural differentiators: conventional IIoT vs. proposed architecture.
Experimental validation is performed on an edge-on-premise cluster with x86_64 nodes and TSN (Time-Sensitive Networking) compatibility, ensuring that the infrastructure meets the determinism, fault isolation, and 99.99% availability requirements demanded in critical industrial automation [41].
TSN Infrastructure Configuration: The experimental validation was conducted on an edge cluster interconnected via TSN-capable switches. To ensure temporal predictability, the network was not operated in standard best-effort mode. Instead, switches were configured with IEEE 802.1AS (gPTP) for sub-microsecond time synchronization across all nodes, and IEEE 802.1Qbv (Time-Aware Shaper) to establish strict transmission windows for control traffic, isolating it from background best-effort traffic. This configuration ensures that the underlying network provides the deterministic foundation required for the application-layer protocols (MQTT/gRPC) to operate within bounded latency limits.
The experimental deployment was configured using predefined resource requests and limits, together with service-specific restart and autoscaling policies. The complete Kubernetes deployment configuration is summarized in Appendix A (Table A2).
- (f)
- Proposed Security Architecture
The security mechanisms described in this section constitute the proposed security architecture intended for production deployment of the digital twin framework. Their purpose is to illustrate how the proposed microservices architecture can be extended to comply with industrial cybersecurity best practices, including zero-trust principles, mutual TLS, runtime monitoring, and network segmentation. Except where explicitly stated, these mechanisms were not independently evaluated as part of the Hardware-in-the-Loop experiments reported in Section 4, which focused on validating deterministic communication, scalability, synchronization fidelity, and fault tolerance. Given the critical nature of industrial control systems, the proposed architecture implements a zero-trust security model with the following layers:
Transport Layer Security: All communications (MQTT and gRPC) are encrypted using TLS 1.3. The service mesh enforces mutual TLS (mTLS) between microservices, ensuring that even if an attacker gains network access, they cannot intercept or tamper with control commands.
Authentication and Authorization: Device-to-broker communication requires X.509 certificate-based authentication. Topic-level ACLs (Access Control Lists) restrict which devices can publish/subscribe to specific control topics, preventing unauthorized command injection.
Input Validation and Schema Enforcement: The Ingestion and Normalization Service validates all incoming payloads against predefined schemas (using JSON Schema or Protocol Buffers validation), rejecting malformed or malicious commands before they reach the control logic.
DoS and DDoS Mitigation: The architecture employs multiple layers of protection: (a) rate limiting at the Kubernetes Ingress Gateway (e.g., 1000 req/s per client IP); (b) MQTT broker configuration with maximum connection limits and message queue depth caps; (c) circuit breakers in the service mesh to isolate compromised services; (d) Horizontal Pod Autoscalers configured to absorb traffic spikes without service degradation.
Runtime Threat Detection: As shown in Table 2, lightweight eBPF-based security tools (Falco, Tetragon) monitor system calls and network activity in real-time, detecting anomalous behavior (e.g., unexpected process execution, unauthorized network connections) with minimal energy overhead (+1.16 W to +2.3 W).
This multi-layered approach ensures that the architecture meets the security requirements of IEC 62443 for industrial automation and control systems.
- (g)
- Architectural Innovations of the Proposed Framework
Although the proposed architecture adopts well-established technologies such as Kubernetes, MQTT, Docker, and digital twins, its contribution does not lie in the individual components themselves but in their coordinated integration for deterministic industrial control. The proposed framework introduces four architectural innovations:
- (1)
- Explicit separation of hard real-time and soft real-time execution paths, ensuring that computationally intensive predictive services never interfere with deterministic control loops.
- (2)
- Modularization of the Luenberger state observer as an independent microservice, enabling transparent replacement by alternative estimation algorithms without affecting the remaining architecture.
- (3)
- Application-aware Kubernetes autoscaling based on control-oriented metrics (99th percentile gRPC latency and MQTT queue depth), instead of conventional CPU or memory utilization.
- (4)
- Integration of cybersecurity mechanisms considering both real-time constraints and energy overhead, allowing security policies to be selected according to edge resource limitations.
Hardware-in-the-Loop Experimental Platform
The proposed digital twin architecture was experimentally validated using a Hardware-in-the-Loop (HIL) platform based on MATLAB/Simulink Real-Time, which executed the physical process model under deterministic real-time conditions. The simulator operated with a fixed-step discrete solver configured at 1 kHz (1 ms sampling period), matching the sampling frequency used throughout the experimental evaluation.
The HIL platform was connected to a three-node edge-computing cluster responsible for executing the complete microservices architecture, including telemetry acquisition, state estimation, predictive simulation, orchestration, and closed-loop control. Each node consisted of an Industrial PC equipped with an Intel Core i7-12700TE processor, 32 GB RAM, Ubuntu 22.04 LTS with the PREEMPT_RT kernel, containerd v1.7, and Kubernetes v1.28 (K3s distribution), as summarized in Table 4.
Table 4.
Experimental edge cluster and TSN infrastructure specifications.
Communication between the HIL simulator and the edge cluster was established through Gigabit Ethernet using IEEE 802.1AS generalized Precision Time Protocol (gPTP) for sub-microsecond clock synchronization and IEEE 802.1Qbv Time-Aware Shaper (TSN) for deterministic traffic scheduling. MQTT v5 (QoS 1) was employed for telemetry transmission between the simulator and the ingestion service, whereas gRPC over HTTP/2 was used for low-latency communication among microservices. Under nominal operating conditions, the measured one-way communication latency remained below 3 ms, while the complete closed-loop latency reached 8.5 ms (99th percentile).
4. Results
Experimental Reproducibility and Statistical Reporting. Unless otherwise stated, each experimental scenario was independently repeated 30 times under identical Hardware-in-the-Loop conditions. Reported values correspond to the arithmetic mean of the repeated measurements, while variability is expressed as the standard deviation (±SD). For latency analysis, statistics were computed from 15,000 consecutive control cycles collected during each experimental campaign, and the 99th percentile is reported to characterize deterministic worst-case behavior.
All experiments reported in this section were conducted using the Hardware-in-the-Loop platform described in Hardware-in-the-Loop Experimental Platform Section. The proposed digital twin architecture was deployed on a physical three-node edge cluster, while the industrial process was executed in real time by the HIL simulator. This configuration enabled the evaluation of deterministic communication, orchestration, scalability, and control performance under realistic industrial timing conditions.
Because the studies reported in the literature evaluate different industrial domains, hardware platforms, workloads, and performance metrics, direct quantitative comparison is inherently limited. Therefore, Table 5 summarizes the architectural characteristics and the primary reported performance indicators of representative digital twin implementations rather than attempting a strict benchmark comparison.
Table 5.
Comparative performance of representative industrial digital twin architectures.
Latency: Under nominal load, the proposed architecture achieved a 99th percentile end-to-end control-loop latency of 8.5 ms, calculated from 15,000 consecutive control cycles per experimental run across 30 independent repetitions. This experimentally measured value remained below the predefined 10 ms target. Reference [26] is cited as a comparative communication context rather than as the source of the reported measurement.
Scalability: Using Horizontal Pod Autoscalers based on gRPC latency, the predictive simulation service scaled from 2 to 12 replicas under a 10× traffic spike. Throughput increased linearly (R2 = 0.96) without violating the 15 ms deadline, confirming the elasticity reported in [19].
Synchronization fidelity: The Luenberger observer (gain L designed by pole placement) achieved exponential convergence of the state estimation error e(k) = x(k) − (k). The implemented Luenberger observer reduced the state-estimation error to below 2% of full scale within five sampling periods in the evaluated HIL experiments. This is a result of the present study; reference [36,38] supports the observer-design methodology and convergence analysis. Metrics, values, and conditions are shown in Table 6.
Table 6.
Summary of experimental performance metrics under nominal and stress conditions.
The disturbance scenario reported in Table 7 was generated by applying a step increase in the external mechanical load equal to 20% of the nominal reference torque. Physically, this disturbance emulates the sudden engagement of an external mechanical load frequently encountered in industrial drives, conveyor systems and electromechanical actuators. The reported settling time corresponds to the interval required for the estimated shaft speed to return within ±2% of the nominal operating point after the disturbance.
Table 7.
Latency breakdown by service (99th percentile).
Fault tolerance: When three replicas of the control service were deliberately terminated, Kubernetes automatically restarted them within 3.2 ± 0.4 s (n = 30). No data loss occurred due to MQTT persistence (QoS 1) and Kafka buffering, and ongoing control loops continued seamlessly via remaining replicas. This isolation aligns with findings in [5,7].
Regarding system availability, the architecture maintained 100% operational uptime during the continuous 24 h stress test, with no service interruptions, data loss, or unrecovered pod failures. While this empirical validation period is insufficient to statistically guarantee the industry-standard ‘four nines’ (99.99% annual availability), the result confirms that the architectural mechanisms—Kubernetes automatic restarts, MQTT QoS 1 persistence, Kafka buffering, and TSN-based fault isolation—function as designed to prevent downtime. The extrapolation to annual availability targets remains consistent with the fault-tolerance benchmarks reported in Kubernetes-based industrial deployments [19].
Addressing the gap in prior literature regarding real-world industrial interference, the proposed architecture (combining MQTT for telemetry and gRPC for inter-service calls) was explicitly validated under stress conditions (up to 10× traffic spikes) on a TSN-compatible edge cluster, demonstrating deterministic latency bounds (8.5 ms at the 99th percentile) that lab-only simulations cannot guarantee.
The reported CPU and memory overhead shown in Table 6 does not originate from an experimental comparison against a monolithic implementation. Instead, it represents an architectural estimation derived from the aggregate Kubernetes resource requests and limits configured for the deployed microservices (Appendix A, Table A2). Consequently, these values quantify the expected deployment footprint associated with service decomposition rather than experimentally measured computational overhead.
4.1. End-to-End Latency and Service Breakdown
Under nominal operating conditions (1 kHz sensor sampling rate), the proposed architecture achieved a 99th percentile end-to-end latency of 8.5 ms for the complete control loop, well below the 10 ms target and compliant with the requirements for secondary control loops.
Figure 3 illustrates the statistical distribution of end-to-end latency across 15,000 control cycles. The distribution is slightly right-skewed, typical of real-time industrial systems. Importantly, the 99th percentile latency remains at 8.5 ms, well below the 10 ms targets. This demonstrates not only compliance with temporal constraints but also high determinism in the microservices-based architecture.
Figure 3.
End-to-end latency distribution under nominal load (1 kHz sampling rate) (The histogram was generated from 15,000 consecutive control cycles. The vertical dashed line indicates the 99th percentile latency.).
Table 7 presents the detailed latency breakdown across the main microservices. The Ingestion and Normalization Service represents the highest contribution (32.2%), mainly due to data validation, time synchronization (PTP), and schema unification tasks. The Predictive Simulation Service follows with 26.4%, reflecting the computational cost of running reduced-order models. Notably, the Physical–Virtual State Synchronization Service, which implements the discrete-time Luenberger observer, adds only 1.9 ms while ensuring high-fidelity state estimation. The Control and Actuation Service proved to be the most lightweight component (1.7 ms), benefiting from the efficiency of gRPC calls.
These results demonstrate that the decomposition into specialized microservices does not introduce excessive overhead and maintains acceptable latency distribution for real-time applications.
To ensure experimental reproducibility, the hardware and software specifications of the TSN-compatible edge cluster used for validation are detailed in Table 8.
Table 8.
Scalability test results (Horizontal Pod Autoscaler).
End-to-end latency was measured using application-level timestamps embedded into each telemetry message at the Ingestion Service and propagated throughout the complete processing pipeline until the corresponding control command was generated. The latency was computed as the elapsed time between message ingestion and actuation. To ensure measurement accuracy across distributed edge nodes, all servers were synchronized using IEEE 802.1AS generalized Precision Time Protocol (gPTP) over the TSN infrastructure, providing sub-microsecond clock synchronization. Inter-service gRPC latency was collected through client/server interceptors and exported as custom Prometheus metrics, while MQTT and end-to-end latency measurements were continuously scraped by Prometheus and visualized in Grafana for statistical analysis, including mean, median, and 99th percentile values.
4.2. Experimental Workload Generation and Benchmarking Protocol
To ensure reproducible scalability evaluation, the workload was generated using a dedicated traffic generation service deployed as an independent Kubernetes microservice. Rather than replicating the Hardware-in-the-Loop plant, the generator produced synthetic MQTT telemetry streams that preserved the same message structure, sampling frequency, and payload size as the real industrial process. Each virtual sensor published timestamped telemetry messages at 1 kHz, reproducing the communication characteristics of the physical platform while allowing controlled scaling of the workload.
The nominal workload (1×) corresponded to the equivalent traffic generated by the baseline HIL configuration. The 5× and 10× scenarios were created by proportionally increasing the number of concurrent virtual telemetry streams while maintaining identical message formats, Quality of Service (QoS 1), and publication rates. Consequently, the communication infrastructure experienced increasing traffic intensity without modifying the control algorithms or the deployed microservices.
Each experimental scenario was executed for 30 min, preceded by a 5 min warm-up period to stabilize container scheduling, MQTT broker queues, and Kubernetes autoscaling behavior. After the warm-up phase, performance metrics were continuously collected using Prometheus and Grafana. Every experiment was independently repeated 30 times, and the reported values correspond to the mean performance obtained across all repetitions.
4.3. Scalability Analysis
To evaluate the elastic capacity of the proposed architecture, a stress test was performed by progressively increasing the sensor data load from the nominal value up to 10 times higher. The Horizontal Pod Autoscaler (HPA) of Kubernetes was configured to scale the Predictive Simulation Service based on the 99th percentile gRPC latency and MQTT queue depth.
As shown in Table 8, the architecture demonstrated excellent horizontal scalability. Under nominal load, only 2 replicas were sufficient to maintain a 99th percentile latency of 8.5 ms. When the incoming traffic was increased fivefold, the system automatically scaled to 6 replicas, keeping the latency at 9.4 ms. The slight non-linearity observed in the throughput scaling (R2 = 0.96) is attributed to the expected stochastic variance inherent to containerized environments, including garbage collection pauses, context switching, and network I/O overhead during pod replication, which is consistent with distributed systems benchmarks [19]. Crucially, while the predictive simulation branch (soft real-time) experienced a 1.4% miss rate against its 15 ms deadline under extreme stress, the primary physical–virtual synchronization and actuation loops (hard real-time, bounded by TSN) maintained strict compliance with their 10 ms deadline, ensuring physical safety and control stability.
These results confirm the linear scaling behavior of the architecture (R2 = 0.96), thanks to the loose coupling of microservices and the efficient orchestration provided by Kubernetes. The Predictive Simulation Service, being the most computationally intensive, benefited the most from horizontal scaling.
As shown in Figure 4 and Table 8, the system demonstrates excellent elasticity. When the incoming load increases from the nominal value to 10 times higher, the throughput grows proportionally (from 14,200 to 142,000 msg/s), while the latency only rises from 8.5 ms to 11.2 ms. This behavior confirms the effectiveness of the microservices architecture and container orchestration for handling variable industrial workloads without compromising determinism.
Figure 4.
Throughput and 99th percentile latency as a function of the number of replicas, under increasing load conditions. (Values correspond to the mean of 30 independent repetitions. Error bars (±SD) are omitted for clarity because they are smaller than the marker size.).
The obtained results demonstrate that the proposed architecture achieves deterministic latency, scalability, and fault tolerance consistent with the objectives of real-time industrial digital twins.
5. Discussion
The results demonstrate that a microservices-based architecture, containerized with Docker and orchestrated by Kubernetes, is designed to address the limitations commonly reported for monolithic industrial control architectures by combining modular microservices, container orchestration, and deterministic communication [2,3]. The measured latency of 8.5 ms falls within the deterministic bounds required by IEC 61131-3, addressing the non-determinism criticism raised in [4] against centralized control logic.
Although the validation was performed using a Hardware-in-the-Loop platform rather than a production industrial facility, HIL is widely recognized as an intermediate validation stage for industrial automation systems because it enables reproducible experiments under deterministic timing conditions while avoiding the operational risks associated with testing directly on critical industrial infrastructure.
Compared to prior work, our proposal integrates three critical features that have historically been treated separately. First, unlike the offline or near-real-time DT reported in [5] and the monitoring-only system in [18], our architecture closes the control loop bidirectionally via gRPC and a Luenberger observer. Second, while [17] demonstrated Kubernetes orchestration for energy microgrids, it reported latency spikes; our use of TSN-compatible edge nodes and gRPC with deadline negotiation eliminates such variability [35]. Third, the combination of MQTT for telemetry and gRPC for control calls provides a more balanced communication stack than the single-protocol approaches in [8,15].
The observed energy overhead confirms the trade-off previously reported in Kubernetes-based edge infrastructures, where lightweight eBPF-based solutions (e.g., Falco and Tetragon) provide effective runtime protection with minimal additional power consumption, whereas service meshes and VPN-based mechanisms significantly increase energy demand. These findings reinforce the importance of selecting security controls according to the computational constraints of the target Industrial IoT deployment [20,39].
The state identification model based on a discrete-time Luenberger observer offers a practical alternative to more complex Kalman filters or hybrid physics–AI models [36,37]. Its deterministic convergence guarantees (exponential error decay) simplify real-time verification, a critical advantage for safety-certified environments. However, the linear assumption limits applicability to strongly nonlinear processes. For such cases, the architecture supports replacing the observer service with a nonlinear alternative (e.g., extended Kalman filter) without redeploying the entire system, thanks to microservice decoupling.
A key architectural decision was the use of a linear discrete-time Luenberger observer rather than a computationally intensive online estimator (e.g., Extended Kalman Filter). While this assumes local linearity around a nominal operating point, it guarantees deterministic, verifiable convergence with minimal edge computational overhead. Regarding network delays, the architecture does not rely on online adaptation of the gain . Instead, it leverages the TSN infrastructure (IEEE 802.1Qbv) to strictly bound the maximum end-to-end delay (). The offline-designed gain incorporates a robustness margin to treat this bounded delay as a structured disturbance, preserving closed-loop stability. For highly nonlinear processes operating far from the nominal point, the microservice architecture allows seamlessly swapping the Luenberger observer with a nonlinear alternative (e.g., EKF or a neural observer) without disrupting the rest of the system.
A critical consideration in Kubernetes-based real-time systems is the inherent latency of the Horizontal Pod Autoscaler (HPA), which typically requires 30–60 s to provision and warm up new pods. To prevent system saturation during this scale-up window, the proposed architecture leverages the asynchronous ingestion layer (MQTT/Kafka broker) as a shock absorber. During the HPA reaction time, the broker buffers the incoming traffic spike, ensuring that the active control pods are not overwhelmed and no telemetry data is lost. Once the new replicas are ready, the buffered backlog is rapidly processed, maintaining the integrity of the closed-loop control without requiring instantaneous, and computationally expensive, reactive scaling.
Although the proposed architecture is motivated by well-known limitations of monolithic industrial control systems, this work does not include an experimental implementation of a monolithic baseline executed under identical conditions. Accordingly, the CPU and memory overhead values reported in Table 6 should be interpreted as deployment-level estimates derived from the configured Kubernetes resource allocation rather than experimentally validated measurements against monolithic implementation. Therefore, the observed benefits regarding scalability, fault isolation, and deterministic communication should be interpreted as architectural advantages supported by the obtained experimental results and by comparisons with previously published studies rather than as a direct quantitative superiority over a monolithic implementation. Future work will include an experimental side-by-side comparison using equivalent industrial workloads.
While the experimental results demonstrate deterministic communication, scalability, and fault tolerance under the evaluated conditions, these findings should be interpreted within the scope of the validation campaign. The experiments were conducted using a single Hardware-in-the-Loop platform representing a second-order industrial process, under predefined workload profiles (1×, 5×, and 10×) and a continuous 24 h operation period. Consequently, the reported performance reflects the behavior of the proposed architecture under controlled experimental conditions rather than the full diversity of industrial production environments.
Future work will extend the validation to multiple industrial process types, longer operational periods, and more heterogeneous workload conditions, including long-term operation, hardware aging effects, seasonal variability, and multi-site deployments. Such studies will enable a broader assessment of the long-term robustness and generalizability of the proposed digital twin architecture.
The present study focused on validating the architectural behavior of the proposed digital twin under deterministic communication and orchestration conditions. Although the security mechanisms described in Section 3 were considered during the architectural design, their experimental evaluation remains outside the scope of this work and constitutes an important direction for future research.
Another consideration is operational complexity: managing Kubernetes at the edge requires specialized skills [12]. However, the adoption of GitOps and service meshes (Istio) as mentioned in [40] can mitigate this overhead. The 99.99% availability achieved aligns with critical automation demands [41].
6. Conclusions
This article proposed and characterized a modular software architecture based on microservices for implementing digital twins in real-time industrial process control. The main contributions are:
Functional decoupling of acquisition, synchronization, prediction, and actuation into independent containerized services, overcoming the rigidity of monolithic systems [2,3].
A hybrid communication stack combining MQTT for telemetry ingestion and gRPC for low-latency control calls, achieving deterministic latencies below 10 ms [13,14].
A discrete-time Luenberger observer that guarantees bidirectional state fidelity and exponential convergence of estimation error, enabling proactive corrections [36,38].
Kubernetes-based orchestration with Horizontal Pod Autoscalers and Istio service mesh, providing elastic scaling, fault isolation, and architectural foundations for high availability (validated with 100% uptime in 24 h stress tests) [7,19,40].
The experimental validation on a TSN-compatible edge cluster confirmed that the architecture meets the determinism, scalability, and resilience requirements of critical industrial automation [26,41] under the Hardware-in-the-Loop scenarios evaluated in this study, supporting its suitability for real-time industrial digital twin applications. Unlike previous digital twins that operate in offline or monitoring-only regimes [4,18], our proposal enables bidirectional closed-loop control, turning the DT into an active participant in real-time operations.
Limitations
This study has several limitations that should be considered when interpreting the reported results. First, the experimental validation was conducted on a Hardware-in-the-Loop (HIL) platform representing a second-order industrial process rather than on a full-scale production facility. Although HIL provides a realistic and reproducible environment for evaluating real-time communication and control architectures, additional validation on operational industrial plants is required to assess performance under more diverse process dynamics and long-term operating conditions. Second, the proposed state estimation approach is based on a linear discrete-time Luenberger observer, whose performance assumes local linearity around the operating point and may require replacement by nonlinear estimation techniques for highly nonlinear processes. Third, the present study did not include a direct experimental comparison with an equivalent monolithic implementation; therefore, the architectural advantages over monolithic systems are supported by the obtained results and by comparisons with previous literature rather than by a side-by-side experimental evaluation. Finally, although the 24 h continuous stress test demonstrated stable operation and architectural robustness under the evaluated workload conditions, it does not statistically establish long-term availability or reliability over the operational lifetimes typically expected in industrial environments.
Future work includes: (i) extending the state observer to nonlinear models using deep learning-based reduced-order surrogates [30]; (ii) implementing federated learning across multiple edge clusters to share predictive models without centralizing data [20]; (iii) integrating the architecture with OPC UA over TSN for seamless interoperability with legacy PLCs [16]; and (iv) conducting a full safety certification audit according to IEC 61508.
Supplementary Materials
The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/pr14162584/s1.
Author Contributions
S.L.R.: conceptualization, methodology, software, formal analysis, investigation, writing—original draft, writing—review & editing, visualization, project administration, and funding acquisition. M.L.R.: independent validation of the Luenberger observer model, data curation, provision of computational resources, critical review of the manuscript, and supervisory oversight within the International Research Network framework. O.Q.: conceptualization, methodology, writing—review & editing, visualization. All authors have read and agreed to the published version of the manuscript.
Funding
The Article Processing Charge (APC) for this publication is covered by the Research Directorate of the State Polytechnic University of Carchi, Ecuado.
Data Availability Statement
To ensure the reproducibility of the experimental results, the Kubernetes manifests (Deployments, Services, ConfigMaps, and HPA configurations), the custom metrics adapter setup, and a representative Python implementation of the discrete-time Luenberger observer with subspace identification logic have been made publicly available in the following repository: https://zenodo.org/records/20563734, (accessed 1 June 2026).
Acknowledgments
Claude Opus 4.7 (Anthropic San Francisco, CA, USA) was used exclusively to improve the English language, grammar, and readability of the manuscript. All AI-generated suggestions were reviewed and validated by the authors. The AI tool did not contribute to the study design, data collection, data analysis, interpretation of results, or scientific conclusions. The authors take full responsibility for the final content.
Conflicts of Interest
The authors declare no conflicts of interest.
Abbreviations
The following abbreviations are used in this manuscript
| Abbreviation | Full Term |
| MQTT | Message Queuing Telemetry Transport |
| N4SID | Numerical Subspace State-Space System Identification |
| NSM | Network Security Monitoring |
| OPC UA | Open Platform Communications Unified Architecture |
| PLC | Programmable Logic Controller |
| PTP | Precision Time Protocol |
| QoS | Quality of Service |
| RAM | Random Access Memory |
| RAMI 4.0 | Reference Architectural Model Industrie 4.0 |
| SCADA | Supervisory Control and Data Acquisition |
| SD | Standard Deviation |
| SSD | Solid State Drive |
| TLS | Transport Layer Security |
| TSN | Time-Sensitive Networking |
| VPN | Virtual Private Network |
Appendix A
Table A1.
Microservice implementation and deployment configuration.
Table A2.
List of framework parameters and values.
Appendix B
Example gRPC
service StateSync { rpc UpdateState(StateRequest) returns (StateReply);}message StateRequest { double sensor = 1; double timestamp = 2;}
References
- Tao, F.; Zhang, H.; Liu, A.; Nee, A.Y.C. Digital Twin in Industry: State-of-the-Art. IEEE Trans. Ind. Inform. 2019, 15, 2405–2415. [Google Scholar] [CrossRef] [Scilit]
- Tao, F.; Qi, Q.; Wang, L.; Nee, A.Y.C. Digital Twins and Cyber–Physical Systems toward Smart Manufacturing and Industry 4.0: Correlation and Comparison. Engineering 2019, 5, 653–661. [Google Scholar] [CrossRef] [Scilit]
- Saratkar, S.Y.; Langote, M.; Kumar, P.; Gote, P.; Weerarathna, I.N.; Mishra, G.V. Digital twin for personalized medicine development. Front. Digit. Health 2025, 7, 1583466. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Cavus, M.; Jiang, J.; Allahham, A.; Rameshrao, A.G.; Scullion, E.; Malamud, B.D.; Sun, H.; Ng, W.P. Digital twins for hazard-resilient power grids: A systematic review and roadmap. Renew. Sustain. Energy Rev. 2026, 235, 116947. [Google Scholar] [CrossRef] [Scilit]
- Wu, D.; Zheng, A.; Yu, W.; Cao, H.; Ling, Q.; Liu, J.; Zhou, D. Digital Twin Technology in Transportation Infrastructure: A Comprehensive Survey of Current Applications, Challenges, and Future Directions. Appl. Sci. 2025, 15, 1911. [Google Scholar] [CrossRef] [Scilit]
- Renard, D.; Saddem, R.; Annebicque, D.; Riera, B. From Sensors to Digital Twins toward an Iterative Approach for Existing Manufacturing Systems. Sensors 2024, 24, 1434. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yang, H.; Jiang, G.; Tian, W.; Mei, X.; Nee, A.Y.C.; Ong, S.K. Microservice-based digital twin system towards smart manufacturing. Robot. Comput. Integr. Manuf. 2025, 91, 102858. [Google Scholar] [CrossRef] [Scilit]
- Awouda, A.; Traini, E.; Bruno, G.; Chiabert, P. IoT-Based Framework for Digital Twins in the Industry 5.0 Era. Sensors 2024, 24, 594. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Čilić, I.; Krivić, P.; Podnar Žarko, I.; Kušek, M. Performance Evaluation of Container Orchestration Tools in Edge Computing Environments. Sensors 2023, 23, 4008. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Singh, M.; Kapukotuwa, J.; Gouveia, E.L.S.; Fuenmayor, E.; Qiao, Y.; Murray, N.; Devine, D. Comparative Study of Digital Twin Developed in Unity and Gazebo. Electronics 2025, 14, 276. [Google Scholar] [CrossRef] [Scilit]
- Hamadou, A.N.S.; Du, S.; Olwal, T.O.; Wyk, B.J.V. Digital Twin and Integrated Sensing and Communication Applications in Internet of Things: Enabling Communication Technologies, Taxonomy, Implications, and Open Issues. Appl. Sci. 2025, 16, 73. [Google Scholar] [CrossRef] [Scilit]
- Ortiz, J.S.; Quishpe, E.K.; Sailema, G.X.; Guamán, N.S. Digital Twin-Based Active Learning for Industrial Process Control and Supervision in Industry 4.0. Sensors 2025, 25, 2076. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Perno, M.; Hvam, L.; Haug, A. Implementation of digital twins in the process industry: A systematic literature review of enablers and barriers. Comput. Ind. 2022, 134, 103558. [Google Scholar] [CrossRef] [Scilit]
- Bouslimani, M.; Tayeb, F.B.-S.; Amirat, Y.; Benbouzid, M. Cyber-Physical Security in Smart Grids: A Comprehensive Guide to Key Research Areas, Threats, and Countermeasures. Appl. Sci. 2025, 15, 12367. [Google Scholar] [CrossRef] [Scilit]
- Eshmawi, A.A.; Aldrees, A.; Alharthi, R. Smart framework for industrial IoT and cloud computing network intrusion detection using a ConvLSTM-based deep learning model. Front. Comput. Sci. 2025, 7, 1622382. [Google Scholar] [CrossRef] [Scilit]
- Korodi, A.; Ioana, A. DDS and OPC UA Protocol Coexistence Solution in Real-Time and Industry 4.0 Context Using Non-Ideal Infrastructure. Sensors 2021, 21, 7760. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Silva, D.; Carvalho, L.I.; Soares, J.; Sofia, R.C. A Performance Analysis of Internet of Things Networking Protocols: Evaluating MQTT, CoAP, OPC UA. Appl. Sci. 2021, 11, 4879. [Google Scholar] [CrossRef] [Scilit]
- Wang, Z.; Han, D.; Gong, Y.; Zhao, Y. Multi-protocol Integration and Intercommunication Technology Based on OPC UA and MQTT. J. Phys. Conf. Ser. 2022, 2173, 012070. [Google Scholar] [CrossRef] [Scilit]
- Pérez, R.; Rivera, M.; Salgueiro, Y.; Baier, C.R.; Wheeler, P. Moving Microgrid Hierarchical Control to an SDN-Based Kubernetes Cluster: A Framework for Reliable and Flexible Energy Distribution. Sensors 2023, 23, 3395. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Dermentzis, I.; Koukis, G.; Tsaoussidis, V. Trade-Offs in Kubernetes Security and Energy Consumption. Urban Sci. 2026, 10, 81. [Google Scholar] [CrossRef] [Scilit]
- Hamza, M.F. Cloud, Edge, and Digital Twin Architectures for Condition Monitoring of Computer Numerical Control Machine Tools: A Systematic Review. Information 2026, 17, 153. [Google Scholar] [CrossRef] [Scilit]
- Padmavathi, V.; Kanimozhi, R.; Saminathan, R. Digital twin driven smart factories: Real time physics based co-simulation using edge a.i. and federated learning. Sci. Rep. 2025, 15, 43373. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lalaoui, I.L.; El Haji, E.; Kounaidi, M. The Evolution and Challenges of Real-Time Big Data: A Review. Comput. Sci. Math. Forum 2025, 10, 11. [Google Scholar] [CrossRef] [Scilit]
- Ferry, N.; Brataas, G.; Rossini, A.; Chauvel, F.; Solberg, A. Towards Bridging the Gap Between Scalability and Elasticity. In Proceedings of the 4th International Conference on Cloud Computing and Services Science, Barcelona, Spain, 3–5 April 2014; pp. 746–751. [Google Scholar] [CrossRef] [Scilit][Green Version]
- Wiatr, R.; Słota, R.; Kitowski, J. Optimising Kafka for stream processing in latency sensitive systems. Procedia Comput. Sci. 2018, 136, 99–108. [Google Scholar] [CrossRef] [Scilit]
- Zheng, H.; Reaño, C.; Ariño-Sales, J.F. Evaluating Distributed Communication Architectures for GPU-Accelerated Image Encoding. Electronics 2026, 15, 2137. [Google Scholar] [CrossRef] [Scilit]
- Crespo-Aguado, M.; Lozano, R.; Hernandez-Gobertti, F.; Molner, N.; Gomez-Barquero, D. Flexible Hyper-Distributed IoT–Edge–Cloud Platform for Real-Time Digital Twin Applications on 6G-Intended Testbeds for Logistics and Industry. Future Internet 2024, 16, 431. [Google Scholar] [CrossRef] [Scilit]
- Belman-Lopez, C.E.; Jiménez-García, J.A.; Hernández-González, S. Análisis exhaustivo de los principios de diseño en el contexto de Industria 4.0. Rev. Iberoam. Automática Informática Ind. 2020, 17, 432. [Google Scholar] [CrossRef] [Scilit]
- Nakagawa, E.Y.; Antonino, P.O.; Schnicke, F.; Capilla, R.; Kuhn, T.; Liggesmeyer, P. Industry 4.0 reference architectures: State of the art and future trends. Comput. Ind. Eng. 2021, 156, 107241. [Google Scholar] [CrossRef] [Scilit]
- Vickers, M.G.Y.J.; Twin, D. Undesirable Emergent Behavior in Complex Systems. In Transdisciplinary Perspectives on Complex Systems; Kahlen, F.-J., Flumerfelt, S., Alves, A., Eds.; Springer: Cham, Switzertland, 2017; pp. 85–113. [Google Scholar] [CrossRef] [Scilit]
- Ares de Parga, S.; Bravo, J.R.; Sibuet, N.; Hernandez, J.A.; Rossi, R.; Boschert, S.; Quintana-Ortí, E.S.; Tomás, A.E.; Tatu, C.C.; Vázquez-Novoa, F.; et al. Parallel reduced-order modeling for digital twins using high-performance computing workflows. Comput. Struct. 2025, 316, 107867. [Google Scholar] [CrossRef] [Scilit]
- Mayne, D.Q. Model predictive control: Recent developments and future promise. Automatica 2014, 50, 2967–2986. [Google Scholar] [CrossRef] [Scilit]
- Kim, D.M.; Mtowe, D.P. Edge-Computing-Enabled Low-Latency Communication for a Wireless Networked Control System. Electronics 2023, 12, 3181. [Google Scholar] [CrossRef] [Scilit]
- Niswar, M.; Safruddin, R.A.; Bustamin, A.; Aswad, I. Performance evaluation of microservices communication with REST, GraphQL, and gRPC. Int. J. Electron. Telecommun. 2024, 70, 429–436. [Google Scholar] [CrossRef] [Scilit]
- Zhang, T.; Wang, G.; Xue, C.; Wang, J.; Nixon, M.; Han, S. Time-Sensitive Networking (TSN) for Industrial Automation: Current Advances and Future Directions. ACM Comput. Surv. 2025, 57, 1–38. [Google Scholar] [CrossRef] [Scilit]
- Chebbi, A.; Franchek, M.A.; Grigoriadis, K. Simultaneous State and Parameter Estimation Methods Based on Kalman Filters and Luenberger Observers: A Tutorial & Review. Sensors 2025, 25, 7043. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Aziz, A.G.M.A.; Abdelaziz, A.Y.; Ali, Z.M.; Diab, A.A.Z. A Comprehensive Examination of Vector-Controlled Induction Motor Drive Techniques. Energies 2023, 16, 2854. [Google Scholar] [CrossRef] [Scilit]
- Wróbel, K.; Śleszycki, K.; Szabat, K.; Katsura, S. Application of Multilayer Observer for a Drive System with Flexibility. Energies 2021, 14, 8479. [Google Scholar] [CrossRef] [Scilit]
- Shunzhi, Z.; Jianmin, L. Service composition considering energy consumption of users and transferring files in a multicloud environment. J. Cloud Comput. 2023, 12, 43. [Google Scholar] [CrossRef] [Scilit]
- Munugoti, S.K. Designing Scalable CI/CD Pipelines for Regulated Enterprises Using Kubernetes and GitOps. Int. J. Comput. Exp. Sci. Eng. 2025, 12, 27–34. [Google Scholar] [CrossRef] [Scilit]
- Rahman, M.A.; Shahrior, M.F.; Iqbal, K.; Abushaiba, A.A. Enabling Intelligent Industrial Automation: A Review of Machine Learning Applications with Digital Twin and Edge AI Integration. Automation 2025, 6, 37. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.



