Abstract
In recent years, collinearity theory is widely used in large-scale sensor network. When the anchor nodes are located at almost a straight line, the collinearity phenomenon will happen and usually cause negative influence on positioning accuracy. From detailed analysis of the relation between DV-Hop localization error and the collinearity, we proposed to select the anchor nodes which can meet the condition of hop count threshold and collinearity to participate in the localization procedure. Since there is uncertain situation that the anchor node's region is hard to be decided for the sensor nodes in one hop area, Voronoi diagram is adopted to divide the sensor network into several regions. Then, we can get the anchor node information in each Voronoi polygon. With this information and the collinearity condition, we can estimate the unknown node's position with relatively higher accuracy. Compared with the traditional DV-Hop and collinearity algorithm, our proposed algorithm can get better positioning accuracy in both homogeneous network and anisotropic network.
1. Introduction
Recently, wireless sensor network (WSN) is widely used in many fields such as disaster rescuing, environment monitoring, and target tracking. As a fundamental issue in sensor network, the node localization technology has become one of the research hot spots in WSN fields [1, 2].
According to distance measurement method, the sensor network localization is divided into two categories including range-based localization and range-free localization. The former mainly consists of time of arrival (TOA), time difference of arrival (TDOA), angle of arrival (AOA), and received signal strength (RSS) positioning. Range-free localization methods mainly consist of centroid algorithm, DV-Hop algorithm, amorphous algorithm, and APIT algorithm.
Based on the range-free localization mechanism, unknown node's location can be acquired with little consideration of environmental factors because it is unnecessary to calculate the actual distance or angle. The accuracy can meet the requirement for most of wireless sensor network applications, while reducing the requirement of node hardware and the cost greatly [3]. As a typical range-free localization method, DV-Hop algorithm has no extra requirement for WSN nodes and is characterized by such advantages as simple realization, low cost, and small payment.
This paper proposes a new method based on DV-Hop algorithm and Voronoi diagram (VNC-DV-Hop, Voronoi diagram-based NC-DV-Hop). We utilize Voronoi diagram to divide the network into several areas and then calculate the groups of anchor nodes conforming to threshold condition. Best sensor node groups are selected to localize the unknown nodes. This method has more advantages in calculation complexity and better position estimation in sensor network, including homogeneous network and anisotropic network. The rest of the paper is organized as follows. Section 2 briefly introduces related research. Section 3 analyzes the errors and collinearity of DV-Hop localization algorithm. In Section 4, the Voronoi diagram and the proposed algorithm are investigated. Section 5 reports simulation experiments with different sensor networks. Finally, Section 6 concludes the whole paper.
2. Related Works
In the premise of keeping advantages of DV-Hop algorithm, it is important to improve range measurement accuracy and take full use of anchor node resources [3]. At present, the modified methods of DV-Hop algorithm paid more closely attention to some influential factors, including the average of every hop size (AHS) of anchor nodes, sensor node selection, and collinearity [4–8].
In [4], a new method is proposed to calculate the average hop size. Through global and local parts of hop distance, a new AHS suitable to the network is acquired and adopted to improve localization accuracy effectively. But considering the inaccuracy of hop counts, the calculated hop distance of local part will result in errors and increase the calculation complexity. Reference [5] puts forward an improved method based on DV-Hop algorithm. Considering the estimated distance error of AHS for anchor nodes, the positioning accuracy of unknown nodes is enhanced greatly. However, it has limitation in large-scale randomly deployed sensor networks. After that, researchers begin to consider the influence of node deployment and hop counts in order to decrease the positioning errors. With deployment strategy of the anchor nodes, [9] uses the weight factors to improve the DV-Hop algorithm. However, due to high computation complexity, it is not suitable to deploy anchor nodes randomly in actual application. Similarly, [10] uses weight of anchor nodes to improve localization accuracy. Though it effectively improves the positioning accuracy, it also causes large calculation complexity. By analyzing the source of the error of distance estimate between unknown nodes and anchor nodes, [11] enhances the localization accuracy effectively when the nodes transmit signal in every direction. At the same time, by using the experience model and the filter method, it also changes the hop counts and improves the localization accuracy.
Except for the modified algorithm above, researchers also propose some methods such as linear transformation and division of node levels. For instance, [6] proposes a method to solve nonuniform network and describes the positioning problems of anisotropic features which apply linear transformation for localization. With the singular value decomposition pseudo-inverse technique, this method acquires an embedding space built upon adjacent observed values within geographic space. Then, the location can be achieved by transformation of distances between embedding spaces. Some researchers take advantage of Voronoi diagram to improve localization accuracy of DV-Hop algorithm. Reference [12] proposes a kind of DV-Loc algorithm. The author divides anchor nodes into different levels and constrains the flooding region through Voronoi diagram. This method effectively reduces the energy consumption, orientation range, and estimated errors of hop length. Furthermore, the extendibility of DV-Hop algorithm has been significantly improved. However, a number of anchor nodes are necessarily needed and the number grows exponentially, which would inevitably influence the actual performance. Based on the foundation above, Lee and Kim [13] propose an SDV-Hop algorithm which modifies Voronoi diagram and realizes the localization by constraint condition. SDV-Hop uses the broadcast cells of anchor nodes to divide the network and adds it to the constraint condition. It improves localization accuracy drastically. However, due to the complex procedure of classification, it also requires a large calculation duty.
In the last few years, collinearity idea has been widely applied to the localization of wireless sensor network. Owing to the close relationship between the localization errors and the deployment of anchor nodes, the localization accuracy will be seriously influenced when three anchor nodes are in linear relationship (in a straight line). The collinearity idea imposes a large effect on localization of anchor nodes. Reference [7] initially proposes the collinearity method. It determines the groups of anchor nodes by selecting the minimum height of triangle of three anchor nodes. However, the basic parameters are three angles of the interior triangle. Considering the topological structure between nodes, [14] uses cosine law to improve the collinearity and successfully selects the appropriate groups of anchor nodes to localize the unknown nodes. The localization error is obviously decreased. Reference [15] gives deep analysis of the collinearity influence exerted on the localization accuracy of anchor nodes and deduces mathematic theory of collinearity. It adds the detection steps of implicit collinearity to locate the nodes. Thus, the nodes can be located with the help of elimination of ambiguity.
In recent years, localization algorithms for anisotropic networks, with uneven nodal distribution and irregular deployment region, have become a research hotspot. In the anisotropic networks, the shortest path between two nodes may be detoured and its length may be estimated much larger than the corresponding Euclidean distance [16]. Reference [8] proposes a pattern-driven localization scheme which adopts different anchor-sensor distance estimation algorithms for different patterns. The average anchor-sensor distance estimation accuracy of our scheme is improved to be better than
In this paper, a new method is proposed based on DV-Hop algorithm. Voronoi diagram is used to divide the network into several areas. Proper anchor groups are selected to localize the unknown nodes. Experiment results show that the calculation complexity is decreased while the position estimation effectively improved. Compared with existent methods, the strength of our proposed algorithms is that we select proper anchor nodes to participate in the localization procedure according to NC value. Through threshold setting, the anchor node closer to the unknown node is selected. In densely distributed networks, including anisotropic networks with hole, our method can provide an effective way to estimate the unknown nodes' location.
3. Analysis of DV-Hop Algorithm Error and Collinear Effect
According to maximum likelihood estimation, when we use three anchor nodes to calculate unknown node location, we can calculate the distance bias as follows:
From this conclusion, the literature [7] puts forward the collinearity thoughts firstly. NC is the normalized collinearity which represents the height of triangle made by three anchor nodes. However, this method is only valid for uniformly dense network. When the network is sparse or unevenly distributed, there might be no solution for NC value. Furthermore, the heights' value may be inaccurate and cause large error for NC value. Therefore, this method has limitations in real application. In fact, DV-Hop localization errors mainly originate from three situations: (1) when anchors are almost in a straight line; (2) when the relative position of any two anchors is too close, while they are also far from the unknown nodes; (3) when three anchors are all nearby, no matter what triangular shape that they compose is, if unknown nodes have a further distance to them, it will lead to a large error. Figures 1(a), 1(b), and 1(c) represent the three situations above, respectively. Here,

