Next Article in Journal
Deep Learning Beehive Monitoring System for Early Detection of the Varroa Mite
Next Article in Special Issue
Cross-Scene Sign Language Gesture Recognition Based on Frequency-Modulated Continuous Wave Radar
Previous Article in Journal
Saliency-Guided Local Full-Reference Image Quality Assessment
Previous Article in Special Issue
Activity Recognition Based on Millimeter-Wave Radar by Fusing Point Cloud and Range–Doppler Information
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Analysis and Verification of Unbiased Estimator for Multilateral Positioning

College of Communication Engineering, Jilin University, Changchun 130012, China
*
Authors to whom correspondence should be addressed.
Signals 2022, 3(3), 497-505; https://doi.org/10.3390/signals3030029
Submission received: 26 April 2022 / Revised: 22 June 2022 / Accepted: 1 July 2022 / Published: 12 July 2022
(This article belongs to the Special Issue Intelligent Wireless Sensing and Positioning)

Abstract

:
The ranging error model is generally very complicated in actual ranging technologies. This paper gives an analysis of the biased distance substitution and proposes an unbiased multilateral positioning method to revise the biased substitution, making it an unbiased estimate of the squared distance. An unbiased estimate of the multilateral positioning formula is derived to solve the target node coordinates. Through simulation experiments, it is proved that the algorithm can improve the positioning accuracy, and the improvement is more obvious when the error variance is larger. Experiments using SX1280 also show that the ranging conforms to the biased error model, and the accuracy can be improved by using the unbiased estimator. When the actual experimental error standard deviation is 0.16 m, the accuracy can be improved by 0.15 m.

1. Introduction

With the progress of society and the development of science and technology, positioning technology is influencing all aspects of people’s lives and has become an indispensable application for people [1]. The huge application value of positioning technology has attracted many researchers devoting themselves to it, and many mature technologies have been put into daily use, such as GPS (Global Positioning System) and UWB (Ultra-Wide Band) technology. As an emerging positioning technology, LoRa (Long Range Radio) also shows great research potential [2].
At the same time, in order to obtain more accurate positioning information, related positioning algorithms have also been proposed one after another. It is undeniable that the advantages and disadvantages of the positioning algorithm affect the positioning accuracy of the entire system, and different positioning algorithms are proposed according to the different measured data and the different coordinate calculation methods used. Depending on whether distances need to be measured, localization algorithms are divided into two categories: range-based and range-free [3].
For range-based positioning algorithms, a great challenge is to reduce the impact of ranging errors caused by equipment and the environment, so that the positioning result is closer to the target node. For the ranging error model that obeys unbiased estimation, there are many classical algorithms proposed to solve the position of the target node, such as the Chan algorithm [4] and the Taylor algorithm [5]. These algorithms establish positioning models with Euclidean distances between anchors whose coordinates are known and the target node whose coordinates are to be estimated, then an estimator of the target node’s coordinates can be derived expressed by those distances. Additionally, if the distances between anchors and the target node can be measured, or if travel time can be measured, these measurements could be substituted into the estimator to perform the calculation. However, when error inevitably exists in the measurements, merely substitution of distances with measurements may cause biased results. In particular, most of the existing localization methods are based on simple error model assumptions, which ignore the complexity of the actual error model, especially the fact that the square of the ranging value may be a biased estimator. If the squared value of ranging is involved in the solution process, it may lead to biased results.
In order to illustrate the problem of this biased distance estimator, this paper analyzes and derives a type of ranging error model, whose error variance increases as distances increase, and draws a conclusion: for those biased situations, localization accuracy can be improved if the variance of the ranging error model can be known. Theoretically, the method in this paper is suitable for a positioning algorithm that adopts the square value of the ranging, which can make further improvements of localization accuracy. This paper verifies the improving feasibility of a ranging error model through simulations and practical experiments. More importantly, it shows that the improvement of unbiased estimation of complex ranging error models can improve the positioning accuracy. Similar improvements to unbiased estimators for other ranging error models can also make similar improvements for localization accuracy.

2. Related Work

