#### Abstract

Accurate quantitative analysis and prediction of dust concentration in mines play a vital role in avoiding pneumoconiosis to a certain extent, improving industrial production efficiency, and protecting the ecological environment. The research has far-reaching significance for the prediction of dust concentration in mines in the future. Aiming at the shortcomings of the grey GM (1, 1) model in forecasting the data sequence with large random fluctuation, a grey Markov chain forecasting model is established. Firstly, considering the timeliness of monitoring data, the new dust concentration data is supplemented by using the method of cubic spline interpolation in the original data sequence. Therefore, the GM (1, 1) model is established by the method of metabolism. Then, the GM (1, 1) model is optimized by the theory of the Markov chain model. According to the relative error range generated during the prediction, the state interval is divided. Subsequently, the corresponding state probability transition matrix is constructed to obtain the grey Markov prediction model. The model was applied to the prediction of mine dust concentration and compared with the prediction results of the BP neural network model, grey prediction model, and ARIMA (1, 2, 1) model. The results showed that the prediction accuracy of the grey Markov model was significantly improved compared with other traditional prediction models. Therefore, the rationality and accuracy of this model in the prediction of mine dust concentration were verified.

#### 1. Introduction

The continuous development of industrial technology and high technology has made the global economy develop rapidly and brought great convenience to our lives. However, in industrial production, with the improvement of coal mine tunneling and mining mechanization level, the dust production of mine working face is increasing [1]. In mine accidents, the occurrence of most accidents is related to the dust concentration in the mine. Mine dust will not only damage the mechanical life and endanger the safety and health of miners but also cause explosions when the dust reaches a certain concentration and even cause more serious underground disaster accidents [2]. Therefore, mine dust prevention work is becoming more and more important; the correct prediction of mine dust concentration is of great significance to the safe production under the mine.

Domestic and foreign scholars have conducted a lot of research on the prediction of mine dust concentration, and neural network, grey prediction model, and time series prediction model are widely used prediction methods. Wang [3] analyzed the influencing factors of dust concentration in the fully mechanized working face of coal roadway and used LMBP neural network to predict the dust concentration. Zhao and Ma [4] and others used the BP neural network optimized by particle swarm optimization algorithm to predict the dust concentration. Li [5] quantitatively analyzed the dust in the construction stage and used BP neural network to predict the concentration of PM10 so as to provide targeted protection measures for practitioners and provide effective protection for the health of construction personnel. Wang [6] et al. established a grey-generalized regression neural network combination model to study the accuracy of the model in predicting pneumoconiosis. However, the neural network model needs a large number of original sample data for long-term training and optimization, and the results are satisfactory, and the prediction ability for fluctuation data is generally weak.

Li [7] and Zhao [8] established a grey prediction model to predict and comprehensively evaluate the dust concentration and the operation status of petrochemical equipment. Wang [9] used the grey prediction model GM (1, 1) to predict and optimize PID optimization, which improved the accuracy of prediction data and the accuracy of shape control. Many experts and scholars have also continuously explored and improved the grey theory [10, 11]. However, the grey GM (1, 1) model is based on the exponential curve, which has poor fitting accuracy for large random fluctuation prediction objects. Through accumulation of the original data, its volatility is weakened. There is a certain deviation between the prediction results and the actual value.

Wang et al. [12] used the research method of time series to construct the prediction model of mine dust. Although the traditional time series model has a good fitting effect on the data samples with time variables as independent variables, it can only achieve short-term prediction, and the error increases rapidly when predicting.

Although the above model shows high fitting and accuracy in the field of traditional fitting prediction, due to the forgetting mechanism in the model, there will be some errors in the prediction of this kind of data with obvious time series characteristics. Liu et al. [13] constructed a grey prediction model based on the direct reporting data of the new coronavirus epidemic in Hubei Province from March 1 to March 21, 2020, and used the Markov model to correct the prediction results to predict the daily discharge number in Hubei Province from March 22 to March 24. It is concluded that the prediction accuracy of the grey Markov model is higher than that of the single grey prediction model. Shi [14, 15] established a grey Markov model to explore its application in the field of occupational disease prediction. Lu et al. [16], Wang and Peng [17], Weng et al. [18], and other people apply the grey Markov model to the prediction of subway passenger flow, production safety accidents, and surface subsidence. It is concluded that the grey Markov model is better than the prediction accuracy of the traditional grey GM (1, 1) model and more in line with the actual situation.

