Next Article in Journal
A Proof-of-Concept IoT System for Remote Healthcare Based on Interoperability Standards
Next Article in Special Issue
The Diverse Gait Dataset: Gait Segmentation Using Inertial Sensors for Pedestrian Localization with Different Genders, Heights and Walking Speeds
Previous Article in Journal
Design of an Estimator Using the Artificial Neural Network Technique to Characterise the Braking of a Motor Vehicle
Previous Article in Special Issue
A Cascade Attention Based Facial Expression Recognition Network by Fusing Multi-Scale Spatio-Temporal Features
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Energy-Efficient Routing Algorithm Based on Greedy Strategy for Energy Harvesting Wireless Sensor Networks

1
School of Computer Science, Central China Normal University, Wuhan 430079, China
2
National Language Resources Monitoring and Research Center for Network Media, Central China Normal University, Wuhan 430079, China
3
College of Information Engineering, Huanghuai University, Zhumadian 463000, China
*
Authors to whom correspondence should be addressed.
These authors contributed equally to this work.
Sensors 2022, 22(4), 1645; https://doi.org/10.3390/s22041645
Submission received: 27 December 2021 / Revised: 28 January 2022 / Accepted: 16 February 2022 / Published: 19 February 2022
(This article belongs to the Special Issue Instrument and Measurement Based on Sensing Technology in China)

Abstract

:
Energy harvesting wireless sensor network (EH-WSN) is considered to be one of the key enabling technologies for the internet of things (IoT) construction. Although the introduced EH technology can alleviate the energy limitation problem that occurs in the traditional wireless sensor network (WSN), most of the current studies on EH-WSN fail to adequately consider the relationship between energy state and data buffer constraint, and thereby they do not address well the issues of energy efficiency and long end-to-end delay. In view of the above problems, a brand new greedy strategy-based energy-efficient routing protocol is proposed in this paper. Firstly, in the system modeling process, we construct an energy evaluation model, which comprehensively considers the energy harvesting, energy consumption and energy classification factors, to identify the energy state of node. Then, we establish a channel feature-based communication range judgment model to determine the transmission area of nodes. Combining these two models, a reception state adjustment mechanism is designed. It takes the buffer occupancy and the MAC layer protocol into account to adjust the data reception state of nodes. On this basis, we propose a greedy strategy-based routing algorithm. In addition, we also analyze the correctness and computational complexity of the proposed algorithm. Finally, we conduct extensive simulation experiments to show that our algorithm achieves optimum performance in energy consumption, packet delivery ratio, average hop count and end-to-end delay and acceptable performance in energy variance.

1. Introduction

Wireless sensor network (WSN) plays a significant role in constructing IoT systems, which is composed of many sensor nodes in a multi-hop self-organizing manner. Due to the properties of easy connectivity and high data rate, WSN has been widely used in diverse fields including the military, industry, agriculture and so on [1,2,3]. However, as it is battery powered, the lifetime of a sensor node is limited by the battery capacity.
With the development of green energy, energy harvesting (EH) techniques are introduced into the WSNs. Driven by the EH techniques, nodes can intake energy from the ambient environment (e.g., solar, wind, RF radiation, etc.) and recharge their batteries during operation, which can improve the energy efficiency and extend the lifetime of the network [4,5]. At present, many routing algorithms have been proposed for energy harvesting wireless sensor networks (EH-WSNs) which focus on exploiting the harvested energy and optimizing energy efficiency [6,7,8,9].

1.1. Motivation

Although many meaningful works have paid attention to the EH-WSNs routing protocol design [10,11,12,13,14,15,16], the energy efficiency problem is not resolved well. In detail, most of the existing studies do not fully consider the energy harvesting rate and the impact of channel features on energy consumption, as well as the energy wastage caused by buffer constraint. It should be also noted that if the status of the data buffer fails to be considered in the protocol design, the congestion, transmission time prolonging and energy-wasting issues would easier to be caused [17]. When the node has insufficient residual energy (enters the sleep mode) and the buffer is not empty (there are still packets in the buffer), it inevitably causes the transmission time of this part of packets to be prolonged. As a result, it is necessary to design a brand new routing protocol that comprehensively takes the energy state and buffer occupancy into account.
On the engineering application aspect, EH technique has been used to ease the issues of energy constraint and improve the energy balance in traditional WSN. Currently, EH-WSN has achieved great commercial success in many fields. Numerous EH-WSN based IoT devices are widely used in our lives, such as Smart Home, 5G/B5G and 6G communication, Wise information technology of med (WITMED), intelligent wearable devices, etc., which contribute to the development of society and lead our daily affairs to be convenient and intelligent. In addition, since the nodes of EH-WSN can extract energy from the surroundings, environmental pollution caused by battery replacement and network maintenance costs are correspondingly reduced. This is in line with the internationally promoted rules of 3R (reducing, reusing and recycling). Especially in our country, China, the widespread use of this technology is meaningful for achieving the goal of Carbon Neutrality [18] in the future. Hence, a thorough study of the EH-WSN routing algorithm design has practical value for constructing IoT systems.

1.2. Contributions

The core contributions of this paper can be summarized as follows:
  • We construct an energy evaluation model, which considers the effect of energy harvesting, energy consumption and energy classification, to determine the energy state of the node. Furthermore, we also formulate a channel feature (Rayleigh fading) based communication range judgment model. Through this model, the neighbor nodes set, forward transmission nodes set and candidate nodes set of the current node can be identified.
  • Gathering the above two models, we design a reception state adjustment mechanism. Through considering the buffer occupancy and IEEE 802.11b protocol hidden terminal problem, this mechanism can adjust the data reception state of nodes dynamically.
  • On this basis, we propose a greedy strategy-based relay node selection algorithm, which adopts the greedy strategy to select the best next hop. At the same time, we also give a solution for the extreme case.
  • We analyze the correctness and computational complexity of our algorithm.
  • We conduct extensive simulation experiments to validate the superior performance of our proposed algorithm.

1.3. Paper Organization

The remainder of this paper is organized as follows. The related works about the WSN and EH-WSN routing protocols are discussed in Section 2. The overview of the system model, including the energy evaluation model, communication range judgment model and reception state adjustment mechanism, are presented in Section 3. The details of the proposed algorithm are introduced in Section 4. The results of the simulation experiment are shown in Section 5. Finally, we conclude this paper in Section 6.

2. Related Work

2.1. WSN Routing Algorithms

Typical routing algorithms in WSNs can be a guide for designing EH-WSNs routing protocols, as EH-WSNs are WSNs-based [11,12]. So far, numerous routing protocols for WSNs have been introduced. Greedy Perimeter Stateless Routing (GPSR) algorithm [19] is a typical geographic-aware routing protocol. It includes two types of data packet forwarding strategies, namely greedy forwarding strategy and perimeter forwarding strategy. By taking a greedy forwarding strategy, nodes select the next hop closest to the destination. At same time, in areas where greedy forwarding fails (i.e., routing hole region), the GPSR algorithm adopts the perimeter forwarding strategy (a void recovery method) to forward the packets bypassing this area, thus ensuring the stable transmission of packets. Through a void recovery method, it solves the routing hole problem where greedy forwarding fails. Low Energy Adaptive Clustering Hierarchy (LEACH) algorithm [20] is an adaptive clustering topology algorithm. It consists of two phases. In the set-up phase, the cluster head node is randomly selected using a probability function, and other nodes join the corresponding cluster following the proximity principle. In the data transmission phase, non-cluster head nodes send data to the cluster head, and then the cluster head fuses the collected data and forwards it to the sink. Ant Colony Optimization in combination with Hop Count Minimization (ACOHCM) algorithm [21] comprehensively considers the energy constraint, network load balancing and dynamic network topology, combines the ant colony algorithm and the minimum hop algorithm and selects the next hop according to the residual energy and distance. This algorithm can find the optimal routing path with low energy consumption and balanced energy consumption on each node. Optimizing routing based on a congestion control (CCOR) algorithm [17] is a congestion control algorithm. In this method, a queuing network model is established to detect the congestion degree of nodes. Moreover, it constructs a hybrid formula that considers the position, average packet service rate and congestion degree to determine the optimal next hop.
Reviewing the above algorithms, it is easy to find that WSN algorithms mainly concentrate on how to minimize energy consumption and increase the lifetime of a network. However, as inspiring as these works for traditional WSN routing protocols can be for our research, the EH-WSN routing algorithms design is still very different from these works.

