Coal mine safety monitoring and early warning system based on the Internet of Things
Through the data collection, correlation analysis and dynamic threshold adjustment of the Internet of Things system, the problem of insufficient identification of monitoring object correlations under fixed thresholds in coal mine safety monitoring is solved, and the accuracy and early warning effect of safety monitoring are improved.
Patent Information
- Application Number
- CN202410903655.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-08
AI Technical Summary
When the existing coal mine safety monitoring system uses fixed risk thresholds, it cannot effectively identify the correlation between monitoring objects, resulting in deviations in the accuracy of safety monitoring and early warning.
A coal mine safety monitoring and early warning system based on the Internet of Things is used to obtain monitoring data through the data acquisition module. The correlation analysis module calculates the window data correlation factors between data points. The important analysis module uses the FLOSS algorithm to optimize time series segmentation. The threshold setting module is based on The dimension importance dynamically adjusts the threshold, and the security warning module performs real-time monitoring and warning.
The accuracy of coal mine safety monitoring and early warning is improved. By dynamically adjusting thresholds and optimizing time sequence segmentation, important dimensions are identified to achieve more accurate safety monitoring and early warning during coal mine operations.
Smart Images

Figure CN118442125B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a coal mine safety monitoring and early warning system based on the Internet of Things. Background Art
[0002] Coal mining is a special industry with many places prone to accidents. There are many risks in production safety, such as fire prevention and waterproofing. Therefore, when monitoring the safety of mine production, we must pay attention to any elements in the mine. At present, the main monitoring objects in the mine include but are not limited to: carbon monoxide, oxygen, temperature, dust, fan negative pressure, air volume and operating parameters of electromechanical equipment, such as: transfer machine, belt conveyor, coal mining machine, etc. Real-time monitoring of various data in coal mines can ensure the safe production of coal mines.
[0003] In the prior art, a risk threshold is set for each monitored object in a coal mine. When the real-time monitoring data of any monitored object exceeds the risk threshold, a safety warning can be issued for the coal mine. However, for any monitored object, when a fixed risk threshold is used for safety monitoring and warning of the coal mine, it is necessary to consider the relationship between the various monitored objects in the coal mine. For example, when the fan pressure decreases, the dust concentration will increase. As a result, when only a single risk threshold of each monitored object is used for safety monitoring and warning, the current risk object cannot be identified, resulting in a large deviation in the safety monitoring and warning of the coal mine.
[0004] Therefore, how to improve the accuracy of safety monitoring and early warning of coal mines based on the fixed risk threshold of each monitored object has become an urgent problem to be solved. Summary of the invention
[0005] In view of this, an embodiment of the present invention provides a coal mine safety monitoring and early warning system based on the Internet of Things to solve the problem of how to improve the accuracy of safety monitoring and early warning of coal mines according to a fixed risk threshold of each monitored object.
[0006] An embodiment of the present invention provides a coal mine safety monitoring and early warning system based on the Internet of Things, the system comprising:
[0007] The data acquisition module is used to obtain the N-dimensional monitoring data at each sampling moment in the coal mine, and obtain the historical time series composed of all N-dimensional monitoring data in the historical period;
[0008] An association analysis module is used to take each data point in the historical time series as the window center, obtain the time series window to which each data point belongs in the historical time series, and obtain the window data association factor between every two data points according to the data difference in the time series window of each data point in the historical time series;
[0009] An importance analysis module, used to optimize the distance metric when the historical time series is segmented by using the FLOSS algorithm by using the window data correlation factor between each two data points, to obtain multiple subsequences after the historical time series is segmented, and to obtain the dimensional importance of each dimension in each of the subsequences;
[0010] A threshold setting module is used to obtain, for any subsequence, a threshold optimization factor corresponding to each dimension in the subsequence according to the dimensional importance of each dimension in the subsequence, and obtain an adaptive risk warning threshold for each dimension in the subsequence according to the threshold optimization factor corresponding to each dimension in the subsequence;
[0011] The safety warning module is used to obtain the N-dimensional monitoring time series data of the coal mine in real time, and perform safety monitoring and warning of the coal mine according to the adaptive risk warning threshold of each dimension in each subsequence and the N-dimensional monitoring time series data.
[0012] Preferably, the association analysis module obtains the window data association factor between every two data points according to the data difference in the time series window of each data point in the historical time series, including:
[0013] For any two data points in the historical time series, take any one of the two data points as the target data point, and obtain the Pearson correlation coefficient between every two dimensions in N dimensions according to all monitoring data of the time series window of the target data point in each dimension;
[0014] According to the Pearson correlation coefficients of the two data points in any two dimensions, respectively, obtaining the absolute value of the difference of the Pearson correlation coefficients as the difference characteristic values of the two data points in the any two dimensions;
[0015] Obtain the difference eigenvalues of the two data points in every two dimensions in N dimensions, accumulate all the difference eigenvalues to obtain corresponding accumulated values, normalize the accumulated values to obtain corresponding normalized results, and use the difference between a constant 1 and the normalized result as the window data correlation factor between the two data points.
[0016] Preferably, the important analysis module uses the window data correlation factor between each two data points to optimize the distance metric when the historical time series is segmented using the FLOSS algorithm to obtain multiple subsequences after the historical time series is divided, including:
[0017] When the historical time series is segmented by using the FLOSS algorithm, for any two data points, the Euclidean distance between the time series windows of the two data points is obtained, and the product of the window data correlation factor between the two data points and the Euclidean distance is used as the optimized Euclidean distance between the two data points;
[0018] The historical time series sequence is divided into a plurality of subsequences according to the optimized Euclidean distance between every two data points in the historical time series sequence.
[0019] Preferably, the importance analysis module obtains the dimensional importance of each dimension in each of the subsequences respectively, including:
[0020] For any dimension in any subsequence, take any dimension outside the dimension as the target dimension, and obtain the absolute value of the Pearson correlation coefficient between the dimension and the target dimension based on all monitoring data under the dimension in the subsequence and all monitoring data under the target dimension;
[0021] Dynamically time warping all monitoring data under the dimension and all monitoring data under the target dimension, obtaining the connection slope between each two aligned monitoring data, obtaining the average connection slope, and mapping the average connection slope using an activation function to obtain a corresponding mapping value;
[0022] The product of the absolute value of the Pearson correlation coefficient and the mapping value is obtained as the correlation index between the dimension and the target dimension, the correlation index between the dimension and all target dimensions is obtained, and the cumulative value of the correlation index is obtained. The cumulative value of the correlation index is normalized, and the corresponding result is used as the dimension importance of the dimension in the subsequence.
[0023] Preferably, the threshold setting module obtains a threshold optimization factor corresponding to each dimension in the subsequence according to the dimensional importance of each dimension in the subsequence, including:
[0024] For any dimension in the subsequence, principal component analysis is performed on the subsequence to obtain the principal component contribution rate of the dimension, and the product of the dimension importance and the principal component contribution rate of the dimension is used as the threshold optimization factor corresponding to the dimension of the subsequence.
[0025] Preferably, the threshold setting template obtains the adaptive risk warning threshold of each dimension in the subsequence according to the threshold optimization factor corresponding to each dimension in the subsequence, including:
[0026] For any dimension that is higher than the risk warning threshold for a security warning, the product of the threshold optimization factor of the dimension in the subsequence and the preset initial risk warning threshold of the dimension is obtained as the adaptive risk warning threshold of the dimension in the subsequence.
[0027] Preferably, the threshold setting template obtains the adaptive risk warning threshold of each dimension in the subsequence according to the threshold optimization factor corresponding to each dimension in the subsequence, including:
[0028] For any dimension that is below the risk warning threshold for a safety warning, obtain the addition result between the threshold optimization factor of the dimension in the subsequence and the constant 1, and use the product of the addition result and the preset initial risk warning threshold of the dimension as the adaptive risk warning threshold of the dimension in the subsequence.
[0029] Preferably, the safety warning module performs coal mine safety monitoring and early warning according to the adaptive risk warning threshold of each dimension in each subsequence and the N-dimensional monitoring time series data, including:
[0030] A subsequence most similar to the N-dimensional monitoring time series data is obtained from all subsequences of the historical time series sequence as a target subsequence, and when monitoring data in at least one dimension of the N-dimensional monitoring time series data does not meet the requirements of the adaptive risk warning threshold in the corresponding dimension of the target subsequence, a safety warning is issued for the coal mine;
[0031] When the monitoring data in all dimensions of the N-dimensional monitoring time series data meet the requirements of the adaptive risk warning threshold value in the corresponding dimension in the target subsequence, no safety warning is issued for the coal mine.
[0032] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0033] The present invention provides a coal mine safety monitoring and early warning system based on the Internet of Things, comprising a data acquisition module, which is used to obtain N-dimensional monitoring data at each sampling moment in the coal mine, and obtain a historical time series consisting of all N-dimensional monitoring data in a historical period; an association analysis module, which is used to take each data point in the historical time series as the window center, obtain the time series window to which each data point belongs in the historical time series, and obtain the window data association factor between each two data points according to the data difference in the time series window of each data point in the historical time series; an important analysis module, which is used to use the window data association factor between each two data points to analyze the historical time series using the FLOSS algorithm The distance metric during time series segmentation is optimized to obtain multiple subsequences after the historical time series is divided, and the dimensional importance of each dimension in each of the subsequences is obtained respectively; a threshold setting module is used to obtain, for any subsequence, a threshold optimization factor corresponding to each dimension in the subsequence according to the dimensional importance of each dimension in the subsequence, and obtain an adaptive risk warning threshold for each dimension in the subsequence according to the threshold optimization factor corresponding to each dimension in the subsequence; a safety warning module is used to obtain the N-dimensional monitoring time series data of the coal mine in real time, and perform safety monitoring and warning of the coal mine according to the adaptive risk warning threshold of each dimension in each subsequence and the N-dimensional monitoring time series data. Among them, in the scenario of multi-dimensional monitoring data, by analyzing the dimensional correlation between the time series windows of each data point in the historical time series sequence, the window data correlation factor when performing the nearest neighbor evaluation on the two time series windows is obtained, and it is used to optimize the distance measurement when performing FLOSS time series segmentation on the historical time series to improve the accuracy of the subsequence division of the historical time series. After the subsequence division, the importance of each dimension in each subsequence is obtained by analyzing the correlation of the dimensional changes in the subsequence, and the contribution rate in the principal component analysis process of the subsequence is optimized based on this importance, so as to obtain a more accurate main dimension in the subsequence, that is, to obtain the threshold optimization factor of each dimension. Finally, according to the threshold optimization factor of each dimension in each subsequence, the adaptive risk warning threshold is dynamically adjusted, so as to make a more accurate warning for the important dimensions in the real-time monitoring data in the coal mine to ensure the safety of the coal mine operation process. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0035] Figure 1 This is a structural block diagram of a coal mine safety monitoring and early warning system based on the Internet of Things provided in Example 1 of the present invention. DETAILED DESCRIPTION
[0036] Embodiments of the present disclosure are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.
[0037] It should be noted that the terms "first", "second", etc. in the specification of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure.
[0038] In order to illustrate the technical solution of the present invention, specific embodiments are provided below for illustration.
[0039] See also Figure 1 , is a structural block diagram of a coal mine safety monitoring and early warning system based on the Internet of Things provided in the first embodiment of the present invention, such as Figure 1 As shown, the system includes:
[0040] The data acquisition module 11 is used to obtain N-dimensional monitoring data at each sampling moment in the coal mine, and obtain a historical time series consisting of all N-dimensional monitoring data in the historical period.
[0041] The embodiment of the present invention monitors various objects in the coal mine through sensor monitoring in the coal mine, such as carbon monoxide, oxygen, temperature, dust, fan negative pressure, air volume, and operating parameters of electromechanical equipment, etc. Therefore, the embodiment of the present invention collects N-dimensional monitoring data corresponding to each sampling moment according to the set sampling frequency, wherein the N-dimensional monitoring data is composed of all monitorable objects in the coal mine collected at one sampling moment, and one monitoring object corresponds to one dimension. For example, carbon monoxide, oxygen, and temperature in the coal mine are collected at the i-th sampling moment, and corresponding 3-dimensional monitoring data P (i) = {P1, P2, P3} is obtained, wherein P1 represents the concentration of carbon monoxide at the i-th sampling moment, P2 represents the concentration of oxygen at the i-th sampling moment, and P3 represents the temperature value at the i-th sampling moment.
[0042] By acquiring all N-dimensional monitoring data in the coal mine within the historical period, a historical time series is formed. The sampling frequency of the N-dimensional monitoring data is not limited and can be set according to the implementation scenario.
[0043] The association analysis module 12 is used to take each data point in the historical time series sequence as the window center, obtain the time series window to which each data point belongs in the historical time series sequence, and obtain the window data association factor between each two data points according to the data difference in the time series window of each data point in the historical time series sequence.
[0044] After obtaining the historical time series of the coal mine, it is first necessary to divide the long time series data based on the local pattern of the time series, so as to distinguish the time series data of different construction periods in the coal mine in the historical time series, so as to use each distinguished subsequence as the reference time series data corresponding to a construction period, which is used for the subsequent adaptive setting of the corresponding risk warning threshold, so as to achieve accurate early warning of the coal mine, where the risk warning threshold refers to the monitoring value threshold of the corresponding monitoring object, that is, the maximum (minimum) monitoring value corresponding to each monitoring during the safe operation of the coal mine.
[0045] Traditionally, the FLOSS algorithm is used to divide the historical time series of coal mines into subsequences. In the process of dividing the historical time series based on the construction mode through the FLOSS time series modal segmentation, the distance between the time series windows is judged through the local data window formed by each data point in the historical time series, and then the number of spans of the "nearest neighbor window pair" is used as the subsequence division standard. However, in this process, the multi-dimensional data of each data point in the historical time series is similar and the difference dimension is ignored, which leads to the problem of inaccurate dimensional division in the subsequence division result of the historical time series. Therefore, in the process of FLOSS time series modal segmentation of the historical time series, the subsequence division is optimized by analyzing the correlation between the time series windows of each data point in the historical time series to improve the accuracy of the subsequence division.
[0046] First, take each data point in the historical time series as the window center and obtain the time series window to which each data point belongs in the historical time series, where the length of the time series window is 20, and there is no limit on the length of the time series window. Then, based on the data differences in the time series windows of each data point in the historical time series, obtain the window data correlation factor between every two data points.
[0047] Preferably, according to the data difference in the time series window of each data point in the historical time series, the window data correlation factor between every two data points is obtained respectively, including:
[0048] For any two data points in the historical time series, take any one of the two data points as the target data point, and obtain the Pearson correlation coefficient between every two dimensions in N dimensions according to all monitoring data of the time series window of the target data point in each dimension;
[0049] According to the Pearson correlation coefficients of the two data points in any two dimensions, respectively, obtaining the absolute value of the difference of the Pearson correlation coefficients as the difference characteristic values of the two data points in the any two dimensions;
[0050] Obtain the difference eigenvalues of the two data points in every two dimensions in N dimensions, accumulate all the difference eigenvalues to obtain corresponding accumulated values, normalize the accumulated values to obtain corresponding normalized results, and use the difference between a constant 1 and the normalized result as the window data correlation factor between the two data points.
[0051] In one embodiment, taking the time series window between the i-th data point and the j-th data point in the historical time series as an example, the calculation expression of the window data correlation factor between the i-th data point and the j-th data point is:
[0052]
[0053] in, represents the window data correlation factor between the i-th data point and the j-th data point, Norm() represents the normalization function, and N represents the number of dimensions corresponding to the data point. represents the Pearson correlation coefficient between all monitoring data under the mth dimension in the ith data point and all monitoring data under the xth dimension, Represents the Pearson correlation coefficient between all monitoring data under the mth dimension in the jth data point and all monitoring data under the xth dimension.
[0054] It should be noted that the Pearson correlation coefficient between the mth dimension of the ith data point or the jth data point and other dimensions in its own time series window is calculated respectively. When the difference in the corresponding Pearson correlation coefficients between the ith data point and the jth data point in the same two dimensions is smaller, it means that the mth dimension in the time series window of the ith data point and the time series window of the jth data point have similar correlation associations. When the time series window of the ith data point and the time series window of the jth data point have similar correlation associations in all dimensions, the window data correlation factor between the ith data point and the jth data point is larger.
[0055] Similarly, according to the calculation expression of the window data correlation factor between the i-th data point and the j-th data point, the window data correlation factor between every two data points in the historical time series is obtained respectively.
[0056] The importance analysis module 13 is used to utilize the window data correlation factor between each two data points to optimize the distance metric when the historical time series sequence is segmented using the FLOSS algorithm, to obtain multiple subsequences after the historical time series sequence is divided, and to obtain the dimensional importance of each dimension in each of the subsequences.
[0057] After obtaining the window data association factor between every two data points in the historical time series, the window data association factor can be used to supplement and optimize the time series window distance between any two data points in the FLOSS time series modal segmentation process of the historical time series, thereby obtaining a more accurate neighbor correspondence relationship between the time series windows to improve the accuracy of subsequence division.
[0058] By using the window data correlation factor between every two data points in the historical time series, the distance metric is optimized when the historical time series is segmented using the FLOSS algorithm to obtain multiple subsequences after the historical time series is segmented. The specific process is as follows:
[0059] When the historical time series is segmented by using the FLOSS algorithm, for any two data points, the Euclidean distance between the time series windows of the two data points is obtained, and the product of the window data correlation factor between the two data points and the Euclidean distance is used as the optimized Euclidean distance between the two data points;
[0060] The historical time series sequence is divided into a plurality of subsequences according to the optimized Euclidean distance between every two data points in the historical time series sequence.
[0061] In one embodiment, the calculation expression of the optimized Euclidean distance between the time series window of the i-th data point and the time series window of the j-th data point is:
[0062]
[0063] in, represents the optimized Euclidean distance between the time series window of the i-th data point and the time series window of the j-th data point, represents the window data correlation factor between the i-th data point and the j-th data point, represents the time series window of the ith data point, represents the time series window of the jth data point, Represents the Euclidean distance between the time series window of the i-th data point and the time series window of the j-th data point.
[0064] Similarly, the optimized Euclidean distance between the time series windows corresponding to every two data points in the historical time series sequence can be obtained. After obtaining the optimized Euclidean distance between the time series windows, the number of spans of the "nearest neighbor window pair" can be used as the subsequence division standard. Specifically, the number of spans of the "nearest neighbor window pair" of each data point is counted, and the span number is normalized to obtain the corresponding normalized value. The normalization threshold is set to 0.6, and the data points with normalized values greater than 0.6 are used as division points. The historical time series sequence is divided into multiple subsequences. It should be noted that the FLOSS algorithm belongs to the prior art and will not be described in detail here.
[0065] After obtaining multiple subsequences after dividing the historical time series, it is considered that when analyzing the main change dimensions of the time series monitoring data of the coal mine, because the main change dimensions of the coal mine are different under different working conditions, for example: in different mine operation stages, the environment in the mine has different change states. When in the mining stage, the dust concentration in the coal mine will be relatively high, then in this stage, the dust concentration may be the main change dimension. Therefore, in the embodiment of the present invention, the importance of each dimension in each subsequence is obtained through the change correlation analysis between the dimensions in the subsequence, and the contribution rate of the principal component analysis process of the subsequence is optimized based on this importance, so as to obtain a more accurate main dimension evaluation, which is used for the subsequent dynamic adjustment of the risk warning threshold of the corresponding dimension according to the importance of each dimension in each subsequence.
[0066] Specifically, after obtaining multiple subsequences, respectively obtaining the dimension importance of each dimension in each of the subsequences includes:
[0067] For any dimension in any subsequence, take any dimension outside the dimension as the target dimension, and obtain the absolute value of the Pearson correlation coefficient between the dimension and the target dimension based on all monitoring data under the dimension in the subsequence and all monitoring data under the target dimension;
[0068] Dynamically time warping all monitoring data under the dimension and all monitoring data under the target dimension, obtaining the connection slope between each two aligned monitoring data, obtaining the average connection slope, and mapping the average connection slope using an activation function to obtain a corresponding mapping value;
[0069] The product of the absolute value of the Pearson correlation coefficient and the mapping value is obtained as the correlation index between the dimension and the target dimension, the correlation index between the dimension and all target dimensions is obtained, and the cumulative value of the correlation index is obtained. The cumulative value of the correlation index is normalized, and the corresponding result is used as the dimension importance of the dimension in the subsequence.
[0070] In one implementation, taking the mth dimension in the ath subsequence as an example, taking each dimension except the mth dimension in the ath subsequence as the target dimension, taking the xth dimension as the target dimension, and recording the Pearson correlation coefficient between all monitoring data under the mth dimension in the ath subsequence and all monitoring data under the xth dimension as At the same time, DTW dynamic time warping is performed on all monitoring data under the mth dimension in the ath subsequence and all monitoring data under the xth dimension to obtain all aligned monitoring data between the mth dimension and the xth dimension, and each aligned monitoring data corresponds to a connection slope k, wherein DTW dynamic time warping belongs to the prior art and will not be described in detail here. Therefore, according to the Pearson correlation coefficient between all monitoring data under the mth dimension in the ath subsequence and all monitoring data under the xth dimension and the connection slope between the aligned monitoring data, the dimension importance of the mth dimension in the ath subsequence is obtained, and the calculation expression of the dimension importance is:
[0071]
[0072] in, Indicates the dimension importance of the mth dimension in the ath subsequence, Norm() represents the normalization function, and N represents the number of dimensions. represents the absolute value of the Pearson correlation coefficient between all monitoring data under the mth dimension in the ath subsequence and all monitoring data under the xth dimension, ReLU() represents the activation function, represents the number of data points contained in the a-th subsequence, It represents the connection slope after the qth monitoring data in the mth dimension is aligned with the monitoring data in the xth dimension.
[0073] It should be noted that The value of is used to represent the correlation between the mth dimension and the xth dimension in the ath subsequence. The larger the value of is, the greater the corresponding correlation is. The value of is used to characterize the time lag of the monitoring data between the mth dimension and the xth dimension in the ath subsequence. The larger the value, the stronger the hysteresis. Therefore, the importance of the mth dimension in the ath subsequence is determined by the correlation and hysteresis between each other dimension in the mth dimension in the ath subsequence. The larger the correlation and the stronger the hysteresis, the higher the dimension importance of the mth dimension in the ath subsequence.
[0074] Similarly, obtain the dimension importance of each dimension in each subsequence.
[0075] The threshold setting module 14 is used to obtain, for any subsequence, a threshold optimization factor corresponding to each dimension in the subsequence according to the dimensional importance of each dimension in the subsequence, and obtain an adaptive risk warning threshold for each dimension in the subsequence according to the threshold optimization factor corresponding to each dimension in the subsequence.
[0076] The purpose of the dimensional importance of each dimension in the subsequence is to optimize the principal component contribution rate of each dimension during the principal component analysis of all monitoring data under each dimension in the subsequence, so as to ensure that the main dimension obtained in the principal component analysis process is a characteristic dimension that causes changes in other dimensions. Specifically, in a subsequence, there is a causal relationship between the changes in various dimensions. For example, when the pressure of the fan in the coal mine drops, it will cause the dust concentration in the coal mine to increase. In the subsequence where this situation occurs, the fan pressure should drop first, and then the dust concentration should increase. However, when the fan pressure actually drops, the amplitude of the fan pressure drop will be smaller than the amplitude of the dust concentration increase. In the principal component analysis process, dust concentration will be presented as the main dimension, which will lead to causal relationship errors. At this time, when the risk warning threshold of the main dimension is optimized by the principal component contribution rate, the main problems in the coal mine cannot be effectively identified.
[0077] Based on the above characteristics, after obtaining the dimension importance of each dimension in each subsequence, the embodiment of the present invention uses the dimension importance to optimize the contribution of each dimension in the principal component analysis process of the subsequence, thereby obtaining the threshold optimization factor of each dimension in the corresponding subsequence through the contribution of each dimension in the subsequence, which is used for subsequent adaptive dynamic adjustment of the risk warning threshold.
[0078] Preferably, according to the dimensional importance of each dimension in the subsequence, the threshold optimization factor corresponding to each dimension in the subsequence is obtained, and the specific acquisition method is:
[0079] For any dimension in the subsequence, principal component analysis is performed on the subsequence to obtain the principal component contribution rate of the dimension, and the product of the dimension importance and the principal component contribution rate of the dimension is used as the threshold optimization factor corresponding to the dimension of the subsequence.
[0080] In one implementation, taking the mth dimension in the ath subsequence as an example, the calculation expression of the threshold optimization factor corresponding to the mth dimension of the ath subsequence is:
[0081]
[0082] in, represents the threshold optimization factor corresponding to the mth dimension of the ath subsequence, Indicates the dimension importance of the mth dimension in the ath subsequence, Represents the principal component contribution rate of the mth dimension in the ath subsequence.
[0083] It should be noted that the method for obtaining the principal component contribution rate belongs to the prior art and will not be described in detail here. The greater the principal component contribution rate of the mth dimension in the ath subsequence, and the greater the dimensional importance of the mth dimension in the ath subsequence, the greater the possibility that the mth dimension in the ath subsequence belongs to the main dimension, and more risk warning threshold adjustments are required, and the greater the threshold optimization factor corresponding to the mth dimension of the ath subsequence.
[0084] Similarly, the threshold optimization factor corresponding to each dimension of the a-th subsequence can be obtained, and then the adaptive risk warning threshold of each dimension of the a-th subsequence can be obtained according to the threshold optimization factor corresponding to each dimension of the a-th subsequence. The specific acquisition method is:
[0085] (1) For any dimension that is higher than the risk warning threshold and is subject to a safety warning, the product of the threshold optimization factor of the dimension in the subsequence and the preset initial risk warning threshold of the dimension is obtained as the adaptive risk warning threshold of the dimension in the subsequence.
[0086] In one embodiment, considering that when risk warning monitoring is performed for hazardous gas concentrations such as dust concentration, the higher the corresponding monitoring value, the less safe the coal mine is. Therefore, for any dimension that needs a safety warning when it is higher than the risk warning threshold, the risk warning threshold under the dimension needs to be lowered. Taking the mth dimension in the ath subsequence as an example, the calculation expression of the adaptive risk warning threshold of the dimension is:
[0087]
[0088] in, represents the adaptive risk warning threshold of the mth dimension in the ath subsequence, represents the threshold optimization factor corresponding to the mth dimension of the ath subsequence, Represents the initial risk warning threshold of the mth dimension in the ath subsequence.
[0089] It should be noted that the initial risk warning threshold of the mth dimension can be set according to the actual object of monitoring and the timeliness of the warning.
[0090] (2) For any dimension that is below the risk warning threshold for a safety warning, obtain the addition result between the threshold optimization factor of the dimension in the subsequence and the constant 1, and use the product of the addition result and the preset initial risk warning threshold of the dimension as the adaptive risk warning threshold of the dimension in the subsequence.
[0091] In one embodiment, considering that when risk warning monitoring is performed for, for example, fan pressure, oxygen concentration, etc., the lower the monitoring value, the less safe the coal mine is, therefore, for any dimension that needs a safety warning when it is lower than the risk warning threshold, it is necessary to increase the risk warning threshold under the dimension, then taking the xth dimension in the ath subsequence as an example, the calculation expression of the adaptive risk warning threshold of the dimension is:
[0092]
[0093] in, represents the adaptive risk warning threshold of the xth dimension in the ath subsequence, 1 represents a constant, represents the threshold optimization factor corresponding to the xth dimension of the ath subsequence, Represents the initial risk warning threshold of the xth dimension in the ath subsequence.
[0094] It should be noted that the initial risk warning threshold of the xth dimension can be set according to the actual object of monitoring and the timeliness of the warning.
[0095] At this point, the adaptive risk warning threshold for each dimension in each subsequence can be obtained.
[0096] The safety warning module 15 is used to obtain the N-dimensional monitoring time series data of the coal mine in real time, and perform safety monitoring and warning of the coal mine according to the adaptive risk warning threshold of each dimension in each subsequence and the N-dimensional monitoring time series data.
[0097] Since each subsequence in the historical time series can reflect a working environment change mode in the coal mine, based on the adaptive risk warning threshold of each dimension in each subsequence in the historical time series, real-time safety monitoring and early warning of the coal mine are carried out. Specifically, firstly, the N-dimensional monitoring time series data of the coal mine is obtained in real time, and then, according to the adaptive risk warning threshold of each dimension in each subsequence and the N-dimensional monitoring time series data, the coal mine safety monitoring and early warning are carried out, including:
[0098] A subsequence most similar to the N-dimensional monitoring time series data is obtained from all subsequences of the historical time series sequence as a target subsequence, and when monitoring data in at least one dimension of the N-dimensional monitoring time series data does not meet the requirements of the adaptive risk warning threshold in the corresponding dimension of the target subsequence, a safety warning is issued for the coal mine;
[0099] When the monitoring data in all dimensions of the N-dimensional monitoring time series data meet the requirements of the adaptive risk warning threshold value in the corresponding dimension in the target subsequence, no safety warning is issued for the coal mine.
[0100] In one embodiment, after obtaining N-dimensional monitoring time series data obtained in real time in a coal mine, the most similar subsequence of the N-dimensional monitoring time series data is obtained as a target subsequence by obtaining the Pearson correlation coefficient between the N-dimensional monitoring time series data and each subsequence, and all monitoring data under the mth dimension in the N-dimensional monitoring time series data are combined into a first analysis sequence, and the adaptive risk warning threshold of the mth dimension in the target subsequence is used to compare and analyze each monitoring data in the first analysis sequence. If any monitoring data in the first analysis sequence is higher (lower) than the risk warning threshold, a safety warning is issued for the coal mine. Conversely, if all monitoring data under each dimension in the N-dimensional monitoring time series data is not higher (not lower) than the adaptive risk warning threshold of the corresponding dimension in the target subsequence, no safety warning is issued for the coal mine.
[0101] In summary, an embodiment of the present invention provides a coal mine safety monitoring and early warning system based on the Internet of Things, including a data acquisition module, which is used to obtain N-dimensional monitoring data at each sampling moment in the coal mine, and obtain a historical time series sequence composed of all N-dimensional monitoring data in a historical period; an association analysis module, which is used to take each data point in the historical time series sequence as the window center, obtain the time series window to which each data point belongs in the historical time series sequence, and obtain the window data association factor between each two data points according to the data difference in the time series window of each data point in the historical time series sequence; an important analysis module, which is used to use the window data association factor between each two data points to analyze the historical time series sequence using the FLOSS algorithm The distance metric during time series segmentation of the sequence is optimized to obtain multiple subsequences after the historical time series sequence is divided, and the dimensional importance of each dimension in each of the subsequences is obtained respectively; a threshold setting module is used to obtain, for any subsequence, a threshold optimization factor corresponding to each dimension in the subsequence according to the dimensional importance of each dimension in the subsequence, and obtain an adaptive risk warning threshold for each dimension in the subsequence according to the threshold optimization factor corresponding to each dimension in the subsequence; a safety warning module is used to obtain the N-dimensional monitoring time series data of the coal mine in real time, and perform safety monitoring and warning of the coal mine according to the adaptive risk warning threshold of each dimension in each subsequence and the N-dimensional monitoring time series data. Among them, in the scenario of multi-dimensional monitoring data, by analyzing the dimensional correlation between the time series windows of each data point in the historical time series sequence, the window data correlation factor when performing the nearest neighbor evaluation on the two time series windows is obtained, and it is used to optimize the distance measurement when performing FLOSS time series segmentation on the historical time series to improve the accuracy of the subsequence division of the historical time series. After the subsequence division, the importance of each dimension in each subsequence is obtained by analyzing the correlation of the dimensional changes in the subsequence, and the contribution rate in the principal component analysis process of the subsequence is optimized based on this importance, so as to obtain a more accurate main dimension in the subsequence, that is, to obtain the threshold optimization factor of each dimension. Finally, according to the threshold optimization factor of each dimension in each subsequence, the adaptive risk warning threshold is dynamically adjusted, so as to make a more accurate warning for the important dimensions in the real-time monitoring data in the coal mine to ensure the safety of the coal mine operation process.
[0102] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. The coal mine safety monitoring and early warning system based on the Internet of Things is characterized by: The system comprises: The data acquisition module is used to obtain the N-dimensional monitoring data at each sampling moment in the coal mine, and obtain the historical time series composed of all N-dimensional monitoring data in the historical period; An association analysis module is used to take each data point in the historical time series as the window center, obtain the time series window to which each data point belongs in the historical time series, and obtain the window data association factor between every two data points according to the data difference in the time series window of each data point in the historical time series; An importance analysis module, used to optimize the distance metric when the historical time series is segmented by using the FLOSS algorithm by using the window data correlation factor between each two data points, to obtain multiple subsequences after the historical time series is segmented, and to obtain the dimensional importance of each dimension in each of the subsequences; A threshold setting module is used to obtain, for any subsequence, a threshold optimization factor corresponding to each dimension in the subsequence according to the dimensional importance of each dimension in the subsequence, and obtain an adaptive risk warning threshold for each dimension in the subsequence according to the threshold optimization factor corresponding to each dimension in the subsequence; A safety warning module is used to obtain the N-dimensional monitoring time series data of the coal mine in real time, and perform safety monitoring and warning of the coal mine according to the adaptive risk warning threshold of each dimension in each subsequence and the N-dimensional monitoring time series data; The association analysis module obtains the window data association factor between every two data points according to the data difference in the time series window of each data point in the historical time series, including: For any two data points in the historical time series, take any one of the two data points as the target data point, and obtain the Pearson correlation coefficient between every two dimensions in N dimensions according to all monitoring data of the time series window of the target data point in each dimension; According to the Pearson correlation coefficients of the two data points in any two dimensions, respectively, obtaining the absolute value of the difference of the Pearson correlation coefficients as the difference characteristic values of the two data points in the any two dimensions; Obtaining difference eigenvalues of the two data points in every two dimensions in N dimensions, accumulating all the difference eigenvalues to obtain corresponding accumulated values, normalizing the accumulated values to obtain corresponding normalized results, and taking the difference between a constant 1 and the normalized result as a window data correlation factor between the two data points; The importance analysis module obtains the dimensional importance of each dimension in each subsequence respectively, including: For any dimension in any subsequence, take any dimension outside the dimension as the target dimension, and obtain the absolute value of the Pearson correlation coefficient between the dimension and the target dimension based on all monitoring data under the dimension in the subsequence and all monitoring data under the target dimension; Dynamically time warping all monitoring data under the dimension and all monitoring data under the target dimension, obtaining the connection slope between each two aligned monitoring data, obtaining the average connection slope, and mapping the average connection slope using an activation function to obtain a corresponding mapping value; Obtaining the product of the absolute value of the Pearson correlation coefficient and the mapping value as the correlation index between the dimension and the target dimension, obtaining the correlation index between the dimension and all target dimensions, obtaining a correlation index cumulative value, normalizing the correlation index cumulative value, and using the corresponding result as the dimension importance of the dimension in the subsequence; The threshold setting module obtains a threshold optimization factor corresponding to each dimension in the subsequence according to the dimensional importance of each dimension in the subsequence, including: For any dimension in the subsequence, principal component analysis is performed on the subsequence to obtain the principal component contribution rate of the dimension, and the product of the dimension importance and the principal component contribution rate of the dimension is used as the threshold optimization factor corresponding to the dimension of the subsequence.
2. The coal mine safety monitoring and early warning system based on the Internet of Things according to claim 1 is characterized in that: The important analysis module uses the window data correlation factor between each two data points to optimize the distance metric when the historical time series is segmented using the FLOSS algorithm to obtain multiple subsequences after the historical time series is segmented, including: When the historical time series is segmented by using the FLOSS algorithm, for any two data points, the Euclidean distance between the time series windows of the two data points is obtained, and the product of the window data correlation factor between the two data points and the Euclidean distance is used as the optimized Euclidean distance between the two data points; The historical time series sequence is divided into a plurality of subsequences according to the optimized Euclidean distance between every two data points in the historical time series sequence.
3. The coal mine safety monitoring and early warning system based on the Internet of Things according to claim 1 is characterized in that: The threshold setting template obtains the adaptive risk warning threshold of each dimension in the subsequence according to the threshold optimization factor corresponding to each dimension in the subsequence, including: For any dimension that is higher than the risk warning threshold for a security warning, the product of the threshold optimization factor of the dimension in the subsequence and the preset initial risk warning threshold of the dimension is obtained as the adaptive risk warning threshold of the dimension in the subsequence.
4. The coal mine safety monitoring and early warning system based on the Internet of Things according to claim 3 is characterized in that: The threshold setting template obtains the adaptive risk warning threshold of each dimension in the subsequence according to the threshold optimization factor corresponding to each dimension in the subsequence, including: For any dimension that is below the risk warning threshold for a safety warning, obtain the addition result between the threshold optimization factor of the dimension in the subsequence and the constant 1, and use the product of the addition result and the preset initial risk warning threshold of the dimension as the adaptive risk warning threshold of the dimension in the subsequence.
5. The coal mine safety monitoring and early warning system based on the Internet of Things according to claim 1 is characterized in that: The safety warning module performs coal mine safety monitoring and warning according to the adaptive risk warning threshold of each dimension in each subsequence and the N-dimensional monitoring time series data, including: A subsequence most similar to the N-dimensional monitoring time series data is obtained from all subsequences of the historical time series sequence as a target subsequence, and when monitoring data in at least one dimension of the N-dimensional monitoring time series data does not meet the requirements of the adaptive risk warning threshold in the corresponding dimension of the target subsequence, a safety warning is issued for the coal mine; When the monitoring data in all dimensions of the N-dimensional monitoring time series data meet the requirements of the adaptive risk warning threshold value in the corresponding dimension in the target subsequence, no safety warning is issued for the coal mine.
