Analysis and comparison of two selected machine learning algorithms for enhancing wireless sensor network protocols
Wireless Sensor Networks (WSNs) consist of low-power, battery-powered sensor nodes that collaborate to monitor the environment and transmit data to a base station. However, their efficiency is mainly constrained by energy usage and limited network lifespan. Among cluster‑based routing protocols, the Deterministic Energy‑Efficient Clustering (DEC) protocol is a recognised hierarchical scheme for heterogeneous WSNs; however, DEC still faces several challenges, particularly with energy consumption. This paper presents a unified comparative study of two machine learning-enhanced modifications to the DEC protocol for WSNs. Unlike our previous protocol proposals, this work integrates DEC-KNN (K-Nearest Neighbours) and DEC-KM (K-Means) within a single simulation framework, systematically compares their energy, distance, and stability performance, and provides practical deployment guidelines based on application-specific trade-offs. The simulations are conducted through MATLAB R2024b simulations on a 50-node heterogeneous WSN covering a 100 m × 100 m area. Both protocols show a substantial benefit over the original protocol baseline. DEC-KM leads to a small reduction in both total and average energy consumption and provides a good balance between clustering performance and energy consumption, making it an attractive option for energy-limited WSN applications in Internet of Things (IoT) and smart environments.
Authors
- Lidia Jackowska-Strumiłło (ORCID: https://orcid.org/0000-0002-6430-0892)
- Abdulla Juwaied (ORCID: https://orcid.org/0000-0003-2691-6212)
Institutions
- Lodz University of Technology (PL)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-04-24
- DOI
- https://doi.org/10.1038/s41598-026-50291-x
- Primary Topic
- Energy Efficient Wireless Sensor Networks
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Politechnika Lódzka