Submitted:
01 November 2025
Posted:
03 November 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
- A novel clustering protocol, PUMA-GRID, designed to optimize energy consumption and extend network lifetime.
- Exploiting the adaptive balance between exploration and exploitation: exploration identifies diverse CH candidates, while exploitation refines them into energy-efficient selections. The dynamic switching between these phases prevents premature convergence, improves robustness, and ensures high-quality clustering solutions.
- CH selection is guided by a fitness function based on three parameters: residual energy of candidate CHs, distance to the BS, and distance from each node to its CH.
- Several experiments were conducted by varying the weight values of the fitness function to evaluate their impacts under three different BS placements.
- Performance was assessed using multiple metrics, including residual energy, number of packets sent to the BS, First Node Death (FND), Half Node Death (HND), Last Node Death (LND), energy consumption per round, and the coverage fairness index (measuring the impact of node deaths on coverage).
- The proposed protocol was compared against AEO, LEACH, PUMA-SH, and grid-enhanced versions such as AEO-GRID.
2. Related Work
3. Preliminaries: Puma Optimizer
3.1. Unexperienced Phase
3.2. Experienced Phase
3.3. Exploration Phase
3.4. Exploitation Phase
3.5. Parameter Definitions
- : Exploration Function, which governs roaming behavior:where are random numbers, and is the elite solution.
- : Exploitation Function, which models local pursuit around promising solutions:where are random numbers, and are random solutions.
- (Adaptive Balancing Term): A time-varying coefficient that gradually decreases exploration strength while increasing exploitation with iterations.
- and : Reinforcement counters that track the relative success of each phase. If exploration produces improvements, is incremented; otherwise, exploitation is rewarded. Phase selection is determined by comparing the two scores.
- : Population size.
- : Lower and upper bounds of the search space.
- : Maximum number of iterations.
3.6. PO Pseudocodes
|
Algorithm 1: Puma Optimizer (PO)Input: Population size , maximum iterations , parameter settings Output: Best solution and fitness value |
| 1: Initialize a population of pumas within 3: Evaluate fitness of all pumas 3: Identify the best solution 4: 5: // Unexperienced Phase 6: For to do 7: Apply Exploration Phase 8: Apply Exploitation Phase 9: End For 10: 11: // Experienced Phase 12: For to do 13: If > 14: Apply Exploration Phase 15: If new solution improves 16: Update 17: End If 18: Else 19: Apply Exploitation Phase 20: If new solution improves 21: Update 22: End If 23: Update control parameters 24: Recompute and 25: End For 26: Return |
|
Algorithm 2: Exploration Phase Input: Population , best solution Output: Updated solutions |
|
1: For each puma to do 2: Generate random 3: 4: If is out of bounds 5: Reinitialize within 6: End If 7: 8: Evaluate fitness of 9: If fitness() better than fitness() 10: 11: Else 12: 13: End If 14: End For |
|
Algorithm 3: Exploitation Phase Input: Population , best solution Output: Updated solutions |
|
1: For each puma to do 2: Select two random distinct pumas 3: 4: If is out of bounds 5: Reinitialize within 6: End If 7: 8: Evaluate fitness of 9: If fitness() better than fitness() 10: 11: Else 12: 13: End If 14: End For 15: Update if any is better |
4. The PUMA-GRID Protocol: Clustering with Grid-Based Multi-hop Routing
4.1. Initialization
4.2. PUMA-Based Clustering and Fitness Evaluation
- is the Euclidean distance between node and its associated CH .
- is the Euclidean distance between CH and the base station.
- is the residual energy of CH .
- is the number of CHs in the current solution.
- is the desired number of CHs.
| Algorithm 4: Binary Puma Optimization Algorithm for WSN Clustering |
| 1: Input: Number of sensors ; sensor positions ; residual energy; base station position ; maximum iterations ; weighted coefficients , , and 2: Output: Optimal binary vector of cluster heads (CHs); best fitness value 3: Initialize a population of pumas as binary vectors ( for CH, 0 for normal node) 4: Evaluate the fitness of each puma using a weighted combination of residual energy, distance to cluster center, and distance to base station (Equation 2) 5: Identify the best local solution as the leader 6: For each iteration to do 7: For each puma do 8: Apply exploration phase: roaming and searching for locally optimal CH positions 9: Apply exploitation phase: refining CH selection using ambush/attack strategies 10: Ensure updated positions remain binary (1 or 0) 11: End For 12: Evaluate fitness of all pumas 13: Update the leader (best solution so far) 14: End For 15: For each iteration to do 16: For each puma do 17: Update positions using exploration and exploitation with adaptive coefficients 18: Ensure updated positions remain binary (1 or 0) 19: End For 20: Evaluate fitness of all pumas 21: Update the leader (best solution so far) 22: End For 23: Return the leader as the optimal CH selection vector and its fitness value |
4.3. Grid-Based Multi-Hop Routing via A*-Inspired Logic
| Algorithm 5: Grid-Based Cluster Head Routing |
|
1: Input: Set of , , grid structure 2: Output: Optimal multi-hop routing paths for data forwarding 3: For each clusterhead do 4: If and are in the same grid 5: Send data directly to 6: Else If BS is in a directly adjacent grid 7: Send data directly to 8: Else 9: Search adjacent grid(s) in the direction of the 10: If one or more exist in adjacent grids 11: Select , where belongs to adjacent grids 12: Forward data to 13: Else 14: Extend search to next-level adjacent grids 15: If is found 16: Send data directly to 17: Else If one or more exist 18: Select , where belongs to adjacent grids 19: Forward data to 20: End If 21: End If 22: End If 23: End For 24: Return final routing paths for all |
4.4. Adaptive Operation and Steady-State Execution
4.5. Complexity Analysis of PUMA-GRID
5. Simulation Setup, Results, and Discussion
5.1. Choosing the Optimal Weights for the Fitness Function
- 1)
- Located at the center of the sensor field,
- 2)
- Situated outside the network boundary.
- 1)
- the rounds when the first, half, and last nodes die, used to estimate network lifetime and stability;
- 2)
- Live Nodes per Round — tracking the network’s vitality throughout the simulation;
- 3)
- Number of Packets Sent to the BS— reflecting data delivery capability;
- 4)
- Coverage Fairness Index (CFI) — defined aswhich measures the fraction of grid cells containing at least one live node, where indicates perfect spatial fairness and values near reflect poor distribution; and
- 5)
- Residual Energy per Round — quantifying the energy dissipated by the entire network in each round.
5.2. Impact of Weight Combinations on Different Metrics (BS Inside the Network)
5.3. Impact of Weight Combinations on Different Metrics (BS Outside the Network)
5.4. Discussion
5.5. Comparison of Different Routing Protocols
5.6. General Discussion
5.7. Limitations
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| ABC | Artificial Bee Colony |
| ACO | Ant Colony Optimization |
| AEO | Atomic Energy Optimization |
| AEO-GRID | AEO with Grid based Routing |
| AEO-SH | AEO Single Hop |
| AEOWSNC | Atomic Energy Optimization for Wireless Sensor Network Clustering |
| AVOACS | African Vulture Optimization Algorithm based Clustering Scheme |
| BDA | Binary Dragonfly Algorithm |
| BS | Base Station |
| CFI | Coverage Fairness Index |
| CH | Cluster Head |
| CMD | Communication Mode Decider |
| DBSCAN | Density-Based Spatial Clustering of Applications with Noise |
| EEM-LEACH-ABC | Energy Efficient Multi hop LEACH with Artificial Bee Colony |
| FND | First Node Dead |
| GA | Genetic Algorithm |
| GPS | Global Positioning System |
| GWO | Grey Wolf Optimizer |
| HND | Half Node Dead |
| KPSOFL | K-means + Particle Swarm Optimization + Fuzzy Logic |
| LEACH | Low Energy Adaptive Clustering Hierarchy |
| LND | Last Node Dead |
| NOMA | Non-Orthogonal Multiple-Access |
| PO | Puma Optimizer |
| PSO | Particle Swarm Optimization |
| PUMA-GRID | Puma Optimizer with Grid based Routing |
| PUMA-SH | Puma Optimizer Single Hop |
| RSSI | Received Signal Strength Indication |
| SHO-CH | Spotted Hyena Optimizer for Cluster Head selection |
| TDMA | Time Division Multiple Access |
| TDoA | Time Difference of Arrival |
| ToA | Time of Arrival |
| WSN | Wireless Sensor Network |
References
- Almuntasheri, Sumayah, and Mohammed JF Alenazi. "Software-defined network-based energy-aware routing method for wireless sensor networks in industry 4.0." Applied Sciences 12, no. 19 (2022): 10073.
- Sarkar, Nurul I., and Sonia Gul. "Deploying wireless sensor networks in multi-story buildings toward internet of things-based intelligent environments: an empirical study." Sensors 24, no. 11 (2024): 3415.
- Jubair, Ahmed Mahdi, Rosilah Hassan, Azana Hafizah Mohd Aman, Hasimi Sallehudin, Zeyad Ghaleb Al-Mekhlafi, Badiea Abdulkarem Mohammed, and Mohammad Salih Alsaffar. "Optimization of clustering in wireless sensor networks: techniques and protocols." Applied Sciences 11, no. 23 (2021): 11448.
- Baranidharan, B., and B. J. A. S. C. Santhi. "DUCF: Distributed load balancing unequal clustering in wireless sensor networks using fuzzy approach." Applied Soft Computing 40 (2016): 495-506.
- Jafari, Hasan, Mousa Nazari, and Shahaboddin Shamshirband. "Optimization of energy consumption in wireless sensor networks using density-based clustering algorithm." International Journal of Computers and Applications 43, no. 1 (2021): 1-10.
- Kenyeres, Martin, Jozef Kenyeres, and Sepideh Hassankhani Dolatabadi. "Distributed consensus gossip-based data fusion for suppressing incorrect sensor readings in wireless sensor networks." Journal of Low Power Electronics and Applications 15, no. 1 (2025): 6.
- Ismail, Shereen, Zakaria El Mrabet, and Hassan Reza. "An ensemble-based machine learning approach for cyber-attacks detection in wireless sensor networks." Applied Sciences 13, no. 1 (2022): 30.
- Yousif, Zahid, Intesab Hussain, Soufiene Djahel, and Yassine Hadjadj-Aoul. "A novel energy-efficient clustering algorithm for more sustainable wireless sensor networks enabled smart cities applications." Journal of sensor and actuator networks 10, no. 3 (2021): 50.
- Noh, Kyeong Mi, Jong Hyuk Park, and Ji Su Park. "Data transmission direction based routing algorithm for improving network performance of IoT systems." Applied Sciences 10, no. 11 (2020): 3784.
- Lorincz, Josip, Antonio Capone, and Jinsong Wu. "Greener, energy-efficient and sustainable networks: State-of-the-art and new trends." Sensors 19, no. 22 (2019): 4864.
- Zagrouba, Rachid, and Amine Kardi. "Comparative study of energy efficient routing techniques in wireless sensor networks." Information 12, no. 1 (2021): 42.
- Alfawaz, Oruba, Ahmed M. Khedr, Bader Alwasel, and Walid Osamy. "Reliability evaluation for chain routing protocols in wireless sensor networks using reliability block diagram." Journal of Sensor and Actuator Networks 12, no. 2 (2023): 34.
- Osamy, Walid, Ahmed M. Khedr, Ahmed Aziz, and Ahmed A. El-Sawy. "Cluster-tree routing based entropy scheme for data gathering in wireless sensor networks." IEEE Access 6 (2018): 77372-77387.
- Heinzelman, Wendi B., Anantha P. Chandrakasan, and Hari Balakrishnan. "An application-specific protocol architecture for wireless microsensor networks." IEEE Transactions on wireless communications 1, no. 4 (2002): 660-670.
- Sabor, Nabil, Mohammed Abo-Zahhad, Shigenobu Sasaki, and Sabah M. Ahmed. "An unequal multi-hop balanced immune clustering protocol for wireless sensor networks." Applied Soft Computing 43 (2016): 372-389.
- Xinhua, Wu, and Wang Sheng. "Performance comparison of LEACH and LEACH-C protocols by NS2." In 2010 Ninth International Symposium on Distributed Computing and Applications to Business, Engineering and Science, pp. 254-258. IEEE, 2010.
- Omari, Mohammed, and Soumia Laroui. "Simulation, comparison and analysis of wireless sensor networks protocols: LEACH, LEACH-C, LEACH-1R, and HEED." In 2015 4th International Conference on Electrical Engineering (ICEE), pp. 1-5. IEEE, 2015.
- Omari, Mohammed. "LEACH-IR: Enhancing the LEACH protocol using the first round clusters." International Journal of Computer and Information Technology 3, no. 5 (2014): 1403-1408.
- Mehmood, Amjad, Jaime Lloret Mauri, M. Noman, and Houbing Song. "Improvement of the wireless sensor network lifetime using LEACH with vice-cluster head." Ad Hoc Sens. Wirel. Networks 28, no. 1-2 (2015): 1-17.
- Loscri, V., G. Morabito, and Salvatore Marano. "A two-levels hierarchy for low-energy adaptive clustering hierarchy (TL-LEACH)." In IEEE vehicular technology conference, vol. 62, no. 3, p. 1809. IEEE; 1999, 2005.
- Patel, Himanshu B., and Devesh C. Jinwala. "E-LEACH: Improving the LEACH protocol for privacy preservation in secure data aggregation in Wireless Sensor Networks." In 2014 9th International Conference on Industrial and Information Systems (ICIIS), pp. 1-5. IEEE, 2014.
- Angadi, Basavaraj M., and Mahabaleshwar S. Kakkasageri. "K-means and fuzzy based hybrid clustering algorithm for wsn." International Journal of Electronics and Telecommunications (2023): 793-801.
- Yang, Xiang, Tingpu Liu, and Dengteng Deng. "Inter-cluster multi-hop routing algorithm based on K-means." In 2018 IEEE 4th Information Technology and Mechatronics Engineering Conference (ITOEC), pp. 1296-1301. IEEE, 2018.
- Kotary, Dinesh Kumar, and Satyasai Jagannath Nanda. "A distributed neighbourhood DBSCAN algorithm for effective data clustering in wireless sensor networks." Wireless Personal Communications 121, no. 4 (2021): 2545-2568.
- Omari, Mohammed, Mohammed Kaddi, Khouloud Salameh, and Ali Alnoman. "Advancing Image Compression Through Clustering Techniques: A Comprehensive Analysis." Technologies 13, no. 3 (2025): 123.
- Kmich, Mohamed, Nawal El Ghouate, Ahmed Bencharqui, Hicham Karmouni, Mhamed Sayyouri, S. S. Askar, and Mohamed Abouhawwash. "Chaotic Puma Optimizer Algorithm for controlling wheeled mobile robots." Engineering Science and Technology, an International Journal 63 (2025): 101982.
- Chaudhari, Kinjal, and Ankit Thakkar. "Travelling salesman problem: An empirical comparison between aco, pso, abc, fa and ga." In Emerging Research in Computing, Information, Communication and Applications: ERCICA 2018, Volume 2, pp. 397-405. Singapore: Springer Singapore, 2019.
- Abdollahzadeh, Benyamin, Nima Khodadadi, Saeid Barshandeh, Pavel Trojovský, Farhad Soleimanian Gharehchopogh, El-Sayed M. El-kenawy, Laith Abualigah, and Seyedali Mirjalili. "Puma optimizer (PO): a novel metaheuristic optimization algorithm and its application in machine learning." Cluster Computing 27, no. 4 (2024): 5235-5283.
- Benhadji, Mohammed, Mohammed Kaddi, and Mohammed Omari. "Atomic Energy Optimization for Wireless Sensor Network Clustering (AEOWSNC) Protocol for Energy-Efficient Wireless Sensor Networks." Engineering, Technology & Applied Science Research 15, no. 3 (2025): 22802-22810.
- Omari, Mohammed, Mohammed Kaddi, Khouloud Salameh, Ali Alnoman, and Mohammed Benhadji. "Atomic Energy Optimization: A Novel Meta-Heuristic Inspired by Energy Dynamics and Dissipation." IEEE Access (2024).
- Sharma, Neha, Vishal Gupta, Prashant Johri, and Ahmed A. Elngar. "SHO-CH: Spotted hyena optimization for cluster head selection to optimize energy in wireless sensor network." Peer-to-Peer Networking and Applications 18, no. 3 (2025): 1-18.
- Kumar, Mohit, Ashwani Kumar, Sunil Kumar, Piyush Chauhan, and Shitharth Selvarajan. "An African vulture optimization algorithm based energy efficient clustering scheme in wireless sensor networks." Scientific Reports 14, no. 1 (2024): 31412.
- Zhang, Shiwei, Xinghan Liu, and Mohammad Trik. "Energy efficient multi hop clustering using Artificial Bee Colony metaheuristic in WSN." Scientific Reports 15, no. 1 (2025): 26803.
- Behzadi, Mohamadhosein, Homayun Motameni, Hosein Mohamadi, and Behnam Barzegar. "Multi-Objective Energy-Efficient Clustering Protocol for Wireless Sensor Networks: An Approach Based on Metaheuristic Algorithms." IET Wireless Sensor Systems 15, no. 1 (2025): e70011.
- Al-Khayyat, Abdullah Tareq Ali, and Abdullahi Ibrahim. "Energy optimization in wsn routing by using the K-means clustering algorithm and ant colony algorithm." In 2020 4th International Symposium on Multidisciplinary Studies and Innovative Technologies (ISMSIT), pp. 1-4. IEEE, 2020.
- Gamal, Marwa, Nagham E. Mekky, H. H. Soliman, and Noha A. Hikal. "Enhancing the lifetime of wireless sensor networks using fuzzy logic LEACH technique-based particle swarm optimization." IEEE Access 10 (2022): 36935-36948.
- K. Zheng, J. Fu and X. Liu, "Relay Selection and Deployment for NOMA-Enabled Multi-AAV-Assisted WSN," in IEEE Sensors Journal, vol. 25, no. 9, pp. 16235-16249, 2025.
- Sivasankarareddy, V., Sundari, G., Rami Reddy, C., Aymen, F. and Bortoni, E.C., 2021. Grid-based routing model for energy efficient and secure data transmission in wsn for smart building applications. Applied Sciences, 11(22), p.10517.
- Kaddi, Mohammed, Mohammed Omari, Khouloud Salameh, and Ali Alnoman. "Energy-efficient clustering in wireless sensor networks using Grey Wolf Optimization and enhanced CSMA/CA." Sensors 24, no. 16 (2024): 5234.













