A method and system for predicting air supply volume for intelligent control of gas accumulation

By using gated loop units and particle swarm optimization algorithms in gas accumulation intelligent control for risk prediction, and combining deep reinforcement learning for air supply volume prediction, the problems of insufficient real-time performance and data instability in the existing technology are solved, and the efficiency is improved. Coal mine safety and accuracy of air supply volume prediction.

CN117893345BActive Publication Date: 2024-09-06TAIGONG INTELLIGENT EQUIP RES INST CO LTD +2
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410064627.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-17
Publication Date
2024-09-06
Estimated Expiration
2044-01-17

AI Technical Summary

Technical Problem

The existing gas accumulation intelligent control air supply volume prediction has insufficient real-time performance and response lag, which leads to high safety risks in coal mines. In addition, unstable mine environment data affects the accuracy of prediction, leading to the risk of insufficient or excessive air supply volume.

Method used

The gas accumulation risk prediction based on the gated cycle unit and particle swarm optimization algorithm is used to enhance the robustness of the model, and combined with deep reinforcement learning to predict the air supply volume, achieving rapid learning and dynamic adjustment of historical and real-time data.

Benefits of technology

It improves the accuracy of real-time prediction of gas accumulation risk and air supply volume prediction, reduces coal mine safety risks, and improves the effectiveness and practicality of intelligent control of gas accumulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117893345B
    Figure CN117893345B
Patent Text Reader

Abstract

The present invention discloses a method and system for predicting air supply volume for intelligent control of gas accumulation, the method including data preparation, data preprocessing, gas accumulation feature engineering, air supply volume prediction and gas concentration control strategy generation. The present invention belongs to the field of coal mine safety technology, specifically refers to a method and system for predicting air supply volume for intelligent control of gas accumulation. The scheme adopts gas accumulation risk prediction based on gated cyclic unit and particle swarm optimization algorithm, and optimizes model parameters to avoid the phenomenon of poor model learning ability and overfitting, and enhances the model robustness and real-time prediction, which is helpful to timely discover gas accumulation risks and improve coal mine safety; adopts air supply volume prediction based on deep reinforcement learning, which has stronger real-time learning and decision-making capabilities, effectively models time series data, improves the accuracy of air supply volume prediction, and helps to dynamically adjust the air supply volume, thereby improving the effectiveness and practicality of intelligent control of gas accumulation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of coal mine safety, and specifically refers to an air supply volume prediction method and system for intelligent control of gas accumulation. Background Art

[0002] Gas accumulation in coal mines can bring about a variety of safety hazards, including the risk of gas explosions, mine collapses, worker suffocation due to lack of oxygen, and other accidents. Through air supply prediction, the ventilation system can be effectively adjusted to control the gas concentration inside the mine within a safe range, thus providing important guarantees for safe production in coal mines. However, in the existing air supply prediction process for intelligent control of gas accumulation, there are technical problems such as insufficient real-time performance and delayed response, which lead to delayed adjustment of the ventilation system and high safety risks in coal mines; there are technical problems such as the mine environment data being affected by the activities of workers in the mine, being unstable and complex, and there is a time delay in the change of gas concentration after ventilation adjustment, making it difficult to accurately predict the required air supply, which leads to the risk of insufficient or excessive air supply, thus affecting the effectiveness and practicality of intelligent control of gas accumulation. Summary of the invention

[0003] In view of the above situation, in order to overcome the defects of the prior art, the present invention provides a method and system for predicting air supply volume for intelligent control of gas accumulation. In view of the technical problems that the existing air supply volume prediction process for intelligent control of gas accumulation is insufficient in real time and delayed in response, resulting in delayed adjustment of the ventilation system and high safety risk in coal mines, this scheme adopts gas accumulation risk prediction based on gated cycle unit and particle swarm optimization algorithm, and optimizes model parameters to avoid poor model learning ability and overfitting, and enhances the robustness of the model, which can realize rapid learning of historical data and real-time data, enhance the real-time performance of prediction, and help to timely discover gas accumulation risks, thereby improving coal mine safety. In the process of air supply prediction for intelligent control of gas accumulation, the mine environment data is affected by the activities of workers in the mine, which is unstable and complex. In addition, there is a time delay in the change of gas concentration after ventilation adjustment, making it difficult to accurately predict the required air supply. There is a risk of insufficient or excessive air supply, which in turn affects the effectiveness and practicality of intelligent control of gas accumulation. This solution adopts air supply prediction based on deep reinforcement learning, which has stronger real-time learning and decision-making capabilities, and effectively models time series data, so as to better capture the long-term dependencies between features, improve the accuracy of air supply prediction, help dynamically adjust the air supply, reduce the risk of gas accumulation, and thus improve the effectiveness and practicality of intelligent control of gas accumulation.

[0004] The technical solution adopted by the present invention is as follows: The present invention provides an air supply volume prediction method for intelligent control of gas accumulation, the method comprising the following steps:

[0005] Step S1: data preparation, specifically collecting mine environment data through sensors;

[0006] Step S2: data preprocessing;

[0007] Step S3: gas accumulation feature engineering, specifically, predicting the gas accumulation risk based on the gated cyclic unit and particle swarm optimization algorithm according to the gas concentration smoothing data, and obtaining the gas accumulation risk level;

