Unified Namespace Simplified
An organization’s tools, parts, and equipment are identified and named using a unified namespace, which is a defined method. It aids in ensuring that every piece of equipment has distinctive and constant identifiers that may be used to manage and track these objects. Based on the event-driven architecture it enables smooth communication between network nodes. It is based on the idea that all data should be released and made accessible for use, regardless of whether an immediate consumer exists. This implies that depending on the requirements of the system at any given moment, each node in the network may function as either a producer or a consumer.
All components should be able to interact via IIoT protocols like MQTT, point to a central data store that contains your hierarchical enterprise structure, and broadcast their events under a category where it makes sense for that data to dwell. Components that aren’t IIoT compliant are hidden behind an IIoT gateway, which on their behalf broadcasts data to the right categories. When more participants join the network, everyone can access its location information.
A naming convention, which establishes the structure and format of the names provided to entities inside the organisation, is frequently used in conjunction with unified namespace systems. This naming standard may incorporate information about the item’s type, location, and other pertinent properties.
1. Report by exception
2. Edge driven
3. Open Architecture
Unified Namespace vs. Conventional Industrial Architecture
Unified Namespace Advantages
Simplified Integration
By merely plugging data producers and consumers into your network architecture, you may integrate them into your data ecosystem.
Lower Integration Cost
To connect data at every layer of your organisation, no specific engineering services are needed.
Enhanced Agility
Your capacity to test, respond rapidly, plan, and deliver in a predictable manner is improved by having real-time access to the condition of your whole company at any given moment.
Scalability
The communication between data producers and consumers takes place through a centralized location, allowing for the seamless connection of up to millions of nodes.
OT Systems ,Sensors,PLC,HMI,Scada,ERP, CMMS, and API integration can be made easier by an unified namespace.
All aspects of an organisation, including product planning, development, manufacturing, sales, and marketing, are often integrated by ERP software. ERP’s main goal is to consolidate all information into a single location in order to improve data quality throughout the enterprise. Decision-making and effectiveness may be enhanced as a result.
Enterprise resource planning systems (ERPs) do not, however, provide all the functionality and reporting benefits maintenance departments require. Real-time data on the shop floor and in the corporate office can be accessed and used by a CMMS.
The systems can communicate and exchange data more quickly without worrying about naming convention discrepancies thanks to the creation of a common namespace across departments.
Building Unified Namespace
Also refer
what-is-unified-namespace-uns-iiot-industry-40
Open-Source Docker Container for Seamless OPC-UA Integration with Unified Namespace (MQTT / Kafka)
Explore the open-source Docker container for seamless OPC-UA integration with the Unified Namespace (MQTT/Kafka). Learn about the container’s features, usage, and our journey in developing this solution.
How to use
The benthos-umh image can be used in standalone mode, together with the United Manufacturing Hub, or in advanced mode. The only requirement is that you need to be able to deploy Docker containers.
Standalone (“docker run” & MQTT)
To connect to the OPC-UA broker, read out nodes and send them to MQTT, follow these instructions:
Create a new file called benthos.yaml with the provided content
---
input:
opcua:
endpoint: 'opc.tcp://localhost:46010'
nodeIDs: ['ns=2;s=IoTSensors']
pipeline:
processors:
- bloblang: |
root = {
meta("opcua_path"): this,
"timestamp_unix": timestamp_unix()
}
output:
mqtt:
urls:
- 'localhost:1883'
topic: 'ia/raw/opcuasimulator/${! meta("opcua_path") }'
client_id: 'benthos-umh'
Execute the docker run command to start a new benthos-umh container
docker run --rm --network="host" -v '<absolute path to your file>/benthos.yaml:/benthos.yaml' ghcr.io/united-manufacturing-hub/benthos-umh:latest
The benthos.yaml
file can be customized depending on your needs. More information can be found in the official benthos documentation.
With the United Manufacturing Hub (Kubernetes & Kafka)
To use the Benthos-UMH image with the United Manufacturing Hub and its OPC-UA simulator, simply deploy the provided Kubernetes manifests in UMHLens/OpenLens: (if you are unsure how, check out this tutorial):
apiVersion: v1
kind: ConfigMap
metadata:
name: benthos-1-config
namespace: united-manufacturing-hub
labels:
app: benthos-1
data:
benthos.yaml: |-
input:
umh_input_opcuasimulator: {}
pipeline:
processors:
- bloblang: |
root = {
meta("opcua_path"): this,
"timestamp_unix": timestamp_unix()
}
output:
umh_output:
topic: 'ia.raw.${! meta("opcua_path") }'
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: benthos-1-deployment
namespace: united-manufacturing-hub
labels:
app: benthos-1
spec:
replicas: 1
selector:
matchLabels:
app: benthos-1
template:
metadata:
labels:
app: benthos-1
spec:
containers:
- name: benthos-1
image: "ghcr.io/united-manufacturing-hub/benthos-umh:latest"
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 4195
protocol: TCP
livenessProbe:
httpGet:
path: /ping
port: http
readinessProbe:
httpGet:
path: /ready
port: http
volumeMounts:
- name: config
mountPath: "/benthos.yaml"
subPath: "benthos.yaml"
readOnly: true
volumes:
- name: config
configMap:
name: benthos-1-config
This includes some of our recommended templates such as umh_input_opcuasimulator
or umh_output
, which abstracts some of the more complex settings. More information can be found on GitHub.
Summary and Next Steps
the benthos team’s goal is to provide IT and OT engineers with a reliable and efficient solution that can be trusted for their production processes and infrastructure management. By using the benthos-umh container and the United Manufacturing Hub in general, engineers can enhance their integration of IT and OT tools while avoiding vendor lock-in and streamlining their data management processes.
In the weeks and months ahead, the benthos teamplan to enhance their OPC-UA plugin for benthos with the following improvements:
- Exposing more OPC-UA settings from the library (e.g., certificates)
- Adding a customizable poll interval (currently fixed at 1 second)
- Switching from the current “polling” to a “subscribe” data extraction method, which fits better into the overall Pub/Sub pattern of the Unified Namespace
- Test it on more OPC-UA servers (this is also where you can come in)
Furthermore, the benthos team is planning to do this with other manufacturing protocols such as Siemens S7, Modbus and many more as well.
By offering the solution as open-source, the benthos team aim to address any skepticism that may arise from evaluating other providers before developing their own product. The benthos team ultimate goal is to merge their plugin into the main benthos project, further solidifying its position as a reliable and efficient solution.
Feel free to provide the team feedback on our LinkedIn post or in their Discord channel. And make sure to start the benthos-umh project on GitHub.
Reference: https://learn.umh.app/blog/our-open-source-docker-container-to-connect-opc-ua-with-the-unified-namespace/
https://github.com/united-manufacturing-hub/benthos-umh?ref=learn.umh.app
Functional Architecture of a Unified Namespace for Industry 4.0
In the context of Industry 4.0, constructing an efficient Unified Namespace (UNS) is crucial for facilitating seamless data flow and enabling smart decision-making across an organization. This architecture is built upon functional components that collectively offer a comprehensive solution for real-time data management and analysis. Here’s an outline focusing on the functionalities of each component in the system.
Edge-Level Data Handling
- Scalable MQTT Broker: Central to the architecture, this component manages real-time communications and data flow from IoT devices, employing a protocol designed for lightweight messaging.
- Data Processing and Translation Tool: This tool is instrumental in processing and transforming data collected at the edge. It harmonizes disparate data formats and protocols, preparing data for further processing and analytics.
- Industrial Connectivity Module: Essential for integrating with a variety of industrial devices, this module gathers operational data directly from machinery and equipment, interfacing with several industrial communication protocols.
Cloud-Based Data Integration and Analytics
- Cloud Gateway for IoT: Facilitates the transfer of data from edge devices to the cloud, ensuring efficient and secure device-to-cloud communication, along with robust device management capabilities.
- Centralized Data Storage: Acts as a repository for aggregating data from multiple sources. It’s scalable and secure, suitable for handling vast amounts of data generated in industrial settings.
- Advanced Data Analytics Engine: This engine performs near real-time analytics on the aggregated data, providing insights and enabling predictive analytics. It incorporates AI and machine learning capabilities for deeper data analysis.
- System Integration Platforms: These platforms are responsible for integrating various systems and managing real-time data streams. They enhance the system’s capability to handle continuous and complex data flows.
- API Management Layer: Ensures that data is accessible in real-time to business applications and ERP systems. It manages APIs for seamless data exchange across the enterprise.
Enhanced Data Contextualization
- Data Contextualization Service: This service enriches raw data with context, transforming it into actionable insights. It standardizes data across the organization, ensuring consistency and interpretability.
Architectural Benefits
- Efficient Real-Time Processing: The architecture guarantees the swift processing and analysis of data, aligning with the rapid decision-making needs of Industry 4.0.
- Scalability and Adaptability: The combination of these functional components offers a scalable and flexible solution, adaptable to evolving operational needs.
- Unified Data View: The system ensures a unified and holistic view of data across the organization, facilitating informed decision-making and operational efficiency.
- Context-Enriched Data Analysis: The inclusion of a data contextualization service ensures that data within the UNS is not just unified but enriched, adding significant value for analytics and operational insight.
Conclusion
This functional architecture of a Unified Namespace is designed to cater to the complexities and demands of Industry 4.0, ensuring seamless integration, real-time data processing, and advanced analytics. By providing a unified, intelligent platform, it enables efficient data-driven strategies and paves the way for enhanced operational excellence across the organization.