A closed coal shed fog cannon linkage control method and system based on image AI
By combining image AI and sensors, the pollution status of the closed coal shed can be intelligently judged, triggering the fog cannon control, solving the problems of excessive dust and dust pollution in the closed coal shed, and realizing fast and intelligent fog cannon control and pollution prevention.
Patent Information
- Application Number
- CN202411524154.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2044-10-30
AI Technical Summary
In the existing technology, the dust in the closed coal shed exceeds the standard and there is a lack of intelligent judgment on the timing of opening the fog cannon, which fails to effectively prevent dust pollution caused by large-scale heavy-duty vehicles.
A closed coal shed fog cannon linkage control method based on image AI is adopted. The image is collected by an industrial camera and preprocessed and binarized. Combined with the naive Bayes classifier and sensor information, the dust, humidity, temperature and weight conditions of the closed coal shed are intelligently judged to trigger the start or shutdown command of the fog cannon.
It realizes rapid and intelligent judgment and fully automated control of the status of closed coal sheds, timely early warning and pollution prevention, saves resources, and improves operating efficiency and environmental quality.
Smart Images

Figure CN119268029B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of fog cannon control, and in particular relates to an image AI-based closed coal shed fog cannon linkage control method and system. Background Art
[0002] Closed coal sheds are prone to excessive dust levels, impacting work efficiency and worker health. Fog cannons can use high pressure to atomize water into fine particles, creating a mist that reduces airborne dust. This significantly improves pollution levels within closed coal sheds, increases humidity, and reduces temperature. Fog cannons use less water and energy, achieving significant environmental improvements and meeting energy conservation and emission reduction requirements. Currently, there is no effective method for intelligently determining when and under what circumstances to activate fog cannons within closed coal sheds, and no effective measures have been taken to prevent dust pollution caused by mobile equipment such as large trucks entering closed coal sheds. The naive Bayes classifier is a classification algorithm based on Bayes' theorem and the conditional independence assumption of features. It assumes that all features are independent of each other, making the calculation simpler, more efficient, and more stable. It can be used to determine whether closed coal sheds are experiencing dust pollution. Summary of the Invention
[0003] In order to solve the above problems existing in the prior art, the present invention provides a closed coal shed fog cannon linkage control method and system based on image AI.
[0004] The purpose of the present invention can be achieved through the following technical solutions:
[0005] A closed coal shed fog cannon linkage control method based on image AI, the implementation of the closed coal shed fog cannon linkage control method includes the following steps:
[0006] Preset a monitoring period, collect an initial image of the closed coal shed using an industrial camera according to the monitoring period, pre-process the initial image of the closed coal shed to obtain a corrected image of the closed coal shed, wherein the wavelength of the industrial camera is less than 700 nm;
[0007] Binarizing the closed coal shed correction image to obtain a closed coal shed detection image;
[0008] Obtaining closed coal shed dust information according to the closed coal shed detection image, wherein the closed coal shed dust information includes closed coal shed dust pollution information and closed coal shed dust non-pollution information;
[0009] Obtaining closed coal shed humidity information according to the closed coal shed correction image, wherein the closed coal shed humidity information includes closed coal shed suitable humidity information and closed coal shed insufficient humidity information;
[0010] Acquire closed coal shed sensor information according to the monitoring period, the closed coal shed sensor information including closed coal shed temperature information and closed coal shed directional wind speed information, the closed coal shed temperature information including closed coal shed temperature exceeding standard information and closed coal shed temperature reaching standard information, and the closed coal shed directional wind speed information including closed coal shed wind speed positive feedback information and closed coal shed wind speed negative feedback information;
[0011] Acquiring weight information of the closed coal shed through a weight sensor, wherein the weight information of the closed coal shed includes overweight information of the closed coal shed and non-overweight information of the closed coal shed;
[0012] When three or more closed coal shed warning information is output within one monitoring cycle, the fog cannon first-level start instruction is triggered; when more than 0 but less than 3 closed coal shed warning information is output, the fog cannon second-level start instruction is triggered; when 0 closed coal shed warning information is output, the fog cannon shutdown instruction is triggered. The closed coal shed warning information includes the closed coal shed dust pollution information, the closed coal shed insufficient humidity information, the closed coal shed temperature exceeding the standard information, the closed coal shed wind speed negative feedback information, and the closed coal shed overweight information;
[0013] Synchronize the closed coal shed dust information, the closed coal shed humidity information, the closed coal shed sensor information, the closed coal shed weight information, the fog cannon first-level start instruction, and the fog cannon second-level start instruction to the user terminal.
[0014] Preferably, the binarization processing of the closed coal shed correction image to obtain the closed coal shed detection image includes:
[0015] Presetting a segmentation grayscale threshold, and segmenting the closed coal shed corrected image into a closed coal shed foreground and a closed coal shed background according to the segmentation grayscale threshold;
[0016] Obtaining the foreground ratio, background ratio, foreground average gray value, and background average gray value of the closed coal shed foreground and the closed coal shed background;
[0017] Calculating the total average grayscale value of the closed coal shed correction image;
[0018] Calculating the front-background variance according to the total average gray value;
[0019] When the foreground-background variance reaches a maximum value, the corresponding segmentation grayscale threshold is an optimal segmentation threshold, and the closed coal shed correction image is segmented according to the optimal segmentation threshold to obtain the closed coal shed detection image.
[0020] Preferably, obtaining the closed coal shed dust information based on the closed coal shed detection image includes:
[0021] A three-dimensional feature vector is obtained by extracting features of the closed coal shed detection image by constructing a gray level co-occurrence matrix, wherein the three-dimensional feature vector includes an energy value, an entropy value, and an inverse moment;
[0022] The dust information of the closed coal shed is obtained through a naive Bayes classifier according to the three-dimensional feature vector.
[0023] Preferably, the step of extracting features from the closed coal shed detection image by constructing a gray level co-occurrence matrix to obtain a three-dimensional feature vector comprises:
[0024] Dividing the closed coal shed detection image into windows, and constructing the gray-level co-occurrence matrix for each window;
[0025] Obtaining a histogram eigenvalue of the gray-level co-occurrence matrix, and calculating the energy value according to the histogram eigenvalue;
[0026] Calculating the entropy value according to the histogram eigenvalue;
[0027] The inverse moment is calculated according to the histogram eigenvalues.
[0028] Preferably, obtaining the closed coal shed humidity information according to the closed coal shed correction image includes:
[0029] A humidity control point in the closed coal shed is preset, and the humidity control point in the closed coal shed is located at a fixed position in the closed coal shed and at the far edge of the shooting range of the industrial camera;
[0030] Locating the position of the closed coal shed humidity control point in the closed coal shed correction image, and calculating the clarity of the closed coal shed humidity control point according to the grayscale value of the closed coal shed humidity control point;
[0031] Obtaining the clarity of the dry coal shed, where the clarity of the dry coal shed is the clarity of the humidity control point of the closed coal shed in a dry environment;
[0032] The humidity information of the closed coal shed is obtained by comparing the clarity of the humidity control point of the closed coal shed and the clarity of the dry coal shed. When the clarity of the humidity control point of the closed coal shed is less than 80% of the clarity of the dry coal shed, the suitable humidity information of the closed coal shed is output. When the clarity of the humidity control point of the closed coal shed is greater than or equal to 80% of the clarity of the dry coal shed, the insufficient humidity information of the closed coal shed is output.
[0033] Preferably, the acquiring of closed coal shed sensor information according to the monitoring period includes:
[0034] Acquire the temperature of the closed coal shed through the temperature sensor, preset a closed coal shed temperature threshold, and output information indicating that the closed coal shed temperature exceeds the limit when the closed coal shed temperature is greater than or equal to the closed coal shed temperature threshold; and output information indicating that the closed coal shed temperature meets the limit when the closed coal shed temperature is less than the closed coal shed temperature threshold;
[0035] The directional wind speed of the closed coal shed is obtained through the wind speed sensor and the wind direction sensor. The directional wind speed of the closed coal shed is the wind speed in the direction of water discharge from the fog cannon. A closed coal shed wind speed threshold is preset. When the directional wind speed of the closed coal shed is greater than or equal to the closed coal shed wind speed threshold, the positive feedback information of the closed coal shed wind speed is output. When the directional wind speed of the closed coal shed is less than the closed coal shed wind speed threshold, the negative feedback information of the closed coal shed wind speed is output.
[0036] Preferably, obtaining the weight information of the closed coal shed by using a weight sensor includes:
[0037] The weight of the mobile equipment of the closed coal shed is obtained by weight sensors arranged around the edge of the closed coal shed, and a weight threshold of the closed coal shed is preset. When the weight of the mobile equipment of the closed coal shed is greater than or equal to the weight threshold of the closed coal shed, the overweight information of the closed coal shed is output; when the weight of the mobile equipment of the closed coal shed is less than the weight threshold of the closed coal shed, the non-overweight information of the closed coal shed is output.
[0038] An image AI-based closed coal shed fog cannon linkage control system, used to implement the closed coal shed fog cannon linkage control method described above, including an image processing module, a closed coal shed warning module, and a fog cannon command trigger module;
[0039] The image processing module is used to preset a monitoring period, collect an initial image of the closed coal shed through an industrial camera according to the monitoring period, pre-process the initial image of the closed coal shed to obtain a closed coal shed correction image, and binarize the closed coal shed correction image to obtain a closed coal shed detection image;
[0040] The closed coal shed warning module is used to obtain closed coal shed dust information based on the closed coal shed detection image, the closed coal shed dust information includes closed coal shed dust pollution information and closed coal shed dust non-pollution information; obtain closed coal shed humidity information based on the closed coal shed correction image, the closed coal shed humidity information includes closed coal shed suitable humidity information and closed coal shed insufficient humidity information; obtain closed coal shed sensor information through the sensor according to the monitoring period, the closed coal shed sensor information includes closed coal shed temperature information and closed coal shed directional wind speed information, the closed coal shed temperature information includes closed coal shed temperature exceeding standard information and closed coal shed temperature reaching standard information, the closed coal shed directional wind speed information includes closed coal shed wind speed positive feedback information and closed coal shed wind speed negative feedback information; obtain closed coal shed weight information through the weight sensor, the closed coal shed weight information includes closed coal shed overweight information and closed coal shed not overweight information;
[0041] The fog cannon command trigger module is used to trigger the fog cannon first-level start-up command when 3 or more closed coal shed warning information are output within one monitoring cycle, trigger the fog cannon second-level start-up command when more than 0 and less than 3 closed coal shed warning information are output, and trigger the fog cannon shutdown command when 0 closed coal shed warning information is output. The closed coal shed warning information includes the closed coal shed dust pollution information, the closed coal shed insufficient humidity information, the closed coal shed temperature exceeding the standard information, the closed coal shed wind speed negative feedback information, and the closed coal shed overweight information.
[0042] An electronic device includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the program, the above-mentioned closed coal shed fog cannon linkage control method is implemented.
[0043] A storage medium containing computer executable instructions, which are used to execute the above-mentioned closed coal shed fog cannon linkage control method when executed by a computer processor.
[0044] The beneficial effects of the present invention are:
[0045] (1) By collecting the initial image of the closed coal shed and obtaining the closed coal shed correction image and closed coal shed detection image through AI processing, the closed coal shed warning information is finally obtained to trigger the fog cannon start command, realizing rapid and intelligent judgment of the closed coal shed status, and realizing fully automated triggering commands, timely warning and control of pollution and other conditions in the closed coal shed;
[0046] (2) The initial image of the closed coal shed is collected by an industrial camera with a wavelength less than 700 nm. The wavelength at this time cannot penetrate the water mist. When the air humidity is high, the image clarity will be reduced, which is convenient for judging whether the humidity of the closed coal shed is insufficient;
[0047] (3) The closed coal shed correction image is binarized to obtain the closed coal shed detection image, and the optimal segmentation threshold is reasonably selected to make the image foreground and background clearly distinguishable, which is convenient for subsequent image analysis;
[0048] (4) By constructing a gray-level co-occurrence matrix, the features of the closed coal shed detection image are extracted to obtain a three-dimensional feature vector. Based on the three-dimensional feature vector, the naive Bayes classifier is used to obtain the dust information of the closed coal shed. The trained model is used to quickly classify the image into two categories: polluted and unpolluted. The classification method is reasonable and efficient.
[0049] (5) The directional wind speed of the closed coal shed is obtained through the wind speed sensor and wind direction sensor. The directional wind speed of the closed coal shed is the wind speed in the direction of the fog cannon's water discharge. When the directional wind speed is large, it can assist the water mist of the fog cannon to spread in the closed coal shed. At this time, the operation intensity or frequency of the fog cannon can be appropriately reduced to achieve resource conservation;
[0050] (6) The weight of the mobile equipment in the closed coal shed is obtained by placing weight sensors around the edge of the closed coal shed. When overweight equipment enters the closed coal shed, an early warning can be given to avoid dust caused by the movement of overweight equipment, thus playing a preventive role. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] To facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.
[0052] Figure 1 This is a flowchart of the steps of the closed coal shed fog cannon linkage control method based on image AI of the present invention. DETAILED DESCRIPTION
[0053] In order to further illustrate the technical means and effects adopted by the present invention to achieve the predetermined purpose of the invention, the specific implementation methods, structures, features and effects of the present invention are described in detail below in conjunction with the accompanying drawings and preferred embodiments.
[0054] The working principle and use process of the present invention:
[0055] See also Figure 1 , a closed coal shed fog cannon linkage control method based on image AI, including:
[0056] S1: Preset a monitoring period, collect an initial image of the closed coal shed using an industrial camera according to the monitoring period, pre-process the initial image of the closed coal shed to obtain a corrected image of the closed coal shed, wherein the wavelength of the industrial camera is less than 700 nm, and the pre-processing includes but is not limited to image denoising, gamma correction, edge enhancement, and color correction;
[0057] S2: binarizing the closed coal shed correction image to obtain a closed coal shed detection image;
[0058] S3: Obtaining closed coal shed dust information according to the closed coal shed detection image, wherein the closed coal shed dust information includes closed coal shed dust pollution information and closed coal shed dust non-pollution information;
[0059] S4: obtaining closed coal shed humidity information according to the closed coal shed correction image, wherein the closed coal shed humidity information includes closed coal shed suitable humidity information and closed coal shed insufficient humidity information;
[0060] S5: acquiring closed coal shed sensing information through sensors according to the monitoring period, the sensors including a temperature sensor, a wind speed sensor, and a wind direction sensor, the closed coal shed sensing information including closed coal shed temperature information and closed coal shed directional wind speed information, the closed coal shed temperature information including closed coal shed temperature exceeding standard information and closed coal shed temperature reaching standard information, and the closed coal shed directional wind speed information including closed coal shed wind speed positive feedback information and closed coal shed wind speed negative feedback information;
[0061] S6: Obtaining weight information of the closed coal shed through a weight sensor, wherein the weight information of the closed coal shed includes overweight information of the closed coal shed and non-overweight information of the closed coal shed;
[0062] S7: When three or more closed coal shed warning information is output within one monitoring cycle, the fog cannon first-level start instruction is triggered; when more than 0 but less than 3 closed coal shed warning information is output, the fog cannon second-level start instruction is triggered; when 0 closed coal shed warning information is output, the fog cannon shutdown instruction is triggered. The closed coal shed warning information includes the closed coal shed dust pollution information, the closed coal shed insufficient humidity information, the closed coal shed temperature exceeding the standard information, the closed coal shed wind speed negative feedback information, and the closed coal shed overweight information. When the fog cannon first-level start instruction is triggered, the fog cannon operation intensity and operation frequency are high; when the fog cannon second-level start instruction is triggered, the fog cannon operation intensity and operation frequency are low;
[0063] S8: Synchronize the dust information of the closed coal shed, the humidity information of the closed coal shed, the sensor information of the closed coal shed, the weight information of the closed coal shed, the first-level start-up instruction of the fog cannon, and the second-level start-up instruction of the fog cannon to the user terminal.
[0064] In this embodiment, the closed coal shed correction image is binarized to obtain the closed coal shed detection image, which can be specifically implemented by the following steps:
[0065] S201: Preset a segmentation grayscale threshold, and segment the closed coal shed corrected image into a closed coal shed foreground and a closed coal shed background according to the segmentation grayscale threshold;
[0066] S202: Obtaining a foreground ratio, a background ratio, a foreground average grayscale value, and a background average grayscale value of the closed coal shed foreground and the closed coal shed background, wherein the foreground ratio is the ratio of the closed coal shed foreground to the closed coal shed corrected image, and the background ratio is the ratio of the closed coal shed background to the closed coal shed corrected image;
[0067] S203: Calculate the total average grayscale value of the closed coal shed correction image, using the following formula: u=w0u0+w1u1, where u is the total average grayscale value, w0 is the foreground ratio, u0 is the foreground average grayscale value, w1 is the background ratio, and u1 is the background average grayscale value;
[0068] S204: Calculate the foreground and background variance based on the total average gray value. The calculation formula is S 2 =w0(u0-u) 2 +w1(u1-u) 2 , where S 2 is the foreground-background variance;
[0069] S205: When the foreground-background variance reaches a maximum value, the corresponding segmentation grayscale threshold is the optimal segmentation threshold. The closed coal shed correction image is segmented according to the optimal segmentation threshold to obtain the closed coal shed detection image, so that the image foreground and background are significantly distinguished, which is convenient for subsequent image analysis.
[0070] In this embodiment, the closed coal shed dust information is obtained based on the closed coal shed detection image, and the closed coal shed dust information includes closed coal shed dust pollution information and closed coal shed dust non-pollution information. Specifically, the following steps can be performed:
[0071] S301: extracting features from the closed coal shed detection image by constructing a gray-level co-occurrence matrix to obtain a three-dimensional feature vector, wherein the three-dimensional feature vector includes an energy value, an entropy value, and an inverse moment;
[0072] S302: Obtaining dust information of the closed coal shed using a naive Bayes classifier according to the three-dimensional feature vector;
[0073] The posterior probability is obtained through the prior probability, conditional probability, and marginal probability. The prior probability is the probability of the closed coal shed dust pollution information and the closed coal shed dust-free information when it does not depend on the three-dimensional feature vector. The conditional probability is the probability of the three-dimensional feature vector appearing under the closed coal shed dust pollution information and the closed coal shed dust-free information. The marginal probability is the total probability of the three-dimensional feature vector appearing. The posterior probability is the probability of the closed coal shed dust pollution information and the closed coal shed dust-free information appearing given the three-dimensional feature vector. When the posterior probability of the closed coal shed dust pollution information of the closed coal shed detection image is greater, the closed coal shed dust pollution information is output. When the posterior probability of the closed coal shed dust-free information of the closed coal shed detection image is greater, the closed coal shed dust pollution information is output.
[0074] In this embodiment, a gray-level co-occurrence matrix is constructed to extract features from the closed coal shed detection image to obtain a three-dimensional feature vector. The three-dimensional feature vector includes an energy value, an entropy value, and an inverse moment. Specifically, the following steps can be performed:
[0075] S301-1: Divide the closed coal shed detection image into windows of 16×16 pixel size, and construct the gray-level co-occurrence matrix for each window. The gray-level co-occurrence matrix has a direction angle of 0 degree, a sliding window step size of 3, and a grayscale value range of [0-16];
[0076] S301-2: Obtain the histogram eigenvalues of the gray-level co-occurrence matrix, where the histogram eigenvalues include but are not limited to brightness distribution, contrast, and saturation. Calculate the energy value based on the histogram eigenvalues. The calculation formula is: Where E is the energy value, H is the histogram eigenvalue, L is the maximum value of the grayscale value range, which is 16, and i is the grayscale value;
[0077] S301-3: Calculate the entropy value according to the histogram eigenvalues. The calculation formula is: Where T is the entropy value;
[0078] S301-4: Calculate the inverse moment according to the histogram eigenvalues. The calculation formula is: Among them, D is the inverse moment, d is the sliding window step size, θ is the direction angle, and i and j are two adjacent different grayscale values.
[0079] In this embodiment, the closed coal shed humidity information is obtained based on the closed coal shed correction image, and the closed coal shed humidity information includes closed coal shed suitable humidity information and closed coal shed insufficient humidity information. Specifically, the following steps can be performed:
[0080] S401: Preset a humidity control point in the closed coal shed. The humidity control point is located at a fixed position in the closed coal shed and at the far edge of the industrial camera's shooting range. It can be a point on the ground, a point on a fixed device, a point on a sticker, or a point on a lamp.
[0081] S402: Locate the position of the closed coal shed humidity control point in the closed coal shed correction image, and calculate the clarity of the closed coal shed humidity control point according to the grayscale value of the closed coal shed humidity control point. The calculation formula is Y=∑ x ∑ y [f(x+2,y)-f(x,y)] 2 , where Y is the clarity of the closed coal shed humidity control point, f(x,y) is the grayscale value of the closed coal shed humidity control point, and f(x+2,y) is the grayscale value of the 2 unit points away from the closed coal shed humidity control point;
[0082] S403: Acquire the clarity of the dry coal shed, where the clarity of the dry coal shed is the clarity of the humidity control point of the closed coal shed in a dry environment;
[0083] S404: The humidity information of the closed coal shed is obtained by comparing the clarity of the humidity control point of the closed coal shed and the clarity of the dry coal shed. Wavelengths below 700nm cannot penetrate water mist. When the air humidity is high, the image clarity will be reduced, which is convenient for judging whether the humidity of the closed coal shed is insufficient. When the clarity of the humidity control point of the closed coal shed is less than 80% of the clarity of the dry coal shed, the suitable humidity information of the closed coal shed is output. When the clarity of the humidity control point of the closed coal shed is greater than or equal to 80% of the clarity of the dry coal shed, the insufficient humidity information of the closed coal shed is output.
[0084] In this embodiment, the closed coal shed sensor information is obtained by the sensor according to the monitoring period, which can be specifically implemented by the following steps:
[0085] S501: Acquire the temperature of the closed coal shed through the temperature sensor, preset a closed coal shed temperature threshold, and output information indicating that the closed coal shed temperature exceeds the limit when the closed coal shed temperature is greater than or equal to the closed coal shed temperature threshold; and output information indicating that the closed coal shed temperature meets the limit when the closed coal shed temperature is less than the closed coal shed temperature threshold;
[0086] S502: Obtain the directional wind speed of the closed coal shed through the wind speed sensor and the wind direction sensor. The directional wind speed of the closed coal shed is the wind speed in the direction of water discharge from the fog cannon. When the wind direction is opposite to the direction of water discharge from the fog cannon, the directional wind speed of the closed coal shed is negative. A closed coal shed wind speed threshold is preset. The closed coal shed wind speed threshold is greater than 0. When the directional wind speed of the closed coal shed is greater than or equal to the closed coal shed wind speed threshold, the positive feedback information of the closed coal shed wind speed is output. When the directional wind speed of the closed coal shed is less than the closed coal shed wind speed threshold, the negative feedback information of the closed coal shed wind speed is output. When the directional wind speed is larger, the water mist of the fog cannon can be assisted to diffuse in the closed coal shed. At this time, the operation intensity or frequency of the fog cannon can be appropriately reduced to achieve resource saving.
[0087] In this embodiment, the weight information of the closed coal shed is obtained by a weight sensor, and the weight information of the closed coal shed includes overweight information of the closed coal shed and non-overweight information of the closed coal shed. Specifically, the following steps can be performed:
[0088] The weight of the mobile equipment in the closed coal shed is obtained by weight sensors arranged around the edge of the closed coal shed. When overweight equipment enters the closed coal shed, an early warning can be given to avoid dust caused by the movement of overweight equipment, which plays a preventive role. The weight of the mobile equipment in the closed coal shed is the weight of the mobile equipment entering the closed coal shed. The mobile equipment includes but is not limited to load vehicles, boxes, work vehicles, and mobile equipment facilities. A closed coal shed weight threshold is preset. When the weight of the mobile equipment in the closed coal shed is greater than or equal to the weight threshold of the closed coal shed, the closed coal shed overweight information is output. When the weight of the mobile equipment in the closed coal shed is less than the weight threshold of the closed coal shed, the closed coal shed is not overweight information.
[0089] An image AI-based closed coal shed fog cannon linkage control system, including an image processing module, a closed coal shed warning module, and a fog cannon command trigger module;
[0090] The image processing module is used to preset a monitoring period, collect an initial image of the closed coal shed through an industrial camera according to the monitoring period, pre-process the initial image of the closed coal shed to obtain a closed coal shed correction image, and binarize the closed coal shed correction image to obtain a closed coal shed detection image;
[0091] The closed coal shed warning module is used to obtain closed coal shed dust information based on the closed coal shed detection image, the closed coal shed dust information includes closed coal shed dust pollution information and closed coal shed dust non-pollution information; obtain closed coal shed humidity information based on the closed coal shed correction image, the closed coal shed humidity information includes closed coal shed suitable humidity information and closed coal shed insufficient humidity information; obtain closed coal shed sensor information through the sensor according to the monitoring period, the closed coal shed sensor information includes closed coal shed temperature information and closed coal shed directional wind speed information, the closed coal shed temperature information includes closed coal shed temperature exceeding standard information and closed coal shed temperature reaching standard information, the closed coal shed directional wind speed information includes closed coal shed wind speed positive feedback information and closed coal shed wind speed negative feedback information; obtain closed coal shed weight information through the weight sensor, the closed coal shed weight information includes closed coal shed overweight information and closed coal shed not overweight information;
[0092] The fog cannon command trigger module is used to trigger the fog cannon first-level start-up command when 3 or more closed coal shed warning information are output within one monitoring cycle, trigger the fog cannon second-level start-up command when more than 0 and less than 3 closed coal shed warning information are output, and trigger the fog cannon shutdown command when 0 closed coal shed warning information is output. The closed coal shed warning information includes the closed coal shed dust pollution information, the closed coal shed insufficient humidity information, the closed coal shed temperature exceeding the standard information, the closed coal shed wind speed negative feedback information, and the closed coal shed overweight information.
[0093] The computer storage medium of the embodiment of the present invention may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device.
[0094] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0095] The program code included in the computer-readable medium can be transmitted with any appropriate medium, including but not limited to wireless, electric wire, optical cable, RF or the like, or any suitable combination thereof. The computer program code for performing the operation of the present invention can be written in one or more programming languages or a combination thereof, and the programming language includes an object-oriented programming language such as Java, Smalltalk, C++, and also includes a conventional procedural programming language such as "C" language or similar programming language. The program code can be executed completely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, utilizing an Internet service provider to connect through the Internet).
[0096] The above description is merely a preferred embodiment of the present invention and does not constitute any form of limitation to the present invention. Although the present invention has been disclosed as a preferred embodiment as above, it is not intended to limit the present invention. Any person skilled in the art can make some changes or modifications to equivalent embodiments using the technical contents disclosed above without departing from the scope of the technical solution of the present invention. However, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention are still within the scope of the technical solution of the present invention.
Claims
1. A closed coal shed fog cannon linkage control method based on image AI, characterized in that: The implementation of the closed coal shed fog cannon linkage control method includes the following steps: Preset a monitoring period, collect an initial image of the closed coal shed using an industrial camera according to the monitoring period, pre-process the initial image of the closed coal shed to obtain a corrected image of the closed coal shed, wherein the wavelength of the industrial camera is less than 700 nm; Binarizing the closed coal shed correction image to obtain a closed coal shed detection image; Obtaining closed coal shed dust information according to the closed coal shed detection image, wherein the closed coal shed dust information includes closed coal shed dust pollution information and closed coal shed dust non-pollution information; Obtaining closed coal shed humidity information according to the closed coal shed correction image, wherein the closed coal shed humidity information includes closed coal shed suitable humidity information and closed coal shed insufficient humidity information; Acquire closed coal shed sensor information according to the monitoring period, the closed coal shed sensor information including closed coal shed temperature information and closed coal shed directional wind speed information, the closed coal shed temperature information including closed coal shed temperature exceeding standard information and closed coal shed temperature reaching standard information, and the closed coal shed directional wind speed information including closed coal shed wind speed positive feedback information and closed coal shed wind speed negative feedback information; Acquiring weight information of the closed coal shed through a weight sensor, wherein the weight information of the closed coal shed includes overweight information of the closed coal shed and non-overweight information of the closed coal shed; When three or more closed coal shed warning information is output within one monitoring cycle, the fog cannon first-level start instruction is triggered; when more than 0 but less than 3 closed coal shed warning information is output, the fog cannon second-level start instruction is triggered; when 0 closed coal shed warning information is output, the fog cannon shutdown instruction is triggered. The closed coal shed warning information includes the closed coal shed dust pollution information, the closed coal shed insufficient humidity information, the closed coal shed temperature exceeding the standard information, the closed coal shed wind speed negative feedback information, and the closed coal shed overweight information; Synchronize the closed coal shed dust information, the closed coal shed humidity information, the closed coal shed sensor information, the closed coal shed weight information, the fog cannon first-level start instruction, and the fog cannon second-level start instruction to the user terminal.
2. The closed coal shed fog cannon linkage control method according to claim 1, characterized in that: The binarization processing of the closed coal shed correction image to obtain the closed coal shed detection image includes: Presetting a segmentation grayscale threshold, and segmenting the closed coal shed corrected image into a closed coal shed foreground and a closed coal shed background according to the segmentation grayscale threshold; Obtaining the foreground ratio, background ratio, foreground average gray value, and background average gray value of the closed coal shed foreground and the closed coal shed background; Calculating the total average grayscale value of the closed coal shed correction image; Calculating the front-background variance according to the total average gray value; When the foreground-background variance reaches a maximum value, the corresponding segmentation grayscale threshold is an optimal segmentation threshold, and the closed coal shed correction image is segmented according to the optimal segmentation threshold to obtain the closed coal shed detection image.
3. The closed coal shed fog cannon linkage control method according to claim 1, characterized in that: The obtaining of the closed coal shed dust information according to the closed coal shed detection image includes: A three-dimensional feature vector is obtained by extracting features of the closed coal shed detection image by constructing a gray level co-occurrence matrix, wherein the three-dimensional feature vector includes an energy value, an entropy value, and an inverse moment; The dust information of the closed coal shed is obtained through a naive Bayes classifier according to the three-dimensional feature vector.
4. The closed coal shed fog cannon linkage control method according to claim 3, characterized in that: The step of extracting features from the closed coal shed detection image by constructing a gray level co-occurrence matrix to obtain a three-dimensional feature vector comprises: Dividing the closed coal shed detection image into windows, and constructing the gray-level co-occurrence matrix for each window; Obtaining a histogram eigenvalue of the gray-level co-occurrence matrix, and calculating the energy value according to the histogram eigenvalue; Calculating the entropy value according to the histogram eigenvalue; The inverse moment is calculated according to the histogram eigenvalues.
5. The closed coal shed fog cannon linkage control method according to claim 1, characterized in that: The obtaining of the closed coal shed humidity information according to the closed coal shed correction image includes: A humidity control point in the closed coal shed is preset, and the humidity control point in the closed coal shed is located at a fixed position in the closed coal shed and at the far edge of the shooting range of the industrial camera; Locating the position of the closed coal shed humidity control point in the closed coal shed correction image, and calculating the clarity of the closed coal shed humidity control point according to the grayscale value of the closed coal shed humidity control point; Obtaining the clarity of the dry coal shed, where the clarity of the dry coal shed is the clarity of the humidity control point of the closed coal shed in a dry environment; The humidity information of the closed coal shed is obtained by comparing the clarity of the humidity control point of the closed coal shed and the clarity of the dry coal shed. When the clarity of the humidity control point of the closed coal shed is less than 80% of the clarity of the dry coal shed, the suitable humidity information of the closed coal shed is output. When the clarity of the humidity control point of the closed coal shed is greater than or equal to 80% of the clarity of the dry coal shed, the insufficient humidity information of the closed coal shed is output.
6. The closed coal shed fog cannon linkage control method according to claim 1, characterized in that: The obtaining of closed coal shed sensor information according to the monitoring period includes: Acquire the temperature of the closed coal shed through a temperature sensor, preset a closed coal shed temperature threshold, and output information indicating that the closed coal shed temperature exceeds a certain limit when the closed coal shed temperature is greater than or equal to the closed coal shed temperature threshold; and output information indicating that the closed coal shed temperature meets a certain limit when the closed coal shed temperature is less than the closed coal shed temperature threshold; The directional wind speed of the closed coal shed is obtained through a wind speed sensor and a wind direction sensor. The directional wind speed of the closed coal shed is the wind speed in the direction of water discharge from the fog cannon. A closed coal shed wind speed threshold is preset. When the directional wind speed of the closed coal shed is greater than or equal to the closed coal shed wind speed threshold, the positive feedback information of the closed coal shed wind speed is output. When the directional wind speed of the closed coal shed is less than the closed coal shed wind speed threshold, the negative feedback information of the closed coal shed wind speed is output.
7. The closed coal shed fog cannon linkage control method according to claim 1, characterized in that: The method of obtaining the weight information of the closed coal shed by using the weight sensor includes: The weight of the mobile equipment of the closed coal shed is obtained by weight sensors arranged around the edge of the closed coal shed, and a weight threshold of the closed coal shed is preset. When the weight of the mobile equipment of the closed coal shed is greater than or equal to the weight threshold of the closed coal shed, the overweight information of the closed coal shed is output; when the weight of the mobile equipment of the closed coal shed is less than the weight threshold of the closed coal shed, the non-overweight information of the closed coal shed is output.
8. A closed coal shed fog cannon linkage control system based on image AI, characterized in that: The system is applied to the closed coal shed fog cannon linkage control method as described in any one of claims 1 to 7, comprising an image processing module, a closed coal shed warning module, and a fog cannon command trigger module; The image processing module is used to preset a monitoring period, collect an initial image of the closed coal shed through an industrial camera according to the monitoring period, pre-process the initial image of the closed coal shed to obtain a closed coal shed correction image, and binarize the closed coal shed correction image to obtain a closed coal shed detection image; The closed coal shed warning module is used to obtain closed coal shed dust information based on the closed coal shed detection image, the closed coal shed dust information includes closed coal shed dust pollution information and closed coal shed dust non-pollution information; obtain closed coal shed humidity information based on the closed coal shed correction image, the closed coal shed humidity information includes closed coal shed suitable humidity information and closed coal shed insufficient humidity information; obtain closed coal shed sensor information through the sensor according to the monitoring period, the closed coal shed sensor information includes closed coal shed temperature information and closed coal shed directional wind speed information, the closed coal shed temperature information includes closed coal shed temperature exceeding standard information and closed coal shed temperature reaching standard information, the closed coal shed directional wind speed information includes closed coal shed wind speed positive feedback information and closed coal shed wind speed negative feedback information; obtain closed coal shed weight information through the weight sensor, the closed coal shed weight information includes closed coal shed overweight information and closed coal shed not overweight information; The fog cannon command trigger module is used to trigger the fog cannon first-level start-up command when 3 or more closed coal shed warning information are output within one monitoring cycle, trigger the fog cannon second-level start-up command when more than 0 and less than 3 closed coal shed warning information are output, and trigger the fog cannon shutdown command when 0 closed coal shed warning information is output. The closed coal shed warning information includes the closed coal shed dust pollution information, the closed coal shed insufficient humidity information, the closed coal shed temperature exceeding the standard information, the closed coal shed wind speed negative feedback information, and the closed coal shed overweight information.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the closed coal shed fog cannon linkage control method as described in any one of claims 1-7 is implemented.
10. A storage medium containing computer-executable instructions, characterized in that: The computer executable instructions are used to execute the closed coal shed fog cannon linkage control method as described in any one of claims 1 to 7 when executed by a computer processor.
Citation Information
Patent Citations
Application of fog gun machine to dust closed-loop control and video linkage in Internet of Things
CN114513627A
Intelligent dustproof dust-settling device for closed coal bunker
CN209554014U