[0008] Step S4: air supply volume prediction;

[0009] Step S5: Generate gas concentration control strategy.

[0010] Furthermore, in step S1, the mine environment data includes gas concentration data and ventilation parameters, and the ventilation parameters include air volume, wind speed, wind pressure, ventilation temperature, humidity and oxygen concentration.

[0011] Furthermore, in step S2, the data preprocessing is specifically to perform missing value filling, outlier deletion and wavelet denoising operations on the gas concentration data and ventilation parameters respectively to obtain gas concentration smoothed data and ventilation data.

[0012] Further, in step S3, the gas accumulation feature engineering is used to perform gas accumulation risk prediction based on gas concentration smoothing data, specifically gas accumulation risk prediction based on gated cyclic unit and particle swarm optimization algorithm, including the following steps:

[0013] Step S31: principal component analysis is used to reduce the dimension of the gas concentration smoothing data, and the gas concentration characteristics are calculated;

[0014] Step S32: Initializing a gas accumulation risk prediction model based on a gated cycle unit;

[0015] Step S33: using a particle swarm optimization algorithm to perform parameter tuning, and obtaining a gas accumulation risk prediction optimization model through model training, including the following steps:

[0016] Step S331: Initialize the particle swarm, specifically, use the model parameters as the position of the particles, set the number and dimension of the particles, and randomly initialize the position and speed of the particles. The calculation formula is:

[0017] ;

[0018] Where j is the particle index, Loc j is the position of the jth particle, m is the dimension of the particle, lc j1 is the position component of the jth particle in the first dimension, lc j2is the position component of the jth particle in the second dimension, lc jm is the position component of the jth particle in the mth dimension, Spe j is the speed of the jth particle, which is used to indicate the speed direction of the particle search, sp j1 is the velocity component of the jth particle in the first dimension, sp j2 is the velocity component of the jth particle in the second dimension, sp jm is the velocity component of the jth particle in the mth dimension;

[0019] Step S332: setting initial values ​​of individual extreme values ​​and global extreme values, specifically, using the current position of the particle as the initial values ​​of the individual extreme values ​​and global extreme values;

[0020] Step S333: Calculate the fitness value of each particle at the current position. The fitness value calculation formula is:

[0021] ;

[0022] In the formula, Val j is the fitness value of the jth particle, which is used to evaluate the quality of the particle, val(·) is the fitness function, and the fitness function is used to represent the loss function of the model;

[0023] Step S334: updating the individual extreme value of each particle, specifically by comparing the fitness value of the particle's current position with the fitness value corresponding to the individual extreme value. If the fitness value of the particle's current position is less than the fitness value corresponding to the individual extreme value, then updating the individual extreme value to the particle's current position;

[0024] Step S335: updating the global extreme value, specifically traversing the individual extreme values ​​of all particles, if the fitness value corresponding to the individual extreme value of a particle U is smaller than the fitness value corresponding to the global extreme value, then the global extreme value is updated to the position of the particle U;

[0025] Step S336: Update the speed and position of each particle according to the individual extreme value and the global extreme value to simulate the search process of the particle in the parameter space. The calculation formula is:

[0026] ;

[0027] Where t is the iteration index, Spe j (t+1) is the velocity of the jth particle at the t+1th iteration, α is the inertia weight, which is used to indicate the degree of inertia of the particle at a specific update speed, and Spe j(t) is the velocity of the jth particle in the tth iteration, s1 is the first learning factor, which is used to balance the influence of individual extreme values ​​on particle update, v1 is the first random parameter with a value range of [0,1], is the individual extreme value at the tth iteration, Loc j (t) is the position of the jth particle at the tth iteration, s2 is the second learning factor, which is used to balance the impact of the global extreme value on particle update, and v2 is the second random parameter with a value range of [0,1]. is the global extreme value at the tth iteration, Loc j (t+1) is the position of the jth particle at the t+1th iteration;

[0028] Step S337: Repeat step S333 and its subsequent steps to operate T max The particle swarm is iterated and updated, and the global optimal extreme value is calculated and used as the optimal parameter of the model;

[0029] Step S338: According to the gas concentration characteristics, the gas accumulation risk prediction model is trained using the optimal model parameters to obtain a gas accumulation risk prediction optimization model;

[0030] Step S34: Use the gas accumulation risk prediction optimization model to predict and obtain the gas accumulation risk level, which includes level one, level two, level three and level four, and the degree of hazard decreases successively, with level one being the highest risk and level four being the lowest risk.

[0031] Further, in step S4, the air supply volume prediction is used to predict the air supply volume according to the gas concentration, the gas accumulation risk level and the ventilation data, specifically the air supply volume prediction based on deep reinforcement learning, including the following steps:

[0032] Step S41: Designing key elements of deep reinforcement learning, including the following steps:

[0033] Step S411: defining a state space, specifically, combining the gas accumulation risk level, gas concentration and ventilation parameters into a state vector;

[0034] Step S412: defining an action space, specifically setting the value range of the air supply volume as the action space, and setting the action to adjust the speed of the ventilator of the air supply volume;

