Next Article in Journal
A Study of the Improved A* Algorithm Incorporating Road Factors for Path Planning in Off-Road Emergency Rescue Scenarios
Next Article in Special Issue
Petri-Net-Based Charging Scheduling Optimization in Rechargeable Sensor Networks
Previous Article in Journal
A Predictive Quality Inspection Framework for the Manufacturing Process in the Context of Industry 4.0
Previous Article in Special Issue
A Fuzzy Logic-Based Directional Charging Scheme for Wireless Rechargeable Sensor Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Node Role Selection and Rotation Scheme for Energy Efficiency in Multi-Level IoT-Based Heterogeneous Wireless Sensor Networks (HWSNs)

School of Digital, Technology, Innovation and Business, Staffordshire University, Stoke-on-Trent ST4 2DE, UK
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(17), 5642; https://doi.org/10.3390/s24175642
Submission received: 25 July 2024 / Revised: 21 August 2024 / Accepted: 28 August 2024 / Published: 30 August 2024
(This article belongs to the Special Issue Energy Harvesting Technologies for Wireless Sensors)

Abstract

:
The emergence of Internet of Things (IoT)-based heterogeneous wireless sensor network (HWSN) technology has become widespread, playing a significant role in the development of diverse human-centric applications. The role of efficient resource utilisation, particularly energy, becomes further critical in IoT-based HWSNs than it was in WSNs. Researchers have proposed numerous approaches to either increase the provisioned resources on network devices or to achieve efficient utilisation of these resources during network operations. The application of a vast proportion of such methods is either limited to homogeneous networks or to a single parameter and limited-level heterogeneity. In this work, we propose a multi-parameter and multi-level heterogeneity model along with a cluster-head rotation method that balances energy and maximizes lifetime. This method achieves up to a 57% increase in throughput to the base station, owing to improved intra-cluster communication in the IoT-based HWSN. Furthermore, for inter-cluster communication, a mathematical framework is proposed that first assesses whether the single-hop or multi-hop inter-cluster communication is more energy efficient, and then computes the region where the next energy-efficient hop should occur. Finally, a relay-role rotation method is proposed among the potential next-hop nodes. Results confirm that the proposed methods achieve 57.44%, 51.75%, and 17.63% increase in throughput of the IoT-based HWSN as compared to RLEACH, CRPFCM, and EERPMS, respectively.

1. Introduction

Advancements in micro-electromechanical systems (MEMS) and the emergence of the Internet of Things (IoT) enable real-time access to data, facilitating collaborative solutions to various real-world problems. The IoT enables people to experience intelligent living environments, such as smart cities [1], smart homes [2], and smart transportation [3]. These applications typically require a large number of energy-limited wireless devices deployed over extensive areas [4]. The integration of wireless sensor networks (WSNs) with IoT [5] lowers costs and improves quality of life by utilising smart sensor networks, where devices are connected to the internet [6,7]. A wireless sensor network (WSN) consists of numerous low-power microsensor nodes that work together to detect, process, and communicate information about their surrounding environment [4]. Due to their low cost, rapid deployment, and self-organisation features [8], WSNs are widely used in various applications such as marine data collection [9], pollution monitoring [10], smart farming [11], precision agriculture [11], disaster warnings [12], wildlife monitoring [13], and multi-floor building data collection [14]. Thus, integrating WSNs and IoT for effective service delivery across various applications does not require a significant paradigm shift [7]. Figure 1 illustrates the overall infrastructure of a WSN-based IoT system. Various sensors with heterogeneous attributes collect real-time environmental data, which is then communicated to a base station using clustered hierarchical routing [15]. The real-time data are made accessible through the IoT cloud, enabling coordinated service delivery in modern infrastructures like smart cities [16]. Although WSN-based IoT systems are appealing because they can operate independently in harsh environments where human presence is impractical [6], these environments also pose challenges to network longevity [17] due to the inability to replace or recharge their limited batteries [18]. Moreover, in hierarchical routing, cluster heads closer to the base station experience excessive relaying loads, leading to their premature failure [15]. Scalable and adaptable energy-efficient routing schemes are a crucial quality of service (QoS) criterion in networks with large-scale device deployment [15].
Moreover, IoT-based WSNs can include sensor nodes with a wide range of capabilities, introducing a more complex variant known as IoT-based HWSN [19]. Figure 2 illustrates an m-level heterogeneous wireless sensor network, where diverse sensor nodes transmit information about the field to the base station (BS), which stores the data in a central repository. Authorised end-users with the appropriate credentials can access any required data from this repository via the internet.
The term ‘m-level’ refers to the varying functionalities and corresponding range of resources that a device can possess, such as sensing ranges, sensing tasks, mobility levels, initial energy supplies, and computational capabilities, among others [19].
Deploying sensor nodes with diverse functionalities and capabilities results in cost-effective solutions and improved performance. This makes the HWSN-based IoT a more practical alternative to traditional WSN-based IoT systems. Due to the variety of node capabilities, HWSNs can be classified into several principal categories based on differences in energy levels, computing power, connection quality, data generation rates, and node mobility.
In the category of energy heterogeneity, nodes possess varying initial energy levels or are equipped with sensors that support replaceable batteries. In terms of computational capabilities, some nodes have superior processing power and larger storage capacities than others. Regarding link heterogeneity, certain nodes provide longer-distance and more reliable communication links within the network. For data rate heterogeneity, nodes differ in their sensing schedules and the size of the data packets they generate. Finally, with respect to mobility, nodes may either be stationary or capable of movement, with mobile nodes exhibiting different speeds.
Energy heterogeneity is considered fundamental, with link, computation, and data rate heterogeneities being viewed as functions of energy heterogeneity. Additionally, mobility heterogeneity not only introduces energy challenges but also adds configuration complexities within the network [19]. This work focuses on enhancing energy efficiency within the network layer by introducing a method that ensures key requirements such as self-organisation and energy-efficient data communication. This is accomplished through dynamic clustering and routing in a network that is heterogeneous across multiple parameters and levels.
Clustering protocols are a key method for energy-efficient data collection, organising nodes into clusters. Each cluster is led by a cluster head (CH), which gathers data from its members and sends it to an external base station (BS), often through multi-hop communication between cluster heads. The process typically involves two main phases: (i) the election of cluster heads and the formation of clusters, where nodes elect cluster heads and join a cluster, and (ii) the operational phase, where data are transmitted to a centralised BS. Clustering ensures that only nodes with the cluster-head role endure the overhead associated with multi-hop communication in long-distance transmission. To ensure energy is used efficiently, the process of electing cluster heads and forming clusters may be periodically repeated.
The strategy of rotating the cluster-head role [6,8,17,20,21,22,23] in conjunction with clustering plays a crucial role in extending the network’s lifespan. This approach minimises the need for significant traffic during leader election and cluster setup, as outgoing cluster heads directly appoint their successors. It assumes the existence of pre-established clusters, which can be formed using either static [24,25,26] or dynamic methods [21,27,28,29,30,31,32].
In current clustering protocols, cluster heads (CHs) take on more responsibilities compared to cluster members, leading to significantly higher energy consumption than their cluster member counterparts. Moreover, existing approaches do not fully account for the diverse heterogeneity of sensor nodes. In large-scale networks, cluster heads use multi-hop inter-cluster routing to transmit data to the base station, which causes cluster heads closer to the base station to encounter excessive relaying loads, resulting in their premature failure [16]. Therefore, beyond cluster-head selection and rotation to balance intra-cluster energy consumption, an optimal relay-node selection and rotation scheme is also necessary. The proposed energy-efficient routing for IoT-based multi-level heterogeneous networks aims to be adaptable and meet the requirements of networks of varying sizes, from small- to large-scale. The main contributions of this study are summarised as follows:
  • A novel approach is proposed to extend network lifetime and enhance energy efficiency in intra-cluster communication. This includes the development of a versatile heterogeneity model for multi-parameter heterogeneous networks. Additionally, a mathematical model is developed and integrated into a new cluster-head rotation algorithm, optimising and balancing energy consumption. These contributions ensure stable, energy-efficient network performance and sustainable operations.
  • A novel mathematical model is developed to dynamically identify the optimal region for relay selection, allowing any node within this region to be chosen as a relay based on resource distribution and energy costs. An algorithm is developed that incorporates the dynamic selection of relay nodes to effectively balance inter-cluster energy consumption. The proposed method significantly improves energy efficiency, by preventing premature node failure, and ensures long-term network performance.
  • A novel algorithm is developed to implement dynamic relay-role rotation among nodes within the identified optimal region. The proposed role rotation prevents excessive energy depletion in any single node and optimises inter-cluster communication. By distributing the communication load more evenly, the algorithm significantly extends the network’s lifespan and stability.
The remainder of this paper is structured as follows: Section 2 provides a critical review of the related literature. Section 3 describes the network and energy models, utilised for the analysis and evaluation of the proposed methods. Section 4 details the proposed schemes, including corresponding mathematical models, flow charts, and pseudo codes. Section 5 outlines the results and discussion. Finally, conclusions and future research directions are outlined in Section 6.

2. Related Work

