Keywords

1 Introduction

Coal mine gas safety evaluation has always been an important means of coal mine safety management. Through the monitoring of environmental data in the coal mine and the correct identification of the gas safety, gas accumulation, outburst, and explosion can be effectively avoided, which has important theoretical significance and practical value for suppressing the occurrence of gas disasters and promoting the safe and sustainable development of the coal industry [1].

At present, the commonly used safety evaluation methods are probabilistic risk evaluation [2,3,4], and the use of computer technology and databases to establish disaster databases for casualties. However, in actual evaluation, the structure, indexes and parameters of each evaluation model are very different. The commonly used evaluation methods in China mainly focus on fuzzy comprehensive evaluation [5], gray clustering [6,7,8], neural network [9,10,11] and game analysis evaluation based on data mining [12]. Although the qualitative evaluation process is simple, the differences in the professional background and operational capabilities of different participants may lead to differences in accident risk evaluation. The existing gas safety evaluation system only stores information in the database, and does not realize the correlation between the monitoring data of multiple sensors, therefore, a complete and coordinated operating system has not been formed in practice. At the same time, in the analysis of the coal mine gas safety influencing factor system, more studies have magnified the role of people and machines, while neglecting the occurrence of gas accidents mostly is the unfavorable monitoring of environmental factors, the lack of evaluation systems and the insufficient accuracy.

The gas safety evaluation model used in this paper divides the gas safety status into different safety levels. Then, using the various sensor monitoring data collected by the working face monitoring station, the predicted data is obtained based on weighted least squares support vector machine. Finally, multi-sensor data fusion is carried out to realize the evaluation of the gas safety state of the working face at the next moment, so as to realize the early warning of the gas safety state.

2 Weighted Least Squares Support Vector Machine

Suykens [13] proposed a weighted least squares support vector machine (WLSSVM) based on the least squares support vector machine (LSSVM). The Lagrange function of its optimization problem can be described as:

$$ \begin{aligned} & L\left( {w,b,\xi ,\alpha } \right) = \frac{1}{2}w^{T} w + \frac{1}{2}{\text{C}}\mathop \sum \limits_{i = 1}^{N} v_{i} \xi_{i}^{2} \\ & - \,\sum\nolimits_{i = 1}^{N} {\alpha_{i} \left[ {w^{T} \varphi \left( {x_{i} } \right) + b + \xi_{i} - y_{i} } \right]} \\ \end{aligned} $$
(1)

In Eq. (1), \( w \) is the weight coefficient vector; \( \varphi \left( {x_{i} } \right) \) is the mapping input to the high-dimensional space; C is the regularization parameter; \( b \) is the threshold; \( x_{i} \) represents the Lagrange multiplier. According to the KKT (Karush-Khun-Tucker) condition, the function eliminate \( w \), \( \xi_{i} \), and get Eq. (2):

$$ \left[ {\begin{array}{*{20}c} 0 & {l_{1 \times N} } \\ {l_{N \times 1} } & {R + \frac{1}{\text{C}}V} \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} b \\ \alpha \\ \end{array} } \right] = \left[ {\begin{array}{*{20}c} 0 \\ y \\ \end{array} } \right] $$
(2)

In Eq. (2), \( V = {\text{diag}}\left( {\begin{array}{*{20}c} {v_{1}^{ - 1} , } & {v_{2}^{ - 1} , \ldots ,} & {v_{N}^{ - 1} } \\ \end{array} } \right) \) is the diagonal matrix, \( l_{1 \times N} \) is the unit column vector, \( R = \left\{ {K \left( {x_{i} ,x_{j} } \right)|i = 1,2, \ldots , {\text{N}}} \right\} \) is the radial basis kernel function matrix, \( {\text{y}} = \left[ {y_{1} ,y_{2} , \ldots ,y_{N} } \right] ^{\text{T}} \). Equation (2) can be obtained b and α, inputing test samples to get WLSSVM model as follows:

$$ y = \sum\nolimits_{i = 0}^{n} {\alpha K \left( {x_{i} ,x} \right) + b} $$
(3)

The weight calculation formula is as follows:

$$ v_{i} = \left\{ {\begin{array}{*{20}l} {\,\,\,1,} \hfill & {\quad \,\,\left| {\frac{{\xi_{i} }}{{\widehat{s}}}} \right| \le s_{1} } \hfill \\ {\frac{{s_{2} - \left| {\frac{{\xi_{i} }}{{\widehat{s}}}} \right|}}{{s_{2} - s_{1} }},} \hfill & { s_{1} < \left| {\frac{{\xi_{i} }}{{\widehat{s}}}} \right| \le s_{2} } \hfill \\ {10^{ - 4} ,} \hfill & {\,\,\,\,\,otherwise} \hfill \\ \end{array} } \right. $$
(4)

In Eq. (4), the values of \( s_{1} \) and \( s_{2} \) are 2.5 and 3.0 respectively; \( \widehat{s} \) is the standard estimated deviation of the error sequence, and its calculation function is as follows:

$$ \widehat{s} = \frac{\text{IQR}}{2 \times 0.6745} $$
(5)

In Eq. (5), IQR is the difference between the third quartile and the first quartile in the sequence of errors \( \xi_{i} \) from small to large.

3 D-S Evidence Theory

3.1 Basic Principles of D-S Evidence Theory

For the reasoning of uncertain problems, Dempster-Shafer (D-S) evidence theory has strong adaptability, and the reasoning process is simpler. Among them, the distribution of belief functions and the fusion of evidence are the basic knowledge of D-S evidence theory. The uncertainty of events can be expressed through the recognition framework and basic belief distribution functions.

Recognition Framework

The recognition framework represents a set X of possible situations of the event, and the elements it contains represent the degree of evaluation of the event status. In the gas safety evaluation system, every possible state is called a hypothesis, and all possible categories constitute a recognition framework. Therefore, the recognition framework contains all possible results of a particular problem. The recognition framework can be expressed in Eq. (6):

$$ {\text{X}} = \left\{ {{\text{X}}_{1} ,{\text{X}}_{2} ,{\text{X}}_{3} , \ldots ,\Theta } \right\} $$
(6)

In Eq. (6), \( {\text{X}}_{i} \) is called a possible result of the event, and the uncertainty represented by Θ.

Basic Probability Assignment Function (BPA)

Suppose X is a recognition framework, \( 2^{\text{X}} \) is a power set on X, if \( m \): \( 2^{\text{X}} \to \) [0, 1], and satisfy Eq. (7).

$$ \sum\nolimits_{{A \in 2^{\text{X}} }} {m\left( A \right) = 1, m\left(\Theta \right) = 0} $$
(7)

In Eq. (7), m is called the BPA of the recognition frame X, it also known as the mass function, A is the element in the recognition frame. For \( \forall \,A\, \subseteq \,X \), then \( m\left( A \right) \) is the basic belief, which indicates the degree of trust in proposition A.

Belief Function

If there are \( {\text{A}}\, \in \,P\left( X \right) \) and \( B\, \in \,{\text{A}} \), then define the function Bel as follows:

$$ Bel\left( A \right) = \sum\nolimits_{B \in A} {m\left( B \right)} $$
(8)

In Eq. (8), \( Bel \) represents the belief function, and the Eq. (8) represents the sum of the possibilities of all the subsets of A, which represents the overall degree of trust in A, so that it can be inferred that \( Bel\left(\Theta \right) = 0 \) and \( Bel\left( {\text{X}} \right) = 1 \). The belief function represents the degree of trust of a certain thing. It is incomplete and untrustworthy to only use the belief function to describe the possibility of an event.

Likelihood Function

In D-S evidence theory, the likelihood function is a measure used to express the degree of distrust of an event. Definition: Assuming that X is a recognition framework, m: \( 2^{\text{X}} \to \left[ {0,{ 1}} \right] \) is represented as the basic probability assignment on X. If there are \( A \in P\left( X \right) \), B \( \in A \), then define the function Pl: 2X → [0, 1] as follows:

$$ Pl\left( A \right) = 1 - Bel\left( {\overline{A} } \right) = \sum\nolimits_{{B \cap A \ne\Theta }} {m\left( B \right)} $$
(9)

In Eq. (9), \( Pl\left( A \right) \) represents that event A is true uncertainty, and \( Bel\left( {\overline{A} } \right) \) represents the trust degree of event \( \overline{A} \). The degree of mistrust \( Pl\left( A \right) \) of A can be calculated by the Eq. (9).

The minimum degree of trust of evidence theory for event A is \( Bel(A) \), the potential degree of trust in event A is expressed as \( Pl(A) \), the support interval of event A can be expressed as \( [0,\,Bel(A)] \), the likelihood interval of event A can be expressed as \( [0,\,Pl(A)] \). When the evidence neither confirms nor denies the occurrence of event A, for this uncertain phenomenon, a trust interval can be used to represent the probability of event A.

3.2 Improved D-S Evidence Theory

D-S evidence theory has strong applicability in data fusion, but in the actual fusion process, there are still some deficiencies in dealing with uncertain problems. It is mainly manifested in the explosive problem, the limited problem of recognition framework, the independent problem between the evidences and the problem of conflicting evidence fusion. In this paper, the improvement of D-S evidence theory is mainly used to solve the problem of conflicting evidence sources.

Evidence-Based Improvements

Modifying the evidence source can reduce the influence of interference factors on the fusion evaluation results and improve the accuracy of the evaluation results. In this paper, the idea of assigning weights is used to allocate the importance of each evidence, which can increase the reliability of the evidence on the decision result and weaken the impact of conflicting evidence. For the method of evidence-based improvement, this paper is called D-S-1 evidence theory.

For an uncertain event, there are n evidences, the corresponding recognition frame X contains N focal elements, and \( m_{i} \) represents the evidence set composed of the basic probability assignment function corresponding to the evidence under each focal element.

$$ m_{i} = \left[ {m_{i} \left( {A_{1} } \right),m_{i} \left( {A_{2} } \right), \ldots ,m_{i} \left( {A_{n} } \right)} \right]^{T} ,i = 1,2, \ldots ,n $$
(10)

Equation (11) is used to calculate the distance between \( m_{i} \) and \( m_{j} \), \( d_{ij} \) represents the distance of \( m_{i} \) and \( m_{j} \). This distance function has a better reflection in describing the focal element and the reliability between evidences, and can better characterize the conflict between evidences.

$$ d_{ij} = d\left( {m_{i} ,m_{j} } \right) = \sqrt {\frac{1}{2}\left[ {\left\| {m_{i} } \right\|^{2} + \left\| {m_{j} } \right\|^{2} - 2\left( {m_{i} ,m_{j} } \right)} \right]} $$
(11)

The similarity function is further derived from the Eq. (11). The similarity between \( m_{i} \) and \( m_{j} \) can be expressed as \( S_{ij} \). The expression of \( S_{ij} \) is as follows:

$$ S_{ij} = 1 - d_{ij} $$
(12)

The smaller the distance between the evidences, the greater the mutual support. The degree of support for evidence can be expressed by the sum of other evidences, then the degree of support for evidence \( m_{i} \) can be expressed as:

$$ T(m_{i} ) = \sum\nolimits_{j = 1,j \ne i}^{n} {S_{ij} , i = 1,2,..,n} $$
(13)

In this paper, the distance similarity matrix between evidences is used to give different weights to each sensor, so as to achieve the purpose of modifying the evidence source. In order to prevent the revised evidence source from being too conservative and losing the advantages of the original evidence, this paper adopts to retain the original set of more correct evidence to ensure the effect of data fusion. Based on the above ideas, according to the ratio of the degree of support of the evidence, under the condition of retaining a good set of evidence sources, the weight β of the evidence is calculated according to the degree of support. The specific formula is as follows:

$$ \beta \left( {m_{i} } \right) = \frac{{T(m_{i} )}}{{max\left( {T(m_{i} } \right))}} $$
(14)

After assigning weights, the modified basic probability assignment function corresponding to the evidence can be expressed as follows:

$$ \begin{aligned} & \quad \,\,m_{i}^{\prime } \left( i \right) = \beta \left( {m_{i} } \right) \cdot m_{i} \\ & m_{i}^{\prime } \left(\Theta \right) = \beta \left( {m_{i} } \right) \cdot m_{i} + \left( {1 - \beta \left( {m_{i} } \right)} \right) \\ \end{aligned} $$
(15)

Improvements Based on Fusion Rules

In this paper, the time series prediction value of the monitoring data of each sensor is used to calculate the basic probability assignment value. After the value of each sensor is fused, the mine gas safety status is judged. The fusion rules of D-S evidence theory are as follows:

Based on two independent evidences \( M_{1} ,M_{2} \), the focal elements of the two evidences are \( B_{i} \) and \( C_{j} \left( {i = 1,2,3, \ldots ,n,j = 1,2,3, \ldots ,m} \right) \), the basic probability assignment function value after their fusion is \( m\left( A \right) \):

$$ \left\{ {\begin{array}{*{20}c} {m\left( A \right) = M_{1} \oplus M_{2} = \frac{1}{1 - K}\mathop \sum \nolimits_{{B_{i \cap } C_{j} = A}} m_{1} \left( {B_{i} } \right)m_{2} \left( {C_{j} } \right)} \\ {K\left( {M_{1} ,M_{2} } \right) = \mathop \sum \nolimits_{{B_{i \cap } C_{j} =\Theta }} m_{1} \left( {B_{i} } \right)m_{2} \left( {C_{j} } \right)} \\ \end{array} } \right. $$
(16)

In Eq. (16), \( K\left( {M_{1} ,M_{2} } \right) \) is called the conflict coefficient, which represents the degree of conflict between the two evidences \( M_{1} ,M_{2} \). When the conflict coefficient is 0, there is no conflict between the two evidences; when it is close to 1, the greater the conflict between the two evidences, there is a complete conflict.

Many scholars believe that the fusion rules of evidence theory are imperfect in the processing of evidence, so the reasonable modification of fusion rules can also improve the accuracy of fusion. After modifying the evidence source, simply modifying the evidence source data to prevent high conflicts between the evidences may cause the revised evidence to lose the effective information of the original evidence. The conflict allocation coefficient is introduced on the basis of the fusion rules to improve the accuracy of the decision stage. For the method of modifying the fusion rule, this paper is called D-S-2 evidence theory.

The conflict allocation coefficient \( \upomega\left( {A_{i} } \right) \) can be defined as follows:

$$ \upomega\left( {A_{i} } \right) = \frac{{\mathop \sum \nolimits_{i = 1}^{n} m_{i}^{\prime } \left( {A_{ij} } \right)}}{{\mathop \sum \nolimits_{i = 1}^{n} \mathop \sum \nolimits_{j = 1}^{p} m_{i}^{\prime } \left( {A_{ij} } \right)}} $$
(17)

The improved formula of D-S evidence theory fusion rule is defined as follows:

$$ m\left( A \right) = \sum\nolimits_{{B_{i \cap } C_{j} = A}} {m_{1} \left( {B_{i} } \right)m_{2} \left( {C_{j} } \right) + {\text{K}} \cdot\upomega\left( {A_{i} } \right)} $$
(18)

In Eq. (17): set A represents the intersection of focal element \( B_{i} \) and focal element \( C_{j} \).

4 Construction of Gas Safety Evaluation Model

4.1 Construction of Recognition Framework

From the perspective of D-S evidence theory, the “gas safety state” can be regarded as a judgmental problem, and the summary of hypothetical results can be described as a recognition framework. According to the coal mine safety regulations and the value range of characteristic parameters under specific conditions, the gas safety state is divided into five states: no danger, mild danger, moderate danger, serious danger, and uncertain [14]. No danger indicates that the working face of the coal mine is in a good environment; mild danger indicates that the working face has a certain risk, and this danger value is within the acceptable range; moderate danger indicates that the working face is unsafe, and the indicates value has exceeded the accepted, this danger requires staff to conduct on-site inspection; serious danger indicates that the working face is very bad, and the staff should be evacuated. So the recognition framework of D-S evidence theory can be described as \( {\text{X}} \) = {\( {\text{X}}_{1} \) (no danger), \( {\text{X}}_{2} \) (mild danger), \( {\text{X}}_{3} \) (moderate danger), \( {\text{X}}_{4} \) (serious danger)}.

4.2 Construction of Basic Probability Assignment Function

This paper uses the posterior probability modeling method to find the basic probability assignment function, and introduces the similarity degree to modify the evidence source. The basic probability assignment function characterizes the support degree of each sensor to the safety status of mine gas. In this paper, a time series prediction model is constructed through the WLSSVM, and the prediction model is established with each influence factor as an input to obtain the prediction value of each sensor. The posterior probability modeling method calculates the basic probability assignment function of each sensor.

Taking a single sensor as an example, the basic probability assignment function value obtained by the posterior probability modeling method is y, the recognition framework is \( {\text{X}} = \left\{ {{\text{X}}_{1} ,{\text{X}}_{2} ,{\text{X}}_{3} ,{\text{X}}_{4} } \right\} \). The distance between \( {\text{X}} \) and y can be expressed as follows:

$$ d_{i} \left( {X_{i} ,y} \right) = \left| {X_{i} - y} \right| $$
(19)

The correlation coefficient between the evidence and \( X_{i} \) can be expressed as follows:

$$ c_{i} = \frac{{1/d_{i} }}{{\mathop \sum \nolimits_{i = 1}^{4} \left( {1/d_{i} } \right)}} $$
(20)

Introducing Eq. (20), the basic probability assignment function \( m\left( i \right) \) and the uncertainty \( m\left(\Theta \right) \) of the corresponding evidence can be expressed as follows:

$$ m\left( i \right) = \frac{{c_{i} }}{{\sum c_{i} + E}} $$
$$ m\left(\Theta \right) = \frac{E}{{\sum c_{i} + E}} $$
$$ E = \frac{1}{2}\left| {y - x} \right|^{2} $$
(21)

In Eq. (21), y is the predicted value of the time series prediction model, and x is the expected output value of the prediction model.

4.3 Construction of Gas Safety Evaluation Model

Five classification indicators of gas safety status can be obtained through Sect. 4.1. The construction process of data fusion model based on D-S evidence theory mainly includes three parts: time series prediction of each sensor, construction of basic probability assignment function, fusion between evidences and decision-making. First, each sensor obtains the predicted value through the time series prediction model. The basic probability assignment function is obtained through the posterior probability modeling method. The similarity degree is introduced to modify the evidence source to obtain the basic probability assignment function. In order to improve the accuracy of decision-making, multi-sensor data fusion was carried out according to the fusion rules. The coal mine gas safety evaluation model based on D-S evidence theory data fusion is shown in Fig. 1.

Fig. 1.
figure 1

Gas safety evaluation model

5 Case Analysis

5.1 Data Sources

The data in this paper comes from the gas concentration at the upper corner (No. A02), the gas concentration at the working face 10 m (No. A01), the wind speed (No. A09), the dust (No. A11), the return air 15 m temperature (No. A07), the return air 15 m gas concentration (No. A08) of the a coal mine. The original data sampling interval is 1 min, and the data distribution has obvious jagged characteristics. Therefore, this paper uses 5 min as the sampling interval to obtain 1500 groups of samples, select the first 1400 samples for model training, and the remaining samples for model testing. Some data is shown in Table 1.

Table 1. Sample set of monitoring data.

5.2 The Predicted Results of the Time Series Prediction Model

This paper uses the multivariable WLSSVM time series prediction model introduced in Sect. 2 to predict the monitoring value of each sensor at the next moment. This paper uses the target sensor as the output and other sensors as the input for model training. SPSS software was used to analyze the Pearson correlation of A02, A01, A09, A11, A07 and A08 monitoring points. The analysis results are shown in Table 2.

Table 2. Correlation analysis results of various influencing factors

It can be seen from Table 2 that the correlation coefficients are all greater than 0.3, and it is reasonable for each other sensor to be the input of the target sensor. The prediction results are shown in Table 3.

Table 3. Predicted results of various sensors

5.3 Experimental Results and Analysis

Contrast Analysis of Conflict Degree

This paper uses the posterior probability modeling method introduced in Sect. 3.2 to calculate the basic probability assignment function of each sensor. The BPA of each sensor is shown in Table 4.

Table 4. Basic probability assignment functions

It can be seen from Table 2 that the results of single sensor recognition are A09 \( m\left( {{\text{X}}_{2} } \right) \) = 0.8079, A07 \( m\left( {{\text{X}}_{4} } \right) \) = 0.2399, A11 \( m\left( {{\text{X}}_{1} } \right) \) = 0.4939, A02 \( m\left( {{\text{X}}_{1} } \right) \) = 0.5551, A01 \( m\left( {{\text{X}}_{1} } \right) \) = 0.5664 and A08 \( m\left( {{\text{X}}_{1} } \right) \) = 0.5954. Obviously, A09 and A07 have a great conflict with other sensors. Using a single sensor evaluation result can not accurately evaluate the safety status of coal mine gas. Therefore, it is necessary to modify the evidence source before fusion.

This paper adopts the improved method of evidence source introduced in Sect. 4.2, redistributes the weights for each sensor according to the BPA in Table 4, the revised BPA is shown in Table 5.

Table 5. Basic probability assignment function after modifying the evidence source

It can be seen from Table 5 that A09 is revised from \( m\left( {{\text{X}}_{2} } \right) \) = 0.8079 to \( m\left( {{\text{X}}_{2} } \right) \) = 0.4622, and A07 is revised from \( m\left( {{\text{X}}_{4} } \right) \) = 0.2399 to \( m\left( {{\text{X}}_{4} } \right) \) = 0.1997. The conflict is significantly reduced, indicating that the method of modify the source of evidence is feasible and retains the excellent evidence of A02. At the same time, the Table 5 shows that only using sensors A09 and A07 as evaluation evidence will lead to failure of decision-making, and only using A11, A02, A01 and A08 as evaluation evidence has low recognition accuracy and makes decision reliability low. Therefore, it is not reliable to use only a single sensor to evaluate the safety status of coal mine gas.

Comparative Analysis of Evaluation Results

Through the comparative analysis of the degree of conflict above, we can see that data fusion plays an important role in the decision-making results. Sensors A09, A07, A11, A02, A01, A08 are recorded as evidence \( e_{1} \), \( e_{2} \), \( e_{3} \), \( e_{4} \), \( e_{5} \), \( e_{6} \). The fusion process of multi-sensors is the fusion process of two sensors in sequence. The comparison results of the multi-sensor fusion of the three methods are shown in Table 6, 7, 8, 9 and 10.

Table 6. Comparative analysis of \( e_{1} e_{2} \) fusion results
Table 7. Comparative analysis of \( e_{1} e_{2} e_{3} \) fusion results
Table 8. Comparative analysis of \( e_{1} e_{2} e_{3} e_{4} \) fusion results
Table 9. Comparative analysis of \( e_{1} e_{2} e_{3} e_{4} e_{5} \) fusion results
Table 10. Comparative analysis of \( e_{1} e_{2} e_{3} e_{4} e_{5} e_{6} \) fusion results

As shown in Table 6 above, the fusion evidence sources \( e_{1} \) and \( e_{2} \) are all highly conflicting evidences, so the decision results of D-S evidence theory and D-S-1 evidence theory are invalidated, and the recognition results of D-S-2 evidence theory are uncertain. After introducing the evidence source \( e_{3} \) in Table 7, the recognition results of the D-S evidence theory and D-S-1 evidence theory are wrong, and the D-S-2 evidence theory recognition results are accurate, which proves that the improved fusion rule in this paper is effective, and retains the revised evidence source. Effective information in Table 8, \( e_{1} e_{2} e_{3} e_{4} \) fusion, D-S evidence theory recognition result is wrong, D-S-1 evidence theory and D-S-2 evidence theory recognition results are accurate, which proves that the modified method of the evidence source improved in this paper is correct, eliminating the inter-evidence Highly conflicting. Tables 9 and 10 show that the D-S-2 evidence theory method for the modification of evidence source and fusion rules in this paper is reasonable. The recognition accuracy of D-S-2 evidence theory is higher than that of D-S evidence theory and D-S-1 evidence theory. The accuracy rate of mine gas safety status recognition has been improved. At the same time, the fusion rule satisfies the exchange law, and it can be concluded that as the evidence increases during the fusion process, the accuracy of the identification in the decision stage is higher. The problem that the single sensor is difficult to accurately characterize the gas safety state is solved.

Through the above analysis, it can be concluded that the multi-sensor data fusion gas safety status evaluation system proposed in this section has high practical value in field applications, and has important theoretical significance for suppressing the occurrence of gas disasters and promoting the safe and sustainable development of the coal industry. In Table 10, the accuracy of D-S evidence theory based on improved fusion rules is improved by 2.8% and 15.7% respectively compared to D-S evidence theory based on modified evidence sources and D-S evidence theory, as more sensors are fused, the accuracy of the evaluation results is higher; the multi-sensor data evaluation results are improved by 63.5% compared with the single sensor evaluation results.

Model Uncertainty Measure

This paper uses Shannon entropy to measure the uncertainty of the above three D-S evidence theories. Let n signal sources make up the signal \( {\text{X}} = \left\{ {x_{1} ,x_{2} ,x_{3} \ldots ,x_{n} } \right\} \), the probability that each signal source provides corresponding information for an event is \( P = \left\{ {p\left( {x_{1} } \right),p\left( {x_{2} } \right),p\left( {x_{3} } \right), \ldots ,p\left( {x_{n} } \right)} \right\} \), then the system structure S of the signal can be expressed as:

$$ S = \left( {\begin{array}{*{20}c} {\text{X}} \\ P \\ \end{array} } \right) = \left( {\begin{array}{*{20}c} {\begin{array}{*{20}c} {x_{1} } \\ {p\left( {x_{1} } \right)} \\ \end{array} } & {\begin{array}{*{20}c} {x_{2} } \\ {p\left( {x_{2} } \right)} \\ \end{array} } & {\begin{array}{*{20}c} {\begin{array}{*{20}c} \ldots \\ \ldots \\ \end{array} } & {\begin{array}{*{20}c} {x_{n} } \\ {p\left( {x_{n} } \right)} \\ \end{array} } \\ \end{array} } \\ \end{array} } \right) $$
(22)

Therefore, the Shannon entropy of the signal is expressed as follows:

$$ H\left( x \right) = - \sum\nolimits_{i = 1}^{n} {p\left( {x_{i} } \right)\ln p\left( {x_{i} } \right)} $$
(23)

The uncertainty of D-S evidence theory fusion is:

$$ \begin{aligned} & - 0. 8 1 9 8 * { \ln }\,0. 8 1 9 8 - 0. 1 7 6 8 * { \ln }\,0. 1 7 6 8 - 0.00 2 8 * { \ln }\,0.00 2 8\\ & - 0.000 6 * { \ln }\,0.000 6 = 0. 4 90 1\\ \end{aligned} $$

The uncertainty of D-S-1 evidence theory fusion is:

$$ \begin{aligned} & - 0. 9 2 2 5 * { \ln }\,0. 9 2 2 5 - 0.0 7 20 * { \ln }\,0.0 7 20 - 0.00 4 2 * { \ln }\,0.00 4 2 \\ & - 0.00 1 3 * { \ln }\,0.00 1 3 = 0. 2 9 5 5\\ \end{aligned} $$
Fig. 2.
figure 2

Uncertainty for three types of D-S evidence theory

The uncertainty of D-S-2 evidence theory fusion is:

$$ \begin{aligned} & - 0. 9 4 8 5 * { \ln }\,0. 9 4 8 5 - 0.0 4 6 6 * { \ln }\,0.0 4 6 6 - 0.00 3 8 * { \ln }\,0.00 3 8 \\ & - 0.00 1 1 * { \ln }\,0.00 1 1= 0. 2 2 1 7 \\ \end{aligned} $$

From the comparison of the above results (Fig. 2), we can see that the improved D-S-2 evidence theory has lower uncertainty than D-S evidence theory and D-S-1 evidence theory, and can better evaluate the safety of coal mine gas.

6 Conclusion

  1. (1)

    According to the characteristics of coal mine monitoring data, an index system is constructed. By acquiring the predicted values of each sensor, the basic probability assignment function of each sensor is calculated using the posterior probability modeling method.

  2. (2)

    A safe evaluation model of coal mine gas status is constructed, and multi-sensor data fusion is realized. As more sensors are fused, the evaluation results are more accurate. The model in this paper effectively solves the problem that it is difficult for a single sensor to accurately characterize the gas safety state.

  3. (3)

    Aiming at the problem of evidence fusion failure caused by high conflict data, this paper introduces the similarity to modify the evidence source of conflict data, which effectively reduces the conflict between the evidence. At the same time, in order to prevent distortion of evidence sources, the conflict allocation coefficients are introduced to improve the fusion rules, and the accuracy of evaluation results is improved. It proves that the improved D-S evidence theory has higher accuracy and better generalization ability for coal mine gas safety evaluation, which can provide theoretical basis for gas disaster accident prevention.