ISRN Applied Mathematics

Volume 2012, Article ID 710979, 10 pages

http://dx.doi.org/10.5402/2012/710979

## Geometric Location Based on TDOA for Wireless Sensor Networks

Key Libratory of Universal Wireless Network, School of Information and Communication Engineering, Beijing University of Posts and Telecommunications, Beijing 100876, China

Received 24 August 2011; Accepted 10 October 2011

Academic Editors: Y.-D. Kwon and V. Plagianakos

Copyright © 2012 Xin-long Luo et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

Wireless sensor networks (WSNs) consist of a large number of low-cost miniature sensors, which can be applied to battlefield surveillance, environmental monitoring, target tracking, and other applications related to the positions of sensors. The location information of sensors is of great importance for wireless sensor networks. In this paper, we propose a new localization algorithm for the wireless sensor network based on time difference of arrival (TDOA), which is a typical algorithm in the wireless localization field. In order to improve the localization accuracy of a sensor, a new strategy is proposed for a localized sensor being upgraded to an anchor node, which is used to localize the position of the next sensor. Performance analysis and simulation results show that the revised TODA localization algorithm has the higher localization accuracy when compared with the original TDOA location method.

#### 1. Introduction

Wireless sensor networks (WSNs) are a technique which has a wide variety of applications, such as target tracking, battlefield surveillance, and environmental monitoring [1], and the position of the nodes is a crucial issue for that all the applications are based on the location information. GPS (global positioning system) is widely used today, and it could achieve the satisfied accuracy outdoors. However, it is relatively expensive when all the sensors are equipped with GPS receivers [2], and it is not working inside buildings. Therefore, many algorithms that do not rely on GPS are proposed to estimate the positions of the sensor nodes in the network in recent years [3–8].

The trilateral positioning [2] is commonly adopted for the sensor localization. Its main idea can be illustrated by Figure 1. Let , , and be coordinate vectors of the anchor nodes A, B, and C, respectively. The measurement distances from those anchors to the unknown sensor are denoted by , , and . Let be the coordinate vector of the unknown sensor, which needs to be determined. Then, from the Euclidean distance formula, we obtain When those three points A, B, C are not collinear, that is, the following matrix: is nonsingular, then, from solving (1.1), we obtain the estimation position of the unknown sensor for :

The basic assumption for the trilateral positioning method (1.1) is that the measurement distances from anchors to the unknown sensor do not have errors. However, this assumption is almost impossible in practice. Furthermore, when the matrix (1.2) is ill-conditioned, the small measurement errors result in a large amplified error of the estimated position of the unknown sensors. Therefore, in order to improve the localization precision in the case of measurement errors, we consider the sensor network localization method based on the TDOA method [7, 8], of which localization precision is not so sensitive to measurement errors.

The localization method based on TDOA estimates the unknown sensor node by the given coordinates of anchors and time difference of arrival from those anchors to the unknown sensor , which can be illustrated by Figure 2.

The difference of the distances from the anchors and to the unknown sensor is denoted by where denotes the Euclidean norm, that is, denotes the Euclidean distance between and .

From (1.4), we obtain which gives All terms divide by in (1.6); then we obtain Let and in (1.7), then we get Let and in (1.8) and two sides of (1.7) subtract two sides of (1.8), then we obtain Therefore, via solving the linear system (1.9), we obtain the coordinate vector of the current undetermined sensor. When the number of anchors is greater than 4, the system (1.9) is overdetermined. In this case, from the linear least-squares method, we obtain the approximation solution by where

This paper is organized as follows. In the next section, we give a revised geometric localization algorithm based on TDOA for the sensor network. In Section 3, for typical sensor network localization model, we compare our revised localization algorithm with the original TDOA localization method (1.10). In Section 4, some discussions are also given.

#### 2. Revised Localization Algorithm Based on TDOA

