OPC UA Middleware Architecture
Model-Driven Runtime Architecture for Industrial OPC UA Systems
Architecture-first implementation of IEC 62541, driven by OPC UA information modeling and runtime execution.
OPC UA Middleware Architecture Overview
The OPC UA middleware architecture implemented in OOUAMiddleware is designed for long-term industrial scalability, strict IEC 62541 compliance and semantic information modeling. OPC UA enables interoperability at scale only when implementations preserve architectural consistency.
In real industrial deployments, interoperability degrades when systems rely on shortcuts, hard-coded structures or ad-hoc data mapping. OOUAMiddleware follows an architecture-first approach with clear separation between information structure, runtime services and extension mechanisms, allowing the platform to evolve without structural redesign.
This architectural discipline also matters for secure deployment. In industrial environments, security does not depend only on protocol encryption or server hardening. It also depends on how communication protocols are exposed, segmented and integrated across the system architecture. A middleware architecture reduces direct protocol coupling and helps establish a more controlled integration boundary. For a broader perspective, see Secure Deployment of Industrial Communication Protocols
For a broader definition of the role of middleware in industrial systems, see OPC UA Middleware.
Model-Driven Runtime Architecture
OOUAMiddleware uses a model-driven runtime architecture in which OPC UA information models are loaded independently of application code.
The runtime loads Model NodeSets containing type definitions and Deployment NodeSets containing instantiated objects, variables and references. These definitions are used to materialize the OPC UA AddressSpace without generating or compiling application code for each information model.
This separation allows industrial information models to evolve independently of the OPC UA communication stack. Changes to model definitions and deployed instances can be managed through the model configuration and deployment process, while the runtime continues to provide the OPC UA services defined by IEC 62541.
The Runtime loads Model NodeSets (types) and Deployment NodeSets (instances) to materialize and execute the AddressSpace — without a compile step.
At deployment time, the runtime loads the required NodeSets and constructs the AddressSpace from their definitions and references. The OPC UA service layer manages client sessions, subscriptions, data access, methods and other supported services independently of the industrial systems connected through the middleware.
Protocol connectivity and data persistence are integrated through dedicated extension interfaces, preserving the separation between the OPC UA information model and the underlying infrastructure.
Modular Extension Through VPI and VFI
OOUAMiddleware provides modular extension interfaces that separate industrial connectivity and data persistence from the OPC UA runtime.
Virtual Protocol Interfaces (VPI) implement communication with industrial systems and external protocols. They support data acquisition, protocol integration and other protocol-specific interactions. Examples include OPC UA connectivity, industrial controller protocols and OPC UA PubSub over MQTT.
Virtual File Interfaces (VFI) connect the platform to data persistence solutions, including databases and file-based storage systems. They enable historical and operational data to be stored through dedicated backends without embedding storage-specific logic into the OPC UA runtime.
The runtime also provides Lua scripting capabilities for application-specific behavior. Together, these mechanisms allow industrial functionality to be extended without modifying the OPC UA core for each integration project.
VPI and VFI provide explicit extension ports, while the OOUACoreServer keeps IEC 62541 service integrity — Lua enables evolutive domain behavior.
Because the architecture natively integrates NodeSet-based modeling, OOUAMiddleware can support proprietary information models as well as official OPC Foundation Companion Specifications such as PackML, Robotics, Machine Tools or Energy models. The result is a semantically consistent and evolution-ready industrial information platform.
According to the OPC Foundation, OPC UA provides a platform-independent service-oriented architecture for industrial interoperability.
Designed for Industrial Deployment Constraints
Industrial OPC UA systems must operate within environments characterized by long equipment lifecycles, heterogeneous communication protocols and evolving information models.
The OOUAMiddleware architecture addresses these constraints through:
- Separation between information models and runtime services
- Modular protocol connectivity and storage interfaces
- Support for large OPC UA AddressSpaces and subscriptions
- Runtime mechanisms for redundancy and availability
- OPC UA security services and configurable communication endpoints
Actual performance, availability and security depend on deployment architecture, system configuration and the connected industrial infrastructure.
OPC UA SDKs and Model-Driven Runtime Architectures
An OPC UA SDK provides software components for implementing OPC UA applications. Depending on the SDK, these may include protocol encoding, security, services, session handling, subscriptions and information model management.
The resulting application architecture depends on how developers integrate these components and implement domain-specific functionality.
A model-driven runtime such as OOUAMiddleware provides an execution environment in which OPC UA information models are loaded and instantiated independently of application code. Protocol connectivity, data persistence and runtime services are integrated through defined interfaces.
The architectural difference is therefore not whether an implementation uses an SDK, but how information models are deployed, executed and maintained throughout the system lifecycle.
Three Architectural Approaches to OPC UA Implementation
OPC UA systems can be implemented using fundamentally different architectural approaches.
While they may appear similar at first glance, they differ significantly in how the information model is handled and executed.
The key distinction lies in the relationship between the information model and the runtime system.
Three OPC UA implementation paradigms: Code-First, Model Compiler (IMC), and OpenOpcUa Runtime.
Model Evolution Across Implementation Approaches
The effort required to evolve an OPC UA information model depends on how the model is represented and integrated into the application.
Code-first implementations: model structures and their associated behavior may be defined in application code. Changes can require code modifications, rebuilding and testing, depending on the implementation.
Model compiler implementations: information models are transformed into generated artifacts, which are integrated into the application through a development and deployment process. Changes may require regeneration and rebuilding.
OpenOpcUa model-driven runtime: Model NodeSets and Deployment NodeSets are loaded by the runtime without generating application code for each model. Modified models can be deployed through the configuration and runtime loading process.
These approaches differ primarily in the coupling between information model definitions, application code and deployment procedures. This difference directly impacts system agility, maintenance cost, and long-term scalability.
Discuss an Architecture Baseline
If you are defining a domain-specific model, integrating Companion Specifications or designing a multi-system OPC UA architecture, a structured technical discussion helps preserve semantic consistency and long-term interoperability. To see how this architecture is materialized in a working industrial demonstrator, explore the OOUAMiddleware ProductionCell demo.
Discuss your architecture
Discuss your model and multi-system architecture requirements.
Runtime Model
Explore the loading and execution of NodeSet-based models.
OOUAMiddleware
Explore the industrial integration platform implementing this architecture.
Download
Access the OOUAMiddleware evaluation resources.
Information Modeling
Review OPC UA types, instances, references and model structures.