Abstract

The coal mine environment is complex and dangerous after gas accident; then a timely and effective rescue and relief work is necessary. Hence prediction of gas concentration in front of coal mine rescue robot is an important significance to ensure that the coal mine rescue robot carries out the exploration and search and rescue mission. In this paper, a gray neural network is proposed to predict the gas concentration 10 meters in front of the coal mine rescue robot based on the gas concentration, temperature, and wind speed of the current position and 1 meter in front. Subsequently the quantum genetic algorithm optimization gray neural network parameters of the gas concentration prediction method are proposed to get more accurate prediction of the gas concentration in the roadway. Experimental results show that a gray neural network optimized by the quantum genetic algorithm is more accurate for predicting the gas concentration. The overall prediction error is 9.12%, and the largest forecasting error is 11.36%; compared with gray neural network, the gas concentration prediction error increases by 55.23%. This means that the proposed method can better allow the coal mine rescue robot to accurately predict the gas concentration in the coal mine roadway.

1. Introduction

Coal mine accidents have occurred frequently in our country. Coal mine accidents caused by a gas outburst, gas explosion, and gas suffocation accounted for 70%~80% of all coal mine accidents [1], which not only cause great losses to the coal mining enterprises but also bring huge economic losses and psychological harm to the enterprise employees, family members, and the country. After a coal mine accident, the timeliness of an emergency rescue is very important. Rescue and relief workers have a small window of opportunity to enter the underground scene of the accident for rescue purposes. However, a complex and dangerous coal mine environment is a great security threat for rescue workers. With the development of science and technology, the mine rescue robot can be used for coal mine disaster relief to detect the situation within the disaster areas, to find personnel in distress, and to provide decision-making support for the rescue.

Gas disaster accidents often destroy roadway ventilation facilities, damage ventilation systems, and cause methane to flow from the coal wall and the goaf, most likely forming gas accumulation in the disaster areas. Furthermore, there is the risk of elevated temperature, coal dust, and other flammable and explosive gases produced from coal dry distillation, further increasing the risk of gas explosion. Not extinguishing the fire or new flames produced by secondary factors may cause a secondary gas explosion at any time. To ensure that the coal mine rescue robot can perform the detection and search and rescue mission, measures must be taken to avoid secondary disasters such as gas explosion caused by concentration. Therefore, predicting gas concentrations early has very important significance.

