Abstract
As many Wireless Sensor Networks (WSNs) applications require sensor position information, localization has been an important problem in WSNs. To reduce the number of seeds, a number of mobile-assisted approaches have been proposed. Current proposed mobile-assisted approaches for localization require special hardware or face route selection problem, however. In this paper, we propose a Mobile-Assisted Monte Carlo Localization (MA-MCL) for WSNs. Our approach relies on direct arriver and leaver information from a single mobile-assisted seed. It does not require any specially designed hardware due to the range-free technique, and the single mobile-assisted seed in our approach can move uncontrollably to avoid route selection problem based on Monte Carlo method. Evaluation results show that the accuracy of MA-MCL outperforms MSL*, MSL, and ADO when all of them use only a mobile seed for localization in the static sensor networks.
1. Introduction
Wireless Sensor Networks (WSNs) [1, 2] are composed of large numbers of tiny sensor devices with wireless communication capabilities. WSN systems have been recently developed for several applications such as military surveillance, environmental monitoring, target tracking, habitat monitoring, and structural monitoring. Because many of those applications require sensor position information, localization has been an important problem in WSNs and a number of approaches have been proposed [3].
Though current approaches are designed to work well to improve the accuracy and precision of localization for static, mobile, or hybrid sensor networks, much of the existing research focuses on static sensor networks [4], that is, all the nodes composed of sensor networks are static. In general, the localization of these static sensor nodes mainly relies on several seeds which know their locations scattered throughout the sensor networks, and the precision of the localization increases with the number of seeds.
The main problem with an increased number of seeds is that they are more expensive than the rest of the sensor nodes, and after these sensor nodes have been localized, the seeds become useless. The reason mentioned above leads us to believe that a single mobile seed which can travel the deployment of the entire region based on some seed route can be used to help localize the entire network. This approach is known as mobile-assisted localization. Using a single mobile seed that knows its position is broadly equivalent to using many static seeds each broadcasting once.
Many mobile-assisted localization approaches have been proposed to determine sensors position in WSNs. Existing approaches fall into two categories: range-based and range-free. Range-based approaches [5–7] assume that the sensors are able to measure the distances between the neighbor nodes. All these range-based approaches are constrained by the expensive cost and high energy consumptions of the ranging hardware devices, however. Due to the hardware limitations and energy constraints of sensor devices, range-free localization approaches [8, 9] based on simple sensing, are cost-effective alternatives to range-based approaches.
All approaches of these mobile-assisted localization face the same problem, “What is the optimum beacon route (as the same concept seed route in our paper, beacon trajectory in [6], movement strategy in [7], movement pattern in [8], and movement path in [5])?” [6] or called route selection problem. Notice that the problem is quite difficult since the position of the unknown nodes is not known a priori [6]. For example, some approaches [6] do not propose any specific movement strategy for the path of mobile seed, and some approaches [8, 9] just suggest that the seed moves in the straight lines, then a loop, or walks along the grid to cover the whole area.
In this paper, we propose a Mobile-Assisted Monte Carlo Localization (MA-MCL) for WSNs. On the one hand, compared to some proposed mobile-assisted approaches [5–7], our method does not require any specially designed hardware due to the range-free technique. On the other hand, unlike previous mobile-assisted localization work, our method adopts the route-free scheme, that is, the single mobile-assisted seed in our approach can move uncontrollably to avoid route selection problem based on Monte Carlo method.
Evaluation results show that the accuracy of MA-MCL out performs MSL* [4], MSL [4], and ADO [8] when all of them use only a mobile seed for localization of static sensor networks.
The rest of this paper is organized as follows: Section 2 gives an overview of related work. Section 3 describes the preliminary and our algorithm. Section 4 presents and discusses evaluation results. Finally, Section 5 concludes our works.
2. Related Work
The mobile-assisted and Monte Carlo localization method, each of them has been effectively utilized to locate the position of sensor nodes in WSNs. We survey some relevant papers in this section.
2.1. Mobile-Assisted Localization
2.1.1. Range-Based
The paper [6] proposesa the received signal strength indicator-(RSSI-) based localization method using Bayesian inference for processing information from one mobile beacon. In this approach, RSSI is used for ranging between sensor nodes. The beacon trajectory is simply mentioned, and it only lists some properties that the movement path of the mobile beacon should have. They do not propose any specific movement strategy for the path of mobile node.
MAL [7] describes a mobile-assisted localization method which employs a mobile user to assist in measuring distances between node pairs until these distance constraints form a “globally rigid” structure that guarantees a unique localization. This paper also defines MAL's movement strategy for building up such a graph in a way that guarantees a unique solution (and even an easy-to-find solution) of the resulting standard localization problem.
The paper [5] proposes a novel range-based localization scheme which involves a movement strategy with a low computational complexity of mobile beacon, called mobile beacon-assisted localization (MBAL). MBAL also applies RSSI for ranging to get the distance information between nodes or between each node and the mobile beacon to assist localization of all nodes.
Our proposed method differs significantly from previous range-based mobile-assisted localization works because it adopts range-free technique and also route-free scheme.
2.1.2. Range-Free
Walking GPS [9] is arrange-free localization, in which the deployer (either person or vehicle) carries a GPS device that periodically broadcasts its location. Each node computes its location estimate according to either the broadcasting positions of the moving beacon or the positions of its neighbors. Without any specific route, the GPS Mote is just walking in a straight path, then a loop, or walking along the grid. However, providing each sensor with GPS is expensive in terms of cost and energy consumption.
ADO [8] provides a distributed method to localization of sensor nodes using a single moving beacon where sensor nodes compute their position estimate based on the range-free technique. The method uses the arrival and departure information of a walking beacon and assumes that a beacon moves in a straight line in the deployment area of a sensor network. Inspired by ideas from ADO, our proposed route-free method relies on direct arriver and leaver information from a single mobile-assisted seed.
2.2. Monte Carlo Localization
One range-free algorithm MCL [10] (Monte Carlo Localization) only works in mobile sensor networks. MCL works well in mobile sensor networks as long as the speed of movement is not very low. The paper also proposes two possible filtering approaches. The first approach adopts arrivers and leavers information (i.e., a seed node transmits both its current location and its location at the previous time step in each announcement). The second adopts the current neighborhood (seeds and unknowns nodes) information.
The paper [4] propose two range-free localization algorithms, MSL* and MSL, that work well when any number of sensors are static or mobile. Unlike MCL in prediction step, the parameter α is needed for MSL* and MSL to work well when no sensors move. Each node maintains a set of weighted samples denoting its possible locations and its weight is determined using the current neighborhood information.
Though these approaches are not especially for a single mobile-assisted sensor networks, our work is inspired by above approaches. In prediction step, just as the parameter α proposed by MSL* and MSL, we introduce the parameter β for MA-MCL to work in static sensor networks. In filtering step, we adopt arrivers and leavers information proposed by MCL.
3. The Preliminary and Our Algorithm
Let us consider a sensor network with M static nodes which have not a priori known locations (called unknown nodes) and a single mobile node (called seed) is equipped with hardware, for example, GPS, that allow sit to know its location at all times. We assume that these unknown nodes are randomly deployed in an area of size S and each sensor has the same ideal radio range r. The seed is capable of moving a distance
The seed collects the observations from the unknown nodes when contacting the unknown node in the entire deployment region and initializes the unknown node information when contacting the node for the first time. All computations are concentrated in the seed. This centralized scheme has two advantages: first, it avoids clock synchronization; second, it does not waste scarce resources in the unknown node.
3.1. Preliminary
If we solve the above-mentioned localization problem with a probabilistic approach [6], we are interested in estimating the unknown node's real location at the current time step, given knowledge about the initial location estimate and all observations up to the current time. This localization problem is an instance of the Bayesian filtering problem which requires the estimation of the state of a system that changes over time using a sequence of noisy measurements made on the system [11].
To address the complexity of the integration step in Bayesian filter, in this paper, we use a sequential Monte Carlo method (also called particle filter) to perform a Bayesian filter on a sample representation. In the Monte Carlo method, the distribution of the state of the system is represented with a set of samples. The set of samples is updated when new observations arrive [4].
In order to develop the details of localization problem described by Monte Carlo method, let t be the discrete time,
The transition equation
The key idea of Monte Carlo localization method is to represent the posterior distribution of possible locations at time t using a set of N weighted samples:
Monte Carlolocalization method recursively computes the set of samples for each node at each time step, and the main steps of the Monte Carlo localization are as follows.
Initialization
The node has no knowledge about its position at time 0, so the initial samples are selected randomly from all possible locations:

