- Research
- Open Access
- Published:

# Wireless sensor network localization with connectivity-based refinement using mass spring and Kalman filtering

*EURASIP Journal on Wireless Communications and Networking*
**volume 2012**, Article number: 152 (2012)

## Abstract

Since many range-free localization algorithms depend on only a few anchors and implicit range estimations, they produce poor results. In this article, we propose a distributed range-free algorithm to improve localization accuracy by using one-hop neighbors as well as anchors. When an unknown node knows which nodes it can directly communicate with, but does not know how far they are exactly placed, the node should have a location having the average distance to all neighbors since the location minimizes the sum of squares of hop distance errors. In the proposed algorithm, each node initializes its location using the information of anchors and updates it based on mass spring method and Kalman filtering with the location estimates of one-hop neighbors until the equilibrium is achieved. Subsequently, the network has the shape of isotropic graph with minimized variance of links between one-hop neighbors. We evaluate our algorithm and compare it with other range-free algorithms through simulations under varying node density, anchor ratio, and node deployment method.

## 1 Introduction

In wireless sensor networks (WSNs), numerous radio nodes collaborate to allow communication in the absence of a fixed infrastructure. With the flexibility and scalability, WSNs have great potential for a variety of applications including environmental monitoring, health care, target tracking, and military surveillance [1, 2]. Most of these applications require the knowledge about the location of each node because data stream of a node presents the state or context in the location. Moreover, the location information is required for some methods such as routing and broadcasting protocols [3] in WSNs with the properties of frequently route breakage and unpredictable topology changes.

Localization/positioning (obtaining the location of a node) has been an essential demand to realize location-based applications and methods in WSNs. GPS [4] may be the most straightforward solution to the localization problem. However, GPS is unavailable in indoor environments and even in outdoor environments where buildings block the satellite signal. In addition, GPS is inadequate for scalable and resource-limited networks since this leads to the increase in installation costs and reduction on the lifetime.

Because of these problems, different localization schemes have been suggested using some special nodes, called anchors, which have the actual (known) locations through GPS or manual configuration. Each unknown node, which needs to estimate its location, utilizes the coordinates of anchors as references for location estimations. These schemes can be classified as range-based or range-free schemes.

Range-based schemes employ range information via ranging [5], a process measuring the distance or relative angle between nodes based on received signal strength (RSS) [6], time of arrival (TOA) [7], time difference of arrival (TDOA) [8], or angle of arrival (AOA) [9]. In the range-based schemes, unknown nodes estimate their locations with measured range information to the anchors. However, the measurements are easily corrupted by surrounding environment; multipath fading and noise, for example. The analysis of localization accuracy can be found in [10]. In addition, the range-based schemes require expensive and power-intensive measuring devices or synchronization between nodes which may incur cost and energy problems.

Range-free schemes implicitly measure range to overcome the drawbacks of the range-based schemes. In the range-free schemes, nodes learn topology information such as relative connectivity (i.e., hop count) to anchors or neighbors through flooding [3]. The range-free schemes utilize hop count of shortest paths as a distance metric between nodes for location estimations. Thus, range-free schemes do not require any measuring device and are less affected by surrounding environment in localization. However, since hop count of a pair of nodes cannot fully reflect the distance, it is difficult to obtain a good estimate for a node.

To improve localization accuracy, we propose a distributed range-free algorithm to recursively estimate the location using one-hop neighbors as well as anchors. Given a set of neighbors of a node without any range information, the sum of squares of hop distance errors is minimized at a point away from all the neighbors equally. Thus, our goal is to produce a locally isotropic graph whose variance of links between all one-hop neighbors is minimized. In the proposed algorithm, each node initializes its location based on implicit distance estimations to anchors [11, 12]. It then updates its location to have homogeneous links by using its neighbors' location knowledge. The proposed algorithm has a recursive algorithm based on combining mass spring method [13–15] and Kalman filtering [4, 16–18] to update location estimates while reducing oscillation, the repetitive variation of estimates, by the changes of information. This continues until the equilibrium is achieved.