Clustering and routing approaches have consistently demonstrated their significance in conventional wireless sensor networks (WSNs), particularly due to their contributions to scalability and energy efficiency [20,33,34,35]. While these approaches have been well studied in conventional WSNs, they can also be effectively utilised in IoT-based heterogeneous wireless sensor networks (HWSNs) to achieve energy efficiency in complex and diverse network environments [36,37,38,39,40,41]. Numerous protocols, such as SEP (stable election protocol) [30], DEEC (distributed energy efficient clustering) [31], and their derivatives like D-DEEC [42], E-DEEC [43], ED-DEEC [44], DRE-SEP [45], DARE-SEP [36], and DE-SEP [37], have been developed based on the foundational principles established by LEACH [27]. These protocols employ strategies such as randomised cluster-head rotation to evenly distribute workload, data aggregation to conserve energy, and local coordination to maintain scalability and robustness, particularly in dynamic environments.
SEP (stable election protocol), proposed by Smaragdakis et al. [30], is a LEACH-inspired clustering method that addresses two-tier energy heterogeneity by differentiating between normal and advanced nodes, the latter having greater resources. While SEP enhances the management of energy variance and introduces specific operational epochs for each node type, it faces limitations such as the necessity for frequent cluster reformation in each round and its restriction to only two levels of energy heterogeneity.
DEEC [31], which introduces a probabilistic cluster-head selection mechanism based on residual and average network energy, attempts to distribute the energy load more effectively. However, it inadvertently penalises high-energy nodes by depleting their resources at the same rate as lower-energy nodes, which can lead to suboptimal energy distribution and shortened network lifespan. Subsequent enhancements like D-DEEC [42] and E-DEEC [43] aim to address these issues by incorporating multiple levels of energy heterogeneity. Nonetheless, these protocols often fall short in environments where node capabilities vary significantly, as they tend to treat advanced nodes similarly once their energy levels converge, thus failing to fully exploit the heterogeneity within the network. Further, protocols such as ED-DEEC [44] and Qureshi et al.’s four-tier model [46] expand on these ideas by introducing more granular classifications of node energy levels and tailored probabilistic equations for cluster-head selection. However, these methods still face challenges in maintaining efficiency as node energy levels deplete, often leading to a homogenisation of nodes that undermines the benefits of the initial heterogeneity.
Mittal and Singh’s DRE-SEP [45], an enhancement of SEP [30], addresses three levels of energy heterogeneity, particularly in event-driven applications, by using a weighted probabilistic formula for cluster-head selection that factors in node distance, energy levels, and type-specific epochs. It also facilitates dual-hop communication to reduce energy consumption. Similarly, (distance-aware residual energy efficient stable election protocol) DARE-SEP [36] and (distance and distance and energy aware) DE-SEP [37] refine the SEP approach by incorporating node distance and energy levels into cluster-head selection, with DE-SEP limiting the number of cluster heads to optimise energy efficiency. However, these protocols remain primarily focused on energy heterogeneity, often neglecting other important factors such as computational capabilities, link quality, and data generation rates—key considerations in large-scale, heterogeneous IoT environments.
Another key challenge in existing approaches is the management of network heterogeneity beyond energy levels. Protocols like the energy-driven unequal clustering (EDUC) [47] and adaptations of HEED [29], such as those proposed by Chand et al. [48] and Singh et al. [49], have sought to address heterogeneities in computational power, communication link quality, and node mobility. Moreover, Singh et al. also developed an energy efficient heterogeneous DEEC protocol [50], which introduces three-level heterogeneity. However, these protocols frequently encounter issues such as inefficient load distribution, increased overhead due to frequent cluster reformation, and vulnerability to data loss when cluster-head communication is interrupted.
The introduction of more sophisticated protocols, such as multi-level HEED (ML-HEED) [51], which supports up to six levels of energy heterogeneity, demonstrates the potential for improved network lifespan and energy usage. However, the frequent need for cluster reformation at the start of each round consumes significant energy, which could otherwise be allocated to more critical network operations.
Recent protocols like the improved energy efficient clustering protocol (IEECP) by Hassan et al. [6] and hybrid routing approaches proposed by Priyadarshi et al. [38] and Naeem et al. [36] focus on prolonging network lifetime through optimised cluster formation and the use of relay nodes for long-distance communication. While these methods represent valuable progress, they are often limited by their focus on homogeneous networks or their application to only two levels of energy heterogeneity, restricting their effectiveness in more complex IoT-based HWSNs.
The authors in [39] introduced a hybrid routing approach to enhance energy efficiency in sensor networks, encompassing both normal and advanced nodes. This method involves segmenting the network into smaller regions and deploying relay nodes to optimise long-distance communication energy. Routing is performed between nodes and the base station, cluster heads, relays, and relays to the base station. However, the scheme restricts advanced and normal nodes to their predefined regions, limiting its applicability and only considering two levels of energy heterogeneity.
Moreover, innovations like the threshold-oriented and energy-harvesting enabled multi-level stable election protocol (TEM-SEP) [52] and the non-threshold-based cluster-head rotation scheme (NCHRA) [22] are indicative of the ongoing efforts to support large-scale, heterogeneous networks. However, these protocols still primarily address energy heterogeneity and often neglect other critical parameters, such as data rate variability and computational capabilities, which are essential for efficient network management in real-life IoT deployments.
Finally, Gherbi et al. [40] and Kumar et al. [41] have proposed clustering-based protocols that attempt to refine the cluster-head selection process by considering node deployment and residual energy. While these methods contribute to prolonging network lifetime, they often introduce additional complexity or overhead, which may not be sustainable in large-scale, dynamic environments.
Enhanced hierarchical clustering node collaborative scheduling (EHCNCS) [17] also rotates the cluster-head role between nodes by constructing a CH rotation candidate table. Although EHCHCS achieves significant energy efficiency and network lifetime, its applications are limited to homogeneous sensor networks. Moreover, it compromises the complete network coverage to enhance network lifetime.
Lewandowski and Płaczek [53] proposed a method that incorporates a new CH rotating algorithm along with suppression of unnecessary data transmissions. This method exploited energy heterogeneity and only cluster-head rotation and sleep–awake scheduling was considered to enhance the network lifetime. The consideration for large-scale networks and multi-hop inter-cluster communication was not included. Therefore, balance between cluster heads due to inter-cluster communication was not thoroughly considered.
Centralised energy-efficient clustering (CEEC) [20] also includes the cluster-head rotation for energy balancing among the nodes in same cluster. Moreover, it adds size-balance cluster formation (SBCF), inter-cluster energy adjustment (ICEA), and energy-aware data forwarding (EDF) schemes. CEEC is also focused on homogeneous WSNs and does not address the complex dynamics of a real-life heterogeneous wireless sensor network-based IoTs.
Despite the advancements made by the aforementioned protocols, several outstanding research problems remain unaddressed. Many existing protocols fail to fully account for the diverse heterogeneity of sensor nodes, particularly in balancing energy consumption across both intra-cluster and inter-cluster communications. This limitation leads to premature node failures, especially in large-scale networks with varying node capabilities.
Current strategies often overlook the need for an optimal relay-node selection and rotation scheme, which is essential for maintaining network longevity in heterogeneous environments. This oversight can result in uneven energy distribution and increased communication overhead.
Moreover, most existing protocols are either tailored to small-scale networks or limited to specific levels of energy heterogeneity, making them less effective in real-world IoT applications that demand flexibility and scalability.
In summary, although significant progress has been made in developing clustering and routing protocols for energy-efficient and scalable WSNs and HWSNs, several critical challenges remain. These include the need for more comprehensive management of node heterogeneity, improved strategies for balancing energy consumption, and the development of protocols that can adapt to varying network sizes and levels of heterogeneity. This research addresses these challenges by introducing innovative methods that integrate multi-level heterogeneity into the clustering and routing processes, thereby enhancing network efficiency, scalability, and longevity.

3. Network and Energy Models

The network architecture and energy consumption models employed in this study are summarised as follows:

3.1. Network Model

The proposed method addresses a heterogeneous sensor network, with the following characteristics:
  • Deployed sensor nodes possess limited heterogeneous energy levels within a specified range.
  • All deployed sensors remain static and do not change their locations.
  • The sensors have the ability to adjust their transmission power levels.
  • Sensors regularly monitor the environment, with data rates varying based on events or sensor node types.
  • The base station remains static and does not change its location.
  • The network may contain any number of nodes, accommodating various shapes and scales, with fully heterogeneous sensor nodes.
To elaborate on the concept of multi-level heterogeneity, consider a network with n levels of energy heterogeneity and m levels of data rate variability, where ‘ n ’ and ‘ m ’ are positive integers greater than zero.
  • where n , m > 0 & n , m Z +
Consider a scenario where ‘N’ represents the total number of sensors in the network and μ 1 , μ 2 ,   μ 3 ,   ,   μ n denote the proportional factors corresponding to the deployed sensors at heterogeneity levels 1 , 2 , 3 , , n for a given parameter μ . These factors satisfy the equation:
μ 1 + μ 2 + μ 3 + + μ n = 1
Thus, the total number of sensors can be expressed as:
i = 1 n μ i · N = N
Consider, o 1 , o 2 , o 3 , as energy multipliers for nodes of types 1 , 2 , 3 , and beyond, adhering to the sequence:
o 1 < o 2 < o 3 < o 4 <
Here, o 1 is assigned the value of 0, corresponding to type- 1 nodes. The initial energy and data rate of the j t h type of heterogeneous node can be expressed as E j = E 0 + o j · E 0 and T j = T 0 + o j · T 0 , respectively, where, E 0 and T 0 represent the initial energy and packet size of the type- 1 nodes, respectively.
Thus, the total network energy, E n e t w o r k and the total data traffic in the network, T n e t w o r k , are defined as:
E n e t w o r k = i = 1 n μ i · N · E i   a n d   T n e t w o r k = i = 1 n μ i · N · T i
If κ i represents the number of type-i sensor nodes, then:
κ i = μ i · N
and
i = 1 n κ i = N
Thus, the total network energy, E n e t w o r k , can be written as:
E n e t w o r k = κ 1 · E 1 + κ 2 · E 2 + + κ n · E n
E n e t w o r k = κ 1 · E 0 + o 1 · E 0 + κ 2 · E 0 + o 2 · E 0 + κ 3 · E 0 + o 3 · E 0 + + κ n · E 0 + o n · E 0
Since o 1 = 0 , this simplifies to:
E n e t w o r k = E 0 κ 1 + κ 2 1 + o 2 + κ 3 1 + o 3 + + κ n ( 1 + o n ) E n e t w o r k = E 0 κ 1 + κ 2 + κ 3 + + κ n + o 2 κ 2 + o 3 κ 3 + o 4 κ 4 + + o n κ n E n e t w o r k = E 0 N + o 2 κ 2 + o 3 κ 3 + o 4 κ 4 + + o n κ n E n e t w o r k = E 0 N + N μ 2 o 2 + N μ 3 o 3 + N μ 4 o 4 + + N μ n o n E n e t w o r k = N E 0 1 + μ 2 o 2 + μ 3 o 3 + μ 4 o 4 + + μ n o n
Similarly, the total network data traffic, T n e t w o r k , can be written as:
T n e t w o r k = N · T 0 · 1 + μ 2 o 2 + μ 3 o 3 + μ 4 o 4 + + μ n o n
These equations can be used to extend the principle to any level of heterogeneity for any parameter that is a function of energy.

