SlideShare une entreprise Scribd logo
1  sur  7
Télécharger pour lire hors ligne
International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1, No.3,August 2013
DOI : 10.5121/ijitmc.2013.1305 43
OPTIMIZED TASK ALLOCATION IN SENSOR
NETWORKS
Ali Bagherinia
1
1
Department of Computer Engineering, Islamic Azad University-Dehdasht Branch,
Dehdasht, Iran
ali.bagherinia@gmail.com
ABSTRACT
In this paper we propose an approach for optimization of energy consumption in sensor networks.
Compared to existing approaches the proposed approach takes into account the energy for data
communication between nodes in task allocation. In the proposed approach firstly the tasks are allocated to
sensor nodes by DPSO Algorithm, while the cost function including network constraint is optimum.
Performed simulation result that the proposed approach causes reduction in energy consumption, as well
as increasing sensor network lifetime.
KEYWORDS
Cost function, Energy consumption, Sensor networks, task allocation.
1. INTRODUCTION
Although wireless sensor nodes have existed for decades and used for applications as diverse as
earthquake measurements to warfare, the modern development of small sensor nodes dates back
to the 1998 Smartdust project [1] and the NASA Sensor Webs Project [2] One of the objectives of
the Smartdust project was to create autonomous sensing and communication within a cubic
millimeter of space. Though this project ended early on, it led to many more research projects.
They include major research centres in Berkeley NEST [3] and CENS. [4]
Sensor networks are new type of data collection systems that consist of a lot of small sensor [5].
Each sensor node really is Microprocessor and small network that supplied by a battery. In
general, each node combines three components: sensing unit, data processor and communication
unit. This is an integrated system with low power consumption. The main idea of sensor networks
is collecting high quality information in specified areas such as inaccessible areas, dangerous
areas for human such as place of dangerous residual materials, military areas and generally where
information collecting is impossible with existing technologies.
Each sensor node measures necessary parameters from around area and communicate it’s with
radio sender through electrical signal. Processing of this signal extracts specification such as
object placement or around events. Sensor networks application commonly stereotyping into
military and unmilitary. Military such as enemy taking, etc and unmilitary such as critical
management, traffic control, etc.
International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1, No.3,August 2013
44
Important problem in sensor networks is low capacity of its battery that reduces with
computations and communications. A method for reducing power consumption is optimized task
allocation.
This paper consists of: structure of sensor node (section 2.1), related work (section 2.2), proposed
approach (section 3), simulation (section 4), results and conclusion.
1.1. Structure of sensor node
Figure 1 shows modular structure of each multi sensing sensor node. Each sensor node
consists of: multi sensing interface and A/D (for sensing corresponding analog area such as
pressure, temperature …), memory, CPU, RF and controller.
Figure 1. Sensor node structure with multiple sensing units
Each component of sensor node can work in different states. If each node consists of N
components with Mi states it can has Пi
n
(Mi) states but in practice all of these states not used.
Eight states of these states are used in scheduling algorithm that they are shown in table I [6].
These states are arranged as decreasing by power consumption.
Table 1. Eight valid states of a sensor node arranged in the decreasing order of power consumption
2. Related work
In [7] Tasks are allocated to gateways a way that maximizes the life of these cluster-heads and
eventually the whole network. This work didn’t consider all nodes except gateway of clusters. In
[8] energy-balanced allocation of a real-time application onto a single-hop cluster of
homogeneous sensor nodes connected with multiple wireless channels was proposed.
International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1, No.3,August 2013
45
3. Proposed approach
3.1. Task allocation
There are many tasks, should be assign to sensor nodes in network, that executing of these tasks
consume energy of networks as follow minimum network lifetime. Consumption energy is
specified by a cost function. Cost function is defined as user application tends.
3.2. Sensor networks presentation
Each sensor networks is presented as a weighted graph, for example Figure 2 In this graph each
node is a sensor node an each edge is a path between to sensor nodes.
Figure 2. Sensor network Graph
3.3 Cost Function
Ecomp(i): consumption energy for executing task i.
n: sensor node n.
Ecom(u,v): consumption energy for transfer data from node u to node v.
that is depends on distance between u and v, and this depends to network, MAC protocols and
hardware constraints.
Penalty: if violation (i.e. assigned many tasks to a node) is occurred it’s valued to ∞ to protects
from violation.
3.4. Task allocation algorithm
Task allocation algorithm centrally runs and should minimum above cost function. Propose an
algorithm that assigns the task to nodes in a sensor network (represented as a graph) while satisfy
above cost function has very large search space; on the other hands the task allocation is a NP-
Complete problem. We have used a particle swarm optimization for task allocation in sensor
networks. The goal of allocation is to minimize the cost function as result increasing network
lifetime. Task allocation model is an integer program with an equation that includes cost function
with integer coefficients (Equation 1).
18
2o
10
1025
2010
10
15
15
15
International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1, No.3,August 2013
46
Min Cost function =
(Equation 1)
(Equation 2)
(Equation 3)
Equation 2 states that each task should be allocated to exactly one sensor node. Equation 3 states
that is binary variable.
Now, we want to design particle to present a sequence of tasks in sensor networks that is
represented by a weighted graph. In my approach solutions are encoded as n × m matrixes, called
position matrix, in which m is the number of available sensor nodes at the time of allocation and n
is the number of tasks. The position matrix of each particle has the two following properties:
1) All the elements of the matrices have either the value of 0 or 1. In other words, if is the
position matrix of i-th particles in a d-dimensional space, then:
2) In each row of these matrices only one element is 1 and others are 0.
In position matrix each row represents a task allocation and each column represents allocated
tasks in a processor. Velocity of each particle is considered as a n×m matrix whose elements
are in range[− , ] . Also Pbest and nbest are n×m matrices and their elements
are 0 or 1 as position matrices. represents the best position that i-th particle has visited since
the first time step and represents the best position that i-th particle and its neighbors have
visited from the beginning of the algorithm. In this paper we used star neighborhood topology for
. In each time step and should be updated:
(Equation 4)
(Equation
5)
In (4) is the element in n-th row and m-th column of the i-th velocity matrix in
the updated time step of the algorithm and denotes the element in n-th row and m-
th column of the i-th position matrix in the updated time step. and are positive
acceleration constants which control the influence of and on the search process. Also
and are random values in range [0, 1] sampled from a uniform distribution.
weight which is called inertia weight was introduced by Shi and Eberhart [9] as a mechanism to
control the exploration and exploitation abilities of the swarm. Usually w starts with large values
International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1, No.3,August 2013
47
(e.g. 0.9) which decreases over time to smaller values so that in the last iteration it ends to a small
value (e.g. 0.1). Equation (5) means that in each row of position matrix value 1 is assigned to the
element whose corresponding element in velocity matrix has the max value in its corresponding
row. If in a row of velocity matrix there is more than one element with max value, then one of
these elements is selected randomly and 1 assigned to its corresponding element in the position
matrix.
The pseudo code of the proposed DPSO algorithm is stated as follows:
Create and initialize a n×m -dimensional swarm with P particles
do{
for (each particle i=1 to P) do
{
) > )
) > )
}
for (each particle i=1 to P) do
{
update the velocity matrix using Equation (4)
update the position matrix using Equation (5)
}
} While (stopping condition is false)
In commutative and associative tasks such as Min(), Max(), Sum() and Avg() at each task
allocation to a node states of its neighbor nodes is given to it. Thus tis nod after finishing
executing its task wait to receive data from its neighbors. Then send total result as a message. For
example in Figure 3 node P3 sends its data and P1,P3 data as a message to P4 instead of sending
three message. This action cause less communication in sensor networks that implies less energy
consumption.
Figure 3. Data collecting from neighbour
P1 P2
P3
P4
International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1, No.3,August 2013
48
4.Simulation
Simulation is done for a sensor network with 128 nodes in SWANS [10]. Remaining average of
energy in various loads of tasks computed. This simulation consists of running:
1) Optimization of task allocation in cluster based sensor networks, 2) Proposed approach.
Results curves shown in Figure 4.
.
Figure 4. Remaining average of energy in various loads
5.Conclusion
With regard to Figure 4 clearly that in low loads approach 1 has lowest consumption energy but
in height load proposed approach has lowest consumption energy because in proposed approach
at high load a lot of nodes send one message for its data and their neighbour data instead of
sending multiple message. By this technique we avoiding communication and preserve network
energy.
References
[1] http://robotics.eecs.berkeley.edu/~pister/SmartDust
[2] http://www.techbriefs.com/content/view/2227/32
[3] http://smote.cs.berkeley.edu:8000/tracenv/wiki
[4] http://research.cens.ucla.edu
[5] www.cn.ece.cornel.edu/publications/papers/allerton2002/slides.pdf.
[6] D. Li, P. H. Chou, and N. Bagherzadeh, “Mode Selection and Mode Dependency Modeling for
Power Aware Embedded Systems”, in Proc. IEEE Military Communication Conference (MILCOM),
Montery, CA, Oct. 31 Nov. 3, 2004.
[7] M.Younis, Kemal Akkaya and Anugeetha Kunjithapatham,“Optimization of Task Allocation in a
Cluster-Based Sensor Network” Proceedings of the 8th IEEE International Symposium on Computer
and Communication (ISCC’03), 2003.
[8] Y. Yu and V. K. Prasanna, “Energy-balanced task allocation for collaborative processing in wireless
sensor networks,” ACM/Kluwer Jouranl of Mobile Networks and Applications, vol. 10, no. 1-2,
pp.115–131, Feb. 2005.
[9] Zs. Németh, V. Sunderam, “Characterizing grids: Attributes, definitions, and formalisms”, Journal of
Grid Computing,Vol. 1 . No.1,2003,pp. 9 -23.
[10] SWANS Simulator: http:jist.ece.cornell.edu.
International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1, No.3,August 2013
49
AUTHOR
Ali Bagherinia is a research fellow in Islamic Azad University-Dehdasht Branch,
Dehdasht, Iran. His research area is parallel computing & Distributed systems. He has a
teaching experience of more than 10 years. Currently he is instructor of Islamic Azad
University-Dehdasht Branch, computer group & PhD student.