[0035] Step S413: define a reward function, specifically, set the reward function according to the gas accumulation risk level and the air supply effect, and the calculation formula is:

[0036] ;

[0037] Where rf is the reward function, μ1 is the penalty weight, which is used to represent the penalty weight of the gas accumulation risk level, q1 is the penalty term, which is used to represent the penalty of the gas accumulation risk level, μ2 is the reward weight, which is used to represent the reward weight of the air supply effect, and q2 is the reward term, which is used to represent the reward of the air supply effect;

[0038] Step S42: Initialize the air supply volume prediction model structure, which includes a strategy network, a value function network and a buffer zone. The calculation formula of the buffer zone is:

[0039] ;

[0040] Where BZ is a buffer for storing historical experience, ti is the time step index, and s ti is the state, which specifically refers to the state at the ti-th time step, a ti is an action, which specifically refers to the action taken at the ti-th time step, s ti+1 is the next state, and the next state specifically refers to the state at the ti+1th time step;

[0041] Step S43: updating parameters through model training, optimizing the strategy network and the value function network, and obtaining an air supply volume prediction model, including the following steps:

[0042] Step S431: Initialize policy network parameters and value function network parameters;

[0043] Step S432: Calculate the objective function to find the optimal strategy that maximizes the expected value. The calculation formula is:

[0044] ;

[0045] In the formula, is the objective function, used to represent the optimal strategy, argmax is the maximum value operation, is the policy, which is used to express the rule for taking actions in a specific state, T is the total number of time steps, It is in strategy The probability distribution of state-action pairs under It is in strategy The expected value function of the state-action pair under ti , a ti ) is the system reward, which specifically refers to ti Take action a ti The immediate reward obtained, β is the temperature parameter used to balance the importance of policy entropy and system reward, and H(·) is the policy entropy function;

[0046] Step S433: Adopt the update range of the relative entropy constraint strategy and update the strategy by minimizing the relative entropy. The calculation formula is:

[0047] ;

[0048] In the formula, is the updated strategy, argmin is the minimum operation, NI is the feasible set of strategies, B KL (·) is the relative entropy function, exp(·) is the exponential function, is the old policy, and the old policy specifically refers to the policy before the update, In the old strategy The action value function under the condition is used to express the expected reward obtained by taking an action in a specific state. is the partition term of the normalized distribution;

[0049] Step S434: Calculate the value function network loss function, minimize the value function network loss function by gradient descent method, and update the value function network parameters. The calculation formula of the value function network loss function is:

[0050] ;

[0051] In the formula, is the value function network loss function, is the value function network parameter, is the expected value function of the state-action pairs in the buffer, is the network parameter in the value function The action-value function under is the discount factor, is the expected value function of the next state, are policy network parameters, is the next state in the policy network parameter A state-value function under , wherein the state-value function is used to represent the expected reward obtained in a specific state;

[0052] Step S435: Calculate the policy network loss function, minimize the policy network loss function by gradient descent method, and update the policy network loss function parameters. The calculation formula of the policy network loss function is:

[0053] ;

[0054] In the formula, is the policy network loss function, are policy network parameters, is the expected value function of the state in the buffer, is the current policy, used to represent the policy network parameters The strategy adopted is the expected value function of the action under the current strategy;

[0055] Step S44: using the air supply volume prediction model, combined with the gas concentration, gas accumulation risk level and ventilation data to predict the air supply volume, and obtain the required air supply volume of the mine.

[0056] Furthermore, in step S5, the gas concentration control strategy is generated, specifically, early warning feedback is performed based on the gas accumulation risk level. When the gas accumulation risk level is level one or level two, an early warning prompt message is issued, and a gas concentration control strategy is generated based on the air supply required by the mine. The gas concentration control strategy controls the gas concentration by adjusting the fan speed.

[0057] The present invention provides an air supply volume prediction system for intelligent control of gas accumulation, comprising: a data preparation module, a data preprocessing module, a gas accumulation feature engineering module, an air supply volume prediction module and a gas concentration control strategy generation module;

[0058] The data preparation module specifically collects mine environment data through sensors to obtain mine environment data, and sends the mine environment data to the data preprocessing module;

[0059] The data preprocessing module specifically performs missing value filling, outlier deletion and wavelet denoising operations on the gas concentration data and ventilation parameters respectively to obtain gas concentration smoothing data and ventilation data, and sends the gas concentration smoothing data to the gas accumulation feature engineering module and the air supply volume prediction module, and sends the ventilation data to the air supply volume prediction module;

[0060] The gas accumulation feature engineering module specifically predicts gas accumulation risk based on the gated cyclic unit and particle swarm optimization algorithm according to the gas concentration smoothing data, obtains the gas accumulation risk level, and sends the gas accumulation risk level to the air supply volume prediction module and the gas concentration control strategy generation module;

[0061] The air supply volume prediction module specifically uses deep reinforcement learning to construct an air supply volume prediction model based on gas concentration, gas accumulation risk level and ventilation data, obtains an air supply volume prediction model, uses the air supply volume prediction model to predict the air supply volume, obtains the air supply volume required by the mine, and sends the air supply volume required by the mine to the gas concentration control strategy generation module;