Prediction
At time t, the node uses the transition distribution 
Filtering
At time t, the node uses new information received to eliminate predicted locations that are inconsistent with observations:

Resampling
The purpose of resampling step is to gradually remove samples with lower weights and keep those with higher weights:

Algorithm 1 shows the pseudocode of the Monte Carlo localization algorithm for each unknown node. Line 1 shows that the algorithm initializes the samples assigned by random locations for every unknown node. The statements from lines 2 to 6 show that the algorithm iterates at each time step until positioning accuracy meeting the requirements.
(1) (2) while (accuracy does not meet requirement) (3) (4) (5) (6) }
Algorithm 1: Monte Carlo localization algorithm for each unknown node.

3.2. MA-MCL Algorithm
MA-MCL algorithm works well for multiple unknown nodes and a single mobile seed. Each unknown node maintains a set of samples (probable location of unknown node) and these samples are assigned weights that estimate their quality. Intuitively, the weight of a sample is an approximation of the likelihood that it represents the true location of the node [4]. The steps of algorithm are as follows.
Initialization
In the first step, nodes have no information about their locations. The first set of samples for each node is chosen randomly from the whole sensor deployer field.
Prediction
In this step, the unknown nodes generate new samples using the following transition equation:
Every time step, the seed randomly moves a distance
Filtering
In this step, the nodes filter the impossible samples based on new observations. For simplification of presentation and analysis, we assume that time is discrete and all messages are received instantly. Hence, at time t, every unknown node within radio range of the seed will hear a location announcement from the seed.
We define four states for each unknown node.
Outsiders
The unknown node is out of the radio range of the seed.
Insiders
The unknown node is within the radio range of the seed.
Arrivers
The unknown node receives the current location announcement of seed, but did not receive the location announcement from the seed's previous position.
Leavers
The unknown node received the preceding location announcement from the seed, but does not receive the location announcement from the current position of the seed.
Figure 1 shows that the mobile seed (represented as solid point) moves along the direction of the arrow from left to right, and the big circles are radio range of the seed. The big circle in Figure 1(I) at time

