Next Article in Journal
A Four-Feet Walking-Type Rotary Piezoelectric Actuator with Minute Step Motion
Next Article in Special Issue
GSOS-ELM: An RFID-Based Indoor Localization System Using GSO Method and Semi-Supervised Online Sequential ELM
Previous Article in Journal
Application of a Portable Multi-Analyte Biosensor for Organic Acid Determination in Silage
Previous Article in Special Issue
Mixed Incoherent Far-Field and Near-Field Source Localization under Uniform Circular Array
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Hybrid DV-Hop Algorithm Using RSSI for Localization in Large-Scale Wireless Sensor Networks

by
Omar Cheikhrouhou
1,*,†,
Ghulam M. Bhatti
2 and
Roobaea Alroobaea
2
1
Department of IT, College of Computers and Information Technology, Taif University, At Taif 26571, Saudi Arabia
2
Department of Computer Science, College of Computers and Information Technology, Taif University, At Taif 26571, Saudi Arabia
*
Author to whom correspondence should be addressed.
Current Address: ISIMA, University of Monastir, Avenue Habib Bourguiba, Sidi Massoud -BP 49, Mahdia 5111, Tunisia.
Sensors 2018, 18(5), 1469; https://doi.org/10.3390/s18051469
Submission received: 4 March 2018 / Revised: 16 April 2018 / Accepted: 4 May 2018 / Published: 8 May 2018
(This article belongs to the Special Issue Applications of Wireless Sensors in Localization and Tracking)

Abstract

:
With the increasing realization of the Internet-of-Things (IoT) and rapid proliferation of wireless sensor networks (WSN), estimating the location of wireless sensor nodes is emerging as an important issue. Traditional ranging based localization algorithms use triangulation for estimating the physical location of only those wireless nodes that are within one-hop distance from the anchor nodes. Multi-hop localization algorithms, on the other hand, aim at localizing the wireless nodes that can physically be residing at multiple hops away from anchor nodes. These latter algorithms have attracted a growing interest from research community due to the smaller number of required anchor nodes. One such algorithm, known as DV-Hop (Distance Vector Hop), has gained popularity due to its simplicity and lower cost. However, DV-Hop suffers from reduced accuracy due to the fact that it exploits only the network topology (i.e., number of hops to anchors) rather than the distances between pairs of nodes. In this paper, we propose an enhanced DV-Hop localization algorithm that also uses the RSSI values associated with links between one-hop neighbors. Moreover, we exploit already localized nodes by promoting them to become additional anchor nodes. Our simulations have shown that the proposed algorithm significantly outperforms the original DV-Hop localization algorithm and two of its recently published variants, namely RSSI Auxiliary Ranging and the Selective 3-Anchor DV-hop algorithm. More precisely, in some scenarios, the proposed algorithm improves the localization accuracy by almost 95%, 90% and 70% as compared to the basic DV-Hop, Selective 3-Anchor, and RSSI DV-Hop algorithms, respectively.

1. Introduction

There has been an emerging interest in the field of context-aware computing and location-aware services [1,2,3,4], as a part of the Internet of Things (IoT), where the information on geographical location of the constituent nodes becomes an integral part of the sensor data. As a result, estimating the position of these nodes in the network has become an essential requirement for many applications of wireless sensor networks (WSN). The process of calculating or estimating the position of nodes in wireless sensor networks is known as localization.
Given the scarce resources and unstable operating environments, the localization of wireless sensor nodes is a challenging problem that is currently subject to active research. To localize wireless nodes precisely, efficient localization techniques are required. The traditional approaches to localization, such as the Global Positioning System (GPS)-based methods [5], manual measurement/calibration methods, etc., become infeasible due to a number of reasons including, but not confined to, prohibitively high monetary cost, unsuitability of technology (e.g., GPS-based solutions are not practical for covered/shadowed networks where satellite signals are not directly received), especially for large-scale wireless sensor networks.
In a typical localization scenario, all but a few wireless nodes in the network are initially unaware of their geographic position. Only a handful of wireless nodes, called anchor nodes, posses their location information, either through an automated GPS-based system or manual configuration, after getting deployed. The goal of a localization algorithm is to estimate the position of all non-anchor node (henceforth called sensor nodes) in the network by using the location information of the anchor nodes.
There has been numerous research efforts in the area of localization in WSN and thus many localization algorithms have been proposed in literature during recent years. These can broadly be classified as range-free and range-based localization algorithms. The latter category, as its name implies, is based on the range measurements between the neighboring wireless nodes. These measurements can be realized by using, for example, the time-of-arrival (TOA) method, time-difference of arrival (TDOA), or the received signal strength indicator (RSSI) method. For many researchers, the RSSI-based ranging is a preferable choice due to its relatively low cost. It has thus been widely used for the localization of wireless nodes without a need for the GPS system [6,7,8,9]. However, the RSSI measurements are sensitive to the environmental noise [10] that may lead to a lower localization accuracy.
As compared to range-based localization algorithms, where peer nodes only communicate with their immediate neighboring nodes, the multi-hop localization approach leverages the network topology for estimating the position of sensor nodes that are multiple hops away from the anchor nodes. This approach has the advantage of being able to locate wireless nodes even if these nodes are geographically multiple hops away from the anchors nodes. That may also require a reduced number of anchor nodes in a WSN. However, most multi-hop localization algorithms require strong connectivity between sensor nodes and high-density within the network in order to provide accurate location estimates.
One of the well-known multi-hop localization algorithms is the distance vector-hop (DV-Hop) algorithm [11]. This algorithm works in the following way. It first estimates the average distance per hop between all pairs of anchor nodes. Then, every sensor node estimates its distance from an anchor node by multiplying its hop-count from that anchor node and the average distance per hop. Once a sensor node’s distance from at least three anchor nodes becomes available, one can apply the triangulation method to calculate its estimated location. However, the DV-Hop algorithm results in poor localization accuracy because it uses average distance per hop that might be different from actual distance between the pair of sensor nodes. Moreover, in DV-Hop, if two nodes have the same hop-counts from anchor nodes, both will be assuming the same physical position, which may not be the correct estimate of their locations.
In this paper, we propose an enhanced DV-Hop algorithm, named as Hybrid DV-Hop algorithm, in order to alleviate these problems. The proposed algorithm uses the RSSI measurements between neighbor nodes to estimate distance. Moreover, we also allow the already localized sensor nodes to act as anchors for subsequent localization of remaining sensor nodes. Simulation results show that our localization algorithm outperforms the original DV-Hop algorithm and two of its variants, named as RSSI Auxiliary Ranging [12] and the Selective 3-Anchor DV-hop algorithm [13]. More precisely, in some of our test scenarios, the proposed algorithm improves the localization accuracy by up to 90% as compared to that of the original DV-Hop algorithm.
The remaining paper is organized as follows. We first provide a brief literature review for the reported work related to localization in wireless sensor networks in the next section. The DV-Hop algorithm is described in Section 3. Our proposed algorithm is then presented in Section 4. Our simulations are described in Section 5 that also includes the results from these simulations followed by a discussion on our findings. Finally, the conclusion and direction of our future work are presented in Section 6.

