Вы находитесь на странице: 1из 3

(IJCNS) International Journal of Computer and Network Security, 87

Vol. 2, No. 9, September 2010

Data Aggregation Trees based Algorithm using


Genetic Algorithm in Wireless Sensor Networks
Mehdi Dabbaghian1, Abolfazl Kalanaki2, Hamed Taghvaei3, Faezeh Sadat Babamir 4 and Seyed Mehrdad
Babamir5
1
Islamic Azad University Abhar Branch,
Member of Young Researchers Club, Abhar Branch, Abhar, Iran
m.dabbaghian@engineer.com
2
University of Tehran,
Faculty of Management, Tehran, Iran
info@kalanaki.com
3
Islamic Azad University Arak Branch,
Arak, Iran
taghvaei24@ymail.com
4
Shahid Beheshti University of Tehran,
Evin 1983963113, Tehran, Iran
f.babamir@mail.sbu.ac.ir
5
Sharif University of Technology,
Electrical Engineering Faculty, Tehran, Iran
smbabamir@ee.shrif.ir

redundant ones then aggregate them according to the data


Abstract: This study investigates balanced and energy efficient
data collecting spanning tree in order to propose Genetic aggregation spanning tree and just then they send packet
Algorithm (GA) based approach. Optimum solution from GA, data to the appropriate neighbors. BS is a powerful station
consumes lowest possible energy to transmitting data from which has connection between WSN and IP network. The
random placed nodes to the Base Station (BS). As a result, proposed technique would be suitable for a homogeneous
monitoring and sending data are intensively energy consuming. WSN with some spatial correlation in the collected data.
Using an algorithm which is able to balance residual energy
Genetic Algorithm (GA) is classified as heuristic functions
among nodes can help the network to withstand more and
consequently extend its own lifetime. The GA and data
which can obtain optimum solution, using investigating
aggregation tree simulation shows that balancing operation search space. In this paper, a GA based algorithm is used to
practically increases the network lifetime. create an efficient data aggregation tree in which any node
has value property. Consequently, any chromosome consists
Keywords: Wireless Sensor Networks, Data Aggregation, of some genes or nodes that index of gene indicates the node
Genetic Algorithm and corresponding value identifies parent node. We apply,
single point crossover to generate future population where
1. Introduction corrupted individuals are distinguished by selection process.
The fitness function assigns individuals suitable value on
Now-a-day, wireless sensor network are appeared every the basis of residual energy, number of transmission and
where especially in ubiquitous and pervasive applications. receive data packet. Number of iteration and population size
These kinds of networks consist of number of small, low determined according to the network size.
power, certain communication range sensing nodes which Following, we organize the paper with section 2: brief
cooperatively monitor environment and transmit data to the description of literature, section 3: problem discussing,
Base Station (BS) or sink. This task is seriously energy section 4: giving more detail about usage of GA to create
consuming so that due to limited power nodes, intelligent data aggregation tree, section 5: providing simulation results
data dissemination with energy efficient protocols are and finally, section 6: conclusion and future work.
attended. The lifetime of network is defined as exchanged
message toward sink with a network in which has minimum
2. Related Work
required active nodes [1]. Intelligent optimum energy
consumption protocols can extend the network lifetime and During 2000’s, there are many researches have been
consequently withstand long transmission periods. devoted. For instance, Kalpakis et al. [2] propose MLDA
In this study, sensor nodes monitor data and remove (Maximum Lifetime Data gathering Algorithm). In fact,
MLDA finds edge capacities that flow maximum
88 (IJCNS) International Journal of Computer and Network Security,
Vol. 2, No. 9, September 2010

