1 Introduction

Circular hole-contained structures have good stability and have been widely used in tunnels, pipelines, and pressure vessels. However, they may suddenly break due to stress wave disturbance, fatigue damage, and longtime pressure, threatening human life and property. An acoustic emission/microseismic (AE/MS) monitoring system can record the micro-rupture signal before a structural failure and provide an early warning. It has been widely used in structural health monitoring (Koabaz et al. 2012), where an accurate source location is a basis. The objective function of source location is usually built from P-wave travel time. However, the commonly used straight line-based AE/MS location is unsuitable for a hole-contained structure. For example, circular holes were built in the Jinping II hydropower station, there are many events far away from the tunnels for the straight line-based MS location results (Feng et al. 2015a, b), which indicates that poor MS events location results have been obtained for hole-contained structures. Other studies get similar results (Dong et al. 2020; Hu and Dong 2020). The main failure reasons for straight line-based location results of hole-contained structures include: (1) the empty zone makes that the first arrived P-wave of each signal may not travel along the straight line between the source and sensor; and (2) the heterogeneity of a complex structure makes the fixed speed-based location fail.

  • (1) Straight line-based location in complex structures.

Unlike the traditional straight line-based location method that uses a constant and known P-wave velocity, Dong et al. (2015; 2020) treat P-wave velocity as an unknown parameter and solve it in each source location inversion, Kundu et al. (2012) divide sensors into groups by interaction distance before a source location. Both approaches reduce the influence of velocity heterogeneity. By contrast, some researchers focus on the quality improvement of P-wave arrival data, and various noise reduction methods and P-wave arrival picking methods have been proposed (Shang et al. 2018; Mborah and Ge 2018; Peng et al. 2021). Moreover, the P-wave arrival time system error (PATSE) is eliminated in Shang et al. (2022) and Jiang et al. (2021a). For a given P-wave arrival dataset, Li et al. (2016) proposed an exponential decay-based location objective function to reduce the effect of large picking errors, and Zhou et al. (2021) applied a variety of optimization algorithms to solve this function. Moreover, Dong et al. (2019), Rui et al. (2022), and Peng et al. (2022) chose the initial location result to eliminate poor P-wave arrival data. The location points of P-wave arrival combinations and density characterization algorithms are then combined to determine an event location, ensuring a stable location result (Peng et al. 2022). These methods have improved the accuracy and stability of an AE/MS location. However, there are usually large P-wave travel differences between the straight line path and the shortest path in a complex structure, resulting in low location accuracy.

  • (2) Non-straight line-based location in complex structures.

Many studies that follow the Snell’s ray path law have been done on the AE/MS source location for a one-dimensional layered velocity model (Gesret et al. 2015). However, this velocity model is quite different from a hole-contained structure. Baxter et al. (2007) obtained the P-wave relative travel time dataset through many pencil-lead break (PLB) events, which can ensure the quality of P-wave travel time in a complex structure. However, the experimental process is very time-consuming. Dong et al. (2020; 2022), Peng et al. (2020), and Jiang et al. (2021b) computed theoretical P-wave travel time using an improved A* algorithm and fast marching method (FMM), which can be adopted to a variety of complex structures. However, these search algorithms may obtain a local optimal path, and the gridding process will cause errors in the P-wave travel path (Dong et al. 2020). Analytical solutions have been done on cylindrical shell structures to obtain a theoretical P-wave travel distance. In this method, the sensor and source are projected onto one circular side. Then the length of the circular arc and horizontal coordinate difference following the Pythagorean theorem are used to obtain the shortest P-wave travel distance on a cylindrical shell structure (Wang et al. 2021). However, a circular hole-contained structure usually has a specific thickness, and the above analytical solution has a limited application field.

  • (3) How will this work address the above problems?

The above review shows that it is necessary to propose a universal analytical solution for circular hole-contained structures. In this study, an analytical solution has been proposed to find the shortest P-wave travel distance for circular hole-contained structures, and a grid search-based location method has been applied to verify its effectiveness. The main innovations and contributions of this study include: (1) solid geometry and projection methods are used to determine the spatial location relationship between the circular hole and line that connects the source and sensor. Then, analytical solutions of the shortest P-wave travel path for 2D circle-contained plane, 3D full circular hole-contained cuboid, and 3D part circular hole-contained cuboid are obtained; (2) a fastest P-wave travel time dataset is generated by the analytical method and reciprocity theorem. An objective function that combines the L1 norm time difference and P-wave arrival time system error is then established for an AE/MS event locating; and (3) the proposed location method achieves good results both in synthetic tests and PLB events. The average location errors of PLB events for 2D circle-contained rectangle, 3D full circular hole-contained cuboid, and 3D part circular hole-contained cuboid separately are 0.57 cm, 1.87 cm, and 2.25 cm, which are smaller than those of the straight line, Dijkstra and A* algorithms.

2 Proposed Location Method

2.1 P-wave Travel Path Computation

An accurate P-wave travel path is the basis of an AE/MS source location for circular hole-contained structures. There are several common cases, including a 2D circle-contained rectangle, a 3D full circular hole-contained cuboid, and a 3D part circular hole-contained cuboid. The first and second cases can be treated as the special cases of the third case, the 3D full circular hole-contained cuboid can simulate structures such as pipelines, while the part circular hole-contained 3D structure can simulate a circular tunnel under construction.