It needs at least four anchors () to determine uniquely the position of a sensor by TDOA method. When there are not enough anchors for the unknown sensor, Savarese et al. [5] and Savvides et al. [6] proposed an iterative multilateral positioning method to handle this case. Its key point is that the localized sensor can be regarded as a new anchor to locate the next sensor. Evidently, this strategy could help locate more sensors when the anchors are sparse. And in this paper, we propose a revised strategy when a determined sensor is upgraded to an anchor node, that is, only the localized sensors with high precision can be upgraded to be anchor nodes, for it is obvious that the error propagates to the later sensor when the lower precision sensor is used to localize the later sensor node.

Since there are errors in the measurement distances and the propagating errors in the process of numerical computation, recalculating the positions of the determined sensors help to reduce the accumulated errors, which are used by generic localized algorithm [9], -hop multilateral primitive algorithm, and the two-phase positioning algorithm [10]. Here, we also borrow this refinement idea to improve the computing accuracy of the sensor position. In order to overcome the overhead and reduce the cost of refinement computation, we set the threshold of the number of the iteration refinement (the typical value is 3). Specifically, our revised geometric localization algorithm based on TDOA for sensor networks can be described as follows.

*Algorithm 2.1 (geometric localization method based on TDOA). *Firstly, search for at least four anchors around the current undetermined sensor node and use their distances with this sensor node and the TDOA method (1.10) to locate this unknown sensor node.

Secondly, use the geometric distance measurement error (GDME) to measure the localization accuracy. The GDME is defined as follows:
where is the measurement distance between the th unknown sensor and the th anchor around this sensor and is their distance computed according to the estimated coordinate of this sensor and the coordinate of the th anchor by Euclidean distance formula. When the GDME is smaller than the prescribed threshold, this current determined sensor node is upgraded to the anchor node, that is, the lower precision localization sensor is not involved in the later sensor localization. Update the anchor set and the unknown sensor set, and repeat this step, until every unknown sensor is scanned for localization one time.

Thirdly, for those lower precision sensors which are not upgraded to the anchor nodes, in this refinement stage, we use the coordinate information of determined sensors and anchors and their distances recalculate the coordinates of those lower precision sensors.

#### 3. Simulation Results

The simulation model is generated as follows. There are 60 points randomly generated in a one by one square area. Then, we choose the first 10% points as the anchor nodes and compute their all Euclidean distances . Only those distances which are less than the given radio rage RD are viewed as the given distances and the rest distances are looked as unknown. Add a multiplicative random noise to every given distance as the measurement distance: where is a given noise factor and is a standard Gaussian random variable function.

We use the positioning accuracy and the successful localization probability to evaluate the performance of an algorithm. The positioning accuracy is defined by GDME (2.1) or defined by root mean square deviation (RMSD) as follows: where is the real position of the th senor and is the estimated position by the localization algorithm. The successful localization probability is defined by where is the number of sensors and is the number of located sensors in the network.

In order to verify the performance of the revised geometric localization method based on (Algorithm 2.1), we compare it with the original TDOA method. Figure 3 is their localization results for the test model with the small measurement noise case. The blue diamond node refers to the position of an anchor, and the blue cross node refers to the original location of an unknown sensor. The red star node refers to the located sensor whose localization accuracy meets the localization requirement. The green circle node refers to the located sensor whose localization accuracy does not meet the localization requirement, and the black circle node refers to the sensor which cannot be determined by the localization algorithm. The discrepancy between the original position and the localized position of a sensor node is indicated by the solid line.

From Figure 3, we find that all unknown sensors are located by Algorithm 2.1 (the revised geometric localization method based on TDOA), and some sensors cannot be located and some located sensors have high errors for the original TDOA method.

In order to evaluate the performance of Algorithm 2.1, we test this algorithm for simulation model with large measurement distance noises, compared with the original TDOA. Figures 4 and 5 are the simulation results of Algorithm 2.1, and the original TDOA method with the RMSD and GDME criteria when the measurement distance error is 2%, respectively. Figures 6 and 7 are the relations of localization accuracy and the successful localization probability with the RMSD and GDME criteria when the measurement distance error is 2%, respectively.

