# Introduction he Wireless Sensor Networks (WSN) [1, 2, and3] is a broadcast network consists of a large number of sensor nodes that are limited in energy, processing power, storage and sensing ability. The WSN based on routing techniques that handles more complex functions. The energy of nodes is the most important consideration among them because the lifetime of Wireless Sensor Networks is limited by the energy of the nodes. Thus, a network of these sensors gives increase to more robust, reliable and accurate network. The WSN is used the two types of networks homogeneous and heterogeneous. The homogeneous mixture is a mixture where the components that make up the mixture are uniformly distributed throughout the mixture. The heterogeneous mixture is a mixture where the components of the mixture are not uniform or have localized regions with different properties, but heterogeneous networks are more efficient than the homogeneous network in WSN. LEACH (Low-Energy Adaptive Clustering Hierarchy) [4] is a clustering-based protocol and one of the first hierarchical routing approaches for sensor networks that utilizes the randomized rotation of local cluster base stations to evenly distribute the energy load Authors ? ? ? : Center for Information technology and Engineering Manonmaniam Sundaranar University Tirunelveli, Tamil Nadu, India. E-mails : divyame@gmail.com, petchiammalmtech17@gmail.com within the network of sensors. In LEACH, the cluster head (CH) nodes reduce the data arriving from nodes that belong to the particular cluster, and send an aggregated data to the base station in order to reduce the amount of information that must be transmitted to the base station. WSN is considered to be a dynamic clustering method. The dynamic is changing the network parameters. We use the concept of heterogeneity and tried to improve the LEACH [5] algorithm. In this approach, cluster head gets the data from nodes of the cluster and aggregate the data before sending it to the base station. In each round cluster head rotates and consumes the same energy, hence it utilizes the uniform energy distribution for the whole network. The LEACH protocol follows the concept of nodes homogeneity, which means that entire nodes have same initial energy. But practically it is visible that the network is not pure homogeneous. The heterogeneity, which means some of the nodes of the sensor network are equipped with additional initial energy, this type of sensor network is called heterogeneous wireless sensor network. This protocol of LEACH does not give good result so we have to provide some modification in the existing protocol. LEACH is a cluster based routing protocol and one of the hierarchical based routing [6] protocols. Hierarchical based routing is to efficiently maintain the energy consumption of sensor nodes and communication between a number of nodes within a particular time and by performing data aggregation and data fusion. Data fusion helps to reduce the amount of data transmitted between sensor nodes and the base station. The new proposed protocol is an energy efficient communication protocol for WSN. The communication takes place between all the cluster members and cluster heads. The cluster heads can perform data aggregation for communicating to the Base Station. The number of transmission is reduced from cluster to base station known as data aggregation. The new protocol can achieve energy efficiency, reduces energy consumption and increasing the number of a live nodes in every round than existing algorithms. # Global Journal of Computer Science and Technology Volume XIII Issue IX Version I ( D D D D D D D D ) The paper is organized as follows: Section II describes the assumptions used for the related work. In Section III describes the design of LEACH protocol and new proposed protocol in detail. The simulation result is discussed in Section IV. Finally conclusions made in Section V. # II. # Related Work WSN involves so many clustering techniques such as LEACH [7,8], EEAP [9], En-LEACH [10], EERR [11], EAPHRN [12], and I-LEACH [13] for balancing the energy consumption, increase the energy efficiency and increase the lifetime of the sensor network. LEACH (Low Energy Adaptive Clustering Hierarchy) [7] is one of the important clusters based structures, in wireless sensor networks. LEACH uses a TDMA technique based MAC protocol, and in order to maintain balanced energy consumption. TDMA (Time Division Multiple Access) is a more flexible scheme which comprises all technologies that allocate certain time slots for particular communication means that the receiver can stay at the same frequency the whole time. LEACH protocol is used to reduce the energy consumption of the network resource in each round. LEACH protocols [8] highly affect the performance of wireless sensor networks by an even distribution of energy load and decreasing their energy consumption and prolonging their lifetime. Thus, designing energy efficient protocols is important for prolonging the lifetime of wireless sensor networks. Leach-Heterogeneous System provides better energy efficiency and increasing the lifetime of the wireless sensor networks than homogeneous networks. Energy-Efficient Adaptive Protocol for Clustered Wireless Sensor Networks (EEAP) [9] is used to increase the lifetime of the sensor networks by balancing the energy consumption of the nodes. EEAP makes the high residual energy node to become a cluster-head. The elector nodes are used to collect the energy information of the neighbor sensor nodes and select the cluster-heads and increase the energy efficiency. In En-LEACH [10], all cluster members are reserved informed about the cluster head, since the probability of breakdowns of cluster-head is high during the data transmission phase. En-LEACH is more effective; producing the information about the nodes are monitoring in an energy-efficient. En-LEACH is able to handle non-uniform energy distribution of sensor nodes which is an important characteristic of a dynamic sensor networks. EERR (Energy Efficient and Reliable Routing protocol) [11] is an extension of leach where the cluster head is called headset. The headset consist the number of nodes and each node will be acting like a cluster head in a particular time interval. Two types of phases. In the election phase the cluster head is selected on a random basis.CH node is an advertising message to all nodes in the network using a CSMA MAC protocol. Each node transmits a unite request message to the CH as an acknowledgment. Using this CH forms a headset. The headset is followed by TDMA schedule and transmits this schedule to the nodes in the cluster. In this data transfer phase, all the non-cluster head nodes will collect the information and transmit it into the headset. Then the headset transmits or sends it into the base station. The next new round all the nodes are taken as a normal node and the process will continue further. EAPHRN (Energy aware PEGASIS based Hierarchical routing protocol) [12] is a hierarchical chain based routing protocol. In EAPHRN, the nodes can select randomly forms a group of possible nodes but within the distance threshold DT. In EAPHRN divided into two phases. In the first phase chain set up, each node must be calculate the local DT (LDT). It is an average distance between the node and the neighboring node in the network. LDT threshold is computed, after that, the node sends to the BS. BS collects all the LDT from the number of nodes and calculated the DT. Then it sends the DT to the number of nodes in the WSN to start forming the chain. Finally, when the chain formed, choosing a chain leader is based on the leader is a closest node to the BS. Once chain leader received the data it aggregates and sends it in to BS. I-LEACH (Improved LEACH) [13] is enhanced from the leach protocol. I-leach solves the problem of node heterogeneity. In I-leach the selection of cluster head is based on the residual energy rather than probability. If the nodes have different initial energy levels instead of uniform initial energy level, they selection of cluster head can be prepared effectively. I-Leach each node will have a CH in their neighborhood. It improves the lifetime of the network. # III. # Protocol Performance a) LEACH Protocol Low-energy adaptive clustering hierarchy (LEACH) is one of the most popular hierarchical routing algorithms for wireless sensor networks. Is protocol architecture for micro sensor networks that combine the ideas of energy-efficient cluster-based routing and media access together with application-specific data aggregation to achieve good performance in terms of system lifetime, latency, and production cost. Calculate the distance by using energy per bit ( ) divide energy per area ( ). ( )1 Volume XIII Issue IX Version I With P is the cluster-head probability, r is the number of the round and G is the set of node. This algorithm ensures that every node becomes a clusterhead exactly once within rounds. Although the randomization of electing cluster head nodes can distribute the load among the network. Cluster heads have changed randomly over time in order to balance the energy dissipation of nodes. This decision is made by the nodes are choosing a randomly the values of each node between 0 and 1. If random < T (n), means the sensor node becomes the cluster-head, otherwise it is a cluster member. # Minimum Distance Find the minimum distance for the election of an associated cluster head for by . In LEACH we need to find the minimum distance in order to send data from the base station to cluster head. (3) If the minimum distance greater than the initial energy (4) In the Eq. ( 4) is the initial energy of each node. The is the transmitted the energy. Length of packet sends the packet between the base stations to the cluster head. Length of packet (pl) sends the packet between the base station to cluster head. (5) Two types of transmitting amplifier, first one and second one . is the energy per bit and is the energy per area. If the minimum distance less than the initial energy (6)(7) b) New Protocol The main aim of the new protocol is the hierarchical routing is to efficiently maintain the energy consumption and increasing the energy efficiency of sensor nodes by performing data aggregation and data fusion in order to decrease the number of transmitted between the cluster head and the base station. All sensor nodes are identical and charged with the same amount of initial energy. The new protocol can achieve energy efficiency, reduces energy consumption and increasing the number of alive nodes in each on every round than existing algorithms. Protocol based dynamic clustering method. Dynamic routing allows routing is to change the possible routes. In case of wireless sensor networks dynamic routing is employed because nodes may frequently change their position and die at any moment. # i. Cluster Head Selection Algorithm In the Eq. ( 8), p is the percentage of cluster heads over all nodes in the network, i.e., the probability (0.05) that a node is selected as a cluster head; r the number of rounds of selection; and G is the set of nodes that are not selected in round 1/p. is the initial energy (0.5 J) divided by the number of nodes and multiply the X is the optimal cluster head number. As we can see here, the selection of cluster heads is totally random. ( ) (8)9 Where X is the optimal cluster head number, n is the total number of sensor nodes, M (10) is the length of nodes distributing fields, (30) is the distance between the nodes and the Base Station. Fig. 1 First select particular node, that node is known as cluster head and joining the number of nodes with cluster head. Number of individual nodes are connected is known as clustering. All clusters are having one cluster head which performs data collection and data fusion. Clustering is the method by which sensor nodes in a network organize themselves into hierarchical structures. Cluster head provides data communication and data aggregation also. It is the number of nodes that sends data to the sink directly after aggregating the data. The minimum distance is called based on Eq. ( 3) Minimum distance from cluster head: (10) In the Eq. ( 4) # Global Journal of Computer ?? ð??"ð??"ð??"ð??" ?? ???? ?? ð??"ð??"ð??"ð??" ?? ???? ?? ?? = ?? ?? ? (?????? * (????)+ ?? ???? * ???? * (?? ?? 2 ) ?? 0 T (n) = ?? ?1??? * ?????? ???,?????????? ? 1 ?? ? ??? ? ? ?? 0 (?? * ??) ? ? X = ? ?? 2 * 22 7 * ?? 0 * ð??"ð??"?????? ? ?? ?? ??ð??"ð??" ? ?? ?? ??ð??"ð??" is the initial energy of each node. The ETX is the transmit energy (5 × ). Two ) are the transmit energy and receive energy, In Eq.11 using the receive energy. Is the length of the packet (6400) are multiplied when the minimum distance greater than zero otherwise using is the length of control packet (200), the initial energy is divided by residual energy. They are using transmit the packet between cluster head to the base station. In Eq. 12 using the receive energy ( ), the receive energy is 5 × and energy per area are multiplied when the minimum distance is greater than distance otherwise using the energy per bit for increase the number of alive nodes in each round. ( )12 IV. # Simulation Result The performance of new protocol was analyzed using MATLAB. The number of rounds(r=10,000) is considered in X axis and the number of alive nodes (n=100) in Y axis. Figure 2 shows the energy efficiency of the LEACH algorithm. Rounds increases from 0 to 10,000. The number of alive nodes was calculated for each round in order to find the energy efficiency of the network. The existing algorithm increasing the number of alive is 20 percentages. Figure 3 shows the energy efficiency of the new algorithm. Rounds increases from 0 to 10,000. The number of alive nodes was calculated for each round in order to find the energy efficiency of the networks. In the new protocol of heterogeneous system is number of alive nodes is increased near to 60% than the leach heterogeneous system and lifetime of the networks also increased. From the comparative analysis of figure 4, we analyze that the number of alive nodes is increasing in newer protocol than LEACH protocol. # Global # Conclusion LEACH protocol is one of the routing protocols based on clustering algorithm to calculate the energy efficiency of the network. A new protocol was proposed based on existing LEACH protocol to save the energy of the network. Energy efficiency was analyzed by calculating the number of alive nodes in the network by considering the number of rounds. The performance analysis using MATLAB shows that the number of alive nodes is increasing in each round than exiting algorithm. Thus the new protocol is suitable to save the energy of the network, increasing the number of alive nodes and energy efficient. ![?? =?(????(??)???(??). ????) 2 +(????(??)???(??).????) 2 ?? ?? = ?? ?? ?(?????? * (??????) + ?? ???? * ?????? * (?? ?? 4 ) ?? ?? ?????? (??????) ?? ?? = ?? ?? ?(?????? * (????) + ?? ???? * ???? * (?? ?? 4 ) ?? ?? = ?? ?? ?(?????? * (??????) +?? ð??"ð??"ð??"ð??" * ?????? * (?? ?? 2 )](image-2.png "") 1![Figure 1 : Communication between all the nodes in Cluster Head and Cluster Head for Base Station](image-3.png "Figure 1 :") © 2013 Global Journals Inc. (US) Global Journal of Computer Science and Technology © 2013 Global Journals Inc. (US) * A survey on sensor networks WAkyildiz YSu ESankarasubramaniam Cayirci IEEE Communications Magazine 40 8 August 2002 * Wireless sensor networks: a survey IFAkyildiz WJSu YSankarasubramaniam ECayirci Computer Networks 38 2002 * A survey on routing protocols for wireless sensor networks KAkkaya MYounis Ad Hoc Networks 3 3 2005 * Research and Improvement of LEACH Protocol for Wireless Sensor Network BaipingLi XiaoqinZhang International Conference on Information Engineering Lecture Notes in Information Technology * Energy efficient Communication protocol for wireless Microsensor networks WRHeinzelman APChandrakasan HBalakrishnan Proceedings of 33rd Hawaii International Conference on System Sciences (HICSS) 33rd Hawaii International Conference on System Sciences (HICSS) 2000 * An application-specific protocol architecture for wireless microsensor networks WRHeinzelman APChandrakasan HBalakrishnan IEEE Transactions on Wireless Communications 1 4 2002 * Modify LEACH Algorithm for Wireless Sensor Network IJCSI International Journal of Computer Science Issues Mortaza Fahimi Khaton Abad, Mohammad Ali Jabraeil Jamali 8 1 September 2011 * Energy Efficient Homogeneous and Heterogeneous System for Wireless Sensor Networks RSaravanakumar SGSusila JRaja International Journal of Computer Applications 17 4 March 2011 * Energy Efficient Adaptive Protocol for Clustered Wireless Sensor Networks KPadmanabhan .PDr Kamalakkannan IJCSI International Journal of Computer Science Issues 8 1 September 2011 * Design of Enhanced LEACH Routing Protocol for Wireless Sensor Network Mr Halke Rajesh 1 Mrs VAKulkarni IOSR Journal of Electronics and Communication Engineering 2278-2834 IOSR-JECE * EERR: Performance Evaluation of Energy Efficient and Reliable routing protocol for wireless sensor networks" Data management and network control in wireless networks (SICN) TVPadmavathy MChitra 2011 * EAPHRN: Energy aware PEGASIS Based Hierarchical Routing protocol for wireless sensor networks HasanAl MohammadHasan AzzamQatawneh WesamSleit Almobaideen Journal of American science 2011 * Improved Leach Protocol for Wireless sensor Networks MrsNaveen Kumar Kaur 2011 IEEE