Next Article in Journal
Optimization of Gradient-Echo Echo-Planar Imaging for T2* Contrast in the Brain at 0.5 T
Previous Article in Journal
A Short Video Classification Framework Based on Cross-Modal Fusion
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Hybrid Localization Algorithm for an Adaptive Strategy-Based Distance Vector-Hop and Improved Sparrow Search for Wireless Sensor Networks

1
School of Information Science & Electrical Engineering, Shandong Jiaotong University, Jinan 250357, China
2
School of General Aviation, Civil Aviation Management Institute of China, Beijing 100082, China
*
Authors to whom correspondence should be addressed.
Sensors 2023, 23(20), 8426; https://doi.org/10.3390/s23208426
Submission received: 5 September 2023 / Revised: 28 September 2023 / Accepted: 3 October 2023 / Published: 12 October 2023
(This article belongs to the Section Sensor Networks)

Abstract

:
Wireless sensor networks (WSNs) are applied in many fields, among which node localization is one of the most important parts. The Distance Vector-Hop (DV-Hop) algorithm is the most widely used range-free localization algorithm, but its localization accuracy is not high enough. In this paper, to solve this problem, a hybrid localization algorithm for an adaptive strategy-based distance vector-hop and improved sparrow search is proposed (HADSS). First, an adaptive hop count strategy is designed to refine the hop count between all sensor nodes, using a hop count correction factor for secondary correction. Compared with the simple method of using multiple communication radii, this mechanism can refine the hop counts between nodes and reduce the error, as well as the communication overhead. Second, the average hop distance of the anchor nodes is calculated using the mean square error criterion. Then, the average hop distance obtained from the unknown nodes is corrected according to a combination of the anchor node trust degree and the weighting method. Compared with the single weighting method, both the global information about the network and the local information about each anchor node are taken into account, which reduces the average hop distance errors. Simulation experiments are conducted to verify the localization performance of the proposed HADSS algorithm by considering the normalized localization error. The simulation results show that the accuracy of the proposed HADSS algorithm is much higher than that of five existing methods.

1. Introduction

Recently, wireless sensor networks (WSNs) have been widely used to realize real-time sensing, accurate identification, and the management of physical worlds [1]. WSNs are composed of many low-power and energy-limited inexpensive sensor nodes that collaborate to sense, collect, process, and transmit information in the coverage area and then send it to the base station. Currently, WSNs are widely used in many fields such as smart cities, national defense, environmental monitoring, and smart homes [2,3,4]. For these applications, node location is indispensable. It would be meaningless if the exact node location cannot be obtained [5].
Existing node localization techniques in WSNs can be classified as range-based or range-free, according to whether a distance measurement between nodes is required [6]. For range-based localization algorithms, additional hardware is needed to measure the distances or angles between nodes whose accuracy is much higher [7]. Right now, a variety of neural network-based technologies are incorporated to improve range-based localization algorithms. However, the accuracy is decreased significantly in complex environments because of interference and high energy consumption [8]. Typical range-based algorithms mainly include time of arrival (ToA) [9], time difference of arrival (TDoA) [10], angle of arrival (AoA) [11], and received signal strength indication (RSSI) [12]. However, for range-free localization algorithms, only network information is needed to realize the node localization, which takes advantage of easy implementation and low energy consumption. Its localization accuracy is generally lower than that of ranging-based algorithms. The DV-Hop algorithm [13], centroid algorithm [14], amorphous algorithm [15], and APIT [16] are all range-free localization algorithms.
The DV-Hop algorithm is a classical range-free localization algorithm that extends the information of a small number of GPS-equipped nodes to the whole network in a hop-by-hop manner to achieve the localization of all nodes without any additional hardware devices. As a popular research topic, many improved DV-Hop algorithms have been proposed. Chen et al. used the average hop distance of a network as a whole instead of the average hop distance obtained with an unknown node from the nearest anchor node and used a two-dimensional hyperbolic algorithm instead of the maximum likelihood estimation method to achieve good results and improve localization accuracy [17]. Zhang et al. analyzed the effect of node collinearity on the localization accuracy of the DV-Hop algorithm and used Voronoi diagrams to zone a wireless sensor network [18]. Peng et al. improved the DV-Hop algorithm using a genetic algorithm and used the bounding box idea to limit the initial population range of the genetic algorithm, which not only accelerated the convergence speed of the algorithm but also improved the localization accuracy [19]. Cui et al. proposed a method using Lévy and Cauchy’s strategy to optimize the cuckoo search algorithm of the DV-Hop-improvement algorithm, and their simulation results showed that the improved algorithm had higher localization performance compared with the DV-Hop algorithm [20]. Santar Pal Singh et al. proposed a PSO-improved DV-Hop algorithm that fully considers the number of hops between nodes when setting the fitness function [21]. Huang et al. proposed a new error-reduction method combining the Manhattan distance with the Euclidean distance to obtain a new hopping frequency and hopping distance and then used a multi-objective genetic algorithm to optimize the unknown node coordinates, which greatly improved the positioning accuracy of the DV-Hop algorithm [22].
Actually, many complex problems are difficult to solve in a reasonable time using the mentioned traditional deterministic optimization algorithms. Many metaheuristic algorithms have been widely adopted in WSN localization due to their flexibility and efficiency. These typical algorithms include the simulated annealing algorithm (SAA) [23], the particle swarm algorithm (PSO) [24], the gray wolf optimization algorithm (GWO) [25], and the whale optimization algorithm (WOA) [26]. Although these algorithms are widely used, they are not perfect. The SSA has a high requirement for the initial temperature of annealing and a slow convergence rate. The PSO converges faster, but it also easily falls into local optima. To solve these problems, selecting appropriate intelligent optimization algorithms becomes important. The sparrow search algorithm is another kind of metaheuristic algorithm that was proposed based on the behavioral activities of sparrow populations [27]. Compared with other algorithms, the sparrow search algorithm takes advantage of fast convergence speed and high convergence accuracy in solving location optimization problems in WSNs.
In this paper, a hybrid localization algorithm for an adaptive strategy-based distance vector-hop and improved sparrow search (HADSS) is proposed. The contributions of this paper are as follows:
  • Since the simple use of multiple communication radii would lead to excessive communication overhead, this paper uses an adaptive hop count strategy to refine the hop counts and a hop count correction factor to refine the hop counts again, which reduces both the hop count error and the communication overhead.
  • A combination of the anchor node trust degree and the weighting method is used to obtain the average hop distance, which takes into account both the global and local information of the anchor nodes. As a result, the average hop distance error can be effectively reduced.
  • An improved sparrow search algorithm is proposed to calculate the coordinates of unknown nodes and reduce the error of coordinate calculation.
