OPC UA over MQTT: The Future of IT and OT Convergence

2023-11-05
关注

Illustration: © IoT For All

The convergence of Information Technology (IT) and Operational Technology (OT) involves integrating traditionally separate enterprise networks and computing systems with industrial control systems and devices to create a unified and interconnected ecosystem.

Selecting the best protocol for IT and OT convergence depends on various factors, including the specific industry, existing infrastructure, security considerations, and scalability requirements.

OPC UA and MQTT are the protocols that are commonly used in this scenario. As these two technologies continue to evolve, a new protocol has emerged, a powerful combination of both, providing even more significant benefits for the industry.

It is called OPC UA over MQTT. In this article, we will dive into OPC UA over MQTT and explore its potential to empower the convergence of IT and OT.

What is OPC UA?

OPC UA is a popular protocol for bridging the gap between IT and OT environments. It provides secure and reliable communication with standardized data models, making it suitable for real-time data exchange and complex information sharing. OPC UA offers built-in security features and supports various platforms and devices.

MQTT is a lightweight publish-subscribe messaging protocol for efficient data transmission in resource-constrained environments. It’s well-suited for IoT and OT integration scenarios where bandwidth and power considerations are essential. MQTT’s publish-subscribe model enables efficient data distribution to multiple subscribers.

OPC UA over MQTT is a protocol that combines MQTT and OPC UA to leverage the advantages of both protocols. OPC UA and MQTT have their benefits for using them in an IT and OT convergence scenario.

MQTT is used as a transport to carry the rich data context of OPC UA. This approach benefits you from MQTT’s lightweight publish-subscribe messaging model and OPC UA’s standardized data modeling, security features, and broader capabilities for complex information exchange.

Benefiting From MQTT Pub-Sub Pattern

Flexible and Scalable IT and OT Infrastructure

MQTT (Message Queuing Telemetry Transport) is primarily a message-driven protocol. It follows a pub-sub messaging pattern, where publishers send messages to a central message broker, and subscribers receive those messages from the broker.

The MQTT broker acts as an intermediary between publishers and subscribers. It receives messages published by publishers and forwards them to subscribers who have expressed interest in receiving messages on specific topics.

Pub-sub messaging systems are inherently more scalable than client-server systems. In a client-server model, each client must establish and maintain a connection with the server, which can lead to performance bottlenecks as the number of clients increases.

In a pub-sub model, the publisher sends messages to a centralized broker, disseminating messages to interested subscribers. This architecture scales more effectively as the number of publishers and subscribers grows.

Network Bandwidth Utilization

In client-server systems, each client’s request generates traffic on the network and the server by polling. As a result, it generates an unnecessarily large amount of network traffic without updates in the target values.

In pub-sub, subscribers receive updates only when there’s new data available, reducing unnecessary network load. This is important in applications such as IoT, where sensor data or status updates must be delivered promptly.

Event-Driven Architecture

Pub-Sub aligns well with event-driven architectures, where components react to events or changes in data. This is especially useful when actions must be triggered based on specific conditions or events.

This benefits from the decoupling of the sender (publisher) and receiver (subscriber). Publishers don’t need to know who their subscribers are, and subscribers don’t need to know who their publishers are.

This separation allows for flexibility in executing components without affecting each other, leading to more efficient resource utilization and responsiveness.

Therefore, publishers and subscribers don’t need to be aware of each other’s existence or specific implementation details, making it easier to replace or upgrade individual components without disrupting the entire system.

Rich Data Context Powered by OPC UA

Apart from the advantages of the MQTT Pub-Sub mechanism, OPC UA gives another level of importance to ensure seamless communication between diverse devices and applications. OPC UA focuses on interoperability and standardization across different systems, vendors, and industries.

It excels in handling complex data structures, hierarchical data models, metadata, and robust security features, fitting the application with intricate data relationships. This makes the protocol well-suited for harsh industrial environments, regardless of the underlying technologies or vendors in different industrial domains.

