Abstract
Location information acquisition is crucial for many wireless sensor network (WSN) applications. While existing localization approaches mainly focus on 2D plane, the emerging 3D localization brings WSNs closer to reality with much enhanced accuracy. Two types of 3D localization algorithms are mainly used in localization application: the range-based localization and the range-free localization. The range-based localization algorithm has strict requirements on hardware and therefore is costly to implement in practice. The range-free localization algorithm reduces the hardware cost but at the expense of low localization accuracy. On addressing the shortage of both algorithms, in this paper, we develop a novel hybrid localization scheme, which utilizes the range-based attribute RSSI and the range-free attribute hopsize, to achieve accurate yet low-cost 3D localization. As anchor node deployment strategy plays an important role in improving the localization accuracy, an anchor node configuration scheme is also developed in this work by utilizing the MIS (maximal independent set) of a network. With proper anchor node configuration and propagation model selection, using simulations, we show that our proposed algorithm improves the localization accuracy by 38.9% compared with 3D DV-HOP and 52.7% compared with 3D centroid.
1. Introduction
Knowing the accurate position of a certain object is crucial for many context aware applications in wireless sensor networks (WSNs), such as target tracking, geographic routing, and even energy management [1–3]. Therefore, many localization algorithms and related systems are proposed by leveraging different techniques towards the accurate and practical localization in WSNs. A detailed survey on location, localization, and localizability in WSNs can be found in [4].
The earliest attempt for 3D space localization is based on trilateration. The position of an unknown node can be determined based on the known coordinates of four reference nodes which are not in the same plane and the precise distances to them. Although absolutely accurate distances are generally unprocurable in practice, the Euclidean distance between two nodes in a wireless sensor network can be estimated by their shortest path with the per hop distance measured by received signal strength indicator (RSSI) or time difference of arrival (TDOA) or simply assumed as a constant.
With regard to the mechanisms used for estimating location in 3D environment, existing literature can be mainly grouped into two categories: range-based [5, 6] and range-free [7, 8] algorithms. The range-based algorithm is featured by the relatively high hardware requirements. Landscape-3D [9] is the first robust 3D range-based localization algorithm, in which the localization accuracy heavily relies on the expensive mobile beacon. The range-free algorithms are normally using connectivity information [10, 11] only to achieve localization, such as centralized algorithms 3D multidimensional scaling-map (3D MDS-MAP) [12], 3D DV-HOP [13], and 3D centroid [14], which are modified from 2D-plane scenarios. These approaches achieve coarse-grained localization at the cost of high computational complexity.
Recently, there has been growing interest in localization protocols that utilize the network topology characteristic [15]. CATL [12] splits the whole rugged network into several subsections and then carries out the localization in each subnetwork. It optimized the anchor node configuration to improve localization accuracy. Considering the node deployment strategy [16], the 3D range-free techniques always have strict network connectivity requirements, making them unsuitable for the large scale sensor networks.
In this paper, we propose a hybrid localization approach to overcome the shortage of range-free and range-based algorithms, by combining RSSI value and hop distance for 3D WSN localization, henceforth referred to as 3D-RDH algorithm. Our proposal utilizes the range-free technique by blending the RSS information under a proper selected model. As RSS data can be easily collected with current off-the-shelf equipment, it is the basis of many popular techniques for inferring the relative positions of the nodes in a WSN, whereas DV-HOP uses the network connectivity information to estimate unknown node location, especially considering the connectivity of 3D sensor network much higher than the 2D case. Inspired by the idea of virtual backbone [17] of a wireless sensor network, we place anchor nodes in the network based on maximum independent set (MIS) of the network to further improve the localization accuracy. Experimental results show that our proposal can achieve much higher localization accuracy compared with existing proposals.
Towards the accurate localization, a key is to identify the hybrid approach of localization and extract a graph of the network for anchor node configuration during deployment, which is, however, often impractical to achieve in reality. This is attributed to many fundamental engineering challenges as follows. Firstly, there is a lack of understanding of selecting proper localization techniques. Secondly, there are available schemes from the computer graphics community to find an independent set. They target high connectivity and low cost. The network is discrete and a sensor node can only obtain local information via message exchanges. A low communication complexity scheme to identify a MIS is necessarily required considering the limited resource of each sensor node. Lastly, since an independent set is discrete and arbitrary, it is not easy to clearly specify which nodes in a MIS can be selected as the anchor nodes. In this paper, we address the aforementioned challenges in one framework.
Our key contributions can be summarized in three key points.
We develop an improved maximum independent set construction algorithm for a WSN considering communication complexity. We also prove that nodes chosen from a MIS are sufficient for anchor nodes configuration. A hybrid localization scheme is proposed to achieve 3D localization, which utilizes the range-based attribute RSSI to correct the range-free attribute hopsize. Via high fidelity simulations, we show that 3D-RDH algorithm can achieve much higher localization accuracy compared with other existing localization approaches in 3D environment.
The remainder of this paper is organized as follows. Section 2 outlines the previous algorithms carried out on DV-HOP localization and some problems of this traditional algorithm. Then the 3D-RDH algorithm is introduced in Section 3; it consists of four parts: anchor nodes deployment, RSSI model selection, the hop distance revision, and the whole procedure of the algorithm. Section 4 presents a description of the simulation scenarios and results. Algorithm performance evaluation in terms of accuracy and network connectivity is also discussed in this part. Finally, the conclusion and future work are discussed in Section 5.
2. Related Work
2.1. DV-HOP Algorithm
DV-HOP algorithm [18] is proposed by Niculescu and Nath in the Navigate project. It can be divided into three steps. Firstly, each anchor node broadcasts a beacon to be flooded throughout the network. Then all nodes can obtain the shortest hop count away from each anchor. Next, each anchor node calculates its own average single hopsize based on the following equation,
2.2. Problems of DV-HOP Algorithm in Real Practice
DV-HOP algorithm provides an effective localization in large scale WSNs. However, it still faces several challenges. First, the approach of accumulating the hop count is rough. DV-HOP algorithm views the hop count between arbitrary two neighboring nodes as 1, regardless of the real distance between them. Besides that, the average hopsize calculated from the rough hop count can lead to an inaccurate estimated distance between an anchor node and an unknown node. The estimated coordinates of unknown nodes may also be incorrect.
To address these challenges, there are many algorithms proposed to improve the DV-HOP algorithm in 2D environment. Literature [19] requires the anchor nodes deploying at the boundary of the network, so that the average hop distance can be improved, while literature [20] focuses on the range correction. The improved algorithm proposed in [20] enhances the localization accuracy by calculating the distance between the unknown node and anchor nodes based on multiplying the distance correction factor.
These algorithms mentioned above improve the position accuracy at the expense of localization rate and computational complexity. For example, although deploying the anchor nodes in the boundary of the network can improve the average single hop distance accuracy, the localization rate can be decreased. More importantly, although correcting the average hop distance by correction coefficient can improve the accuracy, the approach of elevating the accuracy through loop calculation may increase the computational overhead and the time complexity.
In recent years, hybrid location techniques have attracted increasing research efforts. Literature [21] is a hybrid localization algorithm based on DV-Distance and the twice-weighted centroid in WSN. It combines two range-free schemes to achieve more precise location. This approach uses the DV-Distance localization algorithm to get the cumulative distance and the rough-estimated coordinate for calculating twice-weighted factors. This algorithm can increase location accuracy by 20% compared with traditional centroid algorithm, but its experimental environment is in an ideal environment. It is not proper for the actual WSN environment. Different from [21], literature [22] utilizes the advantages of two range-based techniques. The two widely used ranging techniques are time of arrival (TOA) using ultra-wideband (UWB) and received signal strength (RSS) using WiFi signals. This approach cannot be widely used in large scale WSNs as it involves additional hardware for each node.
2.3. Anchor Nodes Placement
Only a few studies of WSN localization are focused on the anchor nodes in 3D space. How to choose and place reference nodes plays an important role in the positioning accuracy. Literature [23] shows that localization is closely related to the placement method of anchor nodes. However, those studies are based on 2D plane only. Literature [24] proves that the placement of anchor nodes has a great impact on the location performance. It however lacks further description on how to place reference nodes in 3D environment. This paper proposes an anchor nodes placement approach based on network backbone [25, 26] and designs an anchor nodes selection algorithm in order to improve the localization accuracy under the same condition.
3. 3D-RDH Algorithm
In this section, a hybrid localization approach for 3D WSN which combines the RSS data and hop distance is presented. It improves the range-free technique DV-HOP by introducing reference RSSI value to revise the hop distance. In addition, an anchor node configuration scheme and RSSI model are discussed in the proposed algorithm.
3.1. Anchor Placement
Anchor placement plays an important role in the quality of spatial localization. Inspired by virtual backbone, we deploy our anchor nodes based on the MIS of a network. Virtual backbone of a network contains backbone nodes of the network and it is used to solve the problems such as the notorious broadcast storm problem. The virtual backbone of the network can be obtained by previous algorithm [25, 27, 28]. The configuration of anchor nodes will be identified by sampling the induced topology of a MIS in the network.
3.1.1. Preliminaries
We first introduce some important notations and concepts used in the paper as follows.
SUG (simple undirected graph): given a simple undirected graph IS (independent set): an independent set I of V is a subset of V such that MIS (maximal independent set): an independent set DS (dominating set): in a graph CDS (connected dominating set): if all nodes in DS induce a connected graph, DS is a connected dominating set. MCDS (minimum connected dominating set): among all connected dominating sets of V, the one with the smallest cardinality is called the minimum connected dominating set.
3.1.2. Network Model Definition
We model the wireless sensor network as a SUG (simple undirected graph) denoted as
3.1.3. MIS Construction
MIS is a node set, and, in this set, arbitrary two nodes are not connected and all the nodes outside the set are connected with at least one node in the MIS. MIS is frequently used as the basis of constructing a network virtual backbone as it can include as much as possible nodes which are evenly dispersed in a network. Inspired by virtual backbone, we come up with the idea that is based on MIS to choose anchor nodes. There are many existing works about MIS construction [25, 29]. For example, literature [25] constructs the backbone via algebraic connectivity and introduces a new metric, namely, connectivity efficiency, as a benchmark when constructing the backbone. In our work, we adopt the algorithms about MIS construction proposed in [29–31] and apply them in our simulation. Through literature [28], we can know that the nodes number in MIS is
To construct MIS, firstly we define several functions: color
At the beginning of the construction, we will choose an arbitrary node to be the leader as the initial node or choose it by the leader election algorithm. After the election of the leader, the state transformation process of each node is shown in the following steps.
Step 1.
If node p is a leader, the leader will be directly promoted to be a master. The color of this node will be changed to black from white.
Step 2.
If an initial node p receives “manager” information from master U and the color of this node is white, then node U will be the master of p and p becomes a slave node. Node p's color will be changed to gray from white and it will broadcast “subordinate” information.
Step 3.
If an initial node p receives “subordinate” information, the node will enter the ready state and becomes a ready node. Node p's color will be changed to red from white and it will broadcast “ready” information.
Step 4.
If a node p's color is white or red and it receives the “ready” information, then the state of this node does not change and node p only records the red neighbors' information.
Step 5.
If node p's color is red, then compare all the red nodes in the network and choose the node that has the minimum ID as the next master. Change node p's color to black and its message to “managers.”
The end condition of Algorithm 1 is that there does not exist any white node in the network. Through this algorithm, several star shaped structures are produced. In each star structure, a black node as a master connects multiple grey slave nodes.
(1) Initialization: (2) the ID number of each node is known; (3) set all nodes' color as white; (4) set all nodes' message as null. (5) A leader node p produced by the leader election algorithm, then set: (6) color(p) = black; message(p) = “manager”; (7) (8) (9) (10) color(q) = gray; (11) message(q) = “subordinate”; (12) (13) color(q) = red; (14) message(q) = “ready”; (15) (16) Put q and q's neighbors whose color is red into array M; (17) Choose the minimum ID from all ID in M; (18) And find the coordinate node r to become a master; (19) Then set: color(r) = black; message(r) = “manager”; (20) Repeat (7–19) until there doesn't exist white node in whole network;
Lemma 1.
The size of maximum independent set in
Proof.
It can be known that the size of maximum independent set is at least 4 according to the concept of MIS. Let M be the maximum independent set of V, and let T be the corresponding spanning tree of the MCDS in the theory. Consider an arbitrary preorder traversal of T given by
Then the size of maximum independent set in
According to the process of MIS construction, for any vertex u in a maximal independent set I, the length of the shortest path from u to its closest vertex in I is either two hops or three hops. In the following MIS construction simulation, nodes are randomly distributed in an area of

