Abstract
Introduction
Wireless sensor networks (WSNs) are emerging as monitoring systems that can take control over large geographical areas. They have become a reality due to recent advances in micro-electromechanical systems (MEMs), embedded processing, and wireless communications allowing that many deployed sensor nodes can communicate among them over the wireless medium. Sensor nodes (e.g. smart devices) are autonomous in the sense that they have the ability to acquire, store, process, and transmit over short distances physical or chemical phenomenon quantities. However, in most cases, sensor nodes are equipped with batteries without rechargeable and replaceable nature, which force minimizing the energy wastage.
Detecting physical or chemical events from the environment is an important and common task in many research areas. Such events become relevant if they are wireless-stamped with parameters such as time of occurrence and spatial location. A WSN is aimed to correlate these parameters with sensor data, where time and space have been discussed recently.1–3 Thus, accurate location of sensor nodes plays a fundamental role to figure out where the sensed data are coming from. Moreover, the position information of sensor nodes is crucial in location-aware applications like wildlife tracking, search and rescue, traffic management, military affair, and disaster areas to mention a few.
Locating sensor nodes can be trivially solved by adding a GPS (or other schemes to self-localize) into each sensor node; however, this technique has been blamed for the nature such as costly and energy-consuming which hinders the application in practice. In many situations, a WSN is deployed in a structured manner where sensor nodes are placed by hand or via autonomous robots. In this case, the location sensor problem represents a minimum challenge since the location of sensor nodes could be known
Due sensor nodes communicate over short distances, data are transmitted from sensor nodes to a gateway node (i.e. sink node) using multi-hop routing protocols. To self-localize, in range-based multi-hop networks, every US must estimate its distance to at least three non-collinear ANs (in a two-dimensional (2D) scenario). Thus, once an US has obtained its initial position estimate (e.g. using trilateration or any other scheme), a refinement stage can be carried out in order to improve its own position estimation using information collected from one-hop neighboring sensors.
Once deployed, wireless connections among sensor nodes determine the type of network topology, and it basically depends on factors such as the number and radio-range of sensors, environmental conditions, geographic structures, and how sensor nodes are distributed. For instance, Figure 1(a) shows an anisotropic network where the estimated distance between two sensor nodes (e.g. those located around the circle in opposite directions) tends to be a curved line and generates large errors since it is proportional to the hop-count between them. However, Figure 1(b) shows a connected network (i.e. non-isolated sensor nodes) where approaches like DV-hop,