Arrivers and Leavers information.
We only rely on direct arrivers and leavers information from the mobile seed. Thus, the filter condition of sample location
The weight of sample is determined by the filter condition:
After computing the weight of the sample using (9), the weights are normalized to make sure that the sum of the weights of the samples is equal to one. The ith sample is normalized as
Resampling
In this step, each node computes a new sample set from its current sample set. Since the number of samples is kept fixed, in this step, a sample with a small weight has a lower chance of being selected, and a sample with a higher weight has a greater chance of being selected, and so many duplicates of that sample are likely to exist in the new sample set [4]. We adopt a systematic resampling algorithm [12] in this paper since it is simple to implement and minimizes the Monte Carlo variation.
4. Evaluation
We designed and implemented MA-MCL simulator with java language and also implemented MSL*, MSL, and ADO in this simulator and performed our simulations using it. For notational consistency with [4], we introduce the performance metrics used to compare localization algorithms and enumerate simulation parameters that are used in the experiments.
The key metric [4] for evaluating a localization algorithm is the accuracy of the location estimates or localization error. This is computed as follows:
Our results were obtained using sensors randomly distributed in a 10 units × 10 units square field. We set ideal radio range
In this section, we first show the evaluation results about the properties of MA-MCL algorithms such as the maximum speed of the mobile seed, the number of samples for unknown node, the impact of parameters β, neighbor nodes, and noise environment impact. Then we compare the accuracy of MA-MCL, MSL, MSL*, and ADO algorithms under same or different parameters configuration.
4.1. Properties of MA-MCL
4.1.1. Convergence
Figure 2 shows the convergence of MA-MCL algorithm under five different