A comprehensive analysis of domestic and foreign research on gas concentration forecast shows that, at present, the research mainly focuses on the prediction of gas emissions, gas concentration prediction algorithms or methods, and so on. Özgen Karacan [2] proposes a principle component analysis and artificial neural network-based approach to predict the ventilation methane emission rates of US longwall mines. Runqiua et al. [3] put forward a prediction gas emission method based on self-organizing data mining, and Hu et al. [4] established prediction models of the coalbed methane content using quantification theory based on the limited data obtained from the exploratory bores. The prediction method and algorithm of the gas concentration are compared with the prediction model [5] or an improved prediction model [6] to improve the accuracy of prediction. By using an effective prediction method or algorithm [79] to validate the practicality of the prediction [10] and using the combination forecasting method or algorithm [1114] to accurately predict the concentration range, the trend of the gas concentration can be tracked effectively. However, there are some problems in these studies. Predicting the emission quantity is mostly based on data statistics or data mining. Searching for a gas change law and predicting the amount of gas emission in a mine or a range often require a large amount of data. Sometimes, data from the past few decades are needed, resulting in a large amount of forecast work. Furthermore, among the research in the gas concentration prediction method or algorithm, the accuracy and effectiveness of the method or algorithm are of greater concern, and the practicability of the algorithm is seldom considered. If the gray system and neural network are combined to form the gray neural network, it can take full advantage of the gray system’s data modeling and the neural network’s nonlinear mapping features. With the help of the gray mode, the gray neural network uses new data after the accumulation of new data to model. To a certain extent, this process weakens the randomness of the original data, and it is easy to find the transformation of the data. This approach is suitable when partial information is known, some information is unknown, there is a small sample, there is poor information, or there is uncertainty in the system. The establishment of a gray neural network can solve the problem of insufficient data quantity for gas concentration, but it also has its own inherent defects, such as randomness in the weight and threshold in the initialization process, falling into the local optimum during network evolution, and the inability to further modify the relevant parameters. Therefore, to improve the accuracy and applicability of gray neural network forecasts, the gray neural network is combined with the optimization algorithm. Currently, more common optimization algorithms include the particle swarm algorithm, ant colony algorithm, and genetic algorithm. The particle swarm optimization algorithm’s main problem is that it is easy to produce premature convergence (especially when dealing with complex multimodal search problems) and poor local search optimization capabilities. The PSO algorithm is at the local minimum, which is mainly due to the loss of diversity in the search space. The ant colony algorithm is a typical probabilistic algorithm. The parameter settings in the ant colony algorithm are usually determined by experiments, which are closely related to human experience, and it is difficult to optimize the performance of the algorithm. The genetic algorithm can find the optimal solution of the problem using probability, but it does not take advantage of the excellent evolution immature subset of the information provided in the optimization process. In addition, there are slow convergence and premature convergence defects. The quantum genetic algorithm is introduced into the genetic optimization algorithm, which makes the genetic operation more effective. A quantum bit was introduced into the chromosome coding in the quantum state vector based on the narration. Thus, a chromosome can express the superposition of multiple states, reduce the size of the population, and increase the diversity of the population. At the same time, the application of the concept of a quantum gate can promote the convergence of the algorithm, and the quantum gate mutation operation can be used.

The phase characteristics of quantum entanglement can break the traditional genetic algorithm to produce several individual concept hybrid offspring. Using the quantum entanglement of quantum hybrid design can exchange information in the entire population, making it easy to find great individual populations. Hybrid quantum entanglement with quantum information can be communicated throughout the population, making it easy to find great individual populations.

This paper combines the actual work requirements of the coal mine rescue robots with a small amount of measurement data of the robot, and the factors affecting the gas concentration (such as temperature, wind speed, and distance) are considered. The gas concentration 10 meters in front of the coal mine rescue robot is predicted using the gray neural network variation for eigenvalues in uncertain systems. The prediction accuracy of the gray neural network is improved by optimizing the quantum genetic algorithm parameters of the gray neural network. The safety of the coal mine rescue robot’s task execution is ensured by avoiding gas explosion accidents because of either the coal mine rescue robot itself or the ground friction sparks. This provides an effective basis for the rescue decision.

2. Model Establishment

2.1. Gray Neural Network

Grey system theory is founded by Professor Deng Julong in 1982, an expansion theory from the method of white-black-gray box, which is a new research method for the issue with a few new original data and uncertain features. A gray neural network is the combination of gray theory and a neural network, which can predict the development and change of the characteristic value of the uncertain system. The original sequence of the system (), after a cumulative sequence gives , and its exponential growth can be used as a function or differential equation for data fitting and prediction. To facilitate representation, redefine the original sequence after sequence is represented as a cumulative sequence, and the result is expressed as a forecast.

The differential predictive model of the parameters in a gray neural network iswhere are the input parameters for the system; is the system output parameter; and are the coefficient differential equations. The time response formula of (1) is

Let

Equation (2) can be simplified to

Mapping (3) to the BP neural network gives the gray neural network with input parameters and 1 output parameter, and the network topology is shown in Figure 1.

In the graph, is the sequence number, and are the network input parameters, and are the network weight values, and is the network forecast value. LA, LB, LC, and LD represent the four layers in the gray neural network.

Let , so the network weights can be expressed as follows:

The LD layer output node threshold is