Multi-hop wireless networks: (a) a connected network with a circular uniform distributed topology. It contains 100 sensors distributed over a 2D square area of 200 m × 200 m. (b) A connected network with uniformly randomly distributed sensor nodes. It contains 100 sensors placed over a 2D square area of 200 m × 200 m. (c) A partial connected network with a uniform distributed topology. It contains 100 sensors distributed over a 2D square area of 200 m × 200 m.
As can be seen, localization algorithms in multi-hop networks are highly dependent on topologies and errors on distance estimates. In view of this problem, some research works have proposed robust schemes that help to reduce errors on distance estimates for multi-hop networks considering irregular topologies.9–16 For instance, Zheng et al. 16 propose a regularized extreme learning machine method (RELM) for multi-hop localization. This scheme is composed of three stages: training, modeling, and locating the nodes. The method creates a model with inter-node anchor information. Finally, distance estimations between USs and ANs are computed using the network model. Even though this methodology can be suitable to be implemented over irregular network topologies, the model is highly dependent on both the number and the position of the anchors. Also, Akbas et al. 17 presents a methodology to estimate distances between USs and ANs, which is based on the minimum number of hops between a set of stationary ANs and a set of USs floating over a river. This approach requires a manual positioning of the ANs alongside the river, and the radio range of the ANs must be larger than the USs. Another approach to estimate distances between ANs and USs is introduced in Cota-Ruiz et al. 18 This scheme finds out all possible routes with the minimum number of hops between an AN and an US using a recursive shortest path algorithm (RSPA); for each found route, an estimated distance is calculated based on the sum of inter-node RSS measurements, and the final estimate is calculated by averaging all distance routes. The drawback of this approach is the time-computation to calculate all possible routes between two non-neighboring sensors whose complexity increases for dense networks of sensor nodes. Another scheme to estimate distances between two non-neighboring sensor nodes is addressed in Chen et al. 19 This approach, signal similarity-based localization method (SSLM), generates a numerical value that relates the RSS similarity between two neighboring sensors. This process is applied to each pair of connected sensor nodes to finally estimate the distance between ANs and USs using the shortest path routing algorithm.
Commonly, the mathematical formulation of the node placement problem requires to solve a non-linear and non-convex optimization problem, and iterative algorithms must be applied in order to minimize errors on position estimates.20–24 For instance, in Cota-Ruiz et al.,
24
a distributed iterative localization algorithm is used as a refinement stage where each US must compute a local objective function, composed by a constrained set of position estimates equally spaced, in order to minimize the sum of error distances with one-hop neighboring sensors using the
In this research, we modify the algorithm presented in Cota-Ruiz et al. 24 to create a distributed weighted-hop localization (DWHL) algorithm that can be useful as a refinement stage for static multi-hop localization. This scheme uses hops proximity between USs and ANs to improve position estimates. As a result, USs nearer to ANs will have more weight than those located far away from anchors. After initial estimates are solved by USs, they can apply the proposed approach to improve their position estimates. Results show that errors in the initial position estimates (i.e. obtained from approaches like RELM, SSLM, RSPA, DV-hop, and DV-distance) are greatly reduced after using this approach even for anisotropic network topologies.
The rest of the work is organized as follows. Section “The power observation: a common range-based measurement used in wireless sensor network localization” explains the RSS technique. Section “The range-based multi-hop localization” describes the problem formulation in multi-hop network localization. Section “The distributed weighted-hop localization algorithm” details the proposed algorithm. Section “Performance of the proposed localization scheme in multi-hop networks” shows experimental results, and section “Conclusion” concludes the research.
The power observation: a common range-based measurement used in wireless sensor network localization
Even though the RSS technique suffers from fading and shadowing, it is a low-cost and a common method used in range-based WSN localization. The received signal strength indicator (RSSI) technology is a common feature integrated into most wireless devices and does not require special hardware support to estimate a distance between two sensor nodes. The RSS technique uses the concept that the power of a transmitted RF signal diminishes with the distance traveled; and if two sensor nodes are within a detecting range, the signal strength can be measured by an RSSI. As a first approximation, the noise-free case, suppose that at a unit distance
the distance
However, a more realistic model frequently used for wireless radio propagation is represented by the ideal received power + noise power as follows
and the noisy measured power
where
where the error
The range-based multi-hop localization
Assuming that all sensor nodes have been randomly positioned over a large and inaccessible terrain, have the same circular radio range
Ranging: how to estimate distances between neighboring sensors and non-neighboring sensors (e.g. USs and ANs).
Initial positioning: how to estimate locations of USs given some noisy pairwise distance measurements between USs and ANs and a trilateration method.
Final positioning: how to improve locations of USs given some noisy pairwise distance measurements among one-hop neighboring sensors.
This research limits the discussion to two dimensions. The sensor field is formed by
where ‖·‖ denotes the Euclidean norm, and
as the noisy range measurement between the sensor
The combination
A path in a graph (or network) is conformed by linking two non-incident vertices (or non-neighboring sensor nodes) with an alternating sequence of
where
Without loss of generality, consider
where
Similarly to equation (8), let us define the set of
Then, to get initial estimates for each unknown sensor in the network
which minimizes range estimates between unknown sensors and anchor nodes. Once initial estimates are calculated, a refinement stage can be applied in order to improve position estimates. The mathematical formulation for the refinement stage can be stated as follows
which minimizes range estimates among one-hop neighboring sensors. Basically, the range-based multi-hop localization problem requires two set of range measurements for each
The distributed weighted-hop localization algorithm
The non-linear global optimization problem of equation (14) cannot be solved efficiently in a central node for practical situations due the computational complexity and wireless packet requirements to be re-transmitted toward the central sensor node for processing. Instead, this problem is divided and solved in sub-optimization problems (i.e. a divide and conquer scheme) in a distributed way.20,21,23,28 Thus, once a sensor
The sensor node
Upon receiving the neighboring sensor packet, the sensor
The sensor node
The last and current position estimates are evaluated with a metric for criterion stopping. If the process continues, it will return to the first step; otherwise, it leaves of transmitting its position. This iterative process is detailed in the next paragraphs.
Given a position estimation
The scalar value obtained in equation (15) constraints the search region

A constrained-discrete region of unknown sensor
As can be observed from Figure 2, the search region area is located in the middle of the actual position
where
To describe graphically the last procedure, Figure 3 shows a small network conformed by three anchor nodes (i.e. red points with letter A) and 13 unknown sensors (i.e. blue points with letter S). Wireless connectivity among sensor nodes is shown with dashed lines, and anchor nodes have the maximum hierarchical level of one. Sensor nodes that are at one-hop of distance of any anchor will receive the next higher priority level of two, and so on; therefore, the unknown sensor

