Design and Implementation of ZigBee Protocol and Gateway System of Water Quality Monitoring System Based Cn WSN Technology
- Author
- DingShengJian
- Advisor
- HuYanJun
- School
- Anhui University
- Major
- Communication and Information System
- Classification
- TN929.5 Mobile Communications
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 48
- Citations
- 0
Abstract
WSN (Wireless Sensor Networks) water quality monitoring online system using WSN technology, intelligent sensor technology and modern control technology, can achieve monitoring hydrology information real-time and efficiently, including PH, water temperature, ORP and other indicators, thus reach the goals of water pollution warning, water pollutant monitoring and governance effectiveness monitoring. Nodes of water quality monitoring system communicate generally using GPRS or3G technology, the cost of the sensor nodes is relatively high, and not suitable for layout large-scale networks. WSN technology based on ZigBee, is a low-power, low complexity, low data rate, low cost, short-range wireless network communication technology. WSN monitoring System does not require the laying of cable, and take the advantages of low cost of system maintenance and flexible node layout, makes intelligent water quality monitoring system using ZigBee technology has become a current research focus.Relying on the Shanghai Institute of Microsystem and the Renesas Mobile cooperation projects "On-line WSN water quality monitoring system development", we propose WSN water quality monitoring system based on ZigBee technology, providing a set of possible project for the rapid deployment of online real-time monitoring of water source hydrological information, the system has been laid in QingCaoSha. ChongMing Island. Shanghai and able to complete the desired effect and purpose. On the basis of a detailed analysis of the requirement of the wireless sensor networks project, we designed and implemented a ZigBee wireless data transfer protocol, and the MAC layer and the network layer of the ZigBee protocol be customized according to such WSN monitoring system for low-complexity applications, remove redundant functions, in order to achieve lower consumption of node chip runcosts; designed and defined a new level of ACP layer (Application Communicate Protocol layer) for the communication standard of commands and data betweenWSN nodes. Meanwhile we make a preliminary research on the ZigBee routing algorithms and channel access methods.The main contents of this paper are listed as follows:(1) Based on the research of IEEE802.15.4/ZigBee protocol standards, we design and implement a software architecture of concise ZigBee protocol stack suitable for low-complexity scenarios. It consists of SubMAC layer, MAC layer, network layer and application layer. First we introduce the communication primitives of ZigBee MAC layer and network layer, primitives is consist of data service primitives and management service primitives. Primitives is the API functions call when layer achieve their functions. The SubMAC layer is the designed level that achieved CSMA/CA (Carrier Sense Multiple Access with Collision Avoidance) channel access mechanism of MAC and data transmission function of PHY. The role of SubMAC is agreement with the relationship is more distant between underlying levels and upper levels, to facilitate transplantation on different underlying platform.(2) Based on sensor networks protocol operate system-Chipcon OSAL (Operating System Abstraction Layer) modem, we designed a scheduler program of concise ZigBee protocol stack, and all levels of ZigBee stack correspond to a separate task in the operating system. All layer Tasks communicate with information communication mechanism.(3) For the requirements of project, we propose the framework of the water quality monitoring system,and design layout of WSN-Cellular gateway and sensor nodes. WSN-Cellular gateway is the most critical part of the system, consists of STM32F103xB MCU, GR64GPRS module, CC2530chip, it established a communication interface platform between the upper web server and the underlayer WSN collection network.
Table of contents
Summary 3-5
Abstract 5-7
directory 7-10
Chapter 1 Introduction 10-14 <br / > 1.1 topic background and significance research status 1.2 online water quality monitoring 10
10-11
1.3 Overview of wireless sensor networks 11-12 <br / > 1.4 dissertation research content and structure 12-14
Chapter II water quality monitoring system architecture and WSN model 14-26
2.1 design requirements and system framework 14-16
2.1.1 water quality monitoring system design requirements 14
2.1.2 framework for water quality monitoring system and software architecture 14-16
2.2 based on ZigBee build WSN model 16-20
2.2.1 device Type 16-17
2.2.2 MAC layer and the NWK layer design 17
2.2. 3 application layer protocol designed 17-19
2.2.4 WSN device application layer design 19-20
2.2.4.1 gateway coordinator APL layer 19 - 20
2.2.4.2 sensor nodes APL layer 20
2.3 WSN network key process design 20-25
2.3.1 build networks and network nodes 20
2.3.2 to get the whole network gateway node status 20-21
2.3.3 gateway Settings node data reporting cycle 21-23
2.3.4 gateway control node data reporting 23-24
2.3.5 gateway Control node LED flashes 24-25
2.4 Summary 25-26
third Chapter ZigBee protocol stack design and implementation of its key technology 26-60
3.0 ZigBee protocol stack design 26-27
3.1 IEEE802.15.4 standard and zigbee protocol specification 27-31
3.1.1 IEEE802.15.4 standard 27-29
3.1.2 ZigBee standards 29-31
3.2 layered protocol standards key terms introduced 31-32
3.2.1 communication primitives 31-32
3.2.2 data Unit 32
3.3 embedded operating system transplant 32-35
3.3.1 operating system abstraction layer 33-34
3.3.2 Research and Implementation task Scheduler 34-35
3.4 layers of the protocol stack implementation 35-59
3.4.1 HAL layer research and implementation 35-36
3.4.2 SubMAC layer research and implementation 36 3.4.2.1 CSMA algorithm research and implementation nbsp -44
; 37-38
3.4.2.2 retransmission and ACK mechanism 38-39
3.4.2.3 SubMAC layer implementation 39-44
3.4.3 MAC layer Research and Implementation 44-51
3.4.3.1 MAC layer primitives Research and Implementation 44-48 <br / > 3.4.3.2 MAC layer of the body to achieve 48-51
3.4.3.3 MAC layer performance improvements 3.4.4 Research and implementation of network layer nbsp 51
; 51-59
3.4.4.1 network layer primitives Research and Implementation 52-53
3.4.4.2 network layer body achieve 53-55
3.4.4.3 network layer routing algorithm Research 55-59
3.5 Summary 59-60
Chapter WSN-Cellular gateway design and Implementation 60-71
4.1 WSN- Cellular gateway design requirements 60
4.2 gateway - server communication protocol 60-67
4.2.1 communication protocol packets defined 60-61
4.2 .3 protocol packet payload format 61-67
4.2.3.1 heartbeat packets 62
4.2.3.2 query gateway configuration messages 62-64
4.2.3.3 gateway configuration settings packets 64
4.2.3.4 check network status messages 64-65
4.2.3.5 gateway reported data packets 65
4.2.3.6 query single node data packets 65-66
4.2.3.7 gateway reported abnormal packets 66-67
4.3 WSN-Cellular gateway implementation 67-69
4.3.1 gateway hardware implementation 67-68
4.3.2 gateway software 68-69
4.4 water Quality Monitoring system is an example of the experimental results 69-70
4.5 summary 70-71
Chapter summary and Outlook 71-73
5.1 summarizes 71-72
5.2 topic next job prospects 72-73
Appendix 73-75
LIST 73-74 <br / > table catalog 74-75
References 75-77
Thanks research participation during 77-78
graduate 78
Related dissertations
- A Research and Design on the Positioning System Based on ZigBee Technology
- Research and Realization of Embedded Wireless Sensor Networks
- Design and Implementation of Low Rate Wireless Sensor Network Platform
- WSN Application in Agriculture Greenhouse Monitoring System
- QoS Routing Strategy of Large-scale Wireless Sensor Network
- The Research of Wireless Networking on Water Quality Monitoring System Based on ZigBee Technology
- Research and Optimization the Traditional Routing Based on ZigBee
- Aquaculture Aeration Intelligent Systems
- An Automatic Lawn Spry Distributor System Based on ZigBee
- Monitoring System Design of Substation Environments Based on ZigBee Technology
- Research on Ground Wire Monitoring Solution of Bridges and Tunnels Based on WSN Technology
- The Design of Industrial Wireless Temperature Measurement System Based on Thermoelectric Power Generation
- Study of Leakage Monitoring and Scatter Sensors for Sudden Accident in Spacious Environment
- Thc Research and Design of the Coal Mine Safety Monitoring System Based on the Integration RFID and WSN
- Detection System of Temperature and Humidity Based on Wireless Sensor Network
- Study of Temperature Monitoring and Control System Based on ZigBee Network
- Research on the Remote Fuel Auto-Monitoring System
- Design and Implementation of Smart Home Nodes Based on WSN
- Robot Position & Navigation Based on WSN Applicated in Disaster Mitigation and Rescue
- Design of Home Environment Monitoring System Based on ZigBee Technology