Introduction
Digital Twins (DTs) are increasingly used to mirror the state of physical assets through real-time IoT data. However, while they excel at reflecting the present, they often lack the predictive capabilities required to test hypothetical scenarios or optimize future control strategies. Integrating simulations into DT architectures is a natural progression, yet it is hindered by the heterogeneity of simulation protocols, the rigidity of existing co-simulation standards like FMI, and the lifecycle gaps between early design and live operations.
To address these challenges, this research introduces the DT Simulation Bridge (DT-SB), a lightweight, protocol-agnostic middleware designed to decouple DT logic from specific simulation engines. This framework enables bidirectional data exchange, allowing DTs to perform "what-if" analyses and even function in the absence of physical hardware.
System Architecture
The DT-SB is built upon a modular software architecture centered on a Bridge Core. This core manages the flow of information between the digital and simulated worlds through two primary layers of abstraction:
- Protocol Adapters (PAs): These handle "North-bound" communication with DTs (using protocols like MQTT, AMQP, or REST) and "South-bound" communication with simulators.
- Simulation Agents (SAs): These act as specialized wrappers for simulation software, such as MATLAB/Simulink or AnyLogic, translating simulation-specific data into a standardized format.
By standardizing the interaction through a "Simulation Protocol," the DT-SB treats simulations as modular resources that a DT can request on-demand, similar to an API call.
Interaction Patterns
The framework supports three distinct operational modes tailored to different stages of an asset's lifecycle:
- Batch Simulation: One-shot runs used primarily for validating design decisions or long-term planning.
- Streaming Simulation: Continuous data loops that allow for live behavioral analysis and adaptive control based on real-time asset performance.
- Physical Twin (PT) Simulation: In this mode, the simulation replaces the physical hardware entirely. This allows for "virtual commissioning," where the entire DT software stack can be tested and refined before the physical asset is even constructed.
Experimental Evaluation
The authors evaluated the DT-SB using two industrial scenarios: a UR10e robotic arm modeled in MATLAB/Simulink and a production line microfactory modeled in AnyLogic. The evaluation focused on the latency overhead introduced by the bridge:
- Protocol Efficiency: AMQP was identified as the most efficient North-bound protocol, with a mean overhead of 1.95ms, compared to 4.63ms for REST.
- Agent Performance: The MATLAB Agent showed stable overhead between 2.7ms and 3.7ms. The AnyLogic Agent maintained low overhead (3.4ms to 8.6ms) even when the simulation speed was increased to 50x real-time.
These results demonstrate that the DT-SB provides the precision and low latency required for industrial IoT use cases, successfully enabling virtual commissioning of complex robotic systems.
Conclusion and Future Work
The DT-SB offers a flexible solution for connecting DTs to heterogeneous simulation environments without the heavy overhead of traditional co-simulation frameworks. While the bridge effectively handles data routing, current limitations include the need for manual coordination of multiple simulations within the DT logic and challenges in strict time-synchronization across distributed nodes. Future research will focus on automating orchestration and testing the bridge's scalability in massive-scale Industrial IoT (IIoT) deployments.
Summary updated