ThisisasimulationofLEACH(Low-EnergyAdaptiveClusteringHierarchy),awell-knowncluster-basedprotocolforsensornetworkswithanextensiontomakeitsolar-aware.Thissimulationwascreatedforthefollowingpaper:ThiemoVoigt,HartmutRitter,JochenSchiller,AdamDunkels,andJuanAlonso.Solar-awareClusteringinWirelessSensorNetworks.InProceedingsoftheNinthIEEESymposiumonComputersandCommunications,June2004.http://www.sics.se/~thiemo/iscc2004Final.pdfAbstract:"Energyconservationplaysacrucialinwirelesssensornetworkssincesuchnetworksaredesignedtobeplacedinhostileandnon-accessibleareas.Whilebattery-drivensensorswillrunoutofbatterysoonerorlater,theuseofrenewableenergysourcessuchassolarpowerorgravitationmayextendthelifetimeofasensornetwork.WeproposetoutilizesolarpowerinwirelesssensornetworksandextendLEACH,awell-knowncluster-basedprotocolforsensornetworkstobecomesolar-aware.ThepresentedsimulationresultsshowthatmakingLEACHsolar-awaresignificantlyextendsthelifetimeofsensornetworks."Thecodecontainstwodirectories:oneisadistributedLEACHversion,theotheroneacentralizedwherethebasestation(assumedtoknoweverything)choosestheoptimalclusterhead.The"optimal"isinthecodeapproximatedviarulesthatincludesomekindofgeopgraphicalcriteriaamongothers.Insolar.hyouchooseifyouwanttohavesolarturnedonornotandalsosetsomeotherparameters.TocompileonLinux:opp_makemake-f-NmakeOnWindowswithVisualC++:opp_nmakemake-f-Nnmake-fMakefile.vcHopeyoufindthemodeluseful.ThiemoVoigt(thiemo@sics.se)(modelpackagedbyAndrasVarga)
2024/11/26 16:03:11
136KB
仿真
改进
代码
1