2.2. EH-WSN Routing Algorithms

Routing algorithms in EH-WSNs mainly focus on optimizing network performance within the constraint of energy harvesting rate. In recent years, many routing protocols for EH-WSNs were also proposed. Typically, the authors of [7] proposed the Energy Harvesting Aware Ad hoc On-Demand Distance Vector Routing (AODV-EHA) protocol, which integrates the AODV protocol with energy harvesting. In this method, the “hop count” is replaced by the “energy count” (the predicted transmission cost of a packet) to find a path with the lowest transmission cost. The authors of [1] give an Effective Energy-Harvesting-Aware Routing Algorithm (EHARA). This algorithm extends the backoff period in the MAC layer IEEE 802.15.4 CSMA/CA by adding an “extra backoff” time, which can ensure the nodes have more time to collect energy and maintain the energy balance. The authors of [8] propose a Stability-Aware Geographical Routing Protocol (SAGREH). In this method, the candidate paths are determined through considering the residual energy and energy harvesting rate. Then, it utilizes the active link quality measurement to evaluate the quality of each path and chooses the transmission route with the highest reliability. The authors of [6] propose an Energy Harvesting Routing (EHR) algorithm. In this method, it constructs an energy rank model, which ranks the residual energy of nodes and selects the node with the highest energy level as candidate nodes. At the same time, it designs a node information update mechanism, which can save the extra energy consumed by the information exchange of nodes. Finally, the relay node is selected according to the energy level and energy harvesting density. The authors of [11] propose a Physarum-inspired routing protocol for EH-WSN (EHPRP). This algorithm establishes the Poiseuille equation by considering the residual energy, angle and distance factors of the node. Based on this equation, the best next hop node can be selected, which can reduce energy consumption and preserve the energy-neutral state of the network. The authors of [14] propose a routing algorithm based on the LA theory (DEH-LA-SERA). It constructs a multi-factor measurement model for sensor nodes, including node stability model, energy ratio function, expected harvesting energy model and direction judgment model, thereby deriving node weighted value to determine the next hop node. This algorithm guarantees an overall energy balance and savings while maintaining a stable selected path.
Although the EH-WSNs algorithms we mentioned above can reduce energy consumption and extend network lifetime, these algorithms overlook the problems of limited data buffer capacity and long transmission delay.

3. System Model

In this section, we firstly provide an energy evaluation model. Then, we construct a communication range judgement model. Finally, we design a reception state adjustment mechanism. The related symbols in this paper are listed in Table 1.
Before the modeling process, the following assumptions should be followed:
  • n sensor nodes are randomly distributed in a M × M two-dimensional plane, and the positions of all nodes are settled.
  • Nodes in the network are homogeneous, where the maximum battery capacity is E m , and all nodes have the same transmitting power.
  • Positions of all nodes (denoted by ( x . , y . ) ) can be known by position discovery techniques [22,23]. If node j is within the communication range of node i (i.e., neighbor node), a wireless link exists between these two nodes. The extreme case (i.e., the routing loop problem) would be handled in the process of routing protocol design.
  • Each node is equipped with a solar device that can harvest additional energy from the surrounding environment. The energy harvesting rate E H ( t ) follows a Gaussian random distribution N ( b , c 2 ) , where the detailed expression is written as E H ( t ) = a e ( t b ) 2 2 c 2 (t denotes time, and a, b, c represent the coefficients affected by light intensity).
  • The data buffer of each node is limited. Each node can sense its residual energy and data buffer occupancy.
  • Nodes periodically exchange state information with their neighbor nodes to update the information in its Self Table and Neighbor Table (Figure 1).
Each node in the network has five main attributes: residual energy ( E r ) , energy harvesting rate ( E H ) , data buffer occupancy ( D B ) , the mark of whether the buffer can receive data ( F l a g ) and the mark of whether the node is void node ( V F l a g ) . In addition, each node maintains two tables containing the above attributes: Self Table and Neighbor Table.
The format of packets generated by nodes is illustrated in Figure 2, where S denotes the source node address, D represents the destination node address and R F l a g indicates the forward strategy of the packet.

3.1. Energy Evaluation Model

3.1.1. Energy Harvesting Factor

Energy prediction is an important issue as environmental resources are uncontrollable. Obviously, the energy harvesting rate ( E H ) of each node is different, which depends on the location of the node and the surrounding environment, e.g., E H of a node in the shadow must be lower than that of a node directly exposed to the sun. At the same time, E H also varies over time. Generally, E H of a node reaches the maximum at noon and the lowest at night, which is almost zero, as shown in Figure 3. We make use of Gaussian function to simulate the change curve of E H with time [6,24]:
E H i ( t ) = a i e ( t b i ) 2 2 c i 2
where a i , b i , c i represent the coefficients affected by light intensity.

3.1.2. Energy Consumption Factor

Here, we consider the energy model of the node i as follows:
E r i = min E 0 i + E h i I e i E t x i + E r x i E s i , E m
where I ( · ) is a binary marking function and e i denotes the event that node i receives or sends data. If node i receives or sends data, I ( e ( i ) ) returns 1, otherwise, returns 0. Let the transmission power and reception power of nodes be P t and P r , respectively. Then, the energy consumed by sending and receiving a packet can be expressed as:
E t x i + E r x i = P t + P r L R
Since the channel conditions are constantly changing, the total signal gain follows the Rayleigh distribution after reflective, refractive and scattering in multiple paths [25,26]. Manhattan’s experiment proves that Rayleigh fading channel is more suitable for signal attenuation calculation models in a realistic environment with interference factors [27]. Therefore, the received power can be further expressed as follows [28]:
P r = P t C d i j 2
C = G t G r λ 2 4 π f c 2
where G t , G r represents the transmitting and receiving antenna gain, λ denotes a wavelength, f c indicates the carrier frequency, represents Rayleigh gain factor following index distribution, in which probability density function is f = e 0 .

3.1.3. Energy Level System

To describe the residual energy of nodes more clearly, we divide the battery into three levels, as shown in Figure 4. Depending on the residual energy E r , we study the following two cases:
  • C a s e 1 : 0 E r L e v e l 1
    In this case, since the node has insufficient energy to maintain more data transmission, the data receiving device would be shut down temporarily. Then, the node confirms whether there are still packets to be sent in its data buffer. If so, continue processing these remaining packets until the residual energy or number of packets reaches 0; otherwise, turn off the sending device and enter sleep mode.
  • C a s e 2 : E r L e v e l 2
    When the residual energy is greater than L e v e l 2 , the node would be transitioned to active mode if it is in sleep mode.
Figure 4. Energy level system.
Figure 4. Energy level system.
Sensors 22 01645 g004

3.2. Communication Range Judgment Model

3.2.1. Neighbor Nodes

In order to identify the neighbor nodes of each node, it needs to determine the maximum communication range. The distance from node i to j can be calculated as:
d i j = x j x i 2 + y j y i 2
Due to the influence of multipath effect (reflection, refractive, obstacle and the influence between different signals), the transmission process leads to signal attenuation and the transmission distance affects the received signal intensity. Generally, the received signal intensity is inversely correlated with the transmission distance [10]. If the minimum power of receiving a packet is P 0 , when the condition P r P 0 with an acceptable probability, P r o b = 90 % , two sensor nodes can communicate normally [29]. Therefore, the probability P r o b P r P 0 is given by:
P r o b P r P 0 = P r o b P t C d i j 2 P 0 = P r o b P 0 d i j 2 P t C = P 0 d i j 2 P t C e x d x = e P 0 d i j 2 P t C
The maximum effective communication distance d 0 can be calculated as follow:
P r o b P r P 0 = e P 0 d 0 2 P t C = 0.9
d 0 = C P t l n 0.9 P 0
Definition 1.
The neighbor nodes set of node i is:
N E i = j d i j d 0