Typical network connectivity where the hierarchical levels are assigned to each unknown sensor.
Clearly,
Performance of the proposed localization scheme in multi-hop networks
As before described, a range-based localization algorithm faces the first challenge problem in how estimate distances between USs and ANs that are commonly separated by several hops; good initial estimates for USs are highly dependent on factors like the network topology, the accuracy of estimated distances between sensor nodes, and the localization algorithm. However, large errors on initial estimates can be present in multi-hop localization. In the next sections, the proposed weighted algorithm is evaluated under two different scenarios: isotropic and anisotropic networks as shown Table 1. The root mean square error (RMSE) evaluates the errors of position estimates. The metric is shown in equation (18)
Here, ‖·‖ is the Euclidean norm,
Setup of networks to evaluate the accuracy performance of the proposed refinement localization algorithm where the estimation distance between USs and ANs are calculated under different schemes like DV-hop, DV-distance, RELM, RSPA, and SSLM methods.
US: unknown sensors; AN: anchor nodes.
To analyze the accuracy performance of the proposed algorithm, 10 different sensor networks are created for each topology as shown in Table 1.
Specific changes in US parameters like varying the size of radio range and the magnitude-error in range measurements are carried out to analyze the performance of the proposed scheme. Each sensor
where
where the size of the searching area
Range-based multi-hop localization over randomly and uniformly distributed sensor networks
In this section, we test the proposed DWHL algorithm under different WSN scenarios. In the first part, we create 10 multi-hop networks in MATLAB (2010, ver. 7.10) as shown in Figure 1(b). Each network consists of
For each network, five non-collinear anchors are chosen and radio ranges of
Figure 4 depicts two important parameters obtained from the 10 isotropic networks. For instance, in the right side of Figure 4, the degree of a node, taken as the average of the 10 networks, is shown at different radio ranges. In a similar way, the left side of the figure shows the hierarchical level of nodes also considering the average of the 10 networks.

Network parameters, the degree of nodes and the hierarchical level of unknown sensors, are extracted from 10 isotropic networks at different radio ranges.
The right side of Figure 4 highlights that increasing the radio range also increases the degree of each node in the network while the left side of the figure presents an opposite behavior by decreasing the hierarchical level of nodes (i.e. the minimum number of hops to the closest anchor node plus one as is shown in Figure 3). Thus, increasing the radio range of sensor nodes helps the localization process.
In the first test, we consider that both USs and ANs have a radio range of

Combination of [initial-estimates] + (the refinement algorithm DWHL) at 15 iterations to improve position estimates for unknown sensors distributed over isotropic networks at different radio ranges: (a)
Even though, there are isotropic networks for these experiments, a radio range of
However, as expected, increasing the radio range in each sensor node
Another interesting analysis consists of increasing errors in range measurements. Keeping both, the position set of unknown sensors and anchors positions for each one of the 10 benchmark networks, the distance estimation errors among neighboring sensors is increased to

Combination of [initial-estimates] + (the refinement algorithm DWHL) at 15 iterations to improve position estimates for unknown sensors distributed over isotropic networks at different radio ranges: (a)
Comparing initialization stages between Figures 5(a) and 6(a), 5(b) and 6(b), and 5(c) and 6(c), we can observe that methods based in the hop-count to estimate distances among non-neighboring sensors like the DV-hop and the RELM approaches produce similar initial estimates in both cases. The reason is that these schemes do not depend on errors in distance measurements; they use the average-hop between anchor positions. Conversely, range-based distance schemes like RSPA, SSLM, and DV-distance are highly dependent on the accuracy in distance estimates. Whatever the case, in the refinement stage, the DWHL algorithm achieves to decrease the RMSE in all tests.
Evidently, the DV-distance in combination with the proposed algorithm provides the best accuracy performance than the other schemes, and better results are obtained by increasing the radio range of sensor nodes. This combination can be implemented in a distributed way with a low complexity and computational cost. However, the RELM approach in combination with the proposed algorithm indicates the worst accuracy performance under this type of network distribution. However, the RELM method is suitable to be implemented over irregular network topologies as those analyzed in the next section.
Range-based multi-hop localization over irregular topologies of sensor networks
This section analyzes the accuracy performance of the proposed DWHL scheme under anisotropic networks. We consider that all deployed networks are of the form of these ones presented in Figure 1(a), where there is a path between every pair of nodes, and five of the 100 sensor nodes are anchors distributed around the circle. The tests for this section run also of the same form as the described in last section “Range-based multi-hop localization over randomly and uniformly distributed sensor networks,” where 10 anisotropic networks with noisy range measurements among neighboring sensors are created. Figure 7 shows two important parameters of the evaluated anisotropic networks: the degree of nodes and the hierarchical level of unknown sensors.

