Improving Performance of Cluster Heads Selection in DEC Protocol Using K-Means Algorithm for WSN
Abstract
:1. Introduction
2. Related Work
3. DEC (Deterministic Energy-Efficient Clustering) Protocol
3.1. DEC Characteristics
3.2. DEC Energy Dissipation and Data Aggregation Model
4. DEC-KM (Deterministic Energy-Efficient Clustering Protocol with K-Means)
- -
- STAGE 1: Calculate the initial cluster areas and cluster heads using DEC protocol.
- -
- STAGE 2: Apply the K-means algorithm for the data calculated in STAGE 1 and make a new clustering. This stage can be divided into three sub-steps:
- -
- Step 1 Centro: Calculate the new centre point of each cluster area in the network from Equation (5):
- -
- Step 2 Node Distance: The distances to the centre points will be calculated for every node, and the node will be assigned to the closest centre point. The metrics used to calculate the distances of the node to the centroids are given by Equation (6):
- -
- Step 3 Stop condition: If there are no changes in clusters or a maximum number of iterations is reached, the clustering is finished; if not, return to Cento and repeat until the stop condition is not fulfilled.
- -
- STAGE 3: CH Selection:
- -
- Step 1: For each CH calculated in Stage 1 using DEC protocol, check if it still belongs to the same cluster area and if its distance to the Base Station (BS) is shorter than the distance of cluster centroid to the BS:
- –
- If Yes: return the CH as a confirmed CH.
- –
- If No: Using the coordinates of centre points and distances, which were calculated in Stage 2, compare node distances to the centroid in the same cluster area and find the node nearest to the centroid. The node with the shortest length to the centroid point will be chosen as a tentative CH of this area.
- -
- Step 2: For each tentative CH, calculate the energy threshold needed to transmit and receive data using the DEC energy model. Check if the CH energy level is over this threshold:
- –
- If Yes: return the new CH as a confirmed CH.
- –
- If No: choose the next tentative CH nearest to the centroid point and return to Step 2. If there are no more nodes in the cluster area, eliminate the cluster with the node energy below the given threshold and assign its nodes to the closest cluster heads.
5. Simulation and Evaluation of DEC and DEC-KM Protocols
5.1. DEC Protocol Implementation
5.2. Simulation and Evaluation of DEC-KM
5.2.1. Algorithm Implementation
5.2.2. Choosing Centroid Points for K-Means
5.2.3. Simulation Results
5.2.4. Comparison of Clusters and Link Distances between CHs for DEC and DEC-KM
5.2.5. Energy Consumption Analysis
5.2.6. Network’s Stability and Lifetime
- -
- FSD—number of rounds until a first sensor node dies—this parameter defines the network’s stability period [17];
- -
- LSD—number of rounds until the last sensor node dies—the period between FSD And LSD defines the network’s instability period [17];
- -
- PSA—number of rounds until 90% of sensor nodes are still alive;
- -
- Chart of the number of alive sensor nodes in a round, i.e., the whole number of sensor nodes whose energy is greater than zero;
- -
- Chart of the number of dead nodes in a round.
6. Discussion
7. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Aderohunmu, F.; Deng, J.; Purvis, M. A Deterministic Energy-Efficient Clustering Protocol for Wireless Sensor Networks. In Proceedings of the Intelligent Sensors, Sensor Networks and Information Processing Conference, Adelaide, Australia, 6–9 December 2011; pp. 341–346. [Google Scholar] [CrossRef]
- Kaur, A.; Saini, S. Simulation of Low Energy Adaptive Clustering Hierarchy Protocol for Wireless Sensor Network. Inter-Natl. J. Adv. Res. Comput. Sci. Softw. Eng. 2013, 3, 1316–1320. [Google Scholar]
- Bhoopathy, V.; Parvathi, R.M.S. Securing Node Capture Attacks for Hierarchical Data Aggregation in Wireless Sensor Networks. Int. J. Eng. Res. Appl. 2012, 2, 466–474. [Google Scholar]
- Ge, Y.; Wang, S.; Ma, J. Optimization on TEEN routing protocol in cognitive wireless sensor network. J. Wirel. Com. Netw. 2018, 2018, 27. [Google Scholar] [CrossRef]
- Maman, A.; Yadi, S.; Fitra Zul, F. A Modified E-LEACH Routing Protocol for Improving the Lifetime of a Wireless Sensor Network. J. Inf. Process. Systems. 2020, 16, 845–858. [Google Scholar]
- Ayoob, M.; Zhen, Q.; Adnan, S.; Gull, B. Research of improvement on LEACH and SEP routing protocols in wireless sensor networks. In Proceedings of the 2016 IEEE International Conference on Control and Robotics Engineering (ICCRE), Singapore, 2–4 April 2016; pp. 1–5. [Google Scholar] [CrossRef]
- Qing, L.; Zhu, Q.; Wang, M. Design of a distributed energy-efficient clustering algorithm for heterogeneous wireless sensor networks. Comput. Commun. 2006, 29, 2230–2237. [Google Scholar] [CrossRef]
- Chaudhary, R.; Vatta, S. Optimizing Performance of Wsn by Enhancing Dec Protocol. Int. J. Comput. Math. Sci. 2014, 3, 24–35, ISSN 2347–8527. [Google Scholar]
- Han, R.; Yang, W.; Wang, Y.; You, Y. DCE: A Distributed Energy-Efficient Clustering Protocol for Wireless Sensor Network Based on Double-Phase Cluster-Head Election. Sensors 2017, 17, 998. [Google Scholar] [CrossRef]
- Heinzelman, W.; Chandrakasan, A.; and Balakrishnan, H. Energy-Efficient Communication Protocols for Wireless Microsensor Networks. In Proceedings of the Hawaiian International Conference on Systems Science, Maui, HI, USA, 7 January 2000. [Google Scholar]
- Manjeshwar, A.; Agrawal, D.P. TEEN: A routing protocol for enhanced efficiency in wireless sensor networks. In Proceedings of the 15th International Parallel and Distributed Processing Symposium, IPDPS 2001, San Francisco, CA, USA, 23–27 April 2001; pp. 2009–2015. [Google Scholar] [CrossRef]
- Juwaied, A.; Jackowska-Strumiłło, L.; Sierszeń, A. Improved clustering algorithm of LEACH Protocol in IoT Network. In Proceedings of the International Interdisciplinary PhD Workshop, Lodz, Poland, 9–11 September 2017; pp. 170–175. [Google Scholar]
- Juwaied, A.; Jackowska-Strumillo, L. Analysis of cluster heads positions in stable election protocol for Wireless Sensor Network. In Proceedings of the International Interdisciplinary PhD Workshop (IIPhDW), Świnouście, Poland, 9–12 May 2018; pp. 367–370. [Google Scholar] [CrossRef]
- Juwaied, A.; Jackowska-Strumiłło, L.; Sierszeń, A. Modified TEEN Protocol in Wireless Sensor Network Using KNN Algorithm. Image Process. Commun. Chall. 2018, 10, 161–168. [Google Scholar]
- Cohen-Addad, V.; Lattanzi, S.; Norouzi-Fard, A.; Sohler, C.; Svensson, O. Fast and Accurate k-means++ via Rejection Sampling. In Proceedings of the 34th Conference on Neural Information Processing Systems (NeurIPS 2020), Vancouver, Canada, 6–12 December 2020. [Google Scholar]
- Kaur, G.; Rani, S.; Kakkar, K. Design of an Improved DEC Protocol for Wireless Sensor Networks. Int. J. Adv. Res. Electr. Electron. Instrum. Eng. 2016, 5, 2433–2440. [Google Scholar] [CrossRef]
- Sharma, D.; Tomar, G.S. Energy Efficient Multitier Random DEC Routing Protocols for WSN: In Agricultural. Wirel. Pers. Commun. 2021, 120, 727–747. [Google Scholar] [CrossRef]
- Koyuncu, H.; Tomar, G.S.; Sharma, D. A New Energy Efficient Multitier Deterministic Energy-Efficient Clustering Routing Protocol for Wireless Sensor Networks. Symmetry 2020, 12, 837. [Google Scholar] [CrossRef]
- Dohare, I.; Singh, K. PSO-DEC: PSO based deterministic energy efficient clustering protocol for IoT. J. Discret. Math. Sci. Cryptogr. 2020, 22, 1463–1475. [Google Scholar] [CrossRef]
- Kaur, P.; Singh, S. DDEC: Distance based deterministic energy efficient clustering protocol for wireless sensor networks. In Proceedings of the 2014 International Conference on Advances in Computing, Communications and Informatics (ICACCI), Delhi, India, 24–27 September 2014; pp. 2168–2173. [Google Scholar] [CrossRef]
- Tarhani, M.; Kavian, Y.S.; Siavoshi, S. Scalable energy efficient clustering hierarchy protocol in wireless sensor networks. IEEE Sens. J. 2014, 14, 3944–3954. [Google Scholar] [CrossRef]
- El Khediri, S.; Fakhet, W.; Moulahi, T.; Khan, R.; Thaljaoui, A.; Kachouri, A. Improved node localization using K-means clustering for Wireless Sensor Networks. Comput. Sci. Rev. 2020, 37, 100284. [Google Scholar] [CrossRef]
- Jong-Yong, L.; Daesung, L. K-means clustering-based WSN protocol for energy efficiency improvement. Int. J. Electr. Comput. Eng. (IJECE) 2021, 11, 2371–2377, ISSN 2088-8708. [Google Scholar] [CrossRef]
- Mahboub, A.; Arioua, M.; En-Naimi, E. Energy-Efficient Hybrid K-Means Algorithm for Clustered Wireless Sensor Networks. Int. J. Electr. Comput. Eng. (IJECE) 2017, 7, 2054–2060, ISSN 2088-8708. [Google Scholar] [CrossRef]
- Kadim, A.; Al-Mukhtar, F.; Hasan, N.; Alnajjar, A.; Altaei, M. K-Means clustering of optimized wireless network sensor using genetic algorithm. Period. Eng. Nat. Sci. 2022, 10, 276–285. [Google Scholar] [CrossRef]
- Angadi, B.; Kakkasageri, M. K-Means and Fuzzy based Hybrid Clustering Algorithm for WSN. Int. J. Electron. Telecommun. 2023, 69, 793–801. [Google Scholar] [CrossRef]
- Mei, W.; Zhengliang, L.; Jing, C.; Qiusha, M.; Tao, L. A Dual Cluster-Head Energy-Efficient Routing Algorithm Based on Canopy Optimization and K-Means for WSN. Sensors 2022, 22, 9731. [Google Scholar] [CrossRef]
- Tran, T.; Nguyen, N.; Hoang, V.; Voznak, M. Sensor Clustering Using a K-Means Algorithm in Combination with Optimized Unmanned Aerial Vehicle Trajectory in Wireless Sensor Networks. Sensors 2023, 23, 2345. [Google Scholar] [CrossRef] [PubMed]
- Habibulla, M.; Sastry, A.S.C. Implementation of C-DEC Protocol along with sectorization concept for wire-less sensor networks. J. Adv. Res. Dyn. Control. Syst. 2017, 9, 223–234. [Google Scholar]
- Nawrocki, W. Wireless Measurement Systems. In Measurement Systems and Sensors, 2nd ed.; Nawrocki, W., Ed.; Artech House Remote Sensing Library: London, UK, 2016; pp. 197–229. [Google Scholar]
- Heinzelman, W.; Chandrakasan, A.; Balakrishnan, H. An application specific protocol architecture for wireless microsensor networks. IEEE Trans. Wirel. Commun. 2002, 1, 660–670. [Google Scholar] [CrossRef]
Parameter | Values | Description |
---|---|---|
x × y | 100 m × 100 m | Area of network, dimensions |
n | 50 | Number of nodes in the network |
Rmax | 5000 | Maximum number of rounds |
Popt | 0.1 | The probability of a node to become CH |
Eelec | 50 nJ/bit | Energy dissipation per bit |
Efs | 10 pJ/bit/m2 | Energy dissipation for free space |
Emp | 0.0013 pJ/bit/m4 | Energy dissipation for multipath delay |
ERx | 50 nJ/bit | Receiving energy of sensor |
ED | 5 nJ/bit/message | Data aggregation energy |
Px | 0.1 | Probability of a node to become cluster head |
L | 4000 bits | Packet size |
Link Distances of Nodes to Cluster Head in Each Cluster Area | |||||
---|---|---|---|---|---|
CH | Sum in DEC (m) | Sum in DEC-KM (m) | AVE in DEC, (m) | AVE in DEC-KM, (m) | DEC-KM DIS. Less DEC, % |
CH1 | New cluster and new CH are obtained after K-means clusterisation | ||||
CH2 | New cluster and new CH are obtained after K-means clusterisation | ||||
CH3 | The cluster and CH have not been changed | ||||
CH4 | New cluster and new CH are obtained after K-means clusterisation | ||||
CH5 | 126.19 | 29.30 | 25.23 | 9.76 | 77% |
CH6 | 106.22 | 22.79 | 17.70 | 7.59 | 80% |
CH7 | 133.64 | 80.32 | 22.27 | 20.08 | 40% |
CH8 | The cluster and CH have not been changed | ||||
CH9 | 104.67 | 33.97 | 17.44 | 8.49 | 69% |
CH10 | 98.30 | 56.73 | 14.04 | 11.34 | 43% |
CH | Node Shortest Distance (m) | Node Longest Distance (m) | ||
---|---|---|---|---|
DEC | DEC-KM | DEC | DEC-KM | |
CH5 | 2.524 | 2.524 | 38.619 | 18.410 |
CH6 | 6.731 | 6.731 | 29.357 | 8.120 |
CH7 | 12.232 | 12.232 | 31.256 | 28.614 |
CH9 | 5.180 | 5.180 | 29.499 | 15.924 |
CH10 | 7.954 | 7.954 | 17.691 | 14.775 |
Protocol | SUM of the Longest Distances (m) | AVE Long Distance (m) |
---|---|---|
DEC-KM | 85.85 | 17.17 |
DEC | 146.42 | 29.28 |
Protocol Sum of CHs’ Distances to Base Station (m) | |
---|---|
DEC-KM | 367.08 |
DEC | 417.88 |
Improvement of DEC-KM to DEC | 50 Nodes | 100 Nodes | 200 Nodes |
---|---|---|---|
Average energy sum per cluster | Less 23% | Less 36.2% | Less 48.4% |
The lowest energy sum in a cluster | Less 2.2% | Less 9% | Less 16.4% |
The average node link distance | Less 31% | Less 44% | Less 51.6% |
Longest node link distance | Less 40% | Less 64% | Less 67.1% |
Protocol | FSD | PSA | LSD |
---|---|---|---|
DEC | 2554 | 2587 | 3200 |
DEC-KM | 3002 | 3011 | 3590 |
Improvement of DEC-KM to DEC | 17.5% | 16.4% | 12.2% |
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. |
© 2024 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
Juwaied, A.; Jackowska-Strumillo, L. Improving Performance of Cluster Heads Selection in DEC Protocol Using K-Means Algorithm for WSN. Sensors 2024, 24, 6303. https://doi.org/10.3390/s24196303
Juwaied A, Jackowska-Strumillo L. Improving Performance of Cluster Heads Selection in DEC Protocol Using K-Means Algorithm for WSN. Sensors. 2024; 24(19):6303. https://doi.org/10.3390/s24196303
Chicago/Turabian StyleJuwaied, Abdulla, and Lidia Jackowska-Strumillo. 2024. "Improving Performance of Cluster Heads Selection in DEC Protocol Using K-Means Algorithm for WSN" Sensors 24, no. 19: 6303. https://doi.org/10.3390/s24196303
APA StyleJuwaied, A., & Jackowska-Strumillo, L. (2024). Improving Performance of Cluster Heads Selection in DEC Protocol Using K-Means Algorithm for WSN. Sensors, 24(19), 6303. https://doi.org/10.3390/s24196303