Research and Implementation of Routing Algorithm for Wireless Sensor Network
- Author
- KongQingZuo
- Advisor
- ZhaoDongFan
- School
- Jilin University
- Major
- Computer Software and Theory
- Classification
- TN929.5 Mobile Communications
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 386
- Citations
- 0
Abstract
Wireless sensor network (WSN) relates to many fields, and one ofhotspots is the research of routing algorithm. This paper is also about routingalgorithm. After the introduction and analysis of some representative routingalgorithm, the paper gives a new routing solution—dynamic extending pathalgorithm (DEP). The routing solution aims to resolving the problem thatsome on-demand routing protocol beingused behaves inefficientlyin the datagathering task of sink node which belongs to the many-to-one transmissiontype. In the paper, the design of the algorithm and the implementation ofrouting program are provided, and there are also content about routingalgorithm simulation in which we have analysis about the performance ofDEP. Some more, there are some performance test with real motes in the lastofthispaper.There are some routing protocols like dynamic source routing mainlyused in the many-to-one data transmission type in wireless sensor network atthe present time. However, there are problems with these routing protocolswhich detect path blindly and send data messages when the information ofsink node is unknown. This kind of passive routing mechanism will lead to awaste of node power and data packets send ineffectively. Moreover, theseroutingprotocolssenddatawithsinglepath,theycan’tadjustrouteeffectivelywhen the path used turned into invalid. So, these routing protocols’reliabilityis low in the many-to-one transmission type of wireless sensor network. Toresolve the problem mentioned above, dynamic extending path algorithm isgiven.Dynamic extending path algorithm is composed of flooding, routedetectinganddynamicrouteselecting.(1)FloodingandRoutedetecting.Flooding is used at beginning of the routing algorithm when the routeprogram is initialized. When wireless sensor network start-up, all nodesexcept forsinknode are lockedbyroute lock,and nodes locked couldn’t sendany message but could receive. The messages flooded by sink node containsome information like the hops to sink node, the node received it floods themessage again after unlocking route lock and updating neighbor table. Whileneighbor is updating, flooding message turned into route selecting message,flooding is replaced by route detecting. As a result of flooding, nodes inwireless sensor network could detect path more effectively, and the powerconsumed in sending message is controlled because only the node unlockedcould send messages. In flooding, the node that there’s a path to sink nodecould be unlocked, it make the routing more effective and power is saved.When nodes received the message flooded by sink node, they dividedneighbor table into two sets, forwarding candidate set (FCS) and client set(CS). Nodes in FCS is closer to sink node than nodes in CS, they will beselect as forwarding node as path’s next hop node. However, nodes in CSwon’t be selected as forwarding node, they show how manynodes links to it.Whensomenodesinneighbortablesatisfiedthe channelstandardemerge,theinformation of these nodes will be packed in the message and broadcasted tonetwork, and flooding is substituted for route detecting. Route detecting is away making channel state between nodes understood, and providing channelinformationforselectingforwardingnode.(2)DynamicRouteSelecting.Whenthereis datatosend,routetableis lookedupfirst. If there’s apathrecorded in route table and the path is available, select the next node in thepath as forwarding node straight. If there isn’t record about the path in routetable or the path recorded is not available, select some forwarding nodescorrespond to the number of paths required from FCS in which nodes are sortbypathcost,recordthepathintheroutetableatthesametime.Whenthepathusing failed, routing system will add a path and check if the total number ofpaths goes beyond system limit. If the system limit isn’t exceeded, selectforwarding nodes from FCS and send message. When the path is extended,there are many paths transmitting same message, these paths are controlledwith disjoint multipath algorithm to balance the load of wireless sensornetwork.If the path extended failed again, the node failed to send will comparethe hops to sink to the hops to the node extended paths. If the latter is bigger,the path will be extended again; otherwise, a feedback message will be sendback. The node extended path collects feedback messages, when all pathsfailed, it will make a judge to extend path again or drop message with thequantityofpathsusednow.After the description of DEP, the implementation of program is given inthe paper. The program is implemented under the system TinyOS, the codecompiled could run in the gains3 mote produced by NingBo CAS and themica2 mote produced by Crossbow. In addition, the code could run on theTOSSIM which is a platform under pc too. In the description ofimplementation of program, the type of messages used and the definition ofneighbor table and route table are given in the paper. The main algorithmbodyisdescribedwithpseudocode.In the end of this paper, simulation of DEP and performance test withgains3 motes are given. The simulation is carried out on TOSSIM, in the caseofsamenodedensityanddifferentnodedensity,contrasttoDSR.Theresultisthat DEPbehavemoreefficientlyandthecapabilityofpowercontrol is better.In the performance test with gains3 motes, DEP could find optimal paththroughdetectingchannelstate.itisprovedthatthetestissuccessful.
Table of contents
Summary 4-7
first chapter 7-12
1.1 Background and Significance 7-9
1.2 wireless sensor networks Progress 9-11
1.3 of the main tasks 11-12
Chapter II of wireless sensor networks Overview 12-20
2.1 wireless sensor networks architecture 14-18
2.1.1 Sensor Networks 14-16
2.1.2 sensor nodes constitute 16-17
2.1.3 the constraints of sensor nodes 17-18
2.2 wireless sensor network protocol stack 18-20
the third chapter of wireless sensor network routing algorithm research -28
3.1 wireless sensor network routing protocol classification and performance indicators 20-22
3.1.1 Routing Protocol classification 20-21
3.1.2 Routing performance of the agreement 21-22
3.2 typical routing algorithm analysis and compare 22-28
3.2.1 Typical routing algorithm 22-26
3.2.2 Typical routing algorithm performance 26-28
Chapter IV dynamically extend the routing algorithm Overview 28-42
4.1 The dynamic expansion of the routing algorithm proposed 28-31
4.2 dynamic expansion of the routing algorithm process 31-40
4.2.1 flooded the process is 32-35
4.2.2 route detection mechanism 35-37
4.2.3 Dynamic routing 37-40
4.3 The dynamic expansion of the overall framework of the routing mechanism 40-42
dynamic extended routing mechanism design and 42-57
5.1 message envelope 42-46
5.1.1 basic message 43-44
5.1. control messages 44
5.1.3 routing messages 44-46
5.2 interface 46-47
5.3 routing table and neighbor list 47-50
5.3.1 routing table to establish 47-48
5.3.2 routing table maintenance 48
5.3.3 neighbor list to establish 48-49
5.3.4 neighbor list maintenance 49-50
5.4 The main algorithm process 50-57
5.4.1 flooding process 51-52
5.4.2 Inspection of forwarding nodes and queuing 52-53
5.4.3 routing algorithms 53-54
5.4. 4 dynamic expansion path 54-57
Chapter VI algorithm simulation and performance evaluation 57-65
6.1 TOSSIM is About 57-58
6.2 simulation environment setup and results analysis 58-62
6.2.1 the same node density simulation 58-60
6.2.2 under different node density simulation 60-62
6.3 of the actual test results 62-65
Chapter VII Summary and Outlook 65-66
7.1 This paper summarizes 65 <br / > 7.2 Prospects of the work of the 65-66
References 66-68
Abstract 68-71
Abstract 71-74
thank 74-75
instructor and author 75
Related dissertations
- The Application of Ant Colony Algorithm in the Routing of Wireless Sensor Networks
- Research of Wireless Sensor Network Broadcast Routing Algorithm
- Research of Building Structure Monitoring System Based on Wireless Sensor Network
- The Design and Application of Low-power Strategy in Wireless Sensor Networks
- Research on Routingalgorithm for Wireless Sensor Networks
- Agricultural Products Warehouse Logistics Management System Based on Internet of Things
- Research on Monitor System for Campus Energy Conservation Based on Internet of Things
- Equipment Condition Monitoring and Fault Diagnosis System Design Based on the Technology of ZigBee
- Low Power Monitoring and Fuzzy Control of Environment Parameters for Facility Flower
- Advanced Sensing Method and Apparatus for Orchard Information Collection
- The Design and Implementation of a TinyOS-based WSN Node Control System
- Research on Robust Tracking Methods of Mobile Targets in Wireless Sensor Networks
- The Real-time Routing Protocol for Supporting Real-time Query in Wireless Sensor Networks
- Research on Base Station Location Protection in Wireless Sensor Networks
- A Research on Compression Algorithm for Wireless Sensor Networks Based on Compressed Sensing
- Research on Complex Event Detection in Wireless Sensor Networks
- Research on Sampling-based Data Aggregation Algorithms in Wireless Sensor Networks
- Research on Nonlinear Filtering Based Target Tracking Algorithm for Sensor Networks
- Security Module Based on Command Code for Resource Constrained Wireless Sensor Networks
- Research on Power Control Routing Algorithms for Wireless Sensor Networks