Network parameters, the degree of nodes and the closeness to anchor nodes, are extracted from 10 circular-shape networks at different radio ranges.
Similar to isotropic networks, the concentration of neighboring nodes per sensor, considering the same deployed area and the same number of sensor nodes, increases accordingly with the increment of the radio range and the hierarchical level also decreases. However, an important behavior must be taken into account for this kind of circular-shape topology; the degree of nodes is bigger than the isotropic one since most unknown sensors are concentrated in small area around the boundary of the circle.
The first test consists of evaluating the accuracy performance of the proposed refinement DWHL algorithm at different initial estimates. Initial estimates are computed using the range-based schemes (i.e. RELM, RSPA, SSLM, DV-hop, and DV-distance) to estimate distances between USs and ANs; and the method LM provides the initial position estimate for each US. Ranging error among neighboring sensors, with the RSS technique, is

Combination of [initial-estimates] + (the refinement algorithm DWHL) at 15 iterations to improve position estimates for unknown sensors distributed over anisotropic networks at different radio ranges: (a)
Figure 8(b) shows accuracy results on position estimates when the radio range of every sensor node is increased to
However, increasing errors on distance estimates among neighboring sensors over the 10 benchmark networks to

Combination of [initial-estimates] + (the refinement algorithm DWHL) at 15 iterations to improve position estimates for unknown sensors distributed over anisotropic networks at different radio ranges: (a)
For instance, for
As final test, the proposed algorithm is analyzed with random initial positions for each unknown sensor. For each unknown sensor, it is defined a circular area with radio range
In the case of the 10 isotropic networks with

RMSE behavior of the proposed algorithm (DWHL) with 15 iterations at different initial estimates [random values inside of a circle area] using radio ranges of (a)
In addition, the DWHL algorithm is tested with the same set of the 10 isotropic networks, but now using a

RMSE behavior of the proposed algorithm (DWHL) with 15 iterations at different initial estimates [random values inside of a circle area] using radio ranges of (a)
Figure 12 shows the accuracy performance of the DWHL algorithm using the set of the 10 anisotropic networks, described at the beginning of this section, with

RMSE behavior of the proposed algorithm (DWHL) with 15 iterations at different initial estimates [random values inside of a circle area] using radio ranges of (a)

RMSE behavior of the proposed algorithm (DWHL) with 15 iterations at different initial estimates [random values inside of a circle area] using radio ranges of (a)
Although the topologies are irregular, the estimating positions after 15 iterations show similar accuracy results from those ones obtained with regular topologies at different radio ranges, which indicates that the proposed approach is not sensitive of the network topology; however, it must be remarked that anchor nodes are uniformly randomly distributed in each network. As expected, initial position estimates yield very similar results for both regular and irregular network topologies at any radio range since initial estimates do not depend on neither the topology nor error distances between sensor nodes.
As can be observed from Figures 10–13, for connected networks with regular or irregular distribution of sensor nodes, the proposed localization scheme would represent a good option when an accurate distributed node localization algorithm with low computational complexity should be a priority. As final remark, it is important to observe how the refinement algorithm only requires around five iterations, in average, to reach the lowest RMSE value for any test, which shows that the speed of convergence can be suitable in distributed iterative localization algorithms.
Conclusion
In this research, we propose a weighted method useful for localization in static multi-hop networks. The proposed scheme represents an improvement of that presented in Cota-Ruiz et al. 24 This approach introduces spatial locations and local functions to minimize errors of distance estimates among neighboring sensors using a weighted-hop function. To test the accuracy performance of the proposed algorithm, initial estimates are generated in a variety of forms like random values inside of a circular area or by classical methods as RELM, RSPA, SSLM, DV-hop, and DV-distance algorithms in combination with the LM method. The improvement if initial position estimates is carried out iteratively by the weighted-hop localization algorithm. Localization tests realized over multi-hop isotropic and anisotropic networks demonstrate that the proposed approach, in combination with range-based or hop-based methods, can provide sufficient accuracy in position estimates with low-complexity computation to be considered in most location-dependent applications. Moreover, given rough initial estimates, the proposed algorithm is able to reduce high errors less than the radio range of sensor nodes with a few iterations. Also, the accuracy performance of the proposed algorithm does not show dependence with the network topology; however, we must remark that anchor positions also play an important role in the accuracy performance of the proposed scheme.
