Professional Documents
Culture Documents
org
Published in IET Wireless Sensor Systems
Received on 6th March 2011
Revised on 17th May 2012
doi: 10.1049/iet-wss.2011.0146
ISSN 2043-6386
Abstract: Energy conservation is an important aspect in wireless sensor networks (WSNs) to extend the network lifetime.
In order to obtain energy-efcient data transmission within the network, sensor nodes can be organised into an optimal data
aggregation tree with optimally selected aggregation nodes to transfer data. Various nature-inspired optimisation methods
have been shown to outperform conventional methods when solving this problem in a distributed manner, that is, each sensor
node makes its own decision on routing the data. In this study, a novel optimisation algorithm called intelligent water drops
(IWDs) is adopted to construct the optimal data aggregation trees for the WSNs. Further enhancement of the basic IWD
algorithm is proposed to improve the construction of the tree by attempting to increase the probability of selecting optimum
aggregation nodes. The computational experiment results show that the IWD algorithm is able to obtain a better data
aggregation tree with a smaller number of edges representing direct communication between two nodes when compared with
the well-known optimisation method such as ant colony optimisation. In addition, the proposed improved version of the IWD
algorithm provides better performance in comparison with the basic IWD algorithm for saving the energy of WSNs.
282 IET Wirel. Sens. Syst., 2012, Vol. 2, Iss. 3, pp. 282 292
& The Institution of Engineering and Technology 2012 doi: 10.1049/iet-wss.2011.0146
www.ietdl.org
are located at the junctions of tree branches. The aggregated employed to solve classical problems like travelling salesman
data packets are later routed to the root node, that is, the problem (TSP), N-Queens and multiple knapsacks problems
BS. The tree-based protocols are suitable for applications, [21]. It can be also used to solve optimisation problems in
that involve in-network data aggregation [6]. Examples other applications, for example, robot path planning [22] and
of the applications can be forest re detection, safety automatic multilevel thresholding for image segmentation
monitoring in industrial plants and so on where the [23]. The results show that the IWD is capable of obtaining
measurement provides the most useful information about near-optimal solution for all these complicated problems in a
the safety conditions. One of the main objectives of the nite number of iterations, and in some cases it performs
tree-based protocols is to optimise the construction of a data better than ACO. Therefore IWD has better balance between
aggregation tree in terms of energy efciency. This optimal diversication and intensication, and it may have a higher
aggregation tree is recognised as NP-hard [12], which is chance to nd the optimal or near-optimal route.
equivalent to the Steiner tree, weighted set cover The basic IWD algorithm forms the aggregation tree with
problem [13]. the re-enforcement of attracting other water drops in the
Directed diffusion (DD) [14] is a typical data-centric next round of tree construction at the aggregation node
routing paradigm for sensor networks that relays data from where two branches of the tree join. However, this has
the source to the destination via the established shortest limitation when no aggregation node is found during the
path. In this protocol, data from different sources are earlier rounds. Thus, a modication of the basic model
opportunistically aggregated. This method is not efcient IWD algorithm is proposed in this paper in order to
due to the fact that randomly selected aggregation nodes effectively apply the method for solving the data
may be far away from the sources. aggregation optimisation problem. For the purpose of
Greedy incremental tree (GIT) is an approximation algorithm enhancing the probability of nding the destination or
for nding optimal aggregation trees based on DD, that is aggregation node, the attraction for new IWDs is performed
proposed to establish an energy-efcient path in [15]. at all nodes that have been visited by an IWD along the
Krishnamachari et al. [13] compare shortest path tree, centre route from one source to the destination, that is, the BS.
at the nearest source and a modied version of GIT to This paper is organised as follows: Section 2 describes the
manifest the advantage of data aggregation and to demonstrate system model and the problem of optimising the data
enhanced methods for constructing the aggregation tree. aggregation tree. Section 3 introduces the basic model
Misra and Mandal [16] apply the ant colony algorithm to of the IWD algorithm. Section 4 presents the construction
solve the data aggregation problem. Ant colony optimisation of the data aggregation tree using the IWD algorithms
(ACO) algorithm [17, 18] proposed by Dorigo et al. is a and the modication of the original IWD algorithm
well-known swarm intelligent approach which mimics the for the enhancement of aggregation tree construction.
foraging behaviour of the ant society. These ants deposit Computational experiment results are provided in Section
pheromone on the ground in order to mark some favourable 5. Finally, the conclusions are presented in Section 6.
path that should be followed by the other members of the
colony. This approach is utilised in [16] to determine the
optimal paths from different sources to the BS, data packets 2 System models and problem of optimal
are aggregated at the nearest relay nodes to the sources. Liao data aggregation tree
et al. [19] proposed an improvement of achieving optimal
data aggregation tree in WSNs using ACO by extending the A WSN with a number of sensor nodes randomly and densely
search region around the routing paths, and thus increasing deployed in an area is considered. It is assumed that every
the probability of nding aggregation nodes. These works sensor node, which has a unique identity, is stationary and
have shown how to outperform the conventional methods in powered by a nite energy source with the same initial
terms of energy conservation. energy capacity. There are three types of sensor nodes
In the present work, the problem of constructing the optimal dened in this network: source nodes, relay nodes and a
data aggregation tree of a densely deployed WSN to route data BS. Each node can send packets to its neighbouring nodes
from different sources to a BS is considered. The aggregation within its limited communication range as shown in
tree is optimised by nding the aggregation nodes nearer to Fig. 1a. Whenever a source node needs to send data to the
the sources and minimising the total number of edges BS, it has to nd a route formed by a set of relay nodes to
representing the direct communicating connection between the transfer data. The relay node, that receives data from
two nodes. A novel nature-inspired optimisation algorithm, different sources or is at the junction of different routes, is
called intelligent water drop (IWD), is adopted with the an aggregation node as illustrated in Fig. 1b. This node
expectation that the optimal or near-optimal tree is achieved. gathers data, combines all of the packets received into a
This nature-inspired approach may provide a suitable single packet and then forwards the concise data packet to
mechanism for routing data in distributed systems like WSNs. the next relay node or the BS.
The algorithm was rst proposed by S. H. Hosseini [20], In order to save the total energy consumption of the WSN,
which imitates the dynamics of river systems and the the number of data packets relayed in the network need to be
behaviour of water drops when they are moving in the river reduced. This means the number hops on the routes from the
such as the variation of velocity, the change of soil in the bed sources to the destination should be minimised. Furthermore,
of the river, the change of the ow direction and so on. The the aggregation nodes of these routes need to be as near as
IWD algorithm changes the amount of soil on the paths that possible to the sources in order to perform data aggregation
water drops traversed. This variation depends on the velocity at an early stage of transferring data. The WSN can be
and the soil carried by the water drop, and it can be increased represented as a directed graph G (V, E), where V is the
or decreased to attract or obstruct other water drops. This set of sensor nodes with |V| n is the number of sensor
variation is different from the ACO algorithm, in which the nodes, and E (u, v)|(u, v [ V ), d(u, v) R) denotes the
pheromone is only increased to attract more or fewer ants set of edges connected nodes in their mutual
following the discovered routes. The IWD algorithm has been neighbourhood, d(u, v) is the Euclidean distance between
IET Wirel. Sens. Syst., 2012, Vol. 2, Iss. 3, pp. 282292 283
doi: 10.1049/iet-wss.2011.0146 & The Institution of Engineering and Technology 2012
www.ietdl.org
Fig. 1 Deployment of sensor nodes in the environment eld and the data aggregation scheme within the network
a Deployment of sensor nodes
b Data aggregation scheme
nodes u and v and R is the communication range of every 3 Principles of intelligent water drops
node in V. The set S s [ V is dened as the group of algorithm
source nodes, s that would generate data to send to the BS,
and the node, b is the destination node for the data to reach, In large sensor networks, nding optimal aggregation tree is
which is the BS. The optimisation problem mentioned an NP-hard problem. To solve this problem, IWDs
above can be dened as: nding a subset Gagg (Vagg , algorithm, a nature-inspired optimisation method, is
Eagg) , G with Vagg , V which is the set of all the source adopted. This algorithm is inspired by the observation of
nodes and selected relay nodes and Eagg , E which is the natural water ow in the rivers formed by a swarm of water
set of edges that connect the nodes in Vagg and the BS b in drops [20]. The swarm of water drops nd their own way to
order to the lakes or oceans even though it has to overcome a
number of obstacles in its path. Without the presence of
these obstacles, the water drops tend to be pulled straight
minimise (hsv + hvb ) (1)
s[S,v[Vagg
towards the destination by the gravitational force. However,
being blocked by different kinds of obstacles and
constraints, there exist lots of twists and turns in the real
where hsv and hvb are the number of hop count from source path of the river. The interesting point is that the path of the
node, s to aggregation node, v, and from the aggregation river, constructed by the ow of water drops, seems to be
node v to the BS b, respectively, Vagg . S. optimised in terms of distance from the source to the
In other words, if the length of the route is calculated as the destination under the constraints of the environment. By
number of edges, the objective of this optimisation problem is mimicking the features of water drops and obstacles of the
to minimise the number of edges connected nodes from all environment, the IWD algorithm uses a population of water
sources to the destination in the network. By constructing drops to construct paths and obtain the optimal or
such an optimal data aggregation tree, the total energy near-optimal path among all these paths over time. The
consumption of transmitting data within the network can be environment represents the optimisation problem needed to
minimised. be solved. A river of IWDs looks for an optimal route for
In this work, the data packet loss during the transmission is the given problem.
not considered. The time of network operation is discrete and Hosseini [21] presented the basics of the IWD algorithm,
dened by the number of runs. During each run, a data then applied it to solve different optimisation problems.
aggregation tree is constructed, all the sources transfer data As described in [21], an IWD model is proposed with two
to the BS through this tree. In order to evaluate the energy important parameters:
efciency of the proposed algorithm, the rst-order energy
model presented in [8] is used to compute the total energy The amount of soil it carries or its soil load, soilLoadIWD.
consumption of the network. In this model, the amount of The velocity at which it is moving, velIWD.
energy, ETx consumed by a single node to transmit a k-bit
message over a distance d is calculated by using (2). The values of these two parameters may change as the IWD
Meanwhile, to receive this k-bit message, the energy ows in its environment from the source to a destination.
consumption, ERx of the node is calculated by using (3) [8]. An IWD moves in discrete nite-length steps and updates
its velocity by an amount DvelIWD when it changes the
ETx = Eelec k + 1amp k d 2 (2) position from point i to point j as follows
284 IET Wirel. Sens. Syst., 2012, Vol. 2, Iss. 3, pp. 282 292
& The Institution of Engineering and Technology 2012 doi: 10.1049/iet-wss.2011.0146
www.ietdl.org
for the IWD algorithm. The relationship between velocity and function g(soil(i, j)) is used to shift the soil(i, j) of the edge
the amount of soil of the edge is decided by av and cv , connecting point i and point j towards a positive value and
meanwhile bv is a small number used to prevent the is described below
singularity problem. Equation (4) indicates that the rate of
changing the velocity, DvelIWD is dependent on the soil of
the edge, that is, edge with more soil provides more g(soil(i, j))
resistance to the water ow that results in a smaller
increment in velocity and vice versa. Thus, the velocity at soil(i, j) if min (soil(i, l)) 0
lvc(IWD)
time (t + 1), velIWD
(t+1) is given by
=
soil(i, j) min (soil(i, l)) otherwise
lvc(IWD)
velIWD
(t+1) = velIWD
(t) + Dvel IWD
(5) (11)
where velIWD
(t) is the velocity of the IWD at time t.
The amount of soil removed from the bed of edge (i, j) is A uniform random distribution is used to generate a random
inversely proportional in a non-linear manner to the time number which can be compared with this probability in
needed for the IWD to move from point i to point j and can order to decide which is the next location that the IWD will
be calculated by using (6) move to.
For a given problem, an objective or quality function is
as needed to evaluate the tness value of the solutions. A set
Dsoil(i, j) = (6) of IWDs can be utilised and work together to nd
bs + cs [time(i, j; velIWD )]2
the optimal solution. The function q(.) is denoted as the
quality function and T IWD is a solution founded by an
where as , bs and cs are pre-dened positive parameters for the IWD. When all the IWDs have constructed their solutions,
IWD algorithm. as and cs dene the relationship between the one iteration can be considered complete. At the end of
amount of soil and the period of time IWD takes to move the iteration, the current iteration best solution T IB is
through the edge (i, j), and bs is a small number used to calculated by
avoid the singularity problem. Meanwhile, the duration of
time is calculated by the simple laws of physics for linear
motion. The time spent by the IWD to move from point i to
T IB = arg max q(T IWD ) (12)
j with velocity velIWD is given by IWDs
HUD(i, j)
time(i, j; velIWD ) = (7) Equation (8) updates the soil of each edge whenever an IWD
max (1v ; velIWD )
traverses through a particular path based on the current
amount of soil of the edge and the current velocity of the
where a local heuristic function HUD(i, j) has to be dened
IWD. The soil is updated in (8) by using local information
for a given problem to measure the undesirability of an
at each edge of the tree, and thus it may result in a local
IWD to move from point i to point j, 1v is the threshold of
optimum. In order to increase the opportunities of nding
velocity to avoid the negative value of velIWD. Equations
the global optimum, the amount of soil on the edges of the
(6) and (7) represent the assumption that the water drop
current iteration best solution T IB is updated according to
which moves faster or spends less time to pass from point i
the goodness of the solution after the iteration is complete
to point j can gather more soil than the one which has a
and the overall knowledge of the solution is acquired.
slower velocity.
Equation (13) can be used to update the soil(i, j) belonging
Once the IWD moves from point i to point j, the following
to the current iteration best solution T IB
formulae are used to calculate the updated soil of the edge and
the soil load of the IWD, respectively.
soil(i, j) = (1 + rIWD )soil(i, j)
soil(i, j)(t+1) = (1 rn ) soil(i, j)(t) rn D soil(i, j) (8)
1
rIWD soilLoadIWD
IB ,
(t+1) = soilLoad(t) + D soil(i, j)
soilLoadIWD IWD
(9) (NIB 1)
where rn is the local soil updating parameter, which is chosen (i, j) [ T IB (13)
from [0,1], and Dsoil(i, j) is calculated in (6).
To present the behaviour of an IWD that prefers the easier
where soilLoadIWD
IB represents the soil of the current iteration
edge or the edge with less soil on their beds, the edge
best IWD when it reaches the destination, NIB is the
selection of an IWD is based on the probability, p(i, j;
number of nodes in the solution T IB and rIWD is the
IWD), dened as follows which is inversely proportional to
global soil updating parameter which is chosen from [0, 1].
the amount of soil on the available edges.
The rst term on the right-hand side of (13) is the
amount of soil that remains from the previous
f (soil(i, j))
p(i, j; IWD) = (10) iteration. Meanwhile, the second term of the right-hand side
kvc(IWD) f (soil(i, k)) of (13) represents the quality of the current solution,
obtained by the IWD. This way of updating the soil
where f (soil(i, k)) (1(1s + g(soil(i, j)))). The constant 1s is assists the reinforcement of the best-iteration solutions
a small positive number to prevent singularity. The set gradually, and thus, the IWDs are guided to search near
vc(IWD) denotes the group of nodes that the IWD should good solutions with the expectation of nding the global
not visit to satisfy the constraints of the problem. The optimum.
IET Wirel. Sens. Syst., 2012, Vol. 2, Iss. 3, pp. 282292 285
doi: 10.1049/iet-wss.2011.0146 & The Institution of Engineering and Technology 2012
www.ietdl.org
4 Data aggregation using the IWD algorithm Table 1 Message format of an IWD packet
4.1 Constructing an aggregation tree with the IWD Pkt_Type SN S_ID P_ID HCtoS IWD_vel IWD_soilLoad
algorithm
The original IWD algorithm is used to solve the classical TSP packet. The eld SN is the selected node which receives
in order to nd the shortest path that connects all the cities in the packet. S_ID is the identity of the source node
the problem exactly once, returning to the rst city [20]. In the generating this packet. P_ID is the identity of the previous
problem of constructing the optimal data aggregation tree for node. HCtoS contains the hop count from the current node,
WSNs, the IWD algorithm can be adopted in a similar way. that the IWD is locating, to the source node. The last two
However, different from the TSP problem where an IWD elds represent the parameters of the IWDs: IWDs
travels via all the nodes to establish a circle, several IWDs velocity, IWD_vel and soil load, IWD_soilLoad. The initial
originate from the data sources simultaneously to search for value of IWDs velocity and soil load is set by the
the paths to reach the BS. These paths join and form an constants InitVel and 0, respectively, at the source nodes.
aggregation tree which is a near-optimal solution of the This value changes when the IWD packet travels through
problem described in Section 2. The basic idea is that each the network.
IWD either tries to nd the shortest path to reach the Initially, the BS oods its identity throughout the network.
destination, or nds the nearest aggregation nodes and Each node in the network receiving this packet broadcasts to
terminates. Each sensor node maintains a table in its its neighbourhood. The hop count to the BS of a node is
memory storage that contains the information of its updated if it receives the packet from a neighbour which
neighbours identities and the amount of soil assigned to has a smaller hop count to the BS than its current hop
each edge connecting it to the neighbouring nodes. Initially, count subtracting one.
the same amount of soil is assigned to every edge, which The IWD algorithm proposed for the WSNs illustrated in
connects two nodes in their mutual neighbourhood. Fig. 2 is described in the following steps:
The algorithm updates the soil of each edge along the route
to the BS whenever an IWD traverses. The better route,
including a smaller number of hops from the source to the Step 1: Each source node initialises its IWD data packet. The
destination, has less amount of soil left and thus attracts initial value of this amount of soil is soil(i, j) InitSoil and
more IWDs in the next round of search. the initial velocity of an IWD is InitVel.
The format of the packet carried by the IWDs is shown in Step 2: Each IWD data packet located at node i selects the
Table 1 to provide the information to update the soil of the next hop j from its neighbouring table by generating a
routes visited. In this packet, the eld Pkt_Type indicates random number and comparing with the probability
the type of the packet which is a control packet or a data calculated with (10). In order to eliminate the selection of
Fig. 2 Flowchart of the IWD algorithm for constructing data aggregation tree in WSNs
286 IET Wirel. Sens. Syst., 2012, Vol. 2, Iss. 3, pp. 282 292
& The Institution of Engineering and Technology 2012 doi: 10.1049/iet-wss.2011.0146
www.ietdl.org
nodes, which is further away from the BS, an additional term, of soil is removed from the edge (i, j). Otherwise, no
hd(i, j), is included into f (soil(i, j)) as follows change of the amount of soil is applied.
IET Wirel. Sens. Syst., 2012, Vol. 2, Iss. 3, pp. 282292 287
doi: 10.1049/iet-wss.2011.0146 & The Institution of Engineering and Technology 2012
www.ietdl.org
Fig. 3 Process of routing data from source nodes to the destination or BS with and without improvement
a Routing data without applying improvement
b Routing data with applying improvement of updating soil throughout the route
order to update the amount of soil in node js neighbourhood, Table 2 Simulation parameters
it broadcasts an update soil packet. The value of soil(i, j) is
updated as in (8). For the other neighbour node k of j, if its Parameters Values Description
hop count to the BS is less than that of node j, the amount N 300 number of sensor nodes
of soil of the edge (k, j) will not be updated. Otherwise, S 530 number of source nodes
node k generates a new IWD with soil load zero and R 10 12 m communication range
velocity is set to InitVel. The velocity of this IWD is later Eelec 50 nJ/bit transceiver electronics
updated as below 1amp 0.1 nJ/bit/m2 transmitter amplifier
ctrlPkt 8 byte length of control packet
av
velIWD = InitVel + (17) dataPkt 250 byte length of data packet
bv + cv [soil(k, j)]2 Einit 0.5 J initial energy of each node
Thus the amount of soil will be removed from the edge (k, j) is
Table 3 IWD algorithm parameters
as
Dsoil(k, j) = (18) Parameters Values Description
bs + cs (((HUD(k, j))/(velIWD )))
InitSoil 10 000 initial soil of each edge
The soil of the edge (k, j) is updated by the following formula InitVel 200 initial velocity of an IWD
av , bv , cv 1, 0.01, 1 velocity updating parameters
as , bs , cs 1, 0.01, 1 soil updating parameters
soil(k, j) = (1 rn ) soil(k, j) rn (1 + hdk 1s 0.01
hdj )D soil(k, j) (19) 1v 0.0001 positive velocity threshold
rn 0.9 local soil updating parameter
By repeating this process for all of the nodes along the route rIWD 0.9 global soil updating parameter
that the IWD packet from the source node S1 traverses to b 20
reach the BS b, the probability of being chosen as an
aggregation node for all these nodes is increased
proportionally to their hop count to the BS and all these square area 100 100 m2. All the sensor nodes have the
nodes have the potential to become an aggregation node. same communication range, R; the source nodes collect data
IWD packets originating from other source nodes tend periodically and send towards a single destination node, that
to select the nodes of the route from S1 to b as the next hop is the BS, located at coordinates (10 m,10 m) of the
to pass the data when they move in the neighbourhood deployment eld as shown in Fig. 1a.
of this route. Since the number of potential aggregation
nodes is also enlarged, there is a high chance for an IWD to Case 1: Comparative study of total energy consumption
encounter a node, which has been visited by another IWD.
The rst computational experiment compares the total
5 Computational experiments energy consumption for transferring information within the
WSN after the same number of runs for different
In this section, the simulation results of the basic and algorithms. The test results shown in Figs. 4a c are
improved IWD algorithms are presented and compared with obtained with 100 runs for a WSN of N 300 sensor
the performance of ACO implemented in [19]. The nodes. Comparisons are made for the networks with
simulation parameters are given in Table 2. different number of source nodes.
The initial settings of the parameters used in the IWD and Fig. 4a shows the energy consumption of the WSNs for
improved IWD algorithms are shown in Table 3. These values transmitting data packets when using ACO, IWD and
are chosen as the same ones used in [21]. improved IWD algorithms. It is observed that the WSN
During the computational experiments, a WSN with a using IWD consumes less energy than the network with
number of N sensor nodes are randomly deployed in a ACO, and improved IWD is able to further enhance energy
288 IET Wirel. Sens. Syst., 2012, Vol. 2, Iss. 3, pp. 282 292
& The Institution of Engineering and Technology 2012 doi: 10.1049/iet-wss.2011.0146
www.ietdl.org
Fig. 4 Total energy consumption for transferring information within the network
a Total energy consumption for transferring data packets
b Total energy consumption for transferring control packets
c Overall total energy consumption of the network
conservation when compared with these two. This is due to number of source nodes increases, the amount of data
the fact that a smaller number of hops are involved in the transferred within the network is more. Thus, by applying
data transfer with IWD and improved IWD when compared the IWD and improved IWD, more amount of energy for
with ACO. For example, when the number of source nodes transmitting data packets is saved, since the formation data
chosen is 20, the amounts of energy consumed for aggregation tree is enhanced and more data is aggregated.
transmitting data packets by using IWD and improved IWD This energy saving surpasses the cost of optimising the
algorithms are 1.83% and 18.21%, respectively, less than aggregation tree, that is, the energy consumed to transmit
that of the WSN using ACO. control packets. Fig. 4c shows that the total energy
The total energy consumption of transmitting and receiving consumption of the network when using the IWD algorithm
control packets is shown in Fig. 4b. Compared with ACO, the is less than that of ACO and the result achieved by the
amount of energy used for control packets in the WSN with improved algorithm is the least, especially with the larger
IWD algorithm is slightly smaller. The reason is that the number of source nodes. For example, when the number of
data aggregation tree obtained by the IWD converges to a source nodes is 20, the percentages of the total amount of
solution which contains a fewer number of relay nodes and energy saved by using the IWD and the improved IWD
thus, a smaller number of control packets are required. algorithms are 1.99 and 5.38% when compared with ACO,
Fig. 4b also shows that the network with the improved respectively.
algorithm of IWD consumes the most energy for control
packets. This consequence is due to the fact that more Case 2: Comparative study of average energy consumption
control packets are needed to update the soil of the edge in
the neighbourhood of the route founded by the IWDs. The next experiment investigates the average amount of
Sensor nodes in the neighbourhood have to consume more energy consumption for each source node to transfer data to
energy to receive these update soil packets. In addition, the BS. The measurement is carried out for the network
when the number of source nodes is small, that means there using ACO, IWD and the improved algorithm of the IWD
are fewer data routes connected from the sources to the with a network of N 300 and a communication range
destination, there is not much difference among the results R 12 m. The results of ACO, IWD and improved IWD
obtained by all the algorithms. In this case, the ratio are shown in Figs. 5a c, respectively.
between the cost of constructing the tree and the energy After the rst run, the average energy consumption is
consumption saved in data transfer is high. When the almost constant for the different number of source nodes.
IET Wirel. Sens. Syst., 2012, Vol. 2, Iss. 3, pp. 282292 289
doi: 10.1049/iet-wss.2011.0146 & The Institution of Engineering and Technology 2012
www.ietdl.org
Fig. 5 Average energy consumption of the network when using different algorithms
a ACO algorithm
b IWD algorithm
c Improved IWD algorithm
This happens due to the fact that the data aggregation tree is
randomly constructed, thus the average energy spent for each
source node to transfer data is equal to networks with various
number of source nodes. After the 10th, 20th and 30th runs of
the network operation, the aggregation tree is gradually
optimised. With a higher number of source nodes, there is
more amount of data aggregated in the optimal tree. Hence,
the total amount of data transferred within the network is
decreased which results in the reduction of average energy
consumption per source node. It can be seen that with the
number of source nodes of 30, the average energy
consumption per source node with improved IWD is the
least as compared with that with basic IWD and ACO
algorithms.
290 IET Wirel. Sens. Syst., 2012, Vol. 2, Iss. 3, pp. 282 292
& The Institution of Engineering and Technology 2012 doi: 10.1049/iet-wss.2011.0146
www.ietdl.org
Fig. 7 Formation of the data aggregation tree after different number of runs
a One run
b Ten runs
c Twenty runs
d Thirty runs
In this simulation, N 300 sensor nodes are used, number of Table 4 Total number of hop count in the optimal data
source nodes, S is 10 and communication range of each sensor aggregation trees
node, R is 12 m. After a number of rounds, the optimal data
aggregation tree is constructed. Source nodes are able to Number of ACO IWD Improved
transmit data towards the BS through the best route; data source nodes algorithm algorithm IWD
are aggregated and fused at the optimum aggregation nodes. algorithm
The simulation is run 30 times with the same network hcb hcave hcb hcave hcb hcave
deployment to investigate the performance of the
algorithms. The best total number of hop count, hcb , and 5 28 31.7 28 30.3 24 25.3
the average total number of hop count in the data 10 45 52.7 44 51.6 42 45.5
aggregation tree, hcave , found by using the proposed 15 55 62 52 61.7 48 55.1
algorithms and ACO in all the simulation runs are shown in 20 65 70 65 69.7 57 60.4
Table 4. With the different number of source nodes, the 25 73 75.3 73 74.3 62 64.3
performance of the basic IWD algorithm is slightly better 30 84 85.7 83 84.3 72 73.8
than the ACO algorithm, the data aggregation trees with
fewer number of hops are constructed with the IWD.
Moreover, the results obtained by the improved IWD investigated. The WSNs of 300 nodes and the different
outperform both the IWD and the ACO algorithms. When number of source nodes are taken into account. Simulations
the number of source nodes is 30, the average total number are carried out for 500 runs for each number of source
of hop count with improved IWD is 12.45 and 13.88% less nodes. The average time taken for each run of the
than the IWD and ACO, respectively. The best value with simulation by each algorithm is shown in Table 5.
improved IWD is 13.25% less than the IWD and it is It is evident in the results that the computational time is
14.29% smaller when compared with ACO. almost same for the IWD and the ACO algorithms, and it
Case 5: Complexity analysis takes a bit longer time for improved IWD during the
simulation. With the number of source nodes of 30, the
In order to analyse the complexity of the algorithms, the computation time with improved IWD and IWD are 2.85
computational time taken by each algorithm is also and 0.29%. This is due to the fact that there are more IWDs
IET Wirel. Sens. Syst., 2012, Vol. 2, Iss. 3, pp. 282292 291
doi: 10.1049/iet-wss.2011.0146 & The Institution of Engineering and Technology 2012
www.ietdl.org
Table 5 Average computational time, in (seconds), per iteration 2 Akkaya, K., Younis, M.: A survey on routing protocols for wireless
taken by different algorithms sensor networks, Ad Hoc Netw., 2005, 3, pp. 325 349
3 Perkins, C., Belding-Royer, E., Das, S.: Ad hoc on-demand distance
Algorithms Number of source nodes vector (AODV) routing. IETF. RFC 3561, July 2003
4 Johnson, D.B., Maltz, D.A., Hu, Y.C.: The dynamic source routing
protocol for mobile ad hoc networks (DSR). IETF. RFC 4728,
5 10 15 20 25 30
February 2007
ACO algorithm 0.0153 0.0205 0.0249 0.0327 0.0330 0.0350 5 Park, V.D., Scott Corson, M.: A performance comparison of the
temporally-ordered routing algorithm and ideal link-state routing.
IWD algorithm 0.0153 0.0209 0.0252 0.0328 0.0332 0.0351
IETF Internet Draft, July 2001
improved-IWD 0.0157 0.0219 0.0265 0.0340 0.0347 0.0360 6 Rajagopalan, R., Varshney, P.K.: Data-aggregation techniques in
algorithm sensor networks: a survey, IEEE Commun. Surv. Tutor., 2006, 8, (4),
pp. 4863
7 Fan, K.-W., Liu, S., Sinha, P.: Structure-free data aggregation in
required to update the soil of the edges connected to the sensor networks, IEEE Trans. Mob. Comput., 2006, 6, (8),
pp. 929942
neighbouring nodes with the main routes relaying data. 8 Heinzelman, W.R., Chandrakasan, A., Balakrishnan, H.: Energy-
However, the difference is insignicant; the improved IWD efcient communication protocol for wireless microsensor networks.
does not impose much extra computational burden and the Proc. 33rd Annual Hawaii Int. Conf. on System Sciences, January
computational time is slightly higher and comparable with 2000, 2, p. 10
that of the IWD and the ACO algorithms. 9 Heinzelman, W.B., Chandrakasan, A.P., Balakrishnan, H.: An
application-specic protocol architecture for wireless microsensor
networks, IEEE Trans. Wirel. Commun., 2002, 1, pp. 660 670
6 Conclusion 10 Younis, O., Fahmy, S.: HEED: a hybrid, energy-efcient, distributed
clustering approach for ad hoc sensor networks, IEEE Trans. Mob.
In this paper, the IWD algorithm is investigated to solve the Comput., 2004, 3, pp. 366 379
11 Hoang, D.C., Kumar, R., Panda, S.K.: Fuzzy c means clustering
problem of optimal data aggregation trees for WSNs. The protocol for wireless sensor networks. Proc. of Int. Symp. on
computational experiment results show that improved IWD Industrial Electronics, July 2010, pp. 3477 3482
and IWD algorithms can achieve good results comparable 12 Al-Karaki, J., Ul-Mustafa, R., Kamal, A.: Data aggregation in
with the ACO algorithm in terms of energy efciency. By wireless sensor networks exact and approximate algorithms.
using the IWD algorithm, the number of edges of the Workshop on High Performance Switching and Routing (HPSR),
2004, pp. 241 245
aggregation tree is reduced, and thus the overall network 13 Krishnamachari, L., Estrin, D., Wicker, S.: The impact of data
consumed less energy. Further improvement of the original aggregation in wireless sensor networks. Proc. 22nd Int. Conf. on
IWD algorithm is carried out by updating the soil of the Distributed Computing Systems Workshops, 2002, pp. 575 578
sensor nodes neighbourhood when the routes are 14 Intanagonwiwat, C., Govindan, R., Estrin, D., Heidemann, J., Silva, F.:
Directed diffusion for wireless sensor networking, IEEE/ACM Trans.
established in order to increase the chance of selecting Netw., 2003, 11, (1), pp. 2 16
optimal aggregation nodes. Although the cost of 15 Intanagonwiwat, C., Estriu, D., Govindan, R., Heidemann, J.: Impact of
constructing the optimal trees, that is, energy consumption network density on Data Aggregation in wireless sensor networks.
for transferring control packets, is increased, the total Proc. 22nd Int. Conf. on Distributed Computing Systems Workshops,
energy consumption of the network with improved IWD 2002, pp. 457 458
16 Misra, R., Mandal, C.: Ant-aggregation: ant colony algorithm for
algorithm is still less than that with the ACO and the IWD optimal data aggregation in wireless sensor networks. Int. Conf. on
algorithms. In addition, in all investigated scenarios, better Wireless and Optical Communications Networks (IFIP), 2006, p. 5
aggregation trees of the WSNs with smaller number of hop 17 Dorigo, M., Gambardella, L.M.: Ant colony system: a cooperative
count are obtained with the improved IWD algorithm, learning approach to the traveling salesman problem, IEEE Trans.
Evol. Comput., 1997, 1, (1), pp. 53 66
meanwhile insignicant computational time is added. 18 Dorigo, M., Birattari, M., Stutzle, T.: Ant colony optimization
The achievement of energy conservation as shown results in articial ants as a computational intelligence technique, IEEE
longer lifetime of the networks with IWD and further Comput. Intell. Mag., 2006, 1, pp. 2839
enhancement of the lifetime with improved IWD algorithm. 19 Liao, W.H., Kao, Y., Fan, C.M.: Data aggregation in wireless sensor
networks using ant colony algorithm, J. Netw. Comput. Appl., 2008,
31, (4), pp. 387401
7 Acknowledgment 20 Hosseini, S.H.: Problem solving by intelligent water drops, IEEE
Congr. Evol. Comput. (CEC), Singapore, 2007, pp. 3226 3231
This research is supported in part by a grant from SERC 21 Hosseini, S.H.: The intelligent water drops algorithm: a nature-inspired
A-STAR under the IEDS project. swarm-based optimization algorithm, Int. J. Bio-Inspired Comput.,
2009, 1, (1/2), pp. 71 79
22 Duan, H., Liu, S., Lei, X.: Air robot path planning based on intelligent
8 References water drops optimization, IEEE IJCNN, 2008, pp. 13971401
23 Hosseini S.H.: Optimization with the nature-inspired intelligent water
1 Akyildiz, I.F., Su, W., Sankarasubramaniam, Y., Cayirci, E.: Wireless drops algorithm, Wellington Pinheiro dos Santos: Evolutionary
sensor networks: a survey, Comput. Netw., 2002, 38, pp. 393422 Computation, Vienna, Intech, 2009
292 IET Wirel. Sens. Syst., 2012, Vol. 2, Iss. 3, pp. 282 292
& The Institution of Engineering and Technology 2012 doi: 10.1049/iet-wss.2011.0146