Modeling and Verifying OPC UA of Aggregating Server Architecture for Vertical Integration

Zifan Liang, Wei Lin, Sini Chen, Huibiao ZhuSEKE 2024 · DOI

Introduction

In the era of Industry 4.0, vertical integration—the seamless communication between high-level Manufacturing Execution Systems (MES) and shop-floor hardware—is a cornerstone of the smart factory. OPC Unified Architecture (OPC UA) has emerged as the leading protocol for this task. However, as architectures grow more complex, ensuring that these systems are functionally reliable becomes a significant challenge. This paper presents a formal framework for modeling and verifying OPC UA within an "aggregating server" pattern, ensuring that production workflows remain free of deadlocks and functional failures.

The Aggregating Server: A Bridge Between IT and OT

The "aggregating server" pattern is a critical architecture for vertical integration. In this setup, an intermediate server (often at the workshop level) acts as a bridge: it serves data to the MES while simultaneously acting as a client to various shop-floor devices.

The Aggregating Server architecture facilitates communication between the MES and individual device servers.

While efficient, this multi-layered synchronization introduces risks. Without formal verification, manufacturers may deploy systems prone to "deadlocks" (system freezes) or "divergence" (infinite loops). The authors address this by providing a mathematical proof of functional properties like data reading, method calling, and event monitoring in this specific configuration.

Formal Modeling with CSP and PAT

To verify the system, the researchers modeled an aircraft parts production use case using Communicating Sequential Processes (CSP), a formal language for concurrent systems. They translated core OPC UA concepts—including the Information Model and services like Read, Call, and Subscription—into CSP processes.

The workflow was divided into three distinct phases: Startup, Device Working, and Wrap-Up. This sequence ensures that the MES can orchestrate complex tasks through the aggregating server.

The sequence diagram illustrates the three-phase workflow (Startup, Working, Wrap-Up) between the MES, Workshop, and Devices.

The resulting model was analyzed using the Process Algebra Toolkit (PAT), which performs exhaustive model checking to explore every possible system state against logic rules defined via Linear Temporal Logic (LTL).

Key Results: Proving Reliability

The verification process successfully confirmed six critical system properties:

  • Deadlock and Divergence Freedom: The system is mathematically guaranteed never to freeze or enter unproductive infinite loops.
  • Functional Success: The Workshop successfully executed methods (e.g., "Start", "AddMaterial") and retrieved device data.
  • Event Monitoring: The system accurately tracked material consumption and notified the MES upon production completion.

These results demonstrate that the OPC UA protocol, when implemented in an aggregating server architecture, is functionally sound for high-stakes industrial environments.

Limitations and Future Outlook

While the aircraft parts production model provides a robust proof of concept, real-world deployments face additional challenges such as network latency and heterogeneous hardware noise. Furthermore, as the number of devices scales, the "state space explosion" problem may challenge current verification tools.

Future research will focus on developing a standardized library of formal proofs for OPC UA, helping the industry adopt these rigorous verification techniques more broadly to ensure the reliability of the next generation of smart factories.

Summary updated

BibTeX
@inproceedings{liang2024modeling,
  author = {Zifan Liang and Wei Lin and Sini Chen and Huibiao Zhu},
  title = {{Modeling and Verifying OPC UA of Aggregating Server Architecture for Vertical Integration}},
  booktitle = {SEKE},
  year = {2024},
  doi = {10.18293/seke2024-134},
}
Figure