SlideShare a Scribd company logo
International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.5, September 2014 
A PROPOSAL FOR IMPROVE THE LIFE-TIME 
OF WIRELESS SENSOR NETWORK 
Tran Cong Hung1 and Nguyen Hong Quan2 
1Post & Telecommunications Institute of Technology, Vietnam 
2University of Science, Ho Chi Minh City, Vietnam 
ABSTRACT 
In the Wireless Sensor Network (WSN), sensor nodes are connected together through radio frequency (RF). 
Routing protocol is used to transmit data among sensor nodes. In the paper, we proposed a new routing 
protocol based on LEACH protocol. This is energy-efficient clustering algorithm. The proposed protocol 
enlarges WSN life-time by considering remaining energy and distance from nodes to BS in the election of 
cluster head. Comparing the result simulation between LEACH and proposed protocol showed that 
proposed protocol will prolong the network life-time. 
KEYWORD 
LEACH, Energy efficient, WSN. 
1. INTRODUCTION 
The development of sensor technology allows the procedure sensor to produce large quantities 
and reasonable price. Sensors are in charge of sensing the environment for the specific 
application. The sensor nodes are connected together via radio communication that are called 
wireless sensor network. Wireless sensor networks have been applied in military and civilian 
fields. WSN is classified as ad-hoc network, however the routing protocols used in WSN having 
many differences to traditional ad-hoc networks in which the most important issue is network 
energy consumption. the routing protocols used in WSN focus on how to increase the life-time of 
the entire network rather than looking for the shortest route, reducing time-delay or optimizing 
bandwidth as in the traditional network protocol such as mobile ad-hoc networks or cellular 
networks. In addition, the deployment of a large number of sensor nodes makes topology 
construction basing on IP protocols difficult to deploy in WSN. 
Because there are many differences, there are many of WSN routing algorithms proposed to solve 
this problem. The routing methods depend on the characteristics of sensor nodes, application 
requirements and deployed environment of WSN. 
In this paper, we propose a new routing protocol basing on LEACH protocol for wireless sensor 
networks to extend the lifetime of wireless sensor networks in terms of BS placed in the sensor 
area. 
The remainder of the paper is organized as follows. In Section 2, we briefly review related work. 
Section 3 describes the proposed protocol. Section 4 presents the detail of result simulation and 
compares with LEACH protocol. Finally, Section 5 gives conclusion and future work. 
DOI : 10.5121/ijcnc.2014.6504 59
International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.5, September 2014 
60 
2. RELATED WORK 
Hierarchical routing protocol or cluster-based routing, they will divide WSN into smaller area 
sections called clusters, this division enlarge network scalability and uses energy efficiently in 
entire network. 
The main idea of the hierarchical routing protocols is that the nodes only communicate with their 
Cluster Head (CH), each cluster has a Cluster Head. CHs are responsible for receiving data from 
the nodes in clusters, synthesizing data before transferring their data to base station (BS). 
Low-Energy Adaptive Clustering Hierarchy (LEACH) [1] is the first protocol in the cluster 
routing, a lot of clustering protocols basing on them. LEACH will divide action into many rounds. 
Each round consists two main phases: clustering phase and stable phase. There are two small 
phases in the clustering phase: election clusters head and the clustering. The election of the 
LEACH cluster Head is random. At the beginning of each round, the nodes will generate a 
random number between 0 and 1, the random numbers will compare with the threshold T (n). If 
that number is less than T (n), that nodes will be CH in the current round. 
T(n) = 1 
1 * ( m o d ) 
0 
p 
p r 
p 
 
