Industry networks
OPC UA and DDS combined
To date, OPC UA and DDS have often been presented as competitors. Competitors that will both be based on the Ethernet standard TSN. - However, the key to successful automation in the future lies in a combination of the three standards DDS, OPC UA and TSN.
Modern industrial automation systems work with networked real-time data. These connected Industrial Internet of Things (IIoT) systems rely on interoperability so that devices and independent software applications from different vendors can work together seamlessly. They also require performance and flexibility to cope with demanding environments and use cases.
To meet these requirements, the industry needs a clear concept based on proven standards. By combining the best features of the OPC UA, DDS and TSN standards, factory floors can be connected to management floors, sensors to the cloud and real-time devices to manufacturing cells - all based on standardized, interoperable and secure technologies. But how can they work together?
Predominant technology: OPC UA
In industrial automation, OPC UA is the predominant technology for transferring data and information from field devices to the cloud. OPC UA is essentially about creating a distributed object model that end users can use to integrate devices into functioning automation systems. Together with the associated specifications, the standard provides an environment in which devices can be understood and networked. In addition, the OPC UA 'Information Model' (IM) enables self-checking and control of the entire system.
OPC UA's powerful client-server model allows applications - usually clients - to interact with a complex system (implemented as a series of servers). In IIoT, however, the client-server model is not particularly well suited to the information flows required for real-time control and peer-to-peer communication. Currently, these real-time information flows use different fieldbus protocols that do not work together.
In 2018, Part 14 of the OPC UA specification was published, which contains the implementation of the new publish-subscribe extensions. These are used to connect to systems via AMQP, MQTT, Ethernet and UDP, whereby the combination with the new Ethernet standard TSN is possible. The result is a technology that is similar in its characteristics to traditional fieldbuses.