2. Related Work

Localization in wireless sensor networks has attracted a large number of researchers during the last years and, as a result, several localization algorithms have been proposed in the literature. These algorithms can broadly be categorized into two classes, i.e., range-based [14] and range-free [15] localization algorithms.
In the former approach, the distance between the target node and its neighboring anchor nodes is estimated by using one of several available techniques such as round-trip time of flight method, time of arrival (TOA) method [16,17,18,19,20], time difference of arrival (TDOA) method [19,21], etc. Once these distances have been determined, the triangulation technique can then be used to estimate the physical position of the target node. It is worth mentioning that every target node must have at least three anchors as its one-hop neighbors for it to be localized in two dimensions (i.e., on a plane). The accuracy of the estimated location, however, depends on how accurately the distances between the target sensor node and its neighboring anchors were calculated. The above mentioned methods, however, require specialized hardware, for example, to provide clock synchronization or ultra wide band (UWB) radios for capturing better signal-arrival time in the wireless sensor nodes in order to achieve a reasonable localization accuracy [22,23]. Another approach, popular with research community, due to its inexpensive and simple nature, is to use the received signal strength indicator (RSSI) for estimating the distance between the transmitter and receiver nodes [6,9,24]. However, this approach seriously suffers from estimation inaccuracies primarily due to the instable nature of the received radio signals. Under the dynamic environmental influences, significant fluctuations in the target metric (e.g., RSSI) take place resulting in large variations in the estimated distances.
The propagation of a wireless signal is mainly influenced by the particular channel being used for transmissions and the specific environment in which it is propagating. Researchers have proposed several methods for improving the accuracy of RSSI-based distance estimates. These RSSI-based localization methods can be classified as those based on fingerprinting and those using signal propagation modeling. The latter aspect requires better propagation model that captures the interference and fading caused by multi-path propagation and shadowing in a specific deployment area [25].
In the former approach, researchers have used the pre-measured distances at specific locations in the deployment area, a process known as fingerprinting [26,27]. The use of fingerprinting normally consist of two phases, i.e., an off-line phase, which is used to carry out RSSI measurements at pre-specified locations in the deployment area, and an on-line phase during which wireless sensor nodes are localized.
The fingerprinting-based localization algorithms, in fact, exploit the RSSI values at the target wireless node as a function of the mobile position as used during the off-line phase. The distances recorded through the fingerprinting phase can then be used for minimizing the effect of fluctuations in the RSSI values, by using, for example, least squared errors method [19] or by matching the actual signature of the RSSI with the corresponding entries stored in a database available at the anchors. The latter localization algorithm consists of DB-assistance, ration base algorithm, and an elementary machine learning algorithm. It was claimed that DB-Assisted Least Error algorithm stabilizes the unstable RSSI values and performs well as compared to traditional RSSI-based algorithms. More specifically, the fingerprints obtained from the database may be used as methods to overcome even some structural obstacles [6].
The fingerprinting can also be used for defining a better transmission loss model that builds a more realistic mathematical model capturing the environmental characteristics of the deployment area. As opposed to manually performed fingerprinting, some researchers have proposed automatic calibration of the wireless propagation model for indoor RSSI-based localization [9]. That approach of estimating the model parameters of path loss in the deployment area might be particularly useful for indoor localization. This approach assigns appropriate weights to the RSSI measurements according to their strength while defining a propagation model to map RSSI measurements into distances specifically in the target deployment area. The resulting model is subsequently used to map RSSI measurements into distances. Specifically, during the localization phase, the target node receives the beacons from anchor nodes, computes the corresponding RSSI, and sends it to a localization server, which, in turn, estimates the mobile node’s position.
Another approach to further improve fingerprinting-based localization is to use feedback from neighboring anchors. Specifically, after the distance between the target and anchor nodes is calculated, the feedback from neighboring anchor nodes is used to improve the accuracy of the calculated distance [7]. Some researchers have proposed a machine-learning-based localization for indoor applications with accesspoint (AP) selection and signal strength reconstruction scheme [8]. It assumes multiple wireless APs being active in the deployed network. It first selects the best anchor (i.e., an AP) based on the best RSSI value and then reconstructs the RSSI values for those anchors for which it has low RSSI values. That enhances algorithm’s robustness against noise. Some researchers have combined RSSI measurements with some auxiliary systems. For example, integrating RSSI measurements with inertial sensors has been claimed to improve the system performance [28].
Although range-based localization can achieve high accuracy, these algorithms require additional hardware (thus increasing the cost) and consume more energy. That bodes not so well for the wireless sensor nodes that are supposed to be low cost and have limited resources. Therefore, several localization solutions have proposed while using range free algorithms. These algorithms aim at estimating the location of a target node without requiring to estimate the pair-wise distances between the wireless nodes. One of the commonly used range free localization algorithm is DV-Hop [11], which exploits the network topology for computing the position of sensor nodes. Specifically, the DV-Hop algorithm first determines the hop-distance (i.e., the number of hops) between pairs of anchor nodes by discovering the shortest paths between them. Since the location coordinates for anchor nodes are pre-specified, these nodes can compute the average distance per hop along these paths by dividing the Cartesian distance between them by the corresponding number of hops. The sensor nodes, which know their hop-distance from anchors, can then use the average distance per hop for computing their estimated distance from every anchor in the network.
Due to the low positioning accuracy of the DV-Hop algorithm, researchers have proposed several improvements in the basic algorithm [12,13,29,30]. For example, an improved twice-refinement DV-Hop localization algorithm that uses the RSSI auxiliary ranging and an error correction mechanism based on target sensor node’s neighborhood centroid is claimed to have improved the localization accuracy [12]. This localization algorithm (referenced in what follows as RSSI DV-Hop algorithm), first estimates every sensor node’s position by using the basic DV-Hop algorithm. It then computes a positioning error model for each sensor node as the difference between the centroid of its neighboring nodes and its estimated position as computed above. This positioning error is then used in a maximum likelihood equation defined based on the distances between the target node and its neighbors using RSSI. In this algorithm, the target node is localized based only on the estimated position of its neighboring nodes without using anchor nodes. In contrast, our algorithm uses both the anchor as well as the neighbor nodes while localizing the target nodes. Moreover, in RSSI DV-Hop algorithm, the error in the estimated position might introduce inaccuracy because the algorithm assumes the centroid of neighboring nodes and the actual position of the node having the same coordinates, which might not necessarily be true.
Moreover, authors in [13] proposed a Selective 3-Anchor DV-hop algorithm. The idea of the Selective 3-Anchor DV-hop algorithm is to use only the 3 best anchors for each node instead of using all connected anchors. The selection of the best anchors is based on the connectivity (number of hops the node is far from anchor) of the node to anchors. In other words, the three nearest anchors (with low number of hops far from the node) will be selected and used for the triangulation.
The authors’ idea is based on the hypothesis that if two sensor nodes have similar connectivities, then they must have similar positions. However, this hypothesis is not always true as nodes might have same connectivity but different positions.
Some researchers aimed at studying the impacts of mobility on DV-Hop-based localization. It was shown that the performance of DV-Hop algorithm is significantly affected by mobility. Consequently, a mobility model was incorporated into the localization algorithm [29].