−  
if nÎG 
After electing CH, the CHs will broadcast messages into the entire network, the nodes base on the 
received signal strength indicator (RSSI) to decide to join their CH, and this is the principle of 
the clusters in LEACH. 
After the clustering phase is stable phase. In this phase, the nodes in the same cluster will transfer 
the data to CH, the CH will create TDMA schedule and broadcast to the nodes in the cluster, 
TDMA schedule are created by the cluster head which will define time to transfer data for nodes, 
the normal nodes base on TDMA schedule knowing their transmission time. At that time, this 
nodes will transfer the data to its CH, if the normal nodes are not in transfering time, they will be 
on sleep mode to save energy. After receiving data from the normal node in cluster, the CHs 
synthesize all the data and send the aggregated data to the BS through a single hop transmit 
methods. 
This cluster will reduce the data transmitted directly to the BS. In addition, the use of Time 
Division Multiple Access (TDMA) frame for data transmission from the node to the CH will 
avoid a collision between the nodes in the cluster to all data. 
However, random election also has many limitations, including the biggest drawbacks is the 
random vote will make the high-energy nodes have the same probability of becoming cluster all 
nodes have the same power low volume. 
The CHs functions have sensing such normal nodes in addition, receive data from the nodes in the 
cluster, aggregate and transmit data to the BS data so all clusters consumes more energy than 
nodes generally, if a low-energy node becomes cluster will lead to all these buttons will consume 
more energy, while the low-energy node will quickly stop working load imbalance of the whole 
network.
International Journal of Computer Networks  Communications (IJCNC) Vol.6, No.5, September 2014 
However, random election also has many limitations. The biggest drawbacks is the random 
election making the high-energy nodes have the same probability of becoming cluster as low-energy 
61 
nodes. 
The CHs functions have sensing as normal nodes. In addition, CHs also receive data from the 
nodes in the cluster, aggregate data and transmit data to the BS, so that CH consumes more 
energy than normal node. If low-energy nodes becomes CH, it will consume more energy at the 
result, the low-energy nodes will quickly stop working. 
Moreover, single-hop transition methods used in LEACH make CHs in a far distance from BS 
consume more energy than CHs close to BS so that CHs far from BS die quickly. 
To solve this problem, many protocols have been proposed which have two main ways: 
optimizing the election CHs by considering nodes energy issues in the optimal threshold T (n) 
and transmitting data to the BS through multi-hop communication methods. 
Figure 1. Transmit data in LEACH. 
The multi-hop communication method proposed in M-LEACH protocol (multi-hop LEACH) 
protocol is the most popular protocol. The main idea of this protocol is that the farther CHs will 
transmit their data to the CHs which are closer to BS. The near CHs are in task of forwarding far 
CHs’ data to BS. 
Multi-hops communication protocol [2] has been proven to consume less energy than single-hop 
communication in large networks.
International Journal of Computer Networks  Communications (IJCNC) Vol.6, No.5, September 2014 
62 
Figure 2. Transmit data in Multi-hop LEACH. 
Other way to enlarge the lifetime network based on clustering algorithm is that nodes’ energy 
considering, in which the most considered coefficients are CHs election based on the nodes’ 
energy remain. DCHS protocol [3] is developed basing on LEACH algorithm, it elects CHs based 
on nodes’ energy. At that time, threshold T(n)new are defined: 
Where: En_current is remaining energy of nodes; En_max is initial energy of the node. 
The election of CHs bases on nodes’ remaining energy which is more efficient. The probability of 
high-energy nodes become CHs is higher than the low-energy node. 
In addition, all of the elected Cluster Head, DCHS and LEACH does not consider the distance 
problem, the protocol proposed in the paper method will increase the lifetime of the network 
based on the selection of clusters based on all the remaining energy and spacing of the buttons is 
described in the next section. 
3. THE PROPOSED PROTOCOL 
As same as LEACH protocol, the proposed protocol operates into rounds. Each round includes 
two phases: clustering phase and data transmission phase. In clustering phase, the CH election is 
based on two factors: the remaining energy of nodes and the distance from the node to the BS. 
At the beginning of each round, the sensor nodes will generate a random number in the range (0, 
1), this value is compared with the threshold T (n). Before calculating the threshold T (n) we 
define d (i) = 2 2 ( ) ( ) i BS i BS X − X + Y −Y . 
Where d (i) is the distance from node i to BS; n is the total number of nodes in sensor networks; 
(Xi, Yi) are the coordinates i node in the network; (XBS, YBS) is of BS coordinates; E (i) is the
International Journal of Computer Networks  Communications (IJCNC) Vol.6, No.5, September 2014 
residual energy of the nodes in the round r; then the threshold T (n) will be calculated according 
to the expression: 
63 
T(n) = 
(i) 
* 
1 (i) 
1 * ( mod ) 
0 
p E 
d 
p r 
p 
 
