A Dual Cluster-Head Energy-Efficient Routing Algorithm Based on Canopy Optimization and K-Means for WSN
<p>Network topology of the proposed algorithm.</p> "> Figure 2
<p>The workflow of proposed protocol.</p> "> Figure 3
<p>The first round of clustering results in scenario 1, 2, and 3.</p> "> Figure 4
<p>Comparison number of alive nodes in three scenarios: (<b>a</b>) 100 nodes, (<b>b</b>) 200 nodes, (<b>c</b>) 300 nodes.</p> "> Figure 4 Cont.
<p>Comparison number of alive nodes in three scenarios: (<b>a</b>) 100 nodes, (<b>b</b>) 200 nodes, (<b>c</b>) 300 nodes.</p> "> Figure 5
<p>Comparison lifetime of the network in three scenarios: (<b>a</b>) 100 nodes, (<b>b</b>) 200 nodes, (<b>c</b>) 300 nodes. In x-axles of the figure, numbers 1, 2, 3, 4, 5, and 6 are the experiment IDs of multiple executions of the algorithm. Due to space limitations, we only listed the results of six experiments. Other multiple experiment results are similar and are not listed here.</p> "> Figure 5 Cont.
<p>Comparison lifetime of the network in three scenarios: (<b>a</b>) 100 nodes, (<b>b</b>) 200 nodes, (<b>c</b>) 300 nodes. In x-axles of the figure, numbers 1, 2, 3, 4, 5, and 6 are the experiment IDs of multiple executions of the algorithm. Due to space limitations, we only listed the results of six experiments. Other multiple experiment results are similar and are not listed here.</p> "> Figure 6
<p>Comparison residual energy of the network in three scenarios: (<b>a</b>) 100 nodes, (<b>b</b>) 200 nodes, (<b>c</b>) 300 nodes.</p> "> Figure 6 Cont.
<p>Comparison residual energy of the network in three scenarios: (<b>a</b>) 100 nodes, (<b>b</b>) 200 nodes, (<b>c</b>) 300 nodes.</p> "> Figure 7
<p>Comparison throughput of the network in three scenarios: (<b>a</b>) 100 nodes, (<b>b</b>) 200 nodes, (<b>c</b>) 300 nodes.</p> "> Figure 7 Cont.
<p>Comparison throughput of the network in three scenarios: (<b>a</b>) 100 nodes, (<b>b</b>) 200 nodes, (<b>c</b>) 300 nodes.</p> "> Figure 8
<p>A 100 m × 100 m heterogeneous network with 300 nodes randomly deployed. “+” denotes a node with initial energy of 0.2 J, “red star” denotes a node with initial energy of 0.1 J.</p> "> Figure 9
<p>Comparison FND, HND, LND of DCK-LEACH and four other algorithms.</p> "> Figure 10
<p>Comparison residual energy of the network.</p> "> Figure 11
<p>Number of packets (bits) received by the base station during the network is operational.</p> ">
Abstract
:1. Introduction
- (1)
- The DCK-LEACH algorithm is a concentration strategy to construct clusters in the network, by using a mixture of Canopy optimization and the K-means algorithm. It avoids the problem of specifying the value of K. Compared with using one of them, DCK-LEACH combines these two algorithms and is faster in terms of clustering speed, and its accuracy is higher. It also distributes the energy more evenly between clusters.
- (2)
- DCK-LEACH uses a hierarchical structure consisting of a primary CH and a vice CH in each cluster to reduce the communication load on cluster-heads. Dual cluster-heads together share the workload a single cluster-head would previously have taken on; this makes the energy balanced within the cluster and reduces the communication load of the cluster-head.
- (3)
- A cluster-head selection algorithm based on the fitness function is proposed, which dynamically self-adjusts the weight coefficients of the fitness function according to the change of residual energy in the network. Here, (1) since the primary cluster-head is responsible for communicating with nodes in the cluster, it is better to place the primary cluster-heads in the center of the cluster, and for them to have a higher residual energy. As a result, the energy consumed by the primary CH is uniform and its survival time is extended in the network. (2) The vice CH is responsible for forwarding data to the base station, and is best placed close to the base station so that it consumes less energy.
- (4)
- We propose a concept of cluster-head selection, which is similar to the LEACH algorithm, to control the frequency of re-clustering operation and thus avoid energy waste, because not all operations of clustering and cluster-heads replacement need to be performed in every round. In each round, when the base station performs clustering and cluster-heads selection operations, all nodes must send their own information (i.e., location and remaining energy) to the base station, which will consume a lot of energy.
- (5)
- Using simulation software, the proposed DCK-LEACH algorithm is compared with four conventional algorithms such as LEACH, RCH-LEACH, IEECHS-WSN, and K-LEACH.
2. Related Works
3. System Model of DCK-LEACH
3.1. Network Model
- (1)
- The sensor nodes are randomly distributed in a two-dimensional plane, and they are static, thus will not move once they are deployed.
- (2)
- In the monitoring range, all sensor nodes are homogeneous, which have the same initial energy, data processing, and communication capabilities.
- (3)
- Sensor nodes have the ability to access to their own location in the network, their own residual energy, and the ability to bring cluster-heads to fuse redundant data.
- (4)
- The base station has an unlimited power supply and computing power, and each node can communicate directly with this base station.
3.2. Energy Consumption Model
4. Methods
4.1. Cluster Establishment Phase
4.1.1. Coarsely Clustering All Nodes to Obtain K Initial Clustering Centers
4.1.2. Clustering the Network
4.2. Cluster-Head Election Phase
4.2.1. Elect the Primary Cluster-Heads in DCK-LEACH
Algorithm 1: The primary cluster-heads election |
Input: all member nodes in K clusters Output: the primary cluster-heads in the set C1 ----------------------------------------------------------------------------------------------------------------- (1) For each cluster (2) For member nodes within the same cluster (3) Calculate the residual energy objective function , and the distance function for each node i (4) If the sum of energy of all nodes is greater than half of the initial energy of the network (0.5 * n) (5) Calculate the value of the node adaptation function according to = 1/2 + ½ * (6) Else (7) Calculate the value of the node adaptation function according to = + (1 −) * (8) Find the node with the largest fitness function value and save this node information in the set C1 (9) End |
4.2.2. Elect the Vice Cluster-Heads in DCK-LEACH
Algorithm 2: The vice cluster-head election |
Input: all member nodes and their primary cluster-heads within K clusters Output: all vice cluster-heads in the set C2 ----------------------------------------------------------------------------------------------------------------- (1) For each cluster (2) For member nodes in the same cluster except the primary cluster-head (3) Calculate the residual energy objective function and the distance function of each node, respectively (4) If the sum of residual energy of all nodes is greater than half of the initial energy of the network (0.5 * n) (5) Calculate the node adaptation function value according to = 1/2 + ½ * (6) Else (7) Calculate the node adaptation function value according to = + (1 − )/2 * (8) Find the node with the largest fitness function value and save this node in formation in the set C2 (9) End |
4.3. Stable Operation Phase
Algorithm 3: DCK-LEACH algorithm |
(1) Initializing network parameters (2) For each round (3) If it is the first round (r = 1) (4) Run Canopy optimized K-means algorithm to get each cluster (5) For each cluster (6) Select the primary cluster-head (7) Select the vice cluster-head (8) Broadcast the formed cluster information to all nodes via the base station (9) For nodes in the network { (10) Nodes send data to their primary cluster-heads in that cluster (11) The primary cluster-head fuses data and then sends the data to the vice cluster-head. (12) The vice cluster-head forwards the data to the base station} (13) Else (14) If r mod (1/p) == 0 (15) All nodes send their positions and residual energy to the base station. (16) Run again (4) to (12). (17) Else (18) The network runs without re-clustering (19) All nodes are dead. (20) End |
4.4. Space and Time Complexity Analysis
5. Results
5.1. Clustering Effect
5.2. Network Lifetime
- (1)
- FND, the number of rounds in which the network starts running until the first node dies;
- (2)
- HND, the number of rounds in which the network starts running until half of the nodes die;
- (3)
- LND, the number of rounds in which all nodes die in the network.
5.3. Energy Consumption
5.4. Throughput
5.5. Scalability in Node Density
5.6. Heterogeneous Network Scenarios
- (a)
- 20% of all nodes are normal nodes, where the initial energy of nodes is set at 0.1 J;
- (b)
- 80% of all nodes are advanced nodes, where the initial energy of nodes is set at 0.2 J.
6. Discussion
7. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Gherbi, C.; Aliouat, Z.; Benmohammed, M. A survey on clustering routing protocols in wireless sensor networks. Sens. Rev. 2017, 37, 12–25. [Google Scholar] [CrossRef]
- Lata, S.; Mehfuz, S.; Urooj, S.; Alrowais, F. Fuzzy clustering algorithm for enhancing reliability and network lifetime of wireless sensor networks. IEEE Access 2020, 8, 66013–66024. [Google Scholar] [CrossRef]
- Lin, D.; Gao, L.; Min, W. A social welfare theory-based energy-efficient cluster-head election scheme for WSNs. IEEE Syst. J. 2021, 15, 4492–4502. [Google Scholar] [CrossRef]
- Baz, A.A.; Sayed, A.E. A new algorithm for cluster-head selection in LEACH protocol for wireless sensor networks. Int. J. Commun. Syst. 2018, 31, e3407. [Google Scholar] [CrossRef]
- Wu, D.; Geng, S.; Cai, X.; Zhang, G.; Xue, F. A many-objective optimization WSN energy balance model. KSII Trans. Internet Inf. Syst. 2020, 14, 514–537. [Google Scholar]
- Heinzelman, W.R.; Chandrakasan, A.; Balakrishnan, H. Energy-efficient communication protocol for wireless microsensor networks. In Proceedings of the 33rd Annual Hawaii International Conference on System Sciences, Maui, HI, USA, 7 January 2000; p. 2. [Google Scholar]
- Suman, J.; Shyamala, K.; Roja, G. Improving network lifetime in WSN’s based on maximum residual energy. In Proceedings of the 2021 2nd International Conference for Emerging Technology (INCET), Belgaum, India, 21–23 May 2021; pp. 1–5. [Google Scholar]
- Daanoune, I.; Baghdad, A.; Balllouk, A. BRE-LEACH: A new approach to extend the lifetime of wireless sensor network. In Proceedings of the 2019 Third International Conference on Intelligent Computing in Data Sciences (ICDS), Marrakech, Morocco, 28–30 October 2019; pp. 1–6. [Google Scholar]
- Park, S.; Lee, J.; Lee, D. Enhanced KOCED routing protocol with k-means algorithm. Comput. Mater. Contin. 2021, 67, 4019–4037. [Google Scholar] [CrossRef]
- Min, Z.; Fei, D.K. Improved research to K-means initial cluster centers. In Proceedings of the Ninth International Conference on Frontier of Computer Science and Technology, Dalian, China, 26–28 August 2015; pp. 349–353. [Google Scholar]
- He, W. Energy saving algorithm and simulation of wireless sensor networks based on clustering routing protocol. IEEE Access 2019, 7, 172505–172514. [Google Scholar] [CrossRef]
- Xie, P.; Mao, M.; Jin, X.; Chen, D.; Guo, M. Study of canopy and K-means clustering algorithm based on mahout for E-commerce product quality analysis. In Proceedings of the International Conference on Intelligent Computing, Automation and Applications (ICAA), Nanjing, China, 25–27 June 2021; pp. 484–488. [Google Scholar]
- Pitchaimanickam, B.; Murugaboopathi, G. A hybrid firefly algorithm with particle swarm optimization for energy efficient optimal cluster-head selection in wireless sensor networks. Neural Comput. Appl. 2020, 32, 7709–7723. [Google Scholar] [CrossRef]
- Singh, K. WSN LEACH based protocols: A structural analysis. In Proceedings of the International Conference and Workshop on Computing and Communication (IEMCON), Vancouver, BC, Canada, 15–17 October 2015; pp. 1–7. [Google Scholar]
- Razaque, A.; Mudigulam, S.; Gavini, K.; Amsaad, F.; Abdulgader, M.; Krishna, G.S. H-LEACH: Hybrid-low energy adaptive clustering hierarchy for wireless sensor networks. In Proceedings of the IEEE Long Island Systems, Applications and Technology Conference (LISAT), Farmingdale, NY, USA, 29–29 April 2016; pp. 1–4. [Google Scholar]
- Panchal, A.; Singh, R.K. RCH-LEACH: Residual energy based cluster-head selection in LEACH for wireless sensor networks. In Proceedings of the International Conference on Electrical and Electronics Engineering (ICE3), Gorakhpur, India, 14–15 February 2020; pp. 322–325. [Google Scholar]
- Pankaj, C.; Sharma, G.N.; Singh, K.R. Improved energy lifetime of integrated LEACH protocol for wireless sensor network. In Proceedings of the 2021 International Conference on Disruptive Technologies for Multi-Disciplinary Research and Applications (CENTCON), Bengaluru, India, 19–21 November 2021; pp. 265–269. [Google Scholar]
- Wang, X.; Wu, H.; Miao, Y.; Zhu, H. A hybrid routing protocol based on naïve bayes and improved particle swarm optimization algorithms. Electronics 2022, 11, 869. [Google Scholar] [CrossRef]
- Kumar, N.; Sandeep; Bhutani, P.; Mishra, P. U-LEACH: A novel routing protocol for heterogeneous Wireless Sensor Networks. In Proceedings of the International Conference on Communication, Information & Computing Technology (ICCICT), Mumbai, India, 19–20 October 2012; pp. 1–4. [Google Scholar]
- Mei, W.; Ning, C.; Hui, W.H.; Lina, X.; Fu, L.G. A hybrid optimisation algorithm based on GA algorithm and ACO algorithm improvements for routing selection in heterogeneous sensor networks. Int. J. Embed. Syst. 2020, 12, 177–185. [Google Scholar]
- Huang, J. A double cluster-head based wireless sensor network routing algorithm. In Proceedings of the 8th IEEE International Conference on Software Engineering and Service Science (ICSESS), Beijing, China, 24–26 November 2017; pp. 846–850. [Google Scholar]
- Jesudurai, S.A.; Senthilkumar, A. An improved energy efficient cluster-head selection protocol using the double cluster-heads and data fusion methods for IoT applications. Cogn. Syst. Res. 2019, 57, 101–106. [Google Scholar] [CrossRef]
- Bakaraniya, P.; Mehta, S. K-LEACH: An improved LEACH protocol for lifetime improvement in WSN. Int. J. Eng. Trends Technol. 2013, 4, 1521–1526. [Google Scholar]
- Sathyamoorthy, M.; Kuppusamy, S.; Dhanaraj, R.K.; Ravi, V. Improved K-Means based Q Learning algorithm for optimal clustering and node balancing in WSN. Wireless Pers. Commun. 2022, 122, 2745–2766. [Google Scholar] [CrossRef]
- Panchal, A.; Singh, R.K. EADCR: Energy aware distance based cluster-head selection and routing protocol for wireless sensor networks. J. Circuits Syst. Comput. (World Sci.) 2021, 30, 2150063. [Google Scholar] [CrossRef]
- Panchal, A.; Singh, R.K. EEHCHR: Energy efficient hybrid clustering and hierarchical routing for wireless sensor networks. Ad Hoc Netw. 2021, 123, 1–9. [Google Scholar] [CrossRef]
- Gul, O.M.; Erkmen, A.M.; Kantarci, B. UAV-Driven sustainable and Quality-Aware data collection in robotic wireless sensor networks. IEEE Internet Things J. 2022, 9, 25150–25164. [Google Scholar] [CrossRef]
- Gul, O.M.; Erkmen, A.M. Energy-Efficient cluster-based data collection by a UAV with a limited-capacity battery in robotic wireless sensor networks. Sensors 2020, 20, 5865. [Google Scholar] [CrossRef]
- Gamal, M.; Mekky, N.E.; Soliman, H.H.; Hikal, N.A. Enhancing the lifetime of wireless sensor networks using fuzzy logic LEACH technique-based particle swarm optimization. IEEE Access 2022, 10, 36935–36948. [Google Scholar] [CrossRef]
- Arya, G.; Bagwari, A.; Chauhan, D.S. Performance analysis of deep learning-based routing protocol for an efficient data transmission in 5G WSN Communication. IEEE Access 2022, 10, 9340–9356. [Google Scholar] [CrossRef]
- Luo, Q.; Yang, K.; Yan, X.; Li, J.; Wang, C.; Zhou, Z. An improved trilateration positioning algorithm with anchor node combination and K-Means clustering. Sensors 2022, 22, 6085. [Google Scholar] [CrossRef]
- Qin, J.; Fu, W.; Gao, H.; Zheng, W.X. Distributed K-Means algorithm and fuzzy C-Means algorithm for sensor networks based on multiagent consensus theory. IEEE Trans. Cybern. 2017, 47, 772–783. [Google Scholar] [CrossRef] [PubMed]
- Liu, Y.; Wu, Q.; Zhao, T.; Tie, Y.; Bai, F.; Jin, M. An improved energy-efficient routing protocol for wireless sensor networks. Sensors 2019, 19, 4579. [Google Scholar] [CrossRef] [PubMed] [Green Version]
- Zhang, Y.; Sun, H.; Yu, J. Clustered routing protocol based on improved K-means algorithm for underwater wireless sensor networks. In Proceedings of the IEEE International Conference on Cyber Technology in Automation, Control, and Intelligent Systems (CYBER), Shenyang, China, 8–12 June 2015; pp. 1304–1309. [Google Scholar]
- Benmahdi, M.B.; Lehsaini, M. A GA-based multihop routing scheme using K-Means clustering approach for wireless sensor networks. In Proceedings of the 2020 Second International Conference on Embedded & Distributed Systems (EDiS), Oran, Algeria, 3 November 2020; pp. 155–160. [Google Scholar]
- Sheta, A.F.; Solaiman, B. Evolving clustering algorithms for wireless sensor networks with various radiation patterns to reduce energy consumption. In Proceedings of the Science and Information Conference (SAI), London, UK, 28–30 July 2015; pp. 1037–1045. [Google Scholar]
- Biazi, A.; Marcon, C.; Shubeita, F.; Poehls, L.; Webber, T.; Vargas, F. A dynamic TDMA-based sleep scheduling to minimize WSN energy consumption. In Proceedings of the IEEE 13th International Conference on Networking, Sensing, and Control (ICNSC), Mexico City, Mexico, 28–30 April 2016; pp. 1–6. [Google Scholar]
- Kuo, Y.W.; Huang, J.H. A CSMA-based MAC protocol for WLANs with automatic synchronization capability to provide hard quality of service guarantees. Comput. Netw. 2015, 46, 1014–1021. [Google Scholar] [CrossRef]
- Thangaramya, K.; Kulothungan, K.; Gandhi, S.I.; Selvi, M.; Kumar, S.V.N.S.; Arputharaj, K. Intelligent fuzzy rule-based approach with outlier detection for secured routing in WSN. Soft Comput. 2020, 24, 16483–16497. [Google Scholar] [CrossRef]
- Lin, D.; Wang, Q. An energy-efficient clustering algorithm combined game theory and dual-cluster-head mechanism for WSNs. IEEE Access 2019, 7, 49894–49905. [Google Scholar] [CrossRef]
- Pattnaik, S.; Sahu, P.K. Assimilation of fuzzy clustering approach and EHO-Greedy algorithm for efficient routing in WSN. Int. J. Commun. Syst. 2020, 33, e4354. [Google Scholar] [CrossRef]
Node ID | p-Value | ||
---|---|---|---|
1 | 0.9836 | 0.8627 | 0.9132 |
2 | 1.0341 | 0.8168 | 0.9255 |
3 | 0.9807 | 0.7026 | 0.8417 |
4 | 0.8169 | 0.9837 | 0.9003 |
5 | 0.7026 | 1.0341 | 0.8684 |
6 | 1.3911 | 1.0356 | 1.2134 |
7 | 0.8141 | 0.9807 | 0.8974 |
8 | 0.7544 | 1.0400 | 0.8676 |
9 | 1.0504 | 0.8867 | 0.9686 |
Parameter | Value |
---|---|
Simulation Environment | Pychar2022.2 |
System Properties | Intel Core i5 CPU and 16 GB of RAM |
Area | 100 m 100 m |
Number of nodes | 100, 200, 300 |
Base station’s coordinates | (50, 150) |
Data packet size | 4000 bit |
Broadcast packet size | 100 bit |
Node’s initial energy | 0.2 J |
Scenario | Number of Nodes | Methods | FND | HND | LND |
---|---|---|---|---|---|
1 | 100 | LEACH | 55 | 221 | 534 |
K-LEACH | 43 | 365 | 680 | ||
IEECHS-WSN | 62 | 320 | 766 | ||
RCH-LEACH | 57 | 225 | 544 | ||
DCK-LEACH | 254 | 485 | 904 | ||
2 | 200 | LEACH | 51 | 212 | 524 |
K-LEACH | 33 | 398 | 581 | ||
IEECHS-WSN | 61 | 340 | 810 | ||
RCH-LEACH | 58 | 227 | 534 | ||
DCK-LEACH | 248 | 654 | 1041 | ||
3 | 300 | LEACH | 56 | 221 | 536 |
K-LEACH | 36 | 396 | 623 | ||
IEECHS-WSN | 60 | 322 | 799 | ||
RCH-LEACH | 61 | 227 | 538 | ||
DCK-LEACH | 238 | 667 | 1058 |
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2022 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
Wu, M.; Li, Z.; Chen, J.; Min, Q.; Lu, T. A Dual Cluster-Head Energy-Efficient Routing Algorithm Based on Canopy Optimization and K-Means for WSN. Sensors 2022, 22, 9731. https://doi.org/10.3390/s22249731
Wu M, Li Z, Chen J, Min Q, Lu T. A Dual Cluster-Head Energy-Efficient Routing Algorithm Based on Canopy Optimization and K-Means for WSN. Sensors. 2022; 22(24):9731. https://doi.org/10.3390/s22249731
Chicago/Turabian StyleWu, Mei, Zhengliang Li, Jing Chen, Qiusha Min, and Tao Lu. 2022. "A Dual Cluster-Head Energy-Efficient Routing Algorithm Based on Canopy Optimization and K-Means for WSN" Sensors 22, no. 24: 9731. https://doi.org/10.3390/s22249731