[0062] The gas concentration control strategy generation module specifically provides early warning feedback based on the gas accumulation risk level. When the gas accumulation risk level is level one or level two, it issues an early warning prompt message and generates a gas concentration control strategy based on the air supply required by the mine.

[0063] The beneficial effects achieved by the present invention using the above scheme are as follows:

[0064] (1) In view of the technical problems that the existing air supply volume prediction process for intelligent control of gas accumulation is insufficient in real time and delayed in response, resulting in delayed adjustment of the ventilation system and high safety risks in coal mines, this scheme adopts gas accumulation risk prediction based on gated cyclic unit and particle swarm optimization algorithm. By optimizing model parameters, it avoids the phenomenon of poor model learning ability and overfitting, and enhances the robustness of the model. It can realize rapid learning of historical data and real-time data, enhance the real-time nature of prediction, and help to timely discover gas accumulation risks, thereby improving coal mine safety.

[0065] (2) In view of the technical problem that in the existing air supply volume prediction process for intelligent control of gas accumulation, the mine environment data is affected by the activities of workers in the mine, and is unstable and complex. In addition, there is a time delay in the change of gas concentration after ventilation adjustment, making it difficult to accurately predict the required air supply, which may lead to the risk of insufficient or excessive air supply, thereby affecting the effectiveness and practicality of intelligent control of gas accumulation, this solution adopts air supply volume prediction based on deep reinforcement learning, which has stronger real-time learning and decision-making capabilities, and effectively models time series data, so as to better capture the long-term dependency between features, improve the accuracy of air supply volume prediction, help dynamically adjust the air supply volume, reduce the risk of gas accumulation, and thus improve the effectiveness and practicality of intelligent control of gas accumulation. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 A flow chart of a method for predicting air supply volume for intelligent control of gas accumulation provided by the present invention;

[0067] Figure 2 A schematic diagram of an air supply volume prediction system for intelligent control of gas accumulation provided by the present invention;

[0068] Figure 3 is a schematic diagram of the process of step S3;

[0069] Figure 4 It is a schematic diagram of the process of step S4.

[0070] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention. DETAILED DESCRIPTION

[0071] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0072] In the description of the present invention, it should be understood that terms such as “upper”, “lower”, “front”, “back”, “left”, “right”, “top”, “bottom”, “inside” and “outside” indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as limiting the present invention.

[0073] Example 1, see Figure 1 The present invention provides a method for predicting air supply volume for intelligent control of gas accumulation, the method comprising the following steps:

[0074] Step S1: data preparation, specifically installing sensors in the air inlet and inside the mine, and collecting mine environment data through real-time monitoring by the sensors;

[0075] Step S2: data preprocessing;

[0076] Step S3: gas accumulation feature engineering, specifically, predicting gas accumulation risk based on the gated cyclic unit and particle swarm optimization algorithm according to the gas concentration smoothing data, and obtaining the gas accumulation risk level;

[0077] Step S4: air supply volume prediction;

[0078] Step S5: Generate gas concentration control strategy.

[0079] Example 2, see Figure 1 This embodiment is based on the above embodiment. In step S1, the mine environment data includes gas concentration data and ventilation parameters. The ventilation parameters include air volume, wind speed, wind pressure, ventilation temperature, humidity and oxygen concentration.

[0080] Example 3, see Figure 1 This embodiment is based on the above embodiment. In step S2, the data preprocessing is specifically to perform missing value filling, outlier deletion and wavelet denoising operations on the gas concentration data and ventilation parameters respectively to obtain gas concentration smoothed data and ventilation data.

[0081] Example 4, see Figure 1 and Figure 3This embodiment is based on the above embodiment. In step S3, the gas accumulation feature engineering is used to perform gas accumulation risk prediction based on gas concentration smoothing data, specifically gas accumulation risk prediction based on gated cyclic unit and particle swarm optimization algorithm, including the following steps:

[0082] Step S31: principal component analysis is used to reduce the dimension of the gas concentration smoothing data, and the gas concentration characteristics are calculated;

[0083] Step S32: Initializing a gas accumulation risk prediction model based on a gated cycle unit;

[0084] Step S33: using a particle swarm optimization algorithm to perform parameter tuning, and obtaining a gas accumulation risk prediction optimization model through model training, including the following steps:

[0085] Step S331: Initialize the particle swarm, specifically, use the model parameters as the position of the particles, set the number and dimension of the particles, and randomly initialize the position and speed of the particles. The calculation formula is:

[0086] ;

[0087] Where j is the particle index, Loc j is the position of the jth particle, m is the dimension of the particle, lc j1 is the position component of the jth particle in the first dimension, lc j2 is the position component of the jth particle in the second dimension, lc jm is the position component of the jth particle in the mth dimension, Spe j is the speed of the jth particle, which is used to indicate the speed direction of the particle search, sp j1 is the velocity component of the jth particle in the first dimension, sp j2 is the velocity component of the jth particle in the second dimension, sp jm is the velocity component of the jth particle in the mth dimension;

[0088] Step S332: setting initial values ​​of individual extreme values ​​and global extreme values, specifically, using the current position of the particle as the initial values ​​of the individual extreme values ​​and global extreme values;

[0089] Step S333: Calculate the fitness value of each particle at the current position. The fitness value calculation formula is:

[0090] ;

[0091] In the formula, Val jis the fitness value of the jth particle, which is used to evaluate the quality of the particle, val(·) is the fitness function, and the fitness function is used to represent the loss function of the model;

[0092] Step S334: updating the individual extreme value of each particle, specifically by comparing the fitness value of the particle's current position with the fitness value corresponding to the individual extreme value. If the fitness value of the particle's current position is less than the fitness value corresponding to the individual extreme value, then updating the individual extreme value to the particle's current position;

[0093] Step S335: updating the global extreme value, specifically traversing the individual extreme values ​​of all particles, if the fitness value corresponding to the individual extreme value of a particle U is smaller than the fitness value corresponding to the global extreme value, then the global extreme value is updated to the position of the particle U;

[0094] Step S336: Update the speed and position of each particle according to the individual extreme value and the global extreme value to simulate the search process of the particle in the parameter space. The calculation formula is:

[0095] ;

[0096] Where t is the iteration index, Spe j (t+1) is the velocity of the jth particle at the t+1th iteration, α is the inertia weight, which is used to indicate the degree of inertia of the particle at a specific update speed, and Spe j (t) is the velocity of the jth particle in the tth iteration, s1 is the first learning factor, which is used to balance the influence of individual extreme values ​​on particle update, v1 is the first random parameter with a value range of [0,1], is the individual extreme value at the tth iteration, Loc j (t) is the position of the jth particle at the tth iteration, s2 is the second learning factor, which is used to balance the impact of the global extreme value on particle update, and v2 is the second random parameter with a value range of [0,1]. is the global extreme value at the tth iteration, Loc j (t+1) is the position of the jth particle at the t+1th iteration;

[0097] Step S337: Repeat step S333 and its subsequent steps to operate T max The particle swarm is iterated and updated, and the global optimal extreme value is calculated and used as the optimal parameter of the model;

[0098] Step S338: According to the gas concentration characteristics, the gas accumulation risk prediction model is trained using the optimal model parameters to obtain a gas accumulation risk prediction optimization model;

[0099] Step S34: using a gas accumulation risk prediction optimization model to predict and obtain a gas accumulation risk level, wherein the gas accumulation risk levels include level 1, level 2, level 3 and level 4, and the degree of hazard decreases in sequence, with level 1 being the highest risk and level 4 being the lowest risk;

[0100] By performing the above operations, in order to solve the technical problems that the existing air supply volume prediction process for intelligent control of gas accumulation has insufficient real-time performance and delayed response, resulting in delayed adjustment of the ventilation system and high safety risks in coal mines, this solution adopts gas accumulation risk prediction based on gated cyclic unit and particle swarm optimization algorithm. By optimizing model parameters, it avoids poor model learning ability and overfitting, and enhances the robustness of the model. It can realize rapid learning of historical data and real-time data, enhance the real-time performance of prediction, and help to timely discover gas accumulation risks, thereby improving coal mine safety.

[0101] Example 5, see Figure 1 and Figure 4 This embodiment is based on the above embodiment. In step S4, the air supply volume prediction is used to predict the air supply volume according to the gas concentration, the gas accumulation risk level and the ventilation data, specifically the air supply volume prediction based on deep reinforcement learning, including the following steps:

[0102] Step S41: Designing key elements of deep reinforcement learning, including the following steps:

[0103] Step S411: defining a state space, specifically, combining the gas accumulation risk level, gas concentration and ventilation parameters into a state vector;

[0104] Step S412: defining an action space, specifically setting the value range of the air supply volume as the action space, and setting the action to adjust the speed of the ventilator of the air supply volume;

[0105] Step S413: define a reward function, specifically, set the reward function according to the gas accumulation risk level and the air supply effect, and the calculation formula is:

[0106] ;

[0107] Where rf is the reward function, μ1 is the penalty weight, which is used to represent the penalty weight of the gas accumulation risk level, q1 is the penalty term, which is used to represent the penalty of the gas accumulation risk level, μ2 is the reward weight, which is used to represent the reward weight of the air supply effect, and q2 is the reward term, which is used to represent the reward of the air supply effect;

[0108] Step S42: Initialize the air supply volume prediction model structure, which includes a policy network, a value function network and a buffer, select the fully connected layer as the hidden layer of the policy network and the value function network, select the ReLU activation function as the activation function of the hidden layer, set the learning rate of the policy network and the value function network to 0.001, and set the size of the buffer to 105;

[0109] The calculation formula of the buffer zone is:

[0110] ;

[0111] Where BZ is a buffer for storing historical experience, ti is the time step index, and s ti is the state, which specifically refers to the state at the ti-th time step, a ti is an action, which specifically refers to the action taken at the ti-th time step, s ti+1 is the next state, and the next state specifically refers to the state at the ti+1th time step;

[0112] Step S43: updating parameters through model training, optimizing the strategy network and the value function network, and obtaining an air supply volume prediction model, including the following steps:

[0113] Step S431: Initialize policy network parameters and value function network parameters;

[0114] Step S432: Calculate the objective function to find the optimal strategy that maximizes the expected value. The calculation formula is:

[0115] ;

[0116] In the formula, is the objective function, used to represent the optimal strategy, argmax is the maximum value operation, is the policy, which is used to express the rule for taking actions in a specific state, T is the total number of time steps, It is in strategy The probability distribution of state-action pairs under It is in strategy The expected value function of the state-action pair under ti , a ti ) is the system reward, which specifically refers to ti Take action a ti The instant reward obtained, β is the temperature parameter used to balance the importance of policy entropy and system reward, the temperature parameter value is 0.01, H(·) is the policy entropy function;

[0117] Step S433: Adopt the update range of the relative entropy constraint strategy and update the strategy by minimizing the relative entropy. The calculation formula is:

[0118] ;

[0119] In the formula, is the updated strategy, argmin is the minimum operation, NI is the feasible set of strategies, B KL (·) is the relative entropy function, exp(·) is the exponential function, is the old policy, and the old policy specifically refers to the policy before the update, In the old strategy The action value function under the condition is used to express the expected reward obtained by taking an action in a specific state. is the partition term of the normalized distribution;

[0120] Step S434: Calculate the value function network loss function, minimize the value function network loss function by gradient descent method, and update the value function network parameters. The calculation formula of the value function network loss function is:

[0121] ;

[0122] In the formula, is the value function network loss function, is the value function network parameter, is the expected value function of the state-action pairs in the buffer, is the network parameter in the value function The action-value function under is the discount factor, the discount factor is 0.99, is the expected value function of the next state, are policy network parameters, is the next state in the policy network parameter A state-value function under , wherein the state-value function is used to represent the expected reward obtained in a specific state;

[0123] Step S435: Calculate the policy network loss function, minimize the policy network loss function by gradient descent method, and update the policy network loss function parameters. The calculation formula of the policy network loss function is:

[0124] ;

[0125] In the formula, is the policy network loss function, are policy network parameters, is the expected value function of the state in the buffer, is the current policy, used to represent the policy network parameters The strategy adopted is the expected value function of the action under the current strategy;

[0126] Step S44: using an air supply volume prediction model, combining gas concentration, gas accumulation risk level and ventilation data to predict the air supply volume, and obtaining the required air supply volume of the mine;

[0127] By performing the above operations, in order to solve the technical problem that in the existing air supply prediction process for intelligent control of gas accumulation, the mine environment data is affected by the activities of workers in the mine, is unstable and complex, and there is a time delay in the change of gas concentration after adjusting the ventilation, making it difficult to accurately predict the required air supply, and there is a risk of insufficient or excessive air supply, which in turn affects the effectiveness and practicality of intelligent control of gas accumulation, this solution adopts air supply prediction based on deep reinforcement learning, which has stronger real-time learning and decision-making capabilities, and effectively models time series data, so as to better capture the long-term dependency between features, improve the accuracy of air supply prediction, help to dynamically adjust the air supply, reduce the risk of gas accumulation, and thus improve the effectiveness and practicality of intelligent control of gas accumulation.

[0128] Example 6, see Figure 1 This embodiment is based on the above embodiment. In step S5, the gas concentration control strategy is generated, specifically, early warning feedback is performed based on the gas accumulation risk level. When the gas accumulation risk level is level one or level two, an early warning prompt message is issued, and a gas concentration control strategy is generated based on the air supply required by the mine. The gas concentration control strategy controls the gas concentration by adjusting the fan speed.

[0129] Embodiment 7, see Figure 2 , this embodiment is based on the above embodiment, and the present invention provides an air supply volume prediction system for intelligent control of gas accumulation, comprising: a data preparation module, a data preprocessing module, a gas accumulation feature engineering module, an air supply volume prediction module and a gas concentration control strategy generation module;

[0130] The data preparation module specifically collects mine environment data through sensors to obtain mine environment data, and sends the mine environment data to the data preprocessing module;

[0131] The data preprocessing module specifically performs missing value filling, outlier deletion and wavelet denoising operations on the gas concentration data and ventilation parameters respectively to obtain gas concentration smoothing data and ventilation data, and sends the gas concentration smoothing data to the gas accumulation feature engineering module and the air supply volume prediction module, and sends the ventilation data to the air supply volume prediction module;

[0132] The gas accumulation feature engineering module specifically predicts gas accumulation risk based on the gated cyclic unit and particle swarm optimization algorithm according to the gas concentration smoothing data, obtains the gas accumulation risk level, and sends the gas accumulation risk level to the air supply volume prediction module and the gas concentration control strategy generation module;

[0133] The air supply volume prediction module specifically uses deep reinforcement learning to construct an air supply volume prediction model based on gas concentration, gas accumulation risk level and ventilation data, obtains an air supply volume prediction model, uses the air supply volume prediction model to predict the air supply volume, obtains the air supply volume required by the mine, and sends the air supply volume required by the mine to the gas concentration control strategy generation module;

[0134] The gas concentration control strategy generation module specifically provides early warning feedback based on the gas accumulation risk level. When the gas accumulation risk level is level one or level two, it issues an early warning prompt message and generates a gas concentration control strategy based on the air supply required by the mine.

[0135] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0136] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

[0137] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.

Claims

1. A method for predicting air supply volume for intelligent control of gas accumulation, Features: The method comprises the following steps: Step S1: data preparation, specifically collecting mine environment data through sensors; Step S2: data preprocessing; Step S3: gas accumulation feature engineering, specifically, predicting the gas accumulation risk based on the gated cyclic unit and particle swarm optimization algorithm according to the gas concentration smoothing data, and obtaining the gas accumulation risk level; Step S4: air supply volume prediction; Step S5: generating a gas concentration control strategy; In step S3, the gas accumulation feature engineering includes the following steps: Step S31: principal component analysis is used to reduce the dimension of the gas concentration smoothing data, and the gas concentration characteristics are calculated; Step S32: Initializing a gas accumulation risk prediction model based on a gated cycle unit; Step S33: using a particle swarm optimization algorithm to perform parameter tuning, and obtaining a gas accumulation risk prediction optimization model through model training, including the following steps: Step S331: Initialize the particle swarm, specifically, use the model parameters as the position of the particles, set the number and dimension of the particles, and randomly initialize the position and speed of the particles. The calculation formula is: ; Where j is the particle index, Loc j is the position of the jth particle, m is the dimension of the particle, lc j1 is the position component of the jth particle in the first dimension, lc j2 is the position component of the jth particle in the second dimension, lc jm is the position component of the jth particle in the mth dimension, Spe j is the speed of the jth particle, which is used to indicate the speed direction of the particle search, sp j1 is the velocity component of the jth particle in the first dimension, sp j2 is the velocity component of the jth particle in the second dimension, sp jm is the velocity component of the jth particle in the mth dimension; Step S332: setting initial values ​​of individual extreme values ​​and global extreme values, specifically, using the current position of the particle as the initial values ​​of the individual extreme values ​​and global extreme values; Step S333: Calculate the fitness value of each particle at the current position. The fitness value calculation formula is: ; In the formula, Val j is the fitness value of the jth particle, which is used to evaluate the quality of the particle, val(·) is the fitness function, and the fitness function is used to represent the loss function of the model; Step S334: updating the individual extreme value of each particle, specifically by comparing the fitness value of the particle's current position with the fitness value corresponding to the individual extreme value. If the fitness value of the particle's current position is less than the fitness value corresponding to the individual extreme value, then updating the individual extreme value to the particle's current position; Step S335: updating the global extreme value, specifically traversing the individual extreme values ​​of all particles, if the fitness value corresponding to the individual extreme value of a particle U is smaller than the fitness value corresponding to the global extreme value, then the global extreme value is updated to the position of the particle U; Step S336: Update the speed and position of each particle according to the individual extreme value and the global extreme value to simulate the search process of the particle in the parameter space. The calculation formula is: ; Where t is the iteration index, Spe j (t+1) is the velocity of the jth particle at the t+1th iteration, α is the inertia weight, which is used to indicate the degree of inertia of the particle at a specific update speed, and Spe j (t) is the velocity of the jth particle at the tth iteration, s 1 is the first learning factor, which is used to balance the impact of individual extreme values ​​on particle updates, v 1 is the first random parameter in the range [0,1], is the individual extreme value at the tth iteration, Loc j (t) is the position of the jth particle at the tth iteration, s 2 is the second learning factor, which is used to balance the impact of global extreme values ​​on particle updates, v 2 is the second random parameter in the range [0,1], is the global extreme value at the tth iteration, Loc j (t+1) is the position of the jth particle at the t+1th iteration; Step S337: Repeat step S333 and its subsequent steps to operate T max The particle swarm is iterated and updated, and the global optimal extreme value is calculated and used as the optimal parameter of the model; Step S338: According to the gas concentration characteristics, the gas accumulation risk prediction model is trained using the optimal model parameters to obtain a gas accumulation risk prediction optimization model; Step S34: using a gas accumulation risk prediction optimization model to predict and obtain a gas accumulation risk level, wherein the gas accumulation risk levels include level 1, level 2, level 3 and level 4, and the degree of hazard decreases in sequence, with level 1 being the highest risk and level 4 being the lowest risk; In step S4, the air supply volume prediction model is constructed, specifically the air supply volume prediction based on deep reinforcement learning, including the following steps: Step S41: Designing key elements of deep reinforcement learning, including the following steps: Step S411: defining a state space, specifically, combining the gas accumulation risk level, gas concentration and ventilation parameters into a state vector; Step S412: defining an action space, specifically setting the value range of the air supply volume as the action space, and setting the action to adjust the speed of the ventilator of the air supply volume; Step S413: define a reward function, specifically, set the reward function according to the gas accumulation risk level and the air supply effect, and the calculation formula is: ; Where rf is the reward function, μ 1 is the penalty weight, which is used to represent the penalty weight of the gas accumulation risk level, q 1 is a penalty term, which is used to indicate the penalty for gas accumulation risk level, μ 2 is the reward weight, which is used to represent the reward weight of the wind supply effect, q 2 It is a reward item, used to indicate the reward for the air supply effect; Step S42: Initializing an air supply volume prediction model structure, wherein the air supply volume prediction model structure includes a strategy network, a value function network, and a buffer zone; Step S43: updating parameters through model training, optimizing the strategy network and the value function network, and obtaining an air supply volume prediction model; Step S44: using the air supply volume prediction model, combined with the gas concentration, gas accumulation risk level and ventilation data to predict the air supply volume, and obtain the required air supply volume of the mine.

2. According to claim 1, a method for predicting air supply volume for intelligent control of gas accumulation, Features: In step S43, the parameter update is performed through model training to optimize the strategy network and the value function network to obtain the air supply volume prediction model, including the following steps: Step S431: Initialize policy network parameters and value function network parameters; Step S432: Calculate the objective function to find the optimal strategy that maximizes the expected value. The calculation formula is: ; In the formula, is the objective function, used to represent the optimal strategy, argmax is the maximum value operation, is the policy, which is used to express the rule for taking actions in a specific state, T is the total number of time steps, It is in strategy The probability distribution of state-action pairs under It is in strategy The expected value function of the state-action pair under ti , a ti ) is the system reward, which specifically refers to ti Take action a ti The immediate reward obtained, β is the temperature parameter used to balance the importance of policy entropy and system reward, and H(·) is the policy entropy function; Step S433: Adopt the update range of the relative entropy constraint strategy and update the strategy by minimizing the relative entropy. The calculation formula is: ; In the formula, is the updated strategy, argmin is the minimum operation, NI is the feasible set of strategies, B KL (·) is the relative entropy function, exp(·) is the exponential function, is the old policy, and the old policy specifically refers to the policy before the update, In the old strategy The action value function under the condition is used to express the expected reward obtained by taking an action in a specific state. is the partition term of the normalized distribution; Step S434: Calculate the value function network loss function, minimize the value function network loss function by gradient descent method, and update the value function network parameters. The calculation formula of the value function network loss function is: ; In the formula, is the value function network loss function, is the value function network parameter, is the expected value function of the state-action pairs in the buffer, is the network parameter in the value function The action-value function under is the discount factor, is the expected value function of the next state, are policy network parameters, is the next state in the policy network parameter A state-value function under , wherein the state-value function is used to represent the expected reward obtained in a specific state; Step S435: Calculate the policy network loss function, minimize the policy network loss function by gradient descent method, and update the policy network loss function parameters. The calculation formula of the policy network loss function is: ; In the formula, is the policy network loss function, are policy network parameters, is the expected value function of the state in the buffer, is the current policy, used to represent the policy network parameters The strategy adopted is the expected value function of the action under the current policy.

3. The air supply volume prediction method for intelligent control of gas accumulation according to claim 1, Features: In step S1, the mine environment data includes gas concentration data and ventilation parameters, and the ventilation parameters include air volume, wind speed, wind pressure, ventilation temperature, humidity and oxygen concentration; In step S2, the data is preprocessed, specifically, by performing missing value filling, outlier deletion and wavelet denoising operations on the gas concentration data and ventilation parameters, respectively, to obtain gas concentration smoothed data and ventilation data.

4. The air supply volume prediction method for intelligent control of gas accumulation according to claim 1, Features: In step S5, the gas concentration control strategy is generated, specifically, early warning feedback is performed based on the gas accumulation risk level. When the gas accumulation risk level is level one or level two, an early warning prompt message is issued, and a gas concentration control strategy is generated based on the air supply required by the mine. The gas concentration control strategy controls the gas concentration by adjusting the fan speed.

5. An air supply volume prediction system for intelligent control of gas accumulation, used to implement an air supply volume prediction method for intelligent control of gas accumulation as described in any one of claims 1 to 4, Features: It includes data preparation module, data preprocessing module, gas accumulation feature engineering module, air supply volume prediction module and gas concentration control strategy generation module.

6. The air supply volume prediction system for intelligent control of gas accumulation according to claim 5, Features: The data preparation module specifically collects mine environment data through sensors to obtain mine environment data, and sends the mine environment data to the data preprocessing module; The data preprocessing module specifically performs missing value filling, outlier deletion and wavelet denoising operations on the gas concentration data and ventilation parameters respectively to obtain gas concentration smoothing data and ventilation data, and sends the gas concentration smoothing data to the gas accumulation feature engineering module and the air supply volume prediction module, and sends the ventilation data to the air supply volume prediction module; The gas accumulation feature engineering module specifically predicts gas accumulation risk based on the gated cyclic unit and particle swarm optimization algorithm according to the gas concentration smoothing data, obtains the gas accumulation risk level, and sends the gas accumulation risk level to the air supply volume prediction module and the gas concentration control strategy generation module; The air supply volume prediction module specifically uses deep reinforcement learning to construct an air supply volume prediction model based on gas concentration, gas accumulation risk level and ventilation data, obtains an air supply volume prediction model, uses the air supply volume prediction model to predict the air supply volume, obtains the air supply volume required by the mine, and sends the air supply volume required by the mine to the gas concentration control strategy generation module; The gas concentration control strategy generation module specifically provides early warning feedback based on the gas accumulation risk level. When the gas accumulation risk level is level one or level two, it issues an early warning prompt message and generates a gas concentration control strategy based on the air supply required by the mine.

Citation Information

Cited By

  • A high-gas mine air demand prediction linkage control method, device and medium

    CN123137088A