Next Article in Journal
Modulation Recognition of Radar Signals Based on Adaptive Singular Value Reconstruction and Deep Residual Learning
Next Article in Special Issue
Smartwatch User Authentication by Sensing Tapping Rhythms and Using One-Class DBSCAN
Previous Article in Journal
An Experimental Analysis of Attack Classification Using Machine Learning in IoT Networks
Previous Article in Special Issue
Multi-Modal Explicit Sparse Attention Networks for Visual Question Answering
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Three-Dimensional Localization Algorithm Based on Improved A* and DV-Hop Algorithms in Wireless Sensor Network

1
Department of Information Engineering, Shanghai Maritime University, Shanghai 201306, China
2
Department of Computer Science and Engineering, East China University of Science and Technology, 130 Meilong Road, Shanghai 200237, China
3
The Third Research Institute of Ministry of Public Security, 76 Yueyang Road, Shanghai 200031, China
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(2), 448; https://doi.org/10.3390/s21020448
Submission received: 15 December 2020 / Revised: 31 December 2020 / Accepted: 1 January 2021 / Published: 10 January 2021
(This article belongs to the Collection Fog/Edge Computing based Smart Sensing System)

Abstract

:
In the traditional wireless sensor networks (WSNs) localization algorithm based on the Internet of Things (IoT), the distance vector hop (DV-Hop) localization algorithm has the disadvantages of large deviation and low accuracy in three-dimensional (3D) space. Based on the 3DDV-Hop algorithm and combined with the idea of A* algorithm, this paper proposes a wireless sensor network node location algorithm (MA*-3DDV-Hop) that integrates the improved A* algorithm and the 3DDV-Hop algorithm. In MA*-3DDV-Hop, firstly, the hop-count value of nodes is optimized and the error of average distance per hop is corrected. Then, the multi-objective optimization non dominated sorting genetic algorithm (NSGA-II) is adopted to optimize the coordinates locally. After selection, crossover, mutation, the Pareto optimal solution is obtained, which overcomes the problems of premature convergence and poor convergence of existing algorithms. Moreover, it reduces the error of coordinate calculation and raises the localization accuracy of wireless sensor network nodes. For three different multi-peak random scenes, simulation results show that MA*-3DDV-Hop algorithm has better robustness and higher localization accuracy than the 3DDV-Hop, PSO-3DDV-Hop, GA-3DDV-Hop, and N2-3DDV-Hop.

1. Introduction

Nowadays, wireless sensor network (WSN) is a research hotspot in the field of Internet of Things (IoT), which is composed of several micro sensor nodes with data collection, analysis and processing capabilities as well as information sending and receiving capabilities [1]. Owing to the deployment location of sensor nodes in WSN can be changed at any time, it can monitor some specific areas flexibly [2,3].
In practical applications, most wireless sensor nodes are deployed in 3D space scene, such as forest fire warning [4]. The node monitors the fire source and transmits the data to the user, then the user can quickly take the fastest rescue speed to implement the fire fighting action and minimize the loss [5]. In the battlefield behind the enemy, real-time monitoring of the enemy’s weapons and high-tech equipment area, the direction of moving vehicles and the deployment of troops can accurately grasp the enemy’s trend [6]. For the application of natural water pipeline leakage, it is necessary to know the leakage location accurately to make targeted remedial measures [7]. In some special cases, when it is inconvenient, or the staff are unable to enter the monitoring area to carry out survey work, the unique advantages and characteristics of WSN can be used to quickly monitor the surrounding environmental heat, red ultraviolet, sonar, vital signs and seismic wave signals [8]. The detected physical information, including temperature, light, air humidity, pressure, soil composition, speed, size and movement direction of moving objects, is given to users for observation and processing. The primary function of WSN is to quickly and accurately locate the source of events, which is also the most basic problem in practical application [9].
WSN node localization algorithm can be divided into direct-ranging-method and indirect- ranging-method [10]. The direct-ranging-method utilizes additional hardware to measure the angle, distance and signal strength between nodes, and then calculates the localization information of the nodes by using the obtained data [11]. Typical direct-ranging-methods include strength indication of received signal (RSSI) [12,13], time difference of arrival (TDOA) [14], time of arrival (TOA) [15,16], angle of arrival (AOA) [17,18], and so forth. Indirect-ranging-method mainly uses geometric relationship between nodes, hop-count value and energy loss between nodes, network connectivity and other aspects to estimate the location of unknown nodes [19]. It includes DV-Hop [20], perfect point in triangulation test (APIT) [21,22], centroid algorithm [23,24], and so forth.
The DV-Hop algorithm is not complicated. In different networks, its localization results are relatively accurate and reasonable, and the network robustness is also strong  [25]. However, there is a large localization error in the random sensor networks with uneven density [26]. The larger the minimum hop-count value from the localization node to the beacon node, the greater the cumulative error value [27]. On account of the error is directly proportional to the hop-count value, when the hop-count value is large, the localization result will be inaccurate if the estimated distance with large error is used to calculate the node localization coordinates [28,29].
Aiming at the shortcomings of existing DV-Hop algorithms, this paper proposes a localization algorithm(MA*-3DDV-Hop) based on 3D space. MA*-3DDV-Hop algorithm can not only adapt to 2D space node localization, but also can be applied to 3D space node accurate localization. In MA*-3DDV-Hop algorithm, the hop-count value of nodes is optimized to improve the error of calculating the average distance per hop. Then, the multi-objective NSGA-II is adopted to optimize the coordinates locally. After selection, crossover, mutation, the Pareto optimal solution is obtained, which overcomes the problems of premature convergence and poor convergence of existing algorithms. The above steps reduce the error of coordinate calculation and promotes the localization accuracy of wireless sensor network nodes.
The main contributions of this paper are as follows:
  • The improved A* algorithm is used to optimize the hop-count value of the localization node in the network. The original hop-count value and deviation angle are normalized to realize the intelligent selection of the best node to be hopped, which makes the hop-count value path between each node tend to be straight line, and the new hop-count value is obtained through iterative calculation.
  • The average distance per hop is corrected. The normalized values of the original hop-count value and the deviation angle are used as the correction factors to correct the estimated distance per hop, so as to further diminish the error of the average distance per hop.
  • The NSGA-II algorithm is used to refine the estimated coordinates iteratively in the local area to further enhance the accuracy. The coordinate value obtained by the least square method formula is used as reference, and the best search target range is set. Through selection, crossover, mutation operation, to find the best chromosome, get the Pareto optimal solution, and finally solve the optimal coordinate value.
  • The MA*-3DDV-Hop algorithm is compared with the existing algorithms in three different 3D multi-peak simulation environments. The experimental results show that compared with 3DDV-Hop, PSO-3DDV-Hop [30], GA-3DDV-Hop [31] and N2-3DDV-Hop [31], MA*-3DDV-Hop algorithm has smaller localization error and stronger stability, and is more suitable for application scenes with higher localization accuracy and stability requirements.
