Conference 041818
Conference 041818
Conference 041818
net/publication/329317560
CITATIONS READS
10 371
3 authors, including:
All content following this page was uploaded by Haider Rizvi on 30 December 2018.
Abstract—Wireless Sensor Networks consist of many sensing relaxations to the localization problem regarding the nodes
devices which are distributed inside of a given area. Each sensor ordering, anchor nodes distribution, or global information
node consists of multiple heterogeneous components such as sharing were also discussed in [5] and [6].
power supply, CPU, memory, and a transceiver. Since the location
of sensors is needed in most of the WSNs, Trilateration-based Trilateration-based localization (TBL) and Multilateration-
localization (TBL) has been used to locate the sensors in the based localization (MBL) techniques are among the well-
network. This study formulates the concern on how wireless known and most used methods for localization. In this study,
sensor networks can take advantage of the computational intel- the various performance aspects of the TBL algorithm are
ligent techniques using both single and multi-objective particle examined through the application of single and multi-objective
swarm optimization (PSO) with an overall aim of concurrently
minimizing the required time for localization, minimizing energy variants of particle swarm optimization (PSO). We imple-
consumed during localization, and maximizing the number of mented two version of PSO in this study to allow nodes to
nodes fully localized through the adjustment of wireless sensor vary the transmission power level when broadcasting messages
transmission ranges while using TBL process. A parameter-study during localization. Trade-offs between multiple objectives
of the applied PSO variants is performed, leading to results that (the number of transmitted messages, number of localized
show algorithmic improvements of up to 21% in the evaluated
objectives. nodes, power consumption and the time needed to localize
Index Terms—Wireless Sensor Networks, Trilateration, Local- as many nodes as possible) are studied.
ization, Particle Swarm Optimization The paper present the results of two implemented versions
of the particle swarm optimization and clearly show the
I. I NTRODUCTION performance of them while trying to optimize the WSN work.
Wireless sensor networks (WSN) consist of many sensing The key novelty of this paper is the optimization of the
devices which are distributed inside of a given area. Sensors in power consumption of the whole network without the need to
the network carry out different tasks such as recording weather cluster or build any small sensor islands such as in [7]. This
conditions, sensing motion, or recording sounds in addition to study takes advantage of the functionalities of toady’s WSNs
many other tasks. In WSNs, sensors cooperate with each other nodes to enhance the performance of the whole network, the
to formulate a fully connected network to allow information ZigBee technology of transceivers in wireless nodes made
sharing between the network nodes. Such networks have that possible by allowing us to use multiple transmission
many applications both for civilian and military purposes, the power levels, where the different variants of PSO were used
position of sensing devices that record the humidity of a place to programmically change the transmission level after the
or the position of a military vehicle in a war zone are two evaluation of the designed fitness functions.
examples of such applications where knowing the location of
the information source is very important. II. L ITERATURE R EVIEW
Wireless sensor nodes in WSNs may be positioned perma-
nently or dynamically in a field depending on the localization WSNs consist of many sensing devices which are distributed
protocol and nodes functionalities as thoroughly discussed in inside of a given area. Sensors in the network carry out
[1]. For permanent localization scenarios, knowing the location different tasks such as recording weather conditions, sensing
of the sensor is not a problem throughout the life time of the motion, or recording sounds in addition to many other tasks
network; but in dynamic networks, localizing nodes can be [8]. In WSNs, sensors cooperate with each other to formulate a
time and power consuming and, in some scenarios, a lack fully connected network to allow information sharing between
of accuracy may occur. To solve problems of localization the network nodes. The collected information can also be
accuracy and increase the number of localized nodes in a sent to a command and control center for processing and
time critical localization scenarios, meta-heuristic solutions decision making. Such networks have many applications both
and novel range-based iterative localization algorithms have for civilian and military purposes, yet finding the actual
previously been proposed in [2], [3] and [4]. Additionally, to location of a single sensor in any type of WSN is important.
allow mapping localization solutions into real world scenarios For example, it can be used in military applications to detect
infiltration and target tracking or for environmental monitoring [14]. On the other hand, the Atmel AT86RF230 transceiver,
and forest fire control. as the CC2420, allow varying the output power but not only
between 8 levels, instead, between 16 discrete levels ranging
A. WSN Localization from 3 dBm to 17:2 dBm. Having more output power levels
Each sensor node consists of multiple heterogeneous allow minimum length of intervals than what the CC2420 can
components such as power supply, CPU, memory, and a provide.
transceiver. Since the location of sensors is needed in most Previous studies took advantage of such functionalities and
of the WSNs, sensors can be equipped with an additional tried to optimize the power consumption by varying the output
component such as a Geographic Positioning System (GPS) power as in [15], where the output power of nodes were varied
device. However, sensor nodes are spread in significantly large based on the distance between the communicated nodes after
quantities, therefore, it does not seem to be a cost-effective sharing the information using the Request to Send/Clear to
solution to equip all nodes with a GPS device. As a result, a Send mechanism. Additionally, in [16] a localization proto-
scheme other than GPS is needed to locate the sensors. col was proposed to optimize the power consumption after
Localization in WSNs is a challenging task due to the clustering nodes based on the used power levels. In most of
inherent characteristics of the network such as the constrained the simulations and studies done in literature, they tried to
resources of sensor nodes which lead to limited computational change the power level sequentially while observing the effect
and communication capabilities, and power limitations due of using different power levels, or assign power levels to nodes
to the use of batteries to power the nodes. Further, the randomly.
information regarding an entire network, including its topology Table 6.1 of the CC2420 data sheet [17] lists the five differ-
and technology, is often not available at a single node. Due ent modes in which the transceiver consumes different amount
to this lack of information, there is a requirement for the of power, the five modes are: Voltage regulator off(OFF);
localization protocol of a given network to be distributed. Power Down mode (PD); Idle mode (IDLE); Receive mode;
A wireless network can be formed by spreading sensors and finally, the Transmit mode. Depending on the localization
in a terrain manually or through an airplane depending on protocol, all of the other modes including the transmit mode
the terrain conditions. Additionally, nodes in WSNs may be will be affected by the steps and behavior of the localization
positioned permanently or dynamically in a field [1]. For procedure. For example, longer localization time means more
permanent localization scenarios, knowing the location of the power consumption due to the power consumed while in the
sensor is not a problem throughout the life time of the network, idle mode.
but in dynamic networks localizing nodes can be time and
power consuming and, in some scenarios, a lack of accuracy III. PARTICLE S WARM O PTIMIZATION
may occur. PSO is a meta-heuristic self-adaptive technique for load
To avoid high costs, two different types of nodes are used balancing. In PSO algorithm solutions are known as particle
within a typical WSN: Anchor and Blind nodes. Anchor nodes and population is known as the swarm. Each particle in PSO
are the ones aware of their positions through the use of the consists of fitness value through which fitness function is
aforementioned devices which allow the node to obtain its evaluated. Each particle has a particular position in the entire
position in the global coordinate system (using GPS), or by group. It is a population-based search algorithm inspired from
deploying the node in known positions in the local coordinate fish schooling and bird flocking. Every particle is aware of
system. Blind nodes then rely on the anchor nodes to estimate population around them. Particles learn from their neighboring
their positions in the respective coordinate system [1]. Trilat- particles and themselves. All versions of PSO algorithm start
eration and multilateration based localization (TBL and MBL) by creating a number of particles to form a swarm that travels
techniques are among the best known and most used methods in the problem space searching for an optimum solution. An
for localization. TBL and MBL allow blind nodes to localize objective function should be defined to examine every solution
themselves based on the difference in distance between the found by each particle throughout the traveling time. A particle
blind nodes and the neighbor anchor nodes [9]. in this method is considered as a position in D-dimensional
space, where each element can take a continuous value be-
B. Power Consumption in WSNs tween a fixed upper and lower bounds. Additionally, each
Wireless sensor nodes often use solar cells to extend the bat- particle has a D-dimensional velocity, where each element also
tery life in order to allow nodes to run for longer times. Other can take a bounded continuous value. Alternately, the elements
methods of extending battery life are the intelligent slowing of the positions matrix of the binary PSO can take the binary
of power consumption through a reduction in listening time value of 0 or 1, where the value of each element of the velocity
[10], increasing the sleep time [11], or modifying sampling matrix is in the range [0, 1].
rates [12]. Another method of accomplishing power reduction The individuals in PSO are a group of particles that move
is the use of multiple transmission ranges as is seen in the well- through a search space with a given velocity. At each iteration
known CC2420 ZigBee RF transceivers [13]. CC2420 allow the velocity and position of each particle is stochastically
nodes to transmit messages using eight discrete output power updated by combining the particle’s current solution, the
levels, as discussed in section 28 of the transceiver data sheet particle’s personal best solution or p̂i , and the global best
solution or ĝ over all particles. The required mathematics • To avoid filling up the leaders archive, a crowding
operating over a continuous space is listed in (1) to (5) where distance based on the non-dominated sorting genetic
ω is the inertial constant, c1 and c2 represent cognitive and algorithm-II (NSGA-II) is used to decide which particles
social constants that are usually ∼ 2, and r1 and r2 are must remain in the archive.
random numbers. mRange and xRange are the minimum • A mutation operator is applied to a portion of the swarm
and maximum transmission ranges respectively, and Ran is a to improve the exploration and search ability and to
random number between 0 and xRange. (1) to (3) are used avoid premature convergence. Using the mutation method
to update the velocity of the ith component of particle p, allowed us to give up using a simulated annealing method
where (4) and (5) are used to update the position of that same used to enhance the SOPSO performance by dynamically
component. varying the inertia weight value.
Above equations indicate that the velocity of neighbors and including 1) A binary single objective PSO, 2) A binary multi-
the current velocity of the particle itself will contribute in objective PSO, and 3) A continuous multi-objective PSO.
deciding the next position of the particle. In order for a particle
A. Objective Functions
to keep up with the other particles during the search of a
solution, each particle adapts to the velocity of the swarm as As previously mentioned, the SOPSO and MOPSO algo-
a whole by learning from itself and its neighbor particles. Ad- rithms are used in order to intelligently adjust the various
ditionally, to improve the performance of the Single Objective discrete power ranges or the continuous transmission ranges
PSO (SOPSO), the inertia weight (ω) in (1) can be modified of each sensor node. Accordingly, a representation consisting
dynamically (instead of a constant value) using mechanisms of N dimensions is used in order to represent each sensor that
such as the simulated annealing to increase the probability is deployed in the field. Furthermore, the objective functions
of finding a near-optimal solution in fewer iterations and for messages sent, time required for localization, power con-
computing time. Multi-objective Problems (MOPs) are known sumption, and number of nodes localized are calculated as
to have many contradictory objectives where enhancing the follows:
result of one objective will have a negative impact on the other • Messages sent: Depending on the localization procedure
objectives involved. Multi-Objective PSO (MOPSO) attempts and communication mechanism between nodes, the num-
to effectively find a solution or a set of solutions that ensure ber of messages sent back and forth between nodes
a balance between all the involved objectives. The main will vary. However, in this study we assume that each
differences between the SOPSO and the MOPSO algorithms already localized node will broadcast once in order to
are: help other non-localized nodes achieve localization. Thus,
• MOPSO does not have a single global best solution, the the number of sent messages depends on the number of
of the SOPSO in (1), that all particles learn from when localized nodes.
they update their velocities in each iteration. Instead, • Time required: In the proposed method, one unit of time
MOPSO will have an archive of particles called leaders, is equivalent to one step in which sender nodes broadcast
where each leader is a potential solution of the problem. their locations and receivers receive the information.
So instead of having only one global best solution the The step ends by running the location estimation using
MOPSO will keep track of different solutions and use TBL method for each blind node that receives at least
them randomly to lead other particles to update their three messages from three different localized nodes. The
velocities in each iteration using (1). localization procedure is going to terminate when no any
• Dominance comparators are also implemented inside the new blind node was able to localize itself by the end of
MOPSO to help in finding a set of optimal solutions. each step.
• Power consumption: The variance in this objective mainly
comes from the use of discrete and continuous transmis-
sion ranges, leading to various levels of power consump-
tion. The power consumption is measured based on the
power level or the transmission range each node uses to
broadcast its message. Accordingly, the power consump-
tion is the sum of each node’s power consumption as
chosen by PSO.
• Number of nodes: Choosing which power range a node Fig. 1: Simulation Flow Chart
will use to transmit messages or the transmission range
of each node plays a significant role in the number
of localized nodes. Through use of this objective, the
proposed method maximizes the number of nodes capable
of localizing using the least amount of consumed power,
which means the least average transmission ranges of all
nodes.