Contenu connexe

Tendances

Analysis of parallel algorithms for energy consumption
Analysis of parallel algorithms for energy consumptionAnalysis of parallel algorithms for energy consumption
Analysis of parallel algorithms for energy consumption
are you
 
DATA GATHERING ALGORITHMS FOR WIRELESS SENSOR NETWORKS: A SURVEY
DATA GATHERING ALGORITHMS FOR WIRELESS SENSOR NETWORKS: A SURVEYDATA GATHERING ALGORITHMS FOR WIRELESS SENSOR NETWORKS: A SURVEY
DATA GATHERING ALGORITHMS FOR WIRELESS SENSOR NETWORKS: A SURVEY
ijasuc
 
Electricity Demand Forecasting Using ANN
Electricity Demand Forecasting Using ANNElectricity Demand Forecasting Using ANN
Electricity Demand Forecasting Using ANN
Naren Chandra Kattla
 
Electricity Demand Forecasting Using Fuzzy-Neural Network
Electricity Demand Forecasting Using Fuzzy-Neural NetworkElectricity Demand Forecasting Using Fuzzy-Neural Network
Electricity Demand Forecasting Using Fuzzy-Neural Network
Naren Chandra Kattla
 
Chebyshev filter applied to an inversion technique for breast tumour detection
Chebyshev filter applied to an inversion technique for breast tumour detectionChebyshev filter applied to an inversion technique for breast tumour detection
Chebyshev filter applied to an inversion technique for breast tumour detection
eSAT Journals
 