3. DV-Hop Algorithm

The Distance Vector-Hop (DV-Hop) algorithm [11] was proposed as a distributed localization algorithm based on distance vector between nodes. Rather than estimating the distance between neighboring wireless nodes by using ranging methods, this algorithm first calculates the actual distance between every pair of anchor nodes (since the coordinates of these nodes are known a priori). It then finds hop-distance (i.e., the number of hops) between every pair of anchors and calculates the average distance per hop along these paths. These distances are then used for localization of sensor nodes. Specifically, the localization process while using DV-Hop algorithm consists of the following three phases [11,13]:
  • Flooding: During the first phase, every anchor node, say A i , broadcasts a message containing its location coordinates and a hop-count field that is initially set to 0. The hop-count value will be incremented by other nodes every time the message is re-broadcasted.
    When a node N, being either anchor or sensor node, receives such a message for the first time, it records the position of A i , increments the hop-count value contained in the message, and initializes a local variable h o p i by the incremented value of hop-count. Here, h o p i represents the minimum number of hops between N and A i . If another copy of the same message originated from the same anchor A i is later received by N, it first retrieves the hop-count value from the just received message, gives it an increment, then compares it with the value of local variable h o p i . It updates the value of h o p i only if the new hop-count value is smaller than the current value of h o p i and then broadcasts the message with incremented value of hop-count field. Otherwise, it will simply ignore the message (without even re-broadcasting it). At the completion of this phase, all wireless nodes, anchors and non-anchors, will have their minimum hop distance from every anchor node in the network.
  • Calculating Average Distance/Hop: During the second phase, each anchor node, say A i , after receiving the location coordinates as well as the hop-count values of/from all other anchors, say A j , it computes the average distance per hop ( H o p s i z e A i ) by using the following equation:
    H o p s i z e A i = i j ( x i x j ) 2 + ( y i y j ) 2 i j h o p s i j
    where ( x i , y i ) represents anchor A i ’s coordinates, and h o p s i j the number of hops from A i to A j . All anchor nodes then broadcast their H o p s i z e in the network.
  • Estimating Node Position: After receiving the H o p s i z e A i values from an anchor node A i , a sensor node N can compute its estimated distance from the anchor node A i as the following:
    d i s t a n c e N , A i = H o p s i z e A i × h o p i
    where h o p i is the number of hops between N and A i . The sensor node N can finally use triangulation [31] to estimate its location after it computes its distance from at least three anchor nodes.
