International Journal of Reconfigurable and Embedded Systems (IJRES)
Vol 14, No 3: November 2025

A k-nearest neighbors algorithm for enhanced clustering in wireless sensor network protocols

Hilmani, Adil (Unknown)
Sabri, Yassine (Unknown)
Maizate, Abderrahim (Unknown)
Aouad, Siham (Unknown)
Ayoub, Fouad (Unknown)



Article Info

Publish Date
01 Nov 2025

Abstract

Wireless sensor networks (WSNs) are small, autonomous, battery-powered nodes capable of sensing, storing, and processing data, while communicating wirelessly with a central base station (BS). Optimizing energy consumption is a major challenge to extend the lifetime of these networks. In this study, we propose an innovative approach combining the k-nearest neighbors (KNN) algorithm with hierarchical and flat routing protocols to improve node selection and clustering in three key protocols: low-energy adaptive clustering hierarchy (LEACH), threshold-sensitive energy efficient sensor network protocol (TEEN), and hybrid energy-efficient distributed clustering (HEED). Concretely, KNN is used to rank nodes based on their spatial and energy proximity, thus optimizing the choice of cluster heads (CHs) and reducing long and costly connections. Simulations show a reduction in the inter-CH distance, a decrease in overall energy consumption, and an extension of the network lifetime compared to conventional versions of the protocols. These improvements not only help increase operational efficiency, but also enhance communications stability and security, providing a robust and sustainable solution for critical WSN applications.

Copyrights © 2025






Journal Info

Abbrev

IJRES

Publisher

Subject

Economics, Econometrics & Finance

Description

The centre of gravity of the computer industry is now moving from personal computing into embedded computing with the advent of VLSI system level integration and reconfigurable core in system-on-chip (SoC). Reconfigurable and Embedded systems are increasingly becoming a key technological component ...