OPC UA is widely used in industries such as manufacturing, process automation, energy, automotive, and more. Its adoption is seen across diverse sectors that rely on robust and standardized communication for their operations.

Some application scenarios, such as power plants, chemical processing, and aerospace, are highly critical, where reliability and safety are paramount.

Operational Model

The provided diagram showcases the internal steps within a Publisher for generating and dispatching messages, along with the necessary parameters for this process.

It also illustrates the process within a Subscriber for receiving, decoding, and comprehending messages, along with the parameter model essential to achieving these actions.

Publisher Processing

Step 1: Data Collection

In the initial stage, data (DataSet) is gathered to prepare for publication. This process involves configuring the collection using a structure called PublishedDataSet.

Within the PublishedDataSet, essential details about the data, known as DataSetMetaData, are defined. The result of this data collection process is the creation of values for the individual fields within the DataSet.

Step 2: DataSetWriter and DataSetMessage Creation

Subsequently, a component known as a DataSetWriter is employed to create what is called a DataSetMessage. Multiple DataSetMessages generated by different DataSetWriters within a WriterGroup can be grouped into a unified NetworkMessage.

Step 3: NetworkMessage Creation

The creation of a NetworkMessage follows, utilizing the information acquired in the previous step along with the PublisherId specified in the PubSubConnection. The structure of this NetworkMessage conforms to the specific communication protocol in use.

Step 4: NetworkMessage Delivery

The final step involves transmitting the fully-formed NetworkMessage to the designated Message Oriented Middleware. This is accomplished by leveraging the predefined Address specified for this purpose.

Subscriber Processing

Step 1: Initiating Connection and Subscription

The Subscriber chooses the appropriate Message Oriented Middleware and establishes a connection via the provided Address, using multicast for OPC UA UDP or connecting to a Broker for MQTT.

The Subscriber begins listening for incoming messages. Filters such as PublisherId, DataSetWriterId, or DataSetClassId are configured to screen out messages that don’t match the specified criteria.

Step 2: Processing Incoming NetworkMessages

When a NetworkMessage arrives, it is subjected to decryption and decoding using the security parameters employed by the Publisher.

Step 3: Decoding and Application-Specific Handling

Relevant DataSetMessages are directed to the corresponding DataSetReaders. The content of DataSetMessages is decoded utilizing DataSetMetaData, which contains comprehensive field syntax, version information, and suitable properties. Application-specific processing could involve mapping received values to Nodes within the Subscriber’s OPC UA address space.

Step 4: Configuration and Management of SubscribedDataSet

The Subscriber configures the SubscribedDataSet for data dispatching.

Two distinct choices exist:

  1. TargetVariables configuration dispatches DataSetMessage fields to pre-existing Variables within the Subscriber’s OPC UA address space.
  2. SubscribedDataSetMirror configuration is utilized when received DataSet fields should be transformed into Variables within the Subscriber’s OPC UA address space. If these Variables don’t exist, they are created as part of the Subscriber’s configuration.

Configuration Tools

The setup and customization of both Publishers and Subscribers are commonly facilitated through dedicated configuration tools. This configuration process can occur through two primary avenues:

  1. Utilize a generic OPC UA PubSub configuration tool that adheres to the PubSub configuration Information Model. Note: To align with the PubSub configuration Information Model, both Publishers and Subscribers are required to function as OPC UA Servers themselves.

  2. Employ vendor-specific configuration tools that cater to the specific characteristics of the application.

The configuration procedure encompasses the arrangement of DataSets and determining how data is sourced for eventual publishing. This configuration can be accomplished using the PubSub configuration model, which outlines a standardized framework, or it can be tailored using configuration tools designed by individual vendors to suit their specific offerings.

While an OPC UA Application can be pre-configured to operate as a Publisher, often, additional configuration is needed to specify the content to be included in messages and the frequency at which these messages are transmitted.