From Figure 4 to Figure 7, we find that the successful localization probability of the algorithm is superior to which of the original TDOA localization method under the same localization accuracy.

For a real wireless sensor network, the measurement error is not avoided and the localization accuracy depends on the measurement error heavily. Therefore, we evaluate the performances of Algorithm 2.1 and the original TDOA method when the relative measurement errors vary from 2% to 20%. Their successful localization probabilities and the localization accuracy are put in Tables 1 and 2, respectively. The sensor is regarded as the successful localization if the localization error is less than the measurement error.

From Tables 1 and 2, we find that the algorithm is effective even if the relative measurement error attains to 20%, and it is superior to the original TDOA localization method according to the evaluation criteria of the successful localization probability and the localization accuracy.

#### 4. Conclusions

Our idea is to use the revised geometric localization method based on TDOA for the wireless sensor network with sparse anchors. For improving the localization accuracy, in the original TDOA localization method, we use the threshold to judge whether the determined sensor is upgraded an anchor node and the iterative refinement idea. Furthermore, for the typical simulation model of wireless sensor network localization problem, this revised strategy is effective, compared with the original TDOA localization method.

#### Acknowledgments

This work was supported in part by Grant 2009CB320401 from National Basic Research Program of China, Grant YBWL2011085 from Huawei Technologies Co., Ltd., and Grant BUPT2009RC0118 from the Fundamental Research Funds for the Central Universities.

#### References

- X. Cheng, A. Thaeler, G. Xue, and D. Chen, “TPS: a time-based positioning scheme for outdoor wireless sensor networks,” in
*23rd Annual Joint Conference of the IEEE Computer and Communications Societies (IEEE INFOCOM '04)*, pp. 2685–2696, March 2004. View at Scopus - E. Kaplan,
*Understanding GPS: Principles and Applications*, Artech House, Norwood, Mass, USA, 1996. - L. Doherty, K. S. J. Pister, and L. El Ghaoui, “Convex position estimation in wireless sensor networks,” in
*20th Annual Joint Conference of the IEEE Computer and Communications Societies*, pp. 1655–1663, April 2001. View at Scopus - Y. Shang, W. Ruml, Y. Zhang, and M. Fromherz, “Localization from connectivity in sensor networks,”
*IEEE Transactions on Parallel and Distributed Systems*, vol. 15, no. 11, pp. 961–974, 2004. View at Publisher · View at Google Scholar · View at Scopus - C. Savarese, J. Rabaey, and K. Langendoen, “Robust positioning algorithms for distributed ad-hoc wireless sensor networks,” in
*Proceedings of USENIX Annual Technical Conference*, pp. 317–327, 2002. - A. Savvides, C. C. Han, and M. B. Strivastava, “Dynamic fine-grained localization in ad-hoc networks of sensors,” in
*7th Annual International Conference on Mobile Computing and Networking*, pp. 166–179, July 2001. View at Scopus - B. Friedlander, “A passive localization algorithm and its accuracy analysis,”
*IEEE Journal of Oceanic Engineering*, vol. OE-12, no. 1, pp. 234–245, 1987. View at Google Scholar · View at Scopus - K. C. Ho and Y. T. Chan, “Solution and performance analysis of geolocation by TDOA,”
*IEEE Transactions on Aerospace and Electronic Systems*, vol. 29, no. 4, pp. 1311–1322, 1993. View at Publisher · View at Google Scholar · View at Scopus - J. Zariffa and M. R. Popovic, “Localization of active pathways in peripheral nerves: a simulation study,”
*IEEE Transactions on Neural Systems and Rehabilitation Engineering*, vol. 17, no. 1, pp. 53–62, 2009. View at Publisher · View at Google Scholar · View at Scopus - F. Sawo, T. C. Henderson, C. Sikorski, and U. D. Hanebbeck, “Sensor node localization methods based on local observations of distributed natural phenomena,” in
*Proceedings of IEEE International Conference on Multisensor Fusion and Integration for Intelligent Systems*, Seoul, South Korea, August 2008.