Abstract
Clustering is a crucial method used in wireless sensor networks to increase energy economy. Nodes work together to create a cluster, and the data detected by each node is sent to the cluster head. In contrast, the data is aggregated and sent to the base station by the cluster head. This extends the life of the network by reducing the amount of data sent between nodes and the base station. An innovative approach to energy saving for heterogeneous wireless sensor networks is introduced in this research, which is based on a clustering algorithm. The algorithm makes use of three distinct forms of heterogeneity, each with its own unique energy level: regular, advanced, and super nodes. We ran experiments with varying numbers of the three types of nodes listed above. The experimental findings show that the suggested technique outperforms the conventional methods in terms of network lifetime, message throughput, and stability with respect to both.