The rest of this paper is structured as follows: In Section 2, we introduce the related work of the proposed algorithm. In Section 3, the classical DV-Hop and A* algorithms are described. In Section 4, the MA*-3DDV-Hop algorithm proposed in this paper is explained. In Section 5 and Section 6, the experimental results and performance evaluation are analyzed. Finally, the conclusion of this paper and the future work direction are presented in Section 7.

2. Related Work

DV-Hop algorithm is simple, widely used, stable and easy to expand [26]. Many researchers put forward different ideas to enhance the localization accuracy of the algorithm: Tang et al. used TDOA location feature to quantify the hop value of nodes in DV-Hop location algorithm to achieve a stable effect [32]. Li et al. suggested increasing the communication radius to update the minimum hop-count value of unknown nodes to a smaller hop-count value, which solves the problem that the actual distance difference of the same hop-count value to a certain extent [33]. Cai et al. proposed a new algorithm (N2-3DDV-Hop) to modify the average distance per hop and to optimize the error combined with NSGA-II algorithm [31]. Han et al. applied a differential evolution localization algorithm based on DV-Hop to modify the average distance per hop [34]. Liu et al. used a hybrid localization algorithm of APIT and DV-Hop, which enhances the localization accuracy and node coverage [35]. Singh et al. improved DV-Hop method and applied meta heuristic technology to overcome the localization error [36]. Chai et al. proposed a new parallel whale optimization algorithm, which can get better results than some existing intelligent computing algorithms [37]. Cheng et al. proposed to use the coincidence particle swarm optimization method to modify the average distance per hop [38]. In addition, Xiao et al. adopted to use particle swarm optimization algorithm for global optimization after the least square method is used to calculate the coordinates [39].
All the above improved algorithms only carry out unilateral error correction or coordinate optimization, but ignore the gradual error correction, which results in the accumulation of errors layer by layer and unsatisfactory localization accuracy. This is because DV-Hop algorithm locates unknown nodes based on distance vector information and network connectivity, instead of directly measuring the distance between nodes [40]. The error of the algorithm itself is mainly caused by the following aspects:
  • In traditional DV-Hop algorithm or improved DV-Hop algorithm, nodes are generally distributed randomly. If the propagation path and straight line between the two nodes have large difference and lack of consistency, then the hop-count value calculated in the first stage will produce large error.
  • In the second stage, there is a big error when the original hop-count value obtained in the first stage is substituted into the calculated average distance per hop. Then the average distance per hop with error is used to estimate the distance between the unknown node and the beacon node, which will inevitably affect the localization accuracy.
  • Due to the accumulation of errors in the first stage and the second stage, the deviation between the calculated coordinates in the third stage and the real coordinates is large. The localization results are not ideal.
To sum up the above, this paper first combines the idea of A* algorithm to gradually correct the error of hop-count value in the first step and the average distance per hop in the second step, so as to minimise the Cumulative error and strengthen the localization accuracy to a certain extent. And then, in the third stage, the estimated coordinate value calculated by the least square method is taken as the target to establish the optimal search target range and multi-objective function. The optimal solution is obtained by local optimization combined with NSGA-II algorithm, that is, the search range is narrowed from the global search to the local range of the estimated coordinates to find the optimal coordinate value, which greatly decreases the coordinate error.

3. Three-Dimensional Distance Vector-Hop (3DDV-Hop) and A* Algorithm

This section will introduce 3DDV-Hop algorithm and A* algorithm in detail.

3.1. 3DDV-Hop Algorithm

3DDV-Hop coordinates calculation is divided into the following three steps:
Stept 1:
Through Flooding, the Hop-count Value is Estimated
In this step, beacon nodes in wireless sensor networks broadcast packets containing their own number, location information and hop-count value by flooding, and the hop-count value is set to zero [41,42]; after receiving the data packet of the beacon node, the neighbor node of the beacon node adds one hop-count value in the packet and forwards it to the neighbor node of the next hop of the neighbor node [43,44]; the node receiving the packet selects the packet with the minimum hop-count value from a number of packets with the same number and saves it, adds the hop-count value in the selected packet by one, and forwards the packet to the next hop neighbor node of the node [45,46]. This is repeated until the end of flooding. The hop-count value of the packet saved by any node in the network is the minimum hop-count value between the node and the corresponding beacon node [47].
Stept 2:
Distance Estimation Calculation
In this step, the average distance per hop between beacon nodes is calculated by using Equation (1) in 3D cyberspace.
H op s i z e i _ p r e = i j ( x i x j ) 2 + ( y i y j ) 2 + ( z i z j ) 2 i j H o p i j _ p r e ,
where H o p i j _ p r e is the minimum hop-count value from beacon node i to beacon node j in the network, i j and i , j [ 1 , N ] , ( x i , y i , z i ) and ( x j , y j , z j ) represent the coordinates of beacon nodes i and j respectively, while H op s i z e i _ p r e represents the average distance per hop from beacon node i to all other beacon nodes j in the network.
Then, the estimated distance between unknown node p and beacon node j is calculated. The formula is as follows:
d p i = H o p s i z e i _ p r e × H o p p i _ p r e ,
where p [ 1 , W ] , W is the number of unknown nodes, i [ 1 , N ] , and N is the number of beacon nodes.
Stept 3:
Calculating Coordinates
In this step, the estimated distance d p i between the unknown node and each beacon node is calculated according to Equation (2). Let the coordinates of unknown node p and beacon node i be ( X p , Y p , Z p ) and ( x i , y i , z i ) respectively, i [ 1 , N ] . According to the estimated distance between unknown node p and beacon node i, the equations are listed [48]:
( X 1 X p ) 2 + ( Y 1 Y p ) 2 + ( Z 1 Z p ) 2 = d p 1 2 ( X 2 X p ) 2 + ( Y 2 Y p ) 2 + ( Z 2 Z p ) 2 = d p 2 2 . . . . . . . . . . . . . . ( X N X p ) 2 + ( Y N Y p ) 2 + ( Z N Z p ) 2 = d p N 2
The equations are solved:
X p Y p Z p = ( A T A ) 1 A T b ,
where T stands for transposition,
A = 2 ( X 1 X N ) 2 ( Y 1 Y N ) 2 ( Z 1 Z N ) 2 ( X 2 X N ) 2 ( Y 2 Y N ) 2 ( Z 2 Z N ) . . . . . . . . . . . . 2 ( X N 1 X N ) 2 ( Y N 1 Y N ) 2 ( Z N 1 Z N )
b = X 1 2 X N 2 + Y 1 2 Y N 2 + Z 1 2 Z N 2 + d p N 2 d p 1 2 X 2 2 X N 2 + Y 2 2 Y N 2 + Z 2 2 Z N 2 + d p N 2 d p 2 2 . . . . . . X N 1 2 X N 2 + Y N 1 2 Y N 2 + Z N 1 2 Z N 2 + d p N 2 d p N 1 2 .