3.2. Energy Model

In this study, the well-established radio-energy dissipation model, as referenced in [36,37,40,41,45,54], is utilised to calculate energy consumption and constantly update the residual energy of the network nodes. In this model, E e l e c represents the energy used by transmitter or receiver electronics in the transceiver circuit. The model accounts for power loss in both free space ( ε f s ) as well as multi-path ( ε m p ) channel models. The adopted model is described as follows, adapted from [15]:
The energy spent by the radio at each node to transmit an l -bit message over a distance d is denoted as E T r a n s l , d , where:
  • l is the number of bits in the transmitted packet;
  • d is the distance between the transmitter and receiver;
  • ε f s is the free space energy dissipation coefficient;
  • ε m p is the multi-path fading energy dissipation coefficient.
The transmission energy, E T r a n s l , d , is calculated as:
E T r a n s l , d = l × E e l e c + l × ε f s × d 2 ;     d < d o   l × E e l e c + l × ε m p × d 4 ;     d d o
where d o is the threshold distance that determines the switch between the free space and multi-path models and is calculated as:
d o = ε f s ε m p
Similarly, the energy spent by the radio to receive the message is denoted by E e l e c l , which is calculated as:
E r e c ( l ) = l × E e l e c

4. Proposed Scheme

To extend the lifetime of multi-level HWSN-based IoT networks, the primary objective of the proposed scheme is to minimise energy consumption during intra-cluster communication between the sensor nodes and cluster head. Furthermore, the scheme aims to enhance network stability in the presence of heterogeneous nodes. Here, stability is quantified by the disparity between the total number of data transmission operations accomplished before the first node failure and the total number completed before the last node failure. This can be accomplished through an appropriate cluster-head rotation algorithm that considers all the heterogeneous characteristics of nodes, ensuring minimal energy consumption and maximizing intra-cluster stability. Therefore, the cluster-head rotation that achieves stable operation while maintaining minimal intra-cluster energy consumption for a network of a multi-level heterogeneous network is discussed in following section.

4.1. Cluster-Head Rotation

In a sensor network composed of various types of sensor devices, even if the initial energy may be uniform, heterogeneity will naturally emerge over time. This is due to the varying energy consumption during sensing operations, which differs among sensor nodes depending on their sensing mechanisms. Consequently, cluster-head rotation methods that consider homogeneous network attributes are not practical.
Figure 3 demonstrates the simplified problem of achieving maximum cluster lifetime in a cluster consisting of two nodes with heterogeneous parameters. The examples depicted in Figure 3a,b assume that both nodes possess identical initial energy and data rate levels (energy = 0.1 J and packet size = 4000 bits at time = 0). In Figure 3a, a static cluster-head (CH) assignment is used, with node 1 retaining the CH role throughout. Consequently, node 1 depletes its energy more quickly than node 2, leading to node 1’s shutdown after 250 cycles. It is crucial to note that time is measured in cycles, where each cycle represents a sensor’s operation, from data collection to transmission to the cluster head. Thus, in this instance, the cluster’s lifespan is 250 cycles.
In contrast, Figure 3b demonstrates that the cluster’s lifespan can be extended by rotating the CH role between the nodes. Node 1 serves as CH from cycles 0 to 164, after which node 2 takes over. Both nodes deplete their energy simultaneously after 328 cycles, thus extending the cluster lifespan to 328 cycles. It is important to highlight that the maximum lifespan occurs when both sensor nodes expire at the same time.
Figure 3c presents a scenario in which both sensor nodes have different initial energy levels (node 1: 0.1 J, node 2: 0.06 J) while maintaining the same data rate (4000 bits). However, the time gap between the failure of node 1 and node 2 does not optimise the cluster lifespan. To improve this, Figure 3d shows an applied role rotation similar to Figure 3b but with nodes of heterogeneous energy levels. The results in Figure 3d confirm that uncoordinated rotation still yields suboptimal results, emphasising the importance of coordinated role rotation.
Finally, Figure 3e shows the results of coordinated role rotation, designed to maximise cluster lifespan and minimise the time between failures of the first and second nodes. This coordinated rotation extends cluster lifespan from 250 to 262 cycles, and achieves greater stability in the network.
Figure 4 illustrates the heightened complexity of achieving minimum energy consumption in intra-cluster communication while maintaining operational stability when nodes possess diverse initial energies and packet sizes (e.g., node 1: 5000 bits, node 2: 3000 bits). As shown in Figure 4c, coordinated role rotation yields favourable results, maximising both network lifespan and stability. However, this challenge becomes more significant in large-scale networks with multi-level and multi-parameter heterogeneity, particularly when nodes are separated by varying distances to the next hop.
To address this, a new cluster-head rotation scheme is introduced to minimise intra-cluster energy consumption while maximising stability in heterogeneous sensor networks. Assuming the base station (BS) is aware of each node’s location, it first calculates the pairwise distances between every node within a cluster. This information is then used to implement a cluster-head rotation policy that balances energy usage and maximises network lifetime.
d i j = ( x i x j ) 2 + ( y i y j ) 2 + ( z i z j ) 2
where d i j represents the Euclidean distance of every i t h node from each j t h node as shown in Figure 5.
Let ‘ D ’ be the array containing the pairwise distances between each node in the cluster, represented as:
D ( i , j ) = d 11 d 12 d 1 n d 21 d 22 d 1 n d m 1 d m 2 d m n
Based on the distance in the array ‘ D ’, the base station (BS) calculates the anticipated energy consumption for the transmission between each node:
e i j = T i · E E L E C + T i · ε f s ( d i j ) 2 ,   d i j < d o T i · E E L E C + T i · ε m p ( d i j ) 4 ,   d i j d o
where d o is the threshold distance, calculated as:
d o = ε f s ε m p
Let ‘ E ’ represents the array containing the anticipated energy consumption for transmission between each node pair.
E i , j = e 11 e 12 e 1 n e 21 e 22 e 1 n e n 1 e n 2 e n n
Then, the total anticipated energy consumption of the nodes in a cluster while the J t h node is assumed as CH is computed in the next step.
E T j = i = 1 n e i j
The average anticipated energy consumption when the J t h node is CH is given by:
E a v g ( j ) = i = 1 m e i j n
Thus, the set of candidate cluster heads can be determined by sorting the total energy consumption values:
E = s o r t E T = e 1 , e 2 , e 3 , , e n
The index of e i in the original unsorted set E T can be found as:
i n d e x e i , E T = j
where:
  • e i is an element in the sorted set E ;
  • E T is the original unsorted set;
  • j represents the index of e i in the original unsorted set E T .
Let E be the set of residual energies for each node:
E = e 1 , e 2 , e 3 , , e n
Thus, the index of the node with the minimum residual energy is computed as:
i n d e x m i n E = i
A node continues to act as the CH until its residual energy drops below the mean of the residual energies. The i t h node is assigned as the CH:
A = j i ,   for   i = 1 , 2 , 3 n
So, while E i , A E a v g A   &   E ( A ) α × max ( E ) , the node with index A continues to serve as the cluster head. In this condition ‘ α ’ denotes the re-clustering factor and allows for tuning the frequency of re-clustering according to the required stability. Figure 6 presents the flowchart detailing the main steps in the proposed cluster-head rotation method.
The smart sensor nodes in the WSN execute the operations outlined in Algorithms 1 and 2 at regular intervals. During typical operation, non-CH nodes conduct sensing operations and transmit their data to the CH node, as depicted in Algorithm 1.
Algorithm 1: Sensing nodes
Input: Policy for varying roles
Output: Data rate transmitted by each normal node in the network
1: round = round + 1
2: Obtain policy for the varying roles of the node over the network lifetime from BS
3: if node.role = Normal Node
4:   Perform sensing operation and detect data
5:   if change in the parameter value, then
6:       Wake up the communication module
7:       send the data to the Cluster Head (CH)
8:   end if
9: elseif node.role = Cluster Head
10:   keep the communication module awake
11:   receive data from the member nodes
12:   send the aggregated data towards Base Station (BS)
13: end if
Algorithm 2: Cluster-Head Rotation (BS)
Input: Number of cluster member nodes n , their initial locations x i , y i , z i , heterogeneous fixed data rate T i , and initial energies E i of each sensor node.
Output: Role of each node over the network lifetime, ensuring balanced energy network operation.
1: for  i 1 to n do
2:   for  j 1 to n do
3:       D ( i , j ) x i x j 2 + y i y j 2 + z i z j 2
4:       E i , j T i · E E L E C + T i · ε f s · d i j 2 ,           d i j < d o T i · E E L E C + T i · ε m p · d i j 4 ,           d i j d o
5:   end for
6: end for
7: for  j 1   to n do
8:    E T j i = 1 n e i j
9:    E a v g j = E T j n
10: end for
11: E s o r t ( E T )
12: j i n d e x ( e i , E T )
13: for  r n d 1 to r n d m a x
14:    i i n d e x m i n E
15:   for i 1   to n do
16:       A j ( i )
17:      While  E i , A E a v g A   & &   E ( A ) α m a x ( E )  do
18:           for j 1  to  n  do
19:              if j = A  then
20:                   e i j T i · n · E E L E C + T i · ε f s ( d i j ) 2 , d i j < d o T i · n · E E L E C + T i · ε m p ( d i j ) 4 , d i j d o
21:              else
22:                   e i j T i · E E L E C + T i · ε f s ( d i j ) 2 , d i j < d o T i · E E L E C + T i · ε m p ( d i j ) 4 , d i j d o
23:                  E i E i e i j
24:              end if
25:           end for
26:      break
27:   end for
28:    r n d r n d + 1
29: end for
The role rotation policy for the nodes is established by the base station (BS) through the operations outlined in Algorithm 2. The base station establishes this policy during the network initialisation phase and communicates it to all participating nodes throughout the network’s lifetime to ensure balanced energy consumption and extended network operation.

4.2. Direct vs. Multi-Hop Inter-Cluster Communication