The trilateral localization algorithm is a basic algorithm [6] that has been studied and improved by many researchers. In the ideal trilateral positioning algorithm where there is no ranging error, there is a unique solution to the position of the target node.
Regarding the ranging error, an improved trilateral centroid localization algorithm was proposed in [7,8]. The fuzzy C-means clustering method was used to cluster the RSSI (Received Signal Strength Indicator) signals transmitted by anchors to target nodes to eliminate the noise of small probability and large interference. Aiming at the influence of distance deviation on the multilateral positioning algorithm, Ref. [9] proposed an improved multilateral positioning algorithm KC-Multilaterate, which introduced the K-means clustering method into the positioning problem of wireless sensor networks to make the positioning error smaller. On this basis, Ref. [10] proposed a weighted centroid localization algorithm based on K-means clustering point density (KCPD-WCLA). As a result, its computational complexity is significantly reduced and the positioning accuracy is significantly improved. Chen [11] uses the Fang algorithm to calculate the coordinates of target node, but the Fang algorithm can easily generate double solutions, which can result in the positioning accuracy being greatly reduced when there is a large measurement value error. Gustafsson [12] uses the nonlinear least squares algorithm to directly solve the nonlinear equation system, and uses a Gauss–Newton-like method to find the minimum value of the cost function. This positioning method is accurate but not stable enough. When the initial value is not suitable, the formula is prone to local convergence. Other studies [13,14,15,16,17] linearized the nonlinear equation system through using the Taylor series expansion, which reduced the computational complexity. However, the optimal solution could not be guaranteed, because the high-order terms were ignored in the linearization process and a suitable initial value is still needed to ensure convergence. Further studies [18,19,20,21,22] use the linear least squares algorithm to convert the nonlinear equation system into a linear equation system, and then solve the linear equation system through least squares algorithm, which can successfully solve the initial value problem. However, the positioning results will be greatly affected by the measurement error. Furthermore, Refs. [23,24] use the Chan algorithm to calculate the approximate coordinates of the target node. The algorithm adopts the weighted least squares algorithm, and assigns different weights to each equation in the equation system according to the ranging error, which improves the positioning accuracy. In the calculation process of all the above algorithms, the squares of the distances are directly substituted into the model for calculation. However, from a statistical point of view, it is not an unbiased estimator. In this context, we take multilateral positioning as an example and explore the impact of unbiased estimation for the positioning model and verify it using SX1280, showing that using unbiased estimator can improve the positioning accuracy, and when the error variance is larger, the improvement of the algorithm is more obvious.

3. Multilateral Positioning Model

