Abstract
In a tunnel personnel positioning system, the average positioning error is typically used to reflect the precision and accuracy of the positioning algorithm. However, in practical applications, the error areal distribution is generally non-uniform. The positioning errors of some areas are greater than the average positioning errors, which lead to a low positioning accuracy. In this study, based on the simulation of the positioning error areal distributions of the quadrilateral centroid localization and maximum likelihood estimation algorithms, the causes for large positioning errors in upper and lower edges and four corners were analyzed. In addition, a combined localization algorithm based on error areal division was proposed to improve the average positioning accuracy. Thus, the quadrilateral centroid localization algorithm was used for the middle section of the tunnel personnel location area, the maximum likelihood estimation algorithm was used for the upper and lower edges, and the centroid algorithm was used for the four corners. The simulation results show that the average positioning errors of the combined localization algorithm were reduced by 5.56% and 44.76% when compared with those of the quadrilateral centroid localization and maximum likelihood estimation algorithms, respectively, while the maximum positioning error was reduced by 46.45% and 42.81%, respectively.
Keywords
Introduction
With the development of tunnel engineering in China, indoor positioning technology has become widely used in tunnel engineering. In tunnels, the construction environment is poor, 1 the reference node layout is irregular, and the positioning signal attenuation is large, which lead to an uneven error in areal distribution in the tunnel personnel positioning system, where the positioning errors of some edge areas are greater than the average positioning errors. Therefore, it is necessary to find a method to reduce the maximum positioning error of some edge areas. In this study, the positioning error distribution characteristics of common algorithms were studied, the cause of large positioning error was analyzed in some edge areas based on the simulation results, and a combined localization positioning algorithm for tunnel personnel based on error areal division is proposed. The purpose was to improve the positioning accuracy and safety of tunnel personnel during construction.
The most commonly used wireless tunnels positioning technologies in tunnels include ZigBee technology, chirp spread spectrum (CSS) technology, and ultra-wideband (UWB) technology. ZigBee can achieve real-time positioning of tunnel personnel, which requires a large number of reference nodes.2,3 UWB technology has strong anti-interference and high ranging accuracy; however, it has low transmission effective distance and high cost.4,5 Compared with the above methods, CSS technology has a lower transmission power, longer transmission distance, and lower cost.6,7 Considering the feasibility of the technology, high-performance requirements, and cost of tunnel personnel positioning systems, CSS technology was selected for the proposed tunnel personnel positioning system. The most commonly used measurement technologies in tunnels include time of arrival (TOA), 8 time difference of arrival (TDOA), 9 angle of arrival (AOA), 10 and received signal strength indicator (RSSI). 11 TOA and TDOA require high-precision time synchronization between the reference nodes, and the hardware cost of the system is high. The AOA is greatly affected by the environment and antenna, such that the error is relatively large. The RSSI is based on the wave propagation loss model of the signal in free space, for which there is no need for time synchronization or an additional transmission module. This technology has low cost and high feasibility. Therefore, in this study, the RSSI positioning method was selected for the proposed tunnel personnel positioning system.
At present, the most commonly used tunnel personnel positioning algorithms include the centroid algorithm, maximum likelihood estimation algorithm, weighted centroid algorithm, trilateral measurement algorithm, quadrilateral measurement algorithm, trilateral centroid localization algorithm, and quadrilateral centroid localization algorithm. The characteristics, evaluation indices, and simulation environments of the above-mentioned algorithms are listed in Table 1. The centroid algorithm is often used in indoor positioning technologies. The cost of this algorithm is low, and the algorithm itself is simple; however, this algorithm is not suitable for a complex positioning environment. 32 The weighted centroid algorithm28–31 is based on the centroid algorithm with the addition of a weighted factor. Researchers have improved the positioning accuracy by continuously optimizing the weighted factor. The trilateral measurement algorithm21–23 is easily affected by the actual environment when measuring the distance between the reference node and the positioning node, which results in three circles being unable to intersect at one point. Based on the trilateral measurement algorithm, a group of reference nodes is added to the quadrilateral measurement algorithm19,20 to reduce the influence of closed areas; however, there is still a problem with four circles not intersecting at one point. The maximum likelihood estimation algorithm24–27 can solve this problem and improve the positioning accuracy. The trilateral and quadrilateral centroid localization algorithms12–18 locate the centroid through the intersections of three or four circles, respectively. In the early stage, the most widely used positioning algorithm is the trilateral measurement algorithm; however, the accuracy of the trilateration measurement algorithm is low. Among the improved localization algorithms proposed by researchers based on this algorithm, the quadrilateral centroid localization and maximum likelihood estimation algorithms are commonly used as they have higher positioning accuracy. Therefore, the quadrilateral centroid localization and maximum likelihood estimation algorithms were selected to simulate the areal distribution of the positioning error.
Common tunnel personnel location algorithm and simulation parameter analysis.
RSSI: received signal strength indicator; PA: positioning areal; NOUN: number of unknown nodes; EI: evaluation index.
In summary, researchers generally use optimized and improved measures of ranging and positioning algorithms to improve the overall areal positioning accuracy, as evaluated by the average positioning error. A rectangle was used as the simulation area, with a few simulation nodes. This method could not reflect the areal distribution characteristics of the positioning error as no research that used this method has been reported in the literature. The remainder of this article is organized as follows: the following solutions are proposed. Section “Algorithm and parameters” introduces the principles of two common algorithms and determines the simulation parameters combined with the particularity of a tunnel environment. Section “Simulation and distribution of the positioning error area” discusses the reasons for the large positioning error in some edge areas. Section “A combined algorithm for tunnel personnel localization based on error areal division” presents the proposed combined localization algorithm based on error areal division and the simulation in a tunnel environment. Conclusion is presented in section “Conclusion.”
Algorithm and parameters
Quadrilateral centroid localization algorithm
A quadrilateral centroid localization algorithm is proposed based on the characteristics of the trilateral measurement algorithm, centroid algorithm, and CSS technology. As shown in Figure 1, there are a positioning node (

A schematic diagram of the quadrilateral centroid localization algorithm.
Similarly, the coordinate values of
Maximum likelihood estimation algorithm
A schematic diagram of the maximum likelihood estimation algorithm33,34 is shown in Figure 2. Suppose there are reference nodes

Schematic diagram of the maximum likelihood estimation algorithm.
After transformation, the following equation can be obtained
Equation (4) can be expressed in the matrix form
Using the least squares method, the least squares solution can be obtained as
The ranging error K in a tunnel environment
The characteristics of wireless electromagnetic wave propagation in a tunnel environment conform to the indoor logarithmic distance path loss model described in Wu et al. 35 As shown in equation (9)
where
In actual environment, the measurement signal will be reflected, diffracted, and scattered, which will lead to the ranging error
Determination of the simulation parameters in the error area
At present, three one-way three lanes are widely used in motorway designs. Based on the code for the design of highway tunnels (JTG D70-2004), the tunnel excavation width was taken as the simulation environment width of the tunnel, which was set to 17 m. Owing to rough surface resulting from tunnel excavation, it is difficult to achieve an accurate rectangular layout for the reference node. Therefore, the positioning area was taken as an isosceles trapezoid in the simulation process. The simulation parameters are presented in Table 2. A large ranging error causes a large positioning error; thus, ranging errors of
Simulation parameters for the positioning error area distribution.
Simulation and distribution of the positioning error area
Based on the ranging error and simulation parameters in the tunnel environment, this study simulated the positioning error areal distribution of two types of tunnel personnel positioning algorithms (i.e. quadrilateral centroid localization and maximum likelihood estimation algorithms). The areal simulation characteristics of the two algorithms were obtained, which provided the basis for the error areal division in section “A combined algorithm for tunnel personnel localization based on error areal division.”
The positioning error
where (
Simulation of the distribution of the positioning error area using the quadrilateral centroid localization algorithm
Using the parameters listed in Table 2, the distribution of the positioning error area was simulated using the quadrilateral centroid localization algorithm with ranging errors of

Simulation of the distribution of the positioning error area using the quadrilateral centroid localization algorithm: (a)
Simulation of the distribution of the positioning error area using the maximum likelihood estimation algorithm
Using the simulation parameters listed in Table 2, the distribution of the positioning error area was simulated using the maximum likelihood estimation algorithm with ranging errors of

Simulation map for the distribution of the positioning error area using the maximum likelihood estimation algorithm: (a)
Analysis and discussion of the simulation results
A comparison of the positioning errors between the quadrilateral centroid localization algorithm and the maximum likelihood estimation algorithm is shown in Table 3. It can be seen that the average positioning error of the quadrilateral centroid localization algorithm is smaller than that of the maximum likelihood estimation algorithm; however, the maximum positioning error is greater than that of the maximum likelihood estimation algorithm. Therefore, the quadrilateral centroid localization algorithm was mainly used in the areal division, and the maximum likelihood estimation algorithm was used in areas with large errors.
Comparison of positioning errors in areal distribution between the two algorithms.
The following is an analysis for the causes of the large positioning error in areal distribution based on the quadrilateral centroid localization algorithm. Using the simulation parameters listed in Table 2, taking

Centroid area using the quadrilateral centroid localization algorithm: (a)
Figure 5 shows that with the same ranging errors, as the positioning node moves closer to the lower edge, the symmetry of the
Next, taking the top left corner as an example, the causes of the large positioning error in the four corners are analyzed. As shown in Figure 6, when

Centroid area using the quadrilateral centroid localization algorithm with positioning node located in the left vertex area.
The yellow area in Figure 6 represents the centroid area of the positioning node solved using the quadrilateral measurement centroid algorithm. The observations show that most of the estimated positions of this algorithm were outside the positioning area, which was inconsistent with the actual situation, and thus needs further improvement.
A combined algorithm for tunnel personnel localization based on error areal division
A combined localization algorithm is proposed based on error areal division according to the distribution characteristics of the error area shown in Figures 3 and 4, which was determined using the quadrilateral centroid localization, maximum likelihood estimation, and centroid algorithms. The specific strategies are as follows: the quadrilateral centroid localization algorithm was used for the middle area of the tunnel personnel positioning area, the maximum likelihood estimation algorithm was used for the upper and lower edges, and the centroid was used to replace the estimated locations of all the positioning nodes in the four corners.
The localization algorithm for the four corners
Based on the distribution of the positioning error area simulated using the quadrilateral centroid localization algorithm (Figure 3), the localization of the four corner areas is shown in Figure 7 (when

Schematic diagram of the four corner positioning areas.
The triangular areas of
Assuming the coordinates of nodes
The distances from the three nodes
In the area, the farthest node to the centroid
The maximum positioning error
According to equations (11)–(13), the maximum positioning error of area of
Through an analysis of the area of
The localization algorithm for the upper- and lower-edge areas
According to the distribution of the algorithm for the positioning error area with different ranging errors (as shown in Figures 3 and 4) to study how to divide the positioning error area reasonably. The middle area in Figure 3 is a concave polygon. Based on the concept of compatible triangulation,37,38 the constraint conditions can affect the presentation of the concave polygon image. To make the generated image sufficiently saturated, the middle area in the non-concave polygonal areas was divided when the grid was constructed for analysis and calculation. In this study, three line segments were selected to replace the upper- and lower-edge arcs, whereas the four corner areas were directly replaced by triangular areas. The quadrilateral centroid localization algorithm was used for the white area and the maximum likelihood estimation algorithm for the yellow area. The blue area used its centroid to represent the estimated location of all positioning nodes in the area. The middle area was divided into three parts (left, middle, and right) by two red dotted lines. This method not only avoids concave polygons but also gives full benefits of the quadrilateral centroid localization and maximum likelihood estimation algorithms.
All the parameters in the areal division of the combined localization algorithm were observed based on the distribution of the positioning error area (as shown in Figures 3 and 4), and the results of the division are shown in Figure 8.

Division of the upper and lower edges.
Simulation and distribution of the positioning error area of the combined localization algorithm
Using the simulation parameters in Table 2, the distribution of the positioning error area was simulated using the combined localization algorithm with ranging errors of

Simulation map for the distribution of the positioning error area based on the combined localization algorithm: (a)
It can be seen from Figure 9 and Table 3 that with ranging errors of
Conclusion
Applying the simulation parameters, an isosceles trapezoid simulation area with an irregular reference node layout and more than 90,000 unknown nodes was determined in a tunnel environment. The characteristics of the positioning error areal distribution were determined using the quadrilateral centroid localization and maximum likelihood estimation algorithms. The causes of the formation of large positioning errors were analyzed.
Based on the characteristics and analysis of the positioning error areal distribution of two common algorithms, a combined localization algorithm for tunnel personnel based on error area division is proposed.
The positioning area was divided into three parts: middle, upper, and lower edges, and four corners. The quadrilateral centroid localization algorithm was used for the middle area, the maximum likelihood estimation algorithm for the upper and lower edges, and the centroid algorithm for the four corners. The simulation results show that the average positioning errors of the combined localization algorithm were reduced by 5.56% and 44.76% compared with those of the quadrilateral centroid localization and maximum likelihood estimation algorithms, respectively, while the maximum positioning errors were reduced by 46.45% and 42.81%, respectively.
The results of this study can help improve the positioning accuracy of tunnel personnel positioning system and the rescue efficiency for tunnel personnel during dangerous accidents. The distribution and division of the positioning error area also provide a new reference for other indoor positioning fields.
Footnotes
Handling Editor: Peio Lopez Iturri
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by the Traffic Research Project of the Department of Transport of Shaanxi Province under Grant nos 17-55X, 18-33X, and 20-29K.
