A Node Localization Algorithm for Wireless Sensor Networks Based on Virtual Partition and Distance Correction
<p>Wireless sensor network structure diagram.</p> "> Figure 2
<p>Diagram of hop error.</p> "> Figure 3
<p>Diagram of virtual partition algorithm.</p> "> Figure 4
<p>Comparison diagram of the shortest communication distance and actual distance.</p> "> Figure 5
<p>Diagram for distance estimation.</p> "> Figure 6
<p>Diagram of random distribution of nodes.</p> "> Figure 7
<p>Relationship between the number of beacon nodes and the average localization error.</p> "> Figure 8
<p>Relationship between the number of beacon nodes and the operation time of the algorithm.</p> "> Figure 9
<p>Relationship between nodes communication radius and average localization error.</p> "> Figure 10
<p>Relationship between nodes communication radius and algorithm operation time.</p> ">
Abstract
:1. Introduction
1.1. Research Significance
1.2. Research Status
2. VP-DC Localization Algorithm
2.1. Virtual Partition Algorithm
2.2. Distance Estimation Method Based on Optimal Path Search and Distance Correction
2.2.1. Optimal Path Search Algorithm
- Traverse all the combination of beacon node pairs in the WSN, the set composed of nodes on the shortest communication path between each beacon node pair is respectively expressed as: .
- The set composed of nodes on the shortest communication path between and is recorded as .
- Calculate the Ochiai coefficients of and respectively, and find the beacon node pair corresponding to the maximum value of Ochiai. Then take the shortest communication path between this beacon node pair as the beacon path of the shortest communication path between and .
2.2.2. Distance Correction
- Firstly, the distance of one hop between nodes can be obtained according to the virtual partition algorithm. Then, the length of the shortest communication path could be calculated by summing the distance of each hop. Therefore, the length of the shortest communication path between and is:
- The optimal path search algorithm is implemented to find the beacon path of the shortest communication path from to . By calculating the Ochiai coefficient, it is found that the shortest communication path between and is most similar to that between and . Therefore, the shortest communication path between and is the beacon path. According to the virtual partition algorithm, the length of beacon path is:
- If the similarity coefficient between the shortest communication path and the beacon path is , then the formula for the distance from to is:
2.3. Coordinate Calculation of Unknown Nodes
3. Simulation Experiment and Analysis
3.1. Influence of the Number of Beacon Nodes on the Average Localization Error and Algorithm Operation Time
- The influence of the number of beacon nodes on the localization accuracy of each algorithm is shown in Figure 7. Figure 7 shows that due to the accumulation of hop error, the simulation result of DV-Hop algorithm is worse than other localization algorithms. When the distribution of beacon nodes is extremely sparse, the localization error of MGDV-Hop algorithm is very large. This is because the glowworm swarm optimisation algorithm cannot search further when the beacon node coordinates are extremely lacking. In general, the localization results of VP-DC algorithm are least affected by the quantity of beacon nodes, and the localization accuracy is significantly higher than other three algorithms.
- The influence of the number of beacon nodes on the operation time of each localization algorithm is shown in Figure 8. The MGDV-Hop algorithm which based on GSO algorithm needs hundreds of iterations to complete localization [18], so it takes the longest time. The Figure 8 shows that the operation time of DV-Hop algorithm and WND-DV-Hop algorithm is very steady. As the quantity of beacon nodes increases, the traversal process of the optimal path search algorithm takes longer time, so, the operation time of VP-DC algorithm tends to increase slightly. However, VP-DC algorithm has the shortest operation time and the least amount of calculation, so the energy consumption required for localization is also the least.
3.2. Influence of Nodes Communication Radius on Average Localization Error and Algorithm Operation Time
- The influence of the communication radius on the average localization error is shown in Figure 9. In Figure 9, the smaller the communication radius is, the worse the localization effect of DV-Hop algorithm and WND-DV-Hop algorithm. This is because the reduction of the communication radius will increase the number of hops on the shortest communication path, resulting in the accumulation of hop error, and ultimately reduce the localization accuracy [19]. The distance estimation method of MGDV-Hop algorithm and VP-DC algorithm are irrelevant to the number of hops between nodes, so the localization accuracy is not affected by the communication radius. In general, the VP-DC algorithm has higher localization accuracy and better stability than the other three algorithms.
- The influence of nodes communication radius on algorithm operation time is shown in Figure 10. As shown in Figure 10, the operation time of MGDV-Hop is not affected by the communication radius, but it operation time is too long, which will cause large energy consumption. The operation time of DV-Hop algorithm and WND-DV-Hop algorithm decreases with the increase of communication radius, this is because the quantity of hops between nodes decreases with the increase of the communication radius, which reduces the calculation amount in the distance estimation stage. Compared with the other three algorithms, the operation time of VP-DC algorithm is very steady, and the operation time is the shortest.
4. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Thomson, C.; Wadhaj, I. Towards an energy balancing solution for wireless sensor network with mobile sink node. Comput. Commun. 2021, 170, 50–64. [Google Scholar] [CrossRef]
- Deng, Z.; Tang, S. A Novel Location Source Optimization Algorithm for Low Anchor Node Density Wireless Sensor Networks. Sensors 2021, 21, 1890. [Google Scholar] [CrossRef] [PubMed]
- Hao, Z.; Dang, J. A node localization algorithm based on Voronoi diagram and support vector machine for wireless sensor networks. Int. J. Distrib. Sens. Netw. 2021, 17, 1550147721993410. [Google Scholar] [CrossRef]
- Jiang, B. Research on wireless sensor location technology for biologic signal measuring based on intelligent bionic algorithm. Peer Peer Netw. Appl. 2020, 14, 2495–2500. [Google Scholar] [CrossRef]
- Shi, D.; Zhang, X. 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]
- Xue, D. Research of localization algorithm for wireless sensor network based on DV-Hop. EURASIP J. Wirel. Commun. Netw. 2019, 2019, 1–8. [Google Scholar] [CrossRef] [Green Version]
- Shi, Q.; Wu, C.; Zhang, J. Optimization for DV-Hop type of localization scheme in wireless sensor networks. J. Supercomput. 2021, 2021, 1–24. [Google Scholar]
- Shang, Y.; Ruml, W.; Zhang, Y. Localization from connectivity in sensor networks. IEEE Tracsactions Parallel Distrib. Syst. 2004, 15, 961–974. [Google Scholar] [CrossRef] [Green Version]
- Wu, C.; Yang, T. An improved DV-HOP algorithm was applied for the farmland wireless sensor network. J. Inf. Hiding Multimed. Signal Process. 2017, 8, 148–155. [Google Scholar]
- Han, F.; Izzeldin, I. An Enhanced Distance Vector-Hop Algorithm using New Weighted Location Method for Wireless Sensor Networks. Int. J. Adv. Comput. Sci. Appl. (IJACSA) 2020, 11, 0110563. [Google Scholar] [CrossRef]
- Li, J.; Gao, M. A parallel compact cat swarm optimization and its application in DV-Hop node localization for wireless sensor network. Wirel. Netw. 2021, 27, 2081–2101. [Google Scholar] [CrossRef]
- Song, L.; Zhao, L.; Ye, J. A DV-Hop positioning algorithm based on the glowworm swarm optimisation of mixed chaotic strategy. Int. J. Secur. Netw. 2019, 14, 23–33. [Google Scholar] [CrossRef]
- Kim, J.; Lee, D.; Hwang, J. Wireless Sensor Network (WSN) Configuration Method to Increase Node Energy Efficiency through Clustering and Location Information. Symmetry 2021, 13, 390. [Google Scholar] [CrossRef]
- Lee, W.S.; Kim, N.G. Omnidirectional Distance Estimation using ultrasonic in Wireless Sensor Networks. J. Inst. Internet Broadcasting Commun. 2009, 9, 85–91. [Google Scholar]
- Yasuyuki, H.; Tatsuya, K. Bayesian predictive distribution for a Poisson model with a parametric restriction. Commun. Stat.-Theory Methods 2020, 49, 3257–3266. [Google Scholar]
- Kotiyal, V.; Singh, A. ECS-NL: An Enhanced Cuckoo Search Algorithm for Node Localization in Wireless Sensor Networks. Sensors 2021, 21, 3576. [Google Scholar] [CrossRef] [PubMed]
- Zhou, Q.; Leydesdorff, L. The Normalization of Occurrence and Co-Occurrence Matrices in Bibliometrics Using Cosine Similarities and Ochiai Coefficients. J. Assoc. Inf. Sci. Technol. 2016, 67, 2805–2814. [Google Scholar] [CrossRef] [Green Version]
- Houriya, H.; Mohsen, J.; Saeedreza, S. Correction to: Improving lifetime of wireless sensor networks based on nodes’ distribution using Gaussian mixture model in multi-mobile sink approach. Telecommun. Syst. 2021, 77, 255–268. [Google Scholar]
- Qi, N.; Yin, Y. Comprehensive optimized hybrid energy storage system for long-life solar-powered wireless sensor network nodes. Appl. Energy 2021, 290, 116780. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Meng, Y.; Zhi, Q.; Dong, M.; Zhang, W. A Node Localization Algorithm for Wireless Sensor Networks Based on Virtual Partition and Distance Correction. Information 2021, 12, 330. https://doi.org/10.3390/info12080330
Meng Y, Zhi Q, Dong M, Zhang W. A Node Localization Algorithm for Wireless Sensor Networks Based on Virtual Partition and Distance Correction. Information. 2021; 12(8):330. https://doi.org/10.3390/info12080330
Chicago/Turabian StyleMeng, Yinghui, Qianying Zhi, Minghao Dong, and Weiwei Zhang. 2021. "A Node Localization Algorithm for Wireless Sensor Networks Based on Virtual Partition and Distance Correction" Information 12, no. 8: 330. https://doi.org/10.3390/info12080330
APA StyleMeng, Y., Zhi, Q., Dong, M., & Zhang, W. (2021). A Node Localization Algorithm for Wireless Sensor Networks Based on Virtual Partition and Distance Correction. Information, 12(8), 330. https://doi.org/10.3390/info12080330