| Protocol | CH Selection Method | Parameters Considered |
Routing Type | Main Strengths | Limits |
|---|---|---|---|---|---|
| AEOWSNC | AEO | Distance(Node, CH) Distance(CH, BS) | Single-hop | Simple implementation and efficient CH distance minimization | Lacks energy-awareness in CH rotation and scalability |
| SHO-CH | Hyenas | Residual energy Distance(Node, CH) Distance(CH, BS) |
Multi-hop Single-hop |
Balances exploration and exploitation for better CH selection | High computational cost and limited scalability |
| AVOACS | African Vulture |
Residual energy Distance(Node, CH) Distance(CH, BS) Communication mode decider |
Single-hop | Adaptive switching between exploration and exploitation phases | Increased overhead and slow convergence in large networks |
| EEM-LEACH-ABC | ABC | Residual energy Distance(CH, BS) |
Multi-hop Single-hop |
Reduces control overhead and improves network lifetime | Random CH initialization may cause imbalance |
| BDA | Dragonfly | Residual energy Distance(CH, BS) Neighborhood degree |
Multi-hop Single-hop |
Maintains network connectivity and energy balance | Sensitive to parameter tuning and dense topologies |
| KPSOFL | K-means and PSO | Residual energy Distance(CH, BS) Distance to centroid |
Single-hop | Combines clustering accuracy with adaptive optimization | Dependent on initial cluster centroids and PSO randomness |
| Simulation Parameters | Values/Ranges |
|---|---|
| Network Size | |
| BS Position | (0, 0), (50, 50) |
| Number of Nodes | |
| Node’s Initial Energy | |
| Percentage of Clusterheads | |
| Packet Size | |
| ) | |
| Grid Size |
| Simulation Parameters | Values/Ranges |
|---|---|
| Network Size | |
| BS Position | (0, 0), (100, 100) |
| Number of Nodes | |
| Node’s Initial Energy | |
| Percentage of Clusterheads | |
| Packet Size | |
| ) | |
| Grid Size | |
| 0.7 | |
| 0.2 | |
| 0.1 |
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. |
© 2025 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 (http://creativecommons.org/licenses/by/4.0/).