WSN matlab 

上传日期:2021-03-13 12:17:45
上 传 者Lano3954
说明:  matalb code dowload

.gitattributes (378, 2020-03-15)
.gitignore (649, 2020-03-15)
ACTUAL_LEACH.asv (8796, 2020-03-15)
ACTUAL_LEACH.m (8796, 2020-03-15)
DATA (0, 2020-03-15)
DATA\L-CS_HEAD (0, 2020-03-15)
DATA\L-CS_HEAD\.dropbox (35, 2020-03-15)
DATA\L-CS_HEAD\I_LEACH_head_300.png (19418, 2020-03-15)
DATA\L-CS_HEAD\LEACH_BASE_STATION.png (46963, 2020-03-15)
DATA\L-CS_HEAD\LEACH_HEAD_300.png (21804, 2020-03-15)
DATA\L-CS_HEAD\MOD_LEACH_CLUSTER_HEAD.png (23650, 2020-03-15)
DATA\LEACH-VARIENTS.pdf (502833, 2020-03-15)
DATA\LEACH_BASE_STATION.png (46963, 2020-03-15)
DATA\LEACH_HEAD_300.png (21804, 2020-03-15)
DATA\Leach_Comparision_Data.fig (35127, 2020-03-15)
DATA\Leach_Comparision_Data.png (26605, 2020-03-15)
DATA\Leach_or.mat (37447, 2020-03-15)
DATA\SEP_Nodes.jpg (27943, 2020-03-15)
DATA\actual_leach.jpg (30301, 2020-03-15)
DATA\data.txt (16, 2020-03-15)
DATA\i_leach.mat (15392, 2020-03-15)
DATA\mat_ILeach.jpg (27276, 2020-03-15)
DATA\mod_leach.jpg (30068, 2020-03-15)
DATA\mod_leach.mat (18382, 2020-03-15)
DATA\modleach.png (14233, 2020-03-15)
SEP.m (9861, 2020-03-15)
WSN_COMP (0, 2020-03-15)
WSN_COMP\AV.png (16270, 2020-03-15)
WSN_COMP\EAMMH.m (10529, 2020-03-15)
WSN_COMP\SEP.m (9609, 2020-03-15)
WSN_COMP\TEEN.m (8018, 2020-03-15)
iLeach_Custom.m (2338, 2020-03-15)
le.m (4193, 2020-03-15)
matlab__leach.m (7123, 2020-03-15)
modleach.m (8094, 2020-03-15)

# Wireless Sensor Network # Implementation of LEACH (Low-energy adaptive clustering hierarchy) for WSN(Wireless Sensor Network)in MATLAB. Low-energy adaptive clustering hierarchy ("LEACH") is a TDMA-based MAC protocol which is integrated with clustering and a simple routing protocol in wireless sensor networks (WSNs). The goal of LEACH is to lower the energy consumption required to create and maintain clusters in order to improve the life time of a wireless sensor network. ## Protocol explanation 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 again. 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. ## Properties of this algorithm include: ### Cluster based Random cluster head selection each round with rotation. Or cluster head selection based on sensor having highest energy Cluster membership adaptive Data aggregation at cluster head Cluster head communicate directly with sink or user Communication done with cluster head via TDMA Threshold value ## Simulation ### There are many both open-source and commercial network simulators for LEACH such as ##### -> ns (open source) ##### ->OPNET (proprietary software) ##### ->NetSim (proprietary software) ##### ->OMNeT++ (IDE) ##### ->TinyOS (open source) ##### ->MATLAB ##### References Heinzelman, W., Chandrakasan, A., and Balakrishnan, H., "Energy-Efficient Communication Protocols for Wireless Microsensor Networks", Proceedings of the 33rd Hawaaian International Conference on Systems Science (HICSS), January 2000. Paper