The remainder of the article is organized as follows: Section 2 reviews some previously published localization schemes. Section 3 introduces the network model and terms. Section 4 describes the proposed algorithm. Section 5 presents performance evaluation via simulations. We conclude the article in section 6.

## 2 Related study

Previously published localization schemes are classified into two categories; range-based or range-free schemes. In this section, we briefly review both schemes.

Range-based schemes estimate a node's location through measuring the distance or relative angle between nodes based on received signal. However, the received signal is a corrupted version of the transmitted signal since some factors such as noise and interference are added to the channel output. The range estimation is prone to worsen as a pair of nodes is placed farther from each other.

Several methods have been introduced in [13–15] to cope with the problem for range-based. These methods model nodes as masses connected using springs, referred to as mass spring method. The mass spring method is an optimization tool minimizing the difference between an interest and a desire. In distributed systems [14, 15, 19], this method is applied for location refinement. After each node recognizes its own location based on information from anchors, it obtains additional distance measurements from neighbors within one or two hops and periodically acquires the estimated information of the neighbors for location refinement. The underlying assumption here is that distance measurements to neighbors have negligible errors since neighbors are closely located. In other words, the distance measurements are considered as the actual distances to the neighbors and the equilibrium lengths (i.e., desires) of the springs. Each node updates its location by forces generated from the differences between the equilibrium lengths and the distance estimations (i.e., interests) with respect to location estimates. This process continues until a state of equilibrium is achieved. In cluster-based systems [13], the mass spring functions as a method to connect local cluster maps. Upon establishing cluster maps, some nodes which are members of more than two clusters become joints and combine them into a global coordinate system.

Another approach is to estimate the location of a node with filtering. This is mainly adopted in robotics where each node is independently movable and has sensors to capture the direction of movement and acceleration [4, 16, 18]. With the properties of simplicity and flexibility, the Kalman filter [17] has been widely applied in such dynamic systems. The Kalman filter produces an estimate of the interest having statistically minimized error by combining all available data, plus a prior knowledge about the system and measuring devices. Thus, a stable and better estimate of the interest can be readily derived with the Kalman filtering in a noisy system.

Range-free schemes usually use minimum hop count between nodes as a distance metric and estimate the distance based on anchors' knowledge [11] or a predefined probability [12]. However, range-free schemes have poor localization accuracy compared to range-based schemes and flip ambiguities occur throughout the network because of large errors in distance estimations and no global topology information.

In [20–22], MDS-MAP was proposed to overcome the drawbacks of range-free schemes based on multidimensional scaling (MDS), which is a data analysis technique to display the relative map between data with respect to dissimilarities between them. The MDS-MAP defines the dissimilarities by hop count with a fixed scale for network localization. Thus, the MDS-MAP produces a map that minimizes the difference among links of all pairs of nodes in the network. Consequently, when the network is sparse, the performance of the MDS-MAP may significantly deteriorate compared to other range-free schemes. Moreover, since the dissimilarities between all pairs of nodes are required, communication cost and computational complexity increase with respect to the number of nodes.

In [14], the mass spring method is adopted for range-free schemes. Each node initiates its location based on the grid-scan algorithm. It then performs location refinement through the mass spring. With the refinement, the accuracy of the localization can be improved. However, this algorithm focuses on two-hop fashion localization, which means that there should be at least one anchor within two-hop from an unknown node to calculate and update the location. Since this algorithm depends on only anchors' information in initialize and refinement, some nodes may not be covered which are away from multihop (i.e., over two hops) from any anchors. To cover all the nodes in the network, dense and numerous anchors are required as much as the Centroid [13], which relies on the information from one-hop anchors. Thus, a high anchor ratio is mandatory to implement this algorithm in network localization.

In this article, we focus on multihop range-free localization having a refinement process to improve the localization accuracy and to solve the problems such as flip ambiguity.

## 3 Problem definition

