Next Article in Journal
CUDA-Optimized GPU Acceleration of 3GPP 3D Channel Model Simulations for 5G Network Planning
Previous Article in Journal
Instantiation and Implementation of HEAD Metamodel in an Industrial Environment: Non-IoT and IoT Case Studies
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Localization Technology Based on DV-Hop for Future Internet of Things

1
School of Information Engineering, Suzhou University, Suzhou 234000, China
2
School of Electronic Information Engineering, Anhui University, Hefei 230039, China
3
Anhui Provincial Key Laboratory of Intelligent Building and Building Energy Conservation, Anhui Jianzhu University, Hefei 230022, China
*
Author to whom correspondence should be addressed.
Electronics 2023, 12(15), 3220; https://doi.org/10.3390/electronics12153220
Submission received: 21 June 2023 / Revised: 18 July 2023 / Accepted: 20 July 2023 / Published: 25 July 2023

Abstract

:
In recent years, localization has become a hot issue in many applications of the Internet of Things ( I o T ). The distance vector-hop (DV-Hop) algorithm is accepted for many fields due to its uncomplicated, low-budget, and common hardware, but it has the disadvantage of low positioning accuracy. To solve this issue, an improved DV-Hop algorithm—TWGDV-Hop—is put forward in this article. Firstly, the position is broadcast by using three communication radii, the hop is subdivided, and a hop difference correction coefficient is introduced to correct hops between nodes to make them more accurate. Then, the strategy of the square error fitness function is spent in calculating the average distance per hop (ADPH), and the distance weighting factor is added to jointly modify ADPH to make them more accurate. Finally, a good point set and L e v y flight strategy both are introduced into gray wolf algorithm ( G W O ) to enhance ergodic property and capacity for unfettering the local optimum of it. Then, the improved G W O is used to evolve the place of each node to be located, further improving the location accuracy of the node to be located. The results of simulation make known that the presented positioning algorithm has improved positioning accuracy by 51.5%, 40.35%, and 66.8% compared to original DV-Hop in square, X-shaped, and O-shaped random distribution environments, respectively, with time complexity somewhat increased.

1. Introduction

IoT refers to a network that connects any item to the Internet through information sensing devices, under agreed protocols, for autonomous information exchange, and provides useful information for people to achieve intelligent identification, positioning, tracking, monitoring, and management of things [1,2]. IoT is considered the world’s next wave of information technology and new economic engine, which will have an immensely significant impact on the world economy, politics, culture, military, and society. IoT provides the potential for the development and design of a large number of applications. Currently, only a few applications have been promoted in our production and daily life. At present, most applications only have relatively primitive intelligence, but in the future, there will be many applications based on the IoT to improve our quality of life and production environment. The intelligent objects in these applications can communicate with each other, perceive information from the surrounding environment, and be deployed in various environments, including transportation and logistics, healthcare, production and life, and personal social media [3,4,5,6], as shown in Figure 1.
There are various aspects of IoT technology that are worth studying, and node localization is one of them. Accurate effective node positioning is the foundation for providing various monitoring location information services [7]. In addition, location information can also improve the efficiency of routing in the network and achieve network topology self-configuration [8,9]. Figure 2 shows the importance of localization in many applications.
According to Figure 2, a key aspect in IoT applications is determining the true location of devices. GPS determines the position of nodes mainly by using GPS receivers installed on the nodes to receive signals from multiple satellites, but this method is too expensive, bulky, and feasible. Therefore, many researchers adopt positioning methods that use known nodes (anchor nodes) to take stock of the place of unknown nodes. How to estimate the coordinates of unknown nodes through efficient and low-cost positioning algorithms has become a research focus. Su discussed various underwater localization algorithms [10]. Ullah proposed an EKF-based localization algorithm by edge computing, and a mobile robot is used to update its location concerning landmarks [11].
The most common localization classification method is chopped into ranging and ranging-free localization algorithms [12]. The former uses external hardware devices to obtain distance information between nodes, which has high localization accuracy. Common algorithms include Time of Arrival [13,14], Time Difference of Arrival [15,16], Received Signal Strength Intensity [17,18,19], Angle of Arrival [20,21], and so on. The latter determines the position of unknown nodes through anchor nodes, which has relatively high positioning error but is more economical and energy-saving. There are commonly used algorithms such as Proximate PITTest [22], centroid localization algorithm [23], DV-Hop [24,25,26], etc. In applications that do not require high localization accuracy, ranging-free algorithms are more popular.
As a typical representative of nonranging algorithms, the DV-Hop algorithm has become a research hotspot in the engineering and academic fields. This algorithm is less affected by the environment and has low hardware requirements, which makes it for WSN with low cost, broadscale and simple node configuration [27]. Nevertheless, its localization accuracy is low. To overcome the problem, a new improved DV-Hop called DV-Hop is put forward in this paper. The contributions of this paper are:
(1)
Use three communication radii to broadcast messages and decimate the hops to lessen errors created by varying hop lengths. Calculate the distance between nodes within onehop using the virtual intersecting circle geometry method. Then, a jump difference correction coefficient is introduced to further correct the minimum number of hops;
(2)
ADPH of anchor node is calculated by using the square criterion to minimize various errors and introduce a distance weighting factor to cut down the bearing of broken lines on jump distance, which jointly correct nodes of ADPH.
(3)
Introducing a set of good points to improve the uniformity of the initial population of the GWO, introducing a flight strategy to ameliorate the convergence and exclude local optima of the GWO and using the improved GWO to evolve the coordinate positions of unknown nodes to improve the accuracy of place.
The rest of this paper is structured as follows. Section 2 briefs the related research of the localization algorithms. In Section 3, the localization procedure of DV-Hop and error analysis are detailed. TWGDV-Hop is presented in Section 4 and simulation results are discussed and localization performances are deliberated in Section 5. Finally, Section 6 presents conclusions and future research.

2. Related Research

Since its introduction, DV-Hop has been improved in many literatures. Generally, node localization consists of three steps: the first is improving the hops, the second is distance estimation and the third is coordinate estimation. When using these three steps to determine the coordinate of unknown nodes, error is inevitable, and the smaller the error, the higher the location accuracy. Recently, scholars improved the hops and distance estimation or used nature-inspired methods to optimize coordinate estimation to achieve a certain degree of accuracy improvement.

2.1. Improved Hops and Distance Estimation