At the same time, the grey Markov prediction model can analyze the data with a small amount of data and high prediction accuracy and can handle the data with large random fluctuation [19, 20], but it has not been applied in the field of mine prediction.

In order to solve these problems, based on the dust concentration of a mine, this paper constructs the grey Markov model and the neural network model and compares them with the ARIMA model and the grey prediction model. The results show that the grey Markov model is superior in the prediction of dust concentration.

The rest of this article is organized as follows. Section 2 introduces the basic theory, including the neural network model, grey model, and Markov model. Section 3 uses ARIMA, neural network model, grey prediction model, and grey Markov model to predict and compare mine dust concentration. Section 4 solves the measurement performance evaluation index and tests the residuals of the four types of models. Finally, Section 5, draws conclusions, finds the most suitable evaluation model, and makes suggestions for future work.

#### 2. Theoretical Basis of the Model

##### 2.1. Theoretical Basis of the Neural Network

The learning and training process of the neural network method includes two stages: forward propagation and backward propagation. In the forward propagation process, the sample data are transmitted from the input layer to the output layer through the transfer function of the hidden layer [4]. If the output layer does not get the required output, it enters the backward propagation process and returns the error signal along the original forward propagation path. The mean square error and gradient descent method are used to modify the network connection weight and adjust the mean square error between the actual output of the network and the guided learning signal [21, 22]. This process has to be repeated until the specified error requirements or the maximum number of training are reached [23]. Figure 1 shows the concept map of neural networks.

##### 2.2. Grey Prediction Model

Grey system theory is a kind of control theory proposed by Professor Deng [24]. It takes the grey system as the research object and makes scientific quantitative predictions for the prediction and control of the development of various grey systems. It is widely used in agriculture, industry, meteorology, and other fields [25, 26]. The concrete steps of the grey prediction model are as follows:

###### 2.2.1. Data Processing

For a given raw data sequence, the model of a first-order differential equation is generated by one accumulation, and the original sequence is processed as follows:

where is 1-AGO sequence of .

###### 2.2.2. Construction of Differential Equations and Calculation of Parameters

Accumulate the time series of samples and construct the grey differential equation as follows:

where is the development coefficient of the model, reflecting the trend of and , and is the grey action of the model, reflecting the change relationship between data.

If is a parameter column, then

###### 2.2.3. Model Construction and Solution

The least-squares estimation parameter sequence of a grey differential equation satisfies

The time response sequence of grey differential equation is for ; then,

The predicted data is reduced to the predicted value as follows:

##### 2.3. Grey Markov Model

The basic Markov model iswhere represents the state of time , represents a one-step transition probability matrix, and represents the state of time . The grey Markov chain model is based on the prediction results of the grey prediction model to predict the correct stationary process of the overall trend, and then the Markov model is used to optimize and correct the prediction results. [27] The flow chart of the grey Markov model is shown in Figure 2.

The details of the Grey Markov model are introduced briefly as follows: Step1: the result state division of GM (1, 1) model prediction The fitting data obtained by the model are compared with the actual sample data, and their relative values are used as the correction value *λ* (*k*) for interval division. Each interval represents a state [28]. where represents the lower limit of the relative value in the state interval and represents the upper limit of the relative value in the state interval. Step2: construction of the state probability matrix According to the interval state of the prediction results, the one-step transition probability is determined, and the state matrix of the research system is constructed [27–30]. The state transition probability matrix of the above model is as follows: Step3: model correction The residuals between the measured value and the simulation value are calculated, and the average residuals of all states in each state interval are taken to correct the predicted value of the grey Markov model.

#### 3. Model Establishment and Solution

##### 3.1. Prediction of Mine Dust Concentration Based on the ARIMA Model

Taking the dust concentration of 5424 working face in a mine as the original data source [12], the cubic spline interpolation method was used to interpolate the data collected between 9:31 and 10:17, and the model was established, so that the data were sufficient to support the analysis. Since the original sequence is a nonstationary sequence [29], the second-order difference method is selected to smooth the original data, and the time sequence diagram is drawn. It is found that the difference data fluctuate up and down at a certain value, so the sequence is considered to be stable. Take 2 in ARIMA model *d*. The sequence diagram after the difference is shown in Figure 3.

Establish the original time series model as follows:

is a delay operator of , satisfying

Calculated values of are 1, 2, and 1, respectively.

Formula (10) can be reduced to

The fitting degree of the ARIMA model is given by SPSS. The results are shown in Table 1.