Consider a network randomly deployed with *S* radio nodes in *D*-dimensional space. Let Ω_{
S
} = {1,..., *i*,..., *S*} be a set of nodes where *i* is the label of node *i*. Assume that *A* nodes are anchors with a priori location knowledge via GPS or manual deployment, and *U* nodes are unknown nodes. We denote sets of anchors and unknowns by Ω_{
A
} = {1,..., *A*} and Ω_{
U
} = {*A* + 1,..., *S*}, respectively. All nodes are unable to explicitly measure range to others, that is, nodes cannot capture any spacing or direction of other nodes. We assume that nodes are stationary and have an identical transmission range *d*_{max} with omnidirectional antennas. In other words, the network topology can be seen as static or a snapshot of mobile networks. Here, we define *d*_{max} as a distance that guarantees the minimum SNR to maintain the connectivity between one-hop neighbors. A centralized TDMA scheduler is assumed to assign each node a time slot to access the channel. Thus, packet error or packet loss during data transmission is not considered in this article.

Let ${\left\{{\mathbf{L}}_{i}\left(t\right)\right\}}_{i\in {\Omega}_{S}}$ and ${\left\{{\stackrel{\u0304}{\mathbf{L}}}_{i}\left(t\right)\right\}}_{i\in {\Omega}_{S}}$, respectively, represent the actual and estimated vector coordinates of nodes at time *t*. Anchors have the actual coordinates as the estimated coordinates, that is, ${\left\{{\stackrel{-}{L}}_{i}\left(t\right)\right\}}_{i\in {\Omega}_{A}}={\left\{{L}_{i}\left(t\right)\right\}}_{i\in {\Omega}_{A}}$. According to the coordinates of nodes, the actual and estimated distances between nodes *i* and *k* at time *t* are defined as *d*_{
ik
} (*t*) = ||**L**_{
i
} (*t*) - **L**_{
k
} (*t*)|| and ${\stackrel{-}{d}}_{ik}\left(t\right)=\parallel {\stackrel{-}{L}}_{i}\left(t\right)-{\stackrel{-}{L}}_{k}\left(t\right)\parallel $, where || · || is the Euclidean norm. The distance between any pair of nodes is symmetrical. The set of one-hop neighbors of node *i* and the number of neighbors are denoted by *N*(*i*) and *n*_{
i
}, respectively.

In range-free schemes, given a collection of *S* nodes and hop count of shortest paths between unknowns and anchors, the goal is to produce a set of coordinate assignments (i.e., a graph of the network) that are consistent with the hop count. Note that this graph needs scaling in terms of anchors because its scale is determined by the hop count. However, using hop count with no consideration of the shape of the path, distance estimates with respect to hop count are likely to be longer than the actual distance. This is a main reason that introduces noticeable errors in range-free schemes. Moreover, a phenomenon that the graph of the network is translated, rotated, and reflected occurs which is referred to as flip ambiguity [15, 23].

## 4 Proposed algorithm

### 4.1 Overview

Based on the properties of implicit distance estimations, we set a goal to find a location of a node minimizing variance of links between all one-hop neighbors to improve localization accuracy. We begin with an example to help comprehension.

Let us consider a simple network with two anchors and one unknown node in 1D space and any range information is not given. The two anchors are sufficiently separated and cannot hear each other. The unknown node is placed within coverage of both anchors. We intuitively know that the location of the unknown is somewhere between the two anchors. Here, plenty of points will be candidates for the location of the unknown. If the unknown has equal probability of being located at any point from the candidate set, the sum of squares of hop distance errors is minimized at a location where the distance to each neighbor is identical. Thus, we set a goal to find the location.

Our goal is to estimate a location of a node minimizing variance of links between all one-hop neighbors. The proposed algorithm proceeds in two phases. The first phase is an initialization with information from anchors that produces an approximate graph. The second phase is a recursive algorithm with combining mass spring method and Kalman filtering to update the graph where each node minimizes variance of links of all pairs of one-hop neighbors.

The first phase can be done through previously published range-free algorithms. We briefly introduce the first phase. This section provides more insight on the second phase.