Tendances (20)

A Learning Automata Based Prediction Mechanism for Target Tracking in Wireles...
A Learning Automata Based Prediction Mechanism for Target Tracking in Wireles...A Learning Automata Based Prediction Mechanism for Target Tracking in Wireles...
A Learning Automata Based Prediction Mechanism for Target Tracking in Wireles...
 
A Transmission Range Based Clustering Algorithm for Topology Control Manet
A Transmission Range Based Clustering Algorithm for Topology Control ManetA Transmission Range Based Clustering Algorithm for Topology Control Manet
A Transmission Range Based Clustering Algorithm for Topology Control Manet
 
An Efficient Approach for Multi-Target Tracking in Sensor Networks using Ant ...
An Efficient Approach for Multi-Target Tracking in Sensor Networks using Ant ...An Efficient Approach for Multi-Target Tracking in Sensor Networks using Ant ...
An Efficient Approach for Multi-Target Tracking in Sensor Networks using Ant ...
 
Energy detection technique for
Energy detection technique forEnergy detection technique for
Energy detection technique for
 
I017425763
I017425763I017425763
I017425763
 
Self Organizing Maps: Fundamentals
Self Organizing Maps: FundamentalsSelf Organizing Maps: Fundamentals
Self Organizing Maps: Fundamentals
 
An Ant colony optimization algorithm to solve the broken link problem in wire...
An Ant colony optimization algorithm to solve the broken link problem in wire...An Ant colony optimization algorithm to solve the broken link problem in wire...
An Ant colony optimization algorithm to solve the broken link problem in wire...
 
Proximity Detection in Distributed Simulation of Wireless Mobile Systems
Proximity Detection in Distributed Simulation of Wireless Mobile SystemsProximity Detection in Distributed Simulation of Wireless Mobile Systems
Proximity Detection in Distributed Simulation of Wireless Mobile Systems
 