The remainder of this paper is organized as follows. The principles of the DV-Hop algorithm and the sparrow search mechanism are provided in Section 2. Improvements to the DV-Hop algorithm and the sparrow search mechanism are given in Section 3. Section 4 presents the implementation process of our proposed algorithm. Algorithm performance metrics and experimental simulation results are shown in Section 5. Finally, this paper is concluded in Section 6.

2. Related Work

2.1. DV-Hop Algorithm

Phase 1: Obtain the minimum hop count between nodes. First, each anchor node broadcasts a packet containing its location and the hop count field with an initial value of 0. During the broadcasting of packets, the hop count value of packets is increased by 1 with every hop. This means that when receiving this packet, each node records the location of the anchor node and initializes the hop count information. Finally, all nodes in the network record their minimum hop count value with each anchor node and the location coordinates of each anchor node [28].
Phase 2: Calculate the average hop distance between anchor nodes and the distance between unknown nodes and anchor nodes. According to the coordinate information of the anchor node, the straight-line distance between any two anchor nodes is calculated. In the first stage, the minimum hop count value between any two anchor nodes is obtained in phase 1. Then, the equation for average hop distance can be expressed by Equation (1).
H o p s i z e i = j i n ( x i x j ) 2 + ( y i y j ) 2 j i n h i j
where H o p s i z e i represents the average hop distance of anchor node i , n represents the number of anchor nodes, x i , y i represents the coordinates of anchor node i , x j , y j represents the coordinates of anchor node j and h i j represents the minimum hop count between anchor nodes i and j . The unknown node k obtains the average hop distance from the nearest anchor node to itself, and then multiplies it with the minimum hop count obtained in phase 1 to obtain the estimated distance between two nodes. The calculation equation is expressed by Equation (2).
d i k = H o p s i z e i × h i k
where, d i k represents the distance between the unknown node k and the anchor node i , and h i k represents the minimum hop count between the unknown node k and the anchor node i .
Phase 3: Calculate the coordinates of the unknown nodes. In the previous phases, the unknown nodes obtain the estimated distance from all anchor nodes, and the coordinates of the unknown nodes can be calculated using the least squares method. The calculation process is represented by the following equation.
Without considering the error, the distance relationship between the unknown nodes and the anchor nodes can be expressed by Equation (3).
( x 1 x k ) 2 + ( y 1 y k ) 2 = d 1 k 2 ( x 2 x k ) 2 + ( y 2 y k ) 2 = d 2 k 2 ( x n x k ) 2 + ( y n y k ) 2 = d n k 2
where, x 1 , y 1 , x 2 , y 2 , … x n , y n represent the coordinates of n anchor nodes and x k , y k represents the coordinates of the unknown node k . Subtract the first n 1 equations of Equation (3) from the n t h equation to obtain Equation (4).
d k 1 2 d k n 2 + x n 2 x 1 2 + y n 2 y 1 2 = 2 x n x 1 x k + 2 y n y 1 y k d k 2 2 d k n 2 + x n 2 x 2 2 + y n 2 y 2 2 = 2 x n x 2 x k + 2 y n y 2 y k d k n 1 2 d k n 2 + x n 2 x n 1 2 + y n 2 y n 1 2 = 2 x n x n 1 x k + 2 y n y n 1 y k
Rewrite Equation (4) in the form of A X k = B . A , X k , and B are shown in Equations (5)–(7).
A = 2 x 1 x n x 2 x n x n 1 x n             y 1 y n y 2 y n y n 1 y n
X k = x k y k
B = d k 1 2 d k n 2 + x n 2 x 1 2 + y n 2 y 1 2 d k 2 2 d k n 2 + x n 2 x 2 2 + y n 2 y 2 2 d k n 1 2 d k n 2 + x n 2 x n 1 2 + y n 2 y n 1 2
The coordinates of the unknown nodes can be expressed by Equation (8).
X = A T A 1 A T B

2.2. DV-Hop Error Analysis

  • Minimum Hop Count Error
To solve the coordinates of unknown nodes, the DV-Hop algorithm relies on the hop count and distance information between unknown nodes and anchor nodes. When calculating the minimum hop count, all other nodes within the communication range of the node will record the obtained hop value as 1, but the distance between nodes within the communication radius may have a large gap. As shown in Figure 1, S is the anchor node and A, B, and C are the unknown nodes. If the hop count of all three unknown nodes in the communication radius of the anchor node S is recorded as 1, then it is equivalent to treating the distances between the unknown nodes A, B, and C and the anchor node S as equal. However, it is obvious from the figure that the distances between the unknown nodes A, B, and C and the anchor node S are significantly different, which will significantly reduce the localization accuracy.
2.
Error in calculating the average hop distance
The unknown nodes will obtain the average hop distance from the nearest anchor node, and then calculate the distance between it and the anchor node using Equation (2). In other words, the estimation result of the average hop distance will have a great impact on the localization accuracy. In calculating the average hop distance, the average hop distance is obtained by dividing the linear distance between anchor nodes by the minimum hop count. If the sensors are randomly distributed in a certain area, the paths between the nodes may be zigzag, and the communication between the nodes requires multiple hops to complete. As shown in Figure 2, when the distance between anchor node S1 and anchor node S2 is d and the minimum hop count is 5, the estimated average hop distance between anchor nodes S1 and S2 is d / 5 ,while the actual average hop distance between anchor nodes S1 and S2 is d 1 + d 2 + d 3 + d 4 + d 5 / 5 . Because d < d 1 + d 2 + d 3 + d 4 + d 5 , there is an error in the average hop distance estimated using the DV-Hop algorithm compared with the actual average hop distance. The unknown node obtains the average hop distance from the nearest anchor node. Once the average hop distance error of the anchor node itself are large, then the unknown node will have accumulated errors when calculating its coordinates, which will largely reduce the localization accuracy.
3.
Error in calculating coordinates
When DV-Hop calculates the coordinates of the unknown nodes, the least squares method is generally used. However, the reference equation chosen by the least squares method has a great influence on the positioning results, especially if the chosen equation corresponds to a large hop count between the anchor node and the unknown node, which will cause accumulated errors.

2.3. Sparrow Search

The sparrow search algorithm is a new swarm intelligence optimization algorithm that was proposed in 2020. According to the different tasks that sparrows undertake in a population, the sparrow population is divided into discoverers, followers, and scouts.
  • The discoverer takes on the task of finding food in the sparrow population and plays a dominant role in the population. The location renewal mechanism of discoverers is shown in Equation (9).
X i , j t + 1 = X i , j t · exp i α · M i f   R 2 < S T X i , j t + Q · L i f   R 2 S T
where, X i , j t + 1 and X i , j t represent the position of the i t h sparrow in the j t h dimension at t + 1 and t iterations, respectively, M represent the maximum number of iterations, α is a random number on 0 , 1 , Q is a random number obeying a normal distribution, and L is a 1 × D -dimensional matrix with all its elements being 1. R 2 is the warning value of the population, R 2 0 , 1 , and S T is the safety threshold, S T 0.5 , 1 . R 2 < S T means that the sparrow population is not in danger, whereas R 2 S T means that the sparrow population is in danger and needs to move to a safe place to feed.
2.
The follower will find the discoverer with a high fitness value to update its position, and the position update mechanism of the follower is shown in Equation (10).
X i , j t + 1 = Q exp X w o r s t t X i , j t i 2 i f   i > n 2   X P t + 1 + X i , j t X P t + 1 A + L i f   i n 2
where X w o r s t t and X P t + 1 represent the global worst sparrow position and the best sparrow position at the t t h and t + 1 t h iteration, respectively. n represents the number of sparrows in the population. A + is a 1 × D -dimensional matrix with elements randomly assigned dimension 1 or −1, while A + = A T A A T 1 .
3.
Scouts will give an early warning of danger that allows the whole population to escape from it. The scout’s location update mechanism is shown in Equation (11).
X i , j t + 1 = X b e s t t + β X i , j t X b e s t t i f   f i f g X i , j t + K X i , j t X w o r s t t f i f ω + ε i f   f i = f g
where X b e s t t is the global optimum position of the t t h iteration, β is the step correction coefficient and obeys the standard normal distribution K = 1 , 1 , and f i , f g and f ω denote the current sparrow fitness value, the global optimum sparrow fitness value and the global worst sparrow fitness value, respectively. ε is a small constant to avoid the case of a zero denominator.
The sparrow search algorithm has the advantages of a simple framework, few control parameters, good flexibility, and easy implementation, but it still has the problems of low convergence accuracy and difficulty in hopping out of local extremes.

3. Model and Methodology

Based on the analysis, we propose strategies for the three phases of the DV-Hop algorithm to improve its deficiencies.

3.1. Adaptive Hop Count Strategy

First, to address the problem that the first stage of the DV-Hop algorithm sets the hop count of all nodes within the communication radius of the anchor node to 1, which in turn leads to an error in the minimum hop count, an adaptive hop count strategy is used to refine the minimum hop count of the nodes within the communication radius of the anchor node with different distances from the anchor node to achieve the purpose of reducing the error [29]. The adaptive hop count strategy is shown in Equation (12).
m = n N + R L σ
where m denotes the minimum hop count of nodes within the refined communication radius of the anchor node. Taking Figure 1 as an example, assuming m = 2 , it means that the anchor node broadcasts to the whole network with a double communication radius. There are then two minimum hop counts within the communication radius of the anchor node, 0.5 and 1, the minimum hop count between node A and node B and anchor node S is 0.5, and the minimum hop count between node C and anchor node S is 1. n represents the number of anchor nodes, N represents the total number of nodes, R represents the maximum communication distance between nodes, L represents the maximum length of the network coverage area, and σ represents the multiplicity factor. The specific value is set according to the hop subdivision requirement in the network coverage area and the information related to node deployment.   stands for rounding upward.
As can be seen from Equation (12), the value of m is proportional to the ratio of the anchor node and the ratio of the communication radius to the maximum length of the network coverage area. For example, if the number of anchor nodes is increased while other conditions remain unchanged, then the number of nodes within the range of one hop that can communicate directly with the anchor node becomes larger. At the same time, the value of m becomes larger so that the minimum number of hops of nodes within the communication range of the anchor node is more refined and can reduce the error to a greater extent. Conversely, a smaller value of m reduces the unnecessary communication overhead while ensuring the minimum degree of hop subdivision required.
Second, to further minimize the error, the minimum hop count is corrected again using the hop count correction factor [30]. To define the ideal hop count H i j , H i j can be expressed by Equation (13).
H i j = d i j R
where d i j denotes the distance between anchor nodes i and j . To define the hop count deviation γ i j , γ i j can be expressed by Equation (14).
γ i j = h i j H i j h i j
where h i j denotes the hop count between anchor nodes i and j . The magnitude of the value of γ i j is an indication of the difference between the estimated and ideal hops, and the larger the γ i j , the larger the difference between the estimated and ideal hops. To define the correction factor ω i j , ω i j can be expressed by Equation (15).
ω i j = 1 γ i j 2
The corrected hop count can be expressed by Equation (16).
h i j = ω i j h i j

3.2. Average Hop Distance Optimization

DV-Hop uses the unbiased estimation criterion, which is given in Equation (1), to calculate the average hop distance between anchor nodes. However, it is found that the errors obey a Gaussian distribution in general [31], so it is more reasonable to use the mean square error criterion to calculate the average hop distance than to use the bias and variance. We use the mean square error criterion to calculate the average hop distance, and the formula of the average hop distance can be expressed by Equation (17).
H o p s i z e i = i j h o p i j d i j i j h o p i j 2
where h o p i j is the modified minimum hop count between anchor nodes and d i j is the distance between anchor nodes, which can be expressed by Equation (18).
d i j = ( x i x j ) 2 + ( y i y j ) 2
In the second phase of DV-Hop algorithm, the unknown node obtains the average hop distance from the anchor node closest to itself, which is too simple to select. The main characteristic of nodes in WSNs is the randomness of their distribution, and it is important to make full use of the information of more anchor nodes to compute the average hop distance of the unknown node. For this reason, a combination of the anchor node trust degree and the weighting is then adopted to correct the average hop distance obtained by unknown nodes.
First, the central idea of the weighting method is to strengthen the influence of anchor nodes in the WSN that are close to the unknown node; the closer the anchor node is to the unknown node, the higher the weight, and vice versa, the lower the weight. The weighting coefficient can be expressed by Equation (19).
φ i = 1 h o p i j i = 1 n 1 h o p i j
where φ i is the weight coefficient and h o p i j represents the hop count between the unknown node and the anchor node. The average hop distance of the unknown nodes can be represented by Equation (20).
Secondly, the central idea of the trust degree method is that the anchor nodes add a trust degree, and according to the size of the trust degree coefficient, the influence of the anchor nodes with a large trust degree coefficient is strengthened.
Since the average hop distance calculated by each anchor node is different, two different estimated distances are generated between anchor nodes S1 and S2. In order to balance the errors generated by the estimated distances, the estimated distance d i j is taken as the average of the two distances.
d i j = H o p s i z e i h i j + H o p s i z e j h i j 2
The actual distance between anchor nodes S1 and S2 is d i j , and the average per-hop error e i j between S1 and S2 can be calculated with the help of the error between d i j and d i j .
e i j = d i j d i j h i j
The global average per-hop error E i j of S1 can be obtained by accumulating the average per-hop errors between S1 and all other anchor nodes to find the average value.
E i j = i j n e i j n 1
The trust factor is defined as the ratio of the inverse of the global average per-hop error of this anchor node to the inverse of the global average per-hop error of all anchor nodes.
ξ i = 1 E i i = 1 n 1 E i
The average hop distance of unknown nodes can be expressed by Equation (24).
d h o p ξ = i = 1 n ξ i H o p s i z e i
In order to address the fact that a single method cannot fully and accurately reflect the hop distance in the network and reduce the risk of error accumulation, the average hop distances obtained with the two methods are summed and averaged to obtain the final average hop distance d h o p f i n .
d h o p f i n = d h o p φ + d h o p ξ 2

