1 Introduction

Drilling and blasting is a common method for fragmenting the rock mass in dam constructions, tunneling projects as well as open-pit mines. The main purpose of the blasting is the appropriate fragmentation, nevertheless, the unwanted effects such as ground vibration, air-overpressure (AOp) and backbreak are inevitable [1,2,3,4,5]. Among them, AOp is defined as a shock wave which is refracted horizontally by density variations into the atmosphere [6]. In the literature, precise estimation of AOp has been highlighted by researchers for minimizing the environmental problems. It is a well-established fact that the different parameters can cause AOp. These parameters are categorized into two main groups; blast design parameters and properties of rock mass [7,8,9]. Blast design or controllable parameters, such as specific charge, weight charge per delay (W), burden, spacing, time delay interval, sub-drilling, weight charge, stiffness ratio and type of explosive material can be changed by the engineers, Whereas properties of rock mass cannot be changed by the engineers. Based on some studies [7, 9, 10], W and distance from the blast-face (D) are the most effective parameters on AOp. In the recent years, the application of soft computing methods for solving the engineering problems has been highlighted by some researchers [11,12,13,14,15,16]. By reviewing the previous studies, several soft computing methods such as artificial neural network (ANN), fuzzy interface system (FIS), adaptive neuro-fuzzy inference system (ANFIS) genetic programing (GP) and support vector machine (SVM) have been employed in forecasting the AOp. Khandelwal and Singh [7] employed the ANN, United States Bureau of Mines (USBM) model and regression analysis for forecasting the AOp. In their study, W and D were used as the model inputs. Based on their results, ANN was more acceptable than regression analysis and USBM for forecasting the AOp. In the other study, Mohamed [17] used FIS and ANN for predicting the AOp. He used also W and D as the input parameters. His results proved that accuracy of FIS was superior to that of ANN. A comprehensive study to forecast AOp was done by Khandelwal and Kankar [9] using SVM and USBM models. Their results showed significant capability of the SVM compared to USBM in forecasting AOp. In the other study of soft computing methods, Hajihassani et al. [18] developed a hybrid model of ANN and particle swarm optimization (PSO) for forecasting the AOp. For comparison aims, USBM and ANN model were also used in their studies. Based on their obtained results, the accuracy of hybrid model was superior to those of ANN and USBM models. Recently, ANFIS and ANN were employed for AOp prediction by Jahed Armaghani et al. [19]. Their results indicated that the ANFIS possessed superior predictive ability than the ANN, since a very close agreement between the measured and the predicted values was obtained. In the present research, a new practical model is proposed to forecast AOp at Shur river dam, Iran, using PSO. In the other words, a non-linear equations is proposed which optimized by PSO. To evaluate the acceptability and reliability of the proposed PSO model, artificial neural network (ANN) has been also performed. In summary, the present paper is structured as follows:

The field investigation has been explained in Sect. 2. The AOp prediction by PSO is presented in Sect. 3. The results of the predictive models are presented and discussed in Sect. 4 and finally, the main conclusions of this research work are drawn.

2 Field investigation

In the present study, the requirement datasets were collected from Shur river dam region, in Iran, between 55°51′47″ longitudes and 30°1′48″ latitudes. A view of Shur river dam region is shown in Fig. 1. Bench blasting was the most main method for rock breakage in this site. In each blasting, maximum numbers of rows and blast-holes were 6 and 66, respectively, while their minimum numbers were 2 and 25, respectively. Moreover, ANFO with the specific gravity of 0.85–0.95 gr/cm3 was used as the explosive material in each blasting. AOp was one of the undesirable effects induced by mine blasting in this site. Hence, a research program was carried out for evaluating and predicting the AOp. For this work, 80 blasting events were monitored and the effective parameters on AOp were measured. According to Kuzu et al. [20], Khandelwal and Kankar [9], W and D are the most effective parameters on AOp. Hence, W and D were measured for all monitored blasting events. In addition, the values of rock mass rating (RMR) were determined for these operations. In other words, W, D and RMR were considered as the independent parameters for forecasting the AOp. For measuring the AOp values, Minimate Pulse instrument was installed in different locations and its distances from shot-points were measured by GPS. This instrument can record the AOp values in the range of 88 dB (7.25 × 10−5 psi or 0.5 Pa) and 148 dB (0.0725 psi or 500 Pa). More details regarding to measured datasets are summarized in Table 1 and Fig. 2.