Bz02516281633
Bz02516281633Bz02516281633
Bz02516281633
 
Analysis of parallel algorithms for energy consumption
Analysis of parallel algorithms for energy consumptionAnalysis of parallel algorithms for energy consumption
Analysis of parallel algorithms for energy consumption
 
DATA GATHERING ALGORITHMS FOR WIRELESS SENSOR NETWORKS: A SURVEY
DATA GATHERING ALGORITHMS FOR WIRELESS SENSOR NETWORKS: A SURVEYDATA GATHERING ALGORITHMS FOR WIRELESS SENSOR NETWORKS: A SURVEY
DATA GATHERING ALGORITHMS FOR WIRELESS SENSOR NETWORKS: A SURVEY
 
A New Approach for Solving Inverse Scattering Problems with Overset Grid Gene...
A New Approach for Solving Inverse Scattering Problems with Overset Grid Gene...A New Approach for Solving Inverse Scattering Problems with Overset Grid Gene...
A New Approach for Solving Inverse Scattering Problems with Overset Grid Gene...
 
Path loss prediction
Path loss predictionPath loss prediction
Path loss prediction
 
Prediction of Extreme Wind Speed Using Artificial Neural Network Approach
Prediction of Extreme Wind Speed Using Artificial Neural  Network ApproachPrediction of Extreme Wind Speed Using Artificial Neural  Network Approach
Prediction of Extreme Wind Speed Using Artificial Neural Network Approach
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)
 
DISTRIBUTED COVERAGE AND CONNECTIVITY PRESERVING ALGORITHM WITH SUPPORT OF DI...
DISTRIBUTED COVERAGE AND CONNECTIVITY PRESERVING ALGORITHM WITH SUPPORT OF DI...DISTRIBUTED COVERAGE AND CONNECTIVITY PRESERVING ALGORITHM WITH SUPPORT OF DI...
DISTRIBUTED COVERAGE AND CONNECTIVITY PRESERVING ALGORITHM WITH SUPPORT OF DI...
 
Electricity Demand Forecasting Using ANN
Electricity Demand Forecasting Using ANNElectricity Demand Forecasting Using ANN
Electricity Demand Forecasting Using ANN
 
Analysis of Microstrip Finger on Bandwidth of Interdigital Band Pass Filter u...
Analysis of Microstrip Finger on Bandwidth of Interdigital Band Pass Filter u...Analysis of Microstrip Finger on Bandwidth of Interdigital Band Pass Filter u...
Analysis of Microstrip Finger on Bandwidth of Interdigital Band Pass Filter u...
 
Electricity Demand Forecasting Using Fuzzy-Neural Network
Electricity Demand Forecasting Using Fuzzy-Neural NetworkElectricity Demand Forecasting Using Fuzzy-Neural Network
Electricity Demand Forecasting Using Fuzzy-Neural Network
 
Chebyshev filter applied to an inversion technique for breast tumour detection
Chebyshev filter applied to an inversion technique for breast tumour detectionChebyshev filter applied to an inversion technique for breast tumour detection
Chebyshev filter applied to an inversion technique for breast tumour detection
 

En vedette

Az öregedésről
Az öregedésrőlAz öregedésről
Az öregedésről
krizma
 
Taufan rizky, sistem informasi semester 1, makalah pendidikan
Taufan rizky, sistem informasi semester 1, makalah pendidikanTaufan rizky, sistem informasi semester 1, makalah pendidikan
Taufan rizky, sistem informasi semester 1, makalah pendidikan
taufanrizky
 

En vedette (15)

Presentation multi moda
Presentation multi modaPresentation multi moda
Presentation multi moda
 
Markus Torgeby
Markus TorgebyMarkus Torgeby
Markus Torgeby
 
Az öregedésről
Az öregedésrőlAz öregedésről
Az öregedésről
 
Taufan rizky, sistem informasi semester 1, makalah pendidikan
Taufan rizky, sistem informasi semester 1, makalah pendidikanTaufan rizky, sistem informasi semester 1, makalah pendidikan
Taufan rizky, sistem informasi semester 1, makalah pendidikan
 
M.A.P.I.C
M.A.P.I.CM.A.P.I.C
M.A.P.I.C
 
Pengantar la tex
Pengantar la texPengantar la tex
Pengantar la tex
 
Eureka!
Eureka!Eureka!
Eureka!
 
เต้
เต้เต้
เต้
 
05. Colspan dan rowspan
05. Colspan dan rowspan05. Colspan dan rowspan
05. Colspan dan rowspan
 