3.3. Improved Sparrow Search Mechanism

  • Fitness function setting
Based on the distances between the unknown nodes and the anchor nodes obtained in the first two phases of the DV-Hop algorithm, the following set of equations can be obtained, as shown in Equation (26).
( x 1 x k ) 2 + ( y 1 y k ) 2 = d ^ k 1 2 ( x 2 x k ) 2 + ( y 2 y k ) 2 = d ^ k 2 2 ( x n x k ) 2 + ( y n y k ) 2 = d ^ k n 2
where d ^ k i 2 is the distance between the unknown node k and the anchor node i estimated in the first two phases of the DV-Hop algorithm, and the error between d ^ k i 2 and the actual distance is assumed to be f k i . f k i can be expressed by Equation (27).
f k i = ( x i x k ) 2 + ( y i y k ) 2 d ^ k i 2
Then, the fitness function can be set as follows:
f i t n e s s = i = 1 n ( x i x k ) 2 + ( y i y k ) 2 d ^ k i 2
where x 1 , y 1 , x 2 , y 2 , … x n , y n represent the coordinates of n anchor nodes and x k , y k represents the coordinates of the unknown node k .
2.
Good point-set strategy
The population initialization of the original sparrow search algorithm is random, and the initial population diversity is poor, which will reduce the efficiency of the algorithm for finding the optimum solution. In this paper, we introduce the good point-set strategy to optimize the initial sparrow population, increase the initial population diversity [32], and make the initial population distribution more uniform, as shown in Figure 3. The initial population generated using the good point-set initialization strategy under the same conditions is more uniform than the randomly generated initial population.
3.
Improved discoverer position update mechanism
By analyzing Equation (9), it can be concluded that the previous generation discoverer’s position and the discoverer’s position change factor play a decisive role in the discoverer’s position. The value of the position change factor decreases randomly with the increase in the discoverer number, and when the value of the position change factor is larger, the discoverer’s position changes obviously, which enables the discoverer to explore food in a wider area. When the value of the position change factor is smaller, the discoverer’s position also changes less, which enables the discoverer to explore locally near the optimum solution and improves the algorithm’s local search capability. Therefore, the value of the position change factor is especially important for the discoverer’s location update mechanism. In order to better balance the discoverer between global exploration and local exploration, we improve the discoverer position update mechanism [33], and the improved discoverer position update mechanism is shown by Equation (29).
X i , j t + 1 = X i , j t 2 exp 4 i α · M 2 i f   R 2 < S T X i , j t + Q L i f   R 2 S T
Let a = exp i α M and b = 2 exp 4 i α M . According to Figure 4, it can be seen that in the smaller part of the discoverer number, the range of b values is larger than a, and the discoverer can search for the best at a larger step, and in the larger part of the discoverer number, the range of b values is smaller than a, and the discoverer can search locally at a smaller step to improve the accuracy of the search.
4.
Adaptive t-distribution perturbation strategy
The t-distribution, also called the student distribution, has a degrees of freedom parameter m that determines the shape of the curve of the t-distribution [34]. The t-distribution probability density function is represented by Equation (30):
p x = Γ m + 1 2 m π × Γ m 2 × 1 + x 2 m m + 1 2 , < x < +
where:
Γ m + 1 2 = 0 + x m + 1 2 1 e x d x
The degree of freedom parameter m = 1 is an important parameter that determines the nature and shape of the t-distribution. When m = 1 , the t-distribution is the same as the Cauchy distribution, and as m = 1 increases, the t-distribution gradually approaches the Gaussian distribution until m and the t-distribution becomes the same as the Gaussian distribution. The probability density plots of the t-distribution, Cauchy distribution and Gaussian distribution are shown in Figure 5.
In order to prevent the algorithm from falling into the local optimum in the iterative search process and being unable to hop out, this paper uses the adaptive t-distribution perturbation mechanism with the number of iterations i t e r as the parameter of degrees of freedom to help the algorithm hop out of the local optimum, enhance the global search capability of the algorithm in the early iteration and the local exploration capability in the late iteration, and improve the convergence accuracy of the algorithm. The specific position update mechanism can be expressed by Equation (32).
X i t + 1 = X i t + X i t t i t e r
where X i t + 1 is the position of the sparrow after t-distribution perturbation, X i t is the position of the i t h sparrow in the t t h iteration, and t i t e r is the t-distribution variation operator. The perturbation factor is added when the position is updated, and the position information of the previous generation is considered, which helps the algorithm to hop out of the local optimum.
When using the t-distribution perturbation mechanism, in order to avoid an excessive increase in the operating cost of the algorithm, this paper uses the adaptive probability p to regulate the use of the t-distribution perturbation mechanism in the process of finding the optimum. The adaptive probability p can be expressed by Equation (33).
p = δ 1 δ 2 M i M
where δ 1 represents the maximum value of p and δ 2 represents the variation in p . In this paper, we choose δ 1 = 0.5 and δ 2 = 0.1 .

4. Realization of Proposed Algorithm

The complete implementation process and flowchart of our proposed algorithm are given in this section.

4.1. Improvement in DV-Hop Algorithm

  • After initializing the network, the anchor nodes broadcast information to the network using an adaptive hop count strategy according to the network deployment until all nodes obtain the refined minimum hop count, and then the hop count between anchor nodes is corrected again according to the hop count correction factor.
  • The average hop distance between anchor nodes is calculated according to the mean square error criterion. The unknown nodes obtain the average hop distance according to the combination of the anchor node trust degree and the weighting method and multiply it with the obtained minimum hop count to obtain the estimated distance between all unknown nodes and all anchor nodes.
  • The improved sparrow search algorithm is used to locate the unknown nodes instead of the least squares method.

4.2. Steps and Flow Chart of the HADSS Algorithm

1.
Initialize the WSN settings with a node deployment area of a square area of L × L meters, sensor numbers N, anchor node numbers n, and communication radius R.
2.
The anchor nodes adaptively select the number of communication radii and broadcast information to the network based on the initial conditions in the network by the results calculated using Equation (12) until all nodes have obtained the minimum hop count between them and the anchor node, and then makes a secondary correction to the hop count between the anchor nodes.
3.
Calculate the average hop distance between anchor nodes. The unknown nodes obtain the average hop distance according to the combination of the anchor node trust degree and the weighting method and then multiply it with the obtained minimum hop count to obtain the estimated distance between all unknown nodes and all anchor nodes.
4.
The good point-set strategy is used to initialize the sparrow population with the number of populations Num, the maximum number of iterations M, the population safety threshold ST, and other parameters.
5.
Calculate the fitness values of the population according to Equation (28), rank them from smallest to largest, and select the top 20% of the fitness ranking as discoverers and the rest as followers.
6.
According to Equations (29), (10), and (11), the positions of discoverers, followers, and scouts are updated, and the population fitness values are calculated.
7.
Perturb the updated positions using adaptive t-distribution variation according to Equation (32), calculate the fitness values before and after the variation using Equation (28) and compare them, and keep the positions and fitness values of the individuals with the best fitness values.
8.
Determine whether the current iteration number iter reaches the maximum iteration number M. If yes, proceed to the next step; if not, return to step (3).
9.
Output the position of the global optimum sparrow.
A flow chart of the HADSS algorithm is shown in Figure 6.

5. Experimental Results and Analysis

Algorithm performance evaluation metrics and experimental simulation results are given in this section.

5.1. Scenario Settings

In order to prove the superiority of the algorithm proposed in this paper, MATLAB 2021b is used as the experimental simulation platform for simulation experiments. The computer configuration is Windows 10 operating system, Intel Core [email protected] processor, 16GB RAM. The simulation parameters are set in Table 1 and Figure 7.
According to the initial WSN experimental simulation parameters, the simulation experiments were conducted, and the error fold diagram was obtained, as shown in Figure 8.
According to Figure 8, it can be seen that the HADSS algorithm has a smaller localization error compared with the DV-Hop algorithm. In order to obtain more rigorous experimental conclusions, several experiments were conducted in different environments including an anchor node numbers experiment, a communication radius experiment, a sensor numbers experiment, and a scenario sizes experiment. The results were compared with the DV-Hop algorithm, PSODV-Hop algorithm [35], ABCDV-Hop algorithm [36], FADV-Hop algorithm [37], and ISSADV-Hop algorithm [38]. In order to show the experimental results more intuitively and reduce the experimental chance, the normalized average localization error is introduced as the evaluation index of the algorithm, and each experiment is repeated 30 times and the average value is taken. The normalized localization error can be expressed by Equation (34).
E r r o r = i = 1 N n x i x ^ i 2 + y i y ^ i 2 N n R
where x i , y i denotes the true coordinates of the unknown nodes, x ^ i , y ^ i denotes the estimated coordinates of the unknown nodes, and N n denotes the unknown node numbers.

5.2. Effects of Communication Radius

To study the localization performance of the HADSS algorithm under different communication radii, the communication radius was increased from 20 to 45 m, each time by 5 m, while keeping the anchor node number, the sensor numbers, and the scenario sizes constant. The results of the simulation experiments are shown in Figure 9 and Table 2.
From Figure 9 and Table 2, it can be concluded that with the gradual increase in the communication radius, the normalized localization error of all six algorithms tends to decrease. The average normalized localization error of the DV-Hop algorithm is 0.3519, the average localization error of the PSODV-Hop algorithm is 0.2520, the average normalized localization error of the ABCDV-Hop algorithm is 0.2523, the average normalized localization error of the FADV-Hop algorithm is 0.2557, the average normalized localization error of the ISSADV-Hop algorithm is 0.1661, and the average normalized localization error of the HADSS algorithm is 0.1513. The analysis shows that the average normalized localization error of the HADSS algorithm is 57.00% smaller than that of the DV-Hop algorithm, 39.96% smaller than that of the PSODV-Hop algorithm, 40.01% smaller than that of the ABCDV-Hop algorithm, 40.82% smaller than that of the FADV-Hop algorithm, and 8.91% smaller than that of the ISSADV-Hop algorithm.

5.3. Effects of Sensor Numbers

To study the localization performance of the HADSS algorithm with different sensor node numbers, the sensor numbers were increased from 50 to 110, 10 at a time, while keeping the anchor node numbers, communication radius, and scenario sizes constant. The simulation results are shown in Figure 10 and Table 3.
From Figure 10 and Table 3, it can be concluded that with increasing sensor numbers, the normalized localization error of all six algorithms shows a decreasing trend, and the normalized localization error of the HADSS algorithm is always smaller than the other algorithms. The average normalized localization error of the DV-Hop algorithm is 0.3452, the average localization error of the PSODV-Hop algorithm is 0.2469, the average normalized localization error of the ABCDV-Hop algorithm is 0.2461, the average normalized localization error of the FADV-Hop algorithm is 0.2484, the average normalized localization error of the ISSADV-Hop algorithm is 0.1715, and the average normalized localization error of the HADSS algorithm is 0.1489. The analysis shows that the average normalized localization error of the HADSS algorithm is 56.87% smaller than that of the DV-Hop algorithm, 39.69% smaller than that of the PSODV-Hop algorithm, 39.50% smaller than that of the ABCDV-Hop algorithm, 40.06% smaller than that of the FADV-Hop algorithm, and 13.18% smaller than that of the ISSADV-Hop algorithm.

5.4. Effects of Anchor Node Numbers