This enables precise tailoring of the message content and transmission intervals according to the application’s needs, ensuring effective communication between Publishers and Subscribers in the OPC UA network.

Proven Protocol for IT and OT Organization

OPC UA over MQTT is a proven protocol that has gained widespread adoption and recognition in various industries. It’s used in supervisory control and data acquisition (SCADA) systems, manufacturing execution systems (MES), industrial IoT solutions, and more.

Many industrial automation vendors such as Siemens, Beckhoff, and KUKA provide OPC UA over MQTT support in their products, ranging from PLCs and sensors to software platforms. This broad support signifies the maturity of the protocol.

OPC UA over MQTT’s suitability for IoT deployments extends to cloud-based applications. Many cloud providers such as AWS, Azure, and GCP offer protocol support, allowing seamless integration of IoT data into cloud services for storage, analysis, and visualization.

By running OPC UA over MQTT, OPC UA’s capabilities can be extended from cloud to edge devices and enable seamless integration into industrial IoT ecosystems.

Security and Authentication

OPC UA over MQTT offers comprehensive security mechanisms, including authentication, authorization, encryption, and data integrity. It addresses the security challenges inherent in industrial environments, helping to protect sensitive data and prevent unauthorized access.

Best of Both Worlds

OPC UA over MQTT combines the best of both worlds by combining the strengths of OPC UA and MQTT protocols. This integration offers efficient communication, standardized data modeling, and interoperability, making it an appealing choice for industrial and IoT applications.

By leveraging MQTT’s lightweight nature and publish-subscribe architecture while retaining OPC UA’s robust data representation and standardized services, OPC UA over MQTT provides an upbeat and versatile solution for modern communication needs.

Tweet

Share

Share

Email

  • MQTT
  • Network and Protocols
  • Security

  • MQTT
  • Network and Protocols
  • Security

  • en
您觉得本篇内容如何
评分

相关产品

EN 650 & EN 650.3 观察窗

EN 650.3 version is for use with fluids containing alcohol.

Acromag 966EN 温度信号调节器

这些模块为多达6个输入通道提供了一个独立的以太网接口。多量程输入接收来自各种传感器和设备的信号。高分辨率,低噪音,A/D转换器提供高精度和可靠性。三路隔离进一步提高了系统性能。,两种以太网协议可用。选择Ethernet Modbus TCP\/IP或Ethernet\/IP。,i2o功能仅在6通道以太网Modbus TCP\/IP模块上可用。,功能

雷克兰 EN15F 其他

品牌;雷克兰 型号; EN15F 功能;防化学 名称;防化手套

Honeywell USA CSLA2EN 电流传感器

CSLA系列感应模拟电流传感器集成了SS490系列线性霍尔效应传感器集成电路。该传感元件组装在印刷电路板安装外壳中。这种住房有四种配置。正常安装是用0.375英寸4-40螺钉和方螺母(没有提供)插入外壳或6-20自攻螺钉。所述传感器、磁通收集器和壳体的组合包括所述支架组件。这些传感器是比例测量的。

TMP Pro Distribution C012EN RF 音频麦克风

C012E射频从上到下由实心黄铜制成,非常适合于要求音质的极端环境,具有非常坚固的外壳。内置的幻像电源模块具有完全的射频保护,以防止在800 Mhz-1.2 Ghz频段工作的GSM设备的干扰。极性模式:心形频率响应:50赫兹-18千赫灵敏度:-47dB+\/-3dB@1千赫

ValueTronics DLRO200-EN 毫欧表

"The DLRO200-EN ducter ohmmeter is a dlro from Megger."

评论

您需要登录才可以回复|注册

提交评论

广告

iotforall

这家伙很懒,什么描述也没留下

关注

点击进入下一篇

IoT in the Cloud: 8 Key Benefits and How to Get Started

提取码
复制提取码
点击跳转至百度网盘