Three situations of DV-Hop localization error.
In [15], the collinearity theory is analyzed with mathematical methods. The author draws the conclusion that the localization procedure will attain the best performance when the anchor nodes distribution forms an equilateral triangle. In this paper, we adopt the method in [15] to get qualified anchor-node terns for localization. As shown in Figure 2, let

Analysis of collinearity.
4. Improved Normalized Collinearity DV-Hop Localization Algorithm
Based on collinearity principle, suitable groups of anchor nodes can effectively improve the positioning precision. In view of the three kinds of collinearity situation discussed above, we can use cosine theory to select anchor nodes for localization. However, since current methods cannot distinguish the distance between anchor-node terns and the unknown nodes, the localization error cannot be neglected.
4.1. Formation Principle of Voronoi Diagram
Suppose that

Formation principle of Voronoi diagram.
4.2. Formation of Voronoi Diagram in Localization Network
We set up n sensor nodes of

Voronoi diagram in localization network.
In Figure 4, we give an example for anchor nodes
4.3. Improved Normalized Collinearity DV-Hop Localization Algorithm
4.3.1. Threshold Setting of the Hop Count for Anchor Node
In the anisotropic networks, as the S-type network and C-type network shown in Figure 5, DV-Hop always causes large localization error. The reason lies in two factors: (1) there is large difference between the estimated distance and real situation, because there are such phenomena as uneven node distribution, network hole, and path roundabout; (2) the average hop distance is influenced by the uneven distribution. For instance, if there is path roundabout between two anchor nodes, the hop count will be large while the real distance and the average hop size acquired by hop count will decrease. This will cause a smaller estimated distance between the unknown node and the anchor node.