Biografi Musa
Biografi MusaBiografi Musa
Biografi Musa
 
Навигация, как одно из необходимых средств формирования позитивного опыта пос...
Навигация, как одно из необходимых средств формирования позитивного опыта пос...Навигация, как одно из необходимых средств формирования позитивного опыта пос...
Навигация, как одно из необходимых средств формирования позитивного опыта пос...
 
Telecomunicacions
TelecomunicacionsTelecomunicacions
Telecomunicacions
 
A derivative free high ordered hybrid equation solver
A derivative free high ordered hybrid equation solverA derivative free high ordered hybrid equation solver
A derivative free high ordered hybrid equation solver
 
A key management approach for wireless sensor networks
A key management approach for wireless sensor networksA key management approach for wireless sensor networks
A key management approach for wireless sensor networks
 
Relação pecunia aguardando aposent 2015
Relação pecunia aguardando aposent 2015Relação pecunia aguardando aposent 2015
Relação pecunia aguardando aposent 2015
 

Similaire à OPTIMIZED TASK ALLOCATION IN SENSOR NETWORKS

Energy efficient k target coverage in wireless sensor net-2
Energy efficient k target coverage in wireless sensor net-2Energy efficient k target coverage in wireless sensor net-2
Energy efficient k target coverage in wireless sensor net-2
IAEME Publication
 
Ameliorate the performance using soft computing approaches in wireless networks
Ameliorate the performance using soft computing approaches  in wireless networksAmeliorate the performance using soft computing approaches  in wireless networks
Ameliorate the performance using soft computing approaches in wireless networks
IJECEIAES
 
Algorithm selection for sorting in embedded and mobile systems
Algorithm selection for sorting in embedded and mobile systemsAlgorithm selection for sorting in embedded and mobile systems
Algorithm selection for sorting in embedded and mobile systems
Jigisha Aryya
 

Similaire à OPTIMIZED TASK ALLOCATION IN SENSOR NETWORKS (20)

Energy-Efficient Target Coverage in Wireless Sensor Networks Based on Modifie...
Energy-Efficient Target Coverage in Wireless Sensor Networks Based on Modifie...Energy-Efficient Target Coverage in Wireless Sensor Networks Based on Modifie...
Energy-Efficient Target Coverage in Wireless Sensor Networks Based on Modifie...
 
Energy-Efficient Target Coverage in Wireless Sensor Networks Based on Modifie...
Energy-Efficient Target Coverage in Wireless Sensor Networks Based on Modifie...Energy-Efficient Target Coverage in Wireless Sensor Networks Based on Modifie...
Energy-Efficient Target Coverage in Wireless Sensor Networks Based on Modifie...
 
Energy-Efficient Target Coverage in Wireless Sensor Networks Based on Modifie...
Energy-Efficient Target Coverage in Wireless Sensor Networks Based on Modifie...Energy-Efficient Target Coverage in Wireless Sensor Networks Based on Modifie...
Energy-Efficient Target Coverage in Wireless Sensor Networks Based on Modifie...
 
CONFIGURABLE TASK MAPPING FOR MULTIPLE OBJECTIVES IN MACRO-PROGRAMMING OF WIR...
CONFIGURABLE TASK MAPPING FOR MULTIPLE OBJECTIVES IN MACRO-PROGRAMMING OF WIR...CONFIGURABLE TASK MAPPING FOR MULTIPLE OBJECTIVES IN MACRO-PROGRAMMING OF WIR...
CONFIGURABLE TASK MAPPING FOR MULTIPLE OBJECTIVES IN MACRO-PROGRAMMING OF WIR...
 
ENERGY EFFICIENCY OF MIMO COOPERATIVE NETWORKS WITH ENERGY HARVESTING SENSOR ...
ENERGY EFFICIENCY OF MIMO COOPERATIVE NETWORKS WITH ENERGY HARVESTING SENSOR ...ENERGY EFFICIENCY OF MIMO COOPERATIVE NETWORKS WITH ENERGY HARVESTING SENSOR ...
ENERGY EFFICIENCY OF MIMO COOPERATIVE NETWORKS WITH ENERGY HARVESTING SENSOR ...
 
ENERGY EFFICIENCY OF MIMO COOPERATIVE NETWORKS WITH ENERGY HARVESTING SENSOR ...
ENERGY EFFICIENCY OF MIMO COOPERATIVE NETWORKS WITH ENERGY HARVESTING SENSOR ...ENERGY EFFICIENCY OF MIMO COOPERATIVE NETWORKS WITH ENERGY HARVESTING SENSOR ...
ENERGY EFFICIENCY OF MIMO COOPERATIVE NETWORKS WITH ENERGY HARVESTING SENSOR ...
 