Location convergence under different
4.1.2. Number of Samples
Maintaining more samples for the MCL algorithm can improve accuracy, but requires additional memory [4]. As a result, in practical application, we should select an appropriate value of smaller samples which does not affect the accuracy of localization. Figure 3 shows the impact of sample size on location accuracy. The estimate error drops rapidly at the beginning since a small number of samples cannot adequately reflect the probability distribution. The estimate error is fairly stable after sample size equal to 50, and the accuracy improves only minimally by increasing the number of samples to 100 when

Impact of sample size.
4.1.3. Parameter β in Prediction Step
Figure 4 shows the impact of parameter β on location accuracy. If

Impact of parameter β.
4.1.4. Neighbor Node
The number of observations to the unknown node in mobile seed-assisted approach is equal to the number of constraints from static neighbor seeds of the unknown node, that is, the number of observations in mobile seed-assisted approach are equal to the node density,

The number of observations.
4.1.5. Noise Environment
All of our previous experiments assumed an ideal environment where location sensory data are not influenced by irregular radio range and any receiver within the radio range of sender will hear the packets from that sender. Here, we consider more realistic radio model, that is, the unknown node within radio range of the seed will not hear a location announcement (such as network collisions or missed packages) from that seed at some time. We use degree of irregularity (DOI) [10] to denote the maximum radio range variation in the direction of radio propagation. For example, if DOI = 0.1, then the actual radio range in each direction is randomly chosen from (

Noise environment.
4.2. Comparison of Different Algorithms
In order to compare different algorithms under the same conditions, MSL* and MSL in our evaluation will only use a single mobile seed for localization.
MA-MCL relies on direct arrivers and leavers information from the mobile seed, that is, it combines 1-hop and 2-hop seed position restriction at the same time. MSL* and MSL only adopt 1-hop connectivity restriction. Thus, in theory, the precision obtained by MA-MCL are twice as high as it obtained by MSL* or MSL. ADO adopts direct arrivers and leavers information, but it is not a recursive method. Obviously, compared to MA-MCL, the accuracy of ADO is very low. In the following sections, we give some experimental results about the comparison of different algorithms.
4.2.1. Accuracy
The graph in Figure 7 shows the accuracy comparison for MA-MCL, MSL*, MSL, and ADO. Figure 7 shows that the curve of ADO drops to a certain value, then to the horizon, because the seed in ADO moves in a straight line in the deployment area of a sensor network just once for a short time, and some unknown nodes are localized after the seed finished moving. Thus, as the time goes on, the average accuracy of all known nodes does not decrease. As shown in Figure 7, MSL* and MSL, these two curvatures of the curves are very close to each other. That is to say, in the mobile seed assisted localization scenario, the performance of the MSL*and MSL is no significant difference. Figure 7 also shows that the curves of MA-MCL and MSL* (MSL) are very similar to each other. As the time goes on, these curves reach the stable phase. MA-MCL shows nearly 50% better performance and nearly equal time of localization when compared to the MSL* and MSL. Thus, it can be seen from the figure that MA-MCL outperforms MSL*, MSL, and ADO.

Comparison of accuracy.
4.2.2. Speed of Seed
Figure 8 shows how the localization error varies with changing the speed of seed. Figure 8 shows that the faster speed of the seed, the worse accuracy of ADO. The faster speed of the seed, which just travels the whole deployment area of a sensor network only once, the more the number of unknown nodes, that are localized. When the speed of seed (

Speed of seed.
4.2.3. Density of Unknown Node
In this experiment we vary the density of unknown nodes. We set the time of seed moving as 1000 to achieve stable phase. As shown in Figure 9, the density of unknown node will not affect the accuracy of MA-MCL, MSL*, and MSL, just because the number of observations from the mobile seed to the unknown node is larger than

Density of unknown node.
5. Conclusion
In this paper, we give an overview of related work for mobile-assisted and MCL approaches and we propose MA-MCL for WSNs. We conduct several simulations to evaluate our approach to show that the results outperform some other approach such as MSL*, MSL, and ADO. In future work, we continue to improve the accuracy to mobile-assisted localization based on research of the Monte Carlo methods. In addition, a number of practical factors will also be considered, and the practical factors may affect efficiency, accuracy, and flexibility of our localization approaches.
Footnotes
Acknowledgment
This work is supported by the National Basic Research Program of China (973 Program) under Grant no. 2006CB303000.