Typical anisotropic network.
Since there are holes and path roundabout, it is difficult to get accurate distance estimation with hop counts. Considering this situation, we propose a threshold of hop counts. In [20], the limitation of hop count is used to improve the localization accuracy and avoid the bad influence caused by path roundabout. According to the experience, the hop count threshold is set as 5 in this paper. If the hop count between an anchor node and the unknown node is not more than the threshold, the anchor node will be chosen to participate in the localization procedure. Otherwise, it will be given up.
4.3.2. Improved Normalized Collinearity DV-Hop Localization Algorithm
All anchor nodes broadcast their information to the whole network based on DV-Hop localization method. After all unknown nodes receive these hop counts and average hop size, a threshold value of NC between 0.5 and 1 is chosen as a standard. According to collinearity theory, these anchor nodes are extracted randomly to form a combination set (take three anchor nodes as a tern
Appropriate threshold of the collinearity parameters is the key factor in localization. If its value is too large, it will lead to fewer participant anchor-node terns to be selected for localization and cause a waste of sensor node resource. If it is too small, the collinearity theory applies invalidly and may cause the fussy localization process. According to [7, 14, 15] and experimental analysis, we simulate NC threshold value in two kinds of environment and choose 0.9 as appropriate value (Figure 5 shows simulation results). It can make smaller error than other values in both environments. Each anchor node chooses all the sets of the anchor nodes including itself in its region which satisfies the threshold. Then, the sets of anchor nodes are used to localize the unknown nodes. This process implements selection and purification. Using related anchor-node terns in its own region, unknown node can avoid inefficient utilization of anchor nodes and unnecessary calculation.
The overall process is implemented as follows.
Anchor nodes traverse the whole network and the unknown nodes receive the information to acquire the accurate hop count to all anchor nodes. Through the Voronoi diagram, the whole network is divided into several regions for unknown nodes. The average hop size of anchor nodes is recorded in each region. Then, the value is multiplied with every average hop size of the node. The distance between the anchor node and the unknown node is calculated. Three anchor nodes are randomly taken as a group. The law of cosines is used to obtain collinearity value. According to collinearity theory, all NCs about anchor-node terns are calculated. Then, the appropriate anchor-node terns are selected as the anchor nodes to estimate the unknown nodes' position. Every unknown node uses anchor node in its own region and related terns for localization. From the anchor-node terns satisfying threshold condition, anchor-node terns containing their own region anchor node are selected. So, unknown node can get different coordinates and calculate the weights as follows: At last, final position is estimated by multiplying a set of locations with their corresponding weight:
In Figure 6, there are 24 anchor nodes in randomly deployed network of 100 nodes. Voronoi diagram theory is used to divide the network into 24 regions. Suppose that we need to estimate the position of unknown node p. After dividing network, NCis calculated based on anchor-node terns. We get three anchor-node terns satisfying threshold condition. They are

VNC-DV-Hop localization algorithm.
5. Simulation Results and Analysis
To validate the algorithm, a sensor network, with 200 nodes and communication radius as 20 m, is assumed to be randomly distributed in a
5.1. Simulation Experiment of Homogeneous Sensor Network
The simulation results and related analysis are given as follows.
(1) Influence of TNC on Localization Accuracy. As shown in Figure 7(a), with TNC increasing, VNC-DV-Hop algorithm localization accuracy is higher than the other two algorithms. When TNC is between 0.6 and 0.95, the localization accuracy of VNC-DV-Hop is about 20%, which means that the localization error is about 5 m. VNC-DV-Hop algorithm can attain the best accuracy when TNC equals 0.9. When TNC increases from 0.95 to 1, the localization accuracy of DV-Hop is better than NC-DV-Hop and VNC-DV-Hop. The reason is that anchor nodes are in a straight line, which means collinearity condition; few anchor nodes can be used to estimate unknown node position and lead to low accuracy.

Effect of TNC on localization accuracy.
Figure 7(b) shows the influence of TNC and the quantity of anchor nodes upon localization errors in Environment I. With the quantity of anchor nodes increasing, the influence of TNC on location errors also changes. The deeper color means lower location error. It is easy to find that the location errors related to different TNC value are different. When TNC is about 0.9, the location error is the lowest. For specific TNC, the estimated location will be close to the real location when there are more anchor node terns participant in the localization procedure. Therefore, the influence of TNC upon location error cannot be ignored. For posterior analysis, we choose the value of TNC as 0.9.
(2) Influence of the Quantity of Anchor Nodes on Localization Accuracy. By changing the ratio of anchor nodes, it is convenient to analyze the localization accuracy. In Figure 8, as the ratio of anchor node increases, the localization accuracy declines gradually. The performance of VNC-DV-Hop algorithm is the best. Compared with DV-Hop and NC-DV-Hop algorithms, VNC-DV-Hop's accuracy is improved by 13% and 8%, respectively.

Effect of the number of anchor nodes on localization accuracy.
(3) Influence of Average Hop Size (AHS) on Localization Accuracy. In DV-Hop localization algorithm, AHS influences the localization accuracy seriously. To depress the localization errors, the modified AHS [14] is used to conduct the simulation experiment. The modified AHS is defined as follows:
To analyze the influence of AHS, NC-DV-Hop is compared with the VNC-DV-Hop algorithm. In Figure 9, the dotted line represents the localization results with average hop size in formula (16) while the solid line represents localization results in formula (15). The number of anchor nodes in the network changes from 100 to 200, in which the anchor nodes are 20%. From Figure 9, the location error of VNC-DV-Hop algorithm becomes low. Comparing with traditional AHS method, the modified algorithm has lower localization error. VNC-DV-Hop algorithm owns good accuracy and is suitable for multinode network.

Influence of the number of nodes on localization accuracy.
(4) Influence of the Communication Radius upon Localization Accuracy. In Figure 10, location errors change with the communication radius of anchor nodes. When the communication radius of anchor nodes becomes larger, location errors decrease gradually. Localization accuracy of our VNC-DV-Hop algorithm is the best. When the communication radius is above 25 m, all the three algorithms can attain steady localization accuracy.

Influence of radio range of anchor node on localization accuracy.
(5) Estimated Coordinates of Unknown Node and Localization Error. Figure 11 shows the comparison of location errors among the three algorithms in homogeneous sensor network.

Localization error of DV-Hop, NC-DV-Hop, and VNC-DV-Hop in homogeneous sensor network.
The directions of the arrows are pointed to the actual coordinates of unknown nodes. The lengths of the arrows represent the difference between estimated and actual coordinates of the unknown nodes. According to Figure 11(a), the unknown nodes which locate in the ellipsoid region own higher error because the arrows are large and messy. Compared with Figure 11(c), Figure 11(b) shows lower localization error. In Figure 11(c), our VNC-DV-Hop algorithm shows the best performance, with almost all the estimated coordinates of unknown nodes located in their own Voronoi polygons. Figure 11(d) shows that localization errors of DV-Hop algorithm are relatively large with an average value of 10 m and a fluctuation range as much as 27 m. Comparatively, NC-DV-Hop shows the error of 8 m and fluctuation range as 15 m. Our VNC-DV-Hop algorithm owns the smallest localization error of 5 m and very small fluctuation.
5.2. Simulation Experiment of Anisotropic Network
In this paper, we mainly consider S-type network. Through simulation experiments, the influences of path roundabout and uneven distribution are discussed.
(1) Influence of TNC upon the Localization Accuracy. As shown in Figure 12, when 0.65 < TNC < 0.95, the localization error decreases with TNC growing. VNC-DV-Hop algorithm and NC-DV-Hop algorithm can acquire better performance than DV-Hop algorithm. When 0.65 < TNC < 0.95, the LER of VNC-DV-Hop is about 30%, which means that the localization error is about 7 m. When TNC equals 0.9, the LER is the smallest. However, when 0.95 < TNC < 1, DV-Hop algorithm can get the best performance. The reason lies in that the anchor nodes are almost at a line when cosine value is at 0.95–1. At this range, NC-DV-Hop and VNC-DV-Hop are not as good as DV-Hop, because they use less anchor nodes to participate in the localization procedure.

Influence of TNC value on positioning accuracy in anisotropic network.
(2) Influence of the Ratio of Anchor Node upon Localization Accuracy. By changing the ratio of anchor nodes in the network, we can analyze its influence upon the localization accuracy. As shown in Figure 13, the localization error decreases gradually with the ratio of anchor nodes growing from 10% to 30%. When the ratio of anchor node is about 16%, the localization error encounters an abrupt rise. However, our VNC-DV-Hop algorithm can get more stable localization accuracy.

Influence of anchor node percentage upon positioning accuracy in anisotropic network.
(3) Influence of Communication Radius upon Localization Accuracy. When the communication radii increase from 15 m to 35 m, the localization errors of the three algorithms decrease significantly. As shown in Figure 14, VNC-DV-Hop algorithm can acquire the best performance when the communication radius is below 25 m. Therefore, it can work well in densely deployed sensor network. When the communication radius is above 25 m, the three algorithms can get almost the same accuracy.

Influence of communication radius on positioning accuracy in anisotropic network.
(4) Influence of the Node Quantity upon Localization Accuracy. In Figure 15, the localization error decreases with the quantity of sensor nodes increase. VNC-DV-Hop can get the smallest error. Furthermore, its trend is much steadier than NC-DV-Hop and DV-Hop.

Influence of the number of nodes on positioning accuracy in anisotropic network.
(5) Estimated Coordinates of Unknown Node and Localization Error. Figure 16 shows the localization error of DV-Hop, NC-DV-Hop, and VNC-DV-Hop in anisotropic sensor network. The directions of the arrows are pointed to the actual coordinates of unknown nodes. The lengths of the arrows represent the difference between estimated and actual coordinates of the unknown nodes.

Unknown nodes' estimated coordinates and localization error in S-type anisotropic network.
According to Figures 16(a), 16(b), and 16(c), the unknown nodes which locate in the ellipsoid region own higher error because the arrows are large and messy. DV-Hop in Figure 16(a) shows large localization error, while NC-DV-Hop in Figure 16(b) can get better accuracy. In Figure 16(c), our VNC-DV-Hop algorithm shows the best performance. According to Figure 16(d), VNC-DV-Hop has a localization error of about 7 m and very small fluctuation. DV-Hop algorithm shows relatively large error with an average value of 15 m and a fluctuation range as much as 30 m. NC-DV-Hop shows the error of 11 m and fluctuation range as 20 m.
For C-type sensor network, the proposed algorithm is also effective. Figure 17 shows the localization performance of DV-Hop, NC-DV-Hop, and VNC-DV-Hop.

Unknown nodes' estimated coordinates and localization error in C-type anisotropic network.
Similar to Figure 16, the directions of the arrows are pointed to the actual coordinates of unknown nodes. The lengths of the arrows represent the difference between estimated and actual coordinates of the unknown nodes. It can be seen that traditional DV-Hop has large error because the estimated position is far from the real location. According to Figure 17(d), the localization errors of DV-Hop, NC-DV-Hop, and VNC-DV-Hop algorithms are about 40 m, 30 m, and 12 m, while their fluctuation ranges are 1 m~35 m, 1 m~75 m, and 1 m~80 m, respectively. Therefore, our proposed algorithm is more accurate and steadier.
5.3. Performance Discussion
For NC-based DV-Hop algorithms, different situations of anchor node triangle will cause some special situations which may cause the algorithm to be invalid. Reference [15] gives a typical algorithm which considers the influence of collinearity upon the localization accuracy of anchor nodes. However, there are some situations which are difficult to be solved.
As shown in Figure 18(a), anchor nodes A, B, C form a triangle. Both the distance between A and B and the distance between B and C are

Special situations for NC-based DV-Hop algorithm.
As a range-free localization technique, DV-Hop algorithm has a large communication cost of
For the proposed VNC-DV-Hop algorithm, the communication cost is the same as
6. Conclusion
DV-Hop localization algorithm is one of the most efficient methods suitable for range-free localization in large sensor network. In order to overcome the deficient characteristics of DV-Hop algorithm, this paper proposes a modified algorithm which takes full advantage of Voronoi diagram and combines improved collinearity theory to determine the location of unknown nodes. By selecting the appropriate groups of anchor nodes, our method improves the localization accuracy of unknown nodes and reduces the redundant computational process. Meanwhile, the utilization rate of anchor nodes has been significantly improved. From the results of simulation tests, we can draw the conclusion that our modified algorithm has higher localization accuracy than traditional DV-Hop algorithm and is appropriate for the large sensor network localization. For both homogeneous network and anisotropic network, our algorithm can acquire excellent performance.
Footnotes
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
Acknowledgments
This paper is supported by the National Natural Science Foundation of China (no. 61273078), the China Postdoctoral Science Foundation (no. 2012M511164), the Chinese Universities Scientific Foundation (N130404023), and the Liaoning Doctoral Startup Foundation (no. 20121004).