Let ‘ K ’ be the variable representing the possible number of hops available between the outer-most cluster head (CH) and the base station (BS). Due to unequal cluster sizes, the distances between these hops vary and are denoted as r 1 , r 2 , r 3 , , r K . The energy consumed by the outermost CH in transmitting a message of size ‘ l ’ bits directly to the base station can be worked using the first-order radio model [15], as discussed earlier. The energy consumed during direct communication is given by:
E D i r e c t = E T X ( l , d = r 1 + r 2 + r 3 + r K )
where:
E D i r e c t = E E L E C · l + ϵ f s · l · d 2   i f   d d o E E L E C · l + ϵ m p · l · d 4   o t h e r w i s e
Similarly, energy consumed during multi-hop inter-cluster communication can be computed as:
E M u l t i h o p = K E T X l , d = r 1 2 + r 2 2 + + r K 2 + ( K 1 ) E R X E M u l t i h o p = K E E L E C l + ϵ f s l r 1 2 + r 2 2 + + r K 2 + ( K 1 ) E E L E C l
To determine when inter-cluster multi-hop routing is required, the following two cases are considered.
  • Case 1: d d o
If the overall distance ‘ d ’ between a cluster head and the base station is less than or equal to the threshold distance ‘ d o ’ as defined by the radio model, then energy consumed by direct communication is:
E D i r e c t = E E L E C l + ϵ f s l d 2
Direct communication is preferred if the following condition is satisfied:
E D i r e c t < E M u l t i h o p E E L E C l + ϵ f s l d 2 < l K E E L E C + K ϵ f s r 1 2 + r 2 2 + + r K 2 + K E E L E C E E L E C d 2 < 2 E E L E C K 1 ϵ f s + K r 1 2 + r 2 2 + + r K 2
  • Case 2: d > d o
If the overall distance between the cluster head and the base station exceeds the threshold distance ‘ d o ’, the energy consumed by direct communication is computed as:
E D i r e c t = E E L E C l + ϵ m p l d 4
Direct communication is preferred if:
E D i r e c t < E M u l t i h o p E E L E C l + ϵ m p l d 4 < l K E E L E C + K ϵ f s r 1 2 + r 2 2 + + r K 2 + K E E L E C E E L E C d 4 < 2 K 1 E E L E C ϵ m p + K ( r 1 2 + r 2 2 + + r K 2 ) ϵ f s ϵ m p

Energy Balanced Inter-Cluster Multi-Hop Communication

If the network size and configuration favour multi-hop routing as the more energy-efficient option, an issue of imbalance load among cluster heads may arise, as illustrated in Figure 7. Cluster heads that are located closer to the base station (BS) experience a heavier relaying load, particularly in large-scale networks, as they are responsible for forwarding data from distant cluster heads to the BS. This uneven energy consumption can lead to premature failure of the nearer cluster heads, reducing the overall network lifespan.
The proposed scheme explores the condition to balance the load among cluster heads, thereby increasing network lifetime and stability. The following mathematical model illustrates this:
Let the cluster heads C H a and C H b be located at the same level and have the same number of nodes ‘ a ’, and the same data rate on them, denoted by ‘ l ’.
The total energy consumption for C H a is expressed as:
E a T O T A L = a · l · E E L E C + E D A + l · E E L E C + l · ϵ f s · r a 2
Assuming that the energy consumption for C H a and C H b is equal, then
E a T O T A L = E b T O T A L
Let e be the number of nodes in cluster C H e . The total energy consumption of C H e is given by:
E e T O T A L = a + b · l · E E L E C + e · l · E E L E C + E D A + l · E E L E C + l · ϵ f s · r e 2
The condition for balanced energy routing implies:
E a T O T A L = E e T O T A L a · l · E E L E C + E D A + l · E E L E C + l · ϵ f s · r a 2 = a + b · l · E E L E C + e · l · E E L E C + E D A + l · E E L E C + l · ϵ f s · r e 2
Given that a = b e , the condition can be simplified as:
a · E E L E C + ϵ f s · r a 2 = 2 · a · E E L E C + e · E E L E C + ϵ f s · r e 2 ϵ f s · r a 2 = a + e · E E L E C + ϵ f s · r e 2 r a 2 = a + e · E E L E C ϵ f s + r e 2
This equation determines the condition for balanced energy routing across multiple cluster heads in a multi-hop scenario.

4.3. Relay-Node Selection and Rotation

To improve the network lifetime while maintaining balanced energy consumption among network nodes, relay nodes in addition to cluster heads are utilised in the proposed method. The scheme is adaptable to varying network scales, determining the most energy-efficient location for relay nodes. Given that the i t h cluster head C H i needs to transmit data to the destination (i.e., base station B S ), direct transmission becomes energy efficient if the condition d d 0 m i n is satisfied. The value of d 0 m i n can be calculated as:
d 0 m i n = ε o ( γ ) 1 2 γ 2 γ
Figure 8 illustrates the search region for relay nodes in the network. The choice of the relay node is determined by considering the distance between the cluster head C H i and the destination node D , aiming to reduce energy consumption while maintaining efficient network performance.
In the diagram, d C H O represents the distance between the cluster head C H i and the central point O , which is a potential relay position. Distances d C H A and d A D denote the distances between the cluster head and a potential relay node A , and between the relay node and the destination D , respectively. The relay-node search area, represented by the dashed circle, is governed by the energy dynamics of the network, with the goal of balancing the load across relay nodes to optimise energy efficiency.
Parameter γ can take values of 2 or 4, based on the first-order radio model parameters E E L E C , ε f s , and ε m p , which influence the calculation of the threshold distances. The parameters are defined as follows:
  • For γ = 2 , the energy threshold is given by ε o γ = E E L E C ε f s , reflecting the free space model.
  • For γ = 4 , the energy threshold is ε o γ = E E L E C ε m p , representing the multi-path fading model.
These energy thresholds dictate the conditions under which direct or multi-hop communication is more energy efficient. When γ = 2 , the network operates under the free-space propagation model, and when γ = 4 , the multi-path fading model is applied. The selection of relay nodes is thus guided by these parameters, ensuring minimal energy consumption and maximising the network’s lifetime.
Figure 9 presents the flow chart detailing the stepwise operation of the proposed balanced energy and maximum network lifetime inter-cluster multi-hop communication method. The process begins with the farthest cluster head from the base station and calculates the number of hops required for energy-efficient transmission. This approach continues progressively towards relay nodes closer to the base station.
The goal is to identify the optimal relay-node positions to ensure that direct transmission from the closer relay nodes is more energy efficient than multi-hop routing from farther nodes. This strategy extends the scalability of the network and allows the proposed method to operate adaptively in networks of varying scale, which is essential for supporting IoT infrastructure. By continuously adjusting based on the energy consumption model, the method helps balance the energy usage across the network and prolong its overall lifetime.
The pseudo-code in the Algorithm 3 ensures the energy efficient relay-node selection and rotation of relay role among nodes within the set of candidate relay nodes, all executed at an appropriate frequency to optimise energy usage and network stability.
Algorithm 3: Relay-Node Selection & Rotation Policy
Input:  n number nodes, their locations x i , y i , z i , heterogeneous fixed data rate T i , and initial energies E i of each sensor node, sensing region and its boundaries. Total number of cluster heads ρ and total number of sensor nodes N .
Output: A policy for the selection of relay node for each cluster head to transmit its cluster data to the base station in an energy efficient and stable manner. Provides balanced energy transmission between nodes through timely and energy efficient rotation of relay nodes.
1: d 0 m i n ε o α 1 2 α 2 α
2: for i = 1  to  ρ  do
3:    d C H i B S d
4:   if d C H i B S > d 0 m i n  then
5:       Compute the radius A
6:       for j = 1  to  N  do
7:           if d i j < A  then
8:                R i c a n d i d a t e j
9:               While E C H i , j E a v g j   & &   E ( j ) α m a x ( E )  do
10:                   Continue to transmit data via relay node j
11:                    E j E j e j B S
12:              else
13:                   Rotate relay role to next candidate
14:              Break
15:          end if
16:      end for
17:   else
18:      Transmit data via direct communication between C H i ’ and ‘ B S
19:       E D i r e c t = E E L E C l + ϵ f s l d 2   i f   d d o E E L E C l + ϵ m p l d 4   o t h e r w i s e
20:       E i E i E D i r e c t
21:   end if
22:    r n d r n d + 1
23: end for

5. Results and Discussion

This section presents the evaluation of the proposed techniques using MATLAB R2022a simulations, chosen for its ability to accurately model the complex dynamics of energy-efficient communication in heterogeneous WSNs and IoT environments. MATLAB provides robust numerical computation capabilities, which are essential for implementing the proposed cluster-head and relay-node rotation algorithms in a precise and controlled manner. Moreover, MATLAB’s advanced visualisation tools offer a clear means for comparing the performance of different quality of service (QoS) metrics, such as energy consumption, network lifetime, and throughput—metrics that are crucial for assessing the effectiveness of the proposed methods.
The choice of MATLAB as the simulation environment is not arbitrary but is instead keeping in view its wide use for evaluating state-of-the-art protocols, such as RLEACH, CRPFCM, and EERPMS. This consistency across studies facilitated a fair and reliable comparison between the proposed methods and existing techniques, ensuring that the novel contributions of this research are accurately evaluated against established approaches.
The evaluation metrics used in this study, i.e., energy consumption, network lifetime, and throughput—are central to the performance assessment of WSN-based IoT systems, particularly in the context of heterogeneous sensor networks. These metrics were chosen due to their direct correlation with the main objectives of the study, i.e., improving energy efficiency, extending the operational lifespan of the network, and maximising the amount of data successfully transmitted to the base station.

5.1. Intra-Cluster Communication

The simulation parameters employed throughout the experiments to evaluate the performance of the proposed cluster-head rotation method are summarised in Table 1. The proposed method is first tested using clusters composed of three and five nodes, each with heterogeneous initial energy levels ranging from 0.05 J to 0.2 J, ensuring that the total energy of nodes within each cluster is 0.5 J. Additionally, the nodes are assumed to generate data packets of varying sizes within the range of 1000 bits to 8000 bits. The proposed heterogeneity model ensures that the total data transmitted in one cycle by all nodes in a cluster equals 20,000 bits.

5.1.1. Comparison of Residual Energy