Open source stack officially certified
The OPC Foundation has now announced the official certifiability of OPC UA servers based on version 1.0 of the open OPC UA stack open 62541. To date, the stack is the only open implementation of OPC UA programmed entirely in C.
Data Distribution Service (DDS)
The DDS standard developed by the Object Management Group (OMG) for a connectivity framework is used in numerous industries. DDS basically creates an integration framework for software applications and is used in applications that combine intelligent software with fast sensors and actuators. In these systems, the standard serves as a control bus as well as a connectivity framework between the edge and the cloud.
DDS provides a scalable publish-subscribe data bus that provides a protected global data space with a standardized data model for all devices and applications. The data bus and the standardized data model decouple the applications from each other, as they interact less with each other and more with the data bus. They publish or subscribe to topics and read or write data object instances. Security is taken care of at the data level. Applications require permission to join the domain and rely on finely graded authorizations to gain access to a topic or data object.
The standard also supports service-oriented, RPC-based architectures and provides the tools required to define, discover and invoke remote services.
This makes DDS ideal for peer-to-peer communication and real-time information flows. In contrast to other publish-subscribe technologies such as MQTT or AMQP, the implementation here is carried out without a broker or server. Comprehensive QoS (Quality of Service) control makes it possible to adapt each information flow to the respective requirements. The functionality and security properties of DDS are also transport-independent, meaning that it can be implemented across WANs, multicast-capable LANs and TSN networks. In order to provide the required real-time determinism, the transport layer must play its part, which is why the use of DDS with TSN makes sense as soon as critical real-time loops are involved.
The requirements of IIoT systems
Complex systems need both OPC UA and DDS to manage the components and the flow of devices, real-time critical loops, subsystems with predominantly static components as well as the interactions that are more ad-hoc and dynamic. This includes, for example, the static components in a robot during deployment. However, if the robots are mobile, the interactions between the individual robots and the robot groups as well as external agents may change dynamically.
In such a case, one of the aforementioned standards would normally be added to fill the gaps. However, this approach has its limits. The current concept of adding publish-subscribe extensions to OPC UA to enhance the object-oriented client/server structure of OPC UA with retrofitted publish-subscribe concepts cannot provide the required performance or scalability. Similarly, extending the 'decoupled' data-centric model of the DDS data bus with the pub/sub-topics and services for a more tightly coupled object-oriented concept cannot achieve the rich feature set that OPC UA currently offers.
OPC UA and DDS in one architecture
The best features of OPC UA and DDS can be combined in a new integrated architecture. In fact, OPC UA and DDS already coexist and interoperate. The OMG OPC UA/DDS gateway specification provides a mapping of information models that enables pure OPC UA applications to exchange information with pure DDS applications. This gateway specification can now be supplemented by a more comprehensive integration concept.
OPC UA offers interoperability at device level, a well-developed information model (IM) and an extensive ecosystem in industrial automation and requires a proven, high-performance publish-subscribe technology. DDS has extensive data modeling capabilities as well as multiple communication patterns, device-to-device control, transparent scalability and physical layer independence and is widely used in many IIoT industries.
Figure 1: An alternative to the publish-subscribe model of OPC UA using a proven, extensible DDS design: On the right-hand side, the object-oriented model of OPC UA is merged with the data-centric model of DDS.
© RTIThe solution is to build the OPC UA IM as a powerful, proven alternative to OPC UA's publish-subscribe function on top of DDS's publish-subscribe concept. The result combines proven software and control integration with industrial automation expertise. By supporting multiple physical network types, systems can transparently utilize Ethernet and TSN as well as other transport technologies.
A new Blend SDK (Software Development Kit) for this system would implement both DDS publish-subscribe and the UA client-server model(see Figure 1). UA client-server applications would use the UA API and the UA TCP binary protocol, while publish-subscribe applications would use the DDS API and the RTPS protocol. Both implement a standardized type system and security model to facilitate interoperability.
This architecture could be deployed in two different ways:
- Using separate SDKs for OPC UA and DDS in combination with 'gateway' nodes
- Use of the Blend SDK (OPC UA + DDS)
Figure 2: The proposed Blend SDK will support four node types: UA clients (1), UA servers (2), DDS nodes (3), gateway nodes (5) and converged nodes (6 and 7). The converged nodes use the Blend SDK.
© RTIApplications that require both client-server and publish-subscribe could either use the Blend SDK(see Figure 2), which allows individual nodes to have both OPC UA client-server and DDS publish-subscribe, or rely on existing separate OPC UA and DDS SDKs in combination with gateway nodes (OPC UA <-> DDS).
A typical distributed system would contain a mixture of these technologies. The ability to use nodes based on pure OPC UA client or server SDKs remains important. These 'pure' nodes can be implemented with the existing OPC UA SDKs and can also benefit from a smaller footprint. Similarly, nodes that mainly use publish-subscribe communication can benefit from using a pure DDS SDK. If the demand for more powerful and autonomous systems increases in the future, it will be possible to implement more and more systems with the Blend SDK. A growing number of converged nodes will emerge, while the number of pure OPC UA or DDS nodes will decrease. Once this changeover is complete, there will be no need for a gateway.
The unrestricted discovery functionality across OPC UA and DDS works even in systems that use a pure OPC UA or DDS SDK. DDS topics are announced in the OPC UA address space and the topics can be searched at the gateway nodes. DDS participants also show their represented OPC UA services and clients in the gateway nodes. Converged nodes are visible for both pure OPC UA and pure DDS nodes.
Security will initially require separate configuration of client-server and publish-subscribe access rules. However, both client-server and publish-subscribe could be connected to the same certification authorities and use the same credentials - such as signed identity certificates. This will allow the development of a combined security model in the future.
The merger
The combination of OPC UA's object-oriented information model with DDS' data-centric publish-subscribe model enables seamless, secure and reliable access to all system information and supports the required information exchange patterns. This allows industrial organizations to leverage DDS' industry-specific experience in transportation, medical, energy and military applications.
The approach provides a way to rapidly deliver the necessary standards and technology for the deployment of products and solutions. The OPC UA/DDS gateway specification provides a good starting point for this concept. This standard provides mappings for the type systems and the functional behavior of the OPC UA gateway. The next step would be to start developing the Blend SDK.
It takes years or decades for a new technology such as OPC UA publish-subscribe to be developed and mature. The industry cannot afford to wait for this. The proposal for a new, integrated architecture therefore meets the complex requirements of industrial automation - with future-proofing and unlimited flexibility. The well-developed OPC UA and DDS technologies can be combined so that the work goes into integration and not into a completely new redesign. This offers suppliers and end users rapid deployment - regardless of whether hardware or software products are being manufactured.
Ultimately, end users want easy integration of data models into their complete systems. The integration of OPC UA and DDS makes standardized information models available for the entire industry and also offers comprehensive extensibility for retrofitting an individual data model. In the long term, end users of industrial automation technology can thus achieve vendor independence and obtain an installed base of products and services as well as multiple platform options. IIoT end users in other industries will also benefit from seamless device integration and information models.
Authors:
Gerardo Pardo is CTO at RTI;
Fernando Garcia is Senior Software Engineer at RTI;
Reiner Duwe is Sales Manager EMEA at RTI.