transmission by running a linear program. This algorithm is spanning tree or the same an aggregation tree rooted at BS
able to maximum lifetime of network with certain location is formed. In this paper, the network lifetime is credited
of each node and base station. until all nodes are active.
One year later, Dasgupta et al. [3] extend MLDA with
applying cluster based heuristic algorithm called CMLDA 4. Genetic Algorithm
where nodes are grouped into several clusters with pre-
In this study, GA is applied in order to obtain balanced and
defined size. The energy summation of cluster member
energy efficient spanning trees. Every chromosome
nodes is their cluster’s energy. The distance between
represents a tree where gene index indicates node and
clusters is computed by maximum distance between every
contained value point out corresponding parent. Using
pair of nodes of two clusters. From cluster formation on
standard GA, the optimum minimum spanning tree will be
then, MLDA is applied.
resulted.
Ten at al. [4] study two spanning tresses so that aggregate
scheme and data gathering have been applied to extend 4.1 Gene and Chromosome
network lifetime. In this paper, generally, two methods are A chromosome is the collection of genes or nodes which
considered to manage power among nodes. The first, power have fixed length according to the number of former nodes.
aware version (PEDAP) which have an attempt to extend
lifetime, balancing the energy consumption among nodes, 3 0 5 1 2 0
unlike second method, PEDAP, non power aware version
which minimizing the total energy consumed from the 1
system in each data gathering round [1]. This method 5
extends the lifetime of the last node. The edge cost is 0
2
calculated in different ways. In PEDAP, edge cost is the
4 3
same summation of energy mounts for transmission and
receiving while PEDAPPA, dividing PEDAP edge cost with
transmitter residual energy results asymmetric Figure 1. Chromosome and corresponding Tree Example
communication costs. A node with higher cost is considered 4.2 Crossover
later in the tree as it has few incoming. After determining of The main step to produce new generation is crossover or
edge costs, Prime’s minimum spanning tree rooted at the reproduction process. In fact, it is a simulation of the sexual
BS, will be formed for routing of packets. This calculation is reproductive process that the inheritance characteristics
computed per every 100 iterations. Being active for all nodes naturally are transferred into the new population. To
and awareness of node locations at the BS also are their generate new offspring, crossover selects a pair of
assumptions. individuals as parents from the collection formed by
Jin et al. [5] utilize GA to fulfill energy consumption selection process for breeding. This process will continue
reduction. This algorithm gets a primary number of pre- until the certain size of new population is obtained. In
defined independent clusters and then biases them toward general, there are various crossover operations which have
optimal solution with minimum communication distance by been developed for different aims. The simplest method is
the iterations of generation. They come to conclusion that single-point in which a random point is chosen whereby two
the number of cluster heads is reduced about 10 percentage parents exchange their characteristics. Table 1 shows an
of the total number of nodes. They also show cluster based example of mating of two chromosomes in single point way.
methods decrease 80 percentage of communication distance
as compare to direct transmission distance. Table 1: Single point method at random point 6
In 2005, Ferentinos et al. [6] improve the proposed Jin et al.
First Second
algorithm with extended fitness parameter. They investigate
Parents 101101’01101101 011110’10001011
energy consumption optimization and uniformity
Offsprin 101101’10001011 011110’01101101
measurement point, using a fitness function involved status
g
of sensor nodes, network clustering with the suitable cluster
heads, and also the selection between two signal ranges 4.3 Fitness Function
from normal sensor nodes. Fitness function is a procedure which scores any
chromosome. This value helps us to compare the whole ones
3. Problem Statement to each other to survival or death. Below, we propose a
In this study, we suppose that every node firstly has pre- fitness function where N is the number of nodes and setup
defined energy for receiving multi data packets as it is able energy is considered for calculating electrical power.
to monitor environment in addition to transmit children Echildren is required energy to sending data packet received
packets as well as sending single one to parent or BS. This from children.
task periodically will be continued as long as possible.
In our algorithm, at first, all nodes send a sample certain
packet to the BS once they are at ready. Just then minimum
(IJCNS) International Journal of Computer and Network Security, 89
Vol. 2, No. 9, September 2010

ETotal = ESend + EMonitor + EChildren + ESetup


(1)
ETotal
F (i ) =
N
Above, we try to compute average energy mount with
division to the number of nodes. Each individual is assessed
by selection function where the better fitness value; the more
chance to participate in the next generation.
Figure 4. Network status in later lifetime

As a result, these figures indicate that using proposed


5. Simulation algorithm, the network has most withstanding to transmit
data packet, as minimum spanning tree intelligently selects
5.1 Network Properties an affordable routing leading to extend lifetime.
The simulation parameters for the experienced sensor
network are: 1) The network dimension is 100*100 m2, 2) 6. Conclusion
Initial energy of each node is .8 J, 3) Random nodes
According to the simulation, we came to conclusion that
placement is considered, 4) Each tree is used just for 15
proposed algorithm extends network lifetime as compared to
periods, 5) each scenario is simulated for 5 times that PEDAPPA. In future, the fitness function and other GA
average one is reported 6) BS is situated at the center of parameters can be improved to present more efficient
resource 7) Wireless sensor network simulator, a free algorithm. Furthermore, we would like to investigate tree
software is utilized for simulation. which can efficiently adapt with network structure.
5.2 Genetic Algorithm parameters
The simulation for our heuristic algorithm is as follows: 1)
References
Population size is 500 equal to network nodes, 2) number of [1] O. Islam, S. Hussain, and Haiyi Zhang, “Genetic
generation is 200, 3) mutation and crossover rate is 0.7. algorithm for data aggregation trees in wireless
Figure 2 represents the network under experience in early sensor networks,” In Proceedings of 3rd International
setup where little white point is the data packet while they Conference on Intelligent Environments, pp. 312-316,
are transmitting among nodes and green circles are active September 2007.
nodes at that moment. The light ones are transmitting while [2] K. Kalpakis, K. Dasgupta, and P. Namjoshi,
dark ones transmitted at this near time. “Maximum lifetime data gathering and aggregation in
Hereinabove shows the network with fewer active nodes but wireless sensor networks”, In Proceedings of IEEE
it is not out of order as the required paths for transmitting International Conference on Networking, pp. 685–696,
are credited. August 2002.
At last, Figure 4 indicates our experienced network at its [3] K. Dasgupta, K. Kalpakis, and P. Namjoshi, “An
later lifetime. According to this fig, just a few nodes are efficient clustering-based heuristic for data gathering
valid for transmitting children and monitored data. In this and aggregation in sensor networks”, In Proceeding of
status, the network is being to be out of order. IEEE Wireless Communications and Networking
Conference, pp. 1948 - 1953 vol.3, March 2003.
[4] H. O. Tan and I. Körpeoğlu, “Power efficient data
gathering and aggregation in wireless sensor
networks”, In SIGMOD Rec, Volume 32, Issue 4,
pp.66–71, 2003.
[5] S. Jin, M. Zhou, and A. S. Wu, “Sensor network
optimization using a genetic algorithm”, In
Proceedings of the 7th World Multiconference on
Systemics, Cybernetics and Informatics, pp. 1031-
1051, Nov 2003.
Figure 2. Network status in early setup [6] K. P. Ferentinos, T. A. Tsiligiridis, and K. G.
Arvanitis, “Energy optimization of wirless sensor
networks for environmental measurements”, In
Proceedings of the International Conference on
Computational Intelligence for Measurment Systems
and Applicatons (CIMSA), pp. 250 – 255, July 2005.

Figure 3. Failing some nodes after several periods

Вам также может понравиться