Mine dust concentration is predicted by ARIMA (1, 2, 1) model. The forecast results of ARIMA are shown in Figure 4.

##### 3.2. Prediction of Dust Concentration in Mines Based on the Neural Network Model

From the change trend of dust concentration reflected in Figure 3, the time factor occupies a great weight in the influencing factors of dust concentration change. The relationship between the concentration change trend and the time variable is not a simple linear relationship, so the neural network model is used to predict this variable.

###### 3.2.1. Determination of Hidden Layers

The hidden layer is responsible for automatically learning the input feature information, and the multilayered hidden layer is a complex network to solve complex problems. With the increase of network layers, the accuracy and speed of calculation will also be improved [30, 31]. However, the complexity of the model also increases, and the risk of overfitting increases. In order to improve the fitting degree of the model prediction results, considering that the actual data sample size is small and it is not easy to overfit, this paper selects a ten-layer network to establish the model.

###### 3.2.2. Selection of Activation Functions

The essence of continuous learning of neural networks is to optimize its model parameters in receiving the feedback of continuous training errors. Among them, the error of the current layer is closely related to the selection of the activation function [32, 33]. Since the derivative values of the sigmoid function and tanh function are not greater than 1, the gradient will inevitably disappear in the iterative process, leading to the premature termination of training. The ReLU function can well avoid this phenomenon, so the ReLU function is selected as the activation function of the model in this paper.

###### 3.2.3. Selection of Training Algorithm

In the process of neural network training, Levenberg–Marquardt, Bayesian regularization, and quantitative conjugate gradient training algorithms are generally used for training. The sample data used in this paper is less, not easy to appear overfitting phenomenon, and the training time is short, in order to improve the fitting degree; this paper uses the training method of regularization. The results of neural network model prediction are shown in Table 2.

The weights and thresholds of neural network initialization are random, resulting in different results each time, so experiments are repeated. The prediction results were obtained by BP neural network, and the optimal model was selected in the three experiments.

BP neural network model prediction results of the first group of data relative error is 0.1418; mean square relative error is 0.0353; the second group of prediction results relative error is 0.0874; mean square relative error is 0.0269; the third group of prediction results relative error is 0.1566; and mean square relative error is 0.0410. It can be seen that the second group has the best prediction results.

##### 3.3. Prediction of Dust Concentration Based on the Grey Markov Model

###### 3.3.1. Dust Concentration Model Based on Metabolic

Taking the dust concentration of 5424 working face in a mine as the original data source [12], the cubic spline interpolation method was used to interpolate the data collected between 9:31 and 10:17, and the metabolic model was established. According to the comparison between the predicted results of the model and the actual values, the model prediction results were finally obtained. Build the original sequence according to the mine dust concentration measured every two minutes and accumulate it once to get . Matrix B is calculated from formula (3):

Calculate available by formulas (3)–(5) using MATLAB and grey action . Five groups of development coefficient and grey action will appear in the fourth phase of backward prediction.

Bring the parameters into formula (6):

The simulation value of mine dust concentration generated by the GM (1, 1) model is simulated by MATLAB, and the results are shown in Table 3.

From the GM (1, 1) model, it can be predicted that the dust concentrations in the following four periods are 30.3562 g/cm^{3}, 30.3962 g/cm^{3}, 30.4363 g/cm^{3}, and 30.4764 g/cm^{3}, respectively. The total relative error of the grey prediction model is 0.2849, and the total mean square error is 0.1431.

###### 3.3.2. Numerical Simulation of the Grey Markov Model

*Division of Results for**Model Prediction*. Based on the mine dust concentration index from 9:31 to 10:17, the relative value between the actual concentration and the predicted value of the grey prediction model is calculated. The upper and lower limits of the relative value are divided into intervals, and the interval distance is equalized. Among them, the distribution area of relative values is relatively concentrated in [0.52 and 2.28]. The above data are divided into four states by selecting 0.52, 0.96, 1.40, 1.84, and 2.28 as the critical values, as shown in Table 4.

*Construction of State Probability Matrix*. The state divided by Table 2 can be represented as follows:

In the calculation of the transition probability matrix *P*, it is impossible to determine the next state of the last state turning, so it not included in the calculation. One-step transition frequency matrix and one-step transition probability matrix are as follows:

