Abstract
Referring to the issue that the hop value of the range-free DV-hop positioning algorithm could not reflect the distance between two nodes within the communication range, this paper proposes an algorithm named as HCRDV-Hop. According to the proposed algorithm, the distance measured by hops between two nodes is re-treated as the specific value with dividing the received signal strength (denoted as RSSI) between nodes with the maximum average signal strength of nodes (
Introduction
Wireless sensor network is a product of computer, communication and sensor technology. It is also the product of information acquisition, information transmission and information processing. It plays an important role in many fields such as environmental monitoring, military, intelligent transportation and so on. The node positioning is a prerequisite for many applications, since the information without exact location data is meaningless to users. Therefore, the study of node location technology for wireless sensor networks is of great significance.
The performance of WSN positioning algorithms directly affects the usability. Thus it is quite necessary for a positioning algorithm to make trade-off among the multiple factors, such as the positioning accuracy, the energy consumption, etc. and also to satisfy the given requirements. Currently, a lot of positioning algorithms are proposed and they are generally categorized into the range-based and the range-free ones corresponding to the precondition whether the distance/angle between the focal nodes should be measured or not. The commonly used measurement techniques include RSSI, TOA, TDOA and AOA, etc. The range-free algorithms do not need to learn the distance and angle information between the nodes. The algorithms could position nodes relying on the connectivity between the network nodes, during which the cost for hardware could be saved. Compared with the range-based measurement algorithms, the range-free algorithms are cost-effective and thus become one of popular research issues. The range-free algorithms generally include: Centroid [4], DV-Hop) [5], APIT [6], Amorphous [7], Convex [8], etc.
Referring to the issue that the hop value of the range-free DV-hop positioning algorithm could not reflect the distance between two nodes within the communication range, this paper proposes an algorithm named as HCRDV-Hop. According to the proposed algorithm, the distance measured by hops between two nodes is re-treated as the specific value with dividing the received signal strength (denoted as RSSI) between nodes with the maximum average signal strength of nodes (
In this paper, we propose the HCRDV-Hop algorithm based on the DV-hop, in which the distance measured by hops between two nodes is re-treated as the specific value with dividing the received signal strength (denoted as RSSI) between nodes with the maximum average signal strength of nodes (
Related work
DV-Hop positioning algorithm
The positioning procedures of DV-Hop algorithm consists with three phases:
(1) Calculating the minimum hops from the unknown node to every beacon node
The beacon node broadcasts a packet of its own location information to its neighbor nodes, including the hop count field, initialized to 0. Each sink node only records the minimum hops to each of the beacon nodes and ignore the other larger hop value that is received from the identical beacon node. Then it adds 1 to the received hop value and forwards the value to its own neighbors. In this way, all the nodes in network could store the minimum hop value to each beacon node.
(2) Calculating the actual distance from the unknown node to every beacon node
With the recorded location information and hop value to the other beacon node during the above mentioned phase, each beacon node estimates the actual average single hop distance according to Equation (1) and broadcasts that into the network. Each unknown node then calculates the actual distance to each beacon node according to its stored hop number after receiving the actual average single hop distance.
In Equation (1), (x i , y i ) and (x j , y j ) are the locations of beacon nodes i, j. h j is the number of hops between nodes i and j.
(3) Calculating the location with the likelihood estimation
The unknown node employs the maximum likelihood estimation to calculate its own location with the recorded hop distance to each beacon node obtained during the above mentioned second phase.
In citation [9], the node distance information is used as the resolution of the distance measurement and the distance between nodes is increased to improve the indirect distance measurement precision. In citation [10], the average per hop distance between beacon nodes is corrected by using the least squares criterion, and weighted average per hop distance for multi-beacon nodes used for position estimation. By setting the localization accuracy threshold, the article presents a numerical method with iterative refinement to estimate the locations of nodes. In citation [11], an algorithm named as RRDV-Hop based on the regularity of mobile anchor node (RMAN) and RSSI ranging technique is proposed. Based on the coverage ratio of two nodes, citation [12] introduced the hops coefficient, and put forward a localization algorithm based on coverage ratio. Based on the estimated distance obtained during the above mentioned third phase of DV-HOP algorithm, citation [13] provided the improvement based on the simulation curve fitting theory. In citation [14], a SRDV-Hop algorithm is proposed, in which the first hop distance to the unknown node is estimated by using RSSI.
The improved DV-Hop algorithm based on hop correction of RSSI
According to the traditional DV-Hop algorithms, one unknown node estimates the distance by hop count information between nodes and the average hop distance. Within the range of node communication, however, the number of hops is counted as one hop regardless of the actual distance, so that the nodes cannot reflect the real distance relationship between each other.
Concerning the above mentioned issue, we suggest to introduce RSSI value as one factor of revising the hop count of each node so as to improve the positioning accuracy.

Node distribution within the communication range.
RSSI transmission model
The model mentioned in this paper is Shadowing model whose principle is that the signal strength will be attenuated with the distance increasing during the transmission. The model consists of two parts. The first part is path loss model that is used to predict the received signal strength (designated as P (d)) when the distance is d. The model employs the approximate distance value (designated as d0) to the sender as the reference. Then the corresponding signal strength is P (d0). The relation between the above mentioned variables is as following equation.
In real environment, the reflection, scattering, or shadowing of a signal would interferes with the signal strength at the sink node. Due to the uncertainty during signal transmission, a lot of researchers generally assume that the arrived signal strength would show a normal distribution. Under this assumption, the signal strength variation could be specified as log-normal shadowing model in further.
In Equation (3), η represents path loss coefficient (it is usually between 2 and 4) which is of log-normal distribution. This variable is used to specify the effect onto the signal strength at the sink node. The unit of measuring P (d0) and P (d) is designated as dBm. P (d0) represents the RSSI value measured at the position which is 1 m far from the sending node, while P (d) represents the signal strength at the sink node.
In this paper, we designate the received signal strength as RSSI
max
where the communication radius is R. According to Equation (3), we could induce as follows:
For ease of measurement, we select to adopt Standard Normal Distribution to specify ξ:
Then Equation (5) is induced.
The expectation of ξ is this expressed as follows:
Because the wireless signal transmission model is not of regular shape, the average signal strength at the location where the communication radius is R can be obtained with Equations (4) and (6).
The method of correcting hop count is illustrated in Fig. 2.

Schematic of correcting hop count.
The signal strength received at node B from node A is RSSI
A
. The original DV-Hop algorithm specifies the hop count between A and B is 1, while the count is adjusted as:
From Equation (6), it can be learnt that is a decreasing function of the node communication radius R since the distance between node A and node B is less than R, i.e., AB < R, and the hop count is thus less than 1, i.e., H
A
< 1. Then the hop count to any other node (denoted as i) can be expressed as:
RSSImax represents the maximum signal strength of node i, i.e., the signal strength at the communication radius of node i. In this way, H i = 1 means that there exists one node at the communication radius of node i.
Let (x
i
, y
i
), (x
j
, y
j
) be the locations of the beacon nodes i and j, and let be the average hop distance of beacon nodes in the HCRDV-Hop algorithm. Then Equation (1) could be induced as follows:
Through analysising Equation (11), we can learn that the sum of RSSIs would become larger with the number of nodes increasing and the value of
to deploy the sensor nodes randomly onto the monitoring area; Each beacon node i within the area broadcasts its own parameters including its node ID, location coordinate (x, y), the node j within the communication radius of beacon node i receives the packet information from node i, and node j records the information from node i. Then node j updates the hop count into Similarly, the neighbor of the other beacon nodes scans its own data table after receiving the packets from the corresponding beacon nodes. Through comparing the multiple hop values brought by the packets from the identical beacon node, the focal node selects to store the minimum hop value and update its store corresponding hop value according to Equation (12). Then the focal node keeps forwarding the hop value to the others; all the beacon nodes estimate the average actual distance of single hop with the other beacon nodes’ coordinates and the hop value recorded during the stet (4) according to Equation (10); each beacon node composes its calculated average hop distance associated with the life-cycle field (i.e., TTL) in one packet and broadcasts the packet to the network in the flood mode. Each unknown node only records the particular packet whose TTL is the largest one among all the received packets from all its neighbored beacon nodes. Then the node keeps forwarding the packets to all of its other neighbors; after having received the average distance of single hop, the node calculates the polyline distance (i.e., the multiplication of hop counts and the average distance of single hop) to each of its neighbored beacon nodes after receiving the average distance of single hop according to its stored hop count; Unknown nodes use the polyline distance to each beacon node and calculate their coordinates using the least squares method.
Simulation result and analysis
Configuration of simulation
In this paper, we use MATLAB R2014a software system to analysis the performance of HCRDV-Hop algorithm. The parameters of the simulation experiment are stated in the following table.
Parameters of the simulation experiment
Parameters of the simulation experiment
The total number of nodes in the simulation experiment is 200; the distribution area is 100×100 (unit: m2); the communication model between nodes is LAM. In this paper, HCRDV-Hop algorithm is compared and evaluated with DV-Hop algorithm and Amorphous algorithm.
The proposed algorithm does not need to measure, and it could only execute positioning relying on the connectivity. During the usage, the requirements onto hardware are simple, and the algorithm is easy to implement. In the paper, we evaluate the performance of the proposed algorithm through investigating its relative positioning deviation and the distribution of the positioning deviations.
The positioning deviation of node n is expressed as:
In Equation (12),
The relative deviation can be induced by:
In Equation (13), N represents the sum of the unknown nodes, while R represents the communication radius.
The experiment is divided into two plans, and each plan is divided into five rounds, and each round is executed for 100 times.
Plan 1: the communication radius is configured as R = 35 m, and the numbers of the beacon nodes along the multiple rounds are 40, 50, 60, 70 and 80. During executing the plan, we will analyse the relation between the beacon node count and the relative positioning deviation as well as the influence released from the beacon node count onto the distribution of the positioning deviations.
Plan 2: the number of beacon nodes is fixed as 60, and the communication radius is set 20 m, 25 m, 30 m, 35 m and 40 m during the multiple rounds. We will also analyse the issues mentioned in plan 1.
Figure 3 presents the influence released from the beacon node count onto the distribution of the positioning deviations. Although the number of beacon nodes increases, the relative positioning deviations of the three investigated algorithms decrease a little and turn to stable. Through comparing the proposed HCRDV-Hop algorithm with the original DV-Hop algorithm, they both decease slowly and then turn to stable, during which the deviation of the former is always less than the latter by 9.2% to 10%. Referring to the comparison between HCRDV-Hop and Amorphous, the deviation of the latter increases a little at beginning and then turn to smaller since the number of beacon nodes is 60, while the deviation of the former keeps decreasing and it is always less than the latter by 5% to 8%.

Comparison of positioning accuracy in plan 1.

Error distribution with 40 anchors & R = 35 m.

Error distribution with 50 anchors & R = 35 m.

Error distribution with 60 anchors & R = 35 m.
From the figures illustrating the distribution of deviations, the average deviations of unknown nodes brought in by HCRDV-Hop algorithm mainly spread within 0.1 R to 0.4 R of the low area along the number of beacon nodes varies from 40 to 70. Meanwhile, the average deviations brought in by Amorphous algorithm always spread within 0.1 R to 0.5 R, while the average deviations brought in by DV-Hop algorithm is spread within 0.1 R to 0.6 R. Therefore, the deviations brought in by HCRDV-Hop algorithm are relatively small and vary weakly.
As illustrated in Fig. 7, the positioning deviation of HCRDV-Hop algorithm decreases with the communication radius increasing, during which the positioning deviation brought in by HCRDV-Hop algorithm is always less than DV-Hop algorithm by 7% to 11%. Along the communication radius increases from 20 m to 40 m, the deviation brought in by HCRDV-Hop algorithm declines sharply from 27% to 17%. Compared with DV-Hop, Amorphous algorithms, with the radius increasing, HCRDV-Hop algorithm is in better performance. Especially when the radius is 40 m, the deviation brought in by HCRDV-Hop algorithm is less than the other two algorithms by about 10%.

Error distribution with 70 anchors & R = 35 m.

Localization accuracy comparison of plan 2.

Error distribution with 60 anchors & R = 25 m.

Error distribution with 60 anchors & R = 30 m.

Error distribution with 60 anchors & R = 35 m.

Error distribution with 60 anchors & R = 40 m.
From the figures illustrating the distribution of deviations, the average deviations of unknown nodes brought in by HCRDV-Hop algorithm mainly spread within 0.1 R to 0.4 R of the low area along the communication radius varies from 24 m to 40 m. Meanwhile, the average deviations brought in by Amorphous algorithm always spread within 0.1 R to 0.6 R, while the average deviations brought in by DV-Hop algorithm is spread within 0.1 R to 0.7 R. Therefore, the deviations brought in by HCRDV-Hop algorithm are relatively small and vary weakly.
To improve the positioning performance of DV-Hop algorithm within the random -distributed-sensor network, the hop count in the algorithm is adjusted and the distance measured by hops between two nodes is re-treated as the specific value with dividing the received signal strength (denoted as RSSI) between nodes with the maximum average signal strength of nodes (
