摘要无线传感器网络是计算机科学技术的一个新的研究领域,是传感器技术、嵌入式计算技术、分布式信息处理技术和无线通信技术相结合的产物。与传统网络相比,无线传感器网络具有造价低、功耗低、布局灵活性强、监测精度高等特点,因此在军事、医疗、家用等多个领域均有广阔的应用市场。本文重点研究基于无线传感器网络的泛洪式路由协议,无线传感器网络节点数量庞大、单个节点资源有限,其路由协议设计的首要目标是提高能量有效性,延长网络寿命。本文总结了WSN的概念、结构、特点,分析了WSN的关键性技术问题及网络协议;研究了WSN的网络协议体系和路由协议的分类,分析比较了目前国内外学者提出的几种有代表性的路由协议及其性能优缺点;选择了flooding路由协议为研究重点,分析了该路由算法的具体实现,针对传感器节点能量及传输范围有限等特点,提出了一种基于延迟的自适应泛洪路由算法,首先通过源节点在网内用较小的路由请求报文和路由回复报文来建立路由,路由建立的过程中自适应地确定等待时间以使更优的路由请求报文得到转发,然后源节点再沿着建立好的路径转发较大的数据报文。并采用MATLAB网络仿真工具对该路由协议进行了整体仿真,并对其数据进行了分析。仿真实验表明新算法较Flooding节能,能较好的克服Flooding算法中报文冗余度高、能耗大等不足。关键词:无线传感器网络;flooding路由协议;MATLAB仿真ABSTRACTWirelesssensornetworksareanewresearchfieldofcomputerscienceandtechnology.Theyaretheintegrationofsensortechniques,nestedcomputationtechniques,distributedcomputationtechniquesandwirelesscommunicationtechniques.Comparingwithtraditionalnetworks,thewirelesssensornetworksfeatureswithlowcost,lowpowerloss,flexiblelayoutandhighmonitorprecision,thereforethesensornetworkscanbeusedforvariousapplicationareassuchasmilitary,chemical,home.ThisarticlefocusonwirelesssensornetworksbasedonthePanHung-routingprotocol,wirelesssensornetworknodeslargenumberofindividualnodeswithlimitedresources,theroutingprotocoldesignedfirstandforemostobjectiveistoimproveenergyefficiencyandextendthenetworklifetime.ThispapersummarizestheWSNtheconcept,structureandcharacteristicsoftheWSNthekeytechnicalproblemsandnetworkprotocols;studyoftheWSNsystemandnetworkroutingprotocolagreementtheclassification,analysisandcomparisonofthecurrentdomesticandforeignscholarshaveproposedseveralrepresentativesTheroutingoftheagreementanditsperformanceadvantagesanddisadvantages;chosenthefloodingfocusonroutingprotocols,analysisoftheroutingalgorithmtoachievethespecific,thesensornodesthelimitedscopeofenergyandtransmissioncharacteristics,adelaybasedontheAdaptiveFloodroutingalgorithm,firstofallthroughthenodesinthenetworksourceinthesmallerrouting,androutingtherequesttorestorethetexttocreatearouting,routingtheprocessofestablishingadaptivetodeterminethewaitingtimetomakebetterRoutingtherequestwastransmittedbytext,andthenanothersourcenodesalongthepathforwardtheestablishmentofgooddataonthelargertext.MATLABandusethenetworksimulationtoolfortheoverallroutingprotocolsimulation,andthedatawereanalyzed.ThesimulationshowsthatthenewalgorithmthanFloodingenergy-saving,canbetterovercomeFloodingalgorithmmessageredundancyandhighenergyconsumption,suchastheinsufficient.Keywords:WSN;floodingroutingprotocols;MATLABSimulation目录1绪论....................................................................................................................................11.1课题背景....................................................................................................................11.2国内外技术研究现状................................................................................................21.3课题研究的目的和意义............................................................................................32WSN综述............................................................................................................................42.1WSN的概念..............................................................................................................42.2WSN的结构..............................................................................................................42.2.1节点结构..........................................................................................................42.2.2网络体系结构..................................................................................................52.3WSN协议栈..............................................................................................................62.4WSN的拓扑结构......................................................................................................72.5WSN的特点............................................................................................................102.6WSN的关键性技术问题.................................................................................112.6.1功耗问题........................................................................................................122.6.2节能策略........................................................................................................122.6.3通信问题........................................................................................................142.6.4网络安全问题................................................................................................152.6.5定位问题........................................................................................................152.6.6数据管理........................................................................................................152.6.7服务质量........................................................................................................162.6.8嵌入式操作系统............................................................................................163.WSN路由协议算法分析................................................................................................