The simulation result of MIS construction.
From Figure 1, it can be seen that the size of MIS is more than 4, which can meet the requirement of anchor nodes. According to [33], the size of independent set in
3.1.4. Anchor Nodes Deployment
With established MIS of the network, we start to place the anchors. The serial number of each node in MIS can be known. Here, we mark the MIS as M. The selection approach is based on the cluster analysis. We use hop count similarity method to divide the whole nodes set to several clusters. Firstly, we generate N uniformly dispersed (
(1) Generate (2) (3) calculate the hop counts from N seed nodes. (4) (5) P belongs to (6) Then M is divided into N cluster. (7) Define int (8) Choose one node q randomly in (9) (10) Find the largest hop count between q and the node r in (11) Use array B to record the node r's serial number; (12) i++; (13) (14) return (15) N serial number is obtained, then return them.
3.2. RSSI Communication Propagation Model Selection
The proper propagation model selection is critical in the proposed algorithm, as it directly affects the way we calculate path loss. The path loss can reflect the distance between arbitrary two sensor nodes. Within our knowledge, the RSSI value is easily affected by the wireless signal reflection, absorption, and other noises. Figure 2 demonstrates that the increasing RSSI value can largely reflect a relative closer distance between two nodes.

The relationship between RSSI attenuation value and distance.
Many channel models have been proposed for outdoor and indoor environments. We group them into two categories: regular model and irregular model. In regular model, the received signal strength is represented by the difference between the emission signal strength and the transmission loss. However, in practical applications, the regular model cannot reflect the exact channel state. This is due to the fact that the propagation range of radio signals in real world will be affected by shadow effect, reflections propagation, refraction propagation, scatter propagation, propagation, diffraction propagation, and other factors, which makes the relationship between signal strength and distance difficult to determine. In view of this circumstance, several irregular models are proposed, such as DOI model and RIM model [34].
In our tests, we choose the DOI model to capture the reference RSSI value as RIM model is too sensitive to the environment. DOI (degree of irregularity) is defined as the percentage of the variation degree in the wireless communication's unit direction about the maximum path loss. DOI model is a universal wireless propagation model. The DOI model is on the basis of the following formula:
3.3. The Hop Distance Revision
As showed in the above introduction of the traditional DV-HOP algorithm, the hopsize is calculated based on the hop count. The hop count and hopsize are both modified in the proposed algorithm.
When hop count between unknown node and anchor node is 1, we use the distance calculated based on the RSSI attenuation value to replace the distance estimated by using the average single distance. As we all know, the distance estimated by RSSI attenuation value is relatively precise within the communication range. For example, as shown in Figure 3,
RSSI attenuation value versus correspondent distance.

The distance error.
When hop count is greater than 1, decimal counts are accumulated in the proposed algorithm. In our approach, we set the beacon of anchor nodes with the following information: ID number, location, hop counts initialized to zero, and
We can also clearly represent this method using Figure 4. Given the communication radius 30 m, we can get the “Ref”

The procedure of 3D-RDH algorithm.
Through the preceding calculation method, the average hop distance of
3.4. The Procedure of 3D-RDH Algorithm
The flow chart of the proposed algorithm is shown in Figure 4. It can be described as follows.
(1) Broadcast the information of the anchor nodes: each anchor node generates and broadcasts a beacon containing its own information: ID number, location, hop count initialized to 0, and
(2) Calculate the distance between the unknown and anchor nodes: with the known distance between anchor nodes, the average hop distance of each anchor node is computed. Next, for neighboring nodes of anchor nodes, the distance between them can be obtained directly through the propagation model with RSSI value. For unknown nodes with hop count ≥ 2, the distance can be calculated by the multiple of
(3) Estimate the coordinates of the unknown: based on the preceding steps, the unknown can estimate its own coordinate by using maximum likelihood estimate. Suppose there are
4. Performance Evaluation
4.1. Simulation Setup
In this section, we carry out simulations to verify the performance of RDH-3D algorithm. We evaluate the performance of the proposed algorithm in terms of accuracy and compare the performance with two centralized 3D range-free techniques: 3D DV-HOP and 3D centroid. Localization error is used to represent the localization accuracy and is defined as follows. Let l denote the distance between two neighboring nodes computed based on the established coordinates and

Positioning error figure.
4.2. The Number of Anchor Nodes
It can be seen from Figure 6 that the proposed algorithm can outperform the other two algorithms regardless the number of anchor nodes. Here,

Localization error versus anchor nodes.
4.3. Network Connectivity
The connectivity level of a network will affect localization accuracy too. We observe the localization error changes through varying the connectivity of the network. As shown in Figure 7, our proposed algorithm achieves the best localization accuracy compared with the other two algorithms. As the network connectivity increases, range-free techniques obtain better localization accuracy. This can be explained by the distance calculation which could be more precise given a higher connectivity network. When the connectivity is 20, the proposed algorithm exceeds 3D DV-HOP up to 38.9% and surpasses the 3D centroid algorithms up to 51.8%.

Localization error versus network connectivity.
5. Conclusion and Future Work
In this paper, we propose a hybrid sensor localization scheme. Our simulation studies reveal that our proposed algorithm 3D-RDH is an effective localization approach for 3D wireless sensor network. With the proper selection of signal propagation model and proposed anchor node configuration strategy, the 3D-RDH can improve localization accuracy by up to 52.7%. Future work will include investigation of applying the proposed algorithm under different irregular 3D network and RSSI refinement. In this work, we assumed that there is no hole existing in the 3D network. More research in network topology partition will be needed if we apply the proposed algorithm to different irregular 3D network. Also, the RSSI training set could be optimized in the future to obtain more accurate RSSI references.
Footnotes
Conflict of Interests
The authors declare that the work described is original research that has not been published before. No conflict of interests exists in this work.
Acknowledgment
This work is supported by the National Natural Science Foundation of China under Grant nos. 61190113 and 61401135.