3.2.2. Forward Transmission Nodes

To avoid routing loops, the selected node should be closer to the destination than the previous one. Therefore, it is necessary to control the direction of each hop forwarding to the destination node. For these, we define a forward transmission region as follows:
As shown in Figure 5, the two circles are made with node i as the center, d 0 as the radius, and the node D (destination node) as the center, d i D (the distance from node i to node D) as the radius, respectively. The area where the two circles intersect is the forward transmission region. Assuming the coordinate of D is ( x , y ) . If node j is a forward transmission node of i, it should satisfy two conditions: firstly, j is within the transmission range of i; secondly, node j is closer to the destination D than i, that is:
x j x i ) 2 + y j y i ) 2 d 0 2 x j x ) 2 + y j y ) ) 2 d i D 2
Definition 2.
The forward transmission nodes set of node i is:
F N i = j x j x i ) 2 + y j y i ) 2 d 0 2 , x j x ) 2 + y j y ) 2 d i D 2

3.2.3. Candidate Nodes

If node j is a candidate node of node i, node j must meet the following conditions:
  • Node j is a neighbor node of i. That is, the distance from j to i is less than the maximum transmission distance.
  • Node j is a forward transmission node of node i.
  • Node j can receive packets, and it is not a void node, i.e., F l a g j = 1 , V F l a g j = 0 .
In summary, the conditions that candidate nodes must fulfill:
d i j = x j x i ) 2 + y j y i ) 2 < d 0 x j x ) 2 + y j y ) 2 < d iD 2 F l a g j = 1 , V F l a g j = 0
Definition 3.
The candidate nodes set for node i is:
C N i = j j F N i , F l a g j = 1 , V F l a g j = 0

3.3. Reception State Adjustment Mechanism

As shown in Figure 6, each node has a data buffer and a battery. Packets in the data buffer come from two sources, including newly generated packets by themselves (denoted as C i ) and packets received from other nodes (denoted as I i ). For the packets generated by nodes following Poisson process, C i obeying an exponential distribution and the value can be obtained by efficient prediction [30].
The number of newly generated packets by node i at time slot t can be written as:
I C i t = I i t + C i t
The total amounts of packets in node i at the current time slot (denoted as t) can be calculated as:
B i t = m i n B i t 1 + I C i t 1 O i t 1 , D B m a x / L
where O i t 1 denotes the number of packets processed by node i at time slot t 1 .
When the data processing capacity of node reaches the upper bound (receiving too many packets), these packets have to stay in the buffer. In this case, a congestion problem would be caused easily, which accordingly increases the packet loss rate, reduces data processing efficiency and wastes energy [16,31]. In addition, although the energy harvesting device can provide unlimited energy, the nodes would suffer from occasional energy shortage as the harvested and demanded energy do not meet. When the node runs out of energy (i.e., entering the sleep mode), these remaining packets have to wait until the energy recovers to a certain threshold. Under this certain situation, it would lead to increasing packet transmission time and diminishing of the packet processing efficiency. In order to solve the above problems, we propose a reception state adjustment mechanism, as shown in Algorithm 1.
This adjustment mechanism uses F l a g to indicate whether the node can receive packets. F l a g = 1 denotes node can receive data, and F l a g = 0 denotes cannot. There are three main parts:
(1)
When the residual energy of a node is less than the minimum limit ( L e v e l 1 ) , the F l a g would be adjusted to 0 if it is 1 (representing this node cannot receive packets). When the energy recovers to a certain threshold ( L e v e l 2 ) , the F l a g would be adjusted to 1 if it is 0 (representing this node can continue to receive packets), that is:
E r i L e v e l 2 , F l a g = 1 E r i L e v e l 1 , F l a g = 0
(2)
When the data buffer of a node reaches the maximum limit D B t h 1 , F l a g would be adjusted to 0 if it is 1. When the buffer capacity is less than the lowest threshold D B t h 2 , F l a g would be adjusted to 1 if it is 0, that is:
D B D B t h 1 , F l a g = 0 D B D B t h 2 , F l a g = 1
(3)
When the residual energy of a node is not enough to forward the packets in the buffer, F l a g would be adjusted to 0 if it is 1.
In this case, it needs to predict the total energy that the node can collect in a future period, as well as the energy required to process the packets in the buffer, so as to determine whether the node can process all packets in the buffer before its energy is exhausted.
B * E t E r + E H i * T + c 1 , F l a g = 0 B * E t E r + E H i * T c 2 , F l a g = 1
where B represents the number of packets in the buffer, B = D B / L , c 1 and c 2 are two constants. T represents the time required for the node to process all the packets in its buffer.
Since a packet must wait for the transmission of previous packets to complete, for a newly arrived packet in node j, we calculate its waiting time as:
T j = n u m = 1 N t n u m
where N denotes the number of packets in the current node. t n u m is the time required to transmit a packet when it has none of the previous packets, and it can be further expressed as:
t n u m = k C N ( j ) t jk * P j k
k is a candidate node of j. t j k represents the time required for node j to forward a packet to node k. C N ( j ) denotes the set of candidate nodes of j. P j k indicates the probability that node j selects node k as the next hop.
According to the IEEE 802.11b protocol [32], when a node prepares to transmit a packet, it must ensure there is no other interfering node sending simultaneously [33,34,35]. At the same time, it cannot interfere with the nearby receiver [17]. It should be noted that interfering nodes include exposed nodes and hidden nodes [36] as shown in Figure 7.
If there is no other interfering node, the time required to transmit a packet from a node to its neighbor immediately is t u n i t = L R + t 0 , where t 0 is the time required to exchange R T S , C T S and A C K frames [37].
Based on the above analysis, if node j prepares to send a data packet to node k, it must wait until z j k packets of other interfering nodes have been completed. The time taken by node i sending a packet to node k is the sum of two terms: (i) the time required waiting for other interference nodes to send z j k packets ( z j k * t u n i t ) , (ii) the time required for the current node to send a packet ( t u n i t ) . Thus:
t j k = z j k + 1 * t u n i t
Let the probability that node j sends a packet immediately after the communication channel becomes idle be p r o b j _ k , then we can obtain:
P z j k = n = 1 p r o b j _ k ) n p r o b j _ k
E z j k = 1 p r o b j _ k p r o b j _ k
E t j k = E z j k + 1 t u n i t = t u n i t p r o b j _ k
According to [30], assuming α j k and β j k are the idle probabilities of the node j’s and node k’s neighbor nodes, respectively, then p r o b j _ k can be represented as:
p r o b j _ k = α j k * β j k = a ε j 1 φ a * b ε k 1 ψ b
where φ a is the proportion of time taken by node a receiving packet; ψ b denotes the proportion of time taken by node b transmitting packets; ε j and ε k represent the interference node sets of node j and k, respectively.
Algorithm 1:Reception State Adjustment Mechanism.
Require: The current node i; Residual energy E r i ; Utilized cache size DB; The candidate nodes set of i C N ( i ) ; Current data receive state of i F l a g
1: if  E r i L e v e l 2 && D B D B t h 2 && D B / L * E t E r + E H i * T B  then
2:   if  F l a g = 0  then
3:       F l a g = 1
4:   end if
5: else
6:   if  E r i L e v e l 1 D B D B t h 1 D B / L * E t E r + E H i * T + A  then
7:     if  F l a g = 1  then
8:          F l a g = 0
9:     end if
10:   end if
11:end if

4. GS-EERA

In this section, we provide the detailed process of the proposed algorithm, GS-EERA. Furthermore, we prove the correctness and computational complexity of this algorithm.

4.1. The Next Hop Selection