A new method for controlling and maintaining
A new method for controlling and maintainingA new method for controlling and maintaining
A new method for controlling and maintaining
 
Energy efficient k target coverage in wireless sensor net-2
Energy efficient k target coverage in wireless sensor net-2Energy efficient k target coverage in wireless sensor net-2
Energy efficient k target coverage in wireless sensor net-2
 
D031202018023
D031202018023D031202018023
D031202018023
 
Short Term Load Forecasting: One Week (With & Without Weekend) Using Artifici...
Short Term Load Forecasting: One Week (With & Without Weekend) Using Artifici...Short Term Load Forecasting: One Week (With & Without Weekend) Using Artifici...
Short Term Load Forecasting: One Week (With & Without Weekend) Using Artifici...
 
Ameliorate the performance using soft computing approaches in wireless networks
Ameliorate the performance using soft computing approaches  in wireless networksAmeliorate the performance using soft computing approaches  in wireless networks
Ameliorate the performance using soft computing approaches in wireless networks
 
Wireless sensor networks, clustering, Energy efficient protocols, Particles S...
Wireless sensor networks, clustering, Energy efficient protocols, Particles S...Wireless sensor networks, clustering, Energy efficient protocols, Particles S...
Wireless sensor networks, clustering, Energy efficient protocols, Particles S...
 
Energy Efficient Power Failure Diagonisis For Wireless Network Using Random G...
Energy Efficient Power Failure Diagonisis For Wireless Network Using Random G...Energy Efficient Power Failure Diagonisis For Wireless Network Using Random G...
Energy Efficient Power Failure Diagonisis For Wireless Network Using Random G...
 
Design of c slotted microstrip antenna using
Design of c slotted microstrip antenna usingDesign of c slotted microstrip antenna using
Design of c slotted microstrip antenna using
 
Design of c slotted microstrip antenna using artificial neural network model
Design of c slotted microstrip antenna using artificial neural network modelDesign of c slotted microstrip antenna using artificial neural network model
Design of c slotted microstrip antenna using artificial neural network model
 
Energy Efficient Clustering and Routing in Mobile Wireless Sensor Network
Energy Efficient Clustering and Routing in Mobile Wireless Sensor NetworkEnergy Efficient Clustering and Routing in Mobile Wireless Sensor Network
Energy Efficient Clustering and Routing in Mobile Wireless Sensor Network
 
A CLUSTER BASED STABLE ROUTING PROTOCOL USING BINARY PARTICLE SWARM OPTIMIZAT...
A CLUSTER BASED STABLE ROUTING PROTOCOL USING BINARY PARTICLE SWARM OPTIMIZAT...A CLUSTER BASED STABLE ROUTING PROTOCOL USING BINARY PARTICLE SWARM OPTIMIZAT...
A CLUSTER BASED STABLE ROUTING PROTOCOL USING BINARY PARTICLE SWARM OPTIMIZAT...
 
A Topology Control Algorithm Taking into Account Energy and Quality of Transm...
A Topology Control Algorithm Taking into Account Energy and Quality of Transm...A Topology Control Algorithm Taking into Account Energy and Quality of Transm...
A Topology Control Algorithm Taking into Account Energy and Quality of Transm...
 
53
5353
53
 
Algorithm selection for sorting in embedded and mobile systems
Algorithm selection for sorting in embedded and mobile systemsAlgorithm selection for sorting in embedded and mobile systems
Algorithm selection for sorting in embedded and mobile systems
 