The second phase runs concurrently at each node. Once each node has the coordinate of the location, it periodically interchanges the location information with one-hop neighbors, which are placed within its coverage. Now, each node has the Euclidean distances, namely the estimated distances, to all the neighbors through location estimates. The node then calculates the average distance as the arithmetic mean with respect to the sum of the estimated distances and the number of neighbors. Here, the average distance is set as the equilibrium length of a spring between two nodes. Each of the neighbors exerts logical forces on the node in the direction reducing the discrepancy, called the residual, between the average distance and the estimate distance: the node moves in the direction of the resultant force. Here, the used logical force does not have any physical effects on the node. It is just logical force which is used to refine the estimated location. However, the node is likely to oscillate and requires much time to reach the steady state (i.e., a state of equilibrium) since all nodes independently run the same process. Thus, we apply the Kalman filter for damping effect in the oscillatory system.

### 4.2 First phase: initialization

This subsection describes the first phase that each node estimates the relative location with respect to anchors. Each anchor emits a hello packet to inform its location. This packet is forwarded throughout the network and each node makes a minimum hop count table. Denote the minimum hop count from node *i* to anchor *k* by *h*_{
ik
}. The distance *δ*_{
ik
} between *i* and *k* is determined by

where *f* (Ω_{
A
}*, N*(*i*), *h*_{
ik
}) is a linear function. Many range-free schemes focused on solving the problem to define this function to alleviate distance errors (e.g., [11, 12]). Note that this problem is not concerned in this article. From (1), we can obtain linear equations as follows:

for *p* = 1,..., *A-* 1 and *q* = *p* + 1,..., *A*. Stacking all the distance estimations gives

where

Thus, the initial location ${\stackrel{\u0304}{\mathbf{L}}}_{i}\left(0\right)$ of node *i* is derived as the least squares solution to (3), which is given by

### 4.3 Second phase: location refinement

The goal of the proposed algorithm is to draw a graph of the network where nodes locally have uniform distribution.This subsection covers the second phase of the proposed algorithm. Based on the concept of combining mass spring optimization and Kalman filtering, the algorithm runs recursively at each node.

The interest of estimation is a location update of a node. At time *t*, node *i* has a current location estimate ${\stackrel{\u0304}{\mathbf{L}}}_{i}\left(t\right)$ and the estimated distance ${\stackrel{\u0304}{d}}_{ik}\left(t\right)$ to each neighbor *k* via periodical location notifications:

Now, node *i* also has the average distance ${\stackrel{\u0304}{d}}_{i}\left(t\right)$ to its neighbors given by

The average distance is a desire that node *i* needs to acquire as the distances to all the neighbors, that is, the equilibrium length of the springs.

Let **u**_{
ik
}(*t*) be the unit vector in the direction from ${\stackrel{\u0304}{\mathbf{L}}}_{i}\left(t\right)$ to ${\stackrel{\u0304}{\mathbf{L}}}_{k}\left(t\right)$. Then, the residual force **F**_{
ik
}(*t*) in the direction of **u**_{
ik
}(*t*) is given by

where *η*_{
k
} is the force coefficient according to the characteristic of neighbor *k*. If *k* ∈ Ω_{
M
}, the value of the coefficient is set to one; whereas, the value is set to two for unknowns (*k* ∈ Ω_{
N
} ). Note that the force is generated by the neighbor to essentially adjust the length of the link, that is, the estimated distance. If neighbor *k* is an unknown, it is forced to move by node *i*. Consequently, since both nodes exert forces to each other, the total force on the link may be larger than the expected force at each node. On the other hand, anchors have unchangeable location knowledge and are considered as non-moving heavy objects such as walls or posts.

The resultant force on node *i* is the sum of the residual forces by all neighbors:

Then, node *i* moves in the direction of the resultant force. The key argument here is how far the node moves with respect to the resultant force. Let *α* represents the movement coefficient having a value between zero and one. We denote the movement **Δ**_{
i
} (*t*) of node *i* by the resultant force by

If each node moves by an infinitesimal amount in the direction of the resultant force, time required for the steady state considerably increases. Otherwise, each node may oscillate and hinder location refinement of neighbors.