To obtain a suitable relay node, we fully consider the residual energy, energy harvesting rate, distance and data transmission time to define a metric and adopt the greedy strategy to select the optimum next hop from the candidate node(s). The metric is defined as follow:
M i j = α E ^ r j + β E H ^ j + γ 1 D ^ j + δ 1 T ^ j
where α , β , γ and δ are the weighting coefficients. E r , E H , D and T denote the residual energy, energy harvesting rate, distance and transmission time, respectively. E ^ , E H ^ , D ^ and T ^ represent the normalized functions, which meet the following rules:
α + β + γ + δ = 1 E ^ r j = E r j E m ; E H ^ j = E H j E H m a x D ^ j = D j d D i d ; T ^ j = T j a C N ( i ) T a
where E m and E H m a x indicate the maximum value of residual energy and energy harvesting rate, respectively.
Therefore, the probability that node i chooses node j as the next hop can be calculated as:
P ij = M i j j C N ( i ) M i j
The packets may encounter a void node during transmission process. In WSN, the increasing number of nodes would extend data transmission time, waste energy and even cause transmission failure. When encountering a routing hole, the classical GPSR algorithm [19] takes the perimeter forwarding strategy, traverses the closest planar sub-image and forwards the data along the boundary of the void area using the right-hand rule. As far as we know, it is not the optimal selection in some cases. Let us take an example, as shown in Figure 8, S is the source node, and A, B and C are the neighbor nodes of S. Firstly, the data are forwarded to node A through the greedy forwarding method. Since node A is a void node, it adopts the perimeter forwarding strategy to relay the data bypass the routing void area along A B C D . Obviously, if node S forwards data along S B C D or S C D , the total energy overhead and the data transmission time cost may be relatively less.
In this paper, we propose a method that combines void recovery and void avoidance to deal with the routing hole problem. If the candidate nodes set of a node is empty, the V F l a g is adjusted to 1 (indicating this is a void node and cannot become a candidate node of others), the R F l a g of the packet to be processed at this time is adjusted to 1 (i.e., the node should forward packet through the perimeter forwarding strategy) and selects the optimal next hop from its neighbor nodes with F l a g = 1 . If a non-void node receives a packet with R F l a g = 1 , then R F l a g is adjusted to 0 (i.e., stopping the perimeter forwarding process and starting the greedy strategy-based packets forwarding).

4.2. Algorithm Procedure

Step 1 (initialization): Each node broadcasts an initial packet with its location information, and then calculates the distance to the other nodes.
Step 2 (updating node information): At the beginning of each time slot, each node exchanges the state information with its neighbor nodes and updates the information in the Neighbor Table.
Step 3 (determining the next hop): When the destination is within the communication range of current node, the destination would be selected as the next hop directly;
When the current node is not a void node, and the R F l a g of the packet to be processed at this time is 1, the R F l a g would be adjusted to 0, and the optimal next hop would be selected from the candidate nodes set according to Formula (27);
When the current node is a void node, the V F l a g would be adjusted to 0 if it is 1 (i.e., this node cannot become a candidate node of others) and adjusts the R F l a g of the packet to be processed at this time to 1. Then, takes the perimeter forwarding strategy to select the optimal next hop from its neighbor nodes which F l a g = 1 .
Step 4: Packet is sent to the next hop.
Step 5: Steps 2, 3 and 4 are repeated until the packet is received by destination node.
The procedure of main algorithms of GS-EERA is presented in Figure 9, and the pseudocode of GS-EERA is shown in Algorithm  2.
Algorithm 2:GS-EERA.
Require: The current node i; The destination node D; The neighbor nodes set of i N E ( i ) ; C N = ϕ
1: for all j N E ( i ) do
2:   Execute Alg.1
3:   if F l a g = 1 then
4:         C N ( i ) = C N ( i ) j
5:   end if
6: end for
7: if  D N E ( i ) then
8:    R e l a y = D
9: else
10:   if  C N ( i ) ϕ  then
11:        Set the RFlag of current packet to 0.
12:        for all j C N ( i ) do
13:         Calculate M i j
            find the node with maximum M i j .
             R e l a y = j
14:      end for
15:   else
16:       V F l a g = 1
            Set the RFlag of current packet to 1.
            Select next hop from neighbor nodes with F l a g = 1 by perimeter forwarding strategy
17:   end if
18: end if
     RETURN Relay

4.3. Algorithm Analysis

4.3.1. Correctness Analysis

According to our algorithm, GS-EERA, it selects next hop with the maximum M from the candidate nodes set (Formula (27)). Let the average weight of the nodes in a path be M S , D = i = 1 m M i m , where m is the number of hops from source node S to destination node D. A routing selection strategy is the optimal if it can select the route with the largest M S , D among all routes from S to D.
If the first k 1 hops of the selected nodes are already the optimal route, i.e., M S , P = i = 1 k 1 M i k 1 (where P is the k 1 s t node) is the maximum among all routes from S to P. Assume that R is the node with maximum M in the candidate nodes set of P. In the k t h hop route selection, if using GS-EERA, P selects R as the next hop and M S , R = i = 1 k M i k . Suppose another superior strategy exists which selects R as relay node (i.e., M S , R is larger than M S , R ),
M S , R > M S , R i = 1 k M i k > i = 1 k M i k M k > M k
that is, the M of node R is greater than R. It contradicts our earlier assertion that R is the node with maximum M among the candidate nodes set of P. Hence, there is no better strategy than GS-EERA. In fact, we can also see from the above derivation that if a superior strategy exists, that strategy selects the node with the largest M at every next-hop selection, which is exactly the same as the solution of GS-EERA. As a consequence, we conclude that GS-EERA is the optimal strategy.

4.3.2. Complexity Analysis

The given approach, GS-EERA, has different time complexity. Firstly, at the initial time, each node calculates the Euclidean distance to the other nodes separately, which takes time as O n 2 . Another key parameter of GS-EERA is the number of iterations. Suppose a single node in the network has at most m neighbor nodes. In the worst case, the network is linear. The process will be repeated for n 1 times and the time taken O m n . Therefore, the total time complexity of GS-EERA can write O n 2 + O m n = O n 2 .

5. Simulation Results and Analysis

In this section, we use the MATLAB platform to depict the performance of our algorithm, GS-EERA, under different parameter settings and compare them with SAGREH [8], EHR [6] and EHPRP [11].

5.1. Simulation Parameters Setting

The simulation experiments are conducted on MATLAB 2018a, and the PC configurations are Intel(R) Core(TM) i5-1135G7 2.40GHz, 8GB RAM, Windows 10 operating system. The specific network parameter settings are shown in Table 2. In this simulation, sensor nodes are randomly deployed in a square field of 200 × 200 m2, each node with the same initial energy ( E 0 ) of 5~15 J. The battery capacity E m = 20 J and the two thresholds for battery energy ( L e v e l 1 and L e v e l 2 ) are set to 5 and 15 % E m , respectively (empirical values [1]). The energy consumption is caused by three parts: (1) sending packets (including initial information packets, ACK packets, reply packets and the data packets), (2) receiving packets (corresponds to the energy of sending packets) and (3) dissipation energy consumption of hardware for maintaining the node operation (including the energy required for modulation, coding, listening, etc.).
The data buffer can contain at most 20~60 packets ( B m a x ) . Buffer upper threshold ( B u p p e r ) is the boundary value that adjusts reception state from the receive mode to no-receive mode. If B u p p e r is too small, it would result in buffer space wastage. While too large, it would easily cause packet loss. Similarly, buffer lower threshold ( B l o w e r ) is the boundary value that adjusts the reception state from the no-receive mode to receive mode. If B l o w e r is too large, it may cause the node to adjust its data reception state frequently, resulting in energy wastage. While too small, the node may have to wait for a long time duration to recover to the receive mode. In general, B u p p e r and B l o w e r are set to 90 and 70 % D B m a x , respectively (empirical values).
Data packets are generated by nodes following Poisson process with average packets generation rate ( P G R ) of 1~5 packets/s. To ensure the fairness of measurement factors, we set the four weighting factors in Formula (27) to be equal.

5.2. Simulation Metrics

(1) Packet delivery ratio ( P D R ) . It is measured using the ratio of the number of packets received by destination to the number of packets transmitted by source.
P D R = n u m b e r o f p a c k e t s r e c e i v e d b y d e s t i n a t i o n n u m b e r o f p a c k e t s s e n t b y s o u r c e
(2) Network energy variance. The average network residual energy can be calculated as:
E ¯ r t = i = 1 n E r i t
The residual energy variance of the network can be expressed as:
D t = 1 n i = 1 n E r i t E ¯ r t 2
(3) Average end-to-end delay. It is the average time that a packet sends from source to destination.
T = 1 N s i = 1 N s t r i t s i
(4) Average energy consumption. The ratio of total energy consumption by network to the number of packets successfully received by the destination.
(5) Average hop count. In multi-hop networks, the routing hop affects the transmission delay. Therefore, it also reflects network performance to some extent.
We measure the performance of routing algorithms from five aspects: (1) the impact of the number of nodes, (2) the impact of initial energy, (3) the impact of simulation time, (4) the impact of buffer capacity, (5) the impact of packets generation rate, (6) the performance change with time and (7) the network recovery time.

5.3. Simulation Result

5.3.1. The Impact of the Number of Nodes

In this simulation group, we set the initial energy E 0 = 15 J, simulation time T s = 600 s, packets generation rate P G R = 2 packets/s, data buffer capacity B m a x = 40 packets and the number of sensor nodes n varies in 100~300. Figure 10 shows the impact of n on average energy consumption, energy variance, average end-to-end delay, packet delivery ratio and average hop count.
Overall, as the number of nodes n increases, the energy consumption and end-to-end delay decrease (not absolutely). The reason is that when n increases, more optimal relay nodes with higher residual energy and lower transmission delay can be found (through executing the routing strategy), and the void nodes can be reduced. Thus, the increases in n can ease the congestion to some extent. Meanwhile, due to this reason, packet delivery ratio increases with the increasing n. For the energy variance, due to the negative relation between average energy consumption and n (nodes harvest the same amount of energy while consuming less), the energy difference between the nodes diminishes. Hence, energy variance is inversely correlated with the number of nodes. It should be explained that EHR always selects the relay node with the maximum energy state level. As a result, n does not have a significant impact on EHR’s energy variance. The number of the hop count is affected not only by n but also by the detailed routing strategy. Thus, the average hop count does not absolutely change with n.
From Figure 10a,c,d, we find that our algorithm, GS-EERA, achieves the optimum performance in average energy consumption, end-to-end delay and packet delivery ratio. Take the energy consumption as the example, GS-EERA outperforms the EHPRP, EHR and SAGREH by about 193.38, 52.86 and 98.93%, respectively. The reasons can be explained as follows: Firstly, our algorithm leverages the reception state adjustment mechanism to alleviate the congestion problem, which can reduce the energy wasting, transmission delay and packets loss. Secondly, it chooses relay node based on multi-factors, which considers the residual energy, energy harvesting rate, distance and transmission delay. Thirdly, it also adopts void recovery and void avoidance methods to deal with the routing hole problem. Therefore, it alleviates the issues of packets loss, long transmission delay and energy wasting brought by routing holes. EHR considers the buffer constraint problem. However, it neglects the impact of energy state, collision of wireless channel and the routing hole problem. Therefore, EHR only slightly eases congestion, and it performs worse than GS-EERA in terms of energy consumption and end-to-end delay. SAGREH determines the candidate route based on distance, direction and residual energy, i.e., choosing a transmission path with the highest reliability. Hence, SAGREH achieves acceptable performance in energy consumption and packet delivery ratio.
From Figure 10e, we see that the number of hop counts of GS-EERA is less than the other three routing algorithms. That is because GS-EERA makes use of the communication range judgement model to determine the candidate nodes, which ensures the optimal forward direction. Furthermore, it takes distance into account when selecting the relay node (Formula (27)), guaranteeing each hop as long as possible. SAGREH and EHPRP also comprehensively consider the direction and distance in the next hop selection. Nevertheless, these two algorithms do not control the direction and ignore the routing hole issue. Therefore, they have a relatively higher number of routing hops compared with GS-EERA. EHR performs poorly in average hop count as these two factors are not considered.
From Figure 10b, we observe that EHR achieves the best performance in energy variance, since it always selects relay nodes with the highest energy level and maximum energy harvesting density. GS-EERA and EHPRP consider muti-factors including the residual energy and energy harvesting rate. As a result, these two algorithms obtain relatively worse performance than EHR in energy variance. SAGREH does not efficiently consider the impact of energy state on next hop selection. Thus, it performs poorly in energy variance.

5.3.2. The Impact of Initial Energy

In this simulation group, we set the number of nodes n = 300 , simulation time T s = 600 s, packets generation rate P G R = 2 packets/s, data buffer capacity B m a x = 40 packets and the initial energy E 0 varies in 5~15 J. Figure 11 shows the impact of E 0 on average energy consumption, energy variance, average end-to-end delay, packet delivery ratio and average hop count.
Overall, as the initial energy E 0 increases, the energy consumption and end-to-end delay decrease, and the packets delivery rate increases. With more E 0 , the nodes are easier to be in the active mode. Thus, the number of candidate nodes increases. As described in Section 5.3.1, the increasing of the number of candidate nodes increases can improve the performance of energy consumption, end-to-end delay and packet delivery ratio. The energy variance and average hop count are affected not only by the initial energy but also by the detailed routing strategy. As a result, these two metrics do not have clearly change rules.
GS-EERA still achieves the optimum performance in average energy consumption, end-to-end delay, packet delivery ratio and hop count, and acceptable performance in energy variance. Take the average hop count as an example, GS-EERA is 20.38% less than EHPRP, 32.12% less than SAGREH, and 45.73% less than EHR, respectively. Since EHR emphasizes the energy state of selected nodes and considers buffer constraints to alleviate congestion problem, it has good performance in energy consumption, energy variance and end-to-end delay. EHPRP achieves better performance in energy variance and average hop count, while performing worse in end-to-end delay and packet delivery ratio. SAGREH achieves acceptable performance in energy consumption, packet delivery ratio but performs badly in energy variance and end-to-end delay (the reasons have been explained in Section 5.3.1).

5.3.3. The Impact of Simulation Time

In this simulation group, we set the number of nodes n = 300 , initial energy E 0 = 15 J, packets generation rate P G R = 2 packets/s, data buffer capacity B m a x = 40 packets and simulation time T s varies in 600~1800 s. Figure 12 shows the impact of T s on average energy consumption, energy variance, average end-to-end delay, packet delivery ratio and average hop count.
Overall, with the simulation time T s increases, energy consumption, end-to-end delay and hop count increase. The reason is that when T s increases, the residual energy and buffer size of more nodes reach up to the bound, and thereby they cannot forward packets. Accordingly, the data transmission is potentially interrupted. It should be noted that since EHR, EHPRP and SAGREH do not consider the relationship between energy state and data buffer capacity, the number of nodes which are in the sleep mode with unforwarded packets would increase with T s . Therefore, the end-to-end delay of these three algorithms increases dramatically. In addition, for these reasons, the packet delivery ratio decreases with the increasing T s . As T s increases, some nodes may have lower residual energy (at a fixed number of nodes, some nodes are repeatedly used for data transmission), while some nodes are used infrequently but still access the harvested energy. Hence, the energy variance increases.
Compared with the other three routing algorithms, GS-EERA still achieves the optimum performance in energy consumption, end-to-end delay, packet delivery ratio and hop count and acceptable performance in energy variance. Take the end-to-end delay as the example, GS-EERA is 334.21% less than EHPRP, 202.32% less than EHR and 365.27% less than SAGREH, respectively. EHR achieves good performance in energy consumption, energy variance and end-to-end delay but performs poorly in packet delivery ratio and average hop count. EHPRP achieves better performance in energy variance and average hop count, while obtaining worse energy consumption and packet delivery ratio. SAGREH achieves acceptable performance in the energy consumption and packet delivery ratio (the reasons have been explained in Section 5.3.1).

5.3.4. The Impact of Data Buffer Capacity

In this simulation group, we set the number of nodes n = 300 , initial energy E 0 = 15 J, packets generation rate P G R = 2 packets/s, simulation time T s = 600 s and the data buffer capacity B m a x varies in 20~60 packets. Figure 13 shows the impact of B m a x on average energy consumption, energy variance, average end-to-end delay, packet delivery ratio and average hop count.
Overall, as the data buffer capacity B m a x increases, the energy consumption, end-to-end delay and hop count decrease, while the packet delivery ratio increases. With the increase in B m a x , the congestion issue can be effectively alleviated, more sensor nodes can receive data and the routing strategy may find an optimal relay node. As a consequence, the performance of energy consumption, end-to-end delay, packet delivery ratio and hop count are improved. The energy variance is affected by multiple factors. Thus, it does not have a clear change rule.
For GS-EERA, it still achieves the optimal performance in energy consumption, end-to-end delay, packet delivery ratio and hop count and acceptable performance in energy variance. The reason is that GS-EERA introduces a reception state adjustment mechanism, and thereby nodes can dynamically adjust packet reception according to the remaining buffer size and energy state (i.e., easing the congestion problem). Due to the mechanism, the performance of packet delivery ratio, energy consumption and end-to-end delay is also improved. Take the packet delivery ratio as an example, GS-EERA outperforms the EHPRP, EHR and SAGREH by about 34.41, 24.73 and 16.12%, respectively. EHR achieves good performance in energy consumption, energy variance and end-to-end delay. EHPRP achieves better performance in energy variance and average hop count, while worse in energy consumption and packet delivery ratio. SAGREH achieves acceptable performance in the energy consumption and packet delivery ratio but performs poorly in energy variance and end-to-end delay (the reasons have been explained in Section 5.3.1).

5.3.5. The Impact of Packets Generation Rate

In this simulation group, we set the number of nodes n = 300 , initial energy E 0 = 15 J, simulation time T s = 600 s, data buffer capacity B m a x = 40 packets and the packets generation rate P G R varies in 1~5 packets/s. Figure 14 shows the impact of P G R on average energy consumption, energy variance, average end-to-end delay, packet delivery ratio and average hop count.
Overall, as the packets generation rate P G R increases, energy consumption, end-to-end delay and hop count increase and packet delivery ratio decreases (not absolutely). When P G R increases, there are more packets in the buffer of nodes, which intensify the packet transmission frequency. Congestion probability would increase if the frequency is too high, which decreases the network performance. In contrast, if P G R is lower, the generated packets can be processed in time and congestion probability is decreased. The energy variance is affected by multiple factors. Thus, it has an unclear change rule.
For GS-EERA, it still achieves the optimal performance in energy consumption, end-to-end delay, packet delivery ratio and hop count and acceptable performance in energy variance. That is because the introduced reception state adjustment mechanism can reduce the probability of congestion occurrence and enhance the efficiency of packet transmission. Take the average hop count as an example, GS-EERA is 22.85% less than EHPRP, 51.35% less than EHR and 17.18% less than SAGREH, respectively. EHR performs better in energy consumption, energy variance and end-to-end delay, while worse in packet delivery ratio and hop count. EHPRP achieves better performance in energy variance and average hop count, while underperforming in energy consumption and packet delivery ratio. SAGREH achieves acceptable performance in the energy consumption and packet delivery ratio but performs worse in energy variance and end-to-end delay (the reasons have been explained in Section 5.3.1).

5.3.6. The Performance Change with Time

In this simulation group, we set the energy harvesting time from 18 to 24 h (Figure 3), in which energy input from the photovoltaic energy harvester falls down drastically, to observe the performance change of the routing algorithms. We set the number of nodes n = 300 , initial energy E 0 = 15 J, packets generation rate P G R = 2 packets/s and data buffer capacity B m a x = 40 packets. Figure 15 shows the performance of average energy consumption, energy variance, average end-to-end delay, packet delivery ratio and average hop count change with time.
Overall, under conditions of the energy harvesting rate falling down drastically, with an increase in the simulation time, energy consumption, end-to-end delay, energy variance and hop count, the packet delivery ratio decreases. The reasons have been explained in Section 5.3.3. We can notice that the decrease in energy harvesting rate has relatively less impact on our algorithm (GS-EERA) than the other three algorithms. That is because the use of the reception state adjustment mechanism can ease the congestion issue and save energy. Therefore, our algorithm has good network stability.
Compared with the other three routing algorithms, GS-EERA still achieves the optimum performance in energy consumption, end-to-end delay, packet delivery ratio and hop count and acceptable performance in energy variance. Take the average hop count as an example, GS-EERA is 28.57% less than EHPRP, 42.12% less than SAGREH and 68.57% less than EHR. EHR achieves good performance in energy consumption, energy variance and end-to-end delay but performs poorly in packet delivery ratio and average hop count. EHPRP achieves better performance in energy variance and average hop count, while achieving a worse energy consumption and packet delivery ratio. SAGREH achieves acceptable performance in the energy consumption and packet delivery ratio (the reasons have been explained in Section 5.3.1).

5.3.7. The Network Recovery Time

In this simulation group, we set 50 and 75% of the nodes’ initial energy as 0, and the others are 12 J. The photovoltaic energy harvesting technology is used, and the time set from 0 to 6 h (Figure 3). When 80% of nodes can receive packets, we view the network as recovery.
Figure 16a–c shows the performance of network recovery time when 50% of the nodes’ initial energy is 0. In Figure 16a, we set the data buffer capacity B m a x = 40 packets, packets generation rate P G R = 2 packets/s and the number of nodes n varies in 100~300. Figure 16a shows the impact of n on network recovery time. Overall, with the increases in n, the network recovery time increases first, then decreases. The reason is that when n increases, the energy consumption of the network reduces (the reasons have been explained in Section 5.3.1) and there are fewer alive nodes entering sleep mode; hence, the network recovery time decreases. However, if n is too less, there are more isolated nodes and fewer packets are transmitted in the network, resulting in less energy consumption. Therefore, we can see from Figure 16a that the recovery time increases when n is less than 200. Our algorithm, GS-EERA, achieves the optimal performance in the network recovery time. That is because, compared with the other three algorithms, GS-EERA comprehensively considers the buffer constrain and routing hole problems. Through leveraging a reception state adjustment mechanism to ease the congestion problem and adopting the void recovery and void avoidance method to deal with the routing hole problem, it can reduce the energy consumption. Therefore, the network recovery time of GS-EERA is shorter than the others three algorithms.
In Figure 16b, we set the number of nodes n = 300 , packets generation rate P G R = 2 packets/s and the data buffer capacity B m a x varies in 20~60 packets. Figure 16b shows the impact of B m a x on network recovery time. Overall, with the increases in B m a x , the network recovery time decreases. When the B m a x is small, congestion is more likely to occur, resulting in more energy-wasting and longer network recovery time. As B m a x increases, the congestion problem can be alleviated, and energy consumption can be reduced. Hence, the network recovery time decreases.
In Figure 16c, we set the number of nodes n = 300 , the data buffer capacity B m a x = 40 packets and packets generation rate P G R varies in 1~5 packets/s. Figure 16c shows the impact of P G R on network recovery time. Overall, with the increases in P G R , the network recovery time increases. That is because the higher P G R would bring out a higher congestion probability, causing the network recovery time to be longer.
Figure 16d–f shows the performance of network recovery time when 75% of the nodes’ initial energy is 0. The changing trend is similar to Figure 16a–c, and GS-EERA still achieves the optimal performance. The reasons have been explained in Paragraph 2. However, overall, when the number of the node in which the initial energy is 0 adjusts from 50 to 75%, the network recovery time increases.

6. Conclusions

In order to improve energy efficiency and address the buffer constraint problem in EH-WSNs, we propose a brand new greedy strategy-based energy-efficient routing protocol, GS-EERA. In the system modeling process, we firstly formulate an energy evaluation model to determine the energy state of a node and construct a communication range judgment model to identify the effective transmission area. Next, we introduce a reception state adjustment mechanism. By considering the data buffer state and MAC layer protocol, this mechanism can dynamically adjust the data reception state of nodes. With this, we give the detailed execution process of GS-EERA. In addition, we analyze the correctness and computational complexity of this algorithm. Finally, we conduct the simulation experiment. Compared with EHR, EHPRP and SAGREH, our algorithm obtains the optimal performance in average energy consumption, average end-to-end delay, packet delivery ratio and average hop count and acceptable performance in energy variance. Our algorithm provides a meaningful solution for constructing green communication systems.
In future studies, we think the following research directions are valuable: (1) adapting our algorithms to vertically heterogeneous 3D environments, (2) considering the impact of Unmanned Aerial Vehicles on routing design and (3) extending our algorithm to multipath routing.