To study the localization performance of the HADSS algorithm with different anchor node numbers, the anchor node numbers were increased from 5 to 30, each time by 5, while keeping the communication radius, the sensor numbers, and the scenario sizes constant. The simulation results are shown in Figure 11 and Table 4.
From Figure 11 and Table 4, it can be concluded that with increasing anchor node numbers, the normalized localization error of all six algorithms tends to decrease, and the normalized localization error of the HADSS algorithm is always smaller than the other algorithms. The average normalized localization error of the DV-Hop algorithm is 0.3460, the average localization error of the PSODV-Hop algorithm is 0.2495, the average normalized localization error of the ABCDV-Hop algorithm is 0.2484, the average normalized localization error of the FADV-Hop algorithm is 0.2520, the average normalized localization error of the ISSADV-Hop algorithm is 0.1620, and the average normalized localization error of the HADSS algorithm is 0.1377. The analysis shows that the average normalized localization error of the HADSS algorithm is 60.20% smaller than that of the DV-Hop algorithm, 44.81% smaller than that of the PSODV-Hop algorithm, 44.57% smaller than that of the ABCDV-Hop algorithm, 45.36% smaller than that of the FADV-Hop algorithm, and 15.00% smaller than that of the ISSADV-Hop algorithm.

5.5. Effects of Scenario Sizes

To study the localization performance of the HADSS algorithm under different scenario sizes, the scenario sizes were increased from 70 × 70 m to 130 × 130 m, and the scenario edge length was increased by 10 m each time while keeping the communication radius, the anchor node numbers, and the sensor numbers constant. The simulation results are shown in Figure 12 and Table 5.
From Figure 12 and Table 5, it can be concluded that the normalized localization error of all six algorithms tends to increase as the scenario size continues to expand. The normalized localization error of the HADSS algorithm is always smaller than the other algorithms when the scenario size is smaller, and when the scenario size is larger than 110 × 110 m, the normalized localization error of the ISSADV-Hop algorithm is slightly smaller than that of the HADSS algorithm. The average normalized localization error of the DV-Hop algorithm is 0.3491, the average localization error of the PSODV-Hop algorithm is 0.2480, the average normalized localization error of the ABCDV-Hop algorithm is 0.2482, the average normalized localization error of the FADV-Hop algorithm is 0.2505, the average normalized localization error of the ISSADV-Hop algorithm is 0.1646, and the average normalized localization error of the HADSS algorithm is 0.1437. The analysis shows that the average normalized localization error of the HADSS algorithm is 58.84% smaller than that of the DV-Hop algorithm, 42.06% smaller than that of the PSODV-Hop algorithm, 42.10% smaller than that of the ABCDV-Hop algorithm, 42.63% smaller than that of the FADV-Hop algorithm, and 12.70% smaller than that of the ISSADV-Hop algorithm.

6. Conclusions

In this paper, the HADSS algorithm is proposed to improve the DV-Hop algorithm for the problem of large positioning error. First, an adaptive hop count strategy is proposed to reduce the error of the DV-Hop algorithm in calculating the minimum hop count between nodes, and a hop count correction factor is introduced to correct the minimum hop count twice, which refines the hop count and reduces the communication overhead compared with the multiple communication radii method. Second, the mean square error criterion is introduced to calculate the average hop distance between anchor nodes. A combination of the anchor node trust degree and the weighting methods is used to obtain the average hop distance, reducing the average hop distance error. Finally, the improved sparrow search mechanism is utilized to calculate the coordinates of the unknown nodes, by which the error of the least squares method in calculating the coordinates of the nodes is avoided. In ISSA, in order to enrich the diversity of the initial sparrow population, a good point set strategy is used to initialize the sparrow population. Then, the position-updating mechanism of discoverers in the sparrow population is improved so that the discoverers can perform a broader global search at the beginning of the population iteration and a more accurate local search at the end of the iteration. Finally, in order to prevent the sparrow population from falling into a local optimum, an adaptive t-distribution strategy is used to perturb the updated positions, which improves the algorithm’s search capability. The simulation experiments show that the HADSS algorithm has higher localization performance compared with the DV-Hop algorithm, PSODV-Hop algorithm, ABCDV-Hop algorithm, FADV-Hop algorithm, and ISSADV-Hop algorithm and effectively reduces the localization error in the original DV-Hop algorithm.

Author Contributions

