这个文件是Leach协议在MATLAB下面仿真的源代码,经过仿真验证的源代码,完全可以使用!
2019-12-21 18:58:39 5KB leach matlab 源代码
1
This is a simulation of LEACH (Low-Energy Adaptive Clustering Hierarchy), a well-known cluster-based protocol for sensor networks with an extension to make it solar-aware. This simulation was created for the following paper: Thiemo Voigt, Hartmut Ritter, Jochen Schiller, Adam Dunkels, and Juan Alonso. Solar-aware Clustering in Wireless Sensor Networks. In Proceedings of the Ninth IEEE Symposium on Computers and Communications, June 2004. http://www.sics.se/~thiemo/iscc2004Final.pdf Abstract: "Energy conservation plays a crucial in wireless sensor networks since such networks are designed to be placed in hostile and non-accessible areas. While battery-driven sensors will run out of battery sooner or later, the use of renewable energy sources such as solar power or gravitation may extend the lifetime of a sensor network. We propose to utilize solar power in wireless sensor networks and extend LEACH, a well-known cluster-based protocol for sensor networks to become solar-aware. The presented simulation results show that making LEACH solar-aware significantly extends the lifetime of sensor networks." The code contains two directories: one is a distributed LEACH version, the other one a centralized where the base station (assumed to know everything) chooses the optimal cluster head. The "optimal" is in the code approximated via rules that include some kind of geopgraphical criteria among others. In solar.h you choose if you want to have solar turned on or not and also set some other parameters. To compile on Linux: opp_makemake -f -N make On Windows with Visual C++: opp_nmakemake -f -N nmake -f Makefile.vc Hope you find the model useful. Thiemo Voigt (thiemo@sics.se) (model packaged by Andras Varga)
2019-12-21 18:51:34 136KB 仿真 改进 代码
1
我是参照网上现存的多个leach移植说明,然后自己亲自试验成功总结的文档
2019-12-21 18:50:17 200KB ns2.35 leach 移植
1
无线传感器网络(WSN)leach分簇路由协议matlab仿真
2019-12-21 18:49:29 8KB wsn leach
1
leach协议的MIT源码及详细仿真过程(亲测可用,内含实验文档和数据分析)。
2019-12-21 18:48:23 1.16MB leach协议 仿真 ns2 实验
1