, , , and matrices are obtained by using a four-step transfer probability matrix to calculate 10:19 dust concentration data. Select the nearest four time points: 10:17, 10:16, 10:15, and 10:14; according to the distance from the time point in turn to take the number of transfer steps in the transfer matrix corresponding to the number of transfer steps in the initial state of the corresponding row vector to form a new probability matrix and the column vector summation of the probability matrix to determine the future steering state of the system, the largest sum is the state of E2. The results of mine dust concentration prediction at 10:19 are shown in Table 5.

The probability of state E2 is the highest in the total row in Table 3, so it can be predicted that dust concentration at 10:19 is in state E2. The predicted value of the grey Markov chain is as follows:

The prediction value and relative error of dust concentration under the ARIMA model and grey Markov chain model are listed in Table 6.

The average interval data are used to replace the Markov prediction interval as its predicted value. At the same time, ARIMA (1, 2, 1) model was used to predict the dust concentration of mine, and the prediction results were compared with those of the grey Markov model. The results show that the overall relative error of the ARIMA model is 0.1865, the total mean square relative error is 0.0348, the overall relative error of the grey Markov model is 0.1262, and the total mean square relative error is 0.0259. The comparison results of prediction accuracy of the three models show that the prediction effect of the GM (1, 1) model is the most unsatisfactory, the prediction effect of the ARIMA model is in the middle, and the prediction effect of the grey Markov model is the best.

It can be seen from Figure 5 that the predicted values of dust concentration during the period from 9:31 to 10:17 obtained by the four models are compared with the actual values during this period. It can be obviously seen that the values predicted by the grey Markov model are closer to the actual values of comprehensive evaluation. Therefore, it is concluded that the grey Markov model can well fit the development trend and volatility characteristics of the sequence.

#### 4. Residual Test

##### 4.1. Evaluation Indexes of Forecasting Performance

To compare the forecast obtained using the proposed model with those obtained using other models, the mean absolute percentage error (MAPE), the root mean squared error (RMSE), and the mean absolute error (MAE) are used to evaluate forecasting accuracy.where *N* is the total number of forecasts, is the actual value at forecasting point , and is the forecasted value at forecasting point . A comparison of prediction accuracy of the above models is shown in Table 7.

The comparison of the prediction accuracy of the above four models shows that the grey Markov model and the neural network model have better prediction accuracy, and their prediction accuracy is much higher than that of the other two models.

##### 4.2. Residual Verification

The posterior error ratio *C* and small error probability *P* test were used to test the pros and cons of the prediction model and the accuracy level. The accuracy of the results is calculated by the above two prediction models. The accuracy classification table is shown in Table 8:

The grey Markov model considers the dynamic transfer influence components; the dynamic transfer influence components reflect the influence degree of random factors and volatility factors, which has the advantage of predicting large random volatility problems. The variance ratio of model is , and that of small probability error is . The variance ratio of Grey Markov model is , and that of small probability error is . The accuracy of four prediction models is compared as shown in Table 9.

It can be seen from Table 9 that the prediction accuracy of the grey Markov model is higher than that of model. The prediction of mine dust concentration by grey Markov model is more reliable and accurate and can accurately describe the state of mine dust concentration.

#### 5. Conclusion

The exploration of dust concentration changing with time in mines has been one of the research hotspots in the field of mine safety. Dust is extremely harmful to human health, industrial production, and living environment. It is of great significance to accurately predict the dust concentration by building a model. The following conclusions can be drawn based on the study of the dust concentration in mines:(1)The Markov chain theory is used to optimize the GM (1, 1) model. According to the range of relative error generated by GM (1, 1) model prediction, the state interval is reasonably divided, and the corresponding state transition probability matrix is determined. The GM (1, 1) model based on Markov optimization is established.(2)The model combines the advantages of the grey prediction model and the Markov model to improve the fitting accuracy of prediction objects with large random fluctuation. The experimental results show that the grey Markov model has better prediction accuracy than grey prediction, ARIMA, and neural network models.(3)In the analysis of the prediction results of mine dust concentration, it can be concluded that the grey Markov model is suitable for short-term prediction with less sample data. The experimental results show that this model is more accurate than the traditional model. It has great application space in mine dust concentration prediction.

#### Data Availability

The dust concentration of 5424 working face in a mine as the original data source used to support the findings of this study is included within the article.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest.

#### Acknowledgments

This work was supported by the National Natural Science Foundation of China (grant no. 51974128); Hebei Province Doctoral Student Innovation Funding Project (CXZZBS2021102); and Basic Scientific Research Business Expenses of Provincial Universities of the North China University of Technology in 2021 (JQN2021011).