The gray neural network training process is as follows:(1)Initialize the gray neural network and the parameters.(2)Each output is calculated for each input sample:LA layer: .LB layer: .LC layer: .LD layer: .(3)Calculate the error of the predicted output and the actual value, and the error formula of each layer is as follows:LD layer: .LC layer: .LB layer: .(4)Adjust the threshold formula in accordance with the following error:LB to LC layer: .LA to LB layer: ;Adjust the threshold: .(5)Determine whether the set error is reached. If it is reached, the training is over, and if not, return to step .

2.2. Quantum Genetic Algorithm
2.2.1. Quantum Genetic Algorithm Coding

The common coding methods of the quantum genetic evolutionary algorithm are binary coding, decimal coding, and symbol coding. A novel coding scheme based on quantum bit is used in the quantum evolutionary strategy. Its most essential feature is the full use of superposition and the coherence of quantum states, as well as the entangled states of the quantum bits. The smallest unit of information is a quantum bit, or a qubit. In the quantum genetic algorithm, a qubit may be in or , in an intermediate state of and , and in different superpositions of and . Therefore, a qubit state is expressed as follows:

In the formula, and can be complex, and they represent the probability amplitude of the corresponding state and satisfy the condition .

A system with m quantum bits can be expressed as states, namely,

In the formula, , .

2.2.2. Quantum Variation

By the basic assumptions of quantum mechanics, -bit quantum registers can be in ground state of coherent superposition state ; that is to say, it can simultaneously represent the number. The relationship between superposition state and ground state can be expressed as , where is the probability amplitude of the state , and express the probability of collapse to the ground state , when subjected to quantum computing systems and measuring instruments observation entangled.

Quantum coherence [15] is an important mechanism for quantum computing, using a special link between the quantum states; other quantum states can be launched from one or more quantum states. One of the main principles of quantum computing is to make each ground state of superposition state change the relative phase between them through quantum gate interference effect. For example, superposition state and quantum gate are given as follows:

Quantum gate action in superposition state as a result is as follows:

From (9) it can be seen that the probability amplitude of ground state decreases, while the probability amplitude of increases. The quantum system is coherent when its ground state is in linear superposition state. The linear superposition of coherent system will disappear when interacting with the surrounding environment, the process called decoherence.

Another important mechanism for quantum computing is quantum entanglement. The so-called entanglement refers to some states existing in two interaction subsystems; it cannot be represented as tensor product of two subsystems’ state but rather as some entanglement form of the subsystem state. Some certain state of an entangled quantum system does not correspond to the state of the subsystem; certain correlation exists between the various subsystems. For example, cannot be expressed as a tensor product of two subsystems’ state. Otherwise, there must be four numbers , , , and , satisfyingFurthermore,

Suppose that (11) holds; then get and , which could indicate or . Obviously, (10) and (11) should not be established at the same time because of its self-contradiction. Therefore, in the quantum system, the entire system cannot use quantum state of each qubit but is described by entangled quantum states. The operation of a few of entangled qubits will not only change the state of the qubits but also change the other qubits in which they are entangled.

The most essential feature of the quantum genetic algorithm is making full use of the superposition and coherence of quantum states, as well as the entangled states of the quantum bits. The quantum unitary transformation process applies the information processing process to the classical genetic algorithm. Using the quantum bit coding chromosome, the evolution of the population is realized through quantum mutation. A rotating quantum gate is a type of quantum gate that evolves by the rotation of the quantum gates. The information of the best individual can be added to the mutation to guide the evolution and speed up the convergence of the algorithm. The adjustment operation of the quantum rotation gate is shown in Table 1.

and , respectively, refer to solution and binary bits corresponding to the th quantum bit of the current best individual . is the fitness function. The variation of the rotation angle controls the convergence speed of the algorithm for the direction of the rotation angle to ensure the algorithm’s convergence.

The rotational quantum gate ensures that the algorithm quickly converges into a chromosome with higher fitness. When , , , to make the current converge to a higher degree of adaptation of the chromosome, should be larger. Therefore, if are in the first and fourth quadrants, should rotate clockwise, and if are in the second and third quadrants, should rotate counterclockwise, as shown in Figure 2.

2.2.3. Quantum Cross

The optimal value is often not precisely known in the actual data optimization process. The optimal value established in the optimization process often already counts the extreme value out, thus causing the system to fall into the local optimum. Quantum crossover is an effective method to prevent the system from the local optimal solution. The quantum crossover evolution strategy is an effective means to prevent the system from falling into local optima. In the genetic algorithm, the crossover is a means of searching the optimal solution, and its role is to achieve structural information exchange between individuals. According to the characteristics of the prediction of the gas concentration, the method of cross-interference is a full cross-interference in this paper [16], which uses quantum coherence properties and constructed a new crossover for ordinary chromosome. All the chromosomes in the population are involved in the crossover operation. Suppose that there are initially five chromosomes and that each chromosome has five genes, as shown in Table 2. Take chromosome 1 from the first genetic factor, chromosome 2 from the second genetic factor, chromosome 3 from the third genetic factor, chromosome 4 from the fourth genetic factor, and chromosome 5 from the fifth genetic factor. After the whole interference crossover, the first chromosome forms a new chromosome: A-B-C-D-E, as shown in Table 3.

The purpose of this cross-interference is to fully exploit the information of all chromosomes in the population to improve the locality and one-sidedness. This method can also be applied to the evolution of the common chromosome. When there is premature population evolution, it can process new impetus into evolutionary processes by producing a new individual.

2.2.4. Fitness Function

A fitness function is the evaluation criterion of the algorithm to the individual’s “good and bad,’’ and its value is positive.

This paper intends to use the quantum genetic algorithm optimization gray neural network parameters to predict the roadway gas concentration. Therefore, the error of the gray neural network’s prediction value of the training data and its actual value are used as the fitness function as follows: is used to predict the gas concentration, and is used for the actual gas concentration value.

3. Experimental Analysis

3.1. Experimental Process

The coal mine rescue robot and the related sensor position are shown in Figure 3. The mine rescue robot is the dual arm robot. Position 1 is connected internally with the photoelectric encoder to detect the robot’s walking distance and moving speed. Position 2 is the robot’s power supply and drive unit. Position 3 is the control unit of the robot, where the instruction of the host computer is processed and the robot’s state and the environmental information are collected and processed. Position 4 is a multiparameter detector, which can simultaneously detect methane, carbon dioxide, carbon monoxide, oxygen, temperature, humidity, and other parameters. Position 5 is the wind speed and direction sensors.

The gas concentration prediction experiments based on the coal mine rescue robot-measured data are carried out in the coal mine tunnel. The coal mine rescue robot’s walking speed is 1 m/s, and after every 0.5 meters, all sensor data are uploaded (but also according to instructions to the upload data). The core of the robot control unit is the embedded industrial computer, which is powerful at processing data.

The main factors influencing the gas flow are air flow motion, diffusion motion caused by concentration gradient, and floating motion caused by density difference, and so on, while in the tunnel it is mainly affected by the air flow motion and diffusion motion. Gas diffusion is the migration form due to thermal motion of gas molecules, which on the one hand is due to the gas concentration being higher than the concentration of gas in airflow and on the other hand is also affected by temperature difference and ventilation eddy current.

The diffusion motion obeys Fick’s law of diffusion; Fick’s first law expression iswhere is gas diffusion coefficient, is the concentration of gas molecules, is concentration gradient, sign “−” indicates a direction opposite to the concentration gradient diffusion direction, indicating that diffusion component is made of high concentration to low concentration diffusion region, and is diffusion flux. The diffusion coefficient depends on the pressure, temperature, and composition of gas mixture, usually determined by experiment. Document [17] gives the diffusion coefficient by experimental determination as follows:

Among them, and are the volume of corresponding gas component; is the gas pressure; is temperature; and are the molecular weight of corresponding gas component.

The air in airflow produces the friction and impact on gas, which force the gas moving with the airflow. Assuming the gas concentration , the gas flow of the surface can be calculated by the convection transport principle, namely, amount of gas flux: , where is the gas diffusion flux and is the absolute wind speed along each coordinate axis.

Figure 4 shows the coal mine rescue robots walking on the roadway. Joint search and rescue tasks require multiple robots, and each robot needs to probe different regions. The sample data are the gas and related environmental data in the first 20 meters, collected by the coal mine rescue robot; the wind speed, temperature, and gas concentration data of the mine rescue robot on the coal mine roadway are shown in Figure 5. The coal mine rescue robot predicts the gas concentration in the first 10 meters of the coal mine.

3.2. Experimental Data Processing and Analysis

In this paper, the quantum genetic algorithm is used to optimize the gray neural network to construct the prediction model of the gas concentration in the coal mine underground roadway based on the gas concentration, temperature, and wind speed data collected by the coal mine rescue robots. The construction flow of the forecasting model is shown in Figure 6.

When the coal mine rescue robots predict the gas concentration of the roadway in the coal mine, the main influencing factors are the current position’s gas concentration, the ambient temperature, and the wind speed. At the same time, the more the input features, the better the prediction effect of the forecasting model. In general, the greater the wind speed, the more dispersed the gas concentration distribution, and the higher the temperature, the more gathered the gas concentration distribution. The correlations among wind speed, temperature, and gas concentration were analyzed, the correlation coefficients of wind speed with gas concentration and temperature with gas concentration are calculated, and they are shown in Table 4.

It can be seen from the calculation results of correlation that the correlation among wind speed and gas concentration belongs to the moderate degree, and the correlation among temperature and gas concentration belongs to strongly correlated degree. Wind speed and temperature are the major factors that affect the distribution of gas concentration.

Therefore, in this paper, the gas concentration of 10 meters is forecasted using the sensor information of the current position and the first meter. The gray neural network is suitable for the small sample and the uncertain system, which has partial information and unknown information and can predict the behavior and laws of the system by the extraction and exploitation of the known information.

A gray neural network was designed in this paper. The LA layer has one neuron, and the LB layer has one neuron. Because of six input vectors, the LC layer has seven neurons, and the output layer LD layer has one neuron. The initial number of training steps of the gray neural network is 100. The change in the training error of the gray neural network is shown in Figure 7, which shows that, after 6 steps of basic training, the gray neural network converges. The convergence rate is fast, but the network is in the local optimum. The weights of the gray neural network cannot be modified. After the gray neural network training is completed, the test data are used for testing. The test data are inputted into the trained gray neural network to predict the gas concentration 10 meters outside the current position of the coal mine rescue robots. Figure 8 compares the gray neural network forecast and the actual gas concentration. Figure 9 is the prediction errors of the gray neural network.

In Figure 8, blue represents the gray neural network forecast and red the actual gas concentration. The gray neural network forecast values are more accurate at a few points, such as 7-8 m and 16–18 m. For example, the predictive value of gas concentration at 7 m is 7.137, while the real value of gas concentration at 7 m is 7, so the prediction deviation is 0.137, and the forecast error is , but at some points, the difference between the predicted value and the actual value is still relatively large, such as 2–5 m and 9–12 m. For example, the predictive value of gas concentration at 10 m is 5.5, while the real value of gas concentration at 10 m is 4.25, so the prediction deviation is 1.25, and the forecast error is , which is significantly higher than the acceptable deviation range. The overall average error of the gray neural network forecast is . The cause of prediction error is various; the main reason has four aspects: First, the prediction error is caused by the measurement error of the gas concentration and sensor used in this paper had already been certified and licensed; second, the prediction error is caused by the selection of predictive factor and the gas concentration is easily affected by gas emission, wind speed, temperature, and concentration of CO2. Due to the small effect of CO2 concentrations, it can be removed by using principal component analysis; therefore, the gas concentration, temperature, and wind speed were been selected as a predictor of gas concentration prediction model; third, adjusting the parameters in the prediction model of grey neural network can improve the convergence speed and stability training error, but how to accurately select the error threshold needs repeat experiments according to the system; fourth, the number of sample datasets will also affect the prediction error; the more the sample data, the better the prediction effect; however, more samples’ data means that walking speed of mine rescue robot must be slowed down; this is bound to delay the rescue time and reduce the role of mine rescue robot.

However, because the gray neural network threshold weights are randomly initialized, the network training evolution process can easily fall into the local optimum, and every prediction result is not the same. Being easily trapped in the local minima can be avoided by combining a genetic algorithm with a neural network. The neural network is prone to overfitting and has poor generalization ability; to solve this problem, the quantum genetic algorithm optimizes the parameters , , , , , , and of the neural network. The quantum genetic algorithm uses entity coding and the quantum interference method to train the data of the gray neural network. The error of the gray neural network’s prediction value of the training data is used as the fitness function. The population size of the quantum genetic algorithm is 30, the genetic factor is 7, and the number of iterations is 70. The optimal individual fitness value of the quantum genetic algorithm changes with the number of iterations, as shown in Figure 10.

Figure 10 shows that the optimal fitness value of the individual fitness gradually tends to be steady after 70 steps of training, and the optimal individual fitness value is 4.29. The gray neural network parameters after training, , , , , , , and , are shown in Table 5.

The optimal gray neural network parameters are brought into the gray neural network; the test data were inputted into the gray neural network optimized by the quantum genetic algorithm to predict the gas concentration 10 meters outside the current position of the coal mine rescue robots. Figure 11 compares the gray neural network forecast and the actual gas concentration. Figure 12 shows the prediction errors of the gray neural network optimized by the quantum genetic algorithm.

The graph shows that the gas concentration of the gray neural network after the optimization of the quantum genetic algorithm is more accurate. For 5 m, 13 m, 15 m, and 19 m, the predictive value of gas concentration at 5 m is 3.96, while the real value of gas concentration at 5 m is 3.51, so the prediction deviation is 0.45, and the forecast error is , the optimized gray neural network forecast value is close to the actual value, and the overall forecast error is . Compared with the ordinary gray neural network, the overall accuracy gas concentration prediction increases by . Therefore, the optimized gray neural network can better help coal mine rescue robots to accurately predict the gas concentration.

4. Conclusions

After a coal mine accident, in order for the coal mine rescue robot to successfully execute detection and search and rescue mission, this paper addresses the problem of predicting the roadway gas concentration in front of the coal mine rescue robot based on the real-time data collection of the temperature, wind speed, and gas concentration. The gray neural network cannot fully execute its forecasting capabilities because the gray neural network training can easily fall into the local optimum. The difference between the predicted gas concentration and the actual value is large, and the overall average forecast error is 22.73%. Combining the quantum genetic algorithm and the gray neural network together can solve the shortcomings of the gray neural network and obtain a more accurate prediction of the gas concentration. The experiment shows that the gray neural network optimized by the quantum genetic algorithm is more accurate for predicting the gas concentration. The overall prediction error is 9.12%, and the largest forecasting error is 11.36%. The gas concentration’s overall prediction accuracy is improved by 55.23% compared with the ordinary gray neural network, and predicting the gas concentration of the gray neural network optimized by the quantum genetic algorithm is an effective gas concentration prediction method for the coal mine rescue robot in an underground tunnel.

Competing Interests

The authors declare that they have no competing interests.

Acknowledgments

This work is supported by grant of the National 863 Program of China (no. 2012AA041504) and the Policy Guidance Class Plan of Jiangsu Province (no. BY2015024-2).