Although the DV-Hop algorithm enjoys the advantages of being simple, computationally less demanding, and low-cost (i.e., without requiring ranging), it suffers from low accuracy, especially in the low density networks. For example, a pair of nodes having the same hop-distance from all anchors (a scenario that is not very uncommon in wireless sensor networks), will have the same estimated position even though the two nodes, in reality, might be located far apart from each other.
In this paper, we propose two improvements to the DV-Hop algorithm aimed at increasing its accuracy. Specifically, we use the RSSI values for estimating the distance between anchor nodes and their immediate neighboring sensor nodes. These estimated distances are then used while localizing these nodes, rather than the average per-hop distances. Moreover, once a sensor node N gets localized, we subsequently use it as an anchor node while localizing the remaining sensor nodes. As our results indicate, our enhanced DV-Hop algorithm improves the localization accuracy significantly without sacrificing the simplicity, efficiency, and low-cost nature of the original DV-Hop algorithm.

4. Hybrid DV-Hop Algorithm

The RSSI-based localization algorithms, in contrast to their range-based counterparts, are very popular in the research community due to a number of attractive factors. For example, measuring the RSSI and passing it to higher stack layers is a standard feature in the modern wireless sensor nodes. The RSSI-based localization does not require any time-synchronization among nodes, the use of UWB radios for calculating more accurate time of arrival of radio signals, or the use of antenna arrays. It is simple and low-cost method to realize node localization in terms of both software and hardware [4]. On the other hand, the DV-Hop algorithm completely avoids estimating the actual distances between the one-hop neighbor nodes and exploiting these distances for more accurate localization in large scale wireless sensor networks.
As mentioned before, our hybrid algorithm uses two additional steps while localizing wireless nodes using DV-Hop algorithm. In the first step, we use the RSSI values for estimating distances between the anchor nodes and their one-hop neighboring sensor nodes and then use these distances thus estimated rather than using the average hop distance as done in the original DV-Hop algorithm. Since the MAC sub-layer in most of the modern wireless sensor nodes calculates RSSI value for every received packet and passes that value to higher layers, using the RSSI value does not require any special hardware or incur additional costs.
Second, after a sensor node N is localized, it is promoted to act as an anchor that is subsequently used for localizing other sensor nodes. The availability of additional (converted) anchor nodes improves the accuracy while localizing the remaining sensor nodes. That is especially helpful in wireless networks with lower anchor node density.
In the following sections, we first present the RSSI-based distance estimation and then explain our proposed method called Hybrid DV-Hop.

4.1. RSSI Based Distance Estimation

The path loss model of signal propagation is the key to the distance measurement between the transmitter and receiver nodes. It consists of measuring the power present in a radio signal as received at a node and calculating the propagation loss. That loss is then mapped into the distance by using a theoretical or an empirical path loss model. The received signal power of nodes for the log-normal shadow model is defined by [30]:
R S S ( d ) ( d B m ) = P t r P l o s s ( d 0 ) 10 τ log 10 d d 0 + X σ ,
where d means the distance between the transmitting and receiving nodes, R S S ( d ) indicates the signal power as received at a node located across a distance of d from the transmitting node, d 0 is the reference distance, P t r denotes the transmitted signal’s power, P l o s s ( d 0 ) means the signal power loss across the reference distance d 0 , τ is the path loss exponent whose value depends on the medium of propagation, and X σ is the noise, which is described as a Gaussian random variable with zero as its mean and σ as the standard deviation.
Our experiments indicate that the estimated distance between neighbor nodes (hop-count = 1) using the RSSI values is more accurate than the average distance per hop as used in DV-Hop algorithm. Therefore, we have used the RSSI values to estimate the distance between the anchor nodes (both the original and the converted anchors) and their immediate neighboring sensor nodes.

4.2. Proposed Localization Algorithm

