Professional Documents
Culture Documents
Every kind of things we think, we will be connected in Efficient design and implementation of wireless sensor
Internet of Things (IoT). In this, at any time we can get networks has become a hot area of research in recent years,
information about anything from anywhere. This due to the vast potential of sensor networks to enable
interconnected ecosystem have so many countless applications that connect the physical world to the virtual
applications which interface with the internet; embedded world. By networking large numbers of tiny sensor nodes, it
and resource-constrained devices will imminently dominate is possible to obtain data about physical phenomena that
a domain once accessible exclusively to servers and was difficult or impossible to obtain in more conventional
workstation computers, providing highly specific functions ways. Potential applications for such large-scale wireless
for sensing and actuating. Such devices find new ways for sensor networks exist in a variety of fields, including medical
communicating with existing infrastructure and outside the monitoring, environmental monitoring, surveillance, home
world and between the things which are outside of their security, military operations, and industrial machine
applications. So, we need a broad vision for the IoT for monitoring. Protocol design for sensor networks must
everything we might need. Figure 1.1 shows the vision of account for the properties of ad hoc networks, including the
Internet of three layers. following.
2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 1949
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 04 Issue: 07 | July -2017 www.irjet.net p-ISSN: 2395-0072
Lifetime constraints imposed by the limited energy The mathematical problem for this work is represented as:
supplies of the nodes in the network.
Unreliable communication due to the wireless
medium.
Need for self-configuration, requiring little or no
human intervention. Where = transmitted power and is link utilisation
ratio. The Ptx and UR will be calculated between two sensor
nodes termed as edge. The choice of optimal edges satisfying
the above equation is subject to constraint that
I. ; where e is the edge and E is the set of all
alive edges
II. The remaining link energy at each edge must be to
hold the new sensor data.
2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 1950
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 04 Issue: 07 | July -2017 www.irjet.net p-ISSN: 2395-0072
Dynamic Channel Allocation by PSO-GSA Step13. This new velocity is the direction of particle
in PSO is updated as
In our proposed scheme PSOGSA optimized technique is
used which is hybrid of PSO (Particle Swarm optimization) Here gbest is the global best position of particles in
and GSA (Gravitational Search Algorithm) optimization PSO and acceleration is calculated in GSA as
algorithm which requires an objective function to minimize. .
Steps of proposed algorithms are described as:
GSA ends here
Step1. Initialize all initial parameters like active
nodes, their position, channel bandwidth, frequency Step14. The final position of agents which is
to model it. achieved either by matching the condition of power
Step2. Place the nodes randomly in geographical reduction or by reaching the maximum iterations.
region of 10*10 Step15. Final positions of agents thus settled are
Step3. Mark the transmission range of each node considered as the final weighted sequence of PTS
to be 5 meter and plot a circular region around each algorithm and multiplied with input sub blocks and
node. PAPR is calculated.
Step4. Manage a sink node and select the best path
for each node to sink based on minimum hopes and 3.Result
distance.
Step5. Pass these paths for each node to hybrid Our results are tested for different active nodes numbers and
PSO-GSA optimization algorithm to get the tuned comparison is done in the basis of effective power and path
bandwidth allocation for minimization of power loss component, tuned with Genetic algorithm, GSA and PSO-
consumption. GSA. We used 6 channels of 20 MHz bandwidth as per IEEE
PSO-GSA Initialization 802.11 standard. There is no limit to multiple times use of
Step6. Initialize the random positions of particles these channels during simulation. So if there is more number
in PSO. of edges in a path then these channels can be allotted
Step7. Consider the searching space dimension as dynamically to each edge. This channel allocation process is
number of available channels optimized by PSO-GSA algorithm. Figure 3.1 shows the
Step8. Initialize the weighting parameters of PSO random placement of 40 active nodes in a geographical
as 1.2 and 0.5. region of 10*10 square meters with transmission range of 5
Step9. Compare the fitness value of each particle meter.
with the previous best position of bacteria. If fitness
function value is less for this new position than Nodes Placed in geographical region of 10*10
12
current position of particle for PSO and output of 10 2
30
37 27
32 34 15
fitness function is local for the PSO.
y coordinates of nodes
26
22 36 33
31
8
128
39 166
9
13
40
6 1 11
The red square box denotes the sink node position and blue
hexagons are other nodes. These are all active nodes. Only
nodes in this circular area can transfer their data to centre
node. We programmatically sorted all nodes which are in
Step12. Gravitational force is calculated as: range of each node and these path are plotted in figure 3.2
for each node to each other in range node. Out of all available
paths form each node to sink, the best one is chosen on the
basis of number of hops. Least is the number of hops, final is
The formula is described in section 3.1. the path to sink. This final path is shown in figure 3.3. A final
path table for each node to sink node is shown in table 3.3.
2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 1951
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 04 Issue: 07 | July -2017 www.irjet.net p-ISSN: 2395-0072
All possible edges in geographical region of 10*10 1 -> 8 -> 9 10 -> 9 21 -> 9 31 -> 9
11
2 -> 8 -> 9 11 -> 9 22 -> 8 -> 9 32 -> 8 -> 9
10 2
30
37 32
27 15 3 -> 9 12 -> 9 23 -> 9 33 -> 9
34
9 22
26 36 33 4 -> 9 13 -> 9 24 -> 9 34 -> 9
31 5 -> 9 14 -> 9 25 -> 9 35 -> 9
8
6 -> 9 15 -> 9 26 -> 8 -> 9 36 -> 9
y coordinates of nodes
7 8
7 -> 9 16 -> 9 27 -> 8 -> 9 37 -> 8 -> 9
4013
9
12
39
16 6 8 -> 9 17 -> 9 28 -> 9 38 -> 1 -> 8 -
6 1 11
18 -> 9 29 -> 9 >9
20
14
18
5 10
21 3
25 19 -> 9 30 -> 8 -> 9 39 -> 9
4
5
7 29
19
20 -> 9 40 -> 9
4
17
3 35 24
2 23
28 Table 3.3: Finalized path from each node to sink for nodes
38 in figure 3.1
1
1 2 3 4 5 6 7 8 9 10
X coordinates of nodes After optimization the available channel bandwidth of
channels allotted by both optimizations are shown in table
Figure 3.2: all possible edges for each node for nodes in 3.4.
figure 3.1
Available Channel
Final selected path for each node to sink bandwidth
10 2
30
37 27
32 15
34
9 22
26 36 33 PSO-GSA 20 20 20 1 11
31 20
8
GSA 5 8 3 4 3 3
7 8
12
39 4013
9
GA 2.5350 1.9065 1.8111
16 6
6 1 11 0.1582 1.3436
20
14
18 0.8510
5 10
21 3
25
4
5
Table 3.4: Optimized channel bandwidth for available
4 7 29
19
17 channels
3 35 24
Once the paths are selected then the NP hard problem of
2 23
28 optimal allocation of channels is left, which is very important
38 to reduce the power consumption in the network. For this
1 we have used hybrid PSO-GSA optimization which is better
1 2 3 4 5 6 7 8 9 10
than genetic algorithm (GA) and GSA as GA is a local
optimization algorithm which sometime skips local minima
Figure 3.3: Finalized path for each node to sink node points during the search of minimum point whereas GSA is
the global optimization algorithm which checks every point
Once the paths are selected then the NP hard problem of in search of global minima. The PSO-GSA combination uses
optimal allocation of channels is left, which is very important the strength of both local and global optimization algorithm
to reduce the power consumption in the network. For this because PSO is also a local search algorithm.
we have used hybrid PSO-GSA optimization which is better
than genetic algorithm (GA) and GSA as GA is a local The comparison of total transmitted power and path loss
optimization algorithm which sometime skips local minima component is shown in table 3.5. and results are verified for
points during the search of minimum point whereas GSA is different number of nodes and tabulated in 3.5.
the global optimization algorithm which checks every point
in search of global minima.
2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 1952
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 04 Issue: 07 | July -2017 www.irjet.net p-ISSN: 2395-0072
4.Conclusion
Table 3.5: output parameters comparison for different number of active nodes
Active 9 20 30 40
nodes
GA GSA PSO- GA GSA PSO- GA GSA PSO- GA GSA PSO-
GSA GSA GSA GSA
Path 238.828 103.4 841.883 674.01 481. 1.3580e 1.053 529.5 2.251 1.601 788.3
Loss 8 126.9 392 3 49 8833 +03 2e+03 278 0e+0 3e+03 626
Compo 936 3
nent in
dB
Total 2.7049e 2.708 3.098 1.4852e 3.7573 1.54 1.2062e 1.254 1.254 2.903 2.508 2.903
Trans +41 7e+1 9e+13 +65 e+35 66e+ +31 9e+67 9e+2 1e+6 1e+40 1e+2
mitted 4 25 7 4 4
Power
in mW
2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 1953
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 04 Issue: 07 | July -2017 www.irjet.net p-ISSN: 2395-0072
2017, IRJET | Impact Factor value: 5.181 | ISO 9001:2008 Certified Journal | Page 1954