LEACH (Low Energy Adaptive Clustering Hierarchy protocol)

A Famous Clustering Routing Protocol in Wireless Sensor Networks
7.8K Downloads
Updated 19 Oct 2014

View License

LEACH is a hierarchical protocol in which most nodes transmit to cluster heads, and the cluster heads aggregate and compress the data and forward it to the base station(sink). Each node uses a stochastic algorithm at each round to determine whether it will become a cluster head in this round. LEACH assumes that each node has a radio powerful enough to directly reach the base station or the nearest cluster head, but that using this radio at full power all the time would waste energy.
Nodes that have been cluster heads cannot become cluster heads again for P rounds, where P is the desired percentage of cluster heads. Thereafter, each node has a 1/P probability of becoming a cluster head in each round. At the end of each round, each node that is not a cluster head selects the closest cluster head and joins that cluster. The cluster head then creates a schedule for each node in its cluster to transmit its data.
All nodes that are not cluster heads only communicate with the cluster head in a TDMA fashion, according to the schedule created by the cluster head. They do so using the minimum energy needed to reach the cluster head, and only need to keep their radios on during their time slot.
LEACH also uses CDMA so that each cluster uses a different set of CDMA codes, to minimize interference between clusters.

Cite As

MohammadHossein Homaei (2024). LEACH (Low Energy Adaptive Clustering Hierarchy protocol) (https://www.mathworks.com/matlabcentral/fileexchange/48162-leach-low-energy-adaptive-clustering-hierarchy-protocol), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on WSNs in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1

Picture of LEACH Protocol Added.

1.0.0.0