Coal flow monitoring method and control system based on lightweight semantic segmentation
By using improved lightweight semantic segmentation technology in the coal flow monitoring system, combined with UNet3+ and Triplet Attention, the problem of insufficient deployment and accuracy of the coal flow monitoring system is solved, and efficient coal flow status analysis and intelligent control are achieved, improving improve the reliability and adaptability of the system.
Patent Information
- Application Number
- CN202410775860.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-17
- Publication Date
- 2024-09-13
AI Technical Summary
The existing coal flow monitoring system is difficult to deploy on the transportation belt, the coal flow monitoring results are not accurate enough, and the belt control is less intelligent.
A coal flow monitoring method based on lightweight semantic segmentation is adopted, including a data collection module, a core computing module and a human-computer interaction module. The lightweight semantic segmentation system improved by the UNet3+ framework is used, combined with the Mix Vision Transformer_b0 and Triplet Attention mechanisms. Pre-processing and post-processing of coal flow video data to achieve real-time coal flow status analysis and intelligent control.
It improves the accuracy and robustness of coal flow monitoring, realizes the convenience and efficient operation of edge deployment, has real-time monitoring and intelligent linkage control, provides a safe and efficient early warning mechanism, and forms a closed-loop coal flow analysis and management system.
Smart Images

Figure CN118644802A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of AI intelligent analysis of underground coal mine videos and intelligent control of equipment, and in particular relates to a coal flow monitoring method and control system based on lightweight semantic segmentation. Background Art
[0002] With the continuous development of the coal industry and the continuous improvement of safety and environmental protection standards, the importance of coal flow monitoring has become increasingly prominent. Traditional manual inspections and fixed sensor monitoring methods are difficult to meet the requirements of modern mines for refined and intelligent operations, especially in terms of coal flow speed control, coal volume statistics, and early risk warning. For example, coal flow blockage may cause production line stagnation; while uneven coal flow will affect overall production and energy efficiency. Therefore, the coal flow monitoring system based on advanced visual technology and intelligent algorithms can largely make up for the shortcomings of traditional methods, accurately grasp the state of coal flow in real time, and provide strong guarantees for safe production. At present, the progress of artificial intelligence, especially deep learning, has greatly promoted the development of image recognition and processing technology, making it perform better in industrial applications. Lightweight semantic segmentation models can achieve high-performance real-time image processing on low-power, low-cost embedded devices, which creates conditions for the deployment and implementation of coal flow monitoring systems in coal mine field environments. In addition, the Internet of Things technology enables a large number of front-end sensing devices (such as high-definition cameras) to be seamlessly connected to the back-end data processing platform, realizing high-speed transmission and instant analysis of coal flow image data. Combining these two technologies, the coal flow monitoring system can extract the image features of the coal flow in real time, perform accurate coal flow segmentation and state judgment, and further convert them into effective control instructions for coal transportation equipment, realizing intelligent closed-loop management of the entire process. Therefore, the present invention obtains belt coal flow image data through a high-definition camera, analyzes the coal flow state in real time based on a lightweight semantic segmentation method, and controls the belt running state and running speed by judging the coal flow state. When the belt is in an abnormal load state, the system will issue an abnormal alarm, and the alarm result will be displayed in the form of voice reminders or sound and light alarms. Summary of the invention
[0003] In view of the shortcomings of the existing technical methods, the purpose of the present invention is to provide a coal flow monitoring method and control system based on lightweight semantic segmentation, aiming to solve the problems that the current transport belt coal flow monitoring system is difficult to deploy at the end, the accuracy of coal flow monitoring results needs to be improved, and the belt control intelligence is low.
[0004] The solution adopted by the present invention to solve its technical problems is: a coal flow monitoring method and control system based on lightweight semantic segmentation, including a data acquisition module, a core computing module and a human-computer interaction module, the data acquisition module includes a high-definition intrinsically safe camera and a fill light installed above the belt, and the coal flow video data is collected by the high-definition intrinsically safe camera; the core computing module includes an intrinsically safe edge computing gateway, a lightweight semantic segmentation system, a coal flow calculation system and a linkage control system embedded in the edge computing gateway; the human-computer interaction module includes an alarm, a computer host and a display, and a coal flow analysis interface is displayed through the host and the display, and the coal flow analysis interface includes the coal flow video collected by the data acquisition module, and the coal flow data and related statistical information after the core computing module analyzes the coal flow video.
[0005] The lightweight semantic segmentation system uses UNet3+ as the basic framework and adopts Mix Vision Transformer_b0 to replace some or all convolution blocks of the original UNet3+ framework in the encoding stage. On the premise of reducing parameters, it effectively extracts and integrates the global context features of the image, improves the representation ability of the model, deletes the original deep supervision structure of UNet3+, and makes the model more concise by reducing the amount of unnecessary parameters, so as to achieve rapid deployment and efficient operation under limited computing resources. The Triplet Attention mechanism is embedded in each jump connection point of UNet3+, which can take into account the channel dimension and spatial dimension information of the feature map, strengthen the interaction between features of different levels and dimensions, and further enhance the ability of the model to understand and parse images, thereby significantly improving the final semantic segmentation accuracy.
[0006] Furthermore, the coal flow video data is pre-processed and post-processed through a lightweight semantic segmentation system.
[0007] The pre-treatment process includes:
[0008] Step 1: Manually define the region of interest and record the coordinate points of the region of interest as R1, R2, R3…R i ;
[0009] Step 2: intercept the original image according to the coordinates of the area of interest;
[0010] Step 3: Send the captured image to the neural network model for inference calculation.
[0011] The post-processing process includes:
[0012] Step 1: According to R1, R2, R3…R i Draw the region of interest on the original image;
[0013] Step 2: According to R1, R2, R3…R i Position the output mask image to the original image area;
[0014] Step 3: Overlay the region of interest and the mask image on the original image to obtain the inference result image. Furthermore, the loss function used by the lightweight semantic segmentation system of the present invention is:
[0015] L = λ1L1 + λ2L2;
[0016] Where λ1 is 0.7 and λ2 is 0.3.
[0017] The calculation formula of L1 is:
[0018]
[0019] Among them, TP: the number of correctly predicted positive pixels; TN: the number of correctly predicted negative pixels; FP: the number of negative pixels incorrectly predicted as positive; FN: the number of positive pixels incorrectly predicted as negative.
[0020] The calculation formula of L2 is:
[0021]
[0022] Among them, M represents the number of categories, y c It is a one-dimensional vector, and its elements can only take values 0 and 1. If the category is the same as the sample category, it takes 1, otherwise it takes 0. c Indicates the probability that the predicted sample belongs to c; ω c =(NN c ) / N, N represents the total number of pixels, N c Represents the number of pixels covered by the true annotation area belonging to category c.
[0023] Furthermore, the formula for calculating the coal flow rate by the lightweight semantic segmentation system of the present invention is:
[0024]
[0025] Among them, S R It represents the coal flow area obtained by semantic segmentation within the specified region of interest, S represents the area of the specified region of interest, and f represents the number of video frames processed per second.
[0026] Beneficial effects of the present invention: The coal flow monitoring method and control system based on lightweight semantic segmentation of the present invention have the following specific advantages:
[0027] (1) Convenience of edge deployment: The lightweight semantic segmentation network is adopted, especially the improved framework based on UNet3+, combined with Mix Vision Transformer_b0 and Triplet Attention mechanism. While ensuring the accuracy of coal flow segmentation, the model complexity is greatly reduced, enabling the model to be quickly deployed and efficiently run on the edge computing gateway.
[0028] (2) Improved coal flow recognition accuracy: By introducing the Transformer architecture, Triplet Attention mechanism and the loss function, the model can better capture the global context information of the image and the interaction of multi-dimensional features, improve the distinction between coal flow and background, and effectively solve the problem of unclear coal flow boundaries, thereby improving the accuracy and robustness of coal flow detection.
[0029] (3) Real-time monitoring and intelligent linkage control: The system has the functions of real-time coal flow video data analysis, accurate calculation of coal flow, and intelligent adjustment of belt speed according to coal flow status, thus realizing refined management and automated control of the belt transport system.
[0030] (4) Safe and efficient early warning and interaction mechanism: Equipped with mining intrinsically safe equipment to ensure the safety of the entire system, and promptly remind workers of abnormal situations through voice or sound and light alarms, while recording image snapshots at the moment of the alarm to facilitate subsequent analysis and processing.
[0031] (5) Integration and visualization: The system includes multiple modules such as data acquisition, core computing, and human-computer interaction, forming a complete closed-loop solution. The coal flow analysis interface intuitively displays the real-time coal flow status and historical alarm information, making it convenient for staff to understand the coal flow status and control effects in real time.
[0032] (6) Enhanced flexibility, adaptability and reliability: The belt speed can be adjusted dynamically according to the coal flow rate, and there are corresponding operation plans for various coal flow conditions (such as overload, normal, low coal, and no-load). This can not only ensure production efficiency, but also effectively avoid excessive equipment wear or other potential risks, thereby improving the reliability and adaptability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a model based on the UNET3+ framework and a new model improved based on UNET3+ according to the present invention.
[0034] Figure 2 This is a schematic diagram of the Triplet Attention structure of the attention mechanism.
[0035] Figure 3 It is a frame view of the coal flow monitoring and control system of the present invention. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below.
[0037] Embodiment 1: The present invention provides a coal flow monitoring method and control system based on lightweight semantic segmentation, which should include but not be limited to a data acquisition module, a core computing module and a human-computer interaction module.
[0038] The data acquisition module includes but is not limited to a high-definition intrinsically safe camera installed above the belt, and should also include a white fill light installed above the belt to facilitate obtaining a clear coal flow image.
[0039] The human-computer interaction module includes but is not limited to a voice or sound and light alarm and a mine-used intrinsically safe computer, and the mine-used intrinsically safe computer should include a host and a display.
[0040] The functions of the intrinsically safe computer for mining include but are not limited to displaying a coal flow analysis interface. The functions of the coal flow analysis interface should include but are not limited to real-time display of real coal flow video data, real-time display of coal flow data after video analysis, real-time display of coal flow status, card display of the latest alarm information, and statistics of alarm messages within a specified time.
[0041] The core computing module should include an intrinsically safe edge computing gateway and a lightweight semantic segmentation algorithm, a coal flow calculation system and a linkage control system embedded in the edge computing gateway.
[0042] like Figure 1 As shown in the figure, the semantic segmentation algorithm network model is based on UNet3+ as the basic framework, and Mix VisionTransformer_b0 is used to replace some or all convolution blocks in the original UNet3+ framework in the encoding stage. It can effectively extract and integrate the global context features of the image while reducing the parameters, and improve the representation ability of the model. The original deep supervision structure of UNet3+ is deleted, and the model is made simpler by reducing the amount of unnecessary parameters, which is conducive to rapid deployment and efficient operation under limited computing resources. The Triplet Attention mechanism is embedded in each jump connection point of UNet3+. This mechanism can take into account the channel dimension and spatial dimension information of the feature map, strengthen the interaction between features at different levels and different dimensions, and further enhance the model's ability to understand and parse images, thereby significantly improving the final semantic segmentation accuracy.
[0043] like Figure 2 The figure shows a schematic diagram of the Triplet Attention structure of the attention mechanism in the present invention.
[0044] In addition to the network model, the semantic segmentation algorithm should also include the preprocessing and postprocessing methods required to implement the function. The preprocessing method is implemented by the following steps:
[0045] Step 1: Manually define the region of interest and record the coordinate points of the region of interest as R1, R2, R3…R i ;
[0046] Step 2: intercept the original image according to the coordinates of the area of interest;
[0047] Step 3: Send the captured image to the neural network model for inference calculation;
[0048] The post-processing method is implemented by the following steps:
[0049] Step 1: According to R1, R2, R3…R i Draw the region of interest on the original image;
[0050] Step 2: According to R1, R2, R3…R i Position the output mask image to the original image area;
[0051] Step 3: Overlay the region of interest and the mask image on the original image to obtain the inference result image;
[0052] The loss function used by the semantic segmentation algorithm is:
[0053] L = λ1L1 + λ2L2;
[0054] Where λ1 is 0.7, λ2 is 0.3; L1 is calculated by the following formula:
[0055]
[0056] Where TP: the number of correctly predicted positive pixels; TN: the number of correctly predicted negative pixels; FP: the number of negative pixels incorrectly predicted as positive; FN: the number of positive pixels incorrectly predicted as negative. L2 is calculated by the following formula:
[0057]
[0058] Among them, M represents the number of categories, y c It is a one-dimensional vector, and its elements can only take values 0 and 1. If the category is the same as the sample category, it takes 1, otherwise it takes 0. c Indicates the probability that the predicted sample belongs to c; ω c =(NN c ) / n, N represents the total number of pixels, N c Represents the number of pixels covered by the true annotation area belonging to category c.
[0059] The coal flow calculation method is:
[0060]
[0061] Among them, S R It represents the coal flow area obtained by semantic segmentation within the specified region of interest, S represents the area of the specified region of interest, and f represents the number of video frames processed per second.
[0062] The method and control system for coal flow monitoring based on lightweight semantic segmentation of the present invention implements linkage control through a linkage control system in the following steps:
[0063] (1) The real-time coal flow is obtained from the core computing module, and it is determined whether the coal flow is greater than 1. When the coal flow is greater than 1, it is determined that the belt coal flow is overloaded, and a coal overload message is sent to the human-computer interaction end, and displayed on the mine-used intrinsically safe computer display end. At the same time, a signal to control the belt speed to increase is issued. When the belt overload exceeds the specified time threshold, a voice or sound and light alarm is issued to prompt the staff to deal with it in time, and an image capture is taken at the moment of the alarm.
[0064] (2) When the coal flow rate is greater than the specified normal coal flow threshold and less than 1, the belt coal flow is judged to be normal, and a normal coal flow message is sent to the human-computer interaction terminal and displayed on the mine-used intrinsically safe computer display terminal.
[0065] (3) When the coal flow rate is less than the specified normal coal flow threshold and greater than 0.1, the belt is judged to be low on coal, and a low-coal message is sent to the human-computer interaction terminal and displayed on the mine-used intrinsically safe computer display terminal. At the same time, a signal to control the belt speed to slow down is sent. When the belt is low on coal for more than the specified time threshold, a voice or sound and light alarm is issued to prompt the staff to handle it in time, and an image capture is taken at the moment of the alarm.
[0066] (4) When the coal flow rate is less than 0.1, the belt is judged to be unloaded, and an unloaded message is sent to the human-computer interaction terminal, and displayed on the mine-used intrinsically safe computer display terminal. At the same time, it is determined whether the time period is coal mining time. If it is coal mining time, a voice or sound and light alarm is issued to prompt the staff to deal with it in time, and an image is captured at the time of the alarm; if it is not coal mining time, a voice or sound and light alarm is issued to prompt the staff to deal with it in time, and an image is captured at the time of the alarm. If the staff does not deal with it after exceeding the specified time threshold, the belt will automatically stop.
[0067] like Figure 3 As shown, the workflow of the system of the present invention includes the following steps:
[0068] Step 1: The high-definition intrinsically safe camera collects coal flow video data and transmits the data to the edge computing gateway through the intrinsically safe signal converter;
[0069] Step 2: The edge computing gateway obtains the coal flow video data, and infers the coal flow video data through the semantic segmentation algorithm to obtain the coal flow video analysis results; at the same time, the original coal flow data and the inferred coal flow data are transmitted to the mine intrinsically safe computer through the intrinsically safe signal converter for real-time display;
[0070] Step 3: Calculate the real-time coal flow rate according to the coal flow rate calculation method and the coal flow video analysis result obtained by inference;
[0071] Step 4: Determine the current belt load state according to the calculated real-time coal flow and the linkage control method; at the same time, transmit the load state to the mine intrinsically safe computer through the intrinsically safe signal converter for real-time display;
[0072] Step 5: Based on the current load status, the signal for controlling the belt speed is sent through the intrinsically safe signal converter; at the same time, the signal for controlling the voice or sound and light alarm is sent through the intrinsically safe signal converter to control the operation of the voice or sound and light alarm.
[0073] Example 2: Based on Example 1, the inference core used by the edge computing gateway described in the present invention is the NVIDIA Jetson Xavier core; in addition to the inference core, it should also include other hardware necessary to realize the system functions, including but not limited to, an intrinsically safe signal converter for realizing data communication between the camera and the edge computing gateway; an intrinsically safe signal converter for realizing data communication between the edge computing gateway and the intrinsically safe computer for mining; an intrinsically safe signal converter for realizing data communication between the edge computing gateway and a voice or sound and light alarm; an intrinsically safe signal converter for realizing data communication between the edge computing gateway and the belt control system.
[0074] Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other implementation methods obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
Claims
1. A coal flow monitoring method and control system based on lightweight semantic segmentation, It is characterized in that It includes a data acquisition module, a core computing module and a human-computer interaction module. The data acquisition module includes a high-definition intrinsically safe camera and a fill light installed above the belt, and the coal flow video data is collected by the high-definition intrinsically safe camera; the core computing module includes an intrinsically safe edge computing gateway, a lightweight semantic segmentation system, a coal flow calculation system and a linkage control system embedded in the edge computing gateway; the human-computer interaction module includes an alarm, a computer host and a display, and a coal flow analysis interface is displayed through the host and the display. The coal flow analysis interface includes the coal flow video collected by the data acquisition module, and the coal flow data and related statistical information after the core computing module analyzes the coal flow video; The lightweight semantic segmentation system uses UNet3+ as the basic framework and adopts Mix Vision Transformer_b0 to replace some or all convolution blocks of the original UNet3+ framework in the encoding stage. On the premise of reducing parameters, it effectively extracts and integrates the global context features of the image, improves the representation ability of the model, deletes the original deep supervision structure of UNet3+, and makes the model more concise by reducing the amount of unnecessary parameters, so as to achieve rapid deployment and efficient operation under limited computing resources. The Triplet Attention mechanism is embedded in each jump connection point of UNet3+, which can take into account the channel dimension and spatial dimension information of the feature map, strengthen the interaction between features of different levels and dimensions, and further enhance the ability of the model to understand and parse images, thereby significantly improving the final semantic segmentation accuracy.
2. According to the coal flow monitoring method and control system based on lightweight semantic segmentation according to claim 1, It is characterized in that The coal flow video data is pre-processed and post-processed through a lightweight semantic segmentation system. The pre-treatment process includes: Step 1: Manually define the region of interest and record the coordinates of the region of interest as R 1 ,R 2 ,R 3 …R i ; Step 2: intercept the original image according to the coordinates of the area of interest; Step 3: Send the captured image to the neural network model for inference calculation; The post-processing process includes: Step 1: According to R 1 ,R 2 ,R 3 …R i Draw the region of interest on the original image; Step 2: According to R 1 ,R 2 ,R 3 …R i Position the output mask image to the original image area; Step 3: Overlay the region of interest and the mask image on the original image to obtain the inference result image.
3. According to the coal flow monitoring method and control system based on lightweight semantic segmentation according to claim 1, It is characterized in that The loss function used by the lightweight semantic segmentation system is: L=λ 1 L 1 +λ 2 L 2 ; where λ 1 is 0.7, λ 2 is 0.3; Where L 1 The calculation formula is: Where TP: the number of correctly predicted positive pixels; TN: the number of correctly predicted negative pixels; FP: the number of negative pixels incorrectly predicted as positive; FN: the number of positive pixels incorrectly predicted as negative. L 2 The calculation formula is: Among them, M represents the number of categories, y c It is a one-dimensional vector, and its elements can only take values 0 and 1. If the category is the same as the sample category, it takes 1, otherwise it takes 0. c Indicates the probability that the predicted sample belongs to c; ω c =(NN c ) / N, N represents the total number of pixels, N c Represents the number of pixels covered by the true annotation area belonging to category c.
4. According to claim 1, the coal flow monitoring method and control system based on lightweight semantic segmentation, It is characterized in that The formula for calculating coal flow by the lightweight semantic segmentation system is: Among them, S R It represents the coal flow area obtained by semantic segmentation within the specified region of interest, S represents the area of the specified region of interest, and f represents the number of video frames processed per second.
Citation Information
Cited By
Forearm blood vessel image segmentation method and device based on HAMU-Net deep learning network
CN119540273A
Underground coal mine belt conveyor coal flow segmentation system based on lightweight ViT
CN119832237A
Deep sea polymetallic sulfide deposit recognition system based on image enhancement and semantic segmentation
CN120599199A