Fig. 1
figure 1

A view of Shur river dam

Table 1 The measured parameters in the present study for forecasting AOp
Fig. 2
figure 2

A view of the measured parameters in the present study

3 Prediction of AOp

In the present research work, PSO and ANN were employed for predicting the AOp. For modeling PSO and ANN models, the prepared datasets were divided into two subsets, i.e., train and test. In this regard, 80 and 20% of total datasets were adopted for training and testing, as recommended in many studies [4, 5, 13, 19]. In other words, 64 and 16 datasets were employed for building and testing the models. Table 2 also shows the basic statistics of the train and test sets.

Table 2 The basic statistics of the train and test sets in this research

3.1 Prediction of AOp using PSO

PSO is a population-based search algorithm based on an analogy with the collective motion of biological organisms [21]. According to some studies, the principal of the PSO are the cognitive of swarm and social behavior [21]. This algorithm has faster convergence than genetic algorithm as well as has few parameters to adjust and is also easy to implement [22,23,24]. More explanations regarding PSO algorithm can be viewed in many studies (e.g., Momeni et al. [22]; Ghasemi et al. [23]). PSO is extensively applied for solving real world problems, so far. Day by day the number of researchers being interested in PSO increases rapidly. For instance, Jahed Armaghani et al. [19], Tonnizam Mohamad et al. [24] and Ghasemi et al. [23] employed the PSO in the field of rock engineering. Based on their obtained results, PSO is a powerful algorithm for optimizing aims in this field. According to mentioned descriptions, PSO is used for optimizing three linear and non-linear equations for predicting the AOp. In the other words, two forms of non-linear equations including power and quadratic and a linear equation are proposed in the present study, so that the coefficients of these equations were optimized by PSO. Considering the input (independent) parameters, the linear, power and quadratic forms are shown as following:

$${\text{AO}}{{\text{p}}_{{\text{linear}}}}={A_0}+{A_1} \cdot W+{A_2} \cdot D+{A_3} \cdot {\text{RMR}}$$
(1)
$${\text{AO}}{{\text{p}}_{{\text{power}}}}={A_0}+{A_1} \cdot {W^{{A_2}}}+{A_3} \cdot {D^{{A_4}}}+{A_5} \cdot {\text{RM}}{{\text{R}}^{{A_6}}}$$
(2)
$${\text{AO}}{{\text{p}}_{{\text{quadratic}}}}={A_0}~+~{A_1} \cdot W+{A_2} \cdot D+{A_3} \cdot {\text{RMR}}+{A_4} \cdot {W^2}+{A_5} \cdot {D^2}+{A_6} \cdot {\text{RM}}{{\text{R}}^2}$$
(3)

where W, D and RMR are the model inputs. The \({A_0},{A_1},{A_2},~{A_3},{A_4},~{A_5}{\text{~and}}~{A_6}\) are the coefficients so that these coefficients will be optimized by PSO in the present study. For this aim, a PSO code was implemented in MATLAB Software environment. In PSO modeling, various parameters, i.e., number of particles, number of iterations, coefficients of velocity equation (C 1 and C 2) and inertia weight should be determined. To obtain the number of particles, trial and error method is employed in the present study. In this regard, various numbers of particles were used and their performances were evaluated based on coefficient of determination (R 2), as shown in Table 3. From Table 3, it was found that the model no. 9 with the numbers of particles of 350 indicates the best performance. Therefore, the value of 350 was considered as the numbers of particles in the present study. By reviewing the previous studies, the various number of iterations were tested and based on obtained results the value of 450 was considered as the numbers of iterations. Afterwards, the values of coefficients of velocity equation (C 1 and C 2) and inertia weight should be determined. Based on expert opinions as well as the previous researchers, the value of 0.75 was also selected as the inertia weight. In addition, Table 4 shows the using of various values for the C 1 and C 2. According to this Table, the values of 2 and 2 were considered as the C 1 and C 2. Based on above, the values of 350, 450, 0.75, 2 and 2 were chosen as the numbers of particles, numbers of iterations, inertia weight, C 1 and C 2. Note that, the mentioned values were assigned for the linear form. In case of power and quadratic forms, the mentioned steps were reconsidered and based on obtained results, the values of the numbers of particles, numbers of iterations, inertia weight, C 1 and C 2 are given in Table 5. Considering these values, the linear, power and quadratic forms optimized by PSO were formulated, as shown in below:

Table 3 Results of PSO models for various number of particle
Table 4 Results of PSO modeling for various coefficients of velocity equation (C 1 and C 2)
Table 5 The values of PSO parameters for the power and quadratic forms
$${\text{AO}}{{\text{p}}_{{\text{linear}}}}=154.5+0.011W - 0.028D - 0.037{\text{RMR}}$$
(4)
$${\text{AO}}{{\text{p}}_{{\text{power}}}}= - 47.77+0.1{W^{0.72}}+371.3{D^{ - 0.08}} - 47.77{\text{RM}}{{\text{R}}^1}$$
(5)
$${\text{AO}}{{\text{p}}_{{\text{quadratic}}}}=1.27+0.001W - 0.06D+6.87{\text{RMR}}+7.04 \times {10^{ - 6}}{W^2}+3.08 \times {10^{ - 5}}{D^2} - 0.078{\text{RM}}{{\text{R}}^2}$$
(6)

The above equations were constructed based on training datasets. In the second step, the performance of these equations will be evaluated using testing data sets. More details about the performance of PSO models is suggested in Sect. 4.

3.2 Prediction of AOp using ANN

The good performance and effectiveness of ANN have been approved in the complicated systems [25, 26]. An ANN has the layers, i.e., input, hidden and output layers. The input and output parameters are adopted in the input and output layers, respectively. In the present study, W, D and RMR are the model inputs, while, the AOp is considered as the model output. The most important task in ANN modeling is to select the appropriate neurons in hidden layers. By reviewing the previous studies, it was found that using one hidden layer is sufficient for solving any problems. Hence, one hidden layer is employed in the present study. Then, the numbers of neurons in this hidden layers should be determined. For this work, various models have been constructed and their performances have been compared, as shown in Table 6. Based on Table 6, model No. 4 with the four neurons in hidden layer has the best performance in both train and test. Hence, the appropriate structure of ANN in the presented research work has 3 neurons (W, D and RMR) in the input layer, 4 neurons in the hidden layer and 1 neuron (AOp) in the output layer. The comparison between the ANN model via PSO models have been suggested in the next section.

Table 6 R 2 values of the developed ANN models

4 Analysis of the results

In this study, three forms of equations, i.e., linear, power and quadratic forms, were proposed for predicting the AOp, so that their coefficients were optimized by PSO. To check the performance of the constructed equations, ANN model was also employed. For constructing the predictive models 64 datasets were used and then 16 new datasets were used to test the constructed models. Aside from the mentioned ANN and PSO models, an empirical model presented by United States Bureau of Mines (USBM) [27] is used in the present study. Based on obtained results from the regression analysis, the constructed USBM model is formulated as following:

$${\text{AOp}}=248.37~{\left( {\frac{D}{{{W^{0.33}}}}} \right)^{ - 0.15}}$$
(7)

The accuracy of the predictors was evaluated based on several statistical functions, i.e., R 2, variance account for (VAF), mean absolute bias error (MABE) and mean squared error (MSE).

$${R^2}=\frac{{\left[ {\mathop \sum \nolimits_{{i=1}}^{n} {{\left( {{x_i} - {x_{{\text{mean}}}}} \right)}^2}} \right] - \left[ {\mathop \sum \nolimits_{{i=1}}^{n} {{\left( {{x_i} - {x_p}} \right)}^2}} \right]}}{{\left[ {\mathop \sum \nolimits_{{i=1}}^{n} {{\left( {{x_i} - {x_{{\text{mean}}}}} \right)}^2}} \right]}}$$
(8)
$${\text{MSE}}=\frac{1}{n} \times \mathop \sum \limits_{{i=1}}^{n} \left[ {{{\left( {{x_i} - {x_p}} \right)}^2}} \right]$$
(9)
$${\text{VAF}}=\left[ {1 - \frac{{{\text{var}}\left( {{x_i} - {x_p}} \right)}}{{{\text{var}}\left( {{x_i}} \right)}}} \right] \times 100$$
(10)
$${\text{MABE}}=\frac{1}{n} \times \mathop \sum \limits_{{i=1}}^{n} \left| {{x_i} - {x_p}} \right|$$
(11)

