Académique Documents
Professionnel Documents
Culture Documents
5.1 Introduction
This chapter will explain and discuss the simulation results to evaluate the performance
of the LEACH and LEACH-C protocols following the methodology which is
introduced previously. Both protocols are applied on the same network, then by
comparing the results of both simulation cases, the LEACH-C will be approved as an
evolutional technique of the LEACH protocol, the comparison is based on the node
lifetime by counting the number of alive and dead nodes and average energy dissipated,
the calculations are implemented for allover rounds and in each round.
Sink
Fig. 5.2: the network layout at the CH creation for first time
Also as shown in Fig. 5.3 the program will display more details about the
clusters by estimation of their breeders and the nodes associated in each
cluster.
Fig. 5.3: the clusters and the associated nodes
The number of cluster heads will be counted for first iteration, in this
time the cluster head start communication with the base station.
Assuming that Initially there are no dead nodes, dead advanced nodes,
and dead normal nodes, therefore their counters are reset to zero.
Dead Node
0.15
0.145
0.14
Average Energy of Each Node
0.135
0.13
0.125
0.12
0.115
0.11
0 5 10 15 20 25
Round Number
Fig. 5.8: Average Energy of Each Node for the first 25 rounds
0.16
0.15
0.14
Average Energy of Each Node
0.13
0.12
0.11
0.1
0.09
0.08
0 5 10 15 20 25 30 35 40 45 50
Round Number
Fig. 5.9: Average Energy of Each Node for the first 50 rounds
0.16
0.14
Average Energy of Each Node
0.12
0.1
0.08
0.06
0.04
0 10 20 30 40 50 60 70 80
Round Number
Fig. 5.10: Average Energy of Each Node for the first 75 rounds
0.16
0.14
Average Energy of Each Node
0.12
0.1
0.08
0.06
0.04
0.02
0 10 20 30 40 50 60 70 80 90 100
Round Number
Fig. 5.11: Average Energy of Each Node for all 100 rounds
The dead node counters will be recalled and plotted with the correspondent
round, Fig.s 5.12 5.15 show the relationships between the number of
dead nodes and round number at different intervals of 25, 50, 75, 100 first
rounds.
1
0.8
0.6
0.4
Number of Dead Nodes
0.2
-0.2
-0.4
-0.6
-0.8
-1
0 5 10 15 20 25
Round Number
14
12
10
Number of Dead Nodes
0
0 5 10 15 20 25 30 35 40 45 50
Round Number
40
35
Number of Dead Nodes
30
25
20
15
10
0
0 10 20 30 40 50 60 70 80
Round Number
80
70
60
Number of Dead Nodes
50
40
30
20
10
0
0 10 20 30 40 50 60 70 80 90 100
Round Number
100
90
80
Number of Alive Nodes
70
60
50
40
30
20
10
0 10 20 30 40 50 60 70 80 90 100
Round Number
Tables 5.1, 5.2 shows the number dead nodes, normal dead nodes,
advanced dead nodes, number of cluster heads, number of packets
sent to cluster heads, and average energy
Tables 5.1: The number of dead nodes, normal dead nodes, and
advanced dead nodes at selected rounds
Tables 5.3 shows the total number alive nodes, dead nodes, the round
where first node dies, and the total average energy
Tables 5.3: The total number alive nodes, dead nodes, the round
where first node dies, and the total average energy
100
90
80
70
60
50
40
30
20
10
0
0 10 20 30 40 50 60 70 80 90 100
Similarly in LEACH case LEACH-C program uses the same energy model
where the distance and average dissipated energy calculations are
described in step 6 of simulation methodology. The value of the consumed
energy will be compared with the energy threshold to determine if the
nodes energy is below the threshold this node is considered as dead node
and no longer used in the next round.
At the round end there are counters to estimate the number of cluster heads
and if occurred alive and dead nodes. The next iteration round will update
the energy values and statutes as result of the last round, therefore the
number of cluster heads and dissipated energy are varied for each round.
After a number of iterations as the nodes energy is decreased to become
less threshold the nodes will die and the round where the first node dies is
determined. Fig.s 5.17- 5-22 shows the network statues for selected
number of rounds, noticing that the program can display the results for each
round indicating the round number.
Iteration #15/100
100
90
80
70
60
50
40
30
20
10
0
10 20 30 40 50 60 70 80 90 100
90
80
70
60
50
40
30
20
10
0
10 20 30 40 50 60 70 80 90 100
Dead Node
90
80
70
60
50
40
30
20
10
0
10 20 30 40 50 60 70 80 90 100
90
80
70
60
50
40
30
20
10
0
10 20 30 40 50 60 70 80 90 100
Iteration #80/100
100
90
80
70
60
50
40
30
20
10
0
10 20 30 40 50 60 70 80 90 100
90
80
70
60
50
40
30
20
10
0
10 20 30 40 50 60 70 80 90 100
0.15
0.148
Average Energy of Each Node
0.146
0.144
0.142
0.14
0.138
0.136
0.134
0.132
0 5 10 15 20 25
Round Number (First 25 Rounds)
Fig. 5.23: Average Energy of Each Node for the first 25 rounds
0.15
0.145
Average Energy of Each Node
0.14
0.135
0.13
0.125
0.12
0 5 10 15 20 25 30 35 40 45 50
Round Number (First 50 Rounds)
Fig. 5.24: Average Energy of Each Node for the first 50 rounds
0.155
0.15
0.145
Average Energy of Each Node
0.14
0.135
0.13
0.125
0.12
0.115
0 10 20 30 40 50 60 70 80
Round Number (First 75 Rounds)
Fig. 5.25: Average Energy of Each Node for the first 75 rounds
0.15
0.145
0.14
Average Energy of Each Node
0.135
0.13
0.125
0.12
0.115
0.11
0.105
0 10 20 30 40 50 60 70 80 90 100
Round Number (All 100 Rounds)
Fig. 5.26: Average Energy of Each Node for all 100 rounds
The dead node counters will be recalled and plotted with the correspondent
round, Fig.s 5.27 5.30 show the relationships between the number of
dead nodes and round number at different intervals of 25, 50, 75, 100 first
rounds.
3.5
3
Number of Dead Nodes
2.5
1.5
0.5
0
0 5 10 15 20 25
Round Number (First 25 Rounds)
7
Number of Dead Nodes
0
0 5 10 15 20 25 30 35 40 45 50
Round Number (First 50 Rounds)
18
16
14
Number of Dead Nodes
12
10
0
0 10 20 30 40 50 60 70 80
Round Number (First 75 Rounds)
20
Number of Dead Nodes
15
10
0
0 10 20 30 40 50 60 70 80 90 100
Round Number (All 100 Rounds)
95
Number of Alive Nodes
90
85
80
75
0 10 20 30 40 50 60 70 80 90 100
Round Number (All 100 Rounds)
Tables 5.4, 5.5 shows the number dead nodes, normal dead nodes,
advanced dead nodes, number of cluster heads, number of packets
sent to cluster heads, and average energy
Tables 5.4: The number of dead nodes, normal dead nodes, and
advanced dead nodes at selected rounds
Tables 5.6 shows the total number alive nodes, dead nodes, the round
where first node dies, and the total average energy
Tables 5.6: The total number alive nodes, dead nodes, the round
where first node dies, and the total average energy
0.16
LEACH
LEACH-C
0.14
Average Energy of Each Node
0.12
0.1
0.08
0.06
0.04
0.02
0 10 20 30 40 50 60 70 80 90 100
Round Number (All 100 Rounds)
Fig. 5.32: Average Energy of Each Node for all 100 rounds
90
LEACH
80 LEACH-C
70
Number of Dead Nodes
60
50
40
30
20
10
0
0 10 20 30 40 50 60 70 80 90 100
Round Number (All 100 Rounds)
100
LEACH
90 LEACH-C
80
Number of Alive Nodes
70
60
50
40
30
20
10
0 10 20 30 40 50 60 70 80 90 100
Round Number (All 100 Rounds)
Tables 5.7 shows the total number alive nodes, dead nodes, and the
total average energy for both LEACH and LEACH-C.
Tables 5.7: The total number alive nodes, dead nodes, the round
where first node dies, and the total average energy
Parameter LEACH LEACH-C
alive nodes 17 78
Dead nodes 83 22
Average Energy 0.03954 0.1066
Tables 5.8 shows the in general the performance of both LEACH and
LEACH-C.
Election of CHs CHs are elected rotation CHs are elected by BS w.r.t
wise by the nodes based on nodes energy and
a probabilistic approach distance to BS
No. of CHs(desired) Not-guaranteed Guaranteed
Finally, Fig.s 5.34 5.34 the rate of change in LEACH-C is much less
than LEACH and getting to balanced and steady state and from Table
5.8 the system environment is more suitable if the LEACH protocol is
updated by the LEACH-C.