In this experiment, the residual energy of each node was compared to assess the energy efficiency of the proposed intra-cluster communication scheme, which utilises a cluster-head rotation approach. Figure 10 illustrates the comparison of the residual energies of nodes during intra-cluster communication, contrasting the proposed rotation method (Figure 10a) with the traditional rotation method (Figure 10b) for a cluster consisting of three nodes.
The traditional rotation method demonstrates a rapid depletion of energy, with the first node in the cluster exhausting its energy after 194 cycles of data transmission. The last node in the cluster depletes its energy after 360 cycles. This disparity in energy depletion imposes limitations on the cluster’s lifetime and coverage, with a notable impact on first node death scale, thereby reducing stability.
In contrast, the proposed cluster-head rotation scheme significantly extends the lifespan of the network. The first node’s energy depletion is delayed until 298 cycles, with the nodes exhibiting converging behaviour in their energy consumption. This convergence indicates improved stability and more efficient utilisation of available energy, thereby prolonging the network’s operation.
Figure 11 presents results consistent with those observed in Figure 10, demonstrating the effectiveness of the proposed cluster-head rotation scheme as the number of nodes in the cluster increases to five. These results validate the scalability of the proposed method, confirming that it can efficiently manage energy consumption across larger clusters while maintaining balanced energy utilisation and extended network lifetime.
The experiments conducted with clusters of nodes n = 3 and n = 5 were specifically chosen to illustrate the scalable and adaptable behaviour of the proposed cluster-head rotation method across different network sizes. These two configurations effectively represent small and moderately sized clusters, which are typical in many HWSN-based IoT applications. By focusing on these scenarios, the experiments provide a clear demonstration of the method’s capacity to manage energy efficiently and extend network lifetime within smaller-scale deployments, where resource constraints are critical.
The choice of n = 3 and n = 5 is sufficient for assessing the proposed method’s performance because they offer a simplified testing ground. These cluster sizes allow for detailed observation of energy consumption patterns and the benefits of the proposed rotation scheme in a controlled environment. The results show significant improvements in energy management, as seen through the extended network lifespan and balanced energy utilisation, even as the cluster size increases from three to five nodes. It is clear that these results can easily be extended to other cluster sizes.
Additionally, these experiments serve as an initial demonstration of the proposed method’s scalability. The consistent outcomes across both configurations suggest that the proposed approach can maintain energy efficiency and stability, even as the network scales up. This lays the groundwork for the full-scale network simulations presented in subsequent sections, where larger and more complex network topology of full networks is examined. By first testing on smaller clusters, the experiments provide foundational evidence of the method’s adaptability, ensuring that the insights gained here translate into larger network scenarios.
Thus, the use of n = 3 and n = 5 clusters is not only adequate but also effective. It offers a clear, focused analysis of the proposed method before introducing the complexities of larger network simulations. These smaller-scale experiments provide crucial validation of the method’s core principles, which are further substantiated when applied to larger networks later in the study.
To compare the unused energy of nodes before the cluster reaches the end full effectiveness (i.e., at least one node is dead), a comparison of the average and total remaining energy of the cluster during each cycle of data transmission before the death of the first node is presented in Figure 12 and Figure 13, respectively, for both scenarios, with n = 3 and n = 5. The results confirm that 33.47% of the total initial energy is still unused in a cluster of three nodes before the cluster becomes ineffective with the death of the first node in the 198th cycle. Similarly, 62.30% of the average residual energy is unused in a cluster of five nodes before the death of first node in the 103rd cycle.

5.1.2. Average Energy Consumption

Average energy consumption of nodes within a cluster is an important criterion in terms of stable operation of the cluster. To evaluate this, the proposed cluster-head rotation scheme was compared against both the traditional rotation scheme and the method with no cluster-head role rotation. As shown in Figure 14, the proposed rotation scheme ensures relatively stable energy consumption, effectively utilising the available energy throughout the cluster’s operation.
In contrast, the traditional rotation scheme results in fluctuating energy consumption values, due to early node failures and demonstrating its inefficiency in managing the energy consumption balance. On the other hand, the fixed cluster-head method maintains a steady energy consumption rate until the first node dies, at which point the cluster’s overall energy efficiency drops. Notably, both the traditional rotation and fixed cluster-head methods continue to operate even after the first node’s death, leading to a complete waste of energy since no further throughput is transmitted to the base station.

5.1.3. Throughput to the BS

The effectiveness of a heterogeneous WSN-based IoT system is evaluated by the amount of data collected and delivered to the base station. Figure 15 compares the throughput achieved in various cluster-head rotation schemes, for clusters with both three and five nodes.
The results in Figure 15a show that the proposed cluster-head rotation method significantly outperforms both the fixed cluster-head and traditional cluster-head rotation schemes. Specifically, it delivers a 50% increase in throughput compared to the fixed cluster-head scheme and a 7.1% increase over the traditional cluster-head rotation method when n = 3. For n = 5, the proposed method achieves an even more substantial improvement, yielding a 125% and 13% increase in throughput compared to the fixed and traditional rotation methods, respectively as shown in Figure 16.
These results clearly demonstrate the superiority of the proposed cluster-head rotation scheme in terms of data transmission efficiency to the base station.

5.1.4. Network Lifetime Achieved by Intra-Cluster Communication

This experiment explores the efficient utilisation of heterogeneous node resources in small-scale networks, where multi-hop routing may not be necessary for communication between cluster heads and the base station. Figure 17 highlights the performance of the proposed method in extending the lifetime of each node within a cluster compared to the fixed cluster-head and traditional cluster-head rotation schemes.
Without any rotation, the difference between the death of the first and last node is the most noticeable, with significant variations between nodes. However, this difference is reduced with the traditional rotation method and further minimised with the proposed rotation scheme. For n = 3, the difference between the first and last node’s death decreases from 417 cycles to 165 cycles when using traditional rotation, while the proposed method achieves a near-equal node lifespan. For n = 5, the difference in node death reduces from 415 cycles to 294 cycles with traditional rotation, and the proposed method narrows this further, with only 8 cycles difference between the first and last node’s death.
Figure 18 summarises the overall cluster lifetime, comparing the first node death (FND) and last node death (LND) across the different schemes. The proposed cluster-head rotation method notably enhances the cluster’s lifetime on the FND scale while also maintaining stable performance. This makes it particularly suitable for scenarios requiring consistent and reliable operation, ensuring the cluster operates efficiently even as nodes approach their energy depletion.

5.2. Inter-Cluster Communication

The performance of the proposed inter-cluster communication method, based on relay-node selection and rotation, was evaluated using the parameters shown in Table 2. The network was tested with 100 nodes uniformly randomly distributed, each having heterogeneous initial energy ranging from 0.5 J to 2 J, with the total energy of the network set at 100 J. Similarly, nodes generated data packets ranging from 1000 bits to 4000 bits, maintaining a total of 200,000 bits transmitted across the network.

5.2.1. Network Lifetime and Remaining Energy of Each Node

The proposed relay-node rotation method has been evaluated for its impact on network lifetime, specifically considering the variable initial energy levels of the nodes. Figure 19 demonstrates the residual energy of each node after each round of operation. The term ‘round’ refers to a complete cycle of sensing and data transmission to the cluster head, followed by data transmission from the cluster head to the base station via multi-hop communication.
In Figure 19a, for an alpha value of 0.6, the proposed relay-node rotation scheme achieves an intra-cluster energy balance. Despite this, the first node dies after 2602 rounds, while the last node dies at 2890 rounds. When the alpha value is increased to 0.7 (Figure 19b), there is a noticeable improvement in the network’s stability and convergence of node lifetimes. Specifically, the first node death (FND) is delayed to the 2703rd round, while the last node death (LND) occurs at the 2830th round. These results illustrate the flexibility of the proposed scheme in adjusting the frequency of relay-node rotation based on network requirements, leading to enhanced energy balance and prolonged network operation.

5.3. Overall Performance Evaluation

This section evaluates the overall effectiveness of the proposed cluster-head rotation and balanced inter-cluster communication methods. Performance is assessed in terms of residual energy, network lifetime, and throughput delivered to the base station with state-of-the-art methods, i.e., RLEACH [55], CRPFCM [56,57], and EERPMS [57].

5.3.1. Overall Residual Energy of the Network

As shown in Figure 20, the proposed method significantly outperforms other methods in terms of residual energy. This is primarily due to the careful selection of relay nodes and the minimisation of energy consumption during inter-cluster communication. In particular, the proposed method maintains higher residual energy compared to RLEACH, CRPFCM, and EERPMS, thereby ensuring prolonged network effectiveness.
In heterogeneous sensor networks, cluster heads consume significantly more energy than normal nodes due to additional responsibilities such as data aggregation and relaying. As a result, they deplete their energy more quickly. However, by considering nodes with greater resources for relaying operations and minimizing overall energy consumption, the proposed method efficiently balances the network load and extends the operational lifetime of the network.

5.3.2. Overall Network Lifetime

Network lifetime is a critical performance metric, often measured in terms of the number of rounds until the first node dies (FND), half the nodes die (HND), or the last node dies (LND). Figure 21 illustrates the survival rate of nodes over the network’s operational period. The proposed method significantly extends the network lifetime on both the FND and LND scales, as shown in Figure 22.
Specifically, the proposed method increases the number of rounds before the first node dies (FND) to 2702, compared to just 568 rounds for RLEACH, 588 rounds for CRPFCM, and 892 rounds for EERPMS (Figure 22a). Similarly, the proposed method extends the network lifetime on the LND scale to 2830 rounds, compared to 1019 rounds for RLEACH, 1614 rounds for CRPFCM, and 2077 rounds for EERPMS (Figure 22b).
This significant improvement in network lifetime can be attributed to the proposed method’s ability to maintain energy balance across the network, particularly by evenly distributing energy-intensive tasks such as data aggregation and relaying across nodes with higher residual energy.

5.3.3. Throughput to Base Station

In the context of heterogeneous wireless sensor networks (HWSNs) deployed within IoT systems, throughput is a crucial performance indicator. It represents the total volume of data successfully gathered by the sensor nodes and transmitted to the base station [58]. Given the integrity of data collected and transmission in IoT applications, evaluating throughput provides valuable insight into the overall efficiency of energy-conscious routing protocols, which are integral to maintaining network longevity and reliability.
Figure 23 illustrates the comparison between the proposed balanced-energy routing scheme, which incorporates both cluster-head rotation and relay-node rotation, and state-of-the-art protocols such as RLEACH [55], CRPFCM [56,57], and EERPMS [57]. The results demonstrate that the proposed method achieves a significant increase in throughput, outperforming its peers across all tested scenarios. Specifically, the proposed method shows a 17.63% higher data packet delivery rate compared to EERPMS [57], a protocol designed for energy efficiency and routing in heterogeneous networks. This substantial improvement can be attributed to the more dynamic role-rotation strategies employed by the proposed method, which ensure that cluster heads and relay nodes are selected based not only on their residual energy but also on their location and data generation characteristics, leading to optimal energy utilization.
Moreover, when comparing the proposed method with CRPFCM [56,57] and RLEACH [55], the throughput increase is even more noticeable. The proposed method delivers 51.75% more data packets than CRPFCM and 57.44% more than RLEACH. These enhancements can be critically examined in light of the shortcomings in the competing protocols. RLEACH, for instance, primarily focuses on random and periodic rotation of cluster heads without sufficient consideration of heterogeneity in node energy levels or traffic loads, which often leads to uneven energy depletion and reduced network effectiveness. CRPFCM, while incorporating fuzzy clustering techniques, lacks the fine-tuned balance between intra-cluster and inter-cluster communication, particularly in large-scale heterogeneous networks. This limitation results in suboptimal data transmission rates and premature exhaustion of energy in certain nodes, particularly cluster heads.
The significant improvement in throughput achieved by the proposed method underscores the importance of a multi-layered approach to energy management in HWSNs. By balancing energy consumption not only within clusters but also across clusters through relay-node rotation, the method ensures that the network remains operational for longer periods, allowing more data to be transmitted to the base station before nodes start to fail. Furthermore, the incorporation of flexible relay-node selection criteria, based on both distance and energy considerations, minimises the energy overhead associated with multi-hop communication, further contributing to the enhanced throughput.
These results highlight the efficacy of the proposed method in addressing the key challenges of energy efficiency and data transmission in heterogeneous IoT networks. The ability to deliver significantly more data packets while maintaining balanced energy consumption across the network is a critical advantage, particularly in scenarios where large-scale data collection and long network lifetimes are paramount.

6. Conclusions and Future Scope

In this paper, cluster-head and relay-node rotation-based balanced energy routing for the IoT-based HWSNs is proposed. The proposed cluster-head rotation method addresses the challenges of energy balance and extended network lifetime in intra-cluster communication, even in scenarios involving multi-parameter and multi-level heterogeneity. The simulation results validate consistent performance by the cluster-head rotation method for n -level of heterogeneity according to proposed multi-level heterogeneity model.
Additionally, a condition between direct and multi-hop inter-cluster communication is determined and a method proposed to compute the optimum region for the choice of next-hop relay in the case when multi-hop inter-cluster communication is energy efficient. A novel balanced energy relay-node rotation algorithm is also introduced to ensure energy-efficient operation in inter-cluster communication, thereby extending both network lifetime and throughput.
The performance of the proposed cluster-head rotation is compared with fixed cluster-head as well as traditional cluster-head rotation schemes that do not account for appropriate exploitation of the heterogeneity factor and the minimum energy consumption rate. The proposed cluster-head rotation method demonstrates effective utilisation of available energy with increased throughput and enhanced network lifetime of the nodes in a cluster. Moreover, the optimum choice of relay-node and periodic rotation of the relay role among nodes in the given energy-efficient region extends overall network lifetime, stability, energy efficiency, and throughput, as compared to RLEACH, CRPFCM, and EERPMS.
The use of mobile nodes has recently been introduced in IoT-based sensor networks to further their applications. This introduces the challenges of robust and reliable connectivity and therefore data exchange. Thus, we intend to investigate the ways in which more real-life scenarios of mobility can be introduced into IoT-based heterogeneous wireless sensor networks.

Author Contributions

Conceptualization, T.S.; methodology, T.S., A.-H.S. and A.A.; software, T.S.; validation, T.S.; formal analysis, T.S., A.-H.S. and A.A.; investigation, T.S.; resources, T.S.; data curation, T.S.; writing—original draft preparation, T.S., A.-H.S. and A.A.; writing—review and editing, A.-H.S., A.A., D.M.R. and L.U.; visualization, D.M.R. and L.U.; supervision, A.-H.S. and A.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

There are no data to be made available.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Alahi, E.E.; Sukkuea, A.; Tina, F.W.; Nag, A.; Kurdthongmee, W.; Suwannarat, K.; Mukhopadhyay, S.C. Integration of IoT-Enabled Technologies and Artificial Intelligence (AI) for Smart City Scenario: Recent Advancements and Future Trends. Sensors 2023, 23, 5206. [Google Scholar] [CrossRef]
  2. Oh, J.; Yu, S.; Lee, J.; Son, S.; Kim, M.; Park, Y. A Secure and Lightweight Authentication Protocol for IoT-Based Smart Homes. Sensors 2021, 21, 1488. [Google Scholar] [CrossRef]
  3. Sinche, S.; Raposo, D.; Armando, N.; Rodrigues, A.; Boavida, F.; Pereira, V.; Silva, J.S. A Survey of IoT Management Protocols and Frameworks. IEEE Commun. Surv. Tutor. 2020, 22, 1168–1190. [Google Scholar] [CrossRef]
  4. Houssein, E.H.; Saad, M.R.; Hussain, K.; Zhu, W.; Shaban, H.; Hassaballah, M. Optimal Sink Node Placement in Large Scale Wireless Sensor Networks Based on Harris’ Hawk Optimization Algorithm. IEEE Access 2020, 8, 19381–19397. [Google Scholar] [CrossRef]
  5. Shahraki, A.; Taherkordi, A.; Haugen, Ø.; Eliassen, F. A Survey and Future Directions on Clustering: From WSNs to IoT and Modern Networking Paradigms. IEEE Trans. Netw. Serv. Manag. 2021, 18, 2242–2274. [Google Scholar] [CrossRef]
  6. Hassan, A.A.-H.; Shah, W.M.; Habeb, A.-H.H.; Othman, M.F.I.; Al-Mhiqani, M.N. An Improved Energy-Efficient Clustering Protocol to Prolong the Lifetime of the WSN-Based IoT. IEEE Access 2020, 8, 200500–200517. [Google Scholar] [CrossRef]
  7. Reddy, V.; Gayathri, P. Integration of internet of things with wireless sensor network. Int. J. Electr. Comput. Eng. 2019, 9, 439–444. [Google Scholar] [CrossRef]
  8. Wang, J.; Du, Z.; He, Z.; Wang, X. A Cluster-Head Rotating Election Routing Protocol for Energy Consumption Optimization in Wireless Sensor Networks. Complexity 2020, 2020, 6660117. [Google Scholar] [CrossRef]
  9. Zhang, Z.; Qi, S.; Li, S. Marine Observation Beacon Clustering and Recycling Technology Based on Wireless Sensor Networks. Sensors 2019, 19, 3726. [Google Scholar] [CrossRef]
  10. Mehmood, A.; Lv, Z.; Lloret, J.; Umar, M.M. ELDC: An Artificial Neural Network Based Energy-Efficient and Robust Routing Scheme for Pollution Monitoring in WSNs. IEEE Trans. Emerg. Top. Comput. 2020, 8, 106–114. [Google Scholar] [CrossRef]
  11. Naveen, J.; Alphonse, P.J.A.; Chinnasamy, S. 3D grid clustering scheme for wireless sensor networks. J. Supercomput. 2020, 76, 4199–4211. [Google Scholar] [CrossRef]
  12. Lee, C.; Kim, S.-L. Most Efficient Sensor Network Protocol for a Permanent Natural Disaster Monitoring System. IEEE Internet Things J. 2021, 8, 11776–11792. [Google Scholar] [CrossRef]
  13. Din, M.S.U.; Rehman, M.A.U.; Ullah, R.; Park, C.-W.; Kim, B.S. Towards Network Lifetime Enhancement of Resource Constrained IoT Devices in Heterogeneous Wireless Sensor Networks. Sensors 2020, 20, 4156. [Google Scholar] [CrossRef]
  14. Xu, Y.; Jiao, W.; Tian, M. An Energy-Efficient Routing Protocol for 3D Wireless Sensor Networks. IEEE Sens. J. 2021, 21, 19550–19559. [Google Scholar] [CrossRef]
  15. Shafique, T.; Soliman, A.-H.; Amjad, A. Data Traffic Based Shape Independent Adaptive Unequal Clustering for Heterogeneous Wireless Sensor Networks. IEEE Access 2024, 12, 46422–46443. [Google Scholar] [CrossRef]
  16. Shafique, T.; Gantassi, R.; Soliman, A.H.; Amjad, A.; Hui, Z.-Q.; Choi, Y. A review of Energy Hole mitigating techniques in multi-hop many to one communication and its significance in IoT oriented Smart City infrastructure. IEEE Access 2023, 11, 121340–121367. [Google Scholar] [CrossRef]
  17. Wang, M.; Zeng, J. Hierarchical Clustering Nodes Collaborative Scheduling in Wireless Sensor Network. IEEE Sens. J. 2022, 22, 1786–1798. [Google Scholar] [CrossRef]
  18. Wang, Q.; Guo, S.; Hu, J.; Yang, Y. Spectral partitioning and fuzzy C-means based clustering algorithm for big data wireless sensor networks. J. Wirel. Com. Netw. 2018, 2018, 54. [Google Scholar] [CrossRef]
  19. Chaurasiya, S.K.; Mondal, S.; Biswas, A.; Nayyar, A.; Shah, M.A.; Banerjee, R. An Energy-Efficient Hybrid Clustering Technique (EEHCT) for IoT-Based Multilevel Heterogeneous Wireless Sensor Networks. IEEE Access 2023, 11, 25941–25958. [Google Scholar] [CrossRef]
  20. Gong, Y.; Guo, X.; Lai, G. A Centralized Energy-Efficient Clustering Protocol for Wireless Sensor Networks. IEEE Sens. J. 2023, 23, 1623–1634. [Google Scholar] [CrossRef]
  21. Pachlor, R.; Shrimankar, D. LAR-CH: A Cluster-Head Rotation Approach for Sensor Networks. IEEE Sens. J. 2018, 18, 9821–9828. [Google Scholar] [CrossRef]
  22. Choudhury, N.; Matam, R.; Mukherjee, M.; Lloret, J.; Kalaimannan, E. NCHR: A Nonthreshold-Based Cluster-Head Rotation Scheme for IEEE 802.15.4 Cluster-Tree Networks. IEEE Internet Things J. 2021, 8, 168–178. [Google Scholar] [CrossRef]
  23. Elsmany, E.F.A.; Omar, M.A.; Wan, T.-C.; Altahir, A.A. EESRA: Energy Efficient Scalable Routing Algorithm for Wireless Sensor Networks. IEEE Access 2019, 7, 96974–96983. [Google Scholar] [CrossRef]
  24. Ferng, H.-W.; Chuang, J.-S. Area-partitioned clustering and cluster head rotation for wireless sensor networks. In Proceedings of the International Conference on Machine Learning and Cybernetics (ICMLC), Ningbo, China, 9–12 July 2017; pp. 593–598. [Google Scholar] [CrossRef]
  25. Chaurasiya, S.K.; Sen, J.; Chaterjee, S.; Bit, S.D. An energy-balanced lifetime enhancing clustering for WSN (EBLEC). In Proceedings of the 2012 14th International Conference on Advanced Communication Technology (ICACT), PyeongChang, Republic of Korea, 19–22 February 2012. [Google Scholar]
  26. Wahdan, M.A.; Al-Mistarihi, M.F.; Shurman, M. Static cluster and dynamic cluster head (SCDCH) adaptive prediction-based algorithm for target tracking in wireless sensor networks. In Proceedings of the 2015 38th International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), Opatija, Croatia, 25–29 May 2015; pp. 596–600. [Google Scholar] [CrossRef]
  27. 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. 10 pp. vol.2–. [Google Scholar] [CrossRef]
  28. Heinzelman, W.B.; Chandrakasan, A.P.; Balakrishnan, H. An application-specific protocol architecture for wireless microsensor networks. IEEE Trans. Wirel. Commun. 2002, 1, 660–670. [Google Scholar] [CrossRef]
  29. Younis, O.; Fahmy, S. HEED: A hybrid, energy-efficient, distributed clustering approach for ad hoc sensor networks. IEEE Trans. Mob. Comput. 2004, 3, 366–379. [Google Scholar] [CrossRef]
  30. Smaragdakis, G.; Matta, I.; Bestavros, A. SEP: A Stable Election Protocol for Clustered Heterogeneous Wireless Sensor Networks; Boston University Computer Science Department: Boston, MA, USA, 2004. [Google Scholar]
  31. 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]
  32. Micheletti, M.; Mostarda, L.; Piermarteri, A. Rotating Energy Efficient Clustering for Heterogeneous Devices (REECHD). In Proceedings of the 2018 IEEE 32nd International Conference on Advanced Information Networking and Applications (AINA), Krakow, Poland, 16–18 May 2018; pp. 213–220. [Google Scholar] [CrossRef]
  33. Singh, S.K.; Kumar, P.; Singh, J.P. A Survey on Successors of LEACH Protocol. IEEE Access 2017, 5, 4298–4328. [Google Scholar] [CrossRef]
  34. Xu, L.; Collier, R.; O’Hare, G.M.P. A Survey of Clustering Techniques in WSNs and Consideration of the Challenges of Applying Such to 5G IoT Scenarios. IEEE Internet Things J. 2017, 4, 1229–1249. [Google Scholar] [CrossRef]
  35. Daneshvar, S.M.M.H.; Mazinani, S.M. On the Best Fitness Function for the WSN Lifetime Maximization: A Solution Based on a Modified Salp Swarm Algorithm for Centralized Clustering and Routing. IEEE Trans. Netw. Serv. Manag. 2023, 20, 4244–4254. [Google Scholar] [CrossRef]
  36. Naeem, A.; Javed, A.R.; Rizwan, M.; Abbas, S.; Lin, J.C.-W.; Gadekallu, T.R. DARE-SEP: A Hybrid Approach of Distance Aware Residual Energy-Efficient SEP for WSN. IEEE Trans. Green Commun. Netw. 2021, 5, 611–621. [Google Scholar] [CrossRef]
  37. Hossan, A.; Choudhury, P.K. DE-SEP: Distance and Energy Aware Stable Election Routing Protocol for Heterogeneous Wireless Sensor Network. IEEE Access 2022, 10, 55726–55738. [Google Scholar] [CrossRef]
  38. Priyadarshi, R.; Rawat, P.; Nath, V.; Acharya, B.; Shylashree, N. Three level heterogeneous clustering protocol for wireless sensor network. Microsyst. Technol. 2020, 26, 3855–3864. [Google Scholar] [CrossRef]
  39. Behera, T.M.; Mohapatra, S.K.; Samal, U.C.; Khan, M.S. Hybrid heterogeneous routing scheme for improved network performance in WSNs for animal tracking. Internet Things 2019, 6, 100047. [Google Scholar] [CrossRef]
  40. Gherbi, C.; Doudou, R.; Aliouat, Z. Energy dissipation and Load balancing in self-organized heterogeneous WSN for e-applications. In Proceedings of the 2021 International Conference on Information Systems and Advanced Technologies (ICISAT), Tebessa, Algeria, 27–28 December 2021; pp. 1–4. [Google Scholar] [CrossRef]
  41. Kumar, N.; Rani, P.; Kumar, V.; Athawale, S.V.; Koundal, D. THWSN: Enhanced Energy-Efficient Clustering Approach for Three-Tier Heterogeneous Wireless Sensor Networks. IEEE Sens. J. 2022, 22, 20053–20062. [Google Scholar] [CrossRef]
  42. Elbhiri, B.; Saadane, R.; Aboutajdine, D. Developed Distributed Energy-Efficient Clustering (DDEEC) for heterogeneous wireless sensor networks. In Proceedings of the 2010 5th International Symposium on I/V Communications and Mobile Network (ISVC), Rabat, Morocco, 30 September–2 October 2010; pp. 1–4. [Google Scholar]
  43. Saini, P.; Sharma, A.K. E-DEEC—Enhanced Distributed Energy Efficient Clustering scheme for heterogeneous WSN. In Proceedings of the 2010 First International Conference on Parallel, Distributed and Grid Computing (PDGC 2010), Solan, India, 28–30 October 2010; pp. 205–210. [Google Scholar] [CrossRef]
  44. Javaid, N.; Qureshi, T.N.; Khan, A.H.; Iqbal, A.; Akhtar, E.; Ishfaq, M. EDDEEC: Enhanced developed distributed energy-efficient clustering for heterogeneous wireless sensor networks. Procedia Comput. Sci. 2013, 19, 914–919. [Google Scholar] [CrossRef]
  45. Mittal, N.; Singh, U. Distance-Based Residual Energy-Efficient Stable Election Protocol for WSNs. Arab. J. Sci. Eng. 2015, 40, 1637–1646. [Google Scholar] [CrossRef]
  46. Qureshi, T.N.; Javaid, N.; Khan, A.H.; Iqbal, A.; Akhtar, E.; Ishfaq, M. BEENISH: Balanced Energy Efficient Network Integrated Super Heterogeneous Protocol for Wireless Sensor Networks. Procedia Comput. Sci. 2013, 19, 920–925. [Google Scholar] [CrossRef]
  47. Yu, J.; Qi, Y.; Wang, G. An energy-driven unequal clustering protocol for heterogeneous wireless sensor networks. J. Control. Theory Appl. 2011, 9, 133–139. [Google Scholar] [CrossRef]
  48. Chand, S.; Singh, S.; Kumar, B. Heterogeneous HEED Protocol for Wireless Sensor Networks. Wirel. Pers Commun 2014, 77, 2117–2139. [Google Scholar] [CrossRef]
  49. Singh, S.; Chand, S.; Kumar, B. Energy Efficient Clustering Protocol Using Fuzzy Logic for Heterogeneous WSNs. Wirel. Pers Commun. 2016, 86, 451–475. [Google Scholar] [CrossRef]
  50. Singh, S.; Malik, A.; Kumar, R. Energy efficient heterogeneous DEEC protocol for enhancing lifetime in WSNs. Eng. Sci. Technol. Int. J. 2017, 20, 345–353. [Google Scholar] [CrossRef]
  51. Singh, S. Energy efficient multilevel network model for heterogeneous WSNs. Eng. Sci. Technol. Int. J. 2017, 20, 105–115. [Google Scholar] [CrossRef]
  52. Abdul-Qawy, A.S.H.; Nasser, A.B.; Guroob, A.H.; Saad, A.-M.H.Y.; Alduais, N.A.M.; Khatri, N. TEMSEP: Threshold-Oriented and Energy-Harvesting Enabled Multilevel SEP Protocol for Improving Energy-Efficiency of Heterogeneous WSNs. IEEE Access 2021, 9, 154975–155002. [Google Scholar] [CrossRef]
  53. Lewandowski, M.; Płaczek, B. An Event-Aware Cluster-Head Rotation Algorithm for Extending Lifetime of Wireless Sensor Network with Smart Nodes. Sensors 2019, 19, 4060. [Google Scholar] [CrossRef] [PubMed]
  54. Ullah, F.; Khan, M.Z.; Faisal, M.; Rehman, H.U.; Abbas, S.; Mubarek, F.S. An Energy Efficient and Reliable Routing Scheme to enhance the stability period in Wireless Body Area Networks. Comput. Commun. 2021, 165, 20–32. [Google Scholar] [CrossRef]
  55. Behera, T.M.; Mohapatra, S.K.; Samal, U.C.; Khan, M.S.; Daneshmand, M.; Gandomi, A.H. Residual Energy-Based Cluster-Head Selection in WSNs for IoT Application. IEEE Internet Things J. 2019, 6, 5132–5139. [Google Scholar] [CrossRef]
  56. Panchal, A.; Singh, R.K. EHCR-FCM: Energy Efficient Hierarchical Clustering and Routing using Fuzzy C-Means for Wireless Sensor Networks. Telecommun. Syst. 2021, 76, 251–263. [Google Scholar] [CrossRef]
  57. Yao, Y.-D.; Li, X.; Cui, Y.-P.; Wang, J.-J.; Wang, C. Energy-Efficient Routing Protocol Based on Multi-Threshold Segmentation in Wireless Sensors Networks for Precision Agriculture. IEEE Sens. J. 2022, 22, 6216–6231. [Google Scholar] [CrossRef]
  58. Xu, L.; O’Hare, G.M.P.; Collier, R. A Smart and Balanced Energy-Efficient Multihop Clustering Algorithm (Smart-BEEM) for MIMO IoT Systems in Future Networks †. Sensors 2017, 17, 1574. [Google Scholar] [CrossRef]
Figure 1. HWSN-based IoT infrastructure.
Figure 1. HWSN-based IoT infrastructure.
Sensors 24 05642 g001
Figure 2. Multi-parameter and multi-level heterogeneous wireless sensor network.
Figure 2. Multi-parameter and multi-level heterogeneous wireless sensor network.
Sensors 24 05642 g002
Figure 3. Residual energy of nodes in a WSN with varying scenarios of roles; (a) Homogeneous energy nodes have fixed roles; (b) Homogeneous energy nodes have rotating roles; (c) Heterogeneous energy nodes have fixed roles; (d) Heterogeneous energy nodes with uncoordinated role rotation; (e) Heterogeneous energy nodes with coordinated role rotation.
Figure 3. Residual energy of nodes in a WSN with varying scenarios of roles; (a) Homogeneous energy nodes have fixed roles; (b) Homogeneous energy nodes have rotating roles; (c) Heterogeneous energy nodes have fixed roles; (d) Heterogeneous energy nodes with uncoordinated role rotation; (e) Heterogeneous energy nodes with coordinated role rotation.
Sensors 24 05642 g003
Figure 4. Variation in residual energy of nodes in a WSN with multi-parameter heterogeneity and role rotation; (a) Heterogeneous nodes with fixed roles; (b) Heterogeneous nodes with uncoordinated role rotation; (c) Heterogeneous nodes with coordinated role rotation.
Figure 4. Variation in residual energy of nodes in a WSN with multi-parameter heterogeneity and role rotation; (a) Heterogeneous nodes with fixed roles; (b) Heterogeneous nodes with uncoordinated role rotation; (c) Heterogeneous nodes with coordinated role rotation.
Sensors 24 05642 g004
Figure 5. Pairwise—distance calculations between each node.
Figure 5. Pairwise—distance calculations between each node.
Sensors 24 05642 g005
Figure 6. Flow chart of proposed cluster-head rotation scheme.
Figure 6. Flow chart of proposed cluster-head rotation scheme.
Sensors 24 05642 g006
Figure 7. Multi-hop inter-cluster routing to transmit data to BS.
Figure 7. Multi-hop inter-cluster routing to transmit data to BS.
Sensors 24 05642 g007
Figure 8. Relay-node search region based on energy change.
Figure 8. Relay-node search region based on energy change.
Sensors 24 05642 g008
Figure 9. Flow chart of the proposed relay selection and rotation method.
Figure 9. Flow chart of the proposed relay selection and rotation method.
Sensors 24 05642 g009
Figure 10. Residual energy using the proposed cluster-head rotation scheme compared with the traditional method (n = 3); (a) Traditional rotation or node roles; (b) Proposed rotation of node roles; (c) Comparison of energy consumption of node 1; (d) Comparison of energy consumption of node 2; (e) Comparison of energy consumption of node 3.
Figure 10. Residual energy using the proposed cluster-head rotation scheme compared with the traditional method (n = 3); (a) Traditional rotation or node roles; (b) Proposed rotation of node roles; (c) Comparison of energy consumption of node 1; (d) Comparison of energy consumption of node 2; (e) Comparison of energy consumption of node 3.
Sensors 24 05642 g010
Figure 11. Residual energy using the proposed cluster-head rotation scheme compared with the traditional rotation (n = 5); (a) Traditional rotation of node roles; (b) Proposed rotation of node roles; (c) Comparison of energy consumption of node 1; (d) Comparison of energy consumption of node 2; (e) Comparison of energy consumption of node 3; (f) Comparison of energy consumption of node 4; (g) Comparison of energy consumption of node 4.
Figure 11. Residual energy using the proposed cluster-head rotation scheme compared with the traditional rotation (n = 5); (a) Traditional rotation of node roles; (b) Proposed rotation of node roles; (c) Comparison of energy consumption of node 1; (d) Comparison of energy consumption of node 2; (e) Comparison of energy consumption of node 3; (f) Comparison of energy consumption of node 4; (g) Comparison of energy consumption of node 4.
Sensors 24 05642 g011
Figure 12. Comparison of average residual energy of nodes in a cluster. (a) Number of nodes n = 3; (b) Number of nodes n = 5.
Figure 12. Comparison of average residual energy of nodes in a cluster. (a) Number of nodes n = 3; (b) Number of nodes n = 5.
Sensors 24 05642 g012
Figure 13. Comparison of total remaining energy of nodes in a cluster; (a) Number of nodes n = 3; (b) Number of nodes n = 5.
Figure 13. Comparison of total remaining energy of nodes in a cluster; (a) Number of nodes n = 3; (b) Number of nodes n = 5.
Sensors 24 05642 g013
Figure 14. Average energy consumption of nodes within a cluster; (a) Number of nodes n = 3; (b) Number of nodes n = 5.
Figure 14. Average energy consumption of nodes within a cluster; (a) Number of nodes n = 3; (b) Number of nodes n = 5.
Sensors 24 05642 g014
Figure 15. Performance comparison in terms of throughput to BS against energy consumed; (a) Number of nodes n = 3; (b) Number of nodes n = 5.
Figure 15. Performance comparison in terms of throughput to BS against energy consumed; (a) Number of nodes n = 3; (b) Number of nodes n = 5.
Sensors 24 05642 g015
Figure 16. Performance comparison in terms of throughput to BS against the network lifetime; (a) Number of nodes n = 3; (b) Number of nodes n = 5.
Figure 16. Performance comparison in terms of throughput to BS against the network lifetime; (a) Number of nodes n = 3; (b) Number of nodes n = 5.
Sensors 24 05642 g016
Figure 17. Comparison of lifetime and stability; (a) Number of nodes n = 3; (b) Number of nodes n = 5.
Figure 17. Comparison of lifetime and stability; (a) Number of nodes n = 3; (b) Number of nodes n = 5.
Sensors 24 05642 g017
Figure 18. Comparison of overall cluster lifetime on (FND) and (LND) scales; (a) Number of nodes n = 3; (b) Number of nodes n = 5.
Figure 18. Comparison of overall cluster lifetime on (FND) and (LND) scales; (a) Number of nodes n = 3; (b) Number of nodes n = 5.
Sensors 24 05642 g018
Figure 19. Comparison of residual energy of nodes with the proposed relay-node rotation scheme: (a) alpha = 0.6; (b) alpha = 0.7.
Figure 19. Comparison of residual energy of nodes with the proposed relay-node rotation scheme: (a) alpha = 0.6; (b) alpha = 0.7.
Sensors 24 05642 g019
Figure 20. Comparison of residual energy of network.
Figure 20. Comparison of residual energy of network.
Sensors 24 05642 g020
Figure 21. Number of live nodes vs. number of rounds.
Figure 21. Number of live nodes vs. number of rounds.
Sensors 24 05642 g021
Figure 22. Comparison of overall network lifetime: (a) FND scale; (b) LND scale.
Figure 22. Comparison of overall network lifetime: (a) FND scale; (b) LND scale.
Sensors 24 05642 g022
Figure 23. Comparison of throughput to base station.
Figure 23. Comparison of throughput to base station.
Sensors 24 05642 g023
Table 1. Simulation parameters.
Table 1. Simulation parameters.
ParameterValue
Number of nodes (n)3 and 5
Range of heterogeneous initial energies of nodes(0.05−0.2) J
Total energy of nodes in a cluster0.5 J
Range of heterogeneous packet size (l)(1000−8000) bits
Total data transmitted by nodes in a cluster20,000 bits
Electronic circuitry ( E e l e c )50 nJ/bit/m2
Amplifier energy for free space ( ε f s )10 pJ/bit/m2
Amplifier energy for multipath ( ε m p )pJ/bit/m4
Table 2. Simulation parameters for inter-cluster communication.
Table 2. Simulation parameters for inter-cluster communication.
ParameterValue
Number of nodes (N)100
Range of heterogeneous initial energies of nodes(0.5−2) J
Total energy of nodes in the network100 J
Range of heterogeneous packet size (l)(1000−4000) bits
Total data transmitted by nodes in a transmission200,000 bits
Electronic circuitry ( E e l e c )50 nJ/bit/m2
Amplifier energy for free space ( ε f s )10 pJ/bit/m2
Amplifier energy for multipath ( ε m p )0.14 pJ/bit/m4
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.

Share and Cite

MDPI and ACS Style

Shafique, T.; Soliman, A.-H.; Amjad, A.; Uden, L.; Roberts, D.M. Node Role Selection and Rotation Scheme for Energy Efficiency in Multi-Level IoT-Based Heterogeneous Wireless Sensor Networks (HWSNs). Sensors 2024, 24, 5642. https://doi.org/10.3390/s24175642

AMA Style

Shafique T, Soliman A-H, Amjad A, Uden L, Roberts DM. Node Role Selection and Rotation Scheme for Energy Efficiency in Multi-Level IoT-Based Heterogeneous Wireless Sensor Networks (HWSNs). Sensors. 2024; 24(17):5642. https://doi.org/10.3390/s24175642

Chicago/Turabian Style

Shafique, Tamoor, Abdel-Hamid Soliman, Anas Amjad, Lorna Uden, and Debi Marie Roberts. 2024. "Node Role Selection and Rotation Scheme for Energy Efficiency in Multi-Level IoT-Based Heterogeneous Wireless Sensor Networks (HWSNs)" Sensors 24, no. 17: 5642. https://doi.org/10.3390/s24175642

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop