Abstract
The nodes in a wireless sensor network (WSN) are often clustered to improve the efficiency of data transmission, but this can cause an imbalance in the energy available at each node. This impairs the transmission capability of some nodes and hence reduces network connectivity. This imbalance worsens as nodes become defunct. We propose a multilayer topology for long-term hybrid WSNs which contain both battery-powered and energy-harvesting nodes. Each node periodically selects its own layer, depending on the energy it has available, in order to balance energy levels and maintain network connectivity. Simulations show that this scheme improves the delivery of data across a WSN.
1. Introduction
Wireless sensor networks (WSNs) are now widely used to collect environmental data. A WSN consists of many wireless sensor nodes, which communicate the data they acquire to a sink node. Because of wireless range limitations, this usually involves multihop transmission, passing data from one node to the next. Nodes also have a limited lifetime because they run on batteries, and when these are exhausted transmissions cease and other nodes, which used the dead node for relaying data, may no longer be able to communicate with the sink. Therefore, it is important to prolong lifetime of the sensor nodes in a WSN.
Controlling the topology of the wireless connections between nodes can prolong the life of a network, by avoiding undue reliance on bottleneck nodes, which are likely to fail easily due to the volume of traffic that they handle, bringing out large parts of the network. However, networks with no hierarchy have their own problems. Early WSNs had a flat topology and transferred data using a flooding scheme. This can cause a broadcast storm and the redundant transmissions that result quickly exhaust the nodes’ batteries. This problem is exacerbated because the nodes closest to the sink use more energy than the others, and when they fail the rest of the network becomes isolated and thus useless.
A popular way to create a hierarchical topology is clustering. Nodes can organize themselves into clusters, each of which has a head which aggregates data from the nodes in the cluster and forwards it to the sink node. This scheme is better than the flat topology, but the cluster heads are its weak links: these nodes consume more energy than the other nodes, and die early, isolating the cluster from the sink.
This drawback is commonly ameliorated by periodically changing the head node within a cluster. Even so, dead nodes fail early and have to be replaced to achieve a satisfactory network lifetime as a whole. We have proposed a multilayer topology control scheme as an alternative way of addressing the problem. In our scheme [1], nodes are allocated to several layers, depending on the amount of energy they have available, with the aim of balancing usage against remaining energy. Nodes with plenty of energy are placed in an upper layer, and these nodes aggregate data received from lower layers. This has been shown to maintain good connectivity for far longer than other topology control schemes. However, our scheme requires to estimate lifetime of the entire network and the average amount of data relayed by each layer, in order to determine its own layer. Unfortunately, this information is not readily available at every node because the accuracy with which it can be estimated depends on the location of the node. Moreover, since all nodes are periodically able to move to other layers, estimates soon become inaccurate, and thus many nodes fail to locate themselves in the best layer.
The life of a network can also be prolonged if energy is harvested from the environment: an energy-harvesting node can potentially operate forever by recharging its battery with environmental energy. Even so, a node will eventually cease to operate if it consumes more energy than it is able to harvest. Many researchers [2] have designed topology control schemes to maximize the lifetime of a network of energy-harvesting nodes. However, many practical WSNs contain a mixed population of nodes, some of which can and some of which cannot harvest energy, and prolonging the lifetime of this class of WSN has received much less attention.
In this paper, we propose a topology control scheme for preserving connectivity between nodes in long-term WSNs, in which defunct nodes are manually replaced and which contains both energy-harvesting nodes and battery-powered nodes. In such a WSN, the battery-powered nodes can be expected to have diverse amounts of residual energy, which decline with length of deployment. As in our previous scheme, the nodes arrange themselves into layers, and the nodes on the upper layer are given the job of aggregating data received from the nodes on the lower layers and sending it to a sink node. Like previous layering schemes, this arrangement improves energy efficiency and connectivity; but this new scheme increases the lifetime of battery-powered nodes by preferentially locating energy-harvesting nodes on higher layers.
The rest of the paper is organized as follows. In Section 2 we describe the background to this research and review related work. In Section 3 we introduce our scheme for layer-based topology control and describe how nodes choose their layer and establish connectivity with neighboring nodes. In Section 4 we present experimental results and assess the performance of our scheme. In Section 5 we introduce a proposal for further research. Section 6 concludes the paper.
2. Background and Related Work
2.1. Energy-Harvesting Wireless Sensor Networks
WSNs consisting solely of battery-powered nodes naturally have a limited lifetime, and there have been many proposals [2] to use energy-harvesting nodes to extend the lifetime of WSNs [2]. The environmental sources from which it is practical for nodes to harvest energy are the sun [3–8] and the wind [8, 9]. Solar-powered wireless sensor nodes are usually preferred [10] because of the high areal density of solar power (about 15 mW/cm2).
Many schemes have been proposed to maximize the contribution of solar energy to extending the life of a WSN. Kansal et al. [11] proposed an energy model for solar-powered nodes, which estimates the levels of energy consumption and harvesting which will allow a node to survive indefinitely. Noh and Kang [12] designed an energy allocation scheme which estimates the energy that will be harvested by a solar cell every hour and determines future consumption levels which will allow the node to survive; a complementary routing algorithm has also been presented [13].
The efficient use of solar energy requires accurate prediction, which is relatively easy because of its obvious relation to the diurnal cycle. Nevertheless, the availability of sunlight is of course affected by weather. Kansal et al. [3], Piorno et al. [14], Moser et al. [15], and Cammarano et al. [16] have all proposed models for estimating the availability of solar energy, using, respectively, an exponentially weighted moving-average (EWMA), the so-called weather-conditioned moving average (WCMA), a weighted sum of historical data, and the Pro-Energy model.
2.2. Hierarchical Topology Control for WSNs with Energy-Harvesting Nodes
Topology control, which determines how nodes connect to each other, is an important issue which affects WSN performance. Only relatively recently has it been applied to WSNs which use energy-harvesting nodes.
Voigt et al. [17] introduced the solar-aware LEACH algorithm (sLEACH) which applies LEACH [18] to WSNs consisting of both solar-powered and battery-powered nodes. The sLEACH algorithm strongly favors the use of solar-powered nodes as cluster heads, which have to do more work than other nodes. LEACH is effective in equalizing energy usage across (battery-powered) nodes, but sLEACH cannot be applied to large WSNs because all the cluster heads must connect directly to the sink. In addition, sLEACH tends to allow the harvested energy to be under-utilized, or to run out, because sLEACH does not consider energy stored at each node and the rate at which each node acquires energy.
Zhang et al. [19, 20] proposed a scheme which overcomes the need for each cluster head to connect directly to the sink, by using further energy-harvesting nodes to relay transmissions from the cluster head to the sink. This can also save energy by reducing the range over which cluster heads are required to transmit. Gou et al. [21] also addressed the drawbacks of sLEACH by partitioning a WSN and taking the energy remaining in each node into account.
Jakobsen et al. [22] and Meng et al. [23] also have proposed hierarchical topology control schemes for energy-harvesting nodes.
3. Layer-Based Topology Control with Energy-Harvesting Sensor Nodes
We will now introduce a new layer-based topology control scheme and explain how to allocate nodes to layers, how nodes operate within the layers, and how the scheme applies to energy-harvesting nodes. We will assume that a WSN contains both battery-powered and energy-harvesting nodes, which periodically forward the data that they have gathered to the sink node. We are also assuming that defunct nodes will be replaced, because this is a long-term WSN.
3.1. Review of Layer-Based Topology Control for Long-Term WSNs with Battery-Powered Nodes
In our previous layer-based topology control scheme [1], all the nodes gather data and periodically forward it to a sink node. Nodes are arranged in layers, and data travels hierarchically. This scheme has been shown to reduce the imbalance in available energy across the nodes.
Each node is periodically allocated to a layer on the basis of its estimated lifetime. The nodes in each layer affectively consider all higher-layer nodes as local sink nodes, relative to their own layer, and data is routed by the multi-sink-aware minimum-depth tree (m-MDT) algorithm [24]. Nodes in the upper layers forward the data received from lower-layer nodes, as well as the data they themselves have acquired, to nodes in yet higher layers. By repetition of these processes all the data arrives at the actual sink node. In order to prevent data being sent on void [25] or cyclic routes, nodes are not permitted to send data to nodes in lower layers. Figure 1 shows a topology with three layers.

Overview of layer-based topology control.
Naturally, nodes in higher layers will have to transit more data, requiring more energy. This is why energy-rich nodes are placed in higher layers. Each node determines its own layer, on the basis of the amount of energy that it has remaining, the amount of data which it is likely to have to transmit, and its estimated lifetime.
As we already mentioned, a drawback with this scheme is that the nodes’ estimation of the amount of data which they will have to transmit during a subsequent data transmission phase is not accurate, because it is an average of the amount of data transmitted by all the nodes, whereas the actual amount depends on the location of a particular node. In addition, this scheme potentially allows all nodes to change their layers very frequently, making it difficult to determine which layer is actually the best, because the amount of energy that a node forecasts it will consume in a layer is likely to be very different from its actual consumption when it moves itself to that layer. Furthermore, our scheme does not consider energy-harvesting nodes, which is the rationale of this present paper. We address all these deficiencies in the new scheme which we will now describe.
3.2. The Layer Determination Algorithm
We will now introduce our improved layer-based topology control scheme and explain how each node determines its layer. Unfortunately, this requires a lot of notation, and so we summarize frequently used notation in Notation Summary.
3.2.1. Operation of a Node
When a node

Node operation.

Example of node operation. The shaded box indicates a single round.
3.2.2. Topology Control Information for Layer and Target Determination
To determine the layer in which it should reside, a node needs information about its 1- and 2-hop neighbor nodes in the network. This information is delivered to nodes by topology control information (TCI) messages, which can be local or global, depending on their content and the range over which they are delivered.
Global TCI. At the beginning of each setup period
Global TCI message.
Local TCI. A Local TCI message contains information about a node's 2-hop neighbors, the shortest hop-count from the sending node to a higher-layer node, and the nodes’ expected lifetime, together with general neighborhood information commonly exchanged by nodes within WSNs. A node
Local TCI message.
Information about each neighbor node in N.
In our previous system [1], the average expected lifetime of all nodes was delivered to all the nodes in the WSN by means of a Global TCI message, and this information was used in determining each node's layer; but this procedure is not appropriate for WSNs in which nodes closer to a sink use more energy. In our new scheme, therefore, each node calculates a local average expected lifetime from information supplied by its 1- and 2-hop neighbors. This average is derived from the expected lifetime
3.2.3. Layer Determination
Each node
Asynchronous Layer Determination. Node
It determines whether to move up one layer by computing
If node
(1) (2) Calculate (3) (4) (5) (6) Broadcast Layer notification message (7) (8) (9) (10) (11) (12) (13) (14) (15)
(1) Calculate (2) (3) (4) (5) (6) Broadcast Global TCI message (7) (8) (9) (10) (11) (12) (13) (14) (15) (16) Broadcast Global TCI message (17)
Synchronous Layer Determination. This process determines whether a node will descend to the layer below its current layer. The sink node broadcasts a Global TCI message of the form described in Table 1, and every node which receives it runs the Synchronous layer determination process.
If node
We will now explain why there are two Layer determination processes. If all the nodes were to change their layers at the same time, their estimates of their own lifetimes
3.2.4. Estimated Lifetime of a Battery-Powered Node
Our scheme requires each node to calculate its expected lifetime and then to determine its layer by comparing its own expectation with the local expected lifetime
Estimation of Energy Consumption. An estimate of the energy consumed by a node can be made as follows [26]:
Estimating the Amount of Data That a Node Must Transmit If It Moves to a Higher Layer. The amount of data which node

Estimating the amount of data to be transmitted, as part of Asynchronous layer determination.
Case 1 (target node
).
The highest layer of any of the neighbor nodes
Case 2 (
and the hop-count of
).
The target node
Case 3 (otherwise).
Other nodes already have better target nodes than
All the information which a node requires in order to estimate the amount of data that it will have to relay can be obtained by exchanging Local TCI messages with its neighbors.
The estimated lifetime
3.3. Introducing Energy-Harvesting Nodes to a Layered Topology
In a WSN that has both energy-harvesting and battery-powered nodes, the network lifetime can be extended by preferential deployment of energy-harvesting nodes on upper layers as aggregation nodes. However, a node will eventually die if it uses more energy than it harvests and this is a greater threat to upper-layer nodes, because they have to transmit a lot of data. It is better to deploy energy-harvesting nodes on layers with workloads that allow them to them to survive indefinitely.
In the previous section, we showed how to determine the layer of a battery-powered node on the basis of a comparison between its estimated lifetime and the average expected lifetime of neighboring nodes. However, energy-harvesting nodes do not have well-defined lifetimes, and so they must be allocated to layers in a different way.
3.3.1. Energy Model for Energy-Harvesting Nodes
Although its long-term survival cannot be predicted, an energy-harvesting node
The expected energy harvest,
The expected energy consumption
3.3.2. Determining the Layer of an Energy-Harvesting Node
Because of the impracticality of estimating the lifetime of an energy-harvesting node, we settle for estimating whether an energy-harvesting node
Determining Whether a Node Should Move to a Higher Layer. If the estimated energy conserved stored in the battery of an energy-harvesting node
Determining Whether a Node Should Move to a Lower Layer. If the expected energy remaining in energy-harvesting node
4. Experimental Results
4.1. Simulation Environment
We wrote a simulation in C++ to evaluate the performance of the proposed scheme. In this simulation, we measured the average amount of dead nodes, and the average number of data arriving at the sink node, with a network topology consisting of up to four layers, respectively: a single layer is a flat topology. We deployed 500 nodes and each test set was run 20 times for 5000 rounds to obtain the average values. For topologies with more than one layer, all nodes were assigned to layers at the beginning of each round, using the proposed scheme. Each node transfers the data that it obtains from its sensor to one of the nodes in the layer above by running the minimum-depth tree algorithm at intervals of
Important parameters used in our simulation.
4.2. Simulation Results
Figures 5 and 6 show the cumulative number of defunct nodes and the amount of data which the sink node received successfully. In this experiment, all nodes are battery-powered, and dead nodes are not replaced. We did not use any data aggregation scheme, to exclude its influence on the results. Figure 5 shows that the layered topology reduces the number of defunct nodes, especially at the beginning of the simulation, compared to the flat topology. This demonstrates how the nodes in a layered topology prolong their lifetimes by changing layer to manage their energy usage. By round 800, the number of dead nodes in a 4-layer network is reduced by 15%, compared to a flat network, and the difference increases in subsequent rounds. Figure 6 shows that this reduction in the number of dead nodes increases the amount of data reaching the sink.

Change in the number of dead nodes without replacement.

Change in the amount of data gathered at the sink node without replacement.
Figure 7 traces the number of defunct nodes over time in the network, in a scenario in which dead nodes are replaced with new nodes at every 200 rounds. This resulting sawtooth curve results in the pattern of Figure 5 as the network is refreshed by new nodes with fully changed batteries. Figures 8 and 9, respectively, show the number of dead nodes and the amount of data that arrived at the sink node, as the replacement period was varied from 100 to 300. The flat topology causes more nodes to die and data transmission is less effective than it is with the layered topology. The effectiveness of transmission declines as the redeployment period increases, as we would expect, because dead nodes are waiting longer for replacement.

Variation in the number of dead nodes with periodic replacement.

Variation in the number of dead nodes with the replacement period.

Variation in the amount of data arriving at the sink node with the replacement period.
Figures 10 and 11, respectively, show the number of dead nodes and the amount of data delivered to the sink. In this simulation, we assume that the network consists of only battery-powered nodes, and each node was a naive data aggregation scheme. Nodes aggregate the data received from the nodes in lower layers with their own data before sending it to their target node. The size of the resulting packet can be reduced omitting the headers of the packets received from lower-layer nodes; and the effectiveness of data aggregation is proportional to the size of a packet header. As shown in Figures 10 and 11, our scheme shown reduces the number of dead nodes by about 10% and delivers slightly more data than the flat topology.

Number of dead nodes with data aggregation.

Amount of data arriving at the sink node with the data aggregation.
In order to analyze the effectiveness of our scheme in networks with energy-harvesting nodes, we measured the number of dead nodes and the amount of transmitted data in a network consisting of 90% battery-powered nodes and 10% of energy-harvesting nodes. As shown in Figure 12, the number of dead nodes is reduced by about 10% by our scheme, which is very similar to the result for the network with only battery-powered nodes. Figure 13 shows that our scheme also delivers more data. However, it also shows that the effectiveness of transmission is sometimes reduced by the presence of energy-harvesting nodes. We suggest that this is because the energy-harvesting nodes are not replaced, even when they have little energy; instead, they wait for energy to arrive and charge their batteries. Meanwhile transmissions are failing. We also found that using energy-harvesting nodes as cluster nodes produces the least effective transmission of data. Again, we attribute this to the amount of energy acquired by these nodes, which is inadequate to transmit lots of data. This problem may be addressed by increasing the size of solar panels fitted to energy-harvesting nodes, or reducing the proportion of these nodes that are deployed.

Variation in the number of dead nodes as the proportion of energy-harvesting nodes is increased.

Variation in the amount of data arriving at the sink node as the proportion of energy-harvesting nodes is increased.
5. Future Work
The routing algorithm adopted in this paper causes a node to choose the route that reaches a higher-layer node with the minimum hop-count: only the length of routes is considered, not the residual energy in the nodes on those routes or their contribution to overall network connectivity. Therefore it does not explicitly contribute to the lifetime or connectivity of a network. We believe that it should be possible to design a routing scheme for layer-based topology control which makes a greater contribution to overall network efficiency.
The aggregation scheme reported in this paper is naive, in that it only aggregates data delivered from lower layers. More efficient data aggregation or fusion schemes have been described [27–30], and we intend to adopt one of them to reduce the volume of data to be transmitted and hence increase the lifetime of a WSN.
6. Conclusions
Since the nodes in a WSN are connected to the sink node by multihop routes, the demise of intermediate nodes reduces the amount of data that reaches the sink. A lot of work by many researches has been put into topology control techniques to address this problem.
In this paper we have proposed a layer-based topology control scheme for WSNs consisting of many nodes, some of which are battery-powered and some energy harvesting. These nodes are arranged in layers on the basis of their residual energy. The nodes in the higher layers aggregate data received from lower-layer nodes and send it to the sink node, together with data obtained from their own sensor. This preserves the connectivity of the WSN, because the expected lifetimes of nodes are balanced by moving them between layers.
Footnotes
Notation Summary
Conflict of Interests
The authors declare no conflict of interests.
Acknowledgments
This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korean government (MEST) (NRF-2012R1A1A2044653, no. 2011-0000228) and by Next-Generation Information Computing Development Program through the National Research Foundation of Korea (NRF) funded by the Ministry of Education, Science and Technology (no. 2012M3C4A7032182).
