Coal bunker safety monitoring and early warning method and system based on artificial intelligence
By constructing an isolated forest that considers time series continuity and calculating anomaly scores, the problem that the isolated forest cannot monitor continuous abnormal changes is solved, and timely identification and early warning of hidden safety hazards in the coal bunker are achieved.
Patent Information
- Application Number
- CN202410900031.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-05
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-07-05
AI Technical Summary
The existing isolated forest method cannot accurately monitor the continuous abnormal changes in coal bunker environmental data, resulting in the inability to conduct timely coal bunker safety warnings.
An artificial intelligence-based coal bunker safety monitoring and early warning method is used to construct an isolated forest that considers the temporal continuity of data points. The difference and number of leaf nodes are considered when calculating the abnormality score of environmental data points to avoid noise interference and identify continuous abnormal changes.
It achieves accurate identification of continuous abnormal changes in coal bunker environmental data, improves the timely discovery and early warning capabilities of potential safety hazards, and avoids the problem of noise misidentification.
Smart Images

Figure CN118447666B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of safety early warning technology, and in particular to a coal bunker safety monitoring and early warning method and system based on artificial intelligence. Background Art
[0002] Coal bunkers are important equipment for storing coal. Coal is a flammable substance. Long-term storage will increase the temperature of the coal. When the temperature of the coal reaches a certain value, if the content of combustible gases such as oxygen in the coal bunker reaches the combustible concentration range, the coal is very likely to spontaneously combust. The smoke in the coal bunker can form an explosive mixture under appropriate conditions, such as a combustible coal dust cloud in the air. Once these mixtures encounter a fire source, they will cause a coal dust explosion, causing serious injuries and damage. Therefore, it is necessary to monitor environmental data such as the temperature, combustible gas concentration, and smoke concentration in the coal bunker in order to promptly discover and eliminate safety hazards in the coal bunker.
[0003] Isolation forest is an unsupervised anomaly detection method suitable for continuous data, which can be used to identify anomalies in data. For example, the patent document with publication number "CN117315913A" and name "A smoke gas early warning method based on TPE-SAM-XGBoost" discloses: collecting smoke gas data sets, first using Z scores to scale the data, and then using isolation forests to detect and remove outliers in the scaled data sets, building a TPE-SAM-XGBoost model, using TPE to find the optimal solution for XGBoost hyperparameters, and dynamically adjusting weights through SAM, building a model to predict the data of the data set at the next moment, analyzing whether the predicted data exceeds the threshold, and achieving early warning.
[0004] However, Isolation Forest can only identify independent anomalies or sudden anomalies in environmental data, such as noise data. Abnormal changes in environmental data such as temperature, combustible gas concentration, and smoke concentration are continuous changes. Isolation Forest cannot accurately monitor continuous abnormal changes, resulting in the inability to provide timely coal bunker safety warnings. Summary of the invention
[0005] In order to solve the problem that isolated forests cannot accurately monitor continuous abnormal changes in environmental data, resulting in the inability to provide timely coal bunker safety warnings, the present invention provides a coal bunker safety monitoring and early warning method and system based on artificial intelligence.
[0006] In the first aspect, the present invention provides a coal bunker safety monitoring and early warning method based on artificial intelligence, which adopts the following technical solutions:
[0007] The coal bunker safety monitoring and early warning method based on artificial intelligence includes the following steps:
[0008] Collect environmental data points at each monitoring point in the coal bunker at each moment, wherein the environmental data points contain data of multiple feature dimensions; for any monitoring point, use the environmental data points at each moment as data samples, and construct an isolated forest based on the data samples. During the construction process, for each isolated tree, when the nodes are divided according to the split value of the random feature dimension, all environmental data points contained in each child node obtained by the division are continuous in time series, and the data of all environmental data points in the child node in the random feature dimension are all less than the split value, or are not less than the split value; obtain the abnormal score of the environmental data point at the current moment based on the difference between the leaf node where the environmental data point at the current moment is located and the remaining leaf nodes in each isolated tree, the layer depth of the leaf node where the environmental data point is located, and the number of environmental data points contained in the leaf node where the environmental data point is located, and the abnormal score is positively correlated with the difference and the number of environmental data points, and negatively correlated with the layer depth of the leaf node; determine the state of the monitoring point based on the size of the abnormal score of the environmental data point at the current moment, and issue a safety warning based on the state.
[0009] The effects are as follows: in the process of constructing the isolated forest, the present invention takes into account the continuity of the data points in time series, so that the continuous abnormal changes in the environmental data can be identified, and the safety hazards of the coal bunker can be discovered in time and warned; when calculating the abnormal score of the environmental data point at the current moment, the present invention takes into account the difference between the leaf node where the environmental data point at the current moment is located in each isolated tree and the other leaf nodes, avoiding the normal fluctuation of the environmental data point causing the abnormal score of the environmental data point at the current moment to be large, making the calculation of the abnormal score more accurate; when calculating the abnormal score of the environmental data point at the current moment, the present invention takes into account the number of environmental data points contained in the leaf node where the environmental data point at the current moment is located, avoiding the change of the environmental data point at the current moment caused by noise from being mistakenly identified as an abnormality, thereby making the abnormal score more accurate and making the identification and warning of the safety hazards of the coal bunker more timely.
[0010] In one embodiment, the plurality of characteristic dimensions include: temperature, combustible gas concentration, carbon monoxide concentration, and smoke concentration.
[0011] In one embodiment, a method for obtaining the difference between the leaf node where the environmental data point at the current moment is located and the remaining leaf nodes in each isolated tree is as follows: taking the centroid of all environmental data points contained in each leaf node in the isolated tree as the representative data point of each leaf node; obtaining the average value of the distance between the representative data point of the leaf node where the environmental data point at the current moment is located and the representative data point of each of the remaining leaf nodes, normalizing the average value, and obtaining the difference between the leaf node where the environmental data point at the current moment is located and the remaining leaf nodes.
[0012] The effect is that by measuring the difference between the leaf node where the environmental data point at the current moment is located in each isolated tree and the other leaf nodes, the normal fluctuation of the environmental data point is avoided to cause the abnormal score of the environmental data point at the current moment to be large, making the subsequent calculation of the abnormal score more accurate.
[0013] In one embodiment, a method for obtaining the difference between the leaf node where the environmental data point at the current moment is located in each isolated tree and the remaining leaf nodes is as follows: for each leaf node in the isolated tree, all environmental data points contained in the leaf node are arranged into a data point sequence in time series; the DTW distance between the data point sequence of the leaf node where the environmental data point at the current moment is located and the data point sequence of each remaining leaf node is calculated, and the mean of all the obtained DTW distances is normalized as the difference between the leaf node where the environmental data point at the current moment is located and the remaining leaf nodes.
[0014] In one embodiment, the abnormal score of the environmental data point at the current moment satisfies the expression: ;in, Indicates the anomaly score of the environmental data point at the current moment; Indicates the layer depth of the leaf node where the environmental data point at the current moment is located in the i-th isolated tree; i represents the sequence number of the isolated tree; represents the height of the i-th isolated tree; Indicates the difference between the leaf node where the environmental data point at the current moment is located and the other leaf nodes in the i-th isolated tree; Indicates the number of environmental data points contained in the leaf node where the environmental data point at the current moment in the ith isolated tree is located; Represents the number of isolated trees.
[0015] The effect is that the anomaly score comprehensively considers the difference between the leaf node where the environmental data point at the current moment is located in each isolated tree and the other leaf nodes, the layer depth of the leaf node, and the number of environmental data points contained in the leaf node, avoiding the interference of noise points and more accurately identifying continuous abnormal changes in environmental data.
[0016] In one embodiment, the abnormal score of the environmental data point at the current moment satisfies the expression: ;in, Indicates the anomaly score of the environmental data point at the current moment; Indicates the layer depth of the leaf node where the environmental data point at the current moment is located in the i-th isolated tree; i represents the sequence number of the isolated tree; represents the height of the i-th isolated tree; Indicates the difference between the leaf node where the environmental data point at the current moment is located and the other leaf nodes in the i-th isolated tree; Indicates the number of environmental data points contained in the leaf node where the environmental data point at the current moment in the ith isolated tree is located; represents the number of isolated trees; Represents the number of leaf nodes in the i-th isolated tree; represents the average number of leaf nodes in all isolated trees; exp() represents an exponential function with a natural constant as the base.
[0017] The effect is that when there are too many leaf nodes in an isolated tree, it means that the random segmentation value is improperly selected, resulting in similar environmental data points being too dispersed and the segmentation effect being poor. Therefore, when calculating the abnormality score of the environmental data point at the current moment, the present invention sets different weights for each isolated tree according to the number of leaf nodes in the isolated tree, so that the final abnormality score is more accurate.
[0018] In one embodiment, the state of the monitoring point is determined based on the size of the abnormality score of the environmental data point at the current moment, and a safety warning is issued based on the state, including: in response to the abnormality score of the environmental data point of the monitoring point at the current moment being greater than a preset abnormality threshold, it is considered that the monitoring point is abnormal, a safety warning is issued, and the staff is reminded to conduct a safety hazard inspection.
[0019] In one embodiment, the state of the monitoring point is determined, and a safety warning is issued according to the state, including: a preset diffusion range, in response to the abnormality score of the environmental data point of the current monitoring point at the current moment being greater than a preset abnormality threshold, and the difference in the abnormality score of the environmental data point of the current monitoring point and each monitoring point within its diffusion range at the current moment being greater than a preset difference threshold, it is considered that the sensor measurement of the current monitoring point is abnormal, and a sensor fault alarm is issued; in response to the abnormality score of the environmental data point of the current monitoring point at the current moment being greater than a preset abnormality threshold, and within the diffusion range of the current monitoring point, there is a monitoring point where the difference in the abnormality score of the environmental data point at the current moment between the current monitoring point and the current monitoring point is not greater than a preset difference threshold, it is considered that the environmental state of the current monitoring point is abnormal, a safety warning is issued, and the staff is reminded to conduct a safety hazard inspection.
[0020] The effect is that when making safety warnings, the diffusion characteristics of temperature, gas, and smoke in environmental data are taken into account. According to the difference between the abnormal scores of environmental data points of different monitoring points at the current moment, it is judged whether the abnormality of the environmental data point of the current monitoring point at the current moment is caused by sensor failure, or whether it is a safety hazard caused by improper coal storage, and different early warning measures are taken to enable coal bunker safety hazards to be discovered and dealt with more promptly.
[0021] In the second aspect, the present invention provides a coal bunker safety monitoring and early warning system based on artificial intelligence, which adopts the following technical solutions:
[0022] The coal bunker safety monitoring and early warning system based on artificial intelligence includes: a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the above-mentioned coal bunker safety monitoring and early warning method based on artificial intelligence is implemented.
[0023] By adopting the above technical solution, the above-mentioned coal bunker safety monitoring and early warning method based on artificial intelligence is generated into a computer program and stored in a memory to be loaded and executed by a processor, so that a terminal device is made according to the memory and the processor for easy use.
[0024] The present invention has the following technical effects: the present invention can identify continuous abnormal changes in environmental data, avoid noise interference, and more accurately identify continuous abnormal changes caused by safety hazards caused by improper coal storage, thereby improving the timeliness of identifying and warning safety hazards in coal bunkers. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present invention will become readily understood. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-restrictive manner, and the same or corresponding reference numerals represent the same or corresponding parts.
[0026] Figure 1 It is a flow chart of a coal bunker safety monitoring and early warning method based on artificial intelligence according to an embodiment of the present invention. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0028] It should be understood that when the terms "first", "second", etc. are used in the claims, descriptions, and drawings of the present invention, they are only used to distinguish different objects, rather than to describe a specific order. The terms "include" and "comprise" used in the description and claims of the present invention indicate the presence of the described features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their collections.
[0029] The embodiment of the present invention discloses a coal bunker safety monitoring and early warning method based on artificial intelligence, referring to Figure 1 , comprising steps S1 to S4:
[0030] S1: Collect environmental data points of each monitoring point in the coal bunker at every moment.
[0031] Multiple monitoring points are set up in the coal bunker, and each monitoring point is evenly distributed. Temperature sensors, combustible gas monitors, and smoke sensors are deployed at each monitoring point to measure the temperature, various combustible gas concentrations, carbon monoxide concentrations, smoke concentrations, etc. at each monitoring point at any time through sensors.
[0032] The temperature, concentrations of various combustible gases, carbon monoxide concentration, smoke concentration, etc. of each monitoring point at each moment constitute the environmental data points of each monitoring point at each moment.
[0033] At this point, the collection of environmental data at each monitoring point has been realized, and the environmental data points of each monitoring point at each moment have been obtained.
[0034] S2: Construct an isolation forest for each monitoring point. During the construction process, for each isolated tree, when dividing the node according to the random split value, the environmental data points that are continuous in time series and have the same size relationship with the split value are divided into a child node.
[0035] It should be noted that the isolation forest is an unsupervised anomaly detection method suitable for continuous data. In the process of constructing the isolation forest, the data sample constitutes a root node, a feature dimension is randomly selected at the root node, and a split value is randomly selected between the maximum and minimum values of the feature dimension, and then the data sample is divided into two child nodes according to the split value, and an isolated tree is generated by continuously iterating the segmentation of each child node, and multiple isolated trees form an isolated forest. Isolated abnormal points that are significantly different from normal data points and are relatively small in number can usually be located in the shallower layer of the isolated tree, so the isolation forest can filter out isolated abnormal points. The abnormal temperature, gas concentration, and smoke concentration in the coal bunker change continuously over a period of time, and the number of corresponding abnormal data points is not small. The use of the isolation forest cannot filter out these data points that continue to change abnormally. Therefore, the present invention adds time series considerations in the process of constructing the isolation forest so that continuous abnormal changes can be filtered out.
[0036] Specifically, for any monitoring point, the environmental data points of the monitoring point at each moment are used as data samples, and an isolation forest is constructed based on the data samples. In the process of constructing an isolation forest, for each isolated tree, when dividing the node according to the split value of the random feature dimension, the environmental data points that are continuous in time series and have the same size relationship with the split value are divided into a child node, that is, in each child node obtained by the segmentation, all environmental data points are continuous in time series, and the data of all environmental data points in the random feature dimension are less than the split value, or are not less than the split value. An isolation tree is generated by continuously iterating the segmentation of each child node. For example, the temperatures of all environmental data points in a node are arranged in chronological order as {28,28,27,28,30,29,28,28}. When the random segmentation value of the temperature feature is 29, {28,28,27,28,30,29,28} is divided into {28,28,27,28}, {30,29}, and {28,28}, and the environmental data points in the corresponding node are divided into three child nodes.
[0037] At this point, the construction of an isolated forest for each monitoring point has been achieved.
[0038] S3: Obtain the abnormal score of the environmental data point at the current moment according to the difference between the leaf node where the environmental data point at the current moment is located and the other leaf nodes in each isolated tree, the layer depth of the leaf node where the environmental data point is located, and the number of environmental data points contained in the leaf node where the environmental data point is located.
[0039] It should be noted that, since the present invention takes into account the temporal relationship of data points when dividing nodes according to random segmentation values, some nodes among the different nodes obtained by segmentation may contain data points that are relatively similar, and the abnormal temperature, gas concentration, and smoke concentration in the coal bin are quite different from the normal temperature, gas concentration, and smoke concentration. Therefore, the present invention measures the differences between leaf nodes in the isolated tree so as to calculate the anomaly score based on the differences later.
[0040] Optionally, for each isolated tree in the isolation forest, obtain the difference between the leaf node where the current environmental data point is located and the remaining leaf nodes, specifically:
[0041] For each leaf node in the isolated tree, all environmental data points contained in the leaf node are arranged into a data point sequence in time sequence.
[0042] The Dynamic Time Warping (DTW) algorithm is used to calculate the DTW distance between the data point sequence of the leaf node where the current environmental data point is located and the data point sequence of each of the remaining leaf nodes. The mean of all the obtained DTW distances is normalized as the difference between the leaf node where the current environmental data point is located and the remaining leaf nodes.
[0043] Preferably, for each isolated tree in the isolated forest, the difference between the leaf node where the environmental data point at the current moment is located and the remaining leaf nodes is obtained, specifically:
[0044] The centroid of all environmental data points contained in each leaf node in the isolated tree is used as the representative data point of each leaf node. Based on the representative data point, the difference between the leaf node where the environmental data point at the current moment is located and the remaining leaf nodes is obtained:
[0045] ;
[0046] in, Indicates the difference between the leaf node where the environmental data point at the current moment is located and the other leaf nodes in the i-th isolated tree; i represents the sequence number of the isolated tree; The representative data point of the leaf node where the environmental data point at the current moment is located in the i-th isolated tree; Represents the representative data point of the jth leaf node in the i-th isolated tree; express and The present invention does not limit the method for calculating the distance, and the implementer can set the method for calculating the distance according to the actual implementation situation, such as Euclidean distance, Manhattan distance, etc.; represents the number of leaf nodes in the ith isolated tree; norm() represents the normalization function. When the representative data point of the leaf node where the environmental data point at the current moment in the ith isolated tree is located The greater the distance between the representative data points of the other leaf nodes, the greater the difference between the leaf node where the environmental data point at the current moment is located and the other leaf nodes.
[0047] Optionally, the anomaly score of the current environmental data point is obtained based on the difference between the leaf node where the current environmental data point is located and the other leaf nodes, the layer depth of the leaf node where the current environmental data point is located, and the number of environmental data points contained in the leaf node where the current environmental data point is located:
[0048] ;
[0049] in, Indicates the anomaly score of the environmental data point at the current moment; Indicates the layer depth of the leaf node where the environmental data point at the current moment is located in the i-th isolated tree; i represents the sequence number of the isolated tree; represents the height of the i-th isolated tree; Indicates the difference between the leaf node where the environmental data point at the current moment is located and the other leaf nodes in the i-th isolated tree; Indicates the number of environmental data points contained in the leaf node where the environmental data point at the current moment in the ith isolated tree is located; Represents the number of isolated trees.
[0050] If the leaf node where the environmental data point at the current moment is located is located at a shallower layer of the isolation tree, and the difference between the leaf node where the environmental data point at the current moment is located and other leaf nodes is greater, it means that the leaf node where the environmental data point at the current moment is located is more independent of other leaf nodes, and the environmental data point at the current moment is more abnormal. Conversely, the leaf node where the environmental data point at the current moment is located and the other leaf nodes are divided into multiple leaf nodes, which is more likely to be caused by normal fluctuations in the time series. At this time, the environmental data point at the current moment is more normal.
[0051] when The larger the value, the larger the number of environmental data points contained in the leaf node where the environmental data point at the current moment is located. The smaller the number, the more likely the environmental data point at the current moment is to be caused by noise. The more there are, the more likely it is that the environmental data point at the current moment is a continuous abnormal change compared to the changes in the environmental data points in other leaf nodes. At this time, the larger the abnormal score of the environmental data point at the current moment.
[0052] Preferably, the abnormal score of the environmental data point at the current moment is obtained according to the difference between the leaf node where the environmental data point at the current moment is located and the other leaf nodes, the layer depth of the leaf node where the environmental data point at the current moment is located, the number of environmental data points contained in the leaf node where the environmental data point at the current moment is located, and the number of leaf nodes contained in each isolated tree:
[0053] ;
[0054] in, Represents the number of leaf nodes in the i-th isolated tree; represents the average number of leaf nodes in all isolated trees; exp() represents an exponential function with a natural constant as the base; Represents the weight of the ith isolated tree. When there are too many leaf nodes in an isolated tree, it means that the random segmentation value is not properly selected, resulting in too scattered division of similar environmental data points and poor segmentation effect. At this time, when calculating the anomaly score, the ith isolated tree The reference degree is small, and the final anomaly score depends more on the remaining isolated trees with better segmentation effects.
[0055] At this point, the anomaly score of the environmental data point at the current moment is obtained.
[0056] S4: Determine the status of the monitoring point according to the abnormal score of the environmental data point of each monitoring point at the current moment, and issue a safety warning according to the status of the monitoring point.
[0057] An abnormality threshold is preset to compare with the abnormality score of the environmental data point to determine whether the monitoring point is abnormal. The size of the abnormality threshold is set by the implementer according to the actual implementation situation, for example, 0.5. Since the abnormality score of the environmental data point is in the range of [0,1], the set abnormality threshold also needs to be in the range of [0,1].
[0058] Optionally, the state of the monitoring point is determined according to the abnormal score of the environmental data point of each monitoring point at the current moment, and a safety warning is issued according to the state of the monitoring point, including:
[0059] When the anomaly score of the environmental data point at the current moment of the monitoring point is greater than the anomaly threshold, it is considered that there is an anomaly at the monitoring point. At this time, a safety warning is issued to remind the staff to check for safety hazards.
[0060] It should be noted that temperature, gas, and smoke are in a diffuse state, so when the temperature, combustible gas concentration, carbon monoxide concentration, or smoke concentration of one monitoring point is abnormal, the temperature, combustible gas concentration, carbon monoxide concentration, or smoke concentration of the adjacent monitoring point will also be abnormal. Therefore, in another embodiment, the present invention identifies the state of each monitoring point based on the abnormality score of the environmental data point of each monitoring point at the current moment and the difference in the abnormality score, so as to provide a safety warning.
[0061] Preferably, the state of the monitoring point is determined according to the abnormal score of the environmental data point of each monitoring point at the current moment, and a safety warning is issued according to the state of the monitoring point, including:
[0062] The circle with the current monitoring point as the center and R as the radius is used as the diffusion range of the current monitoring point, and the difference in the abnormal score of the environmental data point at the current moment between the current monitoring point and each monitoring point within its diffusion range is obtained. R represents the preset radius, and the implementer can set R according to the distance between the monitoring points during actual implementation, for example, R = 20 meters.
[0063] A difference threshold is preset for comparison with the difference between the abnormal scores of environmental data points at different monitoring points. The size of the difference threshold is set by the implementer according to the actual implementation situation, for example, 0.3. Since the abnormal scores of environmental data points are in the range of [0,1], the difference between the abnormal scores is also in the range of [0,1]. Therefore, the set abnormal threshold also needs to be in the range of [0,1]. It should be noted that the difference between the abnormal scores in the present invention refers to the absolute value of the difference between the abnormal scores.
[0064] If the anomaly score of the environmental data point at the current monitoring point at the current moment is greater than the anomaly threshold, and the difference in the anomaly score of the environmental data point at the current moment between the current monitoring point and each monitoring point within its diffusion range is greater than the difference threshold, there is no diffusion of temperature, gas or smoke, and it is considered that the sensor measurement of the current monitoring point is abnormal. At this time, a fault alarm is issued to remind the staff to repair the sensor.
[0065] If the anomaly score of the environmental data point of the current monitoring point at the current moment is greater than the anomaly threshold, and within the diffusion range of the current monitoring point, there is a monitoring point whose difference in anomaly score with the environmental data point of the current monitoring point at the current moment is less than or equal to the difference threshold, it is considered that the environmental state of the current monitoring point is abnormal. At this time, a safety warning is issued to remind staff to check for safety hazards.
[0066] An embodiment of the present invention also discloses an artificial intelligence-based coal bunker safety monitoring and early warning system, including a processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the artificial intelligence-based coal bunker safety monitoring and early warning method according to the present invention is implemented.
[0067] The above system also includes other components well known to those skilled in the art, such as a communication bus and a communication interface, and their configuration and functions are known in the art, so they will not be described in detail here.
[0068] In the present invention, the aforementioned memory may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, a computer-readable storage medium may be any suitable magnetic storage medium or magneto-optical storage medium, or any other medium that can be used to store the required information and can be accessed by an application, module, or both. Any such computer storage medium may be part of the device or accessible or connectable to the device.
[0069] Although this specification has shown and described a number of embodiments of the present invention, it will be apparent to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will conceive of many modifications, changes and alternatives without departing from the ideas and spirit of the present invention. It should be understood that in the practice of the present invention, various alternatives to the embodiments of the present invention described herein may be employed.
[0070] The above are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. Coal bunker safety monitoring and early warning method based on artificial intelligence, It is characterized in that include: Collect environmental data points at each monitoring point in the coal bunker at each moment, wherein the environmental data points include data of multiple feature dimensions; For any monitoring point, the environmental data points at each moment are used as data samples, and an isolation forest is constructed based on the data samples. During the construction process, for each isolated tree, when the node is divided according to the split value of the random feature dimension, all environmental data points contained in each child node obtained by the division are continuous in time series, and the data of all environmental data points in the child node in the random feature dimension are less than the split value, or not less than the split value; Obtain the abnormal score of the current environmental data point based on the difference between the leaf node where the current environmental data point is located and the other leaf nodes in each isolated tree, the layer depth of the leaf node where the environmental data point is located, and the number of environmental data points contained in the leaf node. : , Indicates the layer depth of the leaf node where the environmental data point at the current moment is located in the i-th isolated tree; i represents the sequence number of the isolated tree; represents the height of the i-th isolated tree; Indicates the difference between the leaf node where the environmental data point at the current moment is located and the other leaf nodes in the i-th isolated tree; Indicates the number of environmental data points contained in the leaf node where the environmental data point at the current moment in the ith isolated tree is located; represents the number of isolated trees; The method for obtaining the difference between the leaf node where the environmental data point at the current moment is located in each isolated tree and the remaining leaf nodes is as follows: taking the centroid of all environmental data points contained in each leaf node in the isolated tree as the representative data point of each leaf node; obtaining the average value of the distance between the representative data point of the leaf node where the environmental data point at the current moment is located and the representative data point of each of the remaining leaf nodes, normalizing the average value, and obtaining the difference between the leaf node where the environmental data point at the current moment is located and the remaining leaf nodes; The state of the monitoring point is determined based on the abnormal score of the environmental data point at the current moment, and a safety warning is issued based on the state.
2. According to the artificial intelligence-based coal bunker safety monitoring and early warning method of claim 1, It is characterized in that The multiple characteristic dimensions include: temperature, combustible gas concentration, carbon monoxide concentration and smoke concentration.
3. According to the artificial intelligence-based coal bunker safety monitoring and early warning method of claim 1, It is characterized in that The method for obtaining the difference between the leaf node where the environmental data point at the current moment is located in each isolated tree and the remaining leaf nodes is replaced by: For each leaf node in the isolated tree, all environmental data points contained in the leaf node are arranged into a data point sequence in time sequence; the DTW distance between the data point sequence of the leaf node where the environmental data point at the current moment is located and the data point sequence of each of the remaining leaf nodes is calculated, and the mean of all the obtained DTW distances is normalized as the difference between the leaf node where the environmental data point at the current moment is located and the remaining leaf nodes.
4. The coal bunker safety monitoring and early warning method based on artificial intelligence according to any one of claims 1 to 3, It is characterized in that The expression of the abnormal score of the environmental data point at the current moment is replaced by: ; in, Represents the number of leaf nodes in the i-th isolated tree; represents the average number of leaf nodes in all isolated trees; exp() represents an exponential function with a natural constant as the base.
5. According to the artificial intelligence-based coal bunker safety monitoring and early warning method of claim 1, It is characterized in that The determining of the state of the monitoring point according to the abnormal score of the environmental data point at the current moment and issuing a safety warning according to the state includes: In response to the abnormal score of the environmental data point of the monitoring point at the current moment being greater than the preset abnormal threshold, it is considered that there is an abnormality at the monitoring point, and a safety warning is issued to remind the staff to conduct a safety hazard inspection.
6. The coal bunker safety monitoring and early warning method based on artificial intelligence according to claim 1, It is characterized in that Determining the status of the monitoring point and issuing a safety warning according to the status includes: In the preset diffusion range, in response to the abnormality score of the environmental data point of the current monitoring point at the current moment being greater than the preset abnormality threshold, and the difference in the abnormality score of the environmental data point of the current monitoring point and each monitoring point within its diffusion range at the current moment being greater than the preset difference threshold, it is considered that the sensor measurement of the current monitoring point is abnormal, and a sensor fault alarm is issued; in response to the abnormality score of the environmental data point of the current monitoring point at the current moment being greater than the preset abnormality threshold, and within the diffusion range of the current monitoring point, there is a monitoring point with a difference in the abnormality score of the environmental data point at the current moment that is not greater than the preset difference threshold, it is considered that the environmental state of the current monitoring point is abnormal, a safety warning is issued, and the staff is reminded to check for safety hazards.
7. Coal bunker safety monitoring and early warning system based on artificial intelligence, It is characterized in that include: A processor and a memory, wherein the memory stores computer program instructions, and when the computer program instructions are executed by the processor, the coal bunker safety monitoring and early warning method based on artificial intelligence according to any one of claims 1 to 6 is implemented.