Zhang et al. [28] proposed a beacon filtering-based localization algorithm that combines DV-Hop and multioutput support vector regression MSVR. The algorithm combines received signal strength indicator (RSSI), MSVR, and weighted least squares (WLS) to estimate unknown node coordinates. Gao et al. [29] designed a modified localization algorithm that increases hops by introducing communication distance, calculates the optimal hop distance by using the weighted average of anchor nodes and the minimum mean square error criterion (MMSE), and estimates node place by adopting WLS. Xue et al. [30] proffered a modified DV-Hop, which refines hops and emends distance. The minimum hops is emended by ushering RSSI, and ADPH is amended by the weighted ADPH error and estimated distance inaccuracy. Shikai [31] proffered a modified DV-Hop that uses the disparity between the genuine distance and evaluated the distance between beacon nodes in WSN to determine the corrected ADPH of beacon nodes and adopts two-dimensional hyperbolic functions to predict the place of unknown nodes. Hadir [32] proffered four new improved DV-Hops. MSE is employed to improve the jumping distance of anchor nodes, the two-dimensional hyperbola is employed to calculate the coordinates of unknown nodes, and particle swarm optimization (PSO) is employed to optimize the coordinates of unknown nodes. Jia et al. [33] proffered a novel localization algorithm in view of moving anchor nodes and modifying hops. ADPH between the three closest anchor nodes to the unknown node is employed as the ADPH for the unknown node, and the position of different unknown nodes is calculated using multiple moving anchor nodes and their average value is the position of the unknown node. Lin et al. [34] proffered a distributed iterative refinement in view of correction vectors, which utilizes the fake stadiometry range and positioning range between nodes and their neighbors to construct a position-adjusted vector and a straightforward iterative hunt algorithm is used to figure out the minimum value of the sum of squares of the differences between these two ranges of the adjusted vector. Liouane et al. [35] proffered an improved DV-Hop algorithm that uses least squares localization methods and statistical filtering optimization strategies to reduce localization errors. Wan et al. [36] proffered a WLS loop DV-Hop combining the idea of optimal weight function and guideline picked anchors. Messous et al. [37] proffered a novel DV-Hop that used RSSI and polynomial approximation to gauge the space between unknown nodes and anchors and uses recursive calculations in the process of localization.

2.2. Use Nature-Inspired Methods to Optimize Coordinate Estimation

Huang et al. [38] proffered an advanced DV-Hop, which advances the weighted processing of anchor node’s jump distance by introducing an ADPH error Q-Tcd and uses differential evolution (DE) to optimize the positioning results of unknown nodes. Liu et al. [39] proffered the HDCDV-Hop algorithm, which amended the evaluated distance between unknown nodes and various anchor nodes in view of fractional hops and anchor node coordinates and adopted an amended DE to obtain the evaluated position of unknown nodes. Shi et al. [40] provided an improved DV-Hop, which uses revised PSO and simulated an annealing hybrid algorithm to boost the positioning accuracy of the initial place of unknown nodes. Chen et al. [41] proffered CWDV-Hop, which calculates ADPH by ushering distance weighting factor and ADPH of single node. The position of unknown nodes is attained by using a two-dimensional hyperbolic format and optimized by using chicken swarm optimization algorithm (CSO). Cao et al. [42] proffered DANSIDV-Hop, which locates the dynamic anchor node set (DANS) based on binary particle swarm optimization (BPSO) and further optimizes the unknown node place using continuous PSO. Huang et al. [43] proffered MA*-3DV- Hop, which optimizes the hops values of nodes and corrects the error of the ADPH. Yu et al. [44] proffered a novel DV-Hop, which uses a correction factor to correct hops, selects ADPH of unknown nodes based on the weight of each anchor node and calculates node coordinates using the cuckoo bird search algorithm. Sun et al. [45] proffered GDV-Hop that optimizes the place of unknown nodes by adopting modified GWO with adaptive strategies.
From the above analysis, all modified algorithms are based on the three processes of DV-Hop, but there are still certain defects and accuracy needs to be improved. This paper proposed a novel location algorithm based on DV-Hop and optimized GWO to improve the location accuracy of unknown nodes in WSN, to meet the needs of applications.

3. DV-Hop

3.1. The Process of DV-Hop

The process of DV-Hop is divided into three stages [24].
Step 1: Each anchor node spreads a group to the network with flood normal. All nodes acquire the minimum hops in this step.
Step 2: Calculate the ADPH for every anchor node by Equation (1).
H o p S i = i j ( x i x j ) 2 + ( y i y j ) 2 / i j H i j
where ( x i , y i ) , ( x j , y j ) are the coordinates of nodes i , j . H i j is the minimum hops between the two nodes.
Then, spread H o p S i to the network.
Step 3: Estimate the coordinate of unknown nodes.
The unknown node only receives H o p S from the closest anchor node and calculates its distance between it and anchor nodes. For example, unknown node N first receives H o p S i , and the range between it and i is:
D n i = H o p S i × H n i
Use the maximum likelihood method to list the equations, as shown in Equation (3):
( x - x 1 ) 2 + ( y y 1 ) 2 = D 1 2 ( x - x 2 ) 2 + ( y y 2 ) 2 = D 2 2    ( x - x n ) 2 + ( y y n ) 2 = D n 2
where D 1 , D 2 , , D n represent the estimated distance between N and each anchor node.
The matrix expression of Equation (4) is: A X = D , where
A = ( x 1 x n ) ( y 1 y n ) ( x 2 x n ) ( y 2 y n )     ( x 2 x n ) ( y 2 y n ) , X = x y , D = x 1 2 x n 2 + y 1 2 y n 2 + D n 2 D 1 2 x 2 2 x n 2 + y 2 2 y n 2 + D n 2 D 2 2    x n 1 2 x n 2 + y n 1 2 y n 2 + D n 2 D n 1 2
X = ( A T A ) 1 A T D can be obtained by using the least squares method.

3.2. Analyze Positioning Error of DV-Hop

The DV-Hop estimates the position of the unknown node by multiplying minimum hops between each node by ADPH of the anchor node through broadcast grouping of anchor nodes in the network. The error mainly comes from three aspects.

3.2.1. Hops Error

When calculating the hops, the DV-Hop counts all neighboring nodes in the transmission range of the anchor node as one hop. As represented in Figure 3, let nodes B, C and D be one hop nodes in communication range of node A. Node E is outside communication range of A and can receive place information of anchor node forwarded by node D. Therefore, hops of node E are two. As shown in Figure 3, the different distance of nodes B and A, C and A, D, and A are relatively large, while the distance between E and A, and D and A is similar, but the hops are not the same. In this case, using traditional DV-Hop positioning algorithms will cause significant errors.

3.2.2. Error of ADPH

The localization accuracy of the DV-Hop mainly rests with whether ADPH is reasonable. In the case of multiple hops, let the hops between nodes B and A be four, and the line distance between B and A is approximated distance of the DV-Hop algorithm. It can be intuitively made out that there is a large deviation from the actual distance shown by the dashed line, as shown in Figure 4. Therefore, as hops increase, there is a significant localization error in areas with low node density.

3.2.3. Error of Coordinate Estimation

Step three inevitably exhibits errors in step 2, which adds up when extracting the coordinate equation, begetting significant errors between localization results and the real place.

4. The TWGDV-Hop Algorithm

4.1. Correct Minimum Hops

When estimating hops between nodes by using the DV-Hop, all neighboring nodes in the communication region are considered as onehop. As shown in Figure 3 of Section 2.2 above, B, C and D are onehop nodes to A, yet their homologous true distances are distinct. If these nodes are dealt in the light of DV-Hop, it will result in significant positioning errors. To address such situations, first improve hops of nodes in the communication range of anchor nodes.
Broadcast messages by using anchor nodes with three different communication radii: R / 3 , 2 R / 3 , and R and hops recorded as 1/3, 2/3 and 1. Divide the nodes in the region into a set of three regions, and the hops of unknown nodes are also real-coded accordingly. When the region is chopped up into three subareas in light of R / 3 , 2 R / 3 , and R , the unknown nodes are marked as virtual circles with R / 3 . As shown in Figure 5, the nodes N 1 , N 2 are unknown nodes within the region and A is an anchor node. The cross zones between the virtual circle of unknown nodes and the anchor node are denoted as S 11 ( 1 / 3 H ) , S 12 ( 1 / 3 H ) , S 21 ( 2 / 3 H ) , S 22 ( 2 / 3 H ) , S 31 ( H ) , and S 32 ( H ) , where H is the hops.
Given the space between the node and anchor node, the zone of the intersecting space can be calculated. Assuming space between the node and the anchor node is D i ( i = 1,2 , , N ) , where N is the number of anchor nodes, then adopting geometric Equations (4)–(6) to calculate the area of each intersecting domain [44].
S 1 i ( 1 / 3 H ) = R 2 arccos ( D i 2 + R 2 + ( 1 / 9 R ) 2 ) 2 D i R + ( 1 / 9 R ) 2 arccos ( D i 2 + ( 1 / 9 R ) 2 R 2 ) 2 D i / 9 R 1 2 4 D i 2 ( 1 / 9 R ) 2 ( D i 2 R 2 + ( 1 / 9 R ) 2 ) 2
S 2 i ( 2 / 3 H ) = R 2 arccos ( D i 2 + R 2 + ( 1 / 3 R ) 2 ) 2 D i R S 1 i ( 1 / 3 h ) + ( 1 / 3 R ) 2 arccos ( 3 R D i 2 + 1 / 3 R 3 R 3 ) 2 D i 1 2 4 D i 2 ( 1 / 3 R ) 2 ( D i 2 R 2 + ( 1 / 3 R ) 2 ) 2
S 3 i ( H ) = π R 2 R 2 arccos ( D i 2 + R 2 + ( 1 / 3 R ) 2 ) 2 D i R + ( 1 / 3 R ) 2 arccos ( 3 R D i 2 + 1 / 3 R 3 R 3 ) 2 D i 1 2 4 D i 2 ( 1 / 3 R ) 2 ( D i 2 R 2 + ( 1 / 3 R ) 4 )
Assuming that nodes are unevenly arranged in an area with a total number of nodes M and area S , the nodes in each subarea are denoted as M i ( 1 / 3 H ) , M i ( 2 / 3 H ) , and M i ( H ) . Assume S ^ 1 i ( 1 / 3 H ) , S ^ 2 i ( 2 / 3 H ) , and S ^ 3 i ( H ) are the estimated areas of each region, calculated as shown in Equations (7)–(9).
The space between node and anchor node can be gained adopting the estimated area value. After that, a hop difference correction coefficient is introduced to correct the hops of nodes. Define the ratio of true distance D i j between nodes to the communication radius as the relative optimal hops.
B H i j = D i j / R
Contrast distinction between estimated hops H i j and B H i j , and define the deviation coefficient γ i j using Equation (8).
γ i j = ( H i j B H i j ) / H i j
γ i j can mirror the distinction between H i j and B H i j between nodes that communicate with each other. The larger γ i j is, the greater the deviation between the two. Under the condition of a constant communication radius, H i j will be greater than or equal to B H i j . For such situations, a difference correction coefficient η i j is defined by using Equation (9) to optimize hops and reduce the accumulation of errors.
η i j = 1 γ i j n
By using Equation (10), the modified hops between nodes can be obtained.
H i j = η i j H i j
The corrected hops are closer to the relative optimal hops, and the error in hops will be smaller.

4.2. Correct the ADPH of Nodes

The original DV-Hop algorithm adopted unbiased estimation [46] to compute ADPH. The fitness function is as follows:
f i t = 1 N 1 i j ( D i j H o p S i × H i j )
If f i t = 0 , is computed as:
H o p S i = i j D i j / i j H i j
where H i j is the hops between nodes i and j , and both have i j , D i j is distance between i and j . However, this approach cannot accommodate that the error is randomly distributed and positive and negative phases, which leads to the minimization of global error but not the minimization of all errors. Therefore, the square error criterion is adopted in this paper to minimize the overall error. The fitness function is:
f i t = 1 N 1 i j ( D i j H o p S i × H i j ) 2
Take the partial derivative of H o p S for f i t and take it as zero to obtain H o p S i .
H o p S i = i j D i j H i j i j H i j 2
However, when computing ADPH of anchor nodes, it does not think about the distance of the broken line is the notional distance, as represented in Figure 4, which clearly has a significant error compared to the true distance shown by the dashed line. Therefore, this article refers to reference [36] and introduces a distance weighting factor to further modify to reduce impact of the line distance on ADPH.
According to Equation (1), we can infer:
H o p S i = i j ( x i x j ) 2 + ( y i y j ) 2 i j H i j = i j D i j i j H i j = D i 1 + D i 2 + + D i M H i 1 + H i 2 + + H i M = H i 1 i j H i j × D i 1 H i 1 + H i 2 i j H i j × D i 2 H i 2 + + H i M i j H i j × D i M H i M = φ i 1 × D i 1 H i 1 + φ i 2 × D i 2 H i 2 + φ i M × D i M H i 2 = j = 1 M ( H i j i j H i j × D i j H i j ) = j = 1 M ( φ i j × H o p S i j )
where M is the number of beacon nodes. φ i j is denoted as the hop-weighted factor.
As shown in Figure 6, Hops between anchor node A and B are H A B , φ i j increases as it increases. The distance between the two nodes has curved, changing from a direct line to a polyline, resulting in a significant error from the true distance. To reduce the impact of this error on ADPH, a distance weighting factor is introduced. Transform Equation (14) into Equation (15):
H o p S i = i j ( x i x j ) 2 + ( y i y j ) 2 i j H i j = i j D i j i j H i j = D i 1 + D i 2 + + D i M H i 1 + H i 2 + + H i M = D i 1 i j D i j × D i 1 H i 1 + D i 2 i j D i j × D i 2 H i 2 + + D i M i j D i j × D i M H i M = δ i 1 × D i 1 H i 1 + δ i 2 × D i 2 H i 2 + δ i M × D i M H i 2 = j = 1 M ( D i j i j D i j × D i j H i j ) = j = 1 M ( δ i j × H o p S i j )
δ i j is denoted as the distance weighting factor (DWF). From the figure, it can be seen that δ i j is not affected by the increase in H A B , which implies the DWF can diminish influence of twisted paths on ADPH.
To avoid that a single ADPH cannot reflect the ADPH of the entire network situation well and to diminish error accumulation brought by inaccurate data, ADPH computed by adopting the square error criterion and corrected by introducing a distance weighting factor will be equalized twice to obtain the corrected one.
A V G H o p S i = H o p S i + H o p S i 2
Using Equation (17) to obtain the corrected ADPH can be closer to tangible ADPH in the whole network, further reducing the influence of hop distance error accumulation and improving positioning accuracy.

4.3. Optimization of GWO

4.3.1. Standard GWO

The GWO is a biomimetic population algorithm for optimization proffered by Australian researcher Mirjalili et al. [47]. It has preponderances of strong convergence, minor parameters and being likely to be implemented, which makes it a research hot spot in localization algorithms in recent years.
Grey wolves belong to the canine family of social animals. They strictly adhere to social hierarchical dominance at the peak of the food chain, as shown in Figure 7.
The grey wolf with the highest social level is called α , which has the highest ruling status and absolute dominance over other wolves. The second- and third-ranked gray wolves in a social hierarchy are called β wolf and δ wolf. The lowest-level wolf in society is called ω wolf, which needs to obey the other levels of wolves with the role of preventing self-killing within wolf packs. The stages of GWO are [47]:
(1)
Social Hierarchy. Tag the three wolves with the best fitness as α wolf, β wolf, and δ wolf when designing the grey wolf algorithm. The remaining gray wolves are called ω wolf. GWO optimization is completed by the process of iteratively updating the best three solutions α , β and δ .
(2)
Encircling prey. When gray wolf packs search for prey, they gradually form a circle to surround the quarry target. The mathematical pattern of the deed is:
D = C X p t X t X ( t + 1 ) = X p ( t ) A D
where t and t + 1 express two consecutive iterations, * is the Hadamard product operator, X p is the location of optimization objective; and X t represents the positioning vector of the wolf at this time. A and C are synergistic coefficient vector values; and D represents the distance between gray wolves. The diminished range between the wolves and their quarry count upon vectors A and C. They are computed as below:
A = 2 a r 1 a C = 2 r 2
From the beginning to the end of the iteration, A lessens linearly from two to zero; B and r 2 are stochastic vectors in 0~1.
(3)
Venery. Grey wolves have the talent to distinguish potential target localization and the search process is mainly led by α, β and δ wolf. However, due to the unknown characteristics of the solution space, the wolf pack cannot determine the perfect positioning of the optimal target. To better simulate the chasing deed of gray wolves, it is presumed that α, β and δ have good discriminative target localization talents, which are retained during each iteration. Then, update the place of the ω wolf. The mathematical model for this act is as below:
D α = | C 1 X α ( t ) X ( t ) | D β = | C 2 X β ( t ) X ( t ) | D δ = | C 3 X δ ( t ) X ( t ) |
X 1 = X α A 1 D α X 2 = X β A 2 D β X 3 = X δ A 3 D δ
X ( t + 1 ) = 1 3 ( X 1 + X 2 + X 3 )
where X α , X β and X δ are the azimuth vectors of α , β and δ in the gray wolf pack. X stands for the place of the gray wolf. D α , D β and D δ and C, respectively, represent the distances between α , β , and δ and the current gray wolf. When | A | > 1 , members of the gray wolf pack disperse in various areas and search for targets. When | A | < 1 , members of the gray wolf pack will concentrate on searching for prey targets in a specific area.
From Figure 8, we can make out that the final place of the candidate wolf is located within the stochastic circle positions defined by α , β and δ . ω wolf is behind the general orientation of the prey target predicted by the three higher-order gray wolves α , β and δ at this time, which is the position of any new higher-order gray wolf around the prey.
(4)
Attacking target. When creating the model, according to step 2, a decrease will change A , where A is a random vector in [ a , a ] . When A is on interval [ a , a ] , the place between the gray wolf and the target is the next moment of the agent search.
(5)
Look for prey. Mainly relying on α , β and δ three high-order gray wolves to search for prey. They disperse to find the target direction of the prey and then focus on attacking. In the decentralized model, when | A | > 1 , the agent search is kept away from the prey, which allows the algorithm to perform global optimization.
G W O is a new bionic collective smarts algorithm that simulates the gray wolf group hunting heuristic with the advantage of a high convergence performance and being easy to implement, which means it can be used for W S N node location to reduce algorithm error. But like many bionic algorithms, it has problems, for instance, immature convergence and frail global search faculty, which lead to inferior accuracy of the final solution.

4.3.2. The Improved GWO

(1)
Initialize the population of the best point set
The quality of the initial population distribution immediately affects the convergence and level of GWO. An initial population with good distribution characteristics can make the majorization performance of it better. In the G W O algorithm, the initialization of the population adopts a random distribution, which cannot fully cover the space of the solution, so it is difficult to traverse various possible situations of the solution, which can affect the quality of the final solution due to premature convergence. However, this article uses the set of good points proposed by Hua et al. for population initialization to avoid this problem [48].
Presuming a population size of 100, Figure 9 and Figure 10 are populations initialized using stochastic distribution and a set of good points, respectively. We can find Figure 10 is evener, which sufficiently swathes the understanding space and increases the diversity of the population, so the algorithm will have better ergodicity. In theory, it has been proven that the weighted sum of n good points yield smaller errors than any other n points.
(2)
Levy Flight Strategy
Because G W O has the characteristics of premature convergence and low global optimization ability, the L e v y flight algorithm with the random walk performance is integrated into G W O to upgrade the global optimization ability of the G W O and enrich the population discrepancy of G W O in this paper.
L e v y flight is a special stochastically wander strategy [49] that adopts the random walk method and focuses on short distance search and occasionally conducts long distance search, which is shown in Figure 11. Using this strategy in swarm intelligence algorithms can make individuals widely distributed in the search space when searching for the optimal solution in a large range, increase multiplicity of the population, boost the whole optimization capacity and avert sinking into the localized optimal solution prematurely.
L e v y flight strategy follows the L e v y distribution, usually represented by a power-law distribution: L ( S ) | S | 1 β ( 0 < β < 2 ) , where S is step, and L ( S ) is the probability of moving step S . Due to the complexity of L e v y distribution, the M a n t e g n a algorithm is usually used to simulate it [49]:
S = θ ϑ 1 / β
where θ and ϑ follow a normal distribution [49]:
θ N ( 0 , σ 2 ) ,   ϑ N ( 0,1 )
σ = τ ( 1 + β ) s i n ( π β / 2 ) 2 ( β 1 ) / 2 τ [ ( 1 + β ) / 2 ] β 1 / β
where τ is a standard gamma function and β usually takes a value of 1.5.
Although this strategy boosts the global optimization ability of the algorithm, if all individuals use this strategy to update positions in each iteration, the amount of calculation will be greatly increased. Therefore, when the fitness value does not change significantly for consecutive l i m i t times (that is, the change value is less than 0.0001), we determine that the algorithm is trapped in a local optimum, and then use L e v y flight Equation (26) to perform a flight optimization.
X i t + 1 = X i t + φ L ( S ) = X i t + φ × θ ϑ 1 / β
where φ is a step scaling factor, as shown in the Equation (27).
φ = 0.02 ( X i X j )
where X i and X j are arbitrarily different solutions.

4.3.3. The Improved G W O Correct Unknown Node Positions

The third stage of this algorithm is identical to DV-Hop. Use the maximum likelihood estimation algorithm to determine the coordinate position of the desired node. Because of the limitations of this method, it cannot effectively improve the calculation accuracy. Therefore, TWGDV-Hop adds a fourth stage, which uses the improved G W O to optimize the position of the unknown nodes obtained. The steps are:
Step 1: Initialize three high-order gray wolves α , β and δ . Set the relevant parameters including population size N , maximum number of iterations T m a x and continuous number of iterations l i m i t . Initialize the grey wolf population using the set of good points from the previous section { X i : X 1 , X 2 , , X N } and make the current t = 0 .
Step 2: Calculate the fitness values of all gray wolves according to Equation (28) and sort them. Set the top three ranking results as α , β and δ , respectively.
f i t = 1 N i = 1 N | ( x x i ) 2 + ( y y i ) 2 D i |
where x , y   a n d   ( x i , y i ) are the coordinates of the unknown node and the anchor node, respectively. D i is the actual distance between the unknown node and the anchor node.
Step 3: Use Equations (19)–(22) to update the space of the gray wolf population and update the coefficient vector A , C .
Step 4: Judge whether the algorithm is trapped in the local optimum. If it iterates l i m i t times in succession, the fitness value does not change significantly, and L e v y flight strategy is ushered in the gray wolf population.
Step 5: Determine whether the algorithm has clocked up the stop condition. If the stop condition is clocked up, the output position of α wolf is the final improved place of the unknown node.

5. Simulation Experiments and Result Analysis

5.1. Simulation Experiment Settings

For verifying the performance of TWGDV-Hop proffered in this paper, simulations were conducted in Matlab2014a to reckon and study their positioning errors and accuracy. Through simulation, the validity of our proffered algorithm was compared with DV-Hop, WDV-Hop, CWDV-Hop proposed in reference [41], HWDV-HopPSO proposed in reference [32] and GDV-Hop proposed in reference [45].
To diminish the influence of stochastic errors on the results in the tentative experiment, the final result is the mean of 100 tentative experiments to evaluate the localization accuracy and localization error of every way. Three distinct network topologies were chosen, as shown in Figure 12. Namely, square random, O-shaped, and X-shaped. Square random is one of the most used topologies in WSN, in which nodes are stochastically distributed in square regions. The O-shaped topology is an irregular network topology, while the X-shaped topology is also based on the random deployment of nodes in the four sides empty area. For each topology, the system parameters are set as shown in Table 1. The network deployment area is a two-dimensional plane of 500 m × 500 m. All nodes with the same structure and communication radius are randomly arranged to form a self-forming network.
We change parameters based on three network topologies, such as the number of anchor nodes, the total number of sensor nodes and the communication radius of nodes, to explore the performance of algorithms under distinct network topologies. The Localization Accuracy ( L A ) is adopted to evaluate the function of the algorithm. It can be expressed [32] as follows:
L A = i = 1 N ( x t i x e i ) 2 + ( y t i y e i ) 2 N × R × 100 %
where ( x t i , y t i ) is the actual coordinates of the unknown node. ( x e i , y e i ) are the estimated coordinates. N is the number of unknown nodes.
The localization error ( L E ) reflects the deviation between the true position of unknown nodes and the estimated coordinates. The equation is [30]:
L E = ( x t i x e i ) 2 + ( y t i y e i ) 2

5.2. Analysis of Simulation Results

(1)
The impact of the number of anchor nodes
The total number of nodes is fixed at 300. The communication radius is 60 m and the number of anchor nodes have grown from 30 to 60. The simulation results are manifested in Figure 13a, Figure 14a and Figure 15a.
Typically, the trend of LA of most localization algorithms diminishes little by little along with the number of anchors added in the three networks. The LA of DV-Hop, WDV-Hop, CWDV-Hop, HWDV-HopPSO, GDV-Hop, and TWGDV-Hop is approximately 0.52R, 0.42R, 0.27R, 0.32R, 0.34R, and 0.25R, respectively. Compared with other algorithms, the proposed TWGDV-Hop achieves a lower localization error. The localization accuracy of TWGDV-Hop algorithm has been improved by approximately 51.6%, 39%, 7%, 23%, and 24%, respectively. The localization accuracy of DV-Hop, WDV-Hop, CWDV-Hop, HWDV-HopPSO, GDV-Hop and TWGDV-Hop is approximately 1.01R, 0.62R, 0.61R, 0.72R, 0.62R and 0.59R, respectively, in the X-shaped network, and the LA of TWGDV-Hop has been improved by approximately 42.2%, 9.4%, 4.7%, 18.9% and 5.8%, respectively. The localization accuracy of DV-Hop, WDV-Hop, CWDV-Hop, HWDV-Hop, GV-Hop and TWGDV-Hop is approximately 1.15R, 1.11R, 0.39R, 0.62R, 0.60R and 0.36R, respectively, in the O-shaped network, and the localization accuracy of TWGDV-Hop has been improved by approximately 68.6%, 67.6%, 6.9%, 41.9% and 40.2%, respectively.
(2)
The Influence of the total number of nodes
The fixed communication radius is 60 m, the proportion of anchor nodes is 10%, and the total number of nodes has been increased from 300 to 500, which are shown in Figure 13b, Figure 14b and Figure 15b. When the density altitude of the network increases, the performance is greatly improved because the network has higher connectivity as many master nodes are deployed. The LA of DV-Hop, WDV-Hop, CWDV-Hop, HWDV-HopPSO, GDV-Hop and TWGDV-Hop is approximately 0.47R, 0.36R, 0.23R, 0.28R, 0.25R, and 0.21R, respectively, in a square network. The LA of TWGDV-Hop has been raised by 53.4%, 40.1%, 33.9%, 7.1%, 23.4%, and 14.2%, respectively. The LA of DV-Hop, WDV-Hop, CWDV-Hop, HWDV-HopPSO, GDV-Hop and TWGDV -Hop is approximately 1.01R, 0.66R, 0.63R, 0.72R, 0.64R, and 0.61R, respectively, in the X-shaped network. The LA of the TWGDV-Hop has been boosted by 39.7%, 8.4%, 3.1%, 15.2%, and 4.7%., respectively. It increased by 70.1%, 69.5%, 10%, 48%, and 47.7%, respectively, in the O-shaped network. Obviously, TWGDV-Hop surpasses other algorithms and exhibits better positioning accuracy.
(3)
The impact of the communication radius
The whole number of nodes is fixed at 300. The proportion of anchor nodes is 10% and the communication radius has been increased from 60 m to 100 m. The results are presented in Figure 13c, Figure 14c and Figure 15c. The results show that as the network becomes more connected, the localization errors of the three networks decrease with communication range growing. In the square network, compared with the other algorithms, the LA of TWGDV-Hop has been improved by 50.3%, 36.1%, 7.2%, 25.8% and 15.9%, respectively. In the X-shaped random network, the LA has been improved by 38.9%, 4.3%, 2.4%, 9.3% and 5.1%, respectively. In the O-shaped network, the LA has been improved by 61.9%, 59.4%, 8.5%, 41.7%, and 28.4%, respectively.
We can make out that TWGDV-Hop method has better LA than other methods in isotropic and anisotropic networks from the simulation results because the improved algorithm uses a hop difference correction coefficient to make the minimum hos between nodes more accurate. Introducing a distance-weighting factor to modify the A D P H of anchor nodes effectively alleviates the impact of curve paths on the A D P H and adopting an improved GWO makes the coordinate positions of unknown nodes more accurate.
(4)
Localization error analysis
The localization errors of all above algorithms are presented in Table 2, Table 3 and Table 4. Nodes are stochastically laid out in an area of 500 × 500. There are 30 anchor nodes and a communication radius of 60 m for nodes. We have compared our improved algorithm with other algorithms in minimum, maximum, and average localization errors.
It can be made out that the LE of TWGDV-Hop is smaller than that of other localization algorithms. This is because the hop deviation factor is introduced in the TWGDV-Hop algorithm to cause hops between nodes to be more accurate and the distance-weighting method introduced greatly reduces the impact of curved paths on A D P H . In addition, the improved GWO applied to TWGDV-Hop also effectively optimized the coordinate accuracy of unknown nodes. Based on these three advantages, the proffered TWGDV-Hop has better localization performance than the other five algorithms.
(5)
Time complexity analysis
In WSN, sensor nodes have limited computing power and energy, so the time complexity of the algorithm should be considered. Hypothesizing that the total number of sensor nodes in WSN is S , the number of anchor nodes is M , the maximum iterations for CSO, PSO and GWO are I 1 , I 2 , and I 3 , respectively, and the population size is P 1 , P 2   a n d   P 3 , respectively. DV-Hop, WDV-Hop, CWDV-Hop, HWDV-Hop, GDV-Hop and TWGDDV-Hop algorithms all need to calculate the minimum hops matrix, so the time complexity is O ( S 2 ) . In step 2, DV-Hop and GDV-Hop use the same way to calculate A D P H of anchor nodes, resulting in a time complexity of O ( M 2 ) . Although other proposed algorithms, such as WDV-Hop, HWDV-HopPSO, CWDV-Hop and TWGDV-Hop use different weighted techniques, their time complexity is O ( M 2 ) . In step three, although the six algorithms use different methods to estimate the coordinate positions of unknown nodes, their time complexity is still the same, all of which are O ( M × ( S M ) ) . In the final stage of optimizing the location of unknown nodes, the time complexities of CWDV-Hop and HWDV-Hop are O ( I 1 × P 1 × ( S M ) ) and O ( I 2 × P 2 × ( S M ) ) , respectively, while the time complexities of GDV-Hop and TWGDDV-Hop are O ( I 3 P 3 × ( S M ) ) . Generate additional time complexity O ( I 3 P 3 ) to compute the fitness function, and require O ( I 3 × ) to update the position of the gray wolf. Thus, the time complexity of TWGDV-Hop has somewhat grown since the use of improved GWO to optimize the node positions in WSN. Sustained by current high-performance data processing platforms, the somewhat grown time consumption of the algorithm in this paper can be omitted, but it significantly improves localization accuracy.

6. Conclusions

The location in WSN is a very important topic. To increase the localization accuracy of DV-Hop, this paper proposed TWGDV-Hop. Considering the error caused by varying hop lengths, three communication radius broadcast messages were adopted, and a hop difference correction coefficient was introduced to further correct the minimum hops. In light of the influence of distance on different anchor points, TGWDV-Hop adopts a square quasi-measurement strategy to calculate A D P H of anchor nodes, and introduces distance weighted hop distance to jointly correct A D P H . On this basis, an improved GWO is adopted to reduce the error in estimating coordinates. Although the time complexity during the optimization operation increases slightly, it is acceptable. The experimental results display that TGWDV-Hop can minimize node positioning errors to the maximum extent. Expanding the proposed scheme to estimate the position of unknown 3D sensor nodes is our future research direction.

Author Contributions

Conceptualization, X.Y. and W.Z.; methodology, X.Y. and T.L.; software, W.Z. and C.T.; validation, X.Y. and W.Z.; investigation, X.Y. and W.Z.; writing—original draft preparation, X.Y. and W.Z.; writing—review and editing, X.Y. and W.Z.; supervision, X.Y. and C.T.; project administration, W.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Open Project of Anhui Key Laboratory of Intelligent Building and Building Energy Efficiency of Anhui University of Architecture and Architecture (IBES2020KF03), Anhui Provincial Key Research and Development Program (202104g01020005), State Key Laboratory of Tea Biology and Resource Utilization of Anhui Agricultural University (SKLTOF20220131), Domestic Visiting Program for Outstanding Young Teachers in Colleges and Universities (gxgnfx2021154,gxgnfx2022078), Natural Research Science Institute of Anhui Universities (2022AH051372), Subsidy projects for surplus funds of Suzhou University (szxy2023jyjf86, szxy2023jyjf80, szxy2023jyjf71).

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Kamal, M.; Rashid, I.; Iqbal, W.; Siddiqui, M.H.; Khan, S.; Ahmad, I. Internet of Things Privacy and Security Joint Reference Architecture. Front. Inf. Technol. Electron. Eng. 2023, 24, 481–509. [Google Scholar] [CrossRef]
  2. Wang, R.; Wang, X.; Yang, W.; Yuan, S.; Guan, Z. Achieving Fine-Grained and Flexible Access Control on Blockchain-Based Data Sharing for the Internet of Things. China Commun. 2022, 19, 22–34. [Google Scholar] [CrossRef]
  3. Lestari, N.S.; Mahardika, A.G.; Sukirno; Herawati; Hermawaty. Internet of Things Implementation for Development of Smart Agriculture Applications; IOP Publishing Ltd.: Bristol, UK, 2022. [Google Scholar] [CrossRef]
  4. Samara, G.; Hussein, A.; Matarneh, I.A.; Alrefai, M.; Al-Safarini, M.Y. Internet of Robotic Things: Current Technologies and Applications. In Proceedings of the 2021 22nd International Arab Conference on Information Technology (ACIT), Muscat, Oman, 21–23 December 2021. [Google Scholar] [CrossRef]
  5. de Fazio, R.; Giannoccaro, N.I.; Carrasco, M.; Velazquez, R.; Visconti, P. Survey of wearable devices and Internet of Things applications for novel coronavirus pneumonia symptom detection, infection tracking and diffusion containment. Front. Inf. Technol. Electron. Eng. 2021, 22, 1413–1443. [Google Scholar] [CrossRef]
  6. Qi, B.; Ji, M.; Zheng, Y.; Zhu, K.; Pan, S.; Zhao, L.; Li, C. Application Status and Development Prospects of Power IoT Technology in State Assessment of Transmission and Transformation Equipment. High Volt. Technol. 2022, 48, 3012–3031. [Google Scholar] [CrossRef]
  7. Sun, H.; Wang, D.; Li, H.; Meng, Z. An improved DV-Hop algorithm based on PSO and Modified DE algorithm. Telecommun. Syst. 2023, 82, 403–418. [Google Scholar] [CrossRef]
  8. Feng, L.; Yao, Y.; Wang, L.; Min, G. Multi-timescale and multi-centrality layered node selection for efficient traffic monitoring in SDNs. Comput. Netw. 2021, 198, 108381. [Google Scholar] [CrossRef]
  9. Li, F.; Pan, Y.; Li, X.; Ke, X.; Liu, Y. Research on Intelligent Location of 5G Network Coverage Problem Based on Ant Colony Algorithm. In Lecture Notes on Data Engineering and Communications Technologies, Proceedings of the 2021 International Conference on Big Data Analytics for Cyber-Physical System in Smart City, Bangkok, Thailand, 16–17 December 2021; Atiquzzaman, M., Yen, N., Xu, Z., Eds.; Springer: Singapore, 2021; p. 103. [Google Scholar] [CrossRef]
  10. Su, X.; Ullah, I.; Liu, X.; Choi, D. A Review of Underwater Localization Techniques, Algorithms, and Challenges. J. Sens. 2020, 2020, 6403161. [Google Scholar] [CrossRef] [Green Version]
  11. Ullah, I.; Qian, S.; Deng, Z.; Lee, J.-H. Extended Kalman Filter-based localization algorithm by edge computing in Wireless Sensor Networks. Digit. Commun. Netw. 2021, 7, 187–195. [Google Scholar] [CrossRef]
  12. Li, Y.; Liu, M.; Zhang, S.; Zheng, R.; Lan, J.; Dong, S. Particle System-Based Ordinary Nodes Localization With Delay Compensation in UWSNs. IEEE Sens. J. 2022, 7, 22. [Google Scholar] [CrossRef]
  13. Chen, H.; Liu, B.; Huang, P.; Liang, J.; Gu, Y. Mobility-assisted node localization based on TOA measurements without time synchronization in wireless sensor networks. Mob. Netw. 2012, 17, 90–99. [Google Scholar] [CrossRef]
  14. Shalaby, M.; Shokair, M.; Messiha, N.W. Performance enhancement of TOA localized wireless sensor networks. Wirel. Pers. Commun. 2017, 95, 4667–4679. [Google Scholar] [CrossRef]
  15. Meng, W.; Xie, L.; Xiao, W. Optimal TDOA sensor-pair placement with uncertainty in source location. IEEE Trans. Veh. Technol. 2016, 65, 9260–9271. [Google Scholar] [CrossRef]
  16. Zhang, B.; Zhu, J.; Wu, Y.; Zhang, W.; Zhu, M. Underwater Localization Using Differential Doppler Scale and TDOA Measurements with Clock Imperfection. Wirel. Commun. Mob. Comput. 2022, 2022, 6597132. [Google Scholar] [CrossRef]
  17. Yao, Y.; Qi, H.; Xu, X.; Jiang, N. A RSSI-based distributed weighted search localization algorithm for WSNs. Sens. Netw. 2015, 11, 293403. [Google Scholar] [CrossRef] [Green Version]
  18. Burtowy, M.; Rzymowski, M.; Kulas, L. Low-profile ESPAR antenna for RSS-based DOA estimation in IoT applications. IEEE Access 2019, 7, 17403–17411. [Google Scholar] [CrossRef]
  19. Zhang, J.; Han, G.; Sun, N.; Shu, L. Path-loss-based fingerprint localization approach for location-based services in indoor environments. IEEE Access 2017, 5, 13756–13769. [Google Scholar] [CrossRef]
  20. Thoen, B.; Wielandt, S.; De Strycker, L. Improving AoA localization accuracy in wireless acoustic sensor networks with angular probability density functions. Sensors 2019, 19, 900. [Google Scholar] [CrossRef] [Green Version]
  21. Shao, H.; Zhang, X.; Wang, Z. Efficient closed-form algorithms for AOA based self-localization of sensor nodes using auxiliary variables. IEEE Trans. Signal Process. 2014, 62, 2580–2594. [Google Scholar] [CrossRef]
  22. Liu, J.; Wang, Z.; Yao, M.; Qiu, Z. VN-APIT: Virtual nodes-based range-free APIT localization scheme for WSN. Wirel. Netw. 2016, 22, 867–878. [Google Scholar] [CrossRef]
  23. Kim, K.; Shin, Y. A Distance Boundary with Virtual Nodes for the Weighted Centroid Localization Algorithm. Sensors 2018, 18, 1054. [Google Scholar] [CrossRef] [Green Version]
  24. Niculescu, D.; Nath, B. Ad hoc positioning system (APS). Proc. IEEE Glob. Telecommun. 2011, 5, 2926–2931. [Google Scholar] [CrossRef]
  25. Liu, R.; Duan, Z.; Li, B. Application of Improved DV-Hop Location Algorithm in Health Monitoring of Steel Structures. J. Instrum. 2022, 43, 38–49. [Google Scholar] [CrossRef]
  26. Rekha; Kumar, G.; Rai, M.K. An Advanced DV-Hop Localization Algorithm for Random Mobile Nodes in Wireless Sensor Networks. Arab. J. Sci. Eng. 2019, 44, 9787–9803. [Google Scholar] [CrossRef]
  27. Chen, T.; Hou, S.; Sun, L. An Enhanced DV-Hop Positioning Scheme Based on Spring Model and Reliable Beacon Node Set. Comput. Netw. 2022, 209, 108926. [Google Scholar] [CrossRef]
  28. Zhang, D.; Zhang, X.; Xie, F. Research on Location Algorithm Based on Beacon Filtering Combining DV-Hop and Multidimensional Support Vector Regression. Sensors 2021, 21, 5335. [Google Scholar] [CrossRef] [PubMed]
  29. Gou, P.; Li, F.; Han, X.; Jia, X. An Improved DV-HOP Localization Algorithm Based on High-Precision in WSN. In Proceedings of the 2018 International Conference on Robots & Intelligent System (ICRIS), Changsha, China, 26–27 May 2018; IEEE Computer Society: New York, NY, USA, 2018. [Google Scholar] [CrossRef]
  30. Xue, D. Research of localization algorithm for wireless sensor network based on DV-Hop. EURASIP J. Wirel. Commun. Netw. 2019, 1, 218. [Google Scholar] [CrossRef] [Green Version]
  31. Shikai, S.; Bin, Y.; Kaiguo, Q.; Yumei, S.; Wu, W. On improved DV-hop localization algorithm for accurate node localization in wireless sensor networks. Chin. J. Electron. 2019, 28, 658–666. [Google Scholar] [CrossRef]
  32. Hadir, A.; Regragui, Y.; Garcia, N. Accurate Range-Free Localization Algorithms Based on PSO for Wireless Sensor Networks. IEEE Access 2021, 9, 149906–149924. [Google Scholar] [CrossRef]
  33. Jia, Y.; Zhang, K.; Zhao, L. Improved DV-Hop location algorithm based on mobile anchor node and modified hop count for wireless sensor network. Electr. Comput. 2020, 2020, 9275603. [Google Scholar] [CrossRef]
  34. Lin, W.; Yao, Y.; Zou, K.; Feng, W.; Yan, J. Distributed DV-Hop refinement algorithm based on correction vectors. Comput. Res. Dev. 2019, 56, 585–593. [Google Scholar] [CrossRef]
  35. Liouane, H.; Messous, S.; Cheikhrouhou, O.; Baz, M.; Hamam, H. Regularized Least Square Multi-Hops Localization Algorithm for Wireless Sensor Networks. IEEE Access 2021, 9, 136406–136418. [Google Scholar] [CrossRef]
  36. Wan, X.; Lu, J. Improved DV-Hop Localization Algorithm Based on Weighted Least Squares Cycle Optimization in Anisotropic Networks. Wirel. Pers. Commun. 2022, 126, 895–909. [Google Scholar] [CrossRef]
  37. Messous, S.; Liouane, H.; Cheikhrouhou, O.; Hamam, H. Measurement for Wireless Sensor Networks. Sensors 2021, 21, 4152. [Google Scholar] [CrossRef] [PubMed]
  38. Huang, Y.; Zhang, L. Weighted DV-Hop Localization Algorithm for Wireless Sensor Network based on Differential Evolution Algorithm. In Proceedings of the 2019 IEEE International Conference on Information and Computer Technologies, Kahului, HI, USA, 20–22 December 2019; pp. 14–18. [Google Scholar] [CrossRef]
  39. Liu, G.; Qian, Z.; Xue, W. An improved DV-Hop localization algorithm based on hop distances correction. China Commun. 2019, 16, 200–214. [Google Scholar] [CrossRef]
  40. Shi, Q.; Wu, C.; Xu, Q.; Zhang, J. Optimization for DV-Hop type of localization scheme in wireless sensor networks. J. Supercomput. 2021, 77, 13629–13652. [Google Scholar] [CrossRef]
  41. Chen, J.; Zhang, W.; Liu, Z.; Wang, R.; Zhang, S. CWDV-Hop: A Hybrid Localization Algorithm with Distance-Weight DV-Hop and CSO for Wireless Sensor Networks. IEEE Access 2020, 99, 380–399. [Google Scholar] [CrossRef]
  42. Cao, Y.; Wang, Z. Improved DV-Hop Localization Algorithm Based on Dynamic Anchor Node Set for Wireless Sensor Net-works. IEEE Access 2019, 7, 124876–124890. [Google Scholar] [CrossRef]
  43. Huang, X.; Han, D.; Cui, M.; Lin, G.; Yin, X. Three-Dimensional Localization Algorithm Based on Improved A* and DV-Hop Algorithms in Wireless Sensor Network. Sensors 2021, 21, 448. [Google Scholar] [CrossRef]
  44. Yu, X.; Hu, M. Hop-Count Quantization Ranging and Hybrid Cuckoo Search Optimized for DV-HOP in WSNs. Wirel. Pers. Commun. 2019, 108, 2031–2046. [Google Scholar] [CrossRef]
  45. Sun, B.; Wei, S. DV Hop localization algorithm based on adaptive adjustment strategy Grey Wolf algorithm. Comput. Sci. 2019, 46, 6. [Google Scholar] [CrossRef]
  46. Zhang, J.; Li, Y. Improved Triple Correction DV-Hop Localization Algorithm. Small Micro Comput. Syst. 2022, 43, 1762–1768. [Google Scholar] [CrossRef]
  47. Mirjalili, S.; Mirjalili, S.; Lewis, A. Grey wolf optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef] [Green Version]
  48. Li, H.; Xiang, S.; Yang, Y.; Liu, C. Differential evolution particle swarm optimization algorithm based on good point set for computing Nash equilibrium of finite noncooperative game. AIMS Math. 2021, 6, 1309–1323. [Google Scholar] [CrossRef]
  49. Mostafa, A.; Ebeed, M.; Kamel, S.; Abdel-Moamen, M.A. Optimal Power Flow Solution Using Levy Spiral Flight Equilibrium Optimizer with Incorporating CUPFC. IEEE Access 2021, 99, 69985–69998. [Google Scholar] [CrossRef]
Figure 1. Application of IoT.
Figure 1. Application of IoT.
Electronics 12 03220 g001
Figure 2. Localization in Various Applications.
Figure 2. Localization in Various Applications.
Electronics 12 03220 g002
Figure 3. Hops Error Analysis.
Figure 3. Hops Error Analysis.
Electronics 12 03220 g003
Figure 4. ADPH Error.
Figure 4. ADPH Error.
Electronics 12 03220 g004
Figure 5. Regional Calculation Model.
Figure 5. Regional Calculation Model.
Electronics 12 03220 g005
Figure 6. Graph of increases.
Figure 6. Graph of increases.
Electronics 12 03220 g006
Figure 7. Gray wolf hierarchy diagram.
Figure 7. Gray wolf hierarchy diagram.
Electronics 12 03220 g007
Figure 8. Diagram of choose wolf movement hen hunting.
Figure 8. Diagram of choose wolf movement hen hunting.
Electronics 12 03220 g008
Figure 9. Initial Population of the Best Point Set.
Figure 9. Initial Population of the Best Point Set.
Electronics 12 03220 g009
Figure 10. Initial Population of Random Distribution.
Figure 10. Initial Population of Random Distribution.
Electronics 12 03220 g010
Figure 11. Levy Flight Strategy Simulation.
Figure 11. Levy Flight Strategy Simulation.
Electronics 12 03220 g011
Figure 12. Nodes deployment according to network topologies.
Figure 12. Nodes deployment according to network topologies.
Electronics 12 03220 g012
Figure 13. The impact of the number of anchor nodes.
Figure 13. The impact of the number of anchor nodes.
Electronics 12 03220 g013aElectronics 12 03220 g013b
Figure 14. The impact of the total number of nodes.
Figure 14. The impact of the total number of nodes.
Electronics 12 03220 g014aElectronics 12 03220 g014b
Figure 15. The impact of the communication radius.
Figure 15. The impact of the communication radius.
Electronics 12 03220 g015aElectronics 12 03220 g015b
Table 1. Simulation Parameter Settings.
Table 1. Simulation Parameter Settings.
ParameterValue
Network
Network topologySquare random, O-shaped, X-shaped
Total runs100
Length of area500 × 500
Total number of nodes300, 350, 400, 450, 500
Number of anchor nodes30, 35, 40, 45, 50, 55, 60
Communication range R60, 70, 80, 90, 100
GWO
Number of iterations100
Size of wolfs80
Limit70
a2−0
r1, r2Rand [0, 1]
Table 2. The minimum, maximum and average localization errors in square random network.
Table 2. The minimum, maximum and average localization errors in square random network.
AlgorithmMinMaxMean
DV-Hop1.7892.3135.78
WDV-Hop0.4988.0823.17
CWDV-Hop0.5188.9416.23
HWDV-HopPSO0.877.7324.48
GDV-Hop0.8384.0123.18
TWGDV-Hop0.4982.2115.79
Table 3. The minimum, maximum and average localization errors in X-shaped random network.
Table 3. The minimum, maximum and average localization errors in X-shaped random network.
AlgorithmMinMaxMean
DV-Hop1.37163.5263.01
WDV-Hop3.58131.7639.57
CWDV-Hop0.8271.6239.01
HWDV-HopPSO0.52127.350.01
GDV-Hop0.8476.5543.25
TWGDV-Hop0.7668.1336.89
Table 4. The minimum, maximum and average localization errors in O-shaped random network.
Table 4. The minimum, maximum and average localization errors in O-shaped random network.
AlgorithmMinMaxMean
DV-Hop7.42139.2661.02
WDV-Hop2.01130.3153.65
CWDV-Hop1.1481.823.56
HWDV-HopPSO1.485.6336.98
GDV-Hop1.54103.5829.92
TWGDV-Hop1.0977.822.54
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

Yang, X.; Zhang, W.; Tan, C.; Liao, T. A Novel Localization Technology Based on DV-Hop for Future Internet of Things. Electronics 2023, 12, 3220. https://doi.org/10.3390/electronics12153220

AMA Style

Yang X, Zhang W, Tan C, Liao T. A Novel Localization Technology Based on DV-Hop for Future Internet of Things. Electronics. 2023; 12(15):3220. https://doi.org/10.3390/electronics12153220

Chicago/Turabian Style

Yang, Xiaoying, Wanli Zhang, Chengfang Tan, and Tongqing Liao. 2023. "A Novel Localization Technology Based on DV-Hop for Future Internet of Things" Electronics 12, no. 15: 3220. https://doi.org/10.3390/electronics12153220

APA Style

Yang, X., Zhang, W., Tan, C., & Liao, T. (2023). A Novel Localization Technology Based on DV-Hop for Future Internet of Things. Electronics, 12(15), 3220. https://doi.org/10.3390/electronics12153220

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