3.2. A* Algorithm

A* algorithm is not only the most effective direct search method for solving the shortest path, but also a common heuristic algorithm for many other problems. Therefore, a good heuristic function based on environment selection is crucial [49].
The formula of A* algorithm is shown as follows:
f ( n ) = g ( n ) + h ( n )
where f ( n ) is the cost estimation from the initial state to the target state via state n, g ( n ) is the actual cost from the initial state to the state n in the state space, and h ( n ) is the estimated cost of the best path from state n to target state [50]. The overall flow chart of A* algorithm is shown in Figure 1, and the related steps are as follows [50]:
  • Define the start node as an existing node.
  • The node connected with the confirmed node is defined as the node to be estimated, and the evaluation cost of all the nodes to be estimated is calculated.
  • Determine: If the current node to be estimated is a confirmed node, it will stop immediately; otherwise, the execution will continue.
  • The node to be estimated corresponding to the best generation value is selected as the confirmed node.
  • Otherwise, go back to Step 3.

4. MA*-3DDV-Hop Algorithm

In this section, the DV-Hop model described in Section 3 is improved combined with A* algorithm to gradually decrease the error, and NSGA-II algorithm is used to optimize the final cumulative error.

4.1. Improved 3DDV-Hop Using A* Algorithm

As mentioned above, DV-Hop algorithm locates unknown nodes through distance vector information and network connectivity, and does not directly measure the distance between nodes, resulting in errors. In this paper, A* algorithm is used to optimize the hop-count path to cut down the error, and the average distance per hop is corrected by normalizing the original hop-count value and deviation angle degree as the error coefficient. The specific steps of MA*-3DDV-Hop algorithm are as follows:
Stept 1:
Optimization of the Hop-count Value
Firstly, the original hop-count value H o p i j _ p r e is obtained by using the first flooding path and Equation (1), as shown in Figure 2a.
Secondly, combined with the idea of A* algorithm, the cost evaluation function from unknown node x to beacon node is established:
F j ( x ) = g k ( x ) + h j ( k ) ,
where F j ( x ) is the total cost from unknown node x to beacon node j, node k is any node between beacon node x and beacon node j, g k ( x ) is the cost from unknown node x to unknown node k, h j ( k ) is the evaluation from unknown node k to beacon node j, j [ 1 , N ] , x , k [ 1 , W ] .
The original hop-count value H o p i j _ p r e and the unknown node deviation angle degree θ k j (the angle between Euclidean distance from node x to node j and Euclidean distance from unknown node k to node j can be obtained by AOA and other related technologies, as shown in Figure 3) are normalized. The adjustable factors ϖ 1 , ϖ 2 , and the angle factor θ are set. The discriminant function is as follows:
h j ( k ) = ϖ 1 × H o p k j _ p r e min ( H o p i j _ p r e ) max ( H o p i j _ p r e ) min ( H o p i j _ p r e ) + ϖ 2 × θ k j θ .
Finally, a new path is obtained by flooding, and the optimized hop-count value is H o p i j _ A * , as shown in Figure 2b.
Stept 2:
Correction of Average Distance Per Hop and Calculation of the Estimated Distance
First of all, the average distance per hop H op s i z e i _ A * between beacon nodes is calculated:
H op s i z e i _ A * = i j ( x i x j ) 2 + ( y i y j ) 2 + ( z i z j ) 2 i j H o p i j _ A * ,
where ( x i , y i , z i ) , ( x j , y j , z j ) represents the coordinates of beacon nodes i and j respectively, H o p i j _ A * represents the hop-count value between beacon nodes i and j, i , j [ 1 , N ] .
Secondly, using Equation (11) to correct the error, the corrected average distance per hop is obtained:
H op s i z e i _ A * _ M = H op s i z e i _ A * + λ f j ( i ) ,
where f j ( k ) is the cost function from unknown node k to beacon node j, and λ is the correction factor.
On the basis of solving the modified average distance per hop H op s i z e _ A * _ M _ A ve , the average distance per hop based on the whole network is solved by Equation (12).
H op s i z e _ A * _ M _ A ve = i = 1 N H op s i z e _ A * _ M N .
Finally, the estimated distance d u j between beacon node j and unknown node u is calculated by using Equation (13):
d u j = H op s i z e _ A * _ M _ A ve × H o p u j _ A * ,
where u [ 1 , W ] , j [ 1 , N ] .

4.2. NSGA-II Algorithm

In this stage, the multi-objective NSGA-II algorithm is used to locally optimize the initial estimated unknown node coordinates, as shown in Figure 4. On account of the error of estimated distance and true distance between unknown node and beacon node, the problem of solving unknown node coordinate can be transformed into solving the minimum value problem of Equation (14).
f ( x , y , z ) = min ( j = 1 N ( x u x j ) 2 + ( y u y j ) 2 + ( z u z j ) 2 d j ) ,
where ( x u , y u , z u ) is the coordinate of unknown node, ( x j , y j , z j ) is the coordinate of beacon node, and d j is the estimated distance from unknown node u to beacon node j.
On the basis of the estimated unknown node coordinates ( X u , Y u , Z u ) , the multi-objective optimization function of NSGA-II is established as follows:
min f 1 ( x u , y u , z u ) = ( x u x j 1 ) 2 + ( y u y j 1 ) 2 + ( z u z j 1 ) 2 d u j 1
min f 2 ( x u , y u , z u ) = ( x u x j 2 ) 2 + ( y u y j 2 ) 2 + ( z u z j 2 ) 2 d u j 2
s . t . X u r < x u < X u + r Y u r < y u < Y u + r Z u r < z u < Z u + r ,
where f 1 ( x u , y u , z u ) and f 2 ( x u , y u , z u ) are respectively the first objective function and the second objective function in the multi-objective model; d u j 1 and d u j 2 are the distances between the two beacon nodes nearest to the unknown node u, j 1 , j 2 N ; r is the constraint radius of local optimization.

4.3. The Proposed MA*-3DDV-Hop Algorithm

This paper presents the MA*-3DDV-Hop algorithm based on DV-Hop model, which combines A* algorithm with NSGA-II algorithm. Figure 5 helps us better understand the complete implementation steps of MA*-3DDV-Hop algorithm. Algorithm 1 is the pseudo code of MA*-3DDV-Hop algorithm.
Algorithm 1 The procedure of MA*-3DDV-Hop.
 Initialization: The number of nodes M, the beacon nodes N, communication radius R c
 Input: Parameter settings of MA*-3DDV-Hop and the experimental area; Parameter settings of MA*-3DDV-Hop: see Table 1; Experimental area is 100 × 100 × 100 m 3
 1: Generate simulated 3D random topology scene;
 2: Calculate the hop-count value H o p i j _ p r e according to the shortest path algorithm;
 3: Calculate the hop-count value H o p i j _ A * according to the shortest path algorithm again combination with Equations (7) and (8);
 4: for k = 1 to M do
 5:  for i = 1 to M do
 6:   for j = 1 to M do
 7:    if h(x) < min(h(x)) then
 8:     Min(h(x)) = h(x);
 9:      Min ( h ( x ) ) _ index = points ( i ) ; ;
 10:    end if
 11:   end for
 12:   F(x) = g(x) + min(h(x));
 13:   num = num + 1;
 14:  end for
 15: end for
 16: Calculate the average distance per hop; H op s i z e i _ A * _ M _ A ve , according to Equations (9)–(11);
 17: Calculate the unknown distances; According to Equation (12);
 18: Calculate the coordinate;
 19: Calculate the fitness of objective function using Equation (14), fast non-dominated sort, selection, crossover, mutation. Execution NSGA-II algorithm see Table 1;
 20: lb = S(i,:)-r;
 21: ub = S(i,:)+r;
 22: ……….
 23: end

5. Experiment and Result Analysis

In this section, we will establish the simulation experiment for the algorithm proposed in Section 4. Firstly, the experimental environment is introduced. Then, the feasibility and evaluation criteria of the scheme are explained. Finally, the experimental results are analyzed.

5.1. Experimental Environment

In this experiment, the MA*-3DDV-Hop algorithm is simulated and tested by running MATLAB 2018b on a computer configured with Intel(R) Core(TM) I7-8700 CPU @3.20ghz processor, 8 GB RAM, and Windows 10 operating system. In order to obtain good experimental results, each experiment is run independently for 50 times. MA*-3DDV-Hop algorithm is compared and analyzed with 3DDV-Hop, PSO-3DDV-Hop, GA-3DDV-Hop, and N2-3DDV-Hop.
The simulation experiments are carried out in three different 3D scene conditions: random topology scene, unimodal random topology scene, and multi-peak random topology scene. The circle nodes represent unknown nodes, and the star nodes represent beacon nodes, as shown in Figure 6, Figure 7 and Figure 8. In the random topology scene, all nodes are randomly distributed in 100 m × 100 m × 100 m space region. In the unimodal random topology scene, all nodes are randomly distributed on the unimodal model based on the 100 m × 100 m × 100 m space region. While in the multi-peak random topology scene, all nodes are randomly distributed on the multi-peak model based on the 100 m × 100 m × 100 m space region. Other relevant parameters are shown in Table 1.

5.2. Feasibility of the Scheme

Figure 9 shows the multi-objective Pareto frontier diagrams of random topology scene, unimodal random topology scene, and multi-modal random topology scene. It can be seen from Figure 9 that the inverse relationship between Pareto model functions in random topology scene, unimodal random topology scene, and multimodal random topology scene becomes more and more remarkable. With the increase of three kinds of spatial complexity, the optimization scale based on multi-objective Pareto model is also increasing. Owing to the growth of three kinds of spatial complexity, the optimization scale of multi-objective Pareto model is also raising, which better verifies the feasibility and correctness of multi-objective model function.
In order to verify the global feasibility of the scheme, the whole algorithm is simulated in three different scenes, and the error effect diagram is obtained, as shown in Figure 10. In the random topology scene, it clearly shows that all nodes are randomly deployed in the corresponding experimental area. In the unimodal and multi-peak topology scene, all nodes are randomly and evenly deployed on the complex terrain, which better simulates the real scene.

5.3. Evaluation Criteria for Tests

After the localization algorithm is completed, the evaluation error of unknown node u is as follows:
E r u = ( x u e x u t ) 2 + ( y u e y u t ) 2 + ( z u e z u t ) 2 .
Average localization error (ALE) as the evaluation standard of this paper:
A L E = u = 1 W ( x u e x u t ) 2 + ( y u e y u t ) 2 + ( z u e z u t ) 2 W × R c ,
where ( x u e , y u e , z u e ) is the estimated coordinates finally calculated by the localization algorithm. ( x u t , y u t , z u t ) is the true coordinate. A L E is the average localization error, W is the number of unknown nodes, and R c is the communication radius.

5.4. Analysis of Experimental Results

In this section, we study the influence of communication radius, the number of nodes, and the number of beacon nodes on ALE in three different topological scenes.

5.4.1. The Influence of Communication Radius

In the three scenes, the communication radius of the nodes is set to a distance between 25 m and 50 m, the number of deployed nodes is 130, and the number of beacon nodes is 25. The experimental results are shown in Figure 11 and Figure 12.
It can be seen from Figure 11 that, in the three network topology scenes, the ALE of the five localization algorithms mentioned above decreases gradually with the increase of the communication radius in the network. Among the five algorithms, MA*-3DDV-Hop has notable advantages in the scenes of random topology and unimodal random topology, and ALE value always keeps the minimum. In the multi-peak random topology scene, we can see that due to the complex terrain, MA*-3DDV-Hop is less affected by the increase of communication radius, and ALE value changes slowly.
Figure 12 shows the influence of the node communication radius on the average ALE of the five algorithms based in the three scenes. As can be seen from the figure, compared with 3DDV-Hop, the average ALE of PSO-3DDV-Hop, GA-3DDV-Hop, N2-3DDV-Hop, and MA*-3DDV-Hop in random topology scene are reduced by 22%, 2.3%, 5.8% and 52% respectively. Compared with 3DDV-Hop, the average ALE of PSO-3DDV-Hop, GA-3DDV-Hop, N2-3DDV-Hop, and MA*-3DDV-Hop reduces by 7.3%, 8.4%, 12% and 26% respectively in the unimodal random topology scene. In the multi-peak random topology scene, the average ALE of PSO-3DDV-Hop, GA-3DDV-Hop, N2-3DDV-Hop, and MA*-3DDV-Hop reduces by 19%, 24%, 26%, and 27%, respectively, compared with 3DDV-Hop.
As shown in Figure 11 and Figure 12, the localization error of wireless sensor network nodes can be cutted down by increasing the communication radius of nodes in three different scenes. In the scenes of random topology and unimodal random topology, as the communication radius increases, MA*-3DDV-Hop has significant advantages over other algorithms in terms of ALE and average ALE; in multi-peak topology scene, ALE of MA*-3DDV-Hop is less affected by the increase of communication radius, but the average ALE is better than other algorithms. The results show that the MA*-3DDV-HOP algorithm has better robustness and localization performance when the communication radius is increased.

5.4.2. The Influence of the Number of Nodes

In the three scenes, the number of nodes is set between 70 and 130, the communication radius is 30 m, and the number of beacon nodes is 25. The experimental results are shown in Figure 13 and Figure 14.
It can be seen from Figure 13 that, in the three network topology scenes, the ALE of the five localization algorithms mentioned above decreases gradually with the increase of the number of nodes in the network. For the five algorithms, MA*-3DDV-Hop shows obvious advantages in three topological scenes, ALE value reaches the minimum, especially in random topological scene, where ALE value remains stable. In unimodal random topology scene, when the number of nodes increases to 80, MA*-3DDV-Hop algorithm achieves better ALE value compared with other algorithms; while in a multi-peak random topology scene, when the number of nodes reaches 110, the MA*-3DDV-Hop algorithm exceeds other algorithms to achieve a better ALE value.
Figure 14 shows the influence of the number of nodes on the average ALE of the five algorithms in the three scenes. It can be seen from the figure that compared with 3DDV-Hop, the average ALE of PSO-3DDV-Hop, GA-3DDV-Hop, N2-3DDV-Hop, and MA*-3DDV-Hop reduces by 14%, 15%, 19%, and 48% respectively in the random topology scene. Compared with 3DDV-Hop, the average ALE of PSO-3DDV-Hop, GA-3DDV-Hop, N2-3DDV-Hop, and MA*-3DDV-Hop reduces by 20%, 25%, 29%, and 31% in the unimodal network random topology scene. While in the multi-peak network random topology scene, the average ALE of PSO-3DDV-Hop, GA-3DDV-Hop, N2-3DDV-Hop, and MA*-3DDV-Hop reduces by 30%, 37%, 38%, and 39% respectively, compared with 3DDV-Hop.
As shown in Figure 13 and Figure 14, the localization error of wireless sensor network nodes can be narrowed by increasing the number of nodes in three different scenes. In the scenes of random topology and unimodal random topology, MA*-3DDV-Hop has striking advantages over other algorithms in terms of ALE and average ALE as the number of nodes increases. In multi-peak topology scene, ALE of MA*-3DDV-Hop is less affected by the increase of the number of nodes, while the average ALE is better than other algorithms. The results show that the MA*-3DDV-Hop algorithm has better stability and robustness when the number of nodes increases.

5.4.3. The Influence of the Beacon Nodes

In the experiment, the number of beacon nodes is set to be between 10 and 35, the communication radius is 30 m, and the number of nodes is 130. The experimental results are shown in Figure 15 and Figure 16.
It can be seen from Figure 15 that, in the three network topology scenes, the ALE of the five localization algorithms mentioned above decreases gradually with the increase of the number of beacon nodes. Among these five algorithms, the MA*-3DDV-Hop algorithm also achieves obvious effects in three random topological scenes. In random topology scene, the ALE value of MA*-3DDV-Hop algorithm remains relatively minimal and stable with the increase of the number of nodes. In the scenes of unimodal and multi-peak random topology, the ALE value of MA* -3DDV-HOP algorithm is relatively high due to the insufficient proportion of early-stage beacon nodes. However, when the number of beacon nodes is greater than 17, the ALE of MA* -3DDV-HOP algorithm is the smallest.
Figure 16 shows the influence of the number of beacon nodes on the average ALE of the five algorithms in the three scenes. It can be seen from the figure that, compared with 3DDV-Hop, the average ALE of PSO-3DDV-Hop reduces by 10%, GA-3DDV-Hop rises by 11%, N2-3DDV-Hop rises by 8%, and MA*-3DDV-Hop reduces by 35%. Compared with 3DDV-Hop, the average ALE of PSO-3DDV-Hop, GA-3DDV-Hop, N2-3DDV-Hop and MA*-3DDV-Hop reduces by 9%, 6%, 11% and 21% respectively in the unimodal random topological scene. While in the multi-peak network random topology scene, the average ALE of PSO-3DDV-Hop, GA-3DDV-Hop, N2-3DDV-Hop, and MA*-3DDV-Hop reduces by 12%, 10%, 12%, and 22% respectively, compared with 3DDV-Hop.
As shown in Figure 15 and Figure 16, the localization error of wireless sensor network nodes can be decreased by increasing the number of beacon nodes in three different scenes. The MA*-3DDV-Hop algorithm achieves good effects in three kinds of topological environments, which reflects its adaptability and stability to the environment. In the scenes of random topology and unimodal random topology, MA*-3DDV-Hop has striking advantages over other algorithms in terms of ALE and average ALE as the number of beacon nodes increases.
The results show that the MA*-3DDV-Hop algorithm has better robustness and localization performance when the number of beacon nodes increases.

6. Performance Analysis

In order to verify the performance of our algorithm, the communication radius(CR), the number of beacon nodes(NOBN) and the number of nodes(NON) are comprehensively analyzed in three different scenes, as shown in Figure 17.
It can be intuitively seen the comprehensive performance of each algorithm in three different scenes, as well as which factors have a greater impact on each algorithm. The shaded parts In figures (a), (b), and (c) all represent the comprehensive performance of MA*-3DDV-Hop. In Figure 17a, based on the shape of each algorithm graph, we know that the three corners of the graph corresponding to MA*-3DDV-Hop algorithm are closest to the center point respectively, indicating that the MA*-3DDV-Hop algorithm is less affected by these three factors, and its comprehensive performance is superior. In Figure 17b, MA*-3DDV-Hop algorithm is affected by the number of nodes in the same degree as other algorithms, while the influence of communication radius and beacon node number is relatively small, and the comprehensive performance of the algorithm is also outstanding. In Figure 17c, the performance of MA*-3DDV-Hop algorithm is similar to that of other algorithms in terms of communication radius and the number of nodes, however, the affect of the number of beacon nodes is relatively small and the algorithm performance is better.

7. Conclusions and Future Work

In this paper, MA*-3DDV-Hop algorithm is proposed based on the shortcomings of large deviation and low precision in 3D complex scene. The algorithm combines the improved A* algorithm with DV-Hop algorithm to redefine the hop-count value path of the node, and uses the normalized value to correct the error caused by the average distance per hop. The multi-objective NSGA-II algorithm is used to optimize the estimated coordinates and obtain the optimal solution. On this basis, the errors produced in the above steps are corrected respectively, so as to minimise the cumulative error after superposition and achieve good results. In order to test the actual advantages, accuracy, and reliability of MA*-3DDV-Hop algorithm in three different scenes, this paper designs a comparative experiment with different algorithm models. The results show that the proposed method has good robustness, can achieve low localization error, and is better than the original DV-Hop and the related algorithms mentioned.
Future research directions can focus on the following issues: Most of the localization algorithms in sensor networks are based on the fact that the nodes are in static state, which can not be used in some application scenes that need mobile detection. How to build a comprehensive algorithm, intelligent localization according to the needs of the scene, ensure the localization accuracy, and build a complete algorithm system is worth considering.

Author Contributions

Conceptualization, Methodology, and Investigation, X.H.; Formal Analysis, D.H.; Writing-original draft preparation, review and editing, X.H. and D.H.; Writing-translation and analysis, M.C. and X.Y.; Visualization, Investigation, G.L. and X.H.; All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the National Natural Science Foundation of China under Grant 61672338 and Grant 61873160.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data are not publicly available due to this research is still in progress.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Tao, Q.H.; Zhang, L.H. Enhancement of DV-Hop by weighted hop distance. In Proceedings of the 2016 IEEE Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC), Xi’an, China, 3–5 October 2016; pp. 1577–1580. [Google Scholar] [CrossRef]
  2. Fang, W.; Wang, H.; Hu, Z. Filter Anchor Node Localization Algorithm Based on Rssi for Underground Mine Wireless Sensor Networks. In Proceedings of the 2017 IEEE International Conference on Computational Science and Engineering (CSE) and IEEE International Conference on Embedded and Ubiquitous Computing (EUC), Guangzhou, China, 21–24 July 2017. [Google Scholar]
  3. Wang, T.; Zhao, D.; Bin Cai, S.; Jia, W.; Liu, A. Bidirectional Prediction-Based Underwater Data Collection Protocol for End-Edge-Cloud Orchestrated System. IEEE Trans. Ind. Inform. 2020, 16, 4791–4799. [Google Scholar] [CrossRef]
  4. Xue, D. Research of localization algorithm for wireless sensor network based on DV-Hop. EURASIP J. Wirel. Commun. Netw. 2019, 2019, 218. [Google Scholar] [CrossRef] [Green Version]
  5. Li, H.; Han, D. A Novel Time-Aware Hybrid Recommendation Scheme Combining User Feedback and Collaborative Filtering. Mob. Inf. Syst. 2020, 2020, 8896694:1–8896694:16. [Google Scholar]
  6. Kaur, A.; Kumar, P.; Gupta, G.P. Nature Inspired Algorithm-Based Improved Variants of DV-Hop Algorithm for Randomly Deployed 2D and 3D Wireless Sensor Networks. Wirel. Pers. Commun. Int. J. 2018, 101, 567–582. [Google Scholar] [CrossRef]
  7. Li, H.; Han, D.; Tang, M. A Privacy-Preserving Charging Scheme for Electric Vehicles Using Blockchain and Fog Computing. IEEE Syst. J. 2020, 1–12. [Google Scholar] [CrossRef]
  8. Lu, J.Y.; Zhao, D.Q. A New DV-Hop Location of Wireless Sensor Networks Based on Firefly Algorithm: Applications and Techniques in Cyber Security and Intelligence; Springer: Cham, Switzerland, 2019. [Google Scholar]
  9. Cui, M.; Han, D.; Wang, J.; Li, K.C.; Chan, C.C. ARFV: An Efficient Shared Data Auditing Scheme Supporting Revocation for Fog-Assisted Vehicular Ad-Hoc Networks. IEEE Trans. Veh. Technol. 2020, 1. [Google Scholar] [CrossRef]
  10. Chen, T.; Sun, L. A Connectivity Weighting DV Hop Localization Algorithm Using Modified Artificial Bee Colony Optimization. J. Sens. 2019, 2019, 1464513:1–1464513:14. [Google Scholar] [CrossRef] [Green Version]
  11. Shi, Y.; Liu, H.; Zhang, W.; Wei, Y.; Dong, J. Research on Three-Dimensional Localization Algorithm for WSN Based on RSSI. In Proceedings of the CSIA 2019, Shenyang, China, 21–22 February 2019. [Google Scholar]
  12. Gou, P.; Li, F.; Jia, X.; Mao, G.; Sun, M. A Three-Dimensional DV-Hop Localization Algorithm Based on RSSI. In Proceedings of the 2018 3rd International Conference on Smart City and Systems Engineering (ICSCSE), Xiamen, China, 29–30 December 2018. [Google Scholar]
  13. Xiong, J.; Qin, Q.; Zeng, K. A Distance Measurement Wireless Localization Correction Algorithm Based on RSSI. In Proceedings of the 2014 Seventh International Symposium on Computational Intelligence and Design, Hangzhou, China, 13–14 December 2014; Volume 2, pp. 276–278. [Google Scholar] [CrossRef]
  14. Li, W.; Zhao, B. Analysis of TDOA Location Algorithm Based on Ultra-Wideband; Springer: Cham, Switzerland, 2020. [Google Scholar]
  15. Yu, K.; Guo, Y.J.; Hedley, M. TOA-based distributed localisation with unknown internal delays and clock frequency offsets in wireless sensor networks. IET Signal Process. 2009, 3, 106–118. [Google Scholar] [CrossRef]
  16. Wang, T.; Cao, Z.; Wang, S.; Wang, J.; Qi, L.; Liu, A.; de Xie, M.; Li, X. Privacy-Enhanced Data Collection Based on Deep Learning for Internet of Vehicles. IEEE Trans. Ind. Inform. 2020, 16, 6663–6672. [Google Scholar] [CrossRef]
  17. Ko, C.B.; Lee, J.H. Performance of ESPRIT and Root-MUSIC for Angle-of-Arrival(AOA) Estimation. In Proceedings of the 2018 IEEE World Symposium on Communication Engineering (WSCE), Singapore, 28–30 December 2018. [Google Scholar]
  18. Wang, T.; Luo, H.; Zeng, X.; Yu, Z.; Liu, A.; Sangaiah, A.K. Mobility Based Trust Evaluation for Heterogeneous Electric Vehicles Network in Smart Cities. IEEE Trans. Intell. Transp. Syst. 2020, 1–10. [Google Scholar] [CrossRef]
  19. Cui, M.; Han, D.; Wang, J. An Efficient and Safe Road Condition Monitoring Authentication Scheme Based on Fog Computing. IEEE Internet Things J. 2019, 6, 9076–9084. [Google Scholar] [CrossRef]
  20. Dong, S.; Zhang, X.G.; Zhou, W.G. A Security Localization Algorithm Based on DV-Hop Against Sybil Attack in Wireless Sensor Networks. J. Electr. Eng. Technol. 2020, 15, 919–926. [Google Scholar] [CrossRef]
  21. Zhao, M.; Qin, D.; Guo, R.; Ma, L. Research on Indoor Localization Based on Joint Coefficient APIT; Springer: Cham, Switzerland, 2019. [Google Scholar]
  22. Zhang, Y.; Zhang, Q. Research on APIT localization algorithm in wireless sensor networks. In Proceedings of the 2018 Chinese Control And Decision Conference (CCDC), Shenyang, China, 9–11 June 2018. [Google Scholar]
  23. Ru, L.; Zhang, L. A Weighted Centroid Localization Algorithm for Wireless Sensor Networks Based on Weight Correction. In Proceedings of the 2017 9th International Conference on Advanced Infocomm Technology (ICAIT), Chengdu, China, 22–24 November 2017; pp. 165–169. [Google Scholar]
  24. Su, X.; Lei, Z. Improved Centroid Algorithm Localization for WSN Based on Particle Swarm Optimization. In Proceedings of the 2011 Fourth International Symposium on Computational Intelligence and Design, Hangzhou, China, 28–30 October 2011; Volume 1, pp. 139–142. [Google Scholar] [CrossRef]
  25. Zhang, M.; Zhu, Z.; Cui, Z. DV-hop localization algorithm with weight-based oriented cuckoo search algorithm. In Proceedings of the 2017 36th Chinese Control Conference (CCC), Dalian, China, 26–28 July 2017. [Google Scholar]
  26. Messous, S.; Liouane, H.; Liouane, N. Improvement of DV-Hop localization algorithm for randomly deployed wireless sensor networks. Telecommun. Syst. Model. Anal. Des. Manag. 2020, 73, 75–86. [Google Scholar] [CrossRef]
  27. Chen, M.; Ding, X.; Wang, X.; Xu, X. A novel three-dimensional localization algorithm based on DV-HOP. In Proceedings of the 2014 IEEE International Conference on Signal Processing, Communications and Computing (ICSPCC), Guilin, China, 5–8 August 2014. [Google Scholar]
  28. Fang, W.; Xu, H.; Yang, G. Improved DV-Hop Algorithm Based on Minimum Hops Correction and Reevaluate Hop Distance. In Proceedings of the 2019 5th International Conference on Information Management (ICIM), Cambridge, UK, 24–27 March 2019. [Google Scholar]
  29. Sun, X.X.; Pan, J.S.; Chu, S.C.; Hu, P.; Tian, A.Q. A novel pigeon-inspired optimization with QUasi-Affine TRansformation evolutionary algorithm for DV-Hop in wireless sensor networks. Int. J. Distrib. Sens. Netw. 2020, 16. [Google Scholar] [CrossRef]
  30. Phoemphon, S.; So-In, C.; Leelathakul, N. Optimized Hop Angle Relativity for DV-Hop Localization in Wireless Sensor Networks. IEEE Access 2018, 6, 78149–78172. [Google Scholar] [CrossRef]
  31. Cai, X.; Wang, P.; Du, L.; Cui, Z.; Zhang, W.; Chen, J. Multi-Objective Three-Dimensional DV-Hop Localization Algorithm with NSGA-II. IEEE Sens. J. 2019, 19, 10003–10015. [Google Scholar] [CrossRef]
  32. Tang, Q.; Wang, J. An Improved DV-Hop Localization Algorithm for Wireless Sensor Network Based on TDOA Quantization. In Proceedings of the 2017 International Conference on Network and Information Systems for Computers (ICNISC), Shanghai, China, 14–16 April 2017. [Google Scholar]
  33. Li, T.; Wang, C.; Na, Q. Research on DV-Hop improved algorithm based on dual communication radius. EURASIP J. Wirel. Commun. Netw. 2020, 2020, 113. [Google Scholar] [CrossRef]
  34. Han, D.; Yu, Y.; Li, K.C.; Mello, R.F.D. Enhancing the Sensor Node Localization Algorithm Based on Improved DV-Hop and DE Algorithms in Wireless Sensor Networks. Sensors 2020, 20, 343. [Google Scholar] [CrossRef] [Green Version]
  35. Liu, S.; Liu, C.; Zhang, W.; Zhao, D. Hybrid localization algorithm based on APIT and DV-HOP in Wireless Sensor Networks. In Proceedings of the 2015 IEEE/CIC International Conference on Communications in China Workshops (CIC/ICCC), Shenzhen, China, 2–4 November 2015. [Google Scholar]
  36. 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]
  37. Wei Chai, Q.; Chu, S.C.; Pan, J.S.; Hu, P.; Zheng, W. A parallel WOA with two communication strategies applied in DV-Hop localization method. EURASIP J. Wirel. Commun. Netw. 2020, 2020, 50. [Google Scholar] [CrossRef]
  38. Cheng, C.; Gao, Z.; Liu, L.X.; Wu, Q. An Improved DV HOP Location Algorithm Based on Composite Particle Swarm Optimization. In Proceedings of the Third International Conference on Cyberspace Technology (CCT 2015), Beijing, China, 17–18 October 2015. [Google Scholar]
  39. Xiao, J.; Zheng, X. Research of three-dimensional localization algorithm based on DV-Hop AC-PSO. In Proceedings of the 26th Chinese Control and Decision Conference (2014 CCDC), Changsha, China, 31 May–2 June 2014; pp. 5380–5384. [Google Scholar] [CrossRef]
  40. Li, X.; Yan, L.; Pan, W.; Luo, B. Secure and Robust DV-Hop Localization Based on the Vector Refinement Feedback Method for Wireless Sensor Networks. Comput. J. 2017, 60, 810–821. [Google Scholar] [CrossRef]
  41. Hu, J.; Xu, A.; Zhao, C.; Pan, Q.; Cheng, L.; Sun, K. Simulation and Research of DV-Hop Algorithm Based on Wireless Sensor Network. In Proceedings of the 2019 IEEE International Conference on Unmanned Systems (ICUS), Beijing, China, 17–19 October 2019; pp. 920–924. [Google Scholar] [CrossRef]
  42. Huang, Y.; Zhang, L. Weighted DV-Hop Localization Algorithm for Wireless Sensor Network based on Differential Evolution Algorithm. In Proceedings of the 2019 IEEE 2nd International Conference on Information and Computer Technologies (ICICT), Kahului, HI, USA, 14–17 March 2019; pp. 14–18. [Google Scholar] [CrossRef]
  43. Qiang, L.; Xia, H.; Yuhang, X.; Dan, Z. Improved DV-Hop Based on Dynamic Parameters Differential Evolution Localization Algorithm. In Proceedings of the 2020 IEEE 8th International Conference on Information, Communication and Networks (ICICN), Xi’an, China, 22–25 October 2020; pp. 129–134. [Google Scholar] [CrossRef]
  44. Han, D.; Pan, N.; Li, K.C. A Traceable and Revocable Ciphertext-policy Attribute-based Encryption Scheme Based on Privacy Protection. IEEE Trans. Dependable Secur. Comput. 2020, 1. [Google Scholar] [CrossRef]
  45. Mezei, I.; Tomic, S. Improvements of DV-Hop localization algorithm for wireless sensor networks. Telecommun. Syst. Model. Anal. Des. Manag. 2016, 61, 93–106. [Google Scholar]
  46. Xu, S.; Wang, X.; Wang, Y.; Wang, J. Iterative Cooperation DV-Hop Localization Algorithm in Wireless Sensor Networks. In Proceedings of the Vehicular Technology Conference, Taipei, Taiwan, 16–19 May 2010. [Google Scholar]
  47. Cao, Y.; Wang, Z. Improved DV Hop Localization Algorithm Based on Dynamic Anchor Node Set for Wireless Sensor Networks. IEEE Access 2019. [Google Scholar] [CrossRef]
  48. Yanfei, J.; Kexin, Z.; Liquan, Z. Improved DV-Hop Location Algorithm Based on Mobile Anchor Node and Modified Hop Count for Wireless Sensor Network. J. Electr. Comput. Eng. 2020, 2020, 9275603. [Google Scholar] [CrossRef]
  49. Zheng, T.; Xu, Y.; Zheng, D. AGV Path Planning based on Improved A-star Algorithm. In Proceedings of the 2019 IEEE 3rd Advanced Information Management, Communicates, Electronic and Automation Control Conference (IMCEC), Chongqing, China, 11–13 October 2019; pp. 1534–1538. [Google Scholar] [CrossRef]
  50. Candra, A.; Budiman, M.A.; Hartanto, K. Dijkstra’s and A-Star in Finding the Shortest Path: A Tutorial. In Proceedings of the 2020 International Conference on Data Science, Artificial Intelligence, and Business Analytics (DATABIA), Medan, Indonesia, 16–17 July 2020; pp. 28–32. [Google Scholar] [CrossRef]
Figure 1. Logic diagram of A* algorithm.
Figure 1. Logic diagram of A* algorithm.
Sensors 21 00448 g001
Figure 2. (a) Node path before optimization. (b) Optimized node path.
Figure 2. (a) Node path before optimization. (b) Optimized node path.
Sensors 21 00448 g002
Figure 3. Diagram of deviation angle of unknown node k.
Figure 3. Diagram of deviation angle of unknown node k.
Sensors 21 00448 g003
Figure 4. Schematic diagram of local optimization of NSGA-II algorithm.
Figure 4. Schematic diagram of local optimization of NSGA-II algorithm.
Sensors 21 00448 g004
Figure 5. Logic diagram of MA*-3DDV-Hop algorithm.
Figure 5. Logic diagram of MA*-3DDV-Hop algorithm.
Sensors 21 00448 g005
Figure 6. Simulation effect of random topology scene.
Figure 6. Simulation effect of random topology scene.
Sensors 21 00448 g006
Figure 7. (a) Simulation effect of unimodal random topology scene. (b) Rendering of node distribution in unimodal random topology scene.
Figure 7. (a) Simulation effect of unimodal random topology scene. (b) Rendering of node distribution in unimodal random topology scene.
Sensors 21 00448 g007
Figure 8. (a) Simulation effect of multi-peak random topology scene. (b) Rendering of node distribution in multi-peak random topology scene.
Figure 8. (a) Simulation effect of multi-peak random topology scene. (b) Rendering of node distribution in multi-peak random topology scene.
Sensors 21 00448 g008
Figure 9. (a) Pareto frontier graph of random topological scene. (b) Pareto frontier graph of unimodal topological scene.(c) Pareto frontier graph of multi-modal topological scene.
Figure 9. (a) Pareto frontier graph of random topological scene. (b) Pareto frontier graph of unimodal topological scene.(c) Pareto frontier graph of multi-modal topological scene.
Sensors 21 00448 g009
Figure 10. (a) The error graph of random topological scene. (b) The error graph of unimodal random topological scene.(c) The error graph of muti-peak random topological scene.
Figure 10. (a) The error graph of random topological scene. (b) The error graph of unimodal random topological scene.(c) The error graph of muti-peak random topological scene.
Sensors 21 00448 g010
Figure 11. (a) The effect of communication radius on ALE in a random topology scene. (b) The effect of communication radius on ALE in unimodal random topology scene.(c) The effect of communication radius on ALE in a multi-peak random topology scene.
Figure 11. (a) The effect of communication radius on ALE in a random topology scene. (b) The effect of communication radius on ALE in unimodal random topology scene.(c) The effect of communication radius on ALE in a multi-peak random topology scene.
Sensors 21 00448 g011
Figure 12. The average average localization error (ALE) of five algorithms in three scenes.
Figure 12. The average average localization error (ALE) of five algorithms in three scenes.
Sensors 21 00448 g012
Figure 13. (a) The effect of the number of nodes on ALE in a random topology scene. (b) The effect of the number of nodes on ALE in unimodal random topology scene.(c) The effect of the number of nodes on ALE in a multi-peak random topology scene.
Figure 13. (a) The effect of the number of nodes on ALE in a random topology scene. (b) The effect of the number of nodes on ALE in unimodal random topology scene.(c) The effect of the number of nodes on ALE in a multi-peak random topology scene.
Sensors 21 00448 g013
Figure 14. The average ALE of five algorithms in three scenes.
Figure 14. The average ALE of five algorithms in three scenes.
Sensors 21 00448 g014
Figure 15. (a) The effect of the number of beacon nodes on ALE in a random topology scene. (b) The effect of the number of beacon nodes on ALE in unimodal random topology scene.(c) The effect of the number of beacon nodes on ALE in a multi-peak random topology scene.
Figure 15. (a) The effect of the number of beacon nodes on ALE in a random topology scene. (b) The effect of the number of beacon nodes on ALE in unimodal random topology scene.(c) The effect of the number of beacon nodes on ALE in a multi-peak random topology scene.
Sensors 21 00448 g015
Figure 16. The average ALE of five algorithms in three scenes.
Figure 16. The average ALE of five algorithms in three scenes.
Sensors 21 00448 g016
Figure 17. (a) Direct view of the influence of three factors of random topology scene. (b) Direct view of the influence of three factors on unimodal random topology scene. (c) Direct view of the influence of three factors on multi-peak random topology scene.
Figure 17. (a) Direct view of the influence of three factors of random topology scene. (b) Direct view of the influence of three factors on unimodal random topology scene. (c) Direct view of the influence of three factors on multi-peak random topology scene.
Sensors 21 00448 g017
Table 1. Parameter table.
Table 1. Parameter table.
ParameterValue
Angle weight of random space, ϖ 1 0.81
Hop weight of random space, ϖ 2 0.19
Angle weight of unimodal topology scene, ϖ 1 0.76
Hop weight of unimodal topology scene, ϖ 2 0.24
Angle weight of multi-peak topology scene, ϖ 1 0.68
Hop weight of multi-peak topology scene, ϖ 2 0.32
Correction factor, λ 0.1 (0.05–1.5)
Angle factor, θ 90 (70–90)
Constraint radius, r10 (5–15)
The number of nodes, M130 (70–130)
The number of beacon nodes, N25 (10–40)
Communication radius, R c 30 (25–50)
The number of iterations, NI100
Stop iterations, SI100
Pareto fraction, PF0.3
Population size, P100
Fitness value deviation, F1e-100
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

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. https://doi.org/10.3390/s21020448

AMA Style

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(2):448. https://doi.org/10.3390/s21020448

Chicago/Turabian Style

Huang, Xiaohu, Dezhi Han, Mingming Cui, Guanghan Lin, and Xinming Yin. 2021. "Three-Dimensional Localization Algorithm Based on Improved A* and DV-Hop Algorithms in Wireless Sensor Network" Sensors 21, no. 2: 448. https://doi.org/10.3390/s21020448

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