The Research on the Environmental Monitoring Network Based on WSN and GSM
- Author
- DaiZuo
- Advisor
- LiBaoHua
- School
- Jilin University
- Major
- Circuits and Systems
- Classification
- TP212.9 Sensor applications
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 386
- Citations
- 5
Abstract
Wireless Sensor Network (WSN, abstraction for“wireless sensor network”or“sensor network”used in this paper) is composed of masses of cheap sensor nodes distributing in monitoring area, and is a Multi-Hop Networks that is self-organizing, task-oriented and data-centered through Wireless Communication Technology. It differs from the traditional Wireless Communication Technology, and possesses the characteristics of centering on data, huge network size, ever-changing topological structure and self-organizing, so that it is beneficial for obtaining vast random researching data in a large scope.This project collects light intensity of the area being monitored by using WSN, takes the advantage of public communication network’s vast coverage area, low maintaining cost to realize long-distance monitoring. Meanwhile, basing on numerous researches on WSN routing protocol and aiming at the shortcomings in the common routing protocol, this project proposes an innovative routing protocol. This protocol gives much concern on energy efficiency and link quality, and it also takes routing protocol’s security into consideration .It has strong augment ability.I. Hardware DesignWSN includes sensor node, sink node, and management node. Sensor node is the principal part of the whole network, locates in the monitored area, and has the functions of data collection and routing; Sink node is a special gateway with a wireless communication interface, to achieve the protocol conversion between WSN and public communication networks, data fusion, data transmission, distribute management and configuration information issues by management nodes; management node is usually the micro-computer, to storage, analyze the monitoring data of WSN, and to manage and configurate. Therefore, the focus of this project is sensor node and sink node.i. Hardware Design on Sensor NodeThe major characteristic of sensor node is limitation of energy. As a result the first consideration should be energy saving.The design adopts low power CC2420 chip which meets the standard of 2.4GHz IEEE802.15.4 as core of wireless transceiver module, and ultra-low power MSP430F149 chip as the processor, S1087 as light intensity collector, in order to collect, save and send the light intensity in the monitoring area.ii. Hardware Design on Sink NodeSink node has sufficient energy, so the design focuses on the needs of network management and data transmission. On the bases of assuring functions, it considers power control.The design takes the low power LPC2292 as its processor, SST39VF160 as its external memory, and guarantees the credible data transmission. Its connection part with WSN adopts CC2420 as the core of wireless transceiver module; the connection part with public communication network adopts GSM MODEM. Meanwhile, there is a 128×64 Lattice LCD to monitor and debug data.The overall hardware design takes the system’s augmentability and flexibility into consideration, and adopts the method of module design; and it provides an unite integrated interface for wireless sink node, in order to extend in the future.II. Software Designi. Software Design on Sensor NodeSince the processing capacity and storage capacity of wireless sensor node is limited, this project adopts sensor network oriented TinyOS as its operating system.TinyOS is written by nesC language. Considering of the characteristics of sensor network, it introduces the technology of light thread, active message, event-driven and component programming.At the sensor node, data collection, communication between nodes, construction and maintenance of routing are achieved. In communication, this design adopts data frame format that is completely consonant with IEEE802.15.4 protocol.ii. Software Design on Sink NodeSince the sink node’s tasks are excessive, TinyOS’s Multi-task Scheduling is not as perfect asμC/OS-II, as a result, sink node always adoptsμC/OS-II as its operating system.μC/OS-II is a multi-task real time operating system, and is composed by C language and assemble language. Its structure is clear.In this design, it put transplantation ofμC/OS-II on the sink node that is based on LPC2292. At sink node, construction and maintenance of routing table are achieved. It receives and processes data from managing node and sensor node, the function of data materials backuping and time synchronization is also realized.In the software design, the data saving mode is carefully defined, and the problem of short longevity of chip because of frequent scrapes is solved.III. Design on routing protocolRoute discovery and maintenance is a core technology of WSN. Its main task is creating route between sensor node and sink node to pass the data reliably.This paper proposes a completely new Alterable Tree-based Routing Protocol (ATRP).ATRP routing protocol is a hierarchical, based on tree structure, alterable node grade, safe and reliable, low powered,dynamic adaptive routing protocol.At the ATRP routing protocol, using tree structure network topological structure, every sensor node only maintains the routing information of its father node and child node, and sink node maintains the global routing information.When the network structure changes, node grade changes automatically according to rule, so the network has high flexibility. When the nodes increase, mobile or fail, it realizes only by changing partial routing information. Node balances the network energy and avoids hot point and hot post because of numerous data, and it advances network’s whole life cycle effectively through the electronic charge monitoring of itself and adjusting of realization grade.Through the rule of link’s two-way verification, only sending data to father node and father node not searching child node actively, it advances the network’s reliability and effectively avoids, delays partial attack to WSN. Through test and comparison with common WSN protocol, ATRP protocol can balance energy, reliability, augmentability. It is better than common routing protocol especially on safety, and is a perfect WSN routing protocol.IV. ConclusionThis design completely realizes the environmental monitoring network based on WSN and GSM through collection, routing and forwarding to light Intensity of monitoring area.The whole project designs and realizes completely. It solves the WSN’s design, also the software and hardware problem in practice fundamentally. It proposes an excellent routing algorithm creatively, and gives unique, effective whole solutions for application in WSN used in environmental monitoring even other aspects.
Table of contents
Summary 4-8
first chapter 8-16
1.1 Introduction to wireless sensor networks 8-12
1.1.1 Wireless Sensor Networks concept 8-9
1.1.2 wireless sensor network features 9-11
1.1.3 wireless sensor network applications 11-12
1.2 environment monitoring Methods Introduction 12-13
1.3 this research program strengths and significance 13-14
1.4 thesis organization 14-16
second Zhang overall design 16-18
2.1 overall hardware design 16-17
2.2 software design 17
2.3 routing protocol design 17-18
Chapter 3 Hardware design and Implementation 18-32
3.1 sensor nodes 18-27
3.1.1 sensor node hardware structure 18-19
3.1.2 sensor nodes used in the main components 19-23
3.1.3 sensor node circuit design 23-27
3.2 sink 27-31
3.2.1 aggregation node hardware structure 27
3.2.2 aggregation nodes used in the main components 27-31
3.3 part of the hardware design of physical 31-32
Chapter sensor node software design and implementation 32-48
4.1 nesC language 32-35
4.2 TinyOS architecture 35-36
4.3 TinyOS operating system development platform for the establishment 36-37
4.4 programming 37-47
4.4.1 task Analysis 37-38
4.4.2 single node programming measurement tasks 38-42
4.4.3 sensor node communication task programming 42-47 <br / > 4.5 sensor node wireless data transceiver proficiency test 47-48
Chapter aggregation node software design and implementation 48-64
5.1 μC / OS-II architecture 48-49
5.2 μC / OS-II in the transplant LPC2292 49-57
5.2.1 transplantation programs 49
5.2.2 transplantation task analysis 49-50
5.2.3 includes.h about header files and config.h 50
5.2.4 OS_CPU.H the preparation and modification 50 -53
5.2.5 OS_CPU_C.C the preparation and modification 53-55
5.2.6 OS_CPU_A.S the preparation and modification 55
5.2.7 transplantation code is applied to the LPC2292 55-57
5.3 programming 57-64
5.3.1 task Analysis 57-58
5.3.2 UARTO_Exception ( ) subroutine 58-59
5.3.3 TaskSystem () task 59
5.3.4 TaskRXDSPI () task 59-60
5.3. 5 TaskStartRouting () task 60
5.3.6 TaskTXDGSM () task 60-61
5.3.7 TaskRWFlash () task 61-63
5.3.8 TaskGetTime () task 63-64
Chapter wireless sensor network routing protocol design and implementation 64-86
6.1 routing Protocol Description and classification 64-66
6.1.1 WSN routing protocol features 64
6.1.2 WSN routing protocol classification 64-65
6.1.3 plane routing protocol 65
6.1.4 hierarchical routing protocol 65-66
6.2 ATRP routing protocols proposed 66
6.3 ATRP routing protocol assumptions and rules 66-68
6.3.1 ATRP routing protocol design assumptions 66-67
6.3.2 ATRP routing protocols basic rules 67-68
6.4 network deployment phase 68-71
6.4.1 build tree 68-69
6.4.2 routing Information summary 69-70
6.4 .3 network deployment phase sensor node software processes 70-71
6.4.4 deployment phase is complete network structure 71
6.5 networks use phase 71-79 < br /> 6.5.1 data transmission 72
6.5.2 nodes increases 72-73
6.5.3 node failure 73-76 <br / > 6.5.4 node mobility 76-77
6.5.5 loop to avoid 77-78
6.5.6 attacks on 78-79
6.6 network extinction phase 79-80
6.6.1 node energy consumption 79
6.6.2 network energy balance 79-80 <br / > 6.7 ATRP routing protocol compared with some other existing protocols and testing 80-82
6.7.1 ATRP routing protocol compared with some other existing agreements 80-81
6.7 .2 ATRP routing function test 81-82
6.8 system joint Test 82-86
Chapter Summary and Outlook 86-88
7.1 Summary 86-87
7.2 Prospects 87-88
References 88-94
Summary 94-98
Abstract 98-102
Thanks 102
Related dissertations
- The Design and Implementation of a TinyOS-based WSN Node Control System
- μC/OS-Ⅱ-based Recording Player Software Design and Implementation
- Research on Key Algorithm for Hierachy Routing Protocal of Wireless Sensor Network
- Wireless Sensor Network System for Subway Environment Perception
- Design of Wireless Sensor Network System Based on Multi-sensor
- Microprocessor Protection Algorithm Based on HHT and Its Platform Development
- Design of Smart Home System Based on Wireless Sensor Networks
- Design on Environmental Monitoring System for Welding Workshop Based on Zigbee
- Research of Coal Mine Monitoring System Based on Wireless Sensor Network
- Study on Embedded Sleep Monitor and Alarm System
- The Research and Exoit of Intelligent Household Security Monitoirng System Based on ARM9
- Research and Design of the Combustible Gas Detector and Alarm Based on ARM7
- Research of Environmental Monitoring System Based on Wireless Sensor Network
- The Research and Design of Embedded Fresh Air Monitoring System Based on ARM
- Research and Development of Automatic Control System on Integrated Sub-packaging and Packaging Machine
- Comfort Measurement and Control System for Smart Home Based on Wireless Sensor Networks
- Research on data processing and data transmission technology in Wireless Sensor Networks
- Research on Some Key Technologies for Wireless Sensor Networks in Underground Mining Environment
- The Research on Routing Recovery under Jamming in Wireless Sensor Networks
- Research and Simulation on Broadcast Authentication for Wireless Sensor Networks