Conceptualization, Z.S. and H.W.; methodology, Z.S. and Y.L.; software, Z.S. and Y.L.; formal analysis, Z.S. and S.Z.; writing—original draft preparation, Z.S., H.W., Y.L. and X.G.; writing—review and editing, Z.S., H.W. and Y.L.; supervision, Z.S. and X.G.; project administration, S.Z. and X.G. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Shandong Provincial Natural Science Foundation (grant number ZR2020MF151); the Shandong Provincial Higher School Youth Innovation Team Development Program (grant number 2022KJ318); the Shandong Provincial Science and Technology SMES Innovation Ability Improvement Project (grant number 2023TSGC0229); and the Key R&D Program of Shandong Province (grant number 2020CXGC010110).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All data are included in this work. No additional data are available.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Tu, Q.; Liu, Y.; Han, F.; Liu, X.; Xie, Y. Range-free localization using reliable anchor pair selection and quantum-behaved salp swarm algorithm for anisotropic wireless sensor networks. Ad Hoc Netw. 2021, 113, 102406. [Google Scholar] [CrossRef]
  2. Banihashemian, S.S.; Adibnia, F. A novel robust soft-computed range-free localization algorithm against malicious anchor nodes. Cogn. Comput. 2021, 13, 992–1007. [Google Scholar] [CrossRef]
  3. Kanwar, V.; Kumar, A. Range free localization for three dimensional wireless sensor networks using multi objective particle swarm optimization. Wirel. Pers. Commun. 2021, 117, 901–921. [Google Scholar] [CrossRef]
  4. Singh, S.P.; Sharma, S.C. A PSO based improved localization algorithm for wireless sensor network. Wirel. Pers. Commun. 2018, 98, 487–503. [Google Scholar] [CrossRef]
  5. Kumar, S.; Kumar, S.; Batra, N. Optimized distance range free localization algorithm for WSN. Wirel. Pers. Commun. 2021, 117, 1879–1907. [Google Scholar] [CrossRef]
  6. Gui, L.; Zhang, X.; Ding, Q.; Shu, F.; Wei, A. Reference anchor selection and global optimized solution for DV-hop localization in wireless sensor networks. Wirel. Pers. Commun. 2017, 96, 5995–6005. [Google Scholar] [CrossRef]
  7. Zhu, Z.; Zhang, D.; Li, L.; Li, K.; Qi, J.; Wang, W.; Zhang, G.; Liu, P. Knowledge-guided multi-granularity GCN for ABSA. Inform. Process Manag. 2023, 60, 103223. [Google Scholar] [CrossRef]
  8. Singh, P.; Mittal, N.; Salgotra, R. Comparison of range-based versus range-free WSNs localization using adaptive SSA algorithm. Wirel. Netw. 2022, 28, 1625–1647. [Google Scholar] [CrossRef]
  9. Tomic, S.; Beko, M. Target localization via integrated and segregated ranging based on RSS and TOA measurements. Sensors 2019, 19, 230. [Google Scholar] [CrossRef]
  10. Yang, M.; Jackson, D.R.; Chen, J.; Xiong, Z.; Williams, J.T. A TDOA localization method for nonline-of-sight scenarios. IEEE Trans. Antennas Propag. 2019, 67, 2666–2676. [Google Scholar] [CrossRef]
  11. Alma’aitah, A.; Alsaify, B.; Bani-Hani, R. Three-dimensional empirical AoA localization technique for indoor applications. Sensors 2019, 19, 5544. [Google Scholar] [CrossRef] [PubMed]
  12. Ren, Q.; Zhang, Y.; Nikolaidis, I.; Li, J.; Pan, Y. RSSI quantization and genetic algorithm based localization in wireless sensor networks. Ad Hoc Netw. 2020, 107, 102255. [Google Scholar] [CrossRef]
  13. Cai, X.; Wang, P.; Cui, Z.; Zhang, W.; Chen, J. Weight convergence analysis of DV-hop localization algorithm with GA. Soft Comput. 2020, 24, 18249–18258. [Google Scholar] [CrossRef]
  14. Kim, K.-Y.; Shin, Y. A distance boundary with virtual nodes for the weighted centroid localization algorithm. Sensors 2018, 18, 1054. [Google Scholar] [CrossRef] [PubMed]
  15. Nemer, I.; Sheltami, T.; Shakshuki, E.; Elkhail, A.A.; Adam, M. Performance evaluation of range-free localization algorithms for wireless sensor networks. Pers. Ubiquitous Comput. 2021, 25, 177–203. [Google Scholar] [CrossRef]
  16. Jain, S.; Singh, A.; Kaur, A.; Jain, S. Improved APIT localization algorithm in wireless sensor networks. In Proceedings of the 2017 4th International Conference on Signal Processing, Computing and Control (ISPCC), Solan, India, 21–23 September 2017; pp. 77–81. [Google Scholar]
  17. Chen, H.; Sezaki, K.; Deng, P.; So, H.C. An improved DV-Hop localization algorithm with reduced node location error for wireless sensor networks. IEICE Trans. Fundam. Electron. Commun. Comput. Sci. 2008, 91, 2232–2236. [Google Scholar] [CrossRef]
  18. Zhang, Y.; Xiang, S.; Fu, W.; Wei, D. Improved normalized collinearity DV-Hop algorithm for node localization in wireless sensor network. Int. J. Distrib. Sens. Netw. 2014, 10, 436891. [Google Scholar] [CrossRef]
  19. Peng, B.; Li, L. An improved localization algorithm based on genetic algorithm in wireless sensor networks. Cogn. Neurodyn. 2015, 9, 249–256. [Google Scholar] [CrossRef]
  20. Cui, Z.; Sun, B.; Wang, G.; Xue, Y.; Chen, J. A novel oriented cuckoo search algorithm to improve DV-Hop performance for cyber–physical systems. J. Parallel Distrib. Comput. 2017, 103, 42–52. [Google Scholar] [CrossRef]
  21. Singh, S.P.; Sharma, S.C. Implementation of a PSO based improved localization algorithm for wireless sensor networks. IETE J. Res. 2019, 65, 502–514. [Google Scholar] [CrossRef]
  22. Huang, X.; Han, D.; Weng, T.-H.; Wu, Z.; Han, B.; Wang, J.; Cui, M.; Li, K.-C. A localization algorithm for DV-Hop wireless sensor networks based on manhattan distance. Telecommun. Syst. 2022, 81, 207–224. [Google Scholar] [CrossRef]
  23. Wang, H.; Zhang, L. An Improved Simulated Annealing Localization Algorithm for WSN. In Proceedings of the 2018 IEEE 3rd International Conference on Communication and Information Systems (ICCIS), Singapore, 28–30 December 2018; pp. 93–96. [Google Scholar]
  24. Wang, F.; Zhang, H.; Zhou, A. A particle swarm optimization algorithm for mixed-variable optimization problems. Swarm Evol. Comput. 2021, 60, 100808. [Google Scholar] [CrossRef]
  25. Mirjalili, S.; Mirjalili, S.M.; Lewis, A. Grey wolf optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef]
  26. Mirjalili, S.; Lewis, A. The whale optimization algorithm. Adv. Eng. Softw. 2016, 95, 51–67. [Google Scholar] [CrossRef]
  27. Gharehchopogh, F.S.; Namazi, M.; Ebrahimi, L.; Abdollahzadeh, B. Advances in sparrow search algorithm: A comprehensive survey. Arch. Comput. Methods Eng. 2023, 30, 427–455. [Google Scholar] [CrossRef] [PubMed]
  28. Niculescu, D.; Nath, B. DV based positioning in ad hoc networks. Telecommun. Syst. 2003, 22, 267–280. [Google Scholar] [CrossRef]
  29. Ren, K.; Wu, M. DV-Hop algorithm for adaptive hop-count improvement and average hop distance optimization. J. High Speed Netw. 2019, 25, 127–137. [Google Scholar] [CrossRef]
  30. Ren, K.Q.; Deng, L. Improved DV-Hop Algorithm Based on Global Hop Count Optimization and Hop Distance Error Correction. Chin. J. Sens. Actuators 2019, 32, 438–443. [Google Scholar]
  31. Liu, W.; Li, J.; Zheng, A.; Zheng, Z.; Jiang, X.; Zhang, S. DV-Hop Algorithm Based on Multi-Objective Salp Swarm Algorithm Optimization. Sensors 2023, 23, 3698. [Google Scholar] [CrossRef]
  32. He, G.; Lu, X.-L. Good point set and double attractors based-QPSO and application in portfolio with transaction fee and financing cost. Expert Syst. Appl. 2022, 209, 118339. [Google Scholar] [CrossRef]
  33. Tang, Y.Q.; Li, C.H.; Song, Y.F.; Chen, C.; Cao, B. Adaptive Mutation Sparrow Search Optimization Algorithm. J. Beijing Univ. Aeronaut. Astronaut 2021, 49, 681–692. [Google Scholar]
  34. Ilboudo, W.E.L.; Kobayashi, T.; Sugimoto, K. Robust stochastic gradient descent with student-t distribution based first-order momentum. IEEE Trans. Neural Netw. Learn. Syst. 2020, 33, 1324–1337. [Google Scholar] [CrossRef]
  35. Chen, B.; Guo, X.; Huang, Y.; Yang, M. Improved DV-Hop Node location Optimization Algorithm Based on Adaptive Particle Swarm. In Proceedings of the 2021 2nd International Conference on Artificial Intelligence and Computer Engineering (ICAICE), Hangzhou, China, 5–7 November 2021; pp. 11–17. [Google Scholar]
  36. Li, M.D.; Xiong, W.; Guo, L. Improvement of DV-Hop Localization Based on Artificial Bee Colony Algorithm. Comput. Sci. 2013, 40, 33–36. [Google Scholar]
  37. Lu, J.Y.; Wang, H. A New FADV—Hop Location Algorithm Based on Firefly Algorithm. J. Chang. Norm. Univ. 2016, 35, 34–37+60. [Google Scholar]
  38. Lei, Y.; De, G.; Fei, L. Improved sparrow search algorithm based DV-Hop localization in WSN. In Proceedings of the 2020 Chinese Automation Congress (CAC), Shanghai, China, 6–8 November 2020; pp. 2240–2244. [Google Scholar]
Figure 1. Minimum hop count error diagram.
Figure 1. Minimum hop count error diagram.
Sensors 23 08426 g001
Figure 2. Average hop distance error diagram.
Figure 2. Average hop distance error diagram.
Sensors 23 08426 g002
Figure 3. Initial population distribution maps. (a) Random strategy to initialize the population distribution map. (b) Good point-set strategy to initialize the population distribution map.
Figure 3. Initial population distribution maps. (a) Random strategy to initialize the population distribution map. (b) Good point-set strategy to initialize the population distribution map.
Sensors 23 08426 g003
Figure 4. Discoverer search strategy.
Figure 4. Discoverer search strategy.
Sensors 23 08426 g004
Figure 5. Probability density plots of the Cauchy distribution, t-distribution, and Gaussian distribution.
Figure 5. Probability density plots of the Cauchy distribution, t-distribution, and Gaussian distribution.
Sensors 23 08426 g005
Figure 6. Flow chart of the HADSS algorithm.
Figure 6. Flow chart of the HADSS algorithm.
Sensors 23 08426 g006
Figure 7. Node distribution map.
Figure 7. Node distribution map.
Sensors 23 08426 g007
Figure 8. Unknown nodes localization error map.
Figure 8. Unknown nodes localization error map.
Sensors 23 08426 g008
Figure 9. Variation in the normalized localization error for different communication radii.
Figure 9. Variation in the normalized localization error for different communication radii.
Sensors 23 08426 g009
Figure 10. Variation in the normalized localization error for different sensor numbers.
Figure 10. Variation in the normalized localization error for different sensor numbers.
Sensors 23 08426 g010
Figure 11. Variation in the normalized localization error for different anchor node numbers.
Figure 11. Variation in the normalized localization error for different anchor node numbers.
Sensors 23 08426 g011
Figure 12. Variation in the normalized localization error for different scenario sizes.
Figure 12. Variation in the normalized localization error for different scenario sizes.
Sensors 23 08426 g012
Table 1. Simulation parameters settings.
Table 1. Simulation parameters settings.
Simulation ParametersValue
Scenario sizes100 × 100 m
Communication radius30 m
Sensor numbers100
Anchor node numbers15
Unknown node numbers85
Proportion of discoverers0.2
Proportion of scouts0.2
Number of populations30
Number of iterations40
ST0.6
Table 2. Normalized localization error for different communication radii.
Table 2. Normalized localization error for different communication radii.
Communication Radius (m)202530354045
DV-Hop0.47670.36070.32650.32720.30820.3118
PSODV-Hop0.30810.25400.23590.23620.23320.2448
ABCDV-Hop0.30650.25210.23540.23880.23460.2463
FADV-Hop0.31980.25480.23900.23900.23730.2443
ISSADV-Hop0.27020.18860.14830.13430.13160.1235
HADSS0.33230.20500.11850.092480.082800.07674
Table 3. Normalized localization error for different sensor numbers.
Table 3. Normalized localization error for different sensor numbers.
Sensor Numbers5060708090100110
DV-Hop0.38430.36420.34430.33220.32920.32780.3346
PSODV-Hop0.26750.26110.24290.24680.24560.23530.2293
ABCDV-Hop0.26710.26270.23960.24330.24430.23520.2305
FADV-Hop0.26770.26430.24190.24540.24430.23890.2365
ISSADV-Hop0.20240.19020.17620.16970.15790.15780.1466
HADSS0.19350.17590.15410.14560.12920.12460.1197
Table 4. Normalized localization error for different anchor node numbers.
Table 4. Normalized localization error for different anchor node numbers.
Anchor Node Numbers51015202530
DV-Hop0.44990.35450.32610.32090.30940.3153
PSODV-Hop0.38600.27200.23250.21850.19550.1925
ABCDV-Hop0.37540.27310.23210.21990.19680.1931
FADV-Hop0.37640.27410.23570.22490.20130.1995
ISSADV-Hop0.24710.17830.15390.14170.12770.1231
HADSS0.22710.16280.12430.11190.10180.09842
Table 5. Normalized localization error for different scenario sizes.
Table 5. Normalized localization error for different scenario sizes.
Scenario Sizes70 × 7080 × 8090 × 90100 × 100110 × 110120 × 120130 × 130
DV-Hop0.30930.32250.33840.33880.34550.35900.4303
PSODV-Hop0.23350.23730.24160.24200.24100.25190.2885
ABCDV-Hop0.23530.23970.24360.24210.24010.25120.2851
FADV-Hop0.23430.24220.24480.24360.24560.25720.2855
ISSADV-Hop0.12270.13300.14570.15620.16970.19140.2338
HADSS0.077490.089300.10080.12430.14970.20970.2546
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Sun, Z.; Wu, H.; Liu, Y.; Zhou, S.; Guan, X. A Hybrid Localization Algorithm for an Adaptive Strategy-Based Distance Vector-Hop and Improved Sparrow Search for Wireless Sensor Networks. Sensors 2023, 23, 8426. https://doi.org/10.3390/s23208426

AMA Style

Sun Z, Wu H, Liu Y, Zhou S, Guan X. A Hybrid Localization Algorithm for an Adaptive Strategy-Based Distance Vector-Hop and Improved Sparrow Search for Wireless Sensor Networks. Sensors. 2023; 23(20):8426. https://doi.org/10.3390/s23208426

Chicago/Turabian Style

Sun, Zhiwei, Hua Wu, Yang Liu, Suyu Zhou, and Xiangmin Guan. 2023. "A Hybrid Localization Algorithm for an Adaptive Strategy-Based Distance Vector-Hop and Improved Sparrow Search for Wireless Sensor Networks" Sensors 23, no. 20: 8426. https://doi.org/10.3390/s23208426

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