A simple iterative positioning algorithm for client node localization in WLANs
© Trevisan et al.; licensee Springer. 2013
Received: 5 June 2013
Accepted: 7 November 2013
Published: 5 December 2013
The ability to determine in real-time the geographic location of client nodes is an important tool in wireless networks, allowing instantaneous mobile tracking, implementation of location-aware services and also efficient channel and power allocation planning. Among existing classical cooperative localization techniques for wireless networks, the maximum likelihood estimator (MLE) is theoretically the best. However, the gradient-based algorithms that are commonly used for maximum likelihood estimation are quite sensitive to the initial values and cannot achieve the theoretical optimal performance. In this paper, we propose a new iterative positioning algorithm based on received signal strength information that employs a location ordering strategy and a numerical nonlinear optimization method. The algorithm performance is evaluated through simulation for different network scenarios. A real wireless network scenario is also implemented in order to demonstrate the algorithm effectiveness. The proposed algorithm, while presenting a simplified implementation, can achieve better positioning estimates than the classical MLE approach based on the conjugated gradient.
KeywordsWireless networks Positioning algorithms Received signal strength
Wireless networks have found widespread application in many scenarios including entertainment, medicine, security, automation, emergency services, among other uses. These networks may operate under different architectures, including structured mode using access points (APs) and unstructured modes using ad hoc and mesh topologies. The knowledge of node positions in a wireless network has many applications. In wireless mesh networks (WMNs) , the positioning information allows the creation of efficient scheduling algorithms to reduce collisions and interferences. The positioning information can be used to estimate the interference a node causes in other nodes of the network and thus improve the multiple access strategies, scheduling mechanisms, channel allocation algorithms, and routing protocols.
In wireless local area networks (WLANs), the positioning information can be used for location-based services , mobile device tracking [3–5], and physical layer authentication . Even though there exist more precise location techniques based on the angle-of-arrival (AoA), time-of-arrival (ToA), and time-difference-of-arrival (TDoA) [7, 8], algorithms based on the received signal strength (RSS) measurements are still very attractive from a practical point of view because this metric is available in every radio interface and does not require any additional hardware features nor explicit cooperation from the localized node. Among existing classical localization techniques for wireless networks, the maximum likelihood estimator (MLE) is theoretically the best. However, the gradient-based algorithms that are commonly used for MLE are quite sensitive to the initial position estimation of the unknown nodes and cannot achieve the theoretical optimal performance. The development of a positioning algorithm less susceptible to the initial coordinate estimations motivates our investigation.
In this paper, we propose an iterative positioning algorithm for localization of client nodes in WLANs. The pairwise range estimation is based on RSS. We consider a centralized processing unit (central node), as usually implemented in many networks for operation management. It is assumed that each network node collects received power information and MAC addresses from neighbor nodes within its transmission range. Such information is sent to the central node that executes the localization algorithm. The main contributions of the proposed algorithm are the use of a selection and ordering strategy for the reference (or anchor) nodes and also the application of the numerical nonlinear optimization method of Nelder-Mead , that does not require the derivative of the cost function. The algorithm performance is evaluated through computer simulations for different network scenarios. A real wireless network scenario is implemented in order to demonstrate the algorithm effectiveness. The proposed algorithm, while presenting a simplified implementation, can achieve better positioning estimates than the classical MLE approach based on the conjugated gradient .
The rest of this paper is organized as follows: in Section 2, we present a brief description of the localization technique principles and describe the path loss channel model with shadowing which is employed in the algorithms using RSS. In Section 3, we describe the classical localization techniques for wireless networks. The proposed algorithm is presented in Section 4. The performance results are presented and discussed in Section 5, while Section 6 concludes the paper.
2 Localization techniques overview
Consider a wireless network scenario where a specific node with unknown position, called unknown node, should be localized. The other nodes in its vicinity are assumed to have known positions and are called reference nodes. It is possible to estimate the unknown node coordinates by applying a localization technique. This procedure starts with the reference nodes transmitting their own coordinates to the unknown node. Then, the unknown node must estimate its relative distance to each of the references based on any technique of range estimation. Finally, the unknown node applies a combining technique over the distances estimates and received coordinates in order to estimate its own position. Alternately, if the unknown node does not cooperate in the localization process, the procedure is executed by the set of reference nodes based on opportunistic measurements collected when the unknown node transmits. We do not include in our analysis the class of Bayesian localization algorithms [11–14] as those assume the cooperation among all nodes. In our scenario, we consider that the unknown node may be non-cooperative.
Basically, the location discovery approaches consist of two phases . In the first phase, the relative distance between two nodes can be estimated using methods as RSS, ToA, TDoA, and AoA . Distance estimation techniques based on RSS measures the signal power at the receiver. Assuming a known transmit power, the propagation loss is computed using a theoretical or empirical model and this loss is translated into a distance estimate. This technique is mainly used for radio frequency (RF) signals and is subject to different types of errors: additive noise, multipath fading, and shadowing. A time-based method (ToA/TDoA) estimates the relative distance based on the time or time difference the RF signal takes to travel from the transmitter to the receiver node. This technique assumes that the signal propagation speed is known and can be applied to different signal types including RF, acoustic, infrared, and ultrasound. Finally, the AoA technique is applied to estimate the angle at which signals are received and is generally used in combination with other techniques. An interesting overview of these algorithms for wireless position estimation is presented in .
In the second phase, the estimated relative distances should be combined to obtain the node position. The first combining approach is to use a method called hyperbolic trilateration, where the node position is estimated calculating the intersection point of three circumferences. Each of them with a center at one reference, and with radius equal to the estimated distance between its center reference and the unknown node. A second strategy denoted triangulation can be used if the signal angle-of-arrival is available instead of the distance. The node position is computed using simple trigonometry laws. A third combining method called multilateration calculates the node position by minimizing the differences between the noisy measured distances and estimated distances, using MLE. The multilateration technique is a generalization of the trilateration by using more than three references .
In real-world scenarios, the RSS measurements are highly dependent of multipath fading and shadowing, so that RSS is considered a poor range estimator compared with ToA and AoA . However, the RSS measurement is an inexpensive technique because the signal power, generally available at any RF transceiver, can be measured during normal data communication without additional transmissions or bandwidth requirements. Therefore, the technique does not require any additional hardware setup nor extra energy consumption. Technically, the random shadowing behavior of the wireless channel becomes the most relevant source of error for a RSS-based location system. Measurement errors affects the TOA distance measurement in an additive way while RSS is affected in a multiplicative way . Finally, even though it is less precise, due to its low cost and ease of practical deployment, the RSS technique is used for range estimation in the proposed localization framework.
3 Problem formulation
where is the transmit power, λ = c / f is the signal wavelength, f is the carrier frequency and c = 3 × 108 m/s.
Consider a wireless ad hoc network with m reference nodes and n unknown nodes. The positioning algorithm aims to locate the n unknown nodes as close as possible to their real position based on peer-to-peer range estimation and on the known coordinates of the references. The core algorithm mechanism is the atomic multilateration. Because of the shadowing effect, the trilateration in a real scenario will not have a unique intersection point.
in which becomes clear that the estimated distance is affected by the shadowing in a multiplicative way, or equivalently, that the estimation error is proportional to the range.
The candidate position that minimizes is the estimated position of the unknown node.
4 Proposed algorithm
In this section, we present the details of the proposed localization algorithm, but first we discuss the influence of ordering in the localization accuracy.
4.1 The Influence of ordering
Taget localization sequence and the localization sequences given by the F proximity and R proximity factors
Target location sequence
F proximity (i)
Estimated location sequence
R proximity (i)
Estimated location sequence
Based on simulation experiments, we identified that the distance estimates between two unknown nodes not yet localized can be used to improve the sequence ordering used by the localization algorithm. This is done by adding to Fproximity the constant parameter , where n is the number of unknown nodes, is the cardinality of , and is the matrix of estimated distances. The scaling factor α has the objective to locate unknown nodes that are closer to a great number of reference nodes. Therefore, if there are two unknown nodes with the same value of Rproximity(i), the one that has a larger number of closer reference nodes will be localized first. This procedure is a strategy to give a localization reliability metric for each of m reference nodes. The performance was evaluated for values 1 ≤ α ≤ 3 and the best result obtained through simulations was with α = 1.15. The Rproximity values for a node at the different positions indicated in Figure 2 are also presented in Table 1. Note that the estimated location sequence obtained based on Rproximity is very close to the target location sequence.
The proposed algorithm locates nodes individually, following the sequence ordering obtained using the Rproximity factor, where the node with the highest Rproximity factor is located first. The pseudocode is presented in Algorithm 1. The set of reference nodes, , have known coordinates, r j . These nodes collect the power measurements from unknown neighbor nodes to form matrix . The reference power and the pathloss exponent η are predefined parameters. Based on the power measurements, the Rproximity factor is computed for all unknown nodes. Then, the iterative localization procedure is started, where the unknown nodes are localized in the order based on the Rproximity factor. The coordinates are estimated by minimizing the cost function . The localized node becomes part of the reference set for the next iteration of the algorithm.
Moreover, in our implementation, we use of the Nelder-Mead nonlinear optimization numerical method  for minimizing the weighted cost function, therefore without requiring the derivative of the cost-function, as is the case of MLE methods based on the conjugate gradient .
4.3 Initial candidate position problem
The intersection of these three straight lines defines the initial candidate position of unknown node k for the localization algorithm, as marked by the triangle in Figure 7. In a specific scenario, where the three references are aligned, the lines are parallel. In such case, the initial candidate position is defined as the mean computed among the coordinates defined by the intersection of the line defined by the references with the parallel lines .
5 Practical results
Power measurements in each scenario
d i 1
d i 2
d i 3
Wireless interface parameters
Transmitter antenna gain
Receiver antenna gain
Carrier frequency (channel 4)
Actual and estimated distances
In this paper, we present a new localization strategy based on RSS measurements. The algorithm is centralized and iterative: centralized because a node must accumulate the RSS measurements and run the location algorithm for all the other nodes; iterative because each node is localized one at a time and once located it becomes a reference to the location of other unknown nodes in the next iterations. The Nelder-Mead nonlinear optimization numerical method is employed to find the candidate coordinates for the unknown node, by minimizing the cost function. It is shown that the proposed algorithm can achieve better practical position estimates than the classical MLE strategy that employs gradient-search-based methods.
a There are two constants that are used in our proposed algorithm and that were numerically obtained (α and ρ). These values were obtained after several tests considering up to n = 30 unknown nodes randomly located within an area of 15×15 m2 (the node positions are random and follow a uniform distribution). For each number of unknown nodes, an ensemble of topologies were generated and several values of α and ρ were tested. The impact of ρ in the performance of the proposed algorithm is larger than the impact of α.
b Among existing classical cooperative localization techniques for wireless networks, the MLE is theoretically the best in the sense that it asymptotically achieves the Cramer-Rao bound (CRB). However, the gradient based iterative algorithms that are commonly used to achieve MLE positions are quite sensitive to the initial values and cannot achieve the theoretical optimal performance . In this case the optimum solution is the minimum mean square error (MMSE) algorithm, which requires the prior distribution on the location of the nodes.
This work was partially supported by CAPES and CNPq (Brazil).
- Gupta P, Kumar PR: The capacity of wireless networks. IEEE Trans. Inf. Theory 2000, 46(2):388-404. 10.1109/18.825799MathSciNetView ArticleGoogle Scholar
- Kao K-F, Liao I-E, Lyu J-S: An indoor location-based service using access points as signal strength data collectors. 2010 International Conference On Indoor Positioning and Indoor Navigation (IPIN) Campus Science City, ETH Zurich, 15-17 Sept 2010Google Scholar
- Sabek I, Youssef M: Multi-entity device-free wlan localization. 2012 IEEE Global Communications Conference (GLOBECOM) Anaheim,3–7Dec 2012Google Scholar
- Riedl P, Mayrhofer R: Towards a practical, scalable self-localization system for android phones based on wlan fingerprinting. 2012 32nd International Conference On Distributed Computing Systems Workshops (ICDCSW) Macau, 18-21 June 2012Google Scholar
- Felix D, McGuire M: Received signal strength calibration for handset localization in wlan. 2012 IEEE International Conference On Communications (ICC) Ottawa, 10-15 June 2012Google Scholar
- Bhargava V, Sichitiu ML: Physical authentication through localization in wireless local area networks. GLOBECOM ’05 IEEE Global Telecommunications Conference vol. 5 (IEEE, Picastaway, 2005)Google Scholar
- Patwari N, Ash JN, Kyperountas S, Hero IAO, Moses RL, Correal NS: Locating the nodes: cooperative localization in wireless sensor networks. IEEE Signal Processing Magazine 2005, 22(4):54-69.View ArticleGoogle Scholar
- Wann C-D, Chin H-C: Hybrid toa/rssi wireless location with unconstrained nonlinear optimization for indoor uwb channels. IEEE Wireless Communications and Networking Conference (WCNC 2007) Hong Kong, 11-15 March 2007Google Scholar
- Nelder JA, Mead R: A simplex method for function minimization. Comput. J. 1965, 7(4):308-313. 10.1093/comjnl/7.4.308View ArticleGoogle Scholar
- Patwari N, O’Dea RJ, Wang Y: Relative location in wireless networks. IEEE VTS 53rd, Vehicular Technology Conference, 2001. VTC 2001 Spring vol. 2, (IEEE, Piscataway, 2001)Google Scholar
- Wymeersch H, Lien J, Win MZ: Cooperative localization in wireless networks. Proc. IEEE 2009, 97(2):427-450.View ArticleGoogle Scholar
- Pedersen C, Pedersen T, Fleury BH: A variational message passing algorithm for sensor self-localization in wireless networks. 2011 IEEE International Symposium On Information Theory Proceedings (ISIT) St. Petersburg, 31 July–5 Aug 2011Google Scholar
- Savic V, Zazo S: Cooperative localization in mobile networks using nonparametric variants of belief propagation. Ad Hoc Netw. 2013, 11(1):138-150. 10.1016/j.adhoc.2012.04.012View ArticleGoogle Scholar
- Xi S, Zoltowski MD: A practical complete mle cooperative localization solution. 2010 IEEE International Conference On Acoustics Speech and Signal Processing (ICASSP) Dallas, 14–19 March 2010Google Scholar
- Savvides A, Han C. -c, Strivastava MB: Dynamic Fine-Grained Localization in Ad-Hoc Networks of Sensors . Proceedings of the 7th annual international conference on Mobile computing and networking, (MobiCom 2001) (ACM, New York, 2001), pp. 166-179Google Scholar
- Gezici S: A survey on wireless position estimation. Wireless Personal Commun. 2008, 44(3):263-282. 10.1007/s11277-007-9375-zView ArticleGoogle Scholar
- Rappaport T: Wireless Communications: Principles and Practice, 2nd edn.. Upper Saddle River: Prentice Hall; 2001.Google Scholar
- Goldsmith A: Wireless Communications. New York: Cambridge University Press; 2005.View ArticleGoogle Scholar
- Song H-L: Automatic vehicle location in cellular communications systems. Vehicular Technol., IEEE Trans. 1994, 43(4):902-908. 10.1109/25.330153View ArticleGoogle Scholar
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.