It is desirable to derive appropriate *α* to avoid the problems. However, there is no simple way to obtain it with sole local topology information. Thus, we consider a case where *α* has a large value which may lead to oscillation and we further adopt the Kalman filter to reduce the oscillation. The Kalman filter is useful to estimate or to track an interest in static systems and even in dynamic systems. It is simple to embody when two different measurements are available for estimation. More precisely, the Kalman filter follows a form of feedback control with prediction and measurement.

Upon receiving location information of all neighbors, node *i* has two independent estimates of its location for a location update ${\stackrel{\u0304}{\mathbf{L}}}_{i}\left(t+1\right)$. One is an estimate, called the prediction, based on the current location ${\stackrel{\u0304}{\mathbf{L}}}_{i}\left(t\right)$ and previous movement **Δ**_{
i
}(*t -* 1). The other is an estimate, called the measurement, of the current location ${\stackrel{\u0304}{\mathbf{L}}}_{i}\left(t\right)$ and current movement **Δ**_{
i
}(*t*). Let **x**_{
i
}(*t*) be the interest (i.e., location) of node *i* at time *t*. Let **P**_{
i
}(*t*) be the uncertainty of the location which indicates potential variation of the location **x**_{
i
}(*t*) from heterogeneous links. Denote a prediction and a measurement of the location update by ${\stackrel{\u0304}{\mathbf{x}}}_{i}\left(t+1\right)$ and **z**_{
i
}(*t* + 1).

The prediction is responsible for projecting forward the location update:

where **h**_{
i
}(*t*) = **Δ**_{
i
}(*t -* 1). The uncertainty ${\stackrel{\u0304}{\mathbf{P}}}_{i}\left(t\right)$ of the prediction is given by

Here, **Q**_{
i
}(*t*) is the uncertainty corresponding to **h**_{
i
}(*t*). It is defined as the relative distance uniformity with respect to the previous average distance ${\stackrel{\u0304}{d}}_{i}\left(t-1\right)$,

with the identity matrix $\mathbf{I}\in {\Re}^{D\times D}$.

The measurement is responsible for the feedback, that is, for incorporating a new measurement into the a priori estimate (i.e., prediction) to obtain an improved a posteriori estimate (i.e., correction). In our model, since all nodes are stationary and unable to sense or measure its location, a measurement **z**_{
i
}(*t* + 1) is derived as follows:

The uncertainty **R**_{
i
}(*t* + 1) corresponding to **z**_{
i
}(*t* + 1), the relative distance uniformity with respect to the current average distance, is given by

Based on (12)-(16), the location is updated by

where **K**_{
i
}(*t* + 1) is the Kalman gain that is the weighting factor for the prediction and measurement with respect to the uncertainties which is given by

Subsequently, node *i* has **x**_{
i
}(*t* + 1) in (15) as the location at time *t* + 1 with the updated uncertainty,

## 5 Performance metrics and evaluation

### 5.1 Performance metrics

We introduce a metric called the mean location error (MLE) to capture localization accuracy. The location error represents the difference between the actual location **L**_{
i
} and the estimated location in the algorithm's result ${\stackrel{\u0304}{\mathbf{L}}}_{i}$, and we only consider *U* unknown nodes for the MLE equal to

We introduce another metric called the global variance of link (GVL) to measure the discrepancy among links, that is, how well nodes are uniformly distributed. The GVL is measured as follows:

where *n*_{
i
} is the number of neighbors of node *i* and $\stackrel{\u0304}{d}$ is referred to as the mean distance between all pairs of neighbors in the network which is given by

### 5.2 Evaluation

This section presents the performance of the proposed algorithm through extensive simulations. We evaluate the MLE and GVL for each estimation. We adopt DV-Hop [11] for start-up of the proposed algorithm. Thus, the initial performance of the proposed algorithm indicates that of the DV-Hop algorithm. We set the movement coefficient *α* to 0.5. We compare the proposed algorithm with DV-Hop and MDS-MAP [20, 21]. The goal of the MDS-MAP is to produce a topology map that minimizes variance of links of all pairs of nodes in the network; whereas, the proposed algorithm minimizes variance of links of all pairs of local neighbors. In this article, we consider a network that consists of numerous nodes with a few anchors and the proposed algorithm performs refinement with neighboring nodes despite of the type of nodes. Thus, we do not compare the proposed algorithm with the algorithm focused on two-hop fashion in [14]. Since range-free schemes use topology information for location estimations, localization accuracy relies on how the network is configured.

Hence, we simulated varying node density, anchor ratio (number of anchors/total number of nodes), and node deployment method which are major factors to determine network configuration. Consider a network deployed in an experimental region of 20 m × 20 m. All nodes have an identical transmission range of 2 m. There is no node isolated from other nodes in the network. We evaluated the performances of the algorithms in 100 random topologies. The metrics are normalized to the transmission range. For detailed observations, we use a logarithmic scale on the *x* axis representing the number of estimations.

#### 5.2.1 Node density

Figures 1 and 2 show the results with respect to node density. We vary the number of nodes from 100 to 150 and anchor ratio is set to 10%. All the nodes are randomly deployed. As can be seen in the figures, the DV-Hop and MDS-MAP have lower MLEs as more nodes are deployed. Both algorithms assume that hop count between nodes is proportional to the distance. However, in sparse networks, holes are easily observed and lead to an increase of hop count between nodes; as a result, nodes overestimate the distances to others. While, the size and number of holes are reduced as the network becomes denser. This is why both algorithms perform better in dense networks. Each MLE of the two algorithms is close to another. With the proposed algorithm using the DV-Hop for the initial estimation, the MLEs decrease as the number of estimations increases. The MLEs converges to 0.92 *d*_{max} and 0.45 *d*_{max} in networks with 100 and 150 nodes, respectively, after approximately 10 estimations. The MLEs of the proposed algorithm decrease 0.27 *d*_{max} and 0.12 *d*_{max} from the initial in 100 and 150 nodes, respectively. The GVLs also converge after 10 estimations and reductions in the GVL of the proposed algorithm are approximately $0.16{d}_{\text{max}}^{2}$ and $0.06{d}_{\text{max}}^{2}$ in 100 and 150 nodes, respectively. Due to the assumption that hop count is proportional to the distance, differences in the GVL of the DV-Hop and MDS-MAP are small and larger GVL is obtained with sparser network.

#### 5.2.2 Anchor ratio

In this simulation, we capture the effect of anchors on the performance. The results are shown in Figures 3 and 4. In the experimental region, 150 nodes are randomly deployed and we vary anchor ratio from 5 to 15%. The results of the MDS-MAP are nearly identical irrespective of anchor ratio, whereas the DV-Hop has lower MLE when anchor ratio is higher. This is because there is a fundamental difference in location estimation of the two algorithms. The DV-Hop is based on the tri- or multi-lateration in which the location of each node is determined only with the distance estimations to anchors. The MDS-MAP uses the multidimensional scaling that produces a solution with the distance estimations to all other nodes. When anchor ratio is 5%, the proposed algorithm has 0.08 *d*_{max} and $0.065{d}_{\text{max}}^{2}$ reductions on the MLE and GVL, respectively. The reductions on the MLE and GVL of the proposed algorithm are 0.15 *d*_{max} and $0.05{d}_{\text{max}}^{2}$ respectively with 15% anchor ratio. The rate of reduction on the MLE grows as anchor ratio increases. The reason is that more nodes have perfectly accurate knowledge for their location estimations; as more anchors assist more nodes in locating themselves. However, the GVLs converge to a point of $0.065{d}_{\text{max}}^{2}$ irrespective of the anchor ratio. Compared with the result of 150 nodes and 10% anchor ratio in Figure 2, although the GVL converges more rapidly as more anchors are deployed, the convergence point of the GVL is similar, that is, it is determined by node density.

#### 5.2.3 Node deployment

We classify node deployment methods as random deployment for anisotropic topology and grid deployment for isotropic topology. According to the random deployment, nodes are randomly deployed with a uniform distribution. Thus, nodes have heterogeneous links. Most of the nodes may be placed in a specific region; some parts of the experimental region are covered with only a few nodes or none. On the other hand, nodes are deployed on grids in the grid deployment. The node degree (i.e., number of neighbors) of each node is close to the mean node degree of the network. The distances between neighbors are also similar. In this simulation, we deploy 120 nodes with 10% anchor ratio according to the node deployment methods.

