Coal mine underground communication system and method based on OPC UA-TSN
By applying OPC UA-TSN-based communication system underground in coal mines, communication delay and reliability problems in underground environments are solved, real-time data transmission and efficient monitoring are realized, and the safety and efficiency of coal mine production are significantly improved.
Patent Information
- Application Number
- CN202510405181.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-01
- Publication Date
- 2025-06-24
AI Technical Summary
The underground environment of coal mines is complex, and the existing communication systems have problems such as insufficient bandwidth, high transmission delay, and data uncertainty. Especially in emergency situations, they cannot provide sufficient real-time and reliability, which affects production safety and efficiency.
The underground communication system of coal mines based on OPC UA-TSN is adopted, and the downhole data is obtained through the OPC UA server and the priority configuration is carried out. The TSN switch performs traffic scheduling and bandwidth allocation to ensure real-time data transmission and high reliability.
It realizes the provision of low-latency, priority scheduling and high-reliability network communication in underground coal mine environments, ensures real-time monitoring of equipment, and significantly improves production safety and operating efficiency.
Smart Images

Figure CN120201055A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of underground coal mine communication, and particularly to a coal mine underground communication system and method based on OPC UA-TSN. Background Art
[0002] The underground environment of coal mines is complex, the working conditions are harsh, there are numerous devices and real-time data needs to be efficiently collected and processed; existing underground coal mine communication systems have problems such as insufficient bandwidth, high transmission delay, and data uncertainty; especially in emergency situations such as equipment failures and gas concentration changes, traditional communication networks cannot provide sufficient real-time performance and reliability, affecting coal mine production safety and efficiency. Summary of the Invention
[0003] This application aims to solve at least one of the technical problems in the related art to some extent.
[0004] To this end, the first object of this application is to propose a coal mine underground communication system based on OPC UA-TSN to achieve timely communication of underground equipment data in coal mines and ensure coal mine production safety and production efficiency.
[0005] The second object of this application is to propose a coal mine underground communication method based on OPC UA-TSN.
[0006] The third object of this application is to propose an electronic device.
[0007] The fourth object of this application is to propose a computer-readable storage medium.
[0008] The fifth object of this application is to propose a computer program product.
[0009] To achieve the above object, the first aspect embodiment of this application proposes a coal mine underground communication system based on OPC UA-TSN, including:
[0010] An Open Platform Communications Unified Architecture (OPC UA) server, a Time-Sensitive Networking (TSN) switch, and an OPC UA client; wherein, the OPC UA server is connected to the OPC UA client through the TSN switch;
[0011] The OPC UA server is used to obtain underground data corresponding to underground equipment and the underground environment, configure priorities for the underground data to obtain transmission parameter information of the underground data, and send the underground data and the transmission parameter information to the TSN switch;
[0012] The TSN switch is used to determine the transmission parameter information of the downhole data, and perform traffic scheduling on the downhole data according to the transmission parameter information of the downhole data;
[0013] The OPC UA client is used to receive the downhole data sent by the TSN switch, and obtain the analysis result of the downhole data, so as to perform abnormal alarm based on the analysis result.
[0014] To achieve the above object, an embodiment of the second aspect of the present application provides a coal mine downhole communication method based on OPC UA-TSN, including:
[0015] The OPC UA server obtains the downhole data corresponding to the downhole equipment and the downhole environment, configures the priority of the downhole data to obtain the transmission parameter information of the downhole data, and sends the downhole data and the transmission parameter information to the TSN switch;
[0016] The TSN switch determines the transmission parameter information of the downhole data, and performs traffic scheduling on the downhole data according to the transmission parameter information of the downhole data;
[0017] The OPC UA client receives the downhole data sent by the TSN switch, and obtains the analysis result of the downhole data, so as to perform abnormal alarm based on the analysis result.
[0018] To achieve the above object, an embodiment of the third aspect of the present application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0019] The memory stores computer execution instructions;
[0020] The processor executes the computer execution instructions stored in the memory to implement the method described in the embodiment of the second aspect.
[0021] To achieve the above object, an embodiment of the fourth aspect of the present application provides a computer-readable storage medium, in which computer execution instructions are stored, and when the computer execution instructions are executed by a processor, they are used to implement the method described in the embodiment of the second aspect.
[0022] To achieve the above object, an embodiment of the fifth aspect of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the method described in the embodiment of the second aspect.
[0023] A coal mine underground communication system and method based on OPC UA-TSN provided by this application builds a communication system through an OPC UA server, a TSN switch, and an OPC UA client. The OPC UA server obtains underground data and performs priority configuration to obtain transmission parameter information, and transmits the underground data and the transmission parameter information to the TSN switch. The TSN switch performs traffic scheduling and bandwidth allocation according to the transmission parameter information of the underground data, and performs real-time transmission according to the priority of the data, and transmits the scheduled and processed data to the OPC UA client. The OPC UA client can obtain the analysis result of the underground data and perform abnormal alarm based on the analysis result. Based on this communication system, low-latency, priority scheduling, and high-reliability network communication can be provided in the coal mine underground environment, thereby ensuring the real-time monitoring of coal mine equipment and significantly improving the production safety and operation efficiency of the coal mine underground.
[0024] Additional aspects and advantages of this application will be given in part in the following description, become apparent in part from the following description, or be learned through the practice of this application. Brief Description of the Drawings
[0025] The above and / or additional aspects and advantages of this application will become apparent and be readily understood from the following description of the embodiments in conjunction with the drawings, where:
[0026] Figure 1 is a structural block diagram of a coal mine underground communication system based on OPC UA-TSN provided by an embodiment of this application;
[0027] Figure 2 is an interactive mapping flowchart of OPC UA-TSN provided by an embodiment of this application;
[0028] Figure 3 is a logical block diagram of another coal mine underground communication system based on OPC UA-TSN provided by an embodiment of this application;
[0029] Figure 4 is a flowchart of a coal mine underground communication method based on OPC UA-TSN provided by an embodiment of this application. Detailed Description of the Embodiments
[0030] The embodiments of this application will be described in detail below. The examples of the embodiments are shown in the drawings, where the same or similar reference numerals denote the same or similar elements or elements with the same or similar functions throughout. The embodiments described below with reference to the drawings are exemplary and are intended to explain this application and should not be construed as a limitation of this application.
[0031] The following describes the coal mine underground communication system and method based on OPC UA-TSN according to the embodiments of the present application with reference to the accompanying drawings.
[0032] Figure 1 The following is a structural block diagram of a coal mine underground communication system based on OPC UA-TSN provided by the embodiments of the present application. As Figure 1 shown, the coal mine underground communication system 100 based on OPC UA-TSN includes:
[0033] An Open Platform Communications Unified Architecture (OPC UA) server 101, a Time-Sensitive Networking (TSN) switch 102, and an OPC UA client 103; wherein, the OPC UA server is connected to the OPC UA client through the TSN switch;
[0034] As an industrial automation field standard communication protocol, OPC UA has good cross-platformness and security, and is widely used in the monitoring and management of industrial equipment. It is a protocol and architecture that can be used to realize data exchange and communication between devices, can better realize data acquisition and management, and effectively protects data from being leaked or tampered with.
[0035] In some implementations, OPC UA includes an OPC UA server and an OPC UA client. In this embodiment, the Publisher and Subscriber processing is performed on OPC UA. The OPC UA server / Programmable Logic Controller (PLC) is used as the Publisher, which is responsible for generating DataSetMessage information and attaching timestamps, and sending data through protocols such as the User Datagram Protocol (UDP) or the Message Queuing Telemetry Transport (MQTT) protocol; the OPC UA client / actuator is used as the Subscriber, which is responsible for receiving and parsing data. The publish-subscribe mode realizes real-time and efficient data transmission.
[0036] As a new network technology, the TSN switch can realize low-latency and high-deterministic network data transmission, and is suitable for application scenarios with high real-time requirements. In this embodiment, the TSN switch can be one or more to ensure that data can be processed and transmitted in a timely manner.
[0037] Optionally, before the TSN switch communicates with the OPC UA server and the OPC UA client, time synchronization is performed on the TSN switch, the OPC UA server, and the OPC UA client; the TSN switch acts as the Precision Time Protocol Grandmaster Clock and is responsible for providing the time reference in the network; the OPC UA server and the OPC UA client synchronize time from the PTP clock to ensure the correct timestamp of the data packets and achieve data consistency and traceability.
[0038] The OPC UA server is used to obtain the downhole data corresponding to the downhole equipment and the downhole environment, configure the priority of the downhole data to obtain the transmission parameter information of the downhole data, and send the downhole data and the transmission parameter information to the TSN switch; optionally, the OPC UA server can communicate with the downhole equipment, obtain the downhole data corresponding to the downhole equipment and the downhole environment through the communication report of the downhole equipment, the downhole data includes one or more data types, and send the downhole data to the TSN switch.
[0039] In some implementations, the downhole equipment may include, but is not limited to, a fan, a hoist, a conveyor, a gas sensor, a temperature sensor, a humidity sensor, and a vibration sensor. Each downhole equipment communicates with the OPC UA server and uploads the operation data obtained by the equipment in real time; at the same time, it can also determine the equipment status of itself, such as whether it is working normally or in an abnormal alarm state, etc., and upload it to the OPC UA server in real time through the OPC UA protocol, so that the OPC UA server can obtain the downhole data.
[0040] In some implementations, the OPC UA server can add a Virtual Local Area Network Tag (VLAN Tag) to the downhole data to define the priority. For example, VLAN 7 is defined as the highest priority, save the priority information to the transmission parameter information corresponding to the downhole data, and send the transmission parameter information to the TSN switch, so that the TSN switch can perform priority forwarding according to the VLAN Tag to ensure that high-priority data is not affected by low-priority data and achieve the priority transmission of key data.
[0041] It is understandable that the selection of downhole equipment needs to ensure that the equipment supports the OPC UA protocol to ensure the smooth transmission of data to the OPC UA server. At the same time, the OPC UA server also encapsulates according to the OPC UA protocol and transmits it to the OPC UA client through the TSN switch. In some implementations, the OPC UA server can also be used to receive the registration requests of downhole equipment, and after the downhole equipment registration is completed, send the equipment function parameters to the downhole equipment; it is understandable that the registration request is used to request registration on the OPC UA server, that is, register the downhole equipment on the OPC UA server, and can also configure the function parameters of the equipment, such as equipment identification and equipment serial number and other information. After registering the equipment on the OPC UA server, the equipment function parameters are sent to the downhole equipment to realize the communication between the OPC UA server and the equipment.
[0042] The TSN switch is used to determine the transmission parameter information of downhole data, and perform traffic scheduling on the downhole data according to the transmission parameter information of downhole data.
[0043] In some implementations, the transmission parameter information may include but is not limited to information such as data priority, data transmission delay requirements, and data bandwidth requirements.
[0044] Optionally, the traffic scheduling of the TSN switch for downhole data can be based on data priority scheduling. For example, according to the data priority, more resources are allocated to high-priority data to ensure that high-priority data can be transmitted preferentially. Optionally, high-priority data can be abnormal data, such as safety alarms or other critical data with excessive concentration changes, etc., to ensure the priority transmission of critical data and reduce the possibility of accidents; or the transmission order is allocated according to the data transmission delay requirements to ensure the real-time nature of data transmission.
[0045] In some implementations, the TSN switch is also used to determine the traffic scheduling rules according to the network configuration and perform the traffic scheduling of downhole data based on the traffic scheduling rules; where the network configuration at least includes time-aware scheduling rules, priority scheduling rules, and enabling frame preemption rules; that is, the traffic scheduling rules of TSN for downhole data are determined through the network configuration, so as to achieve an orderly traffic scheduling.
[0046] Exemplarily, the time-aware scheduling rule can set a time window management scheduling table (Gate Control List, GCL) to control the data transmission time window. For example, 0 - 500 μs: high-priority data (OPC UA real-time control data), 500 - 1000 μs: low-priority data (OPC UA historical data), ensuring that critical data can always be delivered on time while guaranteeing bandwidth; the priority scheduling rule schedules based on the data priorities assigned by the OPC UA server, and schedules in descending order of priority. For example, the video surveillance traffic priority is 4, and the general information technology data priority is 2; enabling the frame preemption rule is used to ensure that critical data can preempt low-priority data traffic and reduce the transmission delay of critical data.
[0047] It can be understood that the TSN switch can perform data traffic scheduling based on the network configuration. For example, it forwards data according to the VLAN Tag added by the OPC UA server to ensure that high-priority data is not affected by low-priority data; the TSN switch can also allocate different bandwidths to data with different priorities to prevent low-priority data from occupying too many resources, which helps to achieve reasonable allocation and efficient utilization of network resources; the TAN switch can also enable critical data to preempt low-priority traffic to ensure low-latency transmission of critical data.
[0048] In some implementations, the TSN switch can also support redundant paths and replicate downhole data on multiple transmission data to prevent data loss due to transmission link failures, which helps to improve the reliability and fault tolerance of the network and achieve efficient and accurate data transmission.
[0049] In some implementations, the TSN switch is also used to assign Internet Protocol Address (IP) addresses or other network identification information to downhole devices to ensure that the devices can be uniquely identified in the network. In this embodiment, it is to ensure that the downhole devices are connected to the TSN switch through Ethernet to complete the network connection, thereby realizing communication and data exchange between devices.
[0050] The TSN switch performs traffic scheduling, bandwidth allocation, and priority sequencing on downhole data respectively, and transmits the processed downhole data to the OPC UA client; in this embodiment, the TSN switch uses transmission protocols such as IEEE 802.1Qbu and IEEE 802.1Qbv to schedule and manage the data stream; according to the delay requirements and priorities of different data streams, it reasonably schedules various data streams in the coal mine (such as safety alarms, equipment status, environmental monitoring data, etc.) to ensure that important data (such as safety monitoring, gas alarms, etc.) can be transmitted first, avoiding data loss or delay.
[0051] In some implementations, the TSN switch is also used to send a first time synchronization signal to the downhole devices according to the address information of the downhole devices. The first time synchronization signal is used to indicate the current timestamp to the downhole devices; that is, the first time synchronization signal is sent to the downhole devices according to the IP addresses of the downhole devices. It can be understood that after receiving the first time synchronization signal, the downhole devices can update their own time according to the current timestamp in the first time synchronization signal to ensure time synchronization between the devices. Optionally, the TSN switch can use the IEEE 802.1AS standard for time synchronization to ensure that the time of all devices in the network is consistent and provide accurate timing information.
[0052] In some implementations, the TSN switch is also used to send a second time signal to the OPC UA server and the OPC UA client. The second time signal is used to indicate the current timestamp to the OPC UA server and the OPC UA client; that is, the second time synchronization signal is sent to the OPC UA server and the OPC UA client for time synchronization to ensure that the time of the OPC client, the OPC service area, and the TSN switch in the network is consistent.
[0053] In some implementations, in addition to the above-mentioned traffic scheduling and bandwidth allocation of data, the TSN switch can also be used for TSN routing selection. That is, the TSN switch can intelligently select the best routing path according to information such as the data sending destination address and priority to ensure that the downhole data can reach the receiving device efficiently and accurately, that is, the OPC UA client in this embodiment.
[0054] The OPC UA client is used to receive the downhole data sent by the TSN switch and obtain the analysis result of the downhole data to perform abnormal alarm based on the analysis result.
[0055] It can be understood that the OPC UA client can receive and provide data analysis functions, and can also perform data visualization processing, enabling users to obtain data information more intuitively.
[0056] Optionally, the OPC UA client can perform data analysis according to a pre-trained neural network. That is, the received downhole data is input into the pre-trained neural network, and the neural network outputs the analysis result of the downhole data. The analysis result can include information on whether the downhole devices include abnormal conditions. When the analysis result indicates that the downhole devices have abnormal working conditions, the OPC UA client will trigger an alarm mechanism and perform an abnormal alarm to remind the staff to perform equipment maintenance and inspection, and can also automatically start emergency measures according to the preset emergency plan, such as activating ventilation equipment or notifying the staff to evacuate.
[0057] It can be understood that in this embodiment, the communication process in the coal mine underground is that the underground equipment collects data according to a certain time interval or trigger condition to obtain underground data, and reports the underground data to the OPC UA server. After the OPC UA server obtains the underground data, it sends the underground data to the TSN switch, and transmits the underground data to the OPC UA client through the TSN switch, and performs data analysis on the OPC UA client to realize real-time monitoring of the equipment and environmental status.
[0058] In some implementations, it may further include an external network interface, which is a bridge connecting to the external network. The OPC UA client can call the large model through the external network interface to analyze the underground data based on the large model and obtain the analysis results.
[0059] Optionally, the communication system may further include a cloud platform, which is connected to the OPC UA client; for example, the cloud platform can be a central monitoring system or a display platform, etc., and can also monitor the production status of the coal mine underground, perform data analysis and alarm in real time, and automatically or manually trigger control instructions to respond when an abnormality occurs.
[0060] In some implementations, the cloud platform can be used to receive the underground data sent by the OPC UA client, analyze and store the underground data; it can also be used to receive the analysis results sent by the OPC UA client, and display or alarm the analysis results.
[0061] In some implementations, the OPC UA client is also used to receive the device control instruction and send the device control instruction to the TSN switch; the TSN switch is also used to receive the device control instruction and send the device control instruction to the OPC UA server; the OPC UA server is also used to receive the device control instruction, determine the first target underground device based on the device control instruction, and send the device control instruction to the first target underground device, where the first target underground device can be a data collection device or other working devices in the coal mine underground, such as an automated mine car and other devices.
[0062] Exemplarily, for example, when a monitoring person monitors the underground equipment through the OPC UA client and sends a device control instruction for a certain device, the OPC UA client receives the device control instruction and sends the device control instruction to the TSN switch. The TSN switch receives the device control instruction and sends it to the OPC UA server. The OPC UA server receives the device control instruction, determines the first target underground device to be controlled based on the device control instruction, and sends the device control instruction to the first target underground device to execute the corresponding control instruction.
[0063] In some implementations, the communication system may further include a remote device, which is connected to the OPC UA client; the remote device may be, for example, a ground monitoring system or a mobile device of a monitoring personnel, etc.
[0064] Optionally, the remote device may be used to send a remote control instruction to the OPC UA client; the OPC UA client is used to send the remote control instruction to the TSN switch; the TSN switch is used to receive the remote control instruction and send the remote control instruction to the OPC UA server; the OPC UA server is used to receive the remote control instruction, determine a second target underground device based on the remote control instruction, and send the remote control instruction to the second target underground device.
[0065] Exemplarily, assume that a monitoring personnel monitors the working conditions of underground devices in the remote device and detects that key devices such as the ventilation system, drainage system or hoist in the coal mine underground are abnormal and need to adjust the devices or stop working. Then, a remote control instruction is sent through the remote device. The OPC UA client receives the remote control instruction and sends it to the TSN switch. The TSN switch receives the remote control instruction and sends it to the OPC UA server. The OPC UA server receives the remote control instruction, determines the second target underground device according to the remote control instruction, and sends the remote control instruction to the second target underground device to achieve the adjustment or stop of the underground device and avoid accidents.
[0066] In some implementations, the OPC UA client is further used to send at least part of the underground data, i.e., the analysis result and / or the underground data, to the remote device; that is, the OPC UA client may send the analysis result of the data or part or all of the data in the data to the remote device to facilitate the acquisition of underground data and the monitoring of the underground environment by the remote device.
[0067] It can be understood that this embodiment can be applied to the monitoring and control of underground devices. Key devices such as the ventilation system, drainage system, and hoist in the coal mine underground are connected to the OPC UA server through the OPC UA protocol. The OPC UA server sends it to the OPC UA client through the TSN switch to achieve the real-time transmission of the working state and sensor data. The monitoring personnel can monitor the working conditions of underground devices in real time on the ground and remotely operate the devices to adjust or stop working when an abnormality occurs. For example, when a certain ventilator underground fails, the abnormal signal of the device can be preferentially transmitted to the control center through the TSN network immediately, so that the monitoring personnel can quickly take measures to avoid accidents.
[0068] It can be understood that this embodiment can also be applied to underground safety monitoring and emergency response. Devices such as gas sensors, temperature sensors, and pressure sensors underground are connected to the OPC UA server through the OPC UA protocol to collect data, and the OPC UA server transmits the data to the ground monitoring system through the TSN network; the low-latency characteristic of the TSN network ensures that when key data such as gas concentration and temperature is abnormal, it can be transmitted in real time and trigger an alarm; for example, when the concentration of toxic gas (such as methane) is detected to exceed the standard in a coal mine underground, the TSN network will give priority to transmitting the alarm signal to the ground monitoring system and start the underground automatic ventilation system through the OPC UA protocol to ensure the safety of underground personnel.
[0069] It can be understood that this embodiment can also be applied to fault diagnosis and equipment maintenance. The real-time data of underground equipment can be used for fault prediction and diagnosis. Combining machine learning and data analysis technologies, coal mines can predict equipment failures in advance and perform preventive maintenance; for example, by monitoring the operation data and vibration status of underground conveyors, the system can predict possible equipment failures (such as belt loosening, equipment overload, etc.) and notify equipment maintenance personnel in advance for inspection and maintenance. The real-time data stream of the TSN network can ensure that the fault information of underground equipment can be transmitted to the ground management system in a timely and accurate manner, thereby improving the maintainability of equipment and reducing downtime.
[0070] It can be understood that this embodiment can also be applied to data stream optimization and bandwidth management. The TSN switch can reasonably allocate bandwidth resources according to different data stream types and priorities; for example, the safety monitoring data in a coal mine underground (such as gas monitoring, fire alarm) is set as a high-priority data stream to ensure that these key data can be transmitted in real time, while low-priority data such as equipment status monitoring data is allocated bandwidth through a scheduling algorithm to ensure the reasonable utilization of network resources. Through the traffic management of the TSN network, various devices in a coal mine underground can transmit data simultaneously without interfering with each other, greatly improving the efficiency of the coal mine communication network.
[0071] It can be understood that this embodiment can also be used for underground and ground linkage control. Underground coal mine equipment (such as automated mine cars, conveying systems) is in real-time linkage with the ground control system through OPC UA. Underground production dispatchers can adjust production plans according to real-time data, and automated equipment can respond according to ground instructions, improving the automation and intelligent level of coal mine operations. For example, after an automated mine car underground completes a task, the system will automatically report the task completion status to the ground dispatching center through OPCUA, and dispatchers can arrange the next task based on this data, and the automated system will also perform the next operation according to the instructions of the dispatching center.
[0072] It can be understood that the interaction mapping process between the OPC UA server, the TSN switch, and the OPC UA client in this embodiment may at least include: 1. Time synchronization, that is, the time signal synchronization between the TSN switch and the OPC UA server and the OPC UA client; 2. Determination of the publisher and the subscriber. In this embodiment, the OPC UA server is the publisher, and the OPC UA client is the subscriber; 3. The TSN switch performs time scheduling, that is, data scheduling according to the time window to ensure that critical data can reach the target device within a predetermined time; 4. Traffic classification. The OPC UA server performs priority configuration, and the TSN switch performs scheduling planning according to the priority; 5. The TSN switch performs traffic shaping, that is, allocates bandwidth to data with different priorities to achieve reasonable allocation and efficient utilization of network resources; 6. The TSN switch performs frame preemption, that is, allows critical data to preempt low-priority data traffic to ensure low-latency transmission of critical data; 7. The TSN switch performs redundant path backup, that is, copies the downhole data on multiple transmission paths to prevent data loss due to transmission link failures and improve the reliability and fault tolerance of the network. The specific process can be referred to Figure 2 .
[0073] In this embodiment, a communication system is built through the OPC UA server, the TSN switch, and the OPC UA client. The OPC UA server is connected to the downhole equipment and obtains the status and environmental data of the downhole equipment, thereby collecting the downhole data. The downhole data is transmitted to the TSN switch. The TSN switch performs traffic scheduling and bandwidth allocation according to the transmission parameter information of the downhole data, and performs real-time transmission according to the priority of the data. Moreover, it can achieve time synchronization of the devices to ensure time consistency among the devices. The TSN switch transmits the scheduled and processed data to the OPC UA client. The OPC UA client can obtain the analysis result of the downhole data, perform abnormal alarm according to the analysis result, and can also call the large model for data analysis through the external network interface, connect to the cloud platform and remote devices to achieve goals such as data storage, monitoring, and remote device control. Using this communication system can provide low-latency, priority scheduling, and highly reliable network communication in the coal mine underground environment, thereby ensuring real-time monitoring, automatic control, and emergency response of coal mine equipment. At the same time, it can also achieve automatic control and remote management. When necessary, it can also perform fault prediction according to the downhole data and notify the equipment maintenance personnel in advance for inspection and maintenance to avoid production losses caused by equipment failure shutdown, and significantly improve the production safety and operation efficiency in the coal mine underground.
[0074] On the basis of the above embodiment, Figure 3It is a logic block diagram of another coal mine underground communication system based on OPC UA-TSN provided by an embodiment of the present application, including an OPC UA server, at least one TSN network switch, and an OPC UA client; the OPC UA server can be connected to coal mine equipment hardware, sensors, and cameras underground in the coal mine to obtain equipment data and environmental data underground in the coal mine, and transmit the data to the OPC UA client through the TSN network switch. The OPC UA client can perform data analysis and can also be connected to a remote control software, a cloud platform, and an external network interface to implement functions such as remote control, data storage, and data analysis. The TSN network switch performs reasonable bandwidth allocation according to the data priority during the data transmission process, avoiding network congestion, and improving the stability and reliability of data transmission. Through the interaction between the OPC UA server, at least one TSN network switch, and the OPC UA client, real-time monitoring of underground equipment and the environment can be achieved, quickly discovering and responding to potential safety hazards such as equipment failures or gas leaks, avoiding accidents, and improving coal mine production efficiency.
[0075] Figure 4 It is a schematic flowchart of a coal mine underground communication method based on OPC UA-TSN provided by an embodiment of the present application. As Figure 4 shown, the method includes:
[0076] S401, the OPC UA server obtains underground data corresponding to underground equipment and the underground environment, configures the priority of the underground data to obtain transmission parameter information of the underground data, and sends the underground data and the transmission parameter information to the TSN switch.
[0077] In some implementations, the underground equipment may include, but is not limited to, a fan, a hoist, a conveyor, a gas sensor, a temperature sensor, a humidity sensor, and a vibration sensor. Each underground equipment communicates with the OPC UA server and uploads the operation data obtained by the equipment in real time; at the same time, it can also determine the equipment status of the equipment itself, such as whether it is working normally or in an abnormal alarm state, etc., and upload it to the OPC UA server in real time through the OPC UA protocol, so that the OPC UA server can obtain the underground data.
[0078] It can be understood that the selection of underground equipment needs to ensure that the equipment supports the OPC UA protocol to ensure that the data can be smoothly transmitted to the OPC UA server. At the same time, the OPC UA server also encapsulates according to the OPC UA protocol and transmits it to the OPC UA client through the TSN switch.
[0079] Optionally, the OPC UA server can add a Virtual Local Area Network Tag (VLAN Tag) to the downhole data to define priorities. For example, VLAN 7 is defined as the highest priority. The priority information is saved into the transmission parameter information corresponding to the downhole data, and the transmission parameter information is sent to the TSN switch, so that the TSN switch can perform priority forwarding based on the VLAN Tag, ensuring that high-priority data is not affected by low-priority data and realizing the priority transmission of critical data.
[0080] In some implementations, the OPC UA server can also be used to receive registration requests from downhole devices and, after the downhole devices are registered, send device function parameters to the downhole devices. It can be understood that the registration request is used to request registration on the OPC UA server, that is, to register the downhole devices on the OPC UA server. The function parameters of the devices can also be configured, such as device identification and device serial number and other information. After the downhole devices are registered on the OPC UA server, the device function parameters are sent to the downhole devices to realize the communication between the OPC UA server and the devices.
[0081] S402, the TSN switch determines the transmission parameter information of the downhole data and performs traffic scheduling on the downhole data according to the transmission parameter information of the downhole data.
[0082] In some implementations, the transmission parameter information may include, but is not limited to, data priority, data transmission delay requirements, data bandwidth requirements, and other information.
[0083] Optionally, the traffic scheduling of the downhole data by the TSN switch can be based on data priority scheduling. For example, according to the data priority, more resources are allocated to high-priority data to ensure the limited transmission of high-priority data. Optionally, high-priority data can be abnormal data, such as critical data like safety alarms or other overly large concentration changes, to ensure the priority transmission of critical data and reduce the likelihood of accidents; or the transmission order is allocated according to the data transmission delay requirements to ensure the real-time nature of data transmission.
[0084] In some implementations, the TSN switch is also used to determine the traffic scheduling rules according to the network configuration and perform traffic scheduling on the downhole data based on the traffic scheduling rules; where the network configuration at least includes time-aware scheduling rules, priority scheduling rules, and enabling frame preemption rules; that is, the traffic scheduling rules of the TSN for the downhole data are determined through the network configuration, thereby realizing orderly traffic scheduling.
[0085] For example, the time-aware scheduling rule can set a time window management scheduling table (Gate Control List, GCL) to control the data transmission time window, such as 0 - 500 μs for high-priority data (OPC UA real-time control data) and 500 - 1000 μs for low-priority data (OPC UA historical data), ensuring that critical data can always be delivered on time while guaranteeing bandwidth; the priority scheduling rule schedules based on the data priority assigned by the OPC UA server, and schedules in descending order of priority. For example, the video surveillance traffic priority is 4, and the general information technology data priority is 2; enabling the frame preemption rule is used to ensure that critical data can preempt low-priority data traffic and reduce the transmission delay of critical data.
[0086] It can be understood that the TSN switch can perform data traffic scheduling based on network configuration. For example, it forwards data according to the VLAN Tag added by the OPC UA server to ensure that high-priority data is not affected by low-priority data; the TSN switch can also allocate different bandwidths to data with different priorities to prevent low-priority data from occupying too many resources, which helps to achieve reasonable allocation and efficient utilization of network resources; the TAN switch can also enable critical data to preempt low-priority traffic to ensure low-latency transmission of critical data.
[0087] In some implementations, the TSN switch can also support redundant paths and replicate downhole data on multiple transmission data to prevent data loss due to transmission link failures, which helps to improve the reliability and fault tolerance of the network and achieve efficient and accurate data transmission.
[0088] In some implementations, the TSN switch is also used to assign Internet Protocol Address (IP) addresses or other network identification information to downhole devices to ensure that the devices can be uniquely identified in the network. In this embodiment, it is to ensure that the downhole devices are connected to the TSN switch through Ethernet to complete the network connection, thereby realizing communication and data exchange between devices.
[0089] The TSN switch performs traffic scheduling, bandwidth allocation, and priority sequencing on downhole data respectively, and transmits the processed downhole data to the OPC UA client; in this embodiment, the TSN switch uses transmission protocols such as IEEE 802.1Qbu and IEEE 802.1Qbv to schedule and manage the data stream; according to the delay requirements and priorities of different data streams, it reasonably schedules various data streams in the coal mine (such as safety alarms, equipment status, environmental monitoring data, etc.) to ensure that important data (such as safety monitoring, gas alarms, etc.) can be transmitted first, avoiding data loss or delay.
[0090] In some implementations, the TSN switch is also used to send a first time synchronization signal to the downhole devices according to the address information of the downhole devices. The first time synchronization signal is used to indicate the current timestamp to the downhole devices; that is, to send the first time synchronization signal to the downhole devices according to the IP addresses of the downhole devices. It can be understood that after receiving the first time synchronization signal, the downhole devices can update their own time according to the current timestamp in the first time synchronization signal to ensure time synchronization between devices. Optionally, the TSN switch can use the IEEE 802.1AS standard for time synchronization to ensure that the time of all devices in the network is consistent and provide accurate timing information.
[0091] In some implementations, the TSN switch is also used to send a second time signal to the OPC UA server and the OPC UA client. The second time signal is used to indicate the current timestamp to the OPC UA server and the OPC UA client; that is, to send a second time synchronization signal to the OPC UA server and the OPC UA client for time synchronization to ensure that the time of the OPC client, the OPC service area, and the TSN switch in the network is consistent.
[0092] S403, The OPC UA client receives the downhole data sent by the TSN switch and obtains the analysis result of the downhole data to perform an anomaly alarm based on the analysis result.
[0093] It can be understood that the OPC UA client can receive and provide data analysis functions and can also perform data visualization processing, enabling users to obtain data information more intuitively.
[0094] Optionally, the OPC UA client can perform data analysis according to a pre-trained neural network, such as a trained large model. That is, the received downhole data is input into the large model, and the large model outputs the analysis result of the downhole data. The analysis result can include information on whether there are abnormal conditions in the downhole devices. When the analysis result indicates that there are abnormal working conditions in the downhole devices, the OPC UA client will trigger an alarm mechanism and perform an anomaly alarm to remind the staff to perform equipment maintenance and inspection. It can also automatically start emergency measures according to the preset emergency plan, such as activating ventilation equipment or notifying the staff to evacuate.
[0095] In some implementations, the OPC UA client can also be connected to a cloud platform. For example, the cloud platform can be a central monitoring system or a display platform, etc. The cloud platform can be used to receive the downhole data sent by the OPC UA client, analyze and store the downhole data; it can also be used to receive the analysis result sent by the OPC UA client and display or alarm the analysis result.
[0096] In some implementations, the OPC UA client can also receive device control instructions, send the device control instructions to the OPC UA server through the TSN switch, and the OPC UA server can determine the first target downhole device to be controlled according to the device control instructions, and send the device control instructions to the first target downhole device for device control.
[0097] In some implementations, the OPC UA client can also connect to a remote device. The remote device can be, for example, a ground monitoring system or a mobile device of a monitoring personnel. The remote device can send a remote control instruction to the OPC UA client, and the OPC UA client sends the remote control instruction to the OPC UA server through the TSN switch. The OPC UA server can determine the second target downhole device to be controlled according to the remote control instruction, and send the remote control instruction to the second target downhole device for remote device control.
[0098] Optionally, the OPC UA client can also send at least part of the downhole data in the analysis result and / or downhole data to the remote device, so as to facilitate the remote device to obtain the downhole data and monitor the downhole environment.
[0099] In this embodiment, communication is implemented through the OPC UA server, the TSN switch and the OPC UA client. The OPC UA server is connected to the downhole device and obtains the downhole device status and environmental data, so as to collect the downhole data. The downhole data is transmitted to the TSN switch. The TSN switch performs traffic scheduling and bandwidth allocation according to the transmission parameter information of the downhole data, and performs real-time transmission according to the priority of the data, and can realize the time synchronization of the devices to ensure the time consistency between the devices. The TSN switch transmits the scheduled data to the OPC UA client. The OPC UA client can obtain the analysis result of the downhole data and perform abnormal alarm according to the analysis result, realizing low-latency, priority scheduling and high-reliability network communication in the coal mine downhole environment, thereby ensuring the real-time monitoring, automatic control and emergency response of coal mine equipment, and significantly improving the production safety and operation efficiency of the coal mine downhole.
[0100] To implement the above embodiment, the present application also proposes an electronic device, including: a processor, and a memory communicatively connected to the processor; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory to implement the method provided in the foregoing embodiment.
[0101] To implement the above embodiment, the present application also proposes a computer-readable storage medium storing computer execution instructions, and the computer execution instructions are used to implement the method provided in the foregoing embodiment when executed by a processor.
[0102] To implement the above embodiments, the present application also proposes a computer program product, including a computer program which, when executed by a processor, implements the method provided by the foregoing embodiments.
[0103] The collection, storage, use, processing, transmission, provision, and disclosure of the user's personal information involved in the present application all comply with the provisions of relevant laws and regulations and do not violate public order and good customs.
[0104] It should be noted that personal information from users should be collected for legal and reasonable purposes and not shared or sold outside of these legal uses. In addition, such collection / sharing should be carried out after obtaining the informed consent of the user, including but not limited to notifying the user to read the user agreement / user notice and sign an agreement / authorization including authorizing relevant user information before the user uses the function. In addition, any necessary steps should be taken to safeguard and protect access to such personal information data and ensure that others with access to personal information data comply with their privacy policies and procedures.
[0105] The present application anticipates providing embodiments in which users can selectively block the use or access of personal information data. That is, the present disclosure anticipates providing hardware and / or software to prevent or block access to such personal information data. Once personal information data is no longer needed, the risk can be minimized by restricting data collection and deleting the data. In addition, when applicable, personal identifiers are removed from such personal information to protect the privacy of the user.
[0106] In the description of the foregoing embodiments, the descriptions referring to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples" mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.
[0107] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" can explicitly or implicitly include at least one of the features. In the description of the present application, "a plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.
[0108] Any process or method description represented in a flowchart or otherwise described herein can be understood to represent a module, segment, or portion of code including one or more executable instructions for implementing custom logic functions or processes, and the scope of the preferred embodiments of the present application includes additional implementations, where functions may be executed in a manner other than shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved, which should be understood by those skilled in the art to which the embodiments of the present application pertain.
[0109] The logic and / or steps represented in a flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing a logical function, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device), or in conjunction with these instruction execution systems, apparatuses, or devices. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable media on which the program can be printed, as the program can be obtained electronically, for example, by optically scanning the paper or other media, followed by editing, interpretation, or otherwise processing as appropriate, and then storing it in a computer memory.
[0110] It should be understood that the various parts of the present application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits having logic gate circuits for implementing logical functions on data signals, application-specific integrated circuits having appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0111] Those of ordinary skill in the art can understand that all or part of the steps carried out in implementing the above-mentioned embodiment methods can be completed by instructing relevant hardware through a program, and the said program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.
[0112] In addition, in each of the embodiments of the present application, the functional units can be integrated into one processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. When the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0113] The above-mentioned storage medium can be a read-only memory, a magnetic disk, an optical disc, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present application. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present application.
Claims
1. A coal mine underground communication system based on OPC UA-TSN, characterized in that: The communication system comprises: An open platform communication unified architecture OPC UA server, a time sensitive network TSN switch and an OPC UA client; wherein the OPC UA server is connected to the OPC UA client through the TSN switch; The OPC UA server is used to obtain downhole data corresponding to downhole equipment and downhole environment, configure the priority of the downhole data, obtain transmission parameter information of the downhole data, and send the downhole data and the transmission parameter information to the TSN switch; The TSN switch is used to determine the transmission parameter information of the downhole data, and perform flow scheduling on the downhole data according to the transmission parameter information of the downhole data; The OPC UA client is used to receive the downhole data sent by the TSN switch, and obtain analysis results of the downhole data, so as to issue an abnormal alarm based on the analysis results.
2. The communication system according to claim 1, characterized in that The OPC UA server is further configured to receive a registration request from the downhole device, and send device function parameters to the downhole device after the downhole device is registered.
3. The communication system according to claim 1, characterized in that: The TSN switch is also used to determine traffic scheduling rules according to the network configuration, and perform traffic scheduling of downhole data based on the traffic scheduling rules; wherein the network configuration at least includes time-aware scheduling rules, priority scheduling rules and enabling frame preemption rules.
4. The communication system according to claim 1, characterized in that: The TSN switch is further used to send a first time synchronization signal to the downhole device according to the address information of the downhole device, wherein the first time synchronization signal is used to indicate a current timestamp to the downhole device; The TSN switch is further used to send a second time synchronization signal to the OPC UA server and the OPC UA client, where the second time synchronization signal is used to indicate a current timestamp to the OPC UA server and the OPC UA client.
5. The communication system according to claim 1, characterized in that: Also includes: A cloud platform, the cloud platform being connected to the OPC UA client; The cloud platform is used to receive the downhole data sent by the OPC UA client, and analyze and store the downhole data; The cloud platform is also used to receive the analysis results sent by the OPC UA client, and to display or alarm the analysis results.
6. The communication system according to claim 1, characterized in that: Also includes: The OPC UA client is further used to receive device control instructions and send the device control instructions to the TSN switch; The TSN switch is further used to receive the device control instruction and send the device control instruction to the OPC UA server; The OPC UA server is further configured to receive the device control instruction, determine a first target downhole device based on the device control instruction, and send the device control instruction to the first target downhole device.
7. The communication system according to claim 1, characterized in that: Also includes: A remote device, the remote device being connected to the OPC UA client; The remote device is used to send remote control instructions to the OPC UA client; The OPC UA client is further used to send the remote control instruction to the TSN switch; The TSN switch is further used to receive the remote control instruction and send the remote control instruction to the OPC UA server; The OPC UA server is further configured to receive the remote control instruction, determine a second target downhole device based on the remote control instruction, and send the remote control instruction to the second target downhole device.
8. The communication system according to claim 7, characterized in that: Also includes: The OPC UA client is further configured to send the analysis result and / or at least part of the downhole data to the remote device.
9. The communication system according to claim 1, characterized in that: Also includes: External network interface; The OPC UA client is also used to call the big model through the external network interface to analyze the N types of downhole data based on the big model and obtain analysis results.
10. A coal mine underground communication method based on OPC UA-TSN, characterized in that: The method comprises: The OPC UA server obtains downhole data corresponding to the downhole equipment and the downhole environment, configures the priority of the downhole data, obtains the transmission parameter information of the data, and sends the downhole data and the transmission parameter information to the TSN switch; The TSN switch determines the transmission parameter information of the downhole data, and performs flow scheduling on the downhole data according to the transmission parameter information of the downhole data; The OPC UA client receives the downhole data sent by the TSN switch, and obtains analysis results of the downhole data, so as to issue an abnormal alarm based on the analysis results.
Citation Information
Cited By
Underground equipment communication method and device, electronic equipment and coal mine underground communication system
CN120455235A
Hydraulic support communication scheduling method and device, electronic equipment and storage medium
CN120475526A