In the basic DV-Hop algorithm, the distance of individual sensor nodes from the anchor nodes are estimated by using average distance per hop. Since there may be significant discrepancy between these estimated and corresponding actual distances, the subsequent step of position estimation of each sensor node by triangulation would introduce large errors in the estimated positions. After doing a set of experiments, we noticed that, for nodes that are one hop away from an anchor, the distance estimated using RSSI is more accurate than the distance estimated using H o p s i z e . For this reason, in our enhanced algorithm, we propose to localize one-hop sensor node using RSSI-based distance rather than the H o p s i z e -based distance. Therefore, when a node is directly connected to (i.e., is one-hop neighbor of) at least three different anchors, its location is computed by using triangulation based only on the RSSI-based estimated distances from these anchors. For other nodes, we use anchors and already localized neighbors. Indeed, in our proposed hybrid DV-Hop scheme, once a sensor node is localized, it is used as an anchor node while localizing its neighbor sensor nodes. Using the “converted” anchors too, provides us with additional anchors for use in the triangulation equation that results in an improved localization accuracy.
Moreover, during our experiments, we noticed that the nodes closer to anchors have higher localization accuracy as compared to the nodes farther away from the anchors nodes. In order to exploit that advantage, we proposed that the wireless sensor nodes be localized in a progressive manner such that nodes near anchors are localized first.
The localization process consists of three phases: (1) the Flooding phase; (2) the average distance per hop estimation; (3) the sensor node position estimation. Phase (1) and (2) are done by anchor nodes, however; phase (3) is done by the sensor node to be localized and its different steps are described in Algorithm 1.
The flooding phase and the Calculating Average Distance per Hop phase are similar to the ones described in Section 3. After the end of these phases, each node knows the list of reachable anchor with their coordinates, their H o p s i z e , and the number of hop-count away from each reachable anchor.
Then, the localization process of unknown nodes is initiated by the anchors. More precisely, each anchor send a L o c S t a r t M s g message to their neighbors in order to start the localization. The L o c S t a r t M s g message contains mainly the following field: L o c S t a r t M s g = { n o d e I D , T y p e , n o d e C o o r d i n a t e } , where n o d e I D represents the identity of the node sending the message, T y p e specifies either the node is anchor or no and n o d e C o o r d i n a t e the coordinates of the node, which are real coordinates for anchor nodes and estimated coordinates for other sensor nodes. Each node receiving this message, first estimates its position and then forwards the message to their neighbors. By this technique, we ensure that the nodes closest to the anchor nodes are localized first and that the localization is done progressively.
Every node that receives this message memorizes the identity of the neighbor node and its estimated position. Once a node has at least three anchors and/or neighbors, it could compute its location using triangulation.
Note that, every node maintains a L o c T a b l e that, initially, contains the list of reachable anchors with their coordinates and H o p s i z e . This information is obtained from the phases (1) and (2). This table is updated each times the node receives a L o c S t a r t M s g message from a neighbor by storing the n o d e I D and the n o d e C o o r d i n a t e of the neighbor node in this table.
Algorithm 1 summarizes the proposed Hybrid DV-Hop algorithm (phase 3). Step 1 to 9, the sensor nodes estimate the distance to each reachable anchor. As already mentioned, if the anchor is a neighbor to the sensor node (hop-count = 1), then the RSSI technique is used to estimate the distance, otherwise, the distance is estimated using the H o p s i z e (as in the original DV-Hop algorithm). Then, when a node receives a L o c S t a r t M s g (step 10), it first updates its L o c T a b l e (step 11). Then the node checks if it has at least three available one-hop anchors. If it is the case, the position is estimated using triangulation and these estimated distances (step 13–14). In the other case, the node will serve with already localized neighbors. For this purpose, it first estimates distance to these neighbors using RSSI (step 18), and then uses triangulation and list of available nodes in L o c T a b l e (anchors+neighbors) to estimate its position.
Algorithm 1 Proposed Algorithm (Hybrid DV-Hop)
Input: List of reachable Anchors { A i , 1 < i < n }, with their coordinates and H o p s i z e
Output: Estimated position of unknown node N
 1: for each anchor A i , 1 < i < n do
 2:  if A i is neighbor to N (hopCount==1) then
 3:   %use RSSI to estimate distance to A i
 4:    d i s t a n c e N , A i = g e t D i s t a n c e ( R S S I N , A i )
 5:  else
 6:   %use H o p s i z e A i to estimate distance to A i
 7:    d i s t a n c e N , A i = H o p s i z e A i * h o p i
 8:  end if
 9: end for
 10: if Received L o c S t a r t M s g message then
 11:  Add n o d e I D and n o d e C o o r d i n a t e to L o c T a b l e .
 12:  nbAnch=number of one-hop anchors (hopCount==1)
 13:  if nbAnch >=3 then
 14:    E s t i m a t e d P o s i t i o n N =Triangulation ( A i , 1 < i < n b A n c h )
 15:  else
 16:   nbNeig= number of already localized neighbors
 17:   { N e i g i , 1 < i < n b N e i g } = the set of already localized neighbors
 18:   Use RSSI to estimate distance to N e i g i , 1 < i < n b N e i g
 19:    E s t i m a t e d P o s i t i o n N =Triangulation ( A i , 1 < i < n b A n c h , N e i g i , 1 < i < n b N e i g )
 20:  end if
 21:  Communicate the estimated position of N to its neighbors
 22: end if
The use of neighbors as extra anchors permits to increase the estimation ratio (number of estimated nodes per total number of nodes) as the nodes that are not connected to three anchors (minimum number of input to the triangulation) could not be estimated without using their neighbors as extra anchors. Moreover, the experiments show that the use of extra input to the triangulation function increases the localization accuracy. Finally (step 21), the sensor node sends its estimated position in a L o c S t a r t M s g to their neighbors except those from where it already receives a L o c S t a r t M s g (as they are already localized).

5. Performance Evaluation

In this section, we present our simulation results for the proposed hybrid DV-Hop algorithm. We first offer a brief discussion on the results for three performance parameters and then compare our algorithm’s performance to two existing improvements to the original DV-Hop algorithm. Specifically, we have examined the performance of all four algorithms in terms of three different performance parameters including localization error vs radio transmission range, localization error vs anchor rate (i.e., number of anchors), and localization error vs network density (i.e., number of sensor nodes).
System Model: In our first simulation, we have used a wireless sensor network consisting of fixed number of sensor nodes being 100. These nodes were randomly deployed in an area of 100 × 100 m2. In order to study the performance of algorithms according to radio transmission range (respectively anchor rate), we select a fixed value of anchor rate (respectively transmission range) and then we vary the value of the transmission range (respectively anchor rate). Also, since both the sensor and anchor nodes in modern WSNs essentially have the same radio, power, and computational (i.e., micro-processor, RAM, ROM, etc.) profiles, we assume all nodes in the network having the similar characteristics. We also assume symmetric links among neighboring nodes, i.e., if node A i can receive a packet transmitted by A j , then vice versa is also true. We used Matlab for implementing our simulations.
During these simulations, the number of anchor nodes and the radio transmission range vary in (10%, 20%, 30%, 40%, 50%) and 20 m to 50 m, respectively. Table 1 summarizes the different parameters used in each Figure. For each simulation scenario, we repeat the experiment ten times with new randomly generated nodes locations.

5.1. Localization Error vs. Transmission Range

The first set of our experiments was aimed at studying the correlation between the radio transmission range and the localization error (in meters) as depicted in Figure 1. Due to the space limit, we targeted two scenarios having different number of anchor nodes. Specifically, the results reported in Figure 1a were achieved by using low level of anchor rate 10% while the system used in Figure 1b had high level of anchor rate 50%. As evident from these plots, for our proposed hybrid DV-Hop algorithm, the localization error reduces as the transmission range increases. This is logical as the increase of the transmission range results in higher number of one-hop anchor nodes and the RSSI factor plays its role in improving the accuracy in the location estimation.
However, for the other DV-Hop schemes the localization error increases with the transmission range. This can be justified by the fact that even sensor nodes that are far from the anchors will reach these anchors and will be estimated, however, they will have relatively large estimation error. In other words, both estimation rate (number of estimated nodes) and estimation error will increase. This problem is avoided in our proposed hybrid DV-Hop scheme as the estimation will be based on neighbor nodes and not far-from anchor nodes.
It is also worth noting that for the systems with lower number of anchors, as shown in (Figure 1a), the Basic DV-Hop scheme outperforms the Selective 3-Anchor scheme as this latter will not have enough anchor to select from them. However, with higher number of anchor (Figure 1b) the Selective 3-Anchor scheme performs better than the basic DV-Hop.

5.2. Localization Error vs. Anchor Population

In the second set of simulations, we studied the effect of anchor population on the accuracy of estimation. The results are presented in Figure 2. Again, we targeted two different scenarios; one with transmission range 20 m and the other with 30 m. As expected, the accuracy in the estimated positions improves as the number of anchor nodes in the network increases. Increased number of anchors, in fact, offers more input to the triangulation equation and, thus, results in better precision. It is clear from Figure 2 that the localization error sharply decreases as the number of anchors increases for all the three algorithms (RSSI DV-Hop, Hybrid DV-Hop and Selective 3-Anchor). More precisely, for the case when the transmission range is kept constant at 20 m and the anchor population is varied from 10% to 50%, the localization error decreases from 6.3 m, 6.6 m, and 11.8 m to 0.6 m, 1.3 m, and 3 m for the Hybrid DV-Hop, the RSSI DV-Hop, and the Selective 3-Anchor algorithms, respectively. For the basic DV-Hop scheme, it gives the best result with 20% anchor rate. Then the localization error increases, slightly, with anchor rate. This can be explained that additional anchors will introduce additional error. Moreover, the Hybrid DV-Hop algorithm improves the accuracy of Basic DV-Hop algorithm from almost 50% to 90% when the anchor rate varies from 10% to 50%.

5.3. Localization Error vs. Node Density

During these experiments, the number of sensor nodes was varied between 20 and 100 nodes. The transmission range was fixed to 20 m. We targeted four different scenarios while configuring the network with different values of anchor population (i.e., 10%, 20%, 30% and 40% of the total number of sensor nodes). The results are presented in Figure 3. It is interesting to note that as the number of sensor nodes increases, the localization error decreases. That can be attributed to the fact that higher sensor node density results in the increased number of one-hop neighbors and that, in turn, offers increased input to the triangulation function, which produces improved location estimation.
For low value of anchor rate (10% and 20%) and low number of sensor nodes (20 nodes), no node could be estimated and therefore, we could not report result in such case (Figure 3a,b).
For low anchor rate, the basic DV-Hop scheme performs better than the Selective 3-Anchor scheme. This can be justified by the fact that with low number of anchors the scheme has fewer anchors to select between them. For higher value of anchor rate (30% and 40%), the Selective 3-Anchor scheme start performing better than the basic DV-Hop scheme with a higher density of nodes. More precisely, for anchor rate 30% (respectively 40%), when number of node is 60 (respectively 50) the Selective 3-Anchor scheme start performing better than the basic DV-Hop scheme.

5.4. Performance Comparison: Hybrid DV-Hop vs. DV-Hop, RSSI DV-Hop and Selective 3-Anchor Algorithms

In order to highlight the performance improvements brought in by our hybrid DV-Hop algorithm, we now compare its performance with that of the basic DV-Hop algorithm and two other variants (improvements) of the DV-Hop algorithm. For this purpose we selected two recently published works, namely RSSI Auxiliary Ranging [12] and the Selective 3-Anchor DV-hop algorithm [13].
As already described in the related work Section, the RSSI DV-Hop scheme is based on RSSI Auxiliary Ranging and the Selective 3-Anchor DV-hop algorithm is based on the selection of the best 3 anchors. As shown in all three previous figures, the proposed hybrid algorithm out-performed both the original DV-Hop as well as the RSSI DV-Hop and the Selective 3-Anchor algorithms in terms of localization accuracy consistently in all three tested scenarios. In particular, the proposed hybrid algorithm offers an improvement to the original DV-Hop one that reaches almost 90% in some scenarios as depicted by Figure 1.
It can also be noticed that, for anchor rate equal to 50% and transmission range equal to 50 m Hybrid DV-Hop improves the localization accuracy of the original DV-Hop, Selective 3-Anchor, and the RSSI DV-Hop algorithms by almost 95%, 90% and 70% respectively (Figure 1b). Moreover, for transmission range equal to 30 m and anchor rate equal to 50%, Hybrid DV-Hop improves the localization accuracy of the original DV-Hop, Selective 3-Anchor, and the RSSI DV-Hop algorithms by almost 94%, 90% and 65% respectively (Figure 2b).

6. Conclusions

We have proposed an improved version of DV-Hop localization algorithm, named as Hybrid DV-Hop algorithm, that leverages the RSSI values while localizing the sensor nodes in the immediate neighborhood of the anchor nodes. Since most of the modern wireless sensor nodes offer RSSI value for the received data packets, the proposed algorithm incurs no additional cost in terms of new hardware components or sub-stems. Moreover, the proposed algorithm localizes the sensor nodes in a progressive manner that allows the previously localized sensor nodes to act as anchors while localizing the remaining sensor nodes. We have studied and compared the performance of the proposed algorithm with the basic DV-Hop algorithm and two recently published variants of it, namely RSSI Auxiliary Ranging [12] and the Selective 3-Anchor DV-hop algorithm [13]. The performance evaluation of the four algorithms through simulations indicated that the proposed algorithm significantly outperforms its counterparts. More precisely, the proposed Hybrid DV-Hop algorithm improves the localization accuracy in some scenarios by almost 95%, 90% and 70% as compared to the basic DV-Hop, Selective 3-Anchor, and RSSI DV-Hop algorithms, respectively.

Author Contributions

O.C. conceived the basic idea of the proposed Algorithm. It evolved into the final form, as presented in this paper, with discussions and contributions from G.M.B. O.C. implemented the experiments with contributions from G.M.B. Both O.C. and G.M.B. wrote the manuscript with feedback from R.A. who also reviewed the manuscript.

Acknowledgments

The authors would like to thank the anonymous reviewers for their careful reading of the manuscript and their many insightful comments and suggestions. This work was supported and funded by Taif University, KSA under internal project number 1-437-5230. For that the authors are grateful.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
DV-HopDistance Vector Hop
GPSGlobal Positioning System
MACMedia Access Control
RSSIReceived Signal Strength Indicator
WSNWireless Sensor Network

References

  1. Piccialli, F.; Chianese, A. The Internet of Things Supporting Context-Aware Computing: A Cultural Heritage Case Study. Mob. Netw. Appl. 2017, 22, 1–12. [Google Scholar] [CrossRef]
  2. Liang, T.Y.; Li, Y.J. A Location-Aware Service Deployment Algorithm Based on K-Means for Cloudlets. Mob. Inf. Syst. 2017, 2017, 8342859. [Google Scholar] [CrossRef]
  3. Halder, S.; Ghosal, A. A survey on mobility-assisted localization techniques in wireless sensor networks. J. Netw. Comput. Appl. 2016, 60, 82–94. [Google Scholar] [CrossRef]
  4. Cheikhrouhou, O. Secure Group Communication in Wireless Sensor Networks: A survey. J. Netw. Comput. Appl. 2016, 61, 115–132. [Google Scholar] [CrossRef]
  5. Grewal, M.S.; Weill, L.R.; Andrews, A.P. Global Positioning Systems, Inertial Navigation, And Integration; John Wiley & Sons: Hoboken, NJ, USA, 2007. [Google Scholar]
  6. Jung, J.; Kim, K.; Yoo, S.; Bae, M.; Lee, S.K.; Kim, H. RSSI localization with DB-Assisted Least Error algorithm. In Proceedings of the 2015 Seventh International Conference on Ubiquitous and Future Networks, Sapporo, Japan, 7–10 July 2015; pp. 338–343. [Google Scholar]
  7. Dang, X.; Hei, Y.; Hao, Z. An improved indoor localization based on RSSI and feedback correction of anchor node for WSN. In Proceedings of the 2016 International Conference on Computer, Information and Telecommunication Systems (CITS), Kunming, China, 6–8 July 2016; pp. 1–5. [Google Scholar]
  8. Cheng, Y.K.; Chou, H.J.; Chang, R.Y. Machine-Learning Indoor Localization with Access Point Selection and Signal Strength Reconstruction. In Proceedings of the 2016 IEEE 83rd VTC Spring, Nanjing, China, 15–18 May 2016. [Google Scholar]
  9. Barsocchi, P.; Lenzi, S.; Chessa, S.; Giunta, G. A novel approach to indoor RSSI localization by automatic calibration of the wireless propagation model. In Proceedings of the IEEE 69th Vehicular Technology Conference, Barcelona, Spain, 26–29 April 2009; pp. 1–5. [Google Scholar]
  10. Whitehouse, K.; Karlof, C.; Culler, D. A practical evaluation of radio signal strength for ranging-based localization. ACM SIGMOBILE Mob. Comput. Commun. Rev. 2007, 11, 41–52. [Google Scholar] [CrossRef]
  11. Niculescu, D.; Nath, B. DV based positioning in ad hoc networks. Telecommun. Syst. 2003, 22, 267–280. [Google Scholar] [CrossRef]
  12. Xie, H.; Li, W.; Li, S.; Xu, B. An improved DV-Hop localization algorithm based on RSSI auxiliary ranging. In Proceedings of the 2016 35th Chinese Control Conference (CCC), Chengdu, China, 27–29 July 2016; pp. 8319–8324. [Google Scholar]
  13. Gui, L.; Val, T.; Wei, A.; Dalce, R. Improvement of range-free localization technology by a novel DV-Hop protocol in wireless sensor networks. Ad Hoc Netw. 2015, 24, 55–73. [Google Scholar] [CrossRef] [Green Version]
  14. Dil, B.; Dulman, S.; Havinga, P. Range-based localization in mobile sensor networks. In Wireless Sensor Networks; Springer: Berlin, Germany, 2006; pp. 164–179. [Google Scholar]
  15. He, T.; Huang, C.; Blum, B.M.; Stankovic, J.A.; Abdelzaher, T. Range-free localization schemes for large scale sensor networks. In Proceedings of the 9th ACM Annual International Conference on Mobile Computing and Networking, San Diego, CA, USA, 14–19 September 2003; pp. 81–95. [Google Scholar]
  16. Wei, H.W.; Wan, Q.; Chen, Z.X.; Ye, S.F. A novel weighted multidimensional scaling analysis for time-of-arrival-based mobile location. IEEE Trans. Signal Process. 2008, 56, 3018–3022. [Google Scholar] [CrossRef]
  17. Cheung, K.W.; So, H.C.; Ma, W.K.; Chan, Y.T. Least Squares Algorithms for Time-of-Arrival-Based Mobile Location. IEEE Trans. Signal Process. 2004, 52, 1121–1130. [Google Scholar] [CrossRef]
  18. So, H.; Chan, F. A generalized subspace approach for mobile positioning with time-of-arrival measurements. IEEE Trans. Signal Process. 2007, 55, 5103–5107. [Google Scholar] [CrossRef]
  19. Huang, Y.; Benesty, J.; Elko, G.W.; Mersereati, R.M. Real-time passive source localization: A practical linear-correction least-squares approach. IEEE Trans. Speech Audio Process. 2001, 9, 943–956. [Google Scholar] [CrossRef]
  20. Hatler, M.; Gurganious, D.; Chi, C. Industrial Wireless Sensor Networks: A Market Dynamics Report; On World: San Diego, CA, USA, 2012. [Google Scholar]
  21. Xiao, J.; Ren, L. Research of TDOA Based Self-localization Approach in Wireless Sensor Network. In Proceedings of the 2006 IEEE/RSJ International Conference on Intelligent Robots and Systems, Beijing, China, 9–15 October 2006. [Google Scholar]
  22. Meissner, P.; Arnitz, D.; Gigl, T.; Witrisal, K. Analysis of an Indoor UWB Channel for Multipath-Aided Localization. In Proceedings of the IEEE International Conference on Ultra-Wideband (ICUWB), Bologna, Italy, 14–16 September 2011. [Google Scholar]
  23. Meissner, P.; Witrisal, K. Analysis of Position-Related Information in Measured UWB Indoor Channels. In Proceedings of the 6th European Conference on Antennas and Propagation (EuCAP), Prague, Czech Republic, 26–30 March 2012. [Google Scholar]
  24. Girod, L.; Bychovskiy, V.; Elson, J.; Estrin, D. Locating tiny sensors in time and space. In Proceedings of the 2002 IEEE International Conference on Computer Design: VLSI in Computers and Processors, Freiberg, Germany, 18 September 2002; pp. 214–219. [Google Scholar]
  25. Merhi, Z.; Nahas, M.; Abdul-Nabi, S.; Haj-Ali, A.; Bayoumit, M. RSSI Range Estimation for Indoor Anchor Based Localization for Wireless Sensor Networks. In Proceedings of the 25th International Conference on Microelectronics(ICM), Beirut, Lebanon, 15–18 December 2013. [Google Scholar]
  26. Li, Q.; Li, W.; Sun, W.; Li, J.; Liu, Z. Fingerprint and Assistant Nodes Based Wi-Fi Localization in Complex Indoor Environment. IEEE Access 2016, 4, 2993–3004. [Google Scholar] [CrossRef]
  27. Robles, J.J.; Deicke, M.; Lehnert, R. 3D fingerprint-based localization for wireless sensor networks. In Proceedings of the 7th IEEE Workshop on Positioning Navigation and Communication (WPNC), Dresden, Germany, 11–12 March 2010; pp. 77–85. [Google Scholar]
  28. Zhang, R.; Xia, W.; Jia, Z.; Shen, L. The Indoor localization Method Based on the Integration of RSSI and Inertial Sensor. In Proceedings of the IEEE 3rd Global Conference on Consumer Electronics, Tokyo, Japan, 7–10 October 2014; pp. 332–336. [Google Scholar]
  29. Han, G.; Chao, J.; Zhang, C.; Shu, L.; Li, Q. The impacts of mobility models on DV-Hop based localization in Mobile Wireless Sensor Networks. J. Netw. Comput. Appl. 2014, 42, 70–79. [Google Scholar] [CrossRef]
  30. Xu, Y.; Luo, X.; Wang, W.; Zhao, W. Efficient DV-HOP Localization for Wireless Cyber-Physical Social Sensing System: A Correntropy-Based Neural Network Learning Scheme. Sensors 2017, 17, 135. [Google Scholar] [CrossRef] [PubMed]
  31. Hartley, R.I.; Sturm, P. Triangulation. Comput. Vis. Image Underst. 1997, 68, 146–157. [Google Scholar] [CrossRef]
Figure 1. Localization error vs. transmission range. (a) Anchors Rate = 10%; (b) Anchors Rate = 50%.
Figure 1. Localization error vs. transmission range. (a) Anchors Rate = 10%; (b) Anchors Rate = 50%.
Sensors 18 01469 g001
Figure 2. Localization error vs anchor rate. (a) Transmission range = 20 m; (b) Transmission range = 30 m.
Figure 2. Localization error vs anchor rate. (a) Transmission range = 20 m; (b) Transmission range = 30 m.
Sensors 18 01469 g002
Figure 3. Localization error vs Number of nodes. (a) Anchor Rate = 10%; (b) Anchor Rate = 20%; (c) Anchor Rate = 30%; (d) Anchor Rate = 40%.
Figure 3. Localization error vs Number of nodes. (a) Anchor Rate = 10%; (b) Anchor Rate = 20%; (c) Anchor Rate = 30%; (d) Anchor Rate = 40%.
Sensors 18 01469 g003
Table 1. Simulation parameters.
Table 1. Simulation parameters.
Number of NodesAnchor RateTransmission RangeEnvironment Dimension
Figure 110010% and 50%Variable100 m × 100 m
Figure 2100Variable20 m and 30 m100 m × 100 m
Figure 3Variable10%, 20%, 30% and 40%20 m100 m × 100 m

Share and Cite

MDPI and ACS Style

Cheikhrouhou, O.; M. Bhatti, G.; Alroobaea, R. A Hybrid DV-Hop Algorithm Using RSSI for Localization in Large-Scale Wireless Sensor Networks. Sensors 2018, 18, 1469. https://doi.org/10.3390/s18051469

AMA Style

Cheikhrouhou O, M. Bhatti G, Alroobaea R. A Hybrid DV-Hop Algorithm Using RSSI for Localization in Large-Scale Wireless Sensor Networks. Sensors. 2018; 18(5):1469. https://doi.org/10.3390/s18051469

Chicago/Turabian Style

Cheikhrouhou, Omar, Ghulam M. Bhatti, and Roobaea Alroobaea. 2018. "A Hybrid DV-Hop Algorithm Using RSSI for Localization in Large-Scale Wireless Sensor Networks" Sensors 18, no. 5: 1469. https://doi.org/10.3390/s18051469

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop