1. Introduction
Communication technologies for the Internet of Things (IoT) primarily include wireless sensor networks (WSNs), wireless communication, mobile communication, and satellite remote sensing [
1]. A WSN consists of numerous sensor nodes that monitor various environmental information—such as temperature, humidity, sound, and radionuclides—and transmit the collected data to a Base Station (BS). The BS then sends this data to user terminals via wired or wireless means for further processing [
2]. However, sensor nodes are constrained by limited energy and bandwidth, and their batteries are often impractical to charge or replace [
3]. This makes energy efficiency the foremost challenge in WSNs. Layered routing protocols are a key technology in this field, and designing an efficient one is vital for improving node energy efficiency, reducing consumption, and extending network lifetime [
4].
The LEACH (Low Energy Adaptive Clustering Hierarchy) protocol is a classic adaptive clustering protocol and the first to perform data fusion within a hierarchical framework [
5]. To balance network energy consumption, LEACH randomly selects cluster head (CH) nodes in periodic rounds, with each round comprising a cluster establishment phase and a stable data transmission phase [
6]. This approach ensures that every node has an equal probability of serving as the CH, promoting relatively uniform energy consumption across the network and helping to extend its overall lifetime [
7].
1.1. Improvements in the Cluster Establishment Phase
However, the LEACH protocol is not without its shortcomings. A significant disadvantage lies in the randomness of its CH election function, which can lead to unbalanced energy consumption across network nodes and consequently shortening the overall network lifecycle. To address this, Xiong et al. [
8] effectively balanced energy consumption during CH election by introducing a triple optimization strategy involving high-order nodes, dynamic energy perception thresholds, and centralized computation at the BS, thereby mitigating the issue of concentrated node death. Nevertheless, this improved mechanism relies heavily on a pre-deployed heterogeneous network environment, limiting its applicability in common homogeneous networks. Similarly, Li et al. [
9] proposed a multi-factor CH election mechanism that incorporates energy, distance, and round number, permitting the re-election of high-energy nodes. Shi et al. [
10] also reconstructed the election threshold by introducing multiple operators and dynamically adjusted weights via a fuzzy analytic hierarchy process, constructing a multi-factor cost function for the clustering stage. While these studies exemplify a sophisticated approach, they depend on complex threshold functions and introduce considerably higher computational overhead, presenting a fundamental challenge for resource-constrained sensor nodes. Senturk [
11] integrated a three-layer feedforward neural network into the CH election process using node state parameters as input to achieve rapid election, which significantly enhanced decision efficiency and suitability for large-scale real-time networks. However, the offline training process for such a model demands substantial computational resources, and the resulting static model lacks an intrinsic mechanism to adapt to long-term network dynamics, such as persistent energy depletion. Thiagarajan et al. [
12] employed a particle swarm optimization (PSO) algorithm to dynamically select CHs based on energy and distance, aiming to equalize energy consumption within clusters. A limitation here is that the effectiveness of PSO is highly contingent on the careful tuning of its parameters (e.g., inertia weight, acceleration coefficients), and its performance may degrade in dynamic network environments, thus limiting its robustness and practicality. M. Revanesh et al. [
13] utilized an improved Levenberg–Marquardt neural network during cluster formation and introduced a sub-CH mechanism to distribute the load on the primary CH, effectively reducing intra-cluster energy consumption. Yet, the computational complexity of the neural network training leads to slow convergence in large-scale networks, and the signaling overhead required for dual-layer CH coordination can increase dramatically, potentially offsetting the energy savings gained from the structural improvements. Finally, Li et al. [
14] determined the optimal CH ratio by integrating an energy model with calculations for node transmission and data fusion energy consumption. They refined the CH election threshold formula using residual energy and distance factors and, during cluster formation, considered cluster scale density to prevent significant disparities in node count among clusters.
1.2. Improvements to Transmission Modes and Paths
A further limitation of the LEACH protocol lies in its data transmission mode, which is inefficient for long-distance communication. To address this, Mao et al. [
15] proposed a forwarding satisfaction function for the data transmission stage, which rapidly screens relay nodes based on their energy, distance, and angle to form an adaptive multi-hop chain, thereby alleviating the bottleneck of single-hop transmission. However, their node screening mechanism, which is reliant on fixed thresholds, lacks adaptability to dynamic network topologies and may lead to relay node overload. Wu et al. [
16] introduced a cuckoo search algorithm for the inter-cluster stage, constructing a satisfaction function based on energy and distance to achieve efficient multi-hop routing by rapidly iterating towards optimal relay nodes for extreme-value clusters. Founder [
17] employed an improved ant colony algorithm in inter-cluster transmission to dynamically plan multi-hop paths, updating pheromones according to path length and node energy to balance energy consumption. N. Meenakshi et al. [
18] proposed an eagle fragment optimization system based on passive clustering, which optimizes CH selection from multiple dimensions and constructs an optimal path to the BS using a wing ant-fly optimization algorithm to enhance energy efficiency and throughput. A drawback of this approach is that its path construction algorithm is prone to local optima, limiting its performance in large-scale, dynamic networks. Separately, Unalido Ntabeni et al. [
19] applied mean field game theory to dynamically adjust the transmission power of CHs during data transmission, although this work did not address the inherent randomness in the CH election process itself.
Although existing studies on the LEACH protocol have demonstrated improvements in CH quality by integrating metrics such as residual energy, node distribution density, and distance to the BS, a significant limitation persists. These strategies often overlook the dynamic operational characteristics of the network, including perpetual node energy decay, real-time topological shifts, and imbalanced load distribution across different areas, which jointly hinder the extension of network longevity. In the realm of routing optimization, the application of intelligent algorithms for path selection, while effective, shows limited adaptability when confronted with diverse network scales and application scenarios. Prevailing solutions are typically confined to localized refinements, focusing solely on isolated parameters like distance or energy and thus fall short of providing a holistic framework that synergizes the clustering mechanism with the routing strategy. Consequently, the co-operative relationship between cluster formation and multi-hop routing necessitates deeper exploration.
Based on our previous research, the LEACH-PM protocol [
20] significantly enhanced the performance of the classical LEACH protocol by introducing a uniform clustering mechanism and an election function that comprehensively considers both node residual energy and distance to the BS. This protocol demonstrates excellent energy consumption balance in small to medium-scale static network environments. However, its static cluster architecture based on fixed partitions struggles to adapt to dynamically changing topologies in large-scale networks, resulting in noticeable bottlenecks in scalability and energy efficiency.
Furthermore, many prevalent intelligent clustering approaches, such as K-means, primarily focus on optimizing the geometric distribution of nodes based on distance. This single-factor optimization often results in spatially balanced clusters that are nonetheless blind to energy status.
Based on the above overview, existing improvements mainly follow three approaches: those focusing solely on CH election, those concentrating only on routing-path optimization, and those that combine both. Methodologically, they range from heuristic algorithms to neural networks. The clustering and routing phases typically operate based on static snapshots of network conditions. This is the key reason why they struggle to adapt to large-scale networks with dynamically changing topologies.
To overcome this fundamental limitation and address other deficiencies in existing research, this paper proposes the LEACH-DR protocol. This innovative protocol deeply integrates the dynamic clustering capability of self-organizing neural networks with the intelligent routing optimization mechanism of the Fibonacci-inspired bee algorithm, establishing an adaptive solution tailored for large-scale network environments. The main contributions of this paper are as follows:
It proposes a dynamic clustering mechanism based on a Self-Organizing Map (SOM), which uses node distance, neighbor density, and residual energy as unified inputs. This forms energy-aware and topologically stable cluster structures capable of continuous self-adaptation, overcoming the instability of distance-only methods such as K-means.
We designed a dual-stage CH election scheme, comprising a weighted fitness function for optimal primary CH selection and a similarity-based alternative CH pre-deployment mechanism. This ensures service continuity and reduces data loss through seamless failover.
We developed a Fibonacci-inspired bee algorithm for state-aware, multi-hop routing between CHs and the base station. The algorithm dynamically optimizes paths, effectively solving the inefficient long-distance single-hop transmission problem of the LEACH protocol.
The rest of the paper is structured as follows:
Section 2 describes the relevant work,
Section 3 describes the protocol methodology for this study, the simulation and experimental results are presented in
Section 4, and finally,
Section 5 summarizes the paper.
3. Problem Description and Formulation
To clearly define the scope and objectives of our research, this section formally describes the network model, key assumptions, and the optimization goals that the proposed LEACH-DR protocol aims to achieve.
3.1. Network Model and Assumptions
The proposed protocol was developed based on a static and homogeneous WSN with the following model and assumptions:
A total of N sensor nodes are uniformly and randomly deployed in a square monitoring area of M × M (e.g., 500 m × 500 m).
- 2.
Node Homogeneity
All sensor nodes are homogeneous. They are assigned the same initial energy level and possess identical capabilities in sensing, processing, and communication.
- 3.
BS Configuration
A single stationary BS with fixed coordinates serves as the data sink. The BS operates with unrestricted power resources and sufficient computational capacity for protocol coordination.
- 4.
Node Capabilities
Each node can determine its spatial position through integrated localization systems and can perform dynamic transmission power adjustment based on real-time distance calculations.
- 5.
Energy Consumption Model
The first-order radio dissipation model (detailed in
Section 2.1.2,
Figure 2) governs all energy consumption during transmission, reception, and data aggregation operations.
- 6.
Network Topology
The network topology remains quasi-static during operation, with topological changes occurring only through node failure from energy exhaustion.
3.2. Optimization Objectives
The LEACH-DR protocol is designed to maximize network longevity through synergistic optimization of clustering and routing mechanisms. The optimization objectives are formally specified using these quantifiable metrics:
Maximize the operational rounds until First Node Demise (FND), ensuring sustained network coverage and data integrity during the critical initial operational phase.
- 2.
Network Longevity Enhancement
Maximize the sustained network operation until a predefined node failure threshold is reached, typically measured as complete network energy exhaustion.
- 3.
Data Delivery Maximization
Maximize the cumulative data packets successfully delivered to the BS throughout the complete network operational lifetime.
The proposed protocol achieves these objectives through the integrated implementation of dynamic cluster formation and adaptive multi-hop path selection, effectively addressing the fundamental limitations inherent in the conventional LEACH protocol architecture.
4. Clustering and Routing Optimization Protocols
4.1. SOM Configuration
To address the limitations of static clustering in dynamic WSNs, LEACH-DR introduces a SOM neural network to achieve dynamic and adaptive clustering. The configuration and rationale behind the SOM are detailed below.
At the beginning of each clustering round, three critical node attributes—residual energy, Euclidean distance to the BS, and the number of neighbor nodes—are collected and normalized to the [0, 1] interval using Equations (11)–(13).
Here, denotes the current residual energy of the node; represents the maximum residual energy among all nodes in the network; is the distance from the current node to the BS; is the maximum distance from any node to the BS; signifies the number of neighbor nodes for the current node; and is the maximum number of neighbor nodes any node has. This process forms a comprehensive 3-dimensional feature vector that encapsulates the node’s energy status, spatial location, and local density, ensuring all factors contribute equally to the clustering.
- 2.
SOM Structure and Training
The SOM’s competitive layer is configured as a fixed 3 × 3 grid (9 neurons), a design choice directly linked to the network scale of 200 nodes. This structure inherently constrains the number of clusters to 9, aiming for an average of 22–23 nodes per cluster, which strikes a balance between cluster management overhead and intra-cluster communication efficiency. The SOM undergoes 100 training iterations using the unsupervised learning process described in
Section 2.2. This iterative process, governed by a Gaussian neighborhood function, ensures that nodes with similar energy, location, and density characteristics are mapped to the same or adjacent neurons.
- 3.
Impact on Cluster Formation and Energy Efficiency
This SOM configuration directly results in energy-balanced and topologically rational clusters. As evidenced in
Figure 5, the final cluster sizes range from 16 to 28 nodes, with a max-min ratio of less than 2. This equilibrium is crucial for energy efficiency. It prevents the formation of overly large clusters that would burden a single CH with excessive data fusion and long-distance transmission, as well as overly small clusters that lead to CH overpopulation and increased inter-cluster routing overhead. By forming compact and balanced clusters, the SOM setup minimizes the average intra-cluster communication distance and effectively distributes the network load, thereby directly reducing the system’s overall energy consumption and extending the network lifetime.
After the SOM completes the clustering for a given round, how to scientifically select the cluster head nodes in each cluster becomes the key to affecting the energy consumption balance and operation life of the network.
4.2. Cluster Header Election Function
The traditional LEACH protocol uses a stochastic threshold mechanism, which is simple to implement, but does not consider factors such as the remaining energy and spatial location of the node, which can easily lead to communication bottlenecks. In order to optimize node energy consumption and extend the network life cycle, a fitness CH election strategy considering residual energy, spatial location, and neighbor density is introduced in the cluster. The core idea of this strategy is to give priority to nodes with high remaining energy that are located in key topological positions as CHs, which can control the communication overhead within the cluster and improve the data forwarding efficiency. The construction process of this fitness election strategy is described in detail below.
Define the energy factor of node i as Equation (14)
among them,
is the remaining energy of node
i, and
represents the average remaining energy of the network nodes. If the value of
is greater than 1, it indicates that the energy of this node is higher than the network average, and its energy is sufficient to undertake long-distance transmission tasks, thereby reducing the risk of data loss due to insufficient energy. Conversely, if the value of
is less than 1, this node’s energy is relatively scarce and is not suitable for taking on the role of CH.
- 2.
Distance factor
The communication distance between the cluster node and the BS directly determines the energy consumption, and in order to reduce the communication energy consumption of the long-distance node that becomes the CH node, the distance factor is defined as Equation (15)
here,
is the Euclidean distance from node i to the BS, and
represents the maximum distance from any node in the network to the BS. From the formula analysis, it can be seen that the value range of
should be (0, 1]. The closer
is to 1, the nearer the node is to the BS, resulting in a higher success rate of data packet reception by the BS; conversely, the closer
is to 0, the more it indicates that the node is located at the edge of the network, which leads to significant energy consumption due to long-distance communication. By incorporating the distance factor into the CH election strategy, it can effectively suppress the additional energy consumption caused by electing distant nodes as CHs.
- 3.
Number of neighbor nodes factor
If the CH node is located in a sparse area of nodes, the member nodes in the cluster need to increase the energy consumption to complete the communication, so the number of neighbor nodes factor is introduced.
is the number of neighboring nodes of node
i, and
is the number of all nodes deployed in the network. The higher the
value, the higher the node is located in a topological high-density area, which can significantly shorten the average communication distance within the cluster and reduce the overall energy consumption. On the other hand, high-density areas can provide more CH options to build better communication links.
- 4.
Build a fitness function
The comprehensive fitness function of node i is formed by linear weighting of the above three factors, as shown in Equation (17).
where
is a normalization constant, and the weighting coefficients were determined based on the optimal pairing identified through simulation experiments. A critical insight in constructing this function is the synergistic roles of the spatial factors
and
in defining the node’s position. The distance factor
quantifies the global spatial location relative to the BS, directly determining the immense energy cost of long-haul transmission. Conversely, the neighbor density factor
captures the local spatial context; a higher
value indicates a node resides in a dense region, which minimizes the average intra-cluster communication distance and load on the CH. The residual energy factor
serves as the fundamental constraint, ensuring the elected CH possesses sufficient endurance. A larger
value indicates a higher suitability for the node to become a CH. This multi-faceted strategy effectively suppresses the disturbances from energy estimation biases and the inherent randomness of stochastic elections, thereby ensuring stable and predictable CH selection, which is crucial for maintaining robust network links.
Alternative CH nodes can be set to fail when the main CH node runs out of energy or the channel fades suddenly, avoiding additional control overhead caused by reselecting the CH. After introducing the alternative CH, the constraints of real-time monitoring scenarios on data integrity are met. When setting the alternative CH, the number of common neighbors with the main CH node, the distance from the main CH, and the remaining energy of the node itself are mainly considered, and when the remaining energy of the alternative CH node is higher than that of the main CH node, it will replace the main CH node and become the new CH node. The following is a detailed explanation of the similarity function for constructing alternative CH nodes.
Within the communication radius
, the set of neighbor nodes that belong to both node
i and the cluster head (CH) can be represented as:
here, the cardinality
of the common neighbor set directly reflects the degree of topological overlap between the node and the CH. A larger value indicates that the node possesses a stronger local connectivity preservation capability within the cluster. Should the CH fail, this node can directly maintain and rapidly restore most of the original neighbor links, thereby minimizing the probability of network partitioning. The weighting factor for the number of neighbor nodes is defined as follows:
where
is the cardinality of the CH’s own neighbor set.
- 2.
The distance between the node and the CH
The spatial separation between node
i and the CH is calculated using the Minkowski Distance, as shown in Equation (20):
where
and
are the coordinate vectors of node
i and the CH, respectively. Analysis indicates that the closer the distance, the easier it is for the node to maintain a transmission power similar to that of the CH, thereby ensuring minimal fluctuation in link budget after switching between the primary and alternate CHs. However, selecting the alternate CH based solely on the principle of minimizing distance may lead to energy hotspot problems. An energy hotspot refers to a situation where a few nodes in the network undertake excessive data forwarding or processing tasks, causing their energy consumption to be significantly higher than that of neighboring nodes, thereby leading to premature energy depletion.
Define its distance weighting factor as
- 3.
The remaining energy of the node
To avoid the energy hotspot problem, the residual energy factor is defined as the ratio of the remaining energy of the node to the average remaining energy of the network, as shown in Equation (22)
If the value of the remaining energy factor is greater than 1, it means that the node has the ability to undertake long-term tasks.
- 4.
Construct a similarity function
Based on the factors mentioned above, a similarity function can be constructed as shown in Equation (23):
when
, the numerical distribution is determined by simulation experiments. The similarity function is composed of three factors: neighboring node factors, distance factors, and energy factors, which express the ability of the routing structure to inherit after replacing the main CH based on the topological overlap degree, the stability of the transmission link budget within the cluster based on distance constraints, and the sustainability of undertaking transmission tasks based on the relative remaining energy ratio. To enhance network robustness, an alternative CH is pre-selected within each cluster based on the highest similarity function value U(n). This node remains on standby, monitoring the main CH. The alternative CH is automatically activated under either of two conditions: (1) it detects that the main CH’s residual energy has dropped below its own or (2) it perceives a sudden and persistent failure in communication from the main CH (e.g., via channel fade). This pre-designation and energy-based trigger mechanism eliminates the need for a global re-clustering or a complex re-election process, thereby avoiding significant additional control overhead. The seamless transition ensures the persistence of the data link with minimal disruption. The constructed similarity function allows the system to maintain the persistence of the data link without incurring additional energy consumption after the current CH node fails.
4.3. Routing Optimization in the Data Transmission Phase
During the inter-cluster transmission phase of LEACH, the conventional single-hop direct transmission method causes remote CHs to suffer from excessive energy drain, rapidly leading to network lifetime imbalance. To address this critical issue, this paper introduces a novel approach that seamlessly integrates Fibonacci sequences into the bees algorithm for constructing optimized multi-hop routing paths. This hybrid strategy effectively mitigates the energy consumption imbalance inherent in single-hop paradigms while simultaneously reducing the network’s overall energy expenditure. Consequently, the proposed method demonstrates superior suitability for large-scale network deployments.
Specifically, the network formed by all CH nodes and the BS is abstracted as an Open Traveling Salesman Problem. This is distinct from a classic TSP as it does not require a closed loop; instead, it seeks an optimal path that starts from one CH, traverses all other CHs, and ends uniquely at the BS. The solution is thus the minimal-length, unclosed curve that connects the entire set of CHs to this single endpoint.
In this paper, the Fibonacci-based bee algorithm is introduced to solve the optimal path length: n scout bees are set, among which, m only find feasible paths and are identified as the better scout bees, and the other n-m only continue to search feasible paths randomly within the network to maintain the global search ability. Among the m optimal paths, the first e paths are selected as the optimal path according to the fitness ranking, corresponding to e optimal scouts. Each optimal scout bee only recruits nre foragers to explore the path field in depth, and the other n-e better scouts only recruit nrb foragers (nrb < nre).The random step size of the scout bees and the neighborhood update of the foraging bees both adopt the Fibonacci golden ratio
, and the step size ratio decays exponentially with iteration. After iterative convergence, only one path with the lowest total cost is retained as the data transmission link, and all CH nodes forward the fused data to the BS along this link in turn. The transmission path in the network operation phase is shown in
Figure 6.
In the routing optimization phase, the Fibonacci-inspired Bees Algorithm is employed to solve the optimal multi-hop path. The core innovation lies in using the golden ratio φ, derived from the Fibonacci sequence, to adaptively control the neighborhood search radius () for the scout and forager bees. Specifically, the neighborhood size decays exponentially according to the rule , where . This provides a natural and efficient decay mechanism, balancing global exploration and local exploitation. A larger neighborhood in early iterations promotes exploration, while a finer, shrinking neighborhood in later iterations facilitates precise convergence. This dynamic adjustment prevents the algorithm from stagnating in local optima and leads to more energy-balanced paths by thoroughly searching the solution space before refining the best candidates.
Based on the above, the working steps of the LEACH-DR protocol can be described as follows:
In the network initialization stage, the BS broadcasts to the whole network to wake up all nodes, and after receiving the broadcast, the node judges its position by the strength of the received signal, and then encapsulates its own ID, energy, and position information into a frame, and transmits it back to the BS, completing the initialization stage and preparing to enter the cluster establishment stage;
The nodes normalize the remaining energy, the distance from the BS, and the number of neighboring nodes to obtain a three-dimensional eigenvector. After collecting all the feature vectors, the BS runs a SOM network with an output layer of 3 × 3 grids, and after 100 iterations of training, all nodes of the network are divided into 9 clusters with balanced energy and topology. After the training is completed, the BS transmits the cluster division to each node, and after the node confirms the cluster group to which it belongs, it enters the CH election stage.
The BS application Equation (17) calculates the fitness function value for each cluster, and the node with the highest fitness value is determined as the CH node, and the BS broadcasts the information. At the same time, the BS calculates the similarity function value for other nodes in the cluster according to Equation (23), and the node with the highest function value is determined as the alternative CH node, and the other nodes are used as member nodes. When the remaining energy of the alternative CH node is higher than that of the CH node, the alternative CH node becomes the main CH node.
The CH node counts the number of members in the cluster, generates a TDMA schedule, and sends it to the members in the cluster.
After the CH node completes the data collection in the cluster, the data is fused and processed, and the shortest and optimal multi-hop transmission path is calculated by using the improved bee algorithm inspired by Fibonacci, and the fused data is forwarded to the BS, hop by hop along the path.
If the number of surviving nodes is greater than 0, repeat steps (2)~(5) until all nodes die and the network runs end.
The flow chart of the LEACH-DR protocol is shown in
Figure 7:
4.4. Analysis of Computational and Communication Overheads
The LEACH-DR protocol performs SOM training and bees algorithm optimization centrally at the Base Station (BS), without imposing additional computational burden on sensor nodes. SOM training is executed once per round with a complexity of , where k is the number of iterations (set to 100 in this paper), n is the number of nodes, and m is the number of output neurons (set to 9). The bees algorithm for path planning also runs on the BS with controllable iterations and fast convergence.
The additional communication overhead mainly includes: BS broadcasting cluster assignments per round and nodes reporting status information (energy, location, neighbor count). The control message overhead scales linearly with the number of nodes N, and its energy consumption is far lower than the energy saved through dynamic clustering and intelligent routing.
In medium- to large-scale WSNs, the BS typically possesses sufficient computational and energy resources, making the overhead of LEACH-DR acceptable and scalable.
5. Simulation Results and Analysis
In this study, 200 nodes were randomly sown in a 500 m × 500 m square monitoring area, and the deployed node locations are shown in
Figure 8. All presented results are based on the average of 50 independent random deployments to ensure statistical reliability. The LEACH-DR protocol was simulated and analyzed using MATLAB R2022a simulation software, and compared with LEACH [
5], LEACH-PM [
20], and LEACH-EI [
14]; the simulation parameters are shown in
Table 1.
The energy consumption directly affects the sustainable operation of the network, and the comparison of the remaining energy of the network of the four protocols with the operation of the network is shown in
Figure 9a–c.
The LEACH-DR protocol shows significant performance advantages over LEACH, LEACH-PM, and LEACH-EI under different base station locations. As shown in
Figure 9a, when the base station is at (0, 0), LEACH-DR significantly pushes the half-life of the network from 13 rounds for LEACH-EI, 30 rounds for LEACH, and 160 rounds for LEACH-PM to 232 rounds, and extends the total network lifetime from 630 rounds for LEACH and 843 rounds for LEACH-PM to 981 rounds, achieving a growth rate of 55.7% and 16.4% of the network lifetime. From the perspective of the overall residual energy curve of the network, the curve slope of LEACH-DR is always smaller than the other three; that is, the energy utilization rate is the highest, and the energy consumption rate is the most stable.
When the base station location is moved to the network center (250, 250), as shown in
Figure 9b, the half-life of LEACH-DR appears in the 349th round, later than the 28th round for LEACH-EI, the 170th round for LEACH, and the 296th round for LEACH-PM. Its total survival period reached 1367 rounds, which also significantly exceeded the 654 rounds of LEACH and 917 rounds of LEACH-PM. The LEACH-DR protocol extends the network lifecycle by about 109% and 49.1%, respectively, compared to the two. From this curve, it can also be found that the final life cycle round of LEACH-DR is smaller than that of LEACH-EI, but on the whole, the energy decline curve of LEACH-DR is more gentle and stable, which indicates that its energy consumption rate is lower and the network load is more balanced, thus maintaining higher quality network coverage and data acquisition capabilities for most of the time.
As shown in
Figure 9c, in the most challenging edge base station scenarios (250, 750), LEACH-DR demonstrates even more prominent performance advantages. Its network energy is exhausted at 578 rounds, far exceeding the 169 rounds of LEACH and 55 rounds of LEACH-EI. Although the remaining energy of LEACH-PM is exhausted in 622 rounds, the energy decline trend of LEACH-DR is significantly more gentle from the overall curve, indicating that it can still effectively coordinate node energy consumption under extreme network topologies, avoid local energy voids, and is more suitable for large-scale network coverage.
In summary, the LEACH-DR protocol can most effectively delay the energy exhaustion process of the network in the three base station location scenarios of the simulation experiment through an efficient CH election and routing mechanism, and the number of rounds to reach the critical energy exhaustion node is always significantly ahead of the LEACH-EI, LEACH-PM and LEACH protocols. Its ability to maintain network operation is the most prominent in the topology-unfavorable edge base station environment.
- 2.
Comparison of node death rounds
The network stability is evaluated by the first node death time, as shown in
Table 2. The four protocols show significant differences in node death time.
The experimental data show that the LEACH-DR protocol can significantly delay the process of network node failure in most scenarios. When the base station is at (0, 0), from the perspective of 25% node death rounds, LEACH-DR has a death round of 323, which is significantly better than the 32nd round of the LEACH protocol, the 251st round of the LEACH-PM protocol, and the 13th round of the LEACH-EI protocol. With the increase in node deaths, the advantages of the LEACH-DR protocol become more and more obvious, reaching 583 rounds when 50% of nodes die and 788 rounds when 75% of nodes die, all of which are significantly delayed compared to the other three protocols.
When the base station is located at the center of the network (250, 250), 25% of the LEACH-DR protocol’s node death rounds are delayed to 544 rounds, surpassing the 265 rounds of the LEACH protocol and the 32 rounds of the LEACH-EI protocol. Although it predates the 563 rounds of the LEACH-PM protocol, when 50% of nodes die, the LEACH-DR protocol reaches 902 rounds, ahead of the 69 rounds of the LEACH-EI protocol, the 380 rounds of the LEACH protocol, and the 624 rounds of the LEACH-PM protocol. When 75% of the nodes died, the LEACH-DR protocol reached 1045 rounds, which is significantly later than the other three protocols.
When the base station is located at the edge of the network (250, 750), 25% of the LEACH-DR protocol has 155 rounds of node deaths, surpassing the 12 rounds of the LEACH protocol, the 117 rounds of the LEACH-PM protocol, and the 8 rounds of the LEACH-EI protocol. This shows that LEACH-DR can still maintain the long-term stable operation of most networks through effective mechanisms after facing the initial node failure.
Overall, the LEACH-DR protocol has significant advantages in maintaining the overall lifetime of the network, especially in delaying large-scale node failures.
- 3.
Comparison of the number of packets received by base stations
From the experimental results in
Figure 10a–c, it can be seen that the four protocols show significant differences in the cumulative data volume. In the performance evaluation of the number of packets received by the base station, the LEACH-DR protocol demonstrates excellent data throughput and network transmission efficiency. Through comparative testing of three typical base station locations, the significant advantages of this protocol in data collection can be clearly observed.
As shown in
Figure 10a, when the base station is at the (0, 0) position, the LEACH-DR protocol receives a total of 10.86 × 104 packets, which is 1.46 times that of the LEACH-PM protocol (7.45 × 104), 4.52 times that of the LEACH protocol (2.4 × 104), and 8.6 times that of the LEACH-EI protocol (1.26 × 104). This result shows that LEACH-DR maintains efficient data transmission performance even when the base station position is offset from the center of the network.
As shown in
Figure 10b, when the base station position is adjusted to (250, 250), the data collection capacity of LEACH-DR is further increased to 14.45 × 104, which is equivalent to 1.23 times that of the LEACH-PM protocol (11.78 × 104), 2.1 times that of the LEACH protocol (6.88 × 104), and 3.37 times that of the LEACH-EI protocol (4.28 × 104).
As shown in
Figure 10c in the edge base station scenario with the most complex network topology (250, 750), the LEACH-DR protocol still maintains an excellent reception capacity of 6.27 × 104 packets, which is 1.31 times that of the LEACH-PM protocol (4.79 × 104), 8.64 times that of the LEACH protocol (7256), and 63.9 times that of the LEACH-EI protocol (981). This data highlights the LEACH-DR protocol’s strong adaptability in adverse network environments.
A series of data fully verifies the outstanding performance of the LEACH-DR protocol in network transmission efficiency, proves its remarkable results in the routing mechanism and data transmission optimization, and provides a reliable technical solution for data collection in large-scale network environments for WSN applications.
- 4.
Energy efficiency comparison
Energy efficiency is an important indicator to measure the energy utilization efficiency of network protocols during data transmission. This study takes the ratio of the number of packets received by the base station to the total energy consumed by the network as the value of energy efficiency. The data in
Figure 11a shows that the LEACH-DR protocol has the highest energy efficiency of 543.02 packets/joule when the base station is in the (0, 0) position, which is significantly better than LEACH-PM’s 372.72, LEACH’s 120.21, and LEACH-EI’s 63.24.
Figure 11b shows the energy efficiency of the four routing protocol base stations at (250, 250), with the LEACH-DR protocol leading with an efficiency of 722.33 packets/energy, indicating the best performance in energy management and data transmission. LEACH-PM is next with an efficiency of 588.86 packets/energy. The energy efficiencies of LEACH and LEACH-EI are relatively low at 343.88 and 217.82 packets/energy, respectively. These results highlight the potential of the LEACH-DR protocol to improve WSN energy efficiency.
Figure 11c reveals that the energy efficiency of the LEACH-DR protocol is still significantly better than that of the LEACH-PM and LEACH protocols when the base station is located at (250, 750), with energy efficiencies reaching 313.43, 239.35, and 36.28 packets/energy, respectively. The LEACH-EI protocol performed the worst, with only 4.90 packets/energy.
In summary, the LEACH-DR protocol demonstrates excellent performance in terms of energy efficiency, which has significant practical value for improving the overall energy efficiency of WSN and extending network life.