Author Contributions

Conceptualization, Y.H. (Yong Hong); Data curation, Y.H. (Yong Hong); Formal analysis, S.H. and Y.H. (Yong Hong); Funding acquisition, S.H.; Investigation, Y.H. (Yu He); Methodology, S.H. and Y.H. (Yong Hong); Project administration, S.H.; Resources, S.H. and Y.H. (Yu He); Software, Y.H. (Yong Hong); Supervision, S.H.; Validation, S.H. and Y.H. (Yong Hong); Visualization, S.H. and Y.H. (Yu He); Writing—original draft, Y.H. (Yong Hong); Writing—review & editing, S.H. and Y.H. (Yong Hong). All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Natural Science Foundation of China (No. 61772386), National Key Research and Development Project (No. 2018YFB1305001) and The Fundamental Research Funds for the Central Universities (No. KJ02072021-0119).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Acknowledgments

The authors would like to thank the editor and anonymous reviewers for helpful comments that have improved the quality of the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Nguyen, T.D.; Khan, J.Y.; Ngo, D.T. An effective energy-harvesting-aware routing algorithm for WSN-based IoT applications. In Proceedings of the IEEE International Conference on Communications, Paris, France, 21–25 May 2017; pp. 1–6. [Google Scholar]
  2. Zhang, G. A Review of Routing Protocols in Energy Harvesting Wireless Sensor Networks. In Proceedings of the Mobile Wireless Middleware, Operating Systems and Applications, Hohhot, China, 11 July 2020; pp. 197–203. [Google Scholar]
  3. Sheng, H.; Zhang, H.; Song, M. An Adaptive Clustering Strategy for MANET Based on Learning Automata Theory and Stabillity Control. Chin. J. Comput. 2018, 41, 17. [Google Scholar]
  4. Sudevalayam, S.; Kulkarni, P. Energy Harvesting Sensor Nodes: Survey and Implications. IEEE Commun. Surv. Tutor. 2011, 13, 443–461. [Google Scholar] [CrossRef] [Green Version]
  5. Hao, S.; Zhang, H. An energy harvesting modified MAC protocol for power-line communication systems using RF energy transfer: Design and analysis. IEICE Trans. Commun. 2020, E103-B, 1086–1100. [Google Scholar] [CrossRef]
  6. Cao, Y.; Liu, X.Y.; Kong, L.; Wu, M.Y.; Khan, M.K. EHR: Routing Protocol for Energy Harvesting Wireless Sensor Networks. In Proceedings of the 2016 IEEE 22nd International Conference on Parallel and Distributed Systems (ICPADS), Wuhan, China, 13–16 December 2017. [Google Scholar]
  7. Pu, G.; Quan, X.; Chen, T.M. Energy Harvesting Aware routing protocol for wireless sensor networks. In Proceedings of the International Symposium on Communication Systems, Manchester, UK, 23–25 July 2014. [Google Scholar]
  8. Hieu, T.D.; Kim, B.S. Stability-aware geographic routing in energy harvesting wireless sensor networks. Sensors 2016, 16, 696. [Google Scholar] [CrossRef] [Green Version]
  9. Sheng, H.; Zhang, H.; Song, M. A Stable and Energy-Efficient Routing Algorithm Based on Learning Automata Theory for MANET. J. Commun. Inf. Netw. 2018, 3, 1–15. [Google Scholar]
  10. Maleki, M.; Hakami, V.; Dehghan, M. A Model-Based Reinforcement Learning Algorithm for Routing in Energy Harvesting Mobile Ad-Hoc Networks. Wirel. Pers. Commun. 2017, 95, 3119–3139. [Google Scholar] [CrossRef]
  11. Tang, W.; Zhang, K.; Jiang, D. Physarum-inspired routing protocol for energy harvesting wireless sensor networks. Telecommun. Syst. Model. Anal. Des. Manag. 2018, 67, 745–762. [Google Scholar] [CrossRef]
  12. Ren, F.; Zhang, J.; He, T.; Lin, C.; Ren, S. EBRP: Energy-Balanced Routing Protocol for Data Gathering in Wireless Sensor Networks. IEEE Trans. Parallel Distrib. Syst. 2011, 22, 2108–2125. [Google Scholar] [CrossRef]
  13. Martinez, G.; Li, S.; Zhou, C. Wastage-Aware Routing in Energy-Harvesting Wireless Sensor Networks. Sens. J. IEEE 2014, 14, 2967–2974. [Google Scholar] [CrossRef]
  14. Hao, S.; Zhang, H.Y.; Wang, J. A Learning Automata Based Stable and Energy-Efficient Routing Algorithm for Discrete Energy Harvesting Mobile Wireless Sensor Network. Wirel. Pers. Commun. 2019, 107, 437–469. [Google Scholar] [CrossRef]
  15. Umale, M.; Markande, S.D. Energy efficient routing algorithm on the target tracking in Wireless Sensor Network. In Proceedings of the 2015 International Conference on Information Processing (ICIP), Pune, India, 16–19 December 2016. [Google Scholar]
  16. Haque, M.E.; Baroudi, U. Dynamic energy efficient routing protocol in wireless sensor networks. Wirel. Netw. 2020, 26, 3715–3733. [Google Scholar] [CrossRef]
  17. Ding, W.; Tang, L.; Ji, S. Optimizing routing based on congestion control for wireless sensor networks. Wirel. Netw. 2016, 22, 915–925. [Google Scholar] [CrossRef]
  18. Ren, M.; Lu, P.; Liu, X.; Hossain, M.S.; Dai, H. Decarbonizing China’s iron and steel industry from the supply and demand sides for carbon neutrality. Appl. Energy 2021, 298, 117209. [Google Scholar] [CrossRef]
  19. Karp, B. GPSR: Greedy Perimeter Stateless Routing for Wireless Networks. In Proceedings of the 6th Annual International Conference on Mobile Computing and Networking, Boston, MA, USA, 6–11 August 2000. [Google Scholar]
  20. Heinzelman, W.R.; Chandrakasan, A.; Balakrishnan, H. Energy-efficient communication protocol for wireless micro sensor networks. In Proceedings of the 33rd Annual Hawaii International Conference on System Sciences, Maui, HI, USA, 4–7 January 2000. [Google Scholar]
  21. Jiang, A.; Zheng, L. An Effective Hybrid Routing Algorithm in WSN: Ant Colony Optimization in combination with Hop Count Minimization. Sensors 2018, 18, 1020. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  22. Niculescu, D. Positioning in ad hoc sensor networks. Netw. IEEE 2004, 18, 24–29. [Google Scholar] [CrossRef] [Green Version]
  23. Savvides, A. Dynamic fine-grained localization in Ad-Hoc networks of sensors. In Proceedings of the International Conference on Mobile Computing Networking, Rome, Italy, 16–21 July 2001. [Google Scholar]
  24. Chai, Y.; Zeng, X.J. Load balancing routing for wireless mesh network with energy harvesting. IEEE Commun. Lett. 2020, 24, 926–930. [Google Scholar] [CrossRef]
  25. Renzo, M.; Guan, P. Stochastic Geometry Modeling and System-Level Analysis of Uplink Heterogeneous Cellular Networks with Multi-Antenna Base Stations. IEEE Trans. Commun. 2016, 64, 2453–2476. [Google Scholar] [CrossRef]
  26. Proakis, J.G.; Salehi, M. Digital Communications. Digit. Commun. 2015, 73, 3–5. [Google Scholar]
  27. Stüber, G.L. Principles of Mobile Communication; Springer International Publishing: Berlin/Heidelberg, Germany, 2017. [Google Scholar]
  28. Rappaport, T.S. Wireless Communications: Principles and Practice, 2nd ed.; Prentice Hall PTR: Englewood Cliffs, NJ, USA, 2002. [Google Scholar]
  29. Zhao, M.; Li, Y.; Wang, W. Modeling and Analytical Study of Link Properties in Multihop Wireless Networks. IEEE Trans. Commun. 2012, 60, 445–455. [Google Scholar] [CrossRef]
  30. Bruno, R.; Conti, M.; Pinizzotto, A. A queuing modeling approach for Load-Aware Route Selection in heterogeneous mesh networks. In Proceedings of the IEEE International Symposium on World of Wireless, Mobile & Multimedia Networks & Workshops, Kos, Greece, 15–19 June 2009. [Google Scholar]
  31. Han, K.; Luo, J.; Liu, Y.; Vasilakos, A. Algorithm design for data communications in duty-cycled wireless sensor networks: A survey. Commun. Mag. IEEE 2013, 51, 107–113. [Google Scholar] [CrossRef]
  32. Tickoo, O.; Sikdar, O. Modeling Queueing and Channel Access Delay in Unsaturated IEEE 802.11 Randor Access MAC Based Wireless Networks. IEEE ACM Trans. Netw. 2008, 16, 878–891. [Google Scholar] [CrossRef] [Green Version]
  33. Hao, S.; Zhang, H. MAC Performance Analysis for Reliable Power-Line Communication Networks with ARQ Scheme. Sensors 2020, 21, 196. [Google Scholar] [CrossRef] [PubMed]
  34. Hao, S.; Zhang, H. A Cross-Layered Theoretical Model of IEEE 1901 Power-Line Communication Networks Considering Retransmission Protocols. IEEE Access. 2021, 9, 28805–28821. [Google Scholar] [CrossRef]
  35. Hao, S.; Zhang, H. From Homogeneous to Heterogeneous: An Analytical Model for IEEE 1901 Power Line Communication Networks in Unsaturated Conditions. IEICE Trans. Commun. 2019, E102-B, 1636–1648. [Google Scholar] [CrossRef]
  36. Hao, S.; Zhang, H.Y. Theoretical modeling for performance analysis of IEEE 1901 power-line communication networks in the multi-hop environment. J. Supercomput. 2020, 76, 2715–2747. [Google Scholar] [CrossRef]
  37. Bisnik, N.; Abouzeid, A.A. Queuing Delay and Achievable Throughput in Random Access Wireless Ad Hoc Networks. In Proceedings of the 2006 3rd Annual IEEE Communications Society on Sensor and Ad Hoc Communications and Networks, SECON’06, Reston, VA, USA, 28 September 2006. [Google Scholar]
Figure 1. Data conservation structure.
Figure 1. Data conservation structure.
Sensors 22 01645 g001
Figure 2. Packet format.
Figure 2. Packet format.
Sensors 22 01645 g002
Figure 3. Energy harvesting rate in different time instant [6].
Figure 3. Energy harvesting rate in different time instant [6].
Sensors 22 01645 g003
Figure 5. Forward transmission region.
Figure 5. Forward transmission region.
Sensors 22 01645 g005
Figure 6. Reception state adjustment mechanism.
Figure 6. Reception state adjustment mechanism.
Sensors 22 01645 g006
Figure 7. Interfering nodes.
Figure 7. Interfering nodes.
Sensors 22 01645 g007
Figure 8. Routing hole problem.
Figure 8. Routing hole problem.
Sensors 22 01645 g008
Figure 9. The procedure of GS-EERA main algorithm.
Figure 9. The procedure of GS-EERA main algorithm.
Sensors 22 01645 g009
Figure 10. The impact of the number of nodes on (a) average energy consumption, (b) energy variance, (c) average end-to-end delay, (d) packet delivery ratio and (e) average hop count.
Figure 10. The impact of the number of nodes on (a) average energy consumption, (b) energy variance, (c) average end-to-end delay, (d) packet delivery ratio and (e) average hop count.
Sensors 22 01645 g010
Figure 11. The impact of initial energy on (a) average energy consumption, (b) energy variance, (c) average end-to-end delay, (d) packet delivery ratio and (e) average hop count.
Figure 11. The impact of initial energy on (a) average energy consumption, (b) energy variance, (c) average end-to-end delay, (d) packet delivery ratio and (e) average hop count.
Sensors 22 01645 g011
Figure 12. The impact of simulation time on (a) average energy consumption, (b) energy variance, (c) average end-to-end delay, (d) packet delivery ratio and (e) average hop count.
Figure 12. The impact of simulation time on (a) average energy consumption, (b) energy variance, (c) average end-to-end delay, (d) packet delivery ratio and (e) average hop count.
Sensors 22 01645 g012
Figure 13. The impact of data buffer capacity on (a) average energy consumption, (b) energy variance, (c) average end-to-end delay, (d) packet delivery ratio and (e) average hop count.
Figure 13. The impact of data buffer capacity on (a) average energy consumption, (b) energy variance, (c) average end-to-end delay, (d) packet delivery ratio and (e) average hop count.
Sensors 22 01645 g013
Figure 14. The impact of packets generation rate on (a) average energy consumption, (b) energy variance, (c) average end-to-end delay, (d) packet delivery ratio and (e) average hop count.
Figure 14. The impact of packets generation rate on (a) average energy consumption, (b) energy variance, (c) average end-to-end delay, (d) packet delivery ratio and (e) average hop count.
Sensors 22 01645 g014
Figure 15. The performance change with time. (a) average energy consumption, (b) energy variance, (c) average end-to-end delay, (d) packet delivery ratio and (e) average hop count.
Figure 15. The performance change with time. (a) average energy consumption, (b) energy variance, (c) average end-to-end delay, (d) packet delivery ratio and (e) average hop count.
Sensors 22 01645 g015
Figure 16. The network recovery time.
Figure 16. The network recovery time.
Sensors 22 01645 g016
Table 1. The list of core notations related to the system model.
Table 1. The list of core notations related to the system model.
NotationMeaning
E r Residual energy
E m Battery maximum capacity
E H Energy harvesting rate
E H m a x Maximum energy harvesting rate
E 0 Initial residual energy
E t x Energy consumption for sending a packet
E r x Energy consumption for receiving a packet
E s Dissipation energy consumption of hardware
D B Data buffer occupancy
BThe number of packets in buffer
F l a g Buffer packet reception state mark
P t Transmission power
P r Receive power
d 0 Maximum communication distance
d i j Distance between node i and j
N E ( i ) Neighbor nodes set of node i
F N ( i ) Forward transmission nodes set of node i
C N ( i ) Candidate nodes set of node i
LPacket length
RData transmission rate
Table 2. Parameters setting.
Table 2. Parameters setting.
ParameterValue
Network size200 × 200 m2
The number of nodes ( n ) 100~300
Simulation time ( T s ) 600~1800 s
Battery capacity ( E m ) 20 J
L e v e l 1 5 % E m
L e v e l 2 15 % E m
Initial energy ( E 0 ) 5~15 J
Maximum energy harvesting rate ( E H m a x ) 0.3  J/s
Data buffer capacity ( B m a x ) 20~60 packets
Data buffer upper threshold ( B u p p e r ) 90 % B m a x
Data buffer lower threshold ( B l o w e r ) 70 % B m a x
Data packet size ( L ) 512 Bytes
Packets generation rate ( P G R ) 1~5 packets/s
Data transmission rate ( R ) 10 kb/s
Dissipation energy consumption of hardware ( E s ) 0.1  J/s
Transmission power ( P t ) 200 mW
Weighting coefficient α = β = γ = δ = 0.25
Time slot ( t s l o t ) 0.1  s
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Hao, S.; Hong, Y.; He, Y. An Energy-Efficient Routing Algorithm Based on Greedy Strategy for Energy Harvesting Wireless Sensor Networks. Sensors 2022, 22, 1645. https://doi.org/10.3390/s22041645

AMA Style

Hao S, Hong Y, He Y. An Energy-Efficient Routing Algorithm Based on Greedy Strategy for Energy Harvesting Wireless Sensor Networks. Sensors. 2022; 22(4):1645. https://doi.org/10.3390/s22041645

Chicago/Turabian Style

Hao, Sheng, Yong Hong, and Yu He. 2022. "An Energy-Efficient Routing Algorithm Based on Greedy Strategy for Energy Harvesting Wireless Sensor Networks" Sensors 22, no. 4: 1645. https://doi.org/10.3390/s22041645

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