where, n is the number of the selected data sets, \({x_p}\) is the predicted value and \({x_i}\) is the actual value.

Table 7 shows the obtained R 2 and MSE for the predictive models. From Table 7, it was proved that the lowest values for the MSE and MABE as well as the highest values for the VAF and R 2 were obtained from PSO-linear model. The R 2 of 0.960 shows that prediction of AOp by PSO-linear model is very accurate and closer to measured AOp values. Figures 3, 4, 5, 6 and 7 also illustrate the scatter plots of AOp predicted by the models for both training and testing data sets. Moreover, when considering the achieved results of the MSE for the predictive models, values of 4.33, 8.89, 9.98, 10.14 and 16.28 were obtained from PSO-linear, PSO-power, ANN, PSO-quadratic and USBM models, respectively, which demonstrates a higher accuracy of PSO-linear model. In the present study, sensitivity analysis was also performed using Yang and Zang [28] method:

Table 7 The values of statistical functions for the predictive models
Fig. 3
figure 3

The performance of the USBM for forecasting the AOp

Fig. 4
figure 4

The performance of the ANN for forecasting the AOp

Fig. 5
figure 5

The performance of the PSO-power for forecasting the AOp

Fig. 6
figure 6

The performance of the PSO-quadratic for forecasting the AOp

Fig. 7
figure 7

The performance of the PSO-linear for forecasting the AOp

$${r_{ij}}=\frac{{\mathop \sum \nolimits_{{k=1}}^{n} ({y_{ik}} \times {y_{ok}})}}{{\sqrt {\mathop \sum \nolimits_{{k=1}}^{n} {y_{ik}}^{2}\mathop \sum \nolimits_{{k=1}}^{n} {y_{ok}}^{2}} }}$$
(12)

where \({y_i}\) and \({y_o}\) denote the input and output parameters, respectively. Based on obtained results from the sensitivity analysis, RMR with \({r_{ij}}\) of 0.988 was the most effective parameter on the AOp in the present research work, while, the values of \({r_{ij}}\) for the W and D were 0.969 and 0.941, respectively.

5 Conclusion

The aim of this research work is to obtain a novel predictive model for forecasting the AOp induced by mine blasting at Shur river dam region, Iran. AOp is an undesirable effect induced by blasting operations in surface mines and proper predictions of AOp is a necessary task in this field. This paper presents three PSO-based models, namely linear, power and quadratic which use PSO for optimizing aims. In addition, ANN and USBM models were also employed in the same datasets for comparison purposes. In this regard, 80 blasting were investigated and the values of AOp were carefully measured and set as the models output. Also, the values of W, D and RMR were measured and these parameters were set as the input parameters. The prepared datasets were divided into train and test categories, so that 64 and 16 datasets were adopted as the training and testing. After constructing the models, four statistical criteria, i.e., VAF, R 2, MABE and MSE were employed for evaluating the accuracy of the constructed models. Based on obtained results, it was proved that the PSO-linear model (with R 2 of 0.960, MSE of 4.33, VAF 95.05 and MABE of 1.67) has better performance of PSO-power model (with R 2 of 0.923, MSE of 8.89, VAF 90.50 and MABE of 2.47), PSO-quadratic model (with R 2 of 0.926, MSE of 10.14, VAF 89.55 and MABE of 2.50), ANN model (with R 2 of 0. 897, MSE of 9.98, VAF 88.33 and MABE of 2.66) and USBM (with R 2 of 0.872, MSE of 16.28, VAF 86.08 and MABE of 3.81). The achieved results show that the proposed PSO-based models, especially PSO-linear model, can be introduced with confidence for future research works on formulating new predictors for forecasting the blast-induced AOp.