The results are shown in Figures 5 and 6. With the assumption mentioned above, the DV-Hop and MDS-MAP work well on the grid deployment rather than on the random deployment. When node distribution follows the random deployment, the MLE and GVL of the proposed algorithm decrease 0.15 *d*_{max} and $0.08{d}_{\text{max}}^{2}$ from the initial, respectively. The reductions on the MLE and GVL of the proposed algorithm are 0.17 *d*_{max} and $0.08{d}_{\text{max}}^{2}$ with the grid deployment, respectively. The decrements on the MLE and GVL of the proposed algorithm according to the two methods are similar. However, when nodes are deployed with the grid deployment, the MLE and GVL of the proposed algorithm on the grid deployment reach convergence points after 6 estimations. In this section, we showed that the MLE can be diminished by reducing the variance of links between one-hop neighbors through extensive simulations. The proposed algorithm reaches stable states approximately after 10 estimations. Here, the number of estimations indicates communication cost. Thus, the proposed algorithm spends communication cost of *O*(*S*) for a refinement after start-up.

The DV-hop has a low computational complexity compared to proposed algorithm. It is because a solution is calculated at one calculation without iteration in the DV-hop. In case of the MDS-MAP and our algorithm, both the algorithms find out a solution iteratively. Thus, the computational complexity of the algorithms is higher than the DV-hop. The MDS-MAP produces a map that minimizes the difference among links of all pairs of nodes in the network. In the process, location estimates are refined iteratively. Since dissimilarities between all pairs of nodes are required to make the map, communication cost and computational complexity increase with respect to the number of nodes. Our algorithm also refines location estimates iteratively by mass spring method and Kalman filtering to minimize variance of links of all pairs of one-hop neighbors. The computational complexity is also increased with respect to the number of nodes. Thus, the proposed algorithm and MDS-MAP have the similar computational complexity and convergence rate.

## 6 Conclusion

In wireless ad hoc networks, many range-free schemes have been proposed to solve the localization problem by using connectivity between nodes as a distance metric. However, the connectivity cannot sufficiently reflect the distance between nodes. As a result, errors are produced in location estimations. We proposed a novel range-free algorithm using the mass spring method and Kalman filtering to find the location of a node which minimizes variance of links to all its neighbors. To the best of authors' knowledge, this is the first approach combining the mass spring method and Kalman filtering for range-free localization. Through simulations, we showed that location error is reduced as the variance of links decreases. We also showed that the proposed algorithm adapts well to various scenarios. However, the proposed algorithm has a drawback of heavy communication cost for information exchange. Reducing communication cost remains as our future study.

## References

- 1.
Rao B, Minakakis L: Evolution of mobile location-based services.

*Commun ACM*2003, 46(12):61-65. 10.1145/953460.953490 - 2.
Chong CY, Kumar SP: Sensor networks: evolution, opportunities, and challenges.

*Proc IEEE*2003, 91(8):1247-1256. 10.1109/JPROC.2003.814918 - 3.
Lee S, Lee C: Broadcasting in Mobile Ad-Hoc Networks. In

*Mobile Ad-Hoc Networks: Protocol Design*. Edited by: Wang X. InTech, India; 2011:579-594. - 4.
Nemra A, Aouf N: Robust INS/GPS sensor fusion for UAV localization using SDRE nonlinear filtering.

*IEEE Sensors J*2010, 10(4):789-798. - 5.
Dardari D, Conti A, Ferner U, Giorgetti A, Win MZ: Ranging with ultrawide bandwidth signals in multipath environments.

*Proc IEEE*2009, 97(2):404-426. - 6.
Chitte SD, Dasgupta S, Ding Z: Distance estimation from received signal strength under log-normal shadowing: bias and variance.

*IEEE Signal Process Lett*16(3):216-218. - 7.
Li X, Pahlavan K: Super-resolution TOA estimation with diversity for indoor geolocation.

*IEEE Trans Wirel Commun*2004, 3: 224-234. 10.1109/TWC.2003.819035 - 8.
Yang L, Ho KC: Alleviating sensor position error in source localization using calibration emitters at inaccurate locations.

*IEEE Trans Signal Process*2010, 58(1):67-83. - 9.
Shen Y, Win MZ: On the accuracy of localization systems using wideband antenna arrays.

*IEEE Trans Commun*58(1):270-280. - 10.
Shen Y, Win MZ: Fundamental limits of wideband localization-Part I: a general frame-work.

*IEEE Trans Inf Theory*2010, 56(10):4956-4980. - 11.
Niculescu D, Nath B: Ad Hoc Positioning System (APS).

*Proc of IEEE GLOBECOM, Texas, USA*2001, 5: 2926-2931. - 12.
Wang Y, Wang X: Range-free localization using expected hopprogress in wireless sensor networks.

*IEEE Trans Parallel Distrib Syst*2009, 20(10):1540-1552. - 13.
Howard A, Mataric MJ, Sukhatme G: Relaxation on a mesh: a formalism for generalized localization.

*Proc of IROS, Hawaii, USA*2001, 2: 1055-1060. - 14.
Sheu J, Chen P, Hsu C: A distributed localization schemefor wireless sensor networks with improved grid-scan and vector-based refinement.

*IEEE Trans Mobile Comput*2008, 7(9):1110-1123. - 15.
Priyantha NB, Balakrishnan H, Demaine E, Teller S: Anchor-free distributed localization in sensor networks.

*Tech Rep 892, MIT Lab For Comput Sci*2003. - 16.
Paul AS, Wan EA: RSSI-based indoor localization and tracking using sigma-point kalman smoothers.

*IEEE J Sel Top Signal Process*2009, 3(5):860-873. - 17.
Grewal MS, Andrews AP:

*Kalman Filtering: Theory and Practice Using Matlab*. John and Wiley sons, Ltd., New Jersey, USA; 2001. - 18.
Negenborn R: Robot Localization.

*Kalman Filters, M.S. thesis, Utrecht University*2003. [http://www.negenborn.net] - 19.
Eckert J, Villanueva F, German R, Dressler F: Distributed mass-spring-relaxation for anchor-free self-localization in sensor and actor networks.

*Proc of IEEE ICCCN, Hawaii, USA*2011, 1-8. - 20.
Shang Y, Ruml W, Zhang Y, Fromherz M: Location from MereConnectivity.

*Proc of ACM MobiHoc, Maryland, USA*2003, 201-212. - 21.
Shang Y, Ruml W: Improved MDS-based localization.

*Proc of IEEE INFOCOM, Hongkong*2004, 4: 2640-2651. - 22.
Bulusu N, Heidemann J, Estrin D: GPS-less low-cost outdoor localization for very small devices.

*IEEE Personal Commun*2000, 7(5):28-34. 10.1109/98.878533 - 23.
Kannan AA, Fidan B, Mao G: Robust distributed sensor network localization based on analysis of flip ambiguities.

*Proc of IEEE GLOBECOM, LA, USA*2008, 1-6.

## Acknowledgements

A preliminary version of this article was appeared in KICS (Korea Information and Communications Society) Journal 2010. This version includes a fully remodeled refinement algorithm and an extended analysis of the simulation results including other approach.

## Author information

## Additional information

### Competing interests

The authors declare that they have no competing interests.

## Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

## Rights and permissions

**Open Access** This article is distributed under the terms of the Creative Commons Attribution 2.0 International License (https://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

## About this article

### Cite this article

Lee, S., Woo, H. & Lee, C. Wireless sensor network localization with connectivity-based refinement using mass spring and Kalman filtering.
*J Wireless Com Network* **2012, **152 (2012). https://doi.org/10.1186/1687-1499-2012-152

Received:

Accepted:

Published:

### Keywords

- Kalman Filter
- Unknown Node
- Location Refinement
- Random Deployment
- Mass Spring