For the multilateral positioning algorithm on a two-dimensional plane shown in Figure 1, the coordinates of anchor nodes are known as S 1 ( x 1 , y 1 ) ,   S 2 ( x 2 , y 2 ) …… S n ( x n , y n ) . Assuming that the coordinate of the target node is T ( x , y ) , the true distance between the target node and anchor node S i is d n , the following equation can be obtained:
{ ( x 1 x 0 ) 2 + ( y 1 y 0 ) 2 = d 1 2 ( x 2 x 0 ) 2 + ( y 2 y 0 ) 2 = d 2 2 ( x n x 0 ) 2 + ( y n y 0 ) 2 = d n 2
Equation (1) can be transformed to a linear one by subtracting the last equation from other equations, and after deformation, it can be expressed as a linear one:
A = B X
where the coefficient matrix A is:
A = [ 2 x 1 x n   2 ( y 1 y n ) 2 x 2 x n   2 ( y 2 y n ) 2 x n 1 x n   2 ( y n 1 y n ) ]
and B is:
B = [ x 1 2 x n 2 + y 1 2 y n 2 + d n 2 d 1 2 x 2 2 x n 2 + y 2 2 y n 2 + d n 2 d 2 2 x 1 2 x n 2 + y 1 2 y n 2 + d n 2 d n 1 2 ]
The estimated coordinate values of the target node can be calculated by least square method:
X = ( A T A ) 1 A T B
and if ranging technologies such as UWB or LoRa is utilized, the ranging information between the target node and anchor node can be obtained. Suppose the ranging distances are denoted as d ^ i , by substituting d i as d ^ i in Equation (5), we can get an estimator of the target node.

4. Unbiased Estimator of Multilateration Model

Equation (5) is a classical and simple estimator. However, in the actual positioning process, ranging errors are inevitable due to the influence of various environments. It is assumed that the mean square error of the ranging is
σ d ^ 2 = E [ ( d ^ i d i ) 2 ]
When the ranging error model satisfies   d ^ i = d i + e , the mean square error σ d ^ 2 is the variance of the environmental noise e and is not affected by the actual distance   d i . This type of error model satisfies the unbiased estimation, and can use the Chan algorithm, Taylor algorithm, etc. to solve the coordinates of the target node. In actual positioning, the error model is often more complicated. As an illustration, the variance of SX1280 meets [25]:
σ d ^ 2 = c · ( 1 16 · π 2 · S N R · N · B W 2 · 2 S F )
where N is the configurable number of CSS (Chirp Spread Spectrum) symbols used in the ranging data, BW (bandwidth) = 403 kHz, SF (Spreading Factor) and a Signal to Noise Ratio (SNR), which decreases with distance. It can be concluded that σ d ^ 2 will increase with the increase of d i . In order to illustrate the impact of unbiased estimators, the error model is simplified in this paper as a linear one, in which the relationship between the mean square error σ d ^ 2 and d i is constructed to satisfy:
d ^ i = d i ( 1 + e )
where the random distribution e follows the normal distribution ( 0 , σ 2 ) .
Therefore, E ( d ^ 2 i ) = E ( d i 2 ( 1 + e ) 2 ) can be obtained from Equation (8). Since the expectation of a random distribution is 0, we get
E ( d ^ i 2 ) = d i 2 E ( 1 + e 2 )
It can be seen that d ^ i 2 is not an unbiased estimator of d i 2 . If it is directly substituted into the multilateral positioning formula, the solution value will deviate from the target node. By deforming Equation (9), it can be found that d ^ i 2 1 + E ( e 2 ) is the unbiased estimate of d i 2 , namely:
d i 2 = d ^ i 2 1 + E ( e 2 )
Substitute this expression into Formula (2), where B is improved as:
B = [ x 1 2 x n 2 + y 1 2 y n 2 + d ^ n 2 1 + σ 2 d ^ 1 2 1 + σ 2 x 2 2 x n 2 + y 2 2 y n 2 + d ^ n 2 1 + σ 2 d ^ 2 2 1 + σ 2 x 1 2 x n 2 + y 1 2 y n 2 + d ^ n 2 1 + σ 2 d ^ n 1 2 1 + σ 2 ]
When the ranging error model obeys Equation (9), and the statistical variance value in the ranging error model is known, the squared value of ranging can be corrected by Equation (10) to obtain an unbiased estimate of the true distance. When the ranging information used by the positioning algorithm is the squared value of the ranging, such as d n 2 in (4), the corrected ranging value can be substituted into the formula to locate the target node, as shown in (11).

5. Experiments and Results

Both simulation and SX1280 based experiments are carried out to verify the effectiveness of our unbiased estimation. As for positioning error, the commonly used positioning accuracy evaluation indexes are the root mean square error and the error cumulative distribution function. Root mean square error (RMSE) refers to the sum of the square error between the measured value and the corresponding true value [26]:
RMSE = E [ ( x x ) 2 + ( y y ) 2 ]
Cumulative Distribution Function (CDF) can accurately represent the probability distribution of different random variables, and the cumulative distribution function curve can more clearly represent the positioning error of the positioning system. The cumulative distribution function is defined as follows:
F ( x ) = P   ( X x )

5.1. Simulation Experiment

Simulations were carried out in an area of 100 × 100 m. Three anchor nodes were placed at (100, 100), (0, 100) and (100, 0) respectively, and the target node was assumed to be at (50, 50). The ranging error model used was d ^ i = d i ( 1 + e ) , where e obeys a normal distribution with mean 0 and standard deviation σ meters. It can be seen from Figure 2 that as the variance in the error model increases, the positioning errors of the two algorithms will increase, but the positioning errors solved by the unbiased multilateral positioning method grow more slowly, that is, they are less susceptible to fluctuations in ranging errors. It can be concluded that, when compared with the multilateral positioning method, the unbiased multilateral positioning method can improve the positioning error, and the degree of improvement will increase with the increase of the variance in the ranging error model.
For the next experiment, the positions of the three anchor nodes remained unchanged, namely at (100, 100), (0, 100) and (100, 0) respectively, and the target node was set at (50, 50). The ranging error model was again d ^ i = d i ( 1 + e ) , where e obeys a normal distribution with mean 0 and a standard deviation of 1 m. The experiment was repeated 1000 times, enabling the creation of the scatter plot shown in Figure 3. The cumulative distribution function graph of the solutions can be shown in Figure 4.
It can be seen intuitively from the Figure 3 that by using the unbiased multilateral positioning method to locate the target node, the estimated coordinates are closer to target node, while the estimated coordinates of the multilateral positioning method are relatively divergent.
It can be seen from Figure 4 that 70% of the positioning errors of the unbiased multilateral positioning method are within 45 m and 80% are within 50 m of the target node, while 80% of the positioning errors of the multilateral positioning method are within 60 m. Compared with the multilateral positioning method, the unbiased multilateral positioning method shows an obvious improvement on the error.

5.2. Experimental Verification and Discussion

Experiments were also carried out to perform the verification based on SX1280 chip (LoRa 2.4G). A basketball court with an area of about 30 m × 40 m was selected as the actual test site, as shown in Figure 5. The anchors are at the four corners of the outdoor basketball court. Three anchors are placed at S 1 ( 0 , 0 ) , S 2 ( 28.2 , 0 )   and S 3 ( 28.2 , 34.8 ) respectively, and the target node is placed at T ( 24.2 , 15.2 ) .
It is known from the above that the SX1280 ranging error model approximately obeys the formula d ^ i = d i ( 1 + e ) , so the obtained data is processed: it is known that the actual distances from the target node to the three anchors are d 1 28.5 m, d 2 15.7 m, and d 3 20 m respectively. Therefore, the ranging data d ^ i is processed to obtain d i d ^ i d i , which is the e in the error model, and frequency statistics are performed to obtain a histogram, as shown in Figure 6.
As can be seen from Figure 6, the error data e is a random sequence with a mean of approximately 0 and a standard deviation of 0.16078 m. Once the standard deviation of the ranging error distribution is known, the unbiased estimator can be used for positioning optimization.
For the actual experimental data obtained, the position of the target node is estimated by the multilateral positioning method and the unbiased multilateral positioning method respectively. The root mean square error is used to evaluate the positioning accuracy of the two, and the results are shown in Table 1. The results show that unbiased multilateral positioning method can improve the accuracy of the positioning system.

6. Conclusions

In the study of existing positioning algorithms, a simple substitution of measured distances is often used in the estimation of the target node’s position. In actual positioning, the ranging error model is more complicated, and it is often related to the actual ranging distance, as the experiments using SX1280 exemplified in this paper. Since the squared value of distance measurement is not an unbiased estimator of the squared value of the actual distance, when using the traditional multilateral positioning algorithm to solve the target node, directly substituting the distance measurement data often deviates from reality. Based on this, this paper adds the correction of the squared value of biased ranging to the existing positioning algorithm, making it an unbiased estimator. Both theoretical simulation experiments and actual experiments using SX1280 show that using an unbiased estimator can improve the positioning accuracy. It can also be concluded from the theoretical data that the improvement of the algorithm is more obvious when the error variance is larger. Theoretically, the method in this paper is suitable for the positioning algorithm involving the square value of the ranging, which is a further improvement of the accuracy of the existing algorithm.

Author Contributions

Writing—original draft preparation, Y.Y., S.S., A.C., S.Y., Y.S. and D.S.; writing—review and editing, Z.L. and D.S. All authors have read and agreed to the published version of the manuscript.

Funding

Science and Technology Development Program of Jilin Province: 20200401089GX.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zhao, J.; Li, Y.; Yue, Q.; He, N. Application and prospect analysis of wireless sensor network technology. Jiangsu Sci. Technol. Inf. 2019, 35, 51–53. [Google Scholar]
  2. Liu, Y.; Wu, S.; Chen, S.; Xiao, Y. Research on low-power long-distance positioning based on LoRa. Inf. Technol. 2019, 43, 5. [Google Scholar]
  3. Tian, X.; Wei, G.; Wang, G. Comprehensive Wireless Sensor Network Positioning. Inf. Control. 2022, 51, 69–87. [Google Scholar]
  4. Chan, Y.T.; Ho, K.C. A simple and efficient estimator for hyperbolic location. IEEE Trans. Signal Processing 1994, 42, 1905–1915. [Google Scholar] [CrossRef] [Green Version]
  5. Foy, W.H. Position-location solutions by Taylor-series estimation. IEEE Trans. Aerosp. Electron. Syst. 1976, 12, 187–194. [Google Scholar] [CrossRef]
  6. Shuo, S.; Sun, H.; Song, Y. Design of an experimental indoor position system based on RSSI. In Proceedings of the 2010 2nd International Conference on Information Science and Engineering, Hangzhou, China, 4–6 December 2010; pp. 1989–1992. [Google Scholar]
  7. Li, H.; Yu, D.; Hu, Y.; Yu, H. An improved trilateral centroid localization algorithm for wireless sensor networks. Small Microcomput. Syst. 2020, 41, 8. [Google Scholar]
  8. Gang, W.; Lin, L. An Improved Trilateral Localization Algorithm Based on Fuzzy C-means Clustering. In Proceedings of the 2021 5th International Conference on Electronic Information Technology and Computer Engineering, Xiamen, China, 22–24 October 2021; pp. 1013–1017. [Google Scholar]
  9. Sun, D.; Qian, Z.; Han, M.; Wang, X. Improved algorithm for cluster analysis of multilateral positioning in wireless sensor networks. Chin. J. Electron. 2014, 42, 147–153. [Google Scholar]
  10. Zhang, Y.; Zhou, L.; Tang, R.; Min, Y. WSNs weighted centroid localization algorithm based on K-means clustering point density. Sens. Microsyst. 2015, 34, 125–127,131. [Google Scholar]
  11. Chen, S. TDOA indoor location technology based on Fang algorithm. J. Terahertz Sci. Electron. Inf. Technol. 2017, 15, 753–754. [Google Scholar]
  12. Gustafsson, F. Mobile positioning using wireless networks: Possibilities and fundamental limitationsbased on available wireless network measurements. IEEE Signal Processing Mag. 2005, 22, 41–53. [Google Scholar] [CrossRef]
  13. Zhang, W.; Ma, H.; Wu, T.; Li, G. A Location Algorithm of Ground Interference Sources Using Satellites FDOA Meas- urements Based on Taylor Series Expansion. J. Radio Commun. Technol. 2019, 45, 385–390. [Google Scholar]
  14. Zhang, H.; Shi, X.; Deng, G.; Gao, X.J.; Ren, M.R. Research on indoor location technology based on back propagation neural network and taylor series. Acta Electron. Sin. 2012, 40, 1876–1879. [Google Scholar]
  15. Qi, X.; Yuan, L.; Liu, L. Hybrid location algorithm for the acoustic source based on error correction. J. Xidian Univ. 2019, 46, 1–7. [Google Scholar]
  16. Stefanski, J.; Sadowski, J. TDOA versus ATDOA for wide area multilateration system. EURASIP J. Wirel. Commun. Netw. 2018, 2018, 179. [Google Scholar] [CrossRef] [Green Version]
  17. Zhang, B. Taylor—Series expansion location algorithm based on RBF neural network. Comput. Eng. Appl. 2006, 45, 245–248. [Google Scholar]
  18. Cui, X.; Yu, K.; Lu, S. Approximate closed—Form TDOA—Based estimator for acoustic direction finding via constrained optimization. IEEE Sens. J. 2018, 18, 3360–3371. [Google Scholar] [CrossRef]
  19. Guvenc, I.; Gezici, S.; Sahinoglu, Z. Fundamental limits and improved algorithms for linear least—Squares wireless position estimation. Wirel. Commun. Mob. Comput. 2012, 12, 1037–1052. [Google Scholar] [CrossRef]
  20. Hou, H.; Huang, D.S.; Guo, S.J.; Cheng, M. Research on Total Least Squares Underwater Short Baseline Location Algorithm Based on Taylor Series Expansion. Audio Eng. 2020, 44, 24–27. [Google Scholar]
  21. Jiang, L.; Xu, H.; Zhang, L.; Xiong, S. 3D Localization Algorithm Based on Linear Regression and Least Square in NLOS Environment. J. Hunan Univ. Technol. 2019, 33, 23–28. [Google Scholar]
  22. Kumar, V.; Arablouei, R.; De Hoog, F.; Jurdak, R.; Kusy, B.; Bergmann, N.W. Pseudo—Linear localization using perturbed RSSI measurements and inaccurate anchor positions. Pervasive Mob. Comput. 2019, 52, 46–59. [Google Scholar] [CrossRef]
  23. Paula, T.; Bernardos, A.M.; Casar, J.R. Weighted least squares techniques for improved received signal strength based localization. Sensors 2011, 11, 8569–8592. [Google Scholar]
  24. Dong, C.; Zhou, L. Commodity car location method based on RFID and improved Chan algorithm. Comput. Technol. Dev. 2019, 11, 195–198. [Google Scholar] [CrossRef]
  25. Muller, P.; Stoll, H.; Sarperi, L.; Schupbach, C. Outdoor Ranging and Positioning based on LoRa Modulation. In Proceedings of the 2021 International Conference on Localization and GNSS (ICL-GNSS), Tampere, Finland, 1–3 June 2021. [Google Scholar]
  26. Jiang, X. Low-Power Positioning Scheme Based on LoRa Technology. Master’s Thesis, University of Electronic Science and Technology of China, Chengdu, China, 2019. [Google Scholar]
Figure 1. Principle of two-dimensional plane multilateral positioning.
Figure 1. Principle of two-dimensional plane multilateral positioning.
Signals 03 00029 g001
Figure 2. Comparison of root mean square error between multilateral positioning method and unbiased multilateral positioning method.
Figure 2. Comparison of root mean square error between multilateral positioning method and unbiased multilateral positioning method.
Signals 03 00029 g002
Figure 3. Two algorithm positioning scatter plots.
Figure 3. Two algorithm positioning scatter plots.
Signals 03 00029 g003
Figure 4. CDF (Cumulative Distribution Function) graph of two algorithms.
Figure 4. CDF (Cumulative Distribution Function) graph of two algorithms.
Signals 03 00029 g004
Figure 5. The basketball court environment.
Figure 5. The basketball court environment.
Signals 03 00029 g005
Figure 6. Histogram distribution of ranging error data d i d ^ i d i .
Figure 6. Histogram distribution of ranging error data d i d ^ i d i .
Signals 03 00029 g006
Table 1. Location error data under two algorithms.
Table 1. Location error data under two algorithms.
RMSE of Multilateral Positioning MethodRMSE of Unbiased Multilateral Positioning Method
6.109045.95985
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Yang, Y.; Sun, S.; Chen, A.; You, S.; Shen, Y.; Li, Z.; Sun, D. The Analysis and Verification of Unbiased Estimator for Multilateral Positioning. Signals 2022, 3, 497-505. https://doi.org/10.3390/signals3030029

AMA Style

Yang Y, Sun S, Chen A, You S, Shen Y, Li Z, Sun D. The Analysis and Verification of Unbiased Estimator for Multilateral Positioning. Signals. 2022; 3(3):497-505. https://doi.org/10.3390/signals3030029

Chicago/Turabian Style

Yang, Yang, Shihao Sun, Ao Chen, Siyang You, Yuqi Shen, Zhijun Li, and Dayang Sun. 2022. "The Analysis and Verification of Unbiased Estimator for Multilateral Positioning" Signals 3, no. 3: 497-505. https://doi.org/10.3390/signals3030029

Article Metrics

Back to TopTop