2.1.1 2D Circle-Contained Rectangle

Suppose the locations of source A and sensor B in the 2D circle-contained rectangle separately are (x0, z0) and (xi, zi), and i is the sensor id. There are three spatial location relations (separation, tangency, and intersection, Fig. 1) between the circle and the line that connects the source and sensor. The workflow for obtaining the shortest P-wave travel path is shown as Fig. 2b1.

Fig. 1
figure 1

Schematic diagrams of the shortest P-wave travel path in a 2D circle-contained rectangle. The red star and triangle denote the source and sensor locations, respectively. O is the circular center. d is the perpendicular distance from O to the line that connects A and B, r is the radius of the circular hole, M, M', N, and N' are tangent points

Fig. 2
figure 2

Workflow of the analytical solution and proposed location method

The perpendicular distance from the circular center to the line determined by the source and sensor is calculated through the following steps:

First, the straight line equation can be given as:

$$z\, = \,k(x - x_{0} )\, + \,z_{0} ,$$
(1)

where \(k = (z_{i} - z_{0} )/(x_{i} - x_{0} )\).

Then, Eq. (1) can be converted into \(ax + bz + c = 0\), where \(a = k\), \(b = - 1\), \(c = - kx_{0} + z_{0}\). Thus, the perpendicular distance from the circle center (xc, zc) to the straight line is given as:

$$d = \frac{{\left| {a \times x_{c} + b \times z_{c} + c} \right|}}{{\sqrt {(a^{2} + b^{2} )} }}.$$
(2)

(a) If \(d \ge r\), the straight line is separated or tangent to the circular hole (Fig. 1a), Thus, the shortest P-wave travel distance is equal to the straight line distance from the source to the sensor:

$$L_{\min }^{i} = \sqrt {(x_{i} - x_{0} )^{2} + (z_{i} - z_{0} )^{2} } .$$
(3)

(b) If \(d < r\), the connection line (Fig. 1c) or its extension line (Fig. 1b) determined by the source and sensor intersects the circular hole. To determine whether the connection line or its extension line intersects the circular hole, the lengths of the triangle sides (|AB|, |OA|, and |OB|) are calculated from the coordinates of source A, sensor B, and circular center O. Then, the \(\angle {\text{OAB}}\) and \(\angle {\text{OBA}}\) are obtained through Eqs. (4) and (5). If both the \(\angle {\text{OAB}}\) and \(\angle {\text{OBA}}\) are acute angles, the connection line intersects the circular hole (Fig. 1c); Otherwise, the extension line intersects the circular hole (Fig. 1b).

$$\angle {\text{OAB}} = \arccos \frac{{\left| {{\text{AB}}} \right|^{2} + \left| {{\text{OA}}} \right|^{2} - \left| {{\text{OB}}} \right|^{2} }}{{2\left| {{\text{AB}}} \right| \times \left| {{\text{OA}}} \right|}},$$
(4)
$$\angle {\text{OBA}} = \arccos \frac{{\left| {{\text{AB}}} \right|^{2} + \left| {{\text{OB}}} \right|^{2} - \left| {{\text{OA}}} \right|^{2} }}{{2\left| {{\text{AB}}} \right| \times \left| {{\text{OB}}} \right|}},$$
(5)

where \(\angle {\text{OAB}} \in [0,{\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} \pi ]\) and \(\angle {\text{OBA}} \in [0,{\kern 1pt} {\kern 1pt} {\kern 1pt} {\kern 1pt} \pi ]\).

If the extension line intersects the circular hole, Eq. (3) is used to calculate the \(L_{\min }^{i}\). When the connection line passes through the circular hole, the \(L_{\min }^{i}\) is calculated by the following steps:

Set the tangent point coordinates from the source to the circular hole as (\(xe_{i0}\),\(ze_{i0}\)), then:

$$\left\{ \begin{gathered} (xe{}_{i0} - x_{c} )^{2} + (ze_{i0} - z_{c} )^{2} = r^{2} \hfill \\ (x_{0} - x_{c} )(xe_{i0} - x_{c} ) + (z_{0} - z_{c} )(ze_{i0} - z_{c} ) = r^{2} \hfill \\ \end{gathered} \right..$$
(6)

There are two tangent points from one point to a circle. In other words, Eq. (6) has two solutions M (\(xe_{i1}\),\(ze_{i1}\)) and M' (\(xe_{i1}^{\prime }\),\(ze_{i1}^{\prime }\)).

Then, the coordinates of tangent points N (\(xs_{i1}\),\(zs_{i1}\)) and N' (\(zs_{i1}^{\prime }\),\(zs_{i1}^{\prime }\)) between the sensor and circular hole can be calculated in the same way. Thus, there are four possible P-wave travel paths, and their lengths are AM + MN + NB, AM + MN' + N'B, AM' + M'N' + N'B, and AM' + M'N + NB, and their corresponding arc lengths on the circle are marked as \(rad_{{_{i} }}^{j}\) ( j = 1, 2, 3, 4).

$$rad_{{_{i} }}^{j} = r\theta_{j} ,$$
(7)

where \(\theta_{{^{j} }} = 2\arcsin \frac{{d_{q} }}{2r}\), \(\theta_{j} \le 180^\circ\) is the angle between the tangent points \(M\), \(M^{\prime}\), \(N\), \(N^{\prime}\) and the circular center O. \(d_{q} = \sqrt {(xs_{i} - xe_{i}^{\prime } )^{2} + (zs_{i} - ze_{i}^{\prime } )^{2} }\) indicates the straight line distance between tangent point combinations.

Mark the distance from the source to tangent points \(M\) and \(M^{\prime}\) as \(le_{{_{i} }}^{j}\), and mark the distance from the sensor to tangent points \(N\) and \(N^{\prime}\) as \(ls_{{_{i} }}^{j}\). The shortest P-wave travel path in a 2D circular hole-contained plane can be written as:

$$L_{\min }^{i} = \min\, (le_{{_{i} }}^{j} + rad_{{_{i} }}^{j} + ls_{{_{i} }}^{j} ).$$
(8)

2.1.2 Full Circular Hole-Contained 3D Structure

Set the source and sensor coordinates in the full circular hole-contained 3D structure separately as A(x0, y0, z0) and B(xi, yi, zi), where i is the sensor id. There also are three spatial relationships (separation, tangency, and intersection) between the connection line and the circular hole (Fig. 3). To identify this, the source and sensor locations are projected to the front plane of the full circular hole-contained 3D structure, and then the method proposed in Sect. 2.1.1 is used to judge the spatial relationship. The workflow detail is shown in Fig. 2b2.

Fig. 3
figure 3

Schematic diagrams of the shortest P-wave travel path in the full circular hole-contained 3D structure. The remaining description is the same as in Fig. 1

The source and sensor locations in the projection plane are marked A' (x0, C, z0) and B' (xi, C, zi), respectively, where C is a constant equal to the Y-axis coordinate of the front plane. The perpendicular distance \(d^{\prime}\) and spatial relationship between the connection line and circular hole can be obtained by following the steps shown in Sect. 2.1.1.

  1. (a)

    If \(d^{\prime} \ge r\), the straight line is separated or tangent to the 3D full circular hole (Fig. 3d). The straight line distance from the source to the sensor is the shortest P-wave travel distance in the 3D space:

    $$L_{{\min ^{i} }}^{\prime} \, = \,\sqrt {(x_{i} - x_{0} )^{2} + (y_{i} - y_{0} )^{2} + (z_{i} - z_{0} )^{2} } .$$
    (9)
  2. (b)

    If \(d^{\prime} < r\), the judgment method that whether the connection line or its extension line intersects the circular hole is the same as that shown in Sect. 2.1.1. If at least one of \(\angle {\text{OA}}^{\prime}{\rm{B}}^{\prime}\) and \(\angle {\text{OB}}^{\prime}{\text{A}}^{\prime}\) is not an acute angle, the connection line does not pass through the circular hole (Fig. 3e), and Eq. (9) is used to calculate the \(L_{{\min ^{i} }}^{\prime}\). Otherwise, the connection line passes through the circular hole (Fig. 3f), and the calculation method for \(L_{{\min ^{i} }}^{\prime}\) is given as follows.

Set the tangent point coordinates from the source and station to the circular hole separately as G(xei, yei, zei) and F(xsi, ysi, zsi). There are six variables in the G and F, and the xei, zei, xsi, and zsi can be obtained by following the steps shown in Sect. 2.1.1, then only yei and ysi are the unknown variables. The straight line distance lei from the source to tangent point G and the straight line distance lsi from station to tangent point F can be calculated by:

$$\left\{ \begin{gathered} le_{i} = \sqrt {(x_{0} - xe_{i} )^{2} + (y_{0} - ye_{i} )^{2} + (z_{0} - ze_{i} )^{2} } \hfill \\ ls_{i} = \sqrt {(x_{i} - xs_{i} )^{2} + (y_{i} - ys_{i} )^{2} + (z_{i} - zs_{i} )^{2} } \hfill \\ \end{gathered} \right..$$
(10)

Moreover, to calculate the arc length \({\text{rad}}_{i}^{\prime }\) between tangent points, the G and F are projected to the front plane of the full circular hole-contained 3D structure, where the projected point coordinates are marked as G'(xei, C, zei) and F'(xsi, C, zsi). The circular hole is then expanded (Fig. 3f, a more visually 3D view has been included in Fig. S1 and the arc length l between the tangent points G' and F' in the 2D projected plane is obtained. FF' is determined by the \(\left| {ye_{i} - ys_{i} } \right|\), and mark the arc length between tangent points G and F in 3D space as \({\text{rad}}_{i}^{\prime }\). The l, FF' and \({\text{rad}}_{i}^{\prime }\) forms a triangle, and the \({\text{rad}}_{i}^{\prime }\) can be obtained according to Pythagorean theorem:

$${\text{rad}}_{i}^{\prime } = \sqrt {(ye_{i} - ys_{i} )^{2} + l^{2} } .$$
(11)

The l can be calculated in the same way as the \(rad_{{_{i} }}^{j}\) shown in Sect. 2.1.1. \(l = r\theta_{1}\) (\(\theta_{1} = 2\arcsin \frac{{d_{{G^{\prime}F^{\prime}}} }}{2r}\)), where \(\theta_{1}\) is equal to \(\angle {\text{G}}{^\prime}{\text{OF}}{^\prime}\), and \(d_{{G^{\prime}F^{\prime}}} = \sqrt {(xs_{i} - xe_{i} )^{2} + (zs_{i} - ze_{i} )^{2} }\) indicates the straight line distance between the G' and F'.

Furthermore, the source, tangent points G and F, and sensor locations should be in the same plane \(x + my + nz + e = 0\).

$$\left\{ \begin{gathered} x_{0} + my_{0} + nz_{0} + e = 0 \hfill \\ xe_{i} + mye_{i} + nze_{i} + e = 0 \hfill \\ xs_{i} + mys_{i} + nzs_{i} + e = 0 \hfill \\ x_{i} + my_{i} + nz_{i} + e = 0 \hfill \\ \end{gathered} \right.,$$
(12)

where m, n, and e are coefficients of the plane equation.

There are five unknown parameters in Eq. (12). The n, e, yei, and ysi may then be expressed as a function of parameter m. Thus, the \(L_{{\min ^{i} }}^{\prime}\) can be calculated by:

$$L_{{\min ^{i} }}^{\prime} (m) = \min (le_{i} + rad_{i}^{\prime } + ls_{i} ).$$
(13)

The partial derivative of parameter m can be used to solve Eq. (13):

$$\frac{{\partial (le_{i} {\text{ + rad}}_{i}^{\prime } + ls_{i} )}}{\partial m} = 0.$$
(14)

After obtaining the parameter m, it is easy to obtain n, e, yei, and ysi. Finally, the shortest P-wave travel distance will be \(L_{{\min ^{i} }}^{\prime} = \min (le_{i} + {\text{rad}}_{i}^{\prime } {\kern 1pt} + ls_{i} )\).

2.1.3 Part Circular Hole-Contained 3D Structure

Set the source and sensor coordinates in the part circular hole-contained 3D structure separately as A(x0, y0, z0) and B(xi, yi, zi), where i is the sensor id. In this case, there are five spatial relationships between the connection line and the circular hole (Fig. 4). The workflow detail is shown in Fig. 2b3:

Fig. 4
figure 4

Schematic diagrams of the shortest P-wave travel path in a part circular hole-contained 3D structure. a The part circular hole-contained 3D structure, source and sensor locations; bc The source and sensors are projected to the right and front plane, respectively. The remaining description is the same as in Fig. 1

  1. (1)

    When the P-wave travel path is separated/tangent to the circular hole (e.g., straight lines S1 and S2 in Fig. 4, the spatial relationship can be determined by following Sect. 2.1.2), and the shortest P-wave travel distance \(L_{{\min ^{i} }}^{{\prime\prime}}\) can be calculated by Eq. (9).

  2. (2)

    When the source and sensor are both located on the circular hole side (e.g., straight line S3 in Fig. 4, the spatial relationship can be determined by the Y-axis coordinate), the shortest P-wave travel distance \(L_{{\min ^{i} }}^{{\prime\prime}}\) can be calculated by following the steps shown in Sect. 2.1.2.

  3. (3)

    When the source and sensor are both located at the solid part (e.g., straight line S4 in Fig. 4, the spatial relationship can be determined by the Y-axis coordinate), and the shortest P-wave travel distance \(L_{{\min ^{i} }}^{{\prime\prime}}\) can be calculated by Eq. (9).

  4. (4)

    When the source and sensor are separately located on the solid and hole parts (e.g., straight line S5 in Fig. 4, the spatial relationship can be determined by the Y-axis coordinates: the minimum value of y0 and yi is smaller than 5 cm, and the maximum value of y0 and yi is larger than 5 cm) and the connection line intersects the circular hole, the following steps are given to obtain the shortest P-wave travel distance:

The points A (x0, y0, z0), H (xhi, yhi, zhi), and B (xi, yi, zi) on the P-wave path from the source to the sensor should be in the same plane \(x + m_{1} y + n_{{1}} z + e_{1} = 0\).

$$\left\{ \begin{gathered} x_{0} + m_{1} y_{0} + n_{1} z_{0} + e_{1} = 0 \hfill \\ xh_{i} + m_{1} yh_{i} + n_{1} zh_{i} + e_{1} = 0 \hfill \\ x_{i} + m_{1} y_{i} + n_{1} z_{i} + e_{1} = 0 \hfill \\ \end{gathered} \right..$$
(15)

Then, the point H should be on the circle of the front face and the yhi is equal to the Y coordinate of the front face:

$$(x_{c} - xh_{i} )^{2} + (z_{c} - zh_{i} )^{2} = r^{2} ,$$
(16)
$$yh_{i} = h.$$
(17)

The straight line distance between A and H is equal to \(L_{{{\text{AH}}}}^{i} = \sqrt {(x_{0} - xh_{i} )^{2} + (y_{0} - yh_{i} )^{2} + (z_{0} - zh_{i} )^{2} }\), and the straight line distance between B and H is equal to \(L_{{{\text{BH}}}}^{i} = \sqrt {(x_{1} - xh_{i} )^{2} + (y_{1} - yh_{i} )^{2} + (z_{1} - zh_{i} )^{2} }\). There are six unknown parameters in Eq. (15). Combining Eqs. (15)–(17), the n1, e1, xhi, yhi, and zhi may then be expressed as a function of parameter m1. Then, the length of shortest P-wave path from A to B can be written as:

$$L_{{\min ^{i} }}^{\prime\prime} (m_{1} ) = \min\, (L_{AH}^{i} + L_{BH}^{i} ).$$
(18)

The partial derivative of parameter m1 can be used to solve Eq. (18):

$$\frac{{\partial (L_{{{\text{AH}}}}^{i} { + }L_{{{\text{BH}}}}^{i} )}}{{\partial m_{1} }} = 0.$$
(19)

After obtaining the parameter m1, it is easy to obtain n1, e1, xhi, and zhi. Finally, the shortest P-wave travel distance will be \(L_{{\min ^{i} }}^{{\prime\prime}} = \min\, (L_{{{\text{AH}}}}^{i} + L_{{{\text{BH}}}}^{i} )\).

2.2 AE/MS Grid Search Location Method for Circular Hole-Contained Structure

The above analytical solution obtains an accurate P-wave travel time for the circular hole-contained structure. Then, it can be combined with the travel time-based source location objective function. In this study, an L1 norm time difference and PATSE combined objective function is proposed, and a grid search method is used to find the global optimal source location. The source location steps are shown in Fig. 2, and the detailed processes are listed as follows:

Step 1: structure grid initialization.

The circular hole-contained structure is divided into cubes, and their centers are used in the grid search-based source location method. In this study, the circular hole radius is 2.5 cm, the circular hole-contained rectangular has a size of 30 × 20 cm2, the full and part circular hole-contained 3D cuboids both have a size of 30 × 10 × 20 cm3, and the hole length of the part circular hole-contained 3D cuboid is 5 cm. Evaluation parameters of circle-contained 2D rectangle and full circular hole-contained 3D cuboid listed in Table 1 were included to confirm the gird size, where all the parameters are based on one core of 2.8 GHz CPU and the application dataset shown in Sect. 5. For the circle-contained 2D rectangle, the 1 × 1, 0.5 × 0.5, and 0.25 × 0.25 cm2 grids have a similar average location error, while the 0.25 × 0.25 cm2 needs a much more grid dataset generation time and grid search location time. A 0.5 × 0.5 cm2 grid is selected for circle-contained 2D rectangle. For the full circular hole-contained 3D cuboid, the average location error of the 2 × 2 × 2 cm3 grid is much larger than that based on the 1 × 1 × 1 cm3 grid. Computation performance based on 0.5 × 0.5 × 0.5 cm3 is not given in this study, due to that the grid generation time will be more than 1700 h, and the grid search location time will be more than 10 s, which is usually not acceptable for a real time source location. A 1 × 1 × 1cm3 grid is selected for circular hole-contained 3D cuboid. It should be mentioned that the grid dataset generation and grid search can be calculated in parallel, while for a laptop the above-selected grids are suggested.

Table 1 Computation performance based on different grid sizes

Step 2: analytical solution for the shortest P-wave travel distance Lmin.

The analytical solution method proposed in Sect. 2.1 is used to calculate the P-wave travel distance from each grid to each sensor, and travel time datasets are generated for 2D circle-contained rectangle, 3D full circular hole-contained cuboid, and 3D part circular hole-contained cuboid, avoiding the repetitive calculation of travel time in each location.

Step3: AE/MS source location method for circular hole-contained structure.

The analytical solution is used as the input of the AE/MS source location. The AIC picking method and manual correction are then used to determine a good P-wave arrival time, and an example is shown in Sect. 4.2. The relatively PATSEs are obtained from location pre-measured PLB events.

Set the AE/MS occurrence time, picked P-wave arrival time, PATSE, and P-wave velocity as t0, ti, Ti, and vp, respectively. Then, the relationship between P-wave travel time and travel distance can be established as:

$$L_{\min } = v_{p} (t_{i} - t_{0} - T_{i} ).$$
(20)

There are two unknown variables (\(t_{0}\) and \(T_{i}\)) in Eq. (20). The \(t_{0}\) can be eliminated by subtracting the Eq. (20) corresponding to the first sensor from the ith sensor, and it can also obtain the relative PATSE (\(\Delta T_{{i_{1} }} = T_{i} - T_{1} = t_{i} - t_{1} - (L_{{\min ^{i} }}^{\prime} - L_{{\min ^{1} }}^{\prime} )/v_{p}\)) of the ith sensor. Therefore, the L1 norm time difference-based location objective function considering the PATSEs for circular hole-contained structures can be written as:

$${\text{Minimize }}TFE = \sum\limits_{i = 1}^{n} {\left| {t_{i} - t_{1} - \Delta T_{i1} - \frac{{L_{\min }^{i} }}{{v_{p} }} + \frac{{L_{\min }^{1} }}{{v_{p} }}} \right|} .$$
(21)

When locating an AE/MS event, a \(TFE\) can be obtained for each grid, and the grid with a minimum \(TFE\) value is taken as the source location result.

3 Synthetic Tests

To verify the effectiveness of the AE/MS location method proposed in Sect. 2, a circle-contained 2D rectangle (30 × 20 cm2), a full circular hole-contained 3D cuboid (30 × 10 × 20 cm3), and a part circular hole-contained 3D cuboid (30 × 10 × 20 cm3) were selected to carry out the synthetic tests (Fig. 5b–d). The measured P-wave velocity 0.6 cm/us is adopted. The sensor locations are listed in Table 2. The circular hole (r = 2.5 cm) is set in the structure centers. The hole length of the part circular hole-contained 3D cuboid is 5 cm.

Fig. 5
figure 5

Shortest P-wave travel paths from the sources to sensors. a Shortest P-wave travel paths obtained by the Dijkstra algorithm. bd Shortest P-wave paths obtained by the proposed analytical solution for the circle-contained 2D rectangle, the full circular hole-contained 3D cuboid, and the part circular hole-contained 3D cuboid, respectively. The remaining description is the same as in Fig. 1

Table 2 Sensor locations on the circular hole-contained structures

3.1 Computation Example of the Shortest Path

The source locations coordinates (11, 9) cm, (8, 2, 8) cm, and (10, 6, 10) cm are selected for the circle-contained 2D rectangle, the full circular hole-contained 3D cuboid, and the part circular hole-contained 3D cuboid, respectively. The analytical solution-based shortest P-wave travel paths are shown in Fig. 5b–d. The Dijkstra algorithm-based shortest P-wave travel paths of the circle-contained 2D rectangle (Fig. 5a) are also offered for comparison. It should be noted that the Dijkstra algorithm has an extremely poor optimal P-wave travel path for 3D structures, which is not shown here. The analytical solution-based shortest P-wave travel path usually has fewer turning points than the Dijkstra algorithm (Fig. 5a, b). The P-wave signal travels along the circular arc when the connection line intersects the circular hole (Fig. 5b, c and d), which demonstrates the superiority of the proposed analytical solution in finding the shortest P-wave travel path.

3.2 Synthetic Tests for the Circle-Contained 2D Rectangle

First, the theoretical P-wave travel time dataset was generated by the proposed method in Sect. 2.1.1. Since the recorded P-wave arrival data may contain errors due to background noise, Gaussian noise with a mean value of 0 and standard deviations of 1 us and 2 us were added to the theoretical P-wave travel time dataset. The grid search algorithm-based location results for the circle-contained 2D structure are shown in Fig. 6. There is a small time fitting error (TFE) near the source, and the location errors are 0 cm, 0.5 cm, and 1.8 cm for the noise-free, 1us Gaussian noise, and 2us Gaussian noise cases, respectively (Table 3). Moreover, location results based on the P-wave travel path of the Dijkstra algorithm (Fig. 7) are selected for comparison. It is clear that the new method has a smaller time fitting error (TFE) than that of the Dijkstra method. Moreover, the TFE log statistics in the zone 3.5 cm ≤ X ≤ 12.5 cm and 10 cm ≤ Z ≤ 20 cm near the true source location are listed in Table 4. It can be seen that the Dijkstra method may have a smaller variance and standard variance than the proposed method, which means that the Dijkstra method has a more stable TFE. On the other hand, the mean and median value of the proposed method is smaller than that of the Dijkstra method, which means the proposed method obtained better time fitness. The location errors based on the Dijkstra algorithm are 0.5 cm, 1.0 cm, and 1.8 cm for the noise-free, 1us Gaussian noise, and 2us Gaussian noise cases, respectively, which indicate that the proposed method obtains a good P-wave travel path.

Fig. 6
figure 6

Analytical solution-based synthetic location results for the circle-contained 2D structure. ac Location results for noise-free, 1us Gaussian noises, and 2us Gaussian noises cases, respectively. The green and red five-pointed stars are the synthetic event location and location result, respectively (Color figure online)

Table 3 Location results of the synthetic events in circular hole-contained structures
Fig. 7
figure 7

Dijkstra algorithm-based synthetic location results for the circle-contained 2D structure. The remaining description is the same as in Fig. 6

Table 4 TFE log statistics in the zone 3.5 cm ≤ X ≤ 12.5 cm and 10 cm ≤ Z ≤ 20 cm

It can be seen that the location accuracy will decrease with the increase of random noise. For an AE/MS source location, we tried to minimize the difference between theoretical data and observed data, and better theoretical data usually corresponds to better location results. Here, the theoretical data correspond to the data generated by the new method and Dijkstra method. The results shown in Fig. 5 demonstrate that the new method can generate a better P-wave travel time dataset than that of the Dijkstra method. Therefore, as the noise increases, the new method will still be better than the Dijkstra method. For large noises, both the new method and Dijkstra method will fail in the source location. It should be mentioned that better theoretical data may obtain a worse result, due to the effects of observed data noise and the inversion method.

3.3 Synthetic Tests for the Circular Hole-Contained 3D Cuboid

The analytical solutions proposed in Sects. 2.1.2 and 2.1.3 are used to generate theoretical P-wave travel time for the full circular hole-contained 3D cuboid and part circular hole-contained 3D cuboid. The proposed location method in Sect. 2.2 is adopted to obtain Fig. 8 for the full circular hole-contained 3D cuboid. The small TFE areas concentrate around the synthetic event, and the location errors are less than 2 cm even when 2 us Gaussian noises were included. Following the same approach, the Dijkstra algorithm-based location results are shown in Fig. 9 for comparison. The Dijkstra algorithm-based TFE is much larger than that of our proposed method. It appears that Dijkstra algorithm-based TFE has a random distribution, and its location errors are all larger than 2 cm.

Fig. 8
figure 8

Analytical solution-based synthetic location results for the full circular hole-contained 3D cuboid. The remaining description is the same as in Fig. 6

Fig. 9
figure 9

Dijkstra algorithm-based synthetic location results for the full circular hole-contained 3D cuboid. The remaining description is the same as in Fig. 6

Location results of the analytical solution method and Dijkstra algorithm for the part circular hole-contained 3D cuboid are shown in Figs. 10 and 11, respectively. There is a TFE focusing area for the analytical solution method. However, the TFE is a bit larger than that of Fig. 8, which may be caused by sensor number reduction. For the 2us Gaussian noise, the analytical solution-based location error is 2.2 cm, while the Dijkstra algorithm-based location error reaches 12.5 cm. Moreover, the Dijkstra algorithm-based location has poor time fitting. In sum, the proposed location method has a good location accuracy and stability for circular hole-contained structures.

Fig. 10
figure 10

Analytical solution-based synthetic location results for the part circular hole-contained 3D cuboid. The remaining description is the same as in Fig. 6

Fig. 11
figure 11

Dijkstra algorithm-based synthetic location results for the part circular hole-contained 3D cuboid. The remaining description is the same as in Fig. 6

4 Experiment Tests

4.1 Experimental Setup

To further verify the location performance of the proposed method, three pieces of granite specimens (Fig. 12b–d) with the same size as those shown in Fig. 5 are used to conduct the PLB experiments, and the experiment was conducted using a DS5-8A acoustic emission monitoring device (Fig. 12a). The measured P-wave velocity is 6000 m/s, and the sensor layout for the circle-contained 2D rectangle, full circular hole-contained 3D cuboid, and part circular hole-contained 3D cuboid are shown in Fig. 12b–d, respectively. The sensor locations are the same as in Table 2, and all the sensors have a sampling frequency of 3 MHz. The AE pre-amplifiers are all set to 40 dB. The surfaces of these three granite specimens were divided into 1 × 1 cm2 grids for PLB tests.

Fig. 12
figure 12

AE experiment equipment and sensor layout. a AE monitoring system. bd Sensor layout for the circle-contained 2D rectangle, the full circular hole-contained 3D cuboid, and the part circular hole-contained 3D cuboid, respectively

4.2 Experiment Data Processing

PLB events were conducted at the grid intersection points. However, there are no PLB events for some grid intersection points due to the sensor layout, sensor sensitivity and signal energy. It should be mentioned that the PLB events with less than seven sensors are not considered in the location. The monitored typical PLB signals and calculated AIC time series are shown in Fig. 13, where the AIC time series is based on the Sleeman and van Eck (1999). The AIC picking corresponds to the point with the minimum AIC value. The AIC method can usually obtain a good P-wave arrival picking. However, it can be affected by noise and signal tails. In this case, manual picking will be used to correct the P-wave arrival picking. Furthermore, 30 PLB events were used to obtain a series of relatively PATSEs ∆Ti1, and the median value is taken as the ∆Ti1 of the ith sensor. Then, the source location can be conducted using Eq. (21).

Fig. 13
figure 13

PLB event waveforms and P-wave arrival picking results. The green and red curves correspond to the waveforms and the AIC time series, respectively. The number indicated by an arrow shows the AIC picking result. The # in the upper left corner indicates the sensor ID (Color figure online)

5 Results and Discussion

5.1 Location Results of Typical PLB Events

Typical PLB event locations (10, 8), (8, 0, 12), and (10, 0, 10) cm were selected for further testing of the circle-contained 2D rectangle, the full circular hole-contained 3D cuboid, and the part circular hole-contained 3D cuboid, respectively. The location results are shown in Fig. 14 and Table 5. It is easy to see that the analytical solution-based location method obtains good TFE convergence for the PLB events, and the location errors of these three PLB events are 1.0 cm, 2.2 cm, and 3.6 cm, respectively. By contrast, the location errors of the Dijkstra algorithm are 1.1 cm, 4.3 cm, and 18.2 cm, respectively. This also demonstrates that the proposed method is better than the Dijkstra algorithm in finding the shortest P-wave travel path.

Fig. 14
figure 14

Location results of three typical PLB events. ac Location results of the circle-contained 2D structure, the full circular hole-contained 3D cuboid, and the part circular hole-contained 3D cuboid, respectively. The remaining description is the same as in Fig. 6

Table 5 Location results of three typical PLB events

5.2 PLB Event Application

The proposed method has been applied to locate all the PLB events, and the location results are shown in Figs. 15, 16, 17 for the circle-contained 2D structure, the full circular hole-contained 3D cuboid, and the part circular hole-contained 3D cuboid, respectively. The line connects the PLB event and its location result: the longer the connection line, the larger the location error. The proposed method obtains good location results for all the circular hole-contained structures: the average location errors of these three specimens are 0.57 cm, 1.87 cm, and 2.25 cm, respectively. The location errors may come from P-wave arrival error. Then, Liu et al. (2022) showed that the PATSEs might be a time-dependent parameter. Thus a constant PATSE value will reduce the location accuracy.

Fig. 15
figure 15

PLB event location results for the circle-contained 2D structure. a, b Location results using the analytical solution- and the Dijkstra algorithm-based location methods, respectively. The data of b come from Zheng et al. (2022). The blue triangles and the red five-pointed stars represent sensor and PLB event locations, respectively. The dots are the location results, the dot color represents its location error, and the line connects the PLB event and its location result

Fig. 16
figure 16

PLB event location results for the full circular hole-contained 3D cuboid. ac Location results of PLB events on the cuboid’s front, back, and top surfaces, respectively. The remaining description is the same as in Fig. 15

Fig. 17
figure 17

PLB event location results for the part circular hole-contained 3D cuboid. The remaining description is the same as in Fig. 16

Furthermore, the location errors of the analytical solution, straight line, Dijkstra and A* algorithms-based location methods are shown in Fig. 18. It can be seen that the proposed location method obtains a smallest average location error for these three circular hole-contained structures. For the circle-contained 2D structure, all the four methods obtain good location results. This is because the Dijkstra and A* algorithms have a good shortest P-wave travel path search performance with simple structures. For 3D structures, the analytical solution-based location results are much better than those based on the Dijkstra algorithm. The Dijkstra algorithm-based location results show a random distribution compared with cuboid size, which indicates that Dijkstra algorithm has a limited shortest path search ability for complex structures. The A* algorithm has a relatively good search ability for complex structures, an example is shown in Fig. S2. However, it may still obtain an optimal local path, and its grid search procedure may generate a small deviation between the search path and the actual shortest path, which reduces the location accuracy. It should be mentioned that the straight based location method obtains a good location accuracy, which is a result that the circular hole is small in this study.

Fig. 18
figure 18

Location errors of all the PLB events. The number 1, 2, 3, and 4 in each boxplot group correspond to the location errors of the analytical solution, straight line, Dijkstra and A* algorithm-based location methods, respectively

5.3 Potential Studies

The above results demonstrate the effectiveness of the analytical solution-based P-wave shortest path for circular hole-contained structures. Moreover, the analytical solution-based P-wave travel time can be combined with various inversion methods (e.g., Newton iteration and Bayesian inversion (Shang and Tkalčić 2020)) to solve the source location objective function. The traditional pipeline location methods ignore the thickness of the pipelines (Dehghan Niri et al. 2015), which will increase the location error, especially for pipelines with a small circular diameter. By contrast, the proposed solution can consider the pipeline thickness, and it will improve the AE location accuracy of a pipeline structure. To date, many grid search-based algorithms have been applied to find the shortest P-wave travel path, such as the Dijkstra and A*. However, these methods may obtain optimal local paths (e.g., Fig. 8 in (Dong et al. 2020)). In this study, the rock specimens are treated as a homogenous material, however, there are many joints in an engineering scale and resulting in velocity differences in different directions. For example, the P-wave velocity in an engineering tunnel shows a strong heterogeneity (Wang et al. 2018). The homogeneous velocity model (e.g., Li et al. 2016) is still the most frequently used one, where treating the velocity model as a constant variable (e.g., Dong et al. 2019) is a special case. Results show that the homogeneous velocity model can obtain an acceptable location error (average location error is about 40 m). To handle this, some researchers used 1D velocity model (e.g., Feng et al. 2015b) and 3D velocity model (e.g., Wang et al. 2020) for MS source location, which improved the location result (average location error is about 20 m). A more accurate location result can consider a higher resolution 3D velocity model and signal attenuation. Moreover, the proposed method cannot be applied to projects with complex and diverse sections at this stage. The analytical solution for a project that has a cuboid or arched section may be derived by following similar steps. However, for a project that has a diverse section, searching algorithms (e.g., Dijkstra and A* algorithms) may be adopted. In addition, For an engineering project (e.g., a mine) with the hole much smaller than the project, the influence of the hole on the wave arrival time will be relatively small, which may be negligible. While for a mining tunnel, pipelines, and pressure vessels, the hole will have a relatively large influence on the wave arrival time. In this study, we focused on the later research background.

6 Conclusions

The commonly used straight line, Dijkstra, and A* search algorithms are challenging to locate AE/MS events for circular hole-contained structures. To handle this, an analytical solution of the shortest P-wave travel path and a double difference and PATSE combined location objective function were proposed in this study. Then, comprehensive synthetic tests and PLB application tests were conducted to verify the proposed method. The main conclusions are given as follows:

  1. (1)

    An analytical solution of the shortest P-wave travel path has been derived for the circle-contained 2D structure, the full circular hole-contained 3D cuboid, and the part circular hole-contained 3D cuboid, which can ensure an accurate P-wave travel time for circular hole-contained structures.

  2. (2)

    An accurate P-wave travel time dataset is generated by the proposed analytical solution method. Then a time difference and PATSE combined source location objective function is established. The analytical solution-based location method has a good time fitting error convergence for the synthetic tests and the PLB events: the average location errors of the PLB events are 0.57 cm, 1.87 cm, and 2.25 cm for the circle-contained 2D structure, the full circular hole-contained 3D cuboid, and the part circular hole-contained 3D cuboid, respectively.

  3. (3)

    For the circular hole-contained 3D structure, the location results of the analytical solution-based location method are much better than those based on the Dijkstra algorithm. The analytical solution can effectively overcome the problem of the search algorithm obtaining a locally optimal P-wave path. Furthermore, unlike the Dijkstra and A* search algorithms, there will be no gridding error with the analytical solution method.