−  
if nÎG 
With G is the set of nodes which have not become CH in the previous round; p is desired 
percentage per the total number which want to be CHs. As normal, p in the range of 0.05-0.1; r is 
the current round. 
If the random value of the node is smaller than threshold T (n), it becomes CH in the next round. 
The using of remaining energy parameters of nodes will increase the probability of becoming 
CHs of high-energy nodes, corresponding to basing on the nodes’ distance to BS to make the near 
nodes from BS have higher probability to become CHs than nodes far nodes from BS. 
After the election of CH, the CHs sends their location information to the BS, and it will broadcast 
the INVITE message to entire network. This message has the same signal strength. The normal 
nodes receive this message and then if they want to join this cluster, they will reply ACCEPT 
message. If a node receives multiple INVITE messages, it depends on the signal strength of the 
INVITE message, after that it will decide to join in higher signal strong cluster. 
If the CH does not receive any ACCEPT messages, it will resend the INVITE message again. If it 
still not receive ACCEPT message, it will send data to BS directly without creating TDMA 
schedule. 
After the clustering phase, nodes are transmit their data, the transmission of data via two main 
steps, transmit data from nodes to CHs and transmission data from the CHs to the BS. Data 
during transmission from the node to the CH, CH creates a TDMA table specified timeframe for 
the data transmission node in the cluster then it will promote the TDMA table to the nodes in its 
cluster, the nodes in the cluster based on this table will know it is time to send data to CH, in the 
time remaining idle nodes to save energy, the method uses TDMA transmission allows nodes to 
the cluster data avoid collisions with all other nodes 
4. SIMULATION 
In this section, we used matlab to simulate our proposed protocol. Assuming that there are 100 
nodes randomly deployed in a region of size 100mx100m. BS has coordinates (50,50) are 
deployed in the sensor area. Nodes are fixed, no mobile and determined coordinates. Initial 
energy of the nodes is 0.25J and 0.5J, data packet size is 4000bits. Probability become clusters 
head of network 0.05 or 5%. 
We will use energy model in [1]. 
Otherwise
International Journal of Computer Networks  Communications (IJCNC) Vol.6, No.5, September 2014 
64 
Figure 3. Energy model used in LEACH protocol 
Parameter used in simulation: 
Decription Parameter 
Network size 100m*100m 
Total node (n) 100 
CH’s percentage (p) 0.05 
Coordiner BS (XBS,YBS) (50,50) 
Data Packet (k) 4000 
Energy Init (EO) 0.25 , 0.5, 1 J 
(Eelec) 50nJ/bit 
Emp 0.0013pJ/bit/m4 
Efs 10pJ/bit/m2 
do Efs 
Emp 
= 87m 
Based on the energy model used in [1], we have: 
 2 