Dernier

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Dernier (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 

OPTIMIZED TASK ALLOCATION IN SENSOR NETWORKS

  • 1. International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1, No.3,August 2013 DOI : 10.5121/ijitmc.2013.1305 43 OPTIMIZED TASK ALLOCATION IN SENSOR NETWORKS Ali Bagherinia 1 1 Department of Computer Engineering, Islamic Azad University-Dehdasht Branch, Dehdasht, Iran ali.bagherinia@gmail.com ABSTRACT In this paper we propose an approach for optimization of energy consumption in sensor networks. Compared to existing approaches the proposed approach takes into account the energy for data communication between nodes in task allocation. In the proposed approach firstly the tasks are allocated to sensor nodes by DPSO Algorithm, while the cost function including network constraint is optimum. Performed simulation result that the proposed approach causes reduction in energy consumption, as well as increasing sensor network lifetime. KEYWORDS Cost function, Energy consumption, Sensor networks, task allocation. 1. INTRODUCTION Although wireless sensor nodes have existed for decades and used for applications as diverse as earthquake measurements to warfare, the modern development of small sensor nodes dates back to the 1998 Smartdust project [1] and the NASA Sensor Webs Project [2] One of the objectives of the Smartdust project was to create autonomous sensing and communication within a cubic millimeter of space. Though this project ended early on, it led to many more research projects. They include major research centres in Berkeley NEST [3] and CENS. [4] Sensor networks are new type of data collection systems that consist of a lot of small sensor [5]. Each sensor node really is Microprocessor and small network that supplied by a battery. In general, each node combines three components: sensing unit, data processor and communication unit. This is an integrated system with low power consumption. The main idea of sensor networks is collecting high quality information in specified areas such as inaccessible areas, dangerous areas for human such as place of dangerous residual materials, military areas and generally where information collecting is impossible with existing technologies. Each sensor node measures necessary parameters from around area and communicate it’s with radio sender through electrical signal. Processing of this signal extracts specification such as object placement or around events. Sensor networks application commonly stereotyping into military and unmilitary. Military such as enemy taking, etc and unmilitary such as critical management, traffic control, etc.
  • 2. International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1, No.3,August 2013 44 Important problem in sensor networks is low capacity of its battery that reduces with computations and communications. A method for reducing power consumption is optimized task allocation. This paper consists of: structure of sensor node (section 2.1), related work (section 2.2), proposed approach (section 3), simulation (section 4), results and conclusion. 1.1. Structure of sensor node Figure 1 shows modular structure of each multi sensing sensor node. Each sensor node consists of: multi sensing interface and A/D (for sensing corresponding analog area such as pressure, temperature …), memory, CPU, RF and controller. Figure 1. Sensor node structure with multiple sensing units Each component of sensor node can work in different states. If each node consists of N components with Mi states it can has Пi n (Mi) states but in practice all of these states not used. Eight states of these states are used in scheduling algorithm that they are shown in table I [6]. These states are arranged as decreasing by power consumption. Table 1. Eight valid states of a sensor node arranged in the decreasing order of power consumption 2. Related work In [7] Tasks are allocated to gateways a way that maximizes the life of these cluster-heads and eventually the whole network. This work didn’t consider all nodes except gateway of clusters. In [8] energy-balanced allocation of a real-time application onto a single-hop cluster of homogeneous sensor nodes connected with multiple wireless channels was proposed.
  • 3. International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1, No.3,August 2013 45 3. Proposed approach 3.1. Task allocation There are many tasks, should be assign to sensor nodes in network, that executing of these tasks consume energy of networks as follow minimum network lifetime. Consumption energy is specified by a cost function. Cost function is defined as user application tends. 3.2. Sensor networks presentation Each sensor networks is presented as a weighted graph, for example Figure 2 In this graph each node is a sensor node an each edge is a path between to sensor nodes. Figure 2. Sensor network Graph 3.3 Cost Function Ecomp(i): consumption energy for executing task i. n: sensor node n. Ecom(u,v): consumption energy for transfer data from node u to node v. that is depends on distance between u and v, and this depends to network, MAC protocols and hardware constraints. Penalty: if violation (i.e. assigned many tasks to a node) is occurred it’s valued to ∞ to protects from violation. 3.4. Task allocation algorithm Task allocation algorithm centrally runs and should minimum above cost function. Propose an algorithm that assigns the task to nodes in a sensor network (represented as a graph) while satisfy above cost function has very large search space; on the other hands the task allocation is a NP- Complete problem. We have used a particle swarm optimization for task allocation in sensor networks. The goal of allocation is to minimize the cost function as result increasing network lifetime. Task allocation model is an integer program with an equation that includes cost function with integer coefficients (Equation 1). 18 2o 10 1025 2010 10 15 15 15
  • 4. International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1, No.3,August 2013 46 Min Cost function = (Equation 1) (Equation 2) (Equation 3) Equation 2 states that each task should be allocated to exactly one sensor node. Equation 3 states that is binary variable. Now, we want to design particle to present a sequence of tasks in sensor networks that is represented by a weighted graph. In my approach solutions are encoded as n × m matrixes, called position matrix, in which m is the number of available sensor nodes at the time of allocation and n is the number of tasks. The position matrix of each particle has the two following properties: 1) All the elements of the matrices have either the value of 0 or 1. In other words, if is the position matrix of i-th particles in a d-dimensional space, then: 2) In each row of these matrices only one element is 1 and others are 0. In position matrix each row represents a task allocation and each column represents allocated tasks in a processor. Velocity of each particle is considered as a n×m matrix whose elements are in range[− , ] . Also Pbest and nbest are n×m matrices and their elements are 0 or 1 as position matrices. represents the best position that i-th particle has visited since the first time step and represents the best position that i-th particle and its neighbors have visited from the beginning of the algorithm. In this paper we used star neighborhood topology for . In each time step and should be updated: (Equation 4) (Equation 5) In (4) is the element in n-th row and m-th column of the i-th velocity matrix in the updated time step of the algorithm and denotes the element in n-th row and m- th column of the i-th position matrix in the updated time step. and are positive acceleration constants which control the influence of and on the search process. Also and are random values in range [0, 1] sampled from a uniform distribution. weight which is called inertia weight was introduced by Shi and Eberhart [9] as a mechanism to control the exploration and exploitation abilities of the swarm. Usually w starts with large values
  • 5. International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1, No.3,August 2013 47 (e.g. 0.9) which decreases over time to smaller values so that in the last iteration it ends to a small value (e.g. 0.1). Equation (5) means that in each row of position matrix value 1 is assigned to the element whose corresponding element in velocity matrix has the max value in its corresponding row. If in a row of velocity matrix there is more than one element with max value, then one of these elements is selected randomly and 1 assigned to its corresponding element in the position matrix. The pseudo code of the proposed DPSO algorithm is stated as follows: Create and initialize a n×m -dimensional swarm with P particles do{ for (each particle i=1 to P) do { ) > ) ) > ) } for (each particle i=1 to P) do { update the velocity matrix using Equation (4) update the position matrix using Equation (5) } } While (stopping condition is false) In commutative and associative tasks such as Min(), Max(), Sum() and Avg() at each task allocation to a node states of its neighbor nodes is given to it. Thus tis nod after finishing executing its task wait to receive data from its neighbors. Then send total result as a message. For example in Figure 3 node P3 sends its data and P1,P3 data as a message to P4 instead of sending three message. This action cause less communication in sensor networks that implies less energy consumption. Figure 3. Data collecting from neighbour P1 P2 P3 P4
  • 6. International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1, No.3,August 2013 48 4.Simulation Simulation is done for a sensor network with 128 nodes in SWANS [10]. Remaining average of energy in various loads of tasks computed. This simulation consists of running: 1) Optimization of task allocation in cluster based sensor networks, 2) Proposed approach. Results curves shown in Figure 4. . Figure 4. Remaining average of energy in various loads 5.Conclusion With regard to Figure 4 clearly that in low loads approach 1 has lowest consumption energy but in height load proposed approach has lowest consumption energy because in proposed approach at high load a lot of nodes send one message for its data and their neighbour data instead of sending multiple message. By this technique we avoiding communication and preserve network energy. References [1] http://robotics.eecs.berkeley.edu/~pister/SmartDust [2] http://www.techbriefs.com/content/view/2227/32 [3] http://smote.cs.berkeley.edu:8000/tracenv/wiki [4] http://research.cens.ucla.edu [5] www.cn.ece.cornel.edu/publications/papers/allerton2002/slides.pdf. [6] D. Li, P. H. Chou, and N. Bagherzadeh, “Mode Selection and Mode Dependency Modeling for Power Aware Embedded Systems”, in Proc. IEEE Military Communication Conference (MILCOM), Montery, CA, Oct. 31 Nov. 3, 2004. [7] M.Younis, Kemal Akkaya and Anugeetha Kunjithapatham,“Optimization of Task Allocation in a Cluster-Based Sensor Network” Proceedings of the 8th IEEE International Symposium on Computer and Communication (ISCC’03), 2003. [8] Y. Yu and V. K. Prasanna, “Energy-balanced task allocation for collaborative processing in wireless sensor networks,” ACM/Kluwer Jouranl of Mobile Networks and Applications, vol. 10, no. 1-2, pp.115–131, Feb. 2005. [9] Zs. Németh, V. Sunderam, “Characterizing grids: Attributes, definitions, and formalisms”, Journal of Grid Computing,Vol. 1 . No.1,2003,pp. 9 -23. [10] SWANS Simulator: http:jist.ece.cornell.edu.
  • 7. International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1, No.3,August 2013 49 AUTHOR Ali Bagherinia is a research fellow in Islamic Azad University-Dehdasht Branch, Dehdasht, Iran. His research area is parallel computing & Distributed systems. He has a teaching experience of more than 10 years. Currently he is instructor of Islamic Azad University-Dehdasht Branch, computer group & PhD student.