Comparative Analysis of Leach-C and Pegasis Routing Algorithms in a Wireless Sensor Network using Network Simulator-2

Dimas Setiawan Saputro, Siti Ummi Masruroh, Nashrul Hakiem


Since 2001, the development of Wireless Sensor Networks has generated an increased interest from the perspective of the industry and research. Sensors collect data from the environment and then send the data to the actor node that processes all the incoming data and takes action. The usefulness of wireless sensor networks in an unobstructed field of computing and sensing capabilities is limited. Optimization of the energy consumption in the network is done by implementing an efficient routing algorithm that uses less energy. PEGASIS and LEACH-C are two types of algorithm that are identified as energy efficient and lifetime friendly. In this research, simulation and analysis comparisons of the performance of both types of routing algorithm have been performed with parameters, such as energy efficiency, node lifetime and throughput using Network Simulator 2 (NS-2) in areas of 100 m×100 m, 300 m×300 m and 600 m×600 m. In the analysis of the performance in terms of energy efficiency, node lifetime and throughput, the results lead to the conclusion that the performance of the PEGASIS algorithm is superior in an area of 100 m×100 m, while the LEACH-C algorithm is superior for areas of 300 m×300 m and 600 m×600 m.


Efficiency; LEACH-C; Lifetime; PEGASIS; Routing Algorithm; Throughput; Wireless Sensor Network

Full Text:



S. Yinbiao, K. Lee, P. Lanctot, F. Jianbin, H. Hao, B. Chow, and J.-P. Desbenoit, “Internet of Things: Wireless Sensor Networks,” 2014.

H. Kaur, “A Review on Wireless Sensor And Networks Actor,” Int. J. Adv. Res. Comput. Sci. Softw. Eng., vol. 4, no. 5, pp. 863–867, 2014.

P. Kumar and M. Challa, “Predicting and Extending of Sensor Lifetime in Wireless Sensor Networks using Fuzzy Logic,” Int. J. Sci. Res. ISSN (Online Index Copernicus Value Impact Factor, vol. 14, no. 6, pp. 2319–7064, 2013.

L. Tian, H. Du, and Y. Huang, “The simulation and analysis of LEACH protocol for wireless sensor network based on NS2,” in 2012 International Conference on System Science and Engineering (ICSSE), 2012, pp. 530–533.

H. Dhawan and S. Waraich, “A Comparative Study on LEACH Routing Protocol and its Variants in Wireless Sensor Networks: A Survey,” Int. J. Comput. Appl., vol. 95, no. 8, pp. 975–8887, 2014.

S. Parvin and M. S. Rahim, “Performance Evaluation of LEACH and PEGASIS: Two Prominent Routing Protocols for Wireless Sensor Networks.” University of Rajshahi Bangladesh, Rajshahi, 2007.

S. Vhatkar, J. Rana, and M. Atique, “Performance Evaluation and QoS Analysis of EEPB and PDCH Routing Protocols in Wireless Sensor Networks,” IOSR J. Comput. Eng., vol. 17, no. 5, pp. 2278–661, 2015.

L. Almazaydeh, E. Abdelfattah, M. Al-Bzoor, and A. A. Al-Rahayfeh, “Performance Evaluation of Routing Protocols in Wireless Sensor Networks,” Int. J. Comput. Sci. Inf. Technol. , vol. II, no. 2, pp. 64–73, 2010.

P. M. Dave and P. D. Dalal, “Simulation & Performance Evaluation of Routing Protocols in Wireless Sensor Network,” Int. J. Adv. Res. Comput. Commun. Eng., vol. II, no. 3, pp. 1405–1412, 2013.

S. Saputra, “Evaluasi Kinerja Efisiensi Algoritma Routing Pegasis pada Wireless Sensor Network menggunakan Network Simulator-2,” UIN Syarif Hidayatullah Jakarta, 2012.

N. Sharma, “Impact of varying packet size on multihop routing protocol in Wireless Sensor Network,” Int. J. Adv. Stud. Comput. Sci. Eng. IJASCSE, vol. 3, no. 9, pp. 10–16, 2014.


  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.

ISSN: 2180-1843

eISSN: 2289-8131