+  
, 
, 
kE kE d d d o 
4 
e le c fs 
TX 
e le c m p 
E 
kE kE d d d o 
=  
+ =
International Journal of Computer Networks  Communications (IJCNC) Vol.6, No.5, September 2014 
Where k is the number of transmitted bits, Eelec is the energy consumption to run transmiter or 
receiver. Emp or Efs depend on d0. 
To receive k bits of data of energy consumption ERX is: 
65 
. * RX elec E = k E 
Result for proposed protocol: 
To simulate the effection of routing protocol in WSN, we use [4]: 
- Stability period: It is duration of network operation from start till first node dies 
- Network lifetime: Network lifetime is duration from start till last node is alive 
- Instability period: It is duration of network operation from first node dies till the least 
node dies 
- Packet to BS: It is rate of successful data delivery to BS from CHs 
- 
Table 1. Comparision LEACH protocol and Proposed protocol with Eo = 0.25J 
Protocol Stability period Network lifetime Instability period 
LEACH 445 700 255 
Proposed 
protocol 
690 1229 539 
Figure 4. Compare network life-time between LEACH and Proposed Protocol (Eo = 0.25J)
International Journal of Computer Networks  Communications (IJCNC) Vol.6, No.5, September 2014 
66 
Figure 5. Data to BS between LEACH and proposed protocol (Eo = 0.25J) 
Figure 6. Data to CH between LEACH and proposed protocol (Eo = 0.25J) 
Table 2. Comparision LEACH protocol and Proposed protocol with Eo = 0.5J 
Protocol Stability period Network lifetime Instability period 
LEACH 861 1289 428 
Proposed 
protocol 
1126 2294 1168
International Journal of Computer Networks  Communications (IJCNC) Vol.6, No.5, September 2014 
67 
Figure 7. Compare network life-time between LEACH and Proposed protocol (Eo = 0.5J) 
Figure 8. Data to BS between LEACH and proposed protocol (Eo = 0.5J)
International Journal of Computer Networks  Communications (IJCNC) Vol.6, No.5, September 2014 
68 
Figure 9. Data to CH between LEACH and proposed protocol (Eo = 0.5J) 
The result of simutaion show that, proposed protocol increed network life-time up 75% compared 
with LEACH protocol. 
To evaluate the effect of the proposed protocol, we use some following parameter to measure 
simulation results. Those are 10% Node Dead (TND), Haft Node Dead (HND) and Full Nodes 
Dead (FND). 
Table 3. Compare TND, HND and FND between LEACH and Proposed protocol with Eo = 0.25J 
Parameter 10% 
dead 
50% 
dead 
100% 
Dead 
LEACH 492 561 700 
Proposed 
protocol 
764 946 1229 
According to the simulation results, the initial energy is 0.25J. In compare with LEACH protocol, 
proposed protocol increases TDN by 55%, HND by 68% and FDN by 75%. 
Table 4. Compare TND, HND and FND between LEACH and Proposed protocol with Eo = 0.5J 
Parameter 10% 
dead 
50% 
dead 
100% 
Dead 
LEACH 965 1111 1289 
Proposed 
protocol 
1254 1603 2294
International Journal of Computer Networks  Communications (IJCNC) Vol.6, No.5, September 2014 
With initial energy Eo = 0.5J, the proposed protocol can make network lifetime increase, 
respectively 30%, 44% and 78%. We see that the proposed protocols perform better than LEACH 
protocol. 
69 
5. CONCLUSION AND FUTURE WORK 
The use of energy efficiently in sensor nodes is the most important issue in wireless sensor 
network in which the routing between the sensor nodes are considered as the most important one. 
In this paper, we proposed a new routing protocol in order to enlarge the life-time of sensor 
networks. This protocol developed from LEACH protocol by considering energy and distance of 
nodes in WSN in CHs election. 
However, this protocol is only applied in the case of BS in the sensor area. But with BS is far 
from sensor area, we can not apply this protocol. In the future, we will study the energy 
distribution of node in the case BS is far from the sensor area to improve the lifetime of the whole 
network. 
REFERENCES 
[1] W. Heinzelman, A. Chandrakasan, and H. Balakrishnan, ”Energy-efficient routing protocols for 
wireless microsensor networks,” in Proc. 33rd Hawaii Int. Conf. SystemSciences(HICSS), Maui, 
HI,Jan. 2000. 
[2] Sarayoot Tanessakulwattana, Chotipat Pornavalai, Goutam Chakraborty. Adaptive Multi-hop 
Routing for Wireless Sensor Networks, 10th International Joint Conference on Computer Science 
and Software Engineering (JCSSE), pp 105-110, 2013. 
[3] Handy M, Haase M, Timmermann D., “Low Energy Adaptive Clustering Hierarchy with 
Deterministic Cluster-Head Selection,” In: Proc. Of the 4th IEEE Conf. on Mobile and Wireless 
Communications Networks, pp. 368-372, 2002. 
[4] Tauseef Shah, Nadeem Javaid, Talha Naeem Qureshi, “Energy Efficient Sleep Awake Aware 
(EESAA) Intelligent Sensor Network Routing Protocol”, 15th IEEE International Multi Topic 
Conference (INMIC’12), Pakistan, 2012. 
Authors 
TRAN CONG HUNG was born in Vietnam in 1961 
He received the B.E in electronic and Telecommunication engineering with first class 
honors from HOCHIMINH University of technology in Vietnam, 1987.He received the 
B.E in informatics and computer engineering from HOCHIMINH University of 
technology in Vietnam, 1995.He received the master of engineering degree in 
telecommunications engineering course from postgraduate department Hanoi University 
of technology in Vietnam, 1998.He received Ph.D at Hanoi University of technology in 
Vietnam, 2004. His main research areas are B – ISDN performance parameters and 
measuring methods, QoS in high speed networks, MPLS. He is, currently, Associate Professor PhD. of 
Faculty of Information Technology II, Posts and Telecoms Institute of Technology in HOCHIMINH, 
Vietnam. 
Nguyen Hong Quan was born in Vietnam in 1989 
Obtained BE in Electronic and Telecommunication from University of Sciences, 
Vietnam, 2011.Will receive Master degree in University of Sciences, 2014 major in 
Electronic and Telecommunication.He is, currently, Engineer of TMA Solution.

More Related Content

A PROPOSAL FOR IMPROVE THE LIFETIME OF WIRELESS SENSOR NETWORK

  • 1. International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.5, September 2014 A PROPOSAL FOR IMPROVE THE LIFE-TIME OF WIRELESS SENSOR NETWORK Tran Cong Hung1 and Nguyen Hong Quan2 1Post & Telecommunications Institute of Technology, Vietnam 2University of Science, Ho Chi Minh City, Vietnam ABSTRACT In the Wireless Sensor Network (WSN), sensor nodes are connected together through radio frequency (RF). Routing protocol is used to transmit data among sensor nodes. In the paper, we proposed a new routing protocol based on LEACH protocol. This is energy-efficient clustering algorithm. The proposed protocol enlarges WSN life-time by considering remaining energy and distance from nodes to BS in the election of cluster head. Comparing the result simulation between LEACH and proposed protocol showed that proposed protocol will prolong the network life-time. KEYWORD LEACH, Energy efficient, WSN. 1. INTRODUCTION The development of sensor technology allows the procedure sensor to produce large quantities and reasonable price. Sensors are in charge of sensing the environment for the specific application. The sensor nodes are connected together via radio communication that are called wireless sensor network. Wireless sensor networks have been applied in military and civilian fields. WSN is classified as ad-hoc network, however the routing protocols used in WSN having many differences to traditional ad-hoc networks in which the most important issue is network energy consumption. the routing protocols used in WSN focus on how to increase the life-time of the entire network rather than looking for the shortest route, reducing time-delay or optimizing bandwidth as in the traditional network protocol such as mobile ad-hoc networks or cellular networks. In addition, the deployment of a large number of sensor nodes makes topology construction basing on IP protocols difficult to deploy in WSN. Because there are many differences, there are many of WSN routing algorithms proposed to solve this problem. The routing methods depend on the characteristics of sensor nodes, application requirements and deployed environment of WSN. In this paper, we propose a new routing protocol basing on LEACH protocol for wireless sensor networks to extend the lifetime of wireless sensor networks in terms of BS placed in the sensor area. The remainder of the paper is organized as follows. In Section 2, we briefly review related work. Section 3 describes the proposed protocol. Section 4 presents the detail of result simulation and compares with LEACH protocol. Finally, Section 5 gives conclusion and future work. DOI : 10.5121/ijcnc.2014.6504 59
  • 2. International Journal of Computer Networks & Communications (IJCNC) Vol.6, No.5, September 2014 60 2. RELATED WORK Hierarchical routing protocol or cluster-based routing, they will divide WSN into smaller area sections called clusters, this division enlarge network scalability and uses energy efficiently in entire network. The main idea of the hierarchical routing protocols is that the nodes only communicate with their Cluster Head (CH), each cluster has a Cluster Head. CHs are responsible for receiving data from the nodes in clusters, synthesizing data before transferring their data to base station (BS). Low-Energy Adaptive Clustering Hierarchy (LEACH) [1] is the first protocol in the cluster routing, a lot of clustering protocols basing on them. LEACH will divide action into many rounds. Each round consists two main phases: clustering phase and stable phase. There are two small phases in the clustering phase: election clusters head and the clustering. The election of the LEACH cluster Head is random. At the beginning of each round, the nodes will generate a random number between 0 and 1, the random numbers will compare with the threshold T (n). If that number is less than T (n), that nodes will be CH in the current round. T(n) = 1 1 * ( m o d ) 0 p p r p − if nÎG After electing CH, the CHs will broadcast messages into the entire network, the nodes base on the received signal strength indicator (RSSI) to decide to join their CH, and this is the principle of the clusters in LEACH. After the clustering phase is stable phase. In this phase, the nodes in the same cluster will transfer the data to CH, the CH will create TDMA schedule and broadcast to the nodes in the cluster, TDMA schedule are created by the cluster head which will define time to transfer data for nodes, the normal nodes base on TDMA schedule knowing their transmission time. At that time, this nodes will transfer the data to its CH, if the normal nodes are not in transfering time, they will be on sleep mode to save energy. After receiving data from the normal node in cluster, the CHs synthesize all the data and send the aggregated data to the BS through a single hop transmit methods. This cluster will reduce the data transmitted directly to the BS. In addition, the use of Time Division Multiple Access (TDMA) frame for data transmission from the node to the CH will avoid a collision between the nodes in the cluster to all data. However, random election also has many limitations, including the biggest drawbacks is the random vote will make the high-energy nodes have the same probability of becoming cluster all nodes have the same power low volume. The CHs functions have sensing such normal nodes in addition, receive data from the nodes in the cluster, aggregate and transmit data to the BS data so all clusters consumes more energy than nodes generally, if a low-energy node becomes cluster will lead to all these buttons will consume more energy, while the low-energy node will quickly stop working load imbalance of the whole network.
  • 3. International Journal of Computer Networks Communications (IJCNC) Vol.6, No.5, September 2014 However, random election also has many limitations. The biggest drawbacks is the random election making the high-energy nodes have the same probability of becoming cluster as low-energy 61 nodes. The CHs functions have sensing as normal nodes. In addition, CHs also receive data from the nodes in the cluster, aggregate data and transmit data to the BS, so that CH consumes more energy than normal node. If low-energy nodes becomes CH, it will consume more energy at the result, the low-energy nodes will quickly stop working. Moreover, single-hop transition methods used in LEACH make CHs in a far distance from BS consume more energy than CHs close to BS so that CHs far from BS die quickly. To solve this problem, many protocols have been proposed which have two main ways: optimizing the election CHs by considering nodes energy issues in the optimal threshold T (n) and transmitting data to the BS through multi-hop communication methods. Figure 1. Transmit data in LEACH. The multi-hop communication method proposed in M-LEACH protocol (multi-hop LEACH) protocol is the most popular protocol. The main idea of this protocol is that the farther CHs will transmit their data to the CHs which are closer to BS. The near CHs are in task of forwarding far CHs’ data to BS. Multi-hops communication protocol [2] has been proven to consume less energy than single-hop communication in large networks.
  • 4. International Journal of Computer Networks Communications (IJCNC) Vol.6, No.5, September 2014 62 Figure 2. Transmit data in Multi-hop LEACH. Other way to enlarge the lifetime network based on clustering algorithm is that nodes’ energy considering, in which the most considered coefficients are CHs election based on the nodes’ energy remain. DCHS protocol [3] is developed basing on LEACH algorithm, it elects CHs based on nodes’ energy. At that time, threshold T(n)new are defined: Where: En_current is remaining energy of nodes; En_max is initial energy of the node. The election of CHs bases on nodes’ remaining energy which is more efficient. The probability of high-energy nodes become CHs is higher than the low-energy node. In addition, all of the elected Cluster Head, DCHS and LEACH does not consider the distance problem, the protocol proposed in the paper method will increase the lifetime of the network based on the selection of clusters based on all the remaining energy and spacing of the buttons is described in the next section. 3. THE PROPOSED PROTOCOL As same as LEACH protocol, the proposed protocol operates into rounds. Each round includes two phases: clustering phase and data transmission phase. In clustering phase, the CH election is based on two factors: the remaining energy of nodes and the distance from the node to the BS. At the beginning of each round, the sensor nodes will generate a random number in the range (0, 1), this value is compared with the threshold T (n). Before calculating the threshold T (n) we define d (i) = 2 2 ( ) ( ) i BS i BS X − X + Y −Y . Where d (i) is the distance from node i to BS; n is the total number of nodes in sensor networks; (Xi, Yi) are the coordinates i node in the network; (XBS, YBS) is of BS coordinates; E (i) is the
  • 5. International Journal of Computer Networks Communications (IJCNC) Vol.6, No.5, September 2014 residual energy of the nodes in the round r; then the threshold T (n) will be calculated according to the expression: 63 T(n) = (i) * 1 (i) 1 * ( mod ) 0 p E d p r p − if nÎG With G is the set of nodes which have not become CH in the previous round; p is desired percentage per the total number which want to be CHs. As normal, p in the range of 0.05-0.1; r is the current round. If the random value of the node is smaller than threshold T (n), it becomes CH in the next round. The using of remaining energy parameters of nodes will increase the probability of becoming CHs of high-energy nodes, corresponding to basing on the nodes’ distance to BS to make the near nodes from BS have higher probability to become CHs than nodes far nodes from BS. After the election of CH, the CHs sends their location information to the BS, and it will broadcast the INVITE message to entire network. This message has the same signal strength. The normal nodes receive this message and then if they want to join this cluster, they will reply ACCEPT message. If a node receives multiple INVITE messages, it depends on the signal strength of the INVITE message, after that it will decide to join in higher signal strong cluster. If the CH does not receive any ACCEPT messages, it will resend the INVITE message again. If it still not receive ACCEPT message, it will send data to BS directly without creating TDMA schedule. After the clustering phase, nodes are transmit their data, the transmission of data via two main steps, transmit data from nodes to CHs and transmission data from the CHs to the BS. Data during transmission from the node to the CH, CH creates a TDMA table specified timeframe for the data transmission node in the cluster then it will promote the TDMA table to the nodes in its cluster, the nodes in the cluster based on this table will know it is time to send data to CH, in the time remaining idle nodes to save energy, the method uses TDMA transmission allows nodes to the cluster data avoid collisions with all other nodes 4. SIMULATION In this section, we used matlab to simulate our proposed protocol. Assuming that there are 100 nodes randomly deployed in a region of size 100mx100m. BS has coordinates (50,50) are deployed in the sensor area. Nodes are fixed, no mobile and determined coordinates. Initial energy of the nodes is 0.25J and 0.5J, data packet size is 4000bits. Probability become clusters head of network 0.05 or 5%. We will use energy model in [1]. Otherwise
  • 6. International Journal of Computer Networks Communications (IJCNC) Vol.6, No.5, September 2014 64 Figure 3. Energy model used in LEACH protocol Parameter used in simulation: Decription Parameter Network size 100m*100m Total node (n) 100 CH’s percentage (p) 0.05 Coordiner BS (XBS,YBS) (50,50) Data Packet (k) 4000 Energy Init (EO) 0.25 , 0.5, 1 J (Eelec) 50nJ/bit Emp 0.0013pJ/bit/m4 Efs 10pJ/bit/m2 do Efs Emp = 87m Based on the energy model used in [1], we have: 2 + , , kE kE d d d o 4 e le c fs TX e le c m p E kE kE d d d o = + =
  • 7. International Journal of Computer Networks Communications (IJCNC) Vol.6, No.5, September 2014 Where k is the number of transmitted bits, Eelec is the energy consumption to run transmiter or receiver. Emp or Efs depend on d0. To receive k bits of data of energy consumption ERX is: 65 . * RX elec E = k E Result for proposed protocol: To simulate the effection of routing protocol in WSN, we use [4]: - Stability period: It is duration of network operation from start till first node dies - Network lifetime: Network lifetime is duration from start till last node is alive - Instability period: It is duration of network operation from first node dies till the least node dies - Packet to BS: It is rate of successful data delivery to BS from CHs - Table 1. Comparision LEACH protocol and Proposed protocol with Eo = 0.25J Protocol Stability period Network lifetime Instability period LEACH 445 700 255 Proposed protocol 690 1229 539 Figure 4. Compare network life-time between LEACH and Proposed Protocol (Eo = 0.25J)
  • 8. International Journal of Computer Networks Communications (IJCNC) Vol.6, No.5, September 2014 66 Figure 5. Data to BS between LEACH and proposed protocol (Eo = 0.25J) Figure 6. Data to CH between LEACH and proposed protocol (Eo = 0.25J) Table 2. Comparision LEACH protocol and Proposed protocol with Eo = 0.5J Protocol Stability period Network lifetime Instability period LEACH 861 1289 428 Proposed protocol 1126 2294 1168
  • 9. International Journal of Computer Networks Communications (IJCNC) Vol.6, No.5, September 2014 67 Figure 7. Compare network life-time between LEACH and Proposed protocol (Eo = 0.5J) Figure 8. Data to BS between LEACH and proposed protocol (Eo = 0.5J)
  • 10. International Journal of Computer Networks Communications (IJCNC) Vol.6, No.5, September 2014 68 Figure 9. Data to CH between LEACH and proposed protocol (Eo = 0.5J) The result of simutaion show that, proposed protocol increed network life-time up 75% compared with LEACH protocol. To evaluate the effect of the proposed protocol, we use some following parameter to measure simulation results. Those are 10% Node Dead (TND), Haft Node Dead (HND) and Full Nodes Dead (FND). Table 3. Compare TND, HND and FND between LEACH and Proposed protocol with Eo = 0.25J Parameter 10% dead 50% dead 100% Dead LEACH 492 561 700 Proposed protocol 764 946 1229 According to the simulation results, the initial energy is 0.25J. In compare with LEACH protocol, proposed protocol increases TDN by 55%, HND by 68% and FDN by 75%. Table 4. Compare TND, HND and FND between LEACH and Proposed protocol with Eo = 0.5J Parameter 10% dead 50% dead 100% Dead LEACH 965 1111 1289 Proposed protocol 1254 1603 2294
  • 11. International Journal of Computer Networks Communications (IJCNC) Vol.6, No.5, September 2014 With initial energy Eo = 0.5J, the proposed protocol can make network lifetime increase, respectively 30%, 44% and 78%. We see that the proposed protocols perform better than LEACH protocol. 69 5. CONCLUSION AND FUTURE WORK The use of energy efficiently in sensor nodes is the most important issue in wireless sensor network in which the routing between the sensor nodes are considered as the most important one. In this paper, we proposed a new routing protocol in order to enlarge the life-time of sensor networks. This protocol developed from LEACH protocol by considering energy and distance of nodes in WSN in CHs election. However, this protocol is only applied in the case of BS in the sensor area. But with BS is far from sensor area, we can not apply this protocol. In the future, we will study the energy distribution of node in the case BS is far from the sensor area to improve the lifetime of the whole network. REFERENCES [1] W. Heinzelman, A. Chandrakasan, and H. Balakrishnan, ”Energy-efficient routing protocols for wireless microsensor networks,” in Proc. 33rd Hawaii Int. Conf. SystemSciences(HICSS), Maui, HI,Jan. 2000. [2] Sarayoot Tanessakulwattana, Chotipat Pornavalai, Goutam Chakraborty. Adaptive Multi-hop Routing for Wireless Sensor Networks, 10th International Joint Conference on Computer Science and Software Engineering (JCSSE), pp 105-110, 2013. [3] Handy M, Haase M, Timmermann D., “Low Energy Adaptive Clustering Hierarchy with Deterministic Cluster-Head Selection,” In: Proc. Of the 4th IEEE Conf. on Mobile and Wireless Communications Networks, pp. 368-372, 2002. [4] Tauseef Shah, Nadeem Javaid, Talha Naeem Qureshi, “Energy Efficient Sleep Awake Aware (EESAA) Intelligent Sensor Network Routing Protocol”, 15th IEEE International Multi Topic Conference (INMIC’12), Pakistan, 2012. Authors TRAN CONG HUNG was born in Vietnam in 1961 He received the B.E in electronic and Telecommunication engineering with first class honors from HOCHIMINH University of technology in Vietnam, 1987.He received the B.E in informatics and computer engineering from HOCHIMINH University of technology in Vietnam, 1995.He received the master of engineering degree in telecommunications engineering course from postgraduate department Hanoi University of technology in Vietnam, 1998.He received Ph.D at Hanoi University of technology in Vietnam, 2004. His main research areas are B – ISDN performance parameters and measuring methods, QoS in high speed networks, MPLS. He is, currently, Associate Professor PhD. of Faculty of Information Technology II, Posts and Telecoms Institute of Technology in HOCHIMINH, Vietnam. Nguyen Hong Quan was born in Vietnam in 1989 Obtained BE in Electronic and Telecommunication from University of Sciences, Vietnam, 2011.Will receive Master degree in University of Sciences, 2014 major in Electronic and Telecommunication.He is, currently, Engineer of TMA Solution.