An Application Research on a System of Information Publishing/subscribing and Signal Controlling Based on ZigBee
- Author
- QiZuo
- Advisor
- HanBo , LiPing
- School
- Zhejiang University
- Major
- Control Theory and Control Engineering
- Classification
- TP273 Automatic control,automatic control system
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 378
- Citations
- 0
Abstract
Wireless sensor network is another hot IT technology after Internet, which will have a significant impact on human’s life in 21<sup>st</sup> century. If we can say that Internet has changed the style of interactions among human beings, sensor network will change the style of interactions between human beings and nature, with fusing the logic information world and the real human world together in the future. ZigBee is a kind of wireless sensor network promoted by ZigBee Alliance.This thesis researches a system of information publishing/subscribing and signal controlling based on ZigBee technology on the platform of small region intelligent transportation system. The main work that has been finished in this paper contains two parts:Part 1: Researchs and analyzes the stack. Uses and develops the stack. Establishes a software application platform based on ZigBee. (1) Researching and analyzing: Microchip ZigBee stack is a open source stack. And this provides the conditions to study the stack deeping into it. This paper has done a deep research on: source code processes, data structures, important parameters, primitives and functions inside the stack. The paper refers to and looks up to a lot of important Chinese documents and English documents. The scope of this paper’s study contain: APS and NWK. (2) Using and developing: All the resources of Microchip ZigBee stack are open and can be used by developers. This paper does a research in details on the resources provided by the stack, and develops a software procedure based on ZigBee stack. (3)Establishing: Referring to the standards of ZigBee Alliance (ZigBee Specification), this paper does some improvements on Microchip ZigBee stack such as address distribution, so that we can use ZigBee stack more standard. On the basis of using the stack sensibly and improvements, the paper establishes a software application platform based on ZigBee.Part 2: designs and develops three types of nodes, designs and develops the hardware of nodes, designs and develops the communication between coordinator node and PC, Connects with small region intelligent transportation system and establishes a system of information publishing/subscribing and signal controlling. The nodes on the electric sand table screen are the work of this paper. There are three types of the nodes: signal controlling nodes, information publishing/subscribing nodes and coordinator node. These three types of nodes are designed and developed on the basis of the software application platform developed by this paper. The hardware of nodes include: PIC18F4620 module, serial communication module, power module and CC2420 RF module.Concerning with the arrangement of this paper , significance of wireless sensor network researches and present situation both home and aboard are introduced firstly. In Chapter 2, the APS and NWK of ZigBee stack are deeply researched and analyzed. Some of important functions of SAPs are also described in this Chapter 2. In Chapter 3, the platform and hardware of the system of information publishing/subscribing and signal controlling are designed. In Chapter 4, the hardwares of nodes are designed and developed, and each circuit module of nodes are detailly described. In Chapter 5, the software of nodes is designed and developed. The design of endpoint inside the node, software of coordinator node, software of signal controlling nodes, software information publishing/subscribing nodes, how to use ZigBee stack in node software are introduced in details. Finally, this paper introduces two sub-systems: signal controlling sub-system and information publishing/subscribing sub-system. In Chapter 6, communicating agreement stack and frame format between PC and coordinator node are designed and developed. At last, Chapter 7 is a conclusion with the summary of the thesis and prospect research.
Table of contents
Abstract 4-6
Abstract 6-8
directory 8-12
the
diagram index 12-14
the
tables index 14-15
Chapter 1 Introduction 15-23
1.1 research significance 15-18
1.2 research status 18-21
1.2.1 United States the military NSOF system 18-20
the GDI system
1.2.2 UC Berkeley 20-21
1.2.3 domestic research situation 21
1.3 thesis Introduction 21-23
Chapter 2 ZigBee protocol in-depth study and understanding 23-45
2.1 Overview 23-25
2.1.1 Overview of wireless sensor networks 23
2.1.2 ZigBee and IEEE 802.15.4 Overview 23-25
2.2 ZigBee protocol architecture 25-27
2.3 application support sub-layer service access point (APS SAPs) 27-31
2.3.1 APS common frame format the APDU 27-28
2.3.2 and health value (KVP) and message text (MSG) 28-29
2.3.3 bind 29-30
2.3.4 transmission, reception, answering 30-31
2.4 network layer service access point (NWK SAPs) 31-41
2.4.1 set up network 32-33
2.4.2 discovery network 33-34
2.4.3 join the network 34
2.4.4 through the associated join the network 34-37
2.4.5 through direct way to join the network 37-39
2.4.6 receiver synchronization problem 39
the
layer 2.4.7 NWK common frame format nbsp NPDU; 39-40
2.4.8 address allocation algorithm and program 40-41
2.5 wireless network analyzer ZENA 41-42
2.6 data and content-based network 42-45
2.6.1 overlay network and distributed hash table mode 43
2.6.2 database schema 43
2.6.3 Publish / Subscribe (Publish / subscribe) mode 43-45
Chapter 3 system platform and hardware design 45-53
3.1 smart traffic simulation system Introduction 45-46
the
the 3.2 intelligent transportation software Tiss introduced 46-47
3.3 ZigBee technology in the intelligent traffic simulation system 47-48
3.4 based on ZigBee information publish / subscribe and signal control system 48-49
3.5 signal control subsystem 49-51
3.6 publish / subscribe subsystem 51-53
the
chapter 4 point hardware design and implementation of 53-63
4.1 ZigBee nodes overall hardware design 53-54
4.2 ZigBee node motherboard hardware design and implementation of 54-56
the
the 4.2.1 serial communication module 54
4.2.2 power module 54-55
4.2.3 RF circuit module 55-56
4.3 processor module 56-63
4.3.1 Master Synchronous Serial Port (MSSP) module and 57-58
4.3.2 Parallel Slave Port (PSP) module and 58
4.3.3 Capture / Compare / PWM (CCP) modules 58-60
4.3.4 Enhanced Universal Synchronous / Asynchronous Receiver Transmitter (EUSART) module 60-63
Chapter 5 ZigBee node software design and implementation of 63-89
5.1 node device endpoint design 63-64
5.2 three types of nodes, software design 64-70
5.2.1 coordinator node software design and state machine model 64-68
5.2.2 signal control node software design and state machine model 68-69
5.2.3 Information publish / subscribe node software design 69-70
5.3 based on ZigBee protocol stack node program design 70-87
5.3.1 build network 70-71
5.3.2 discover the network and to join the network 71-74
5.3.3 address allocation mechanism 74-77
5.3.4 bind 77-81
5.3.5 use the KVP way transmission control information 81-83
5.3.6 KVP transmission of data information 83-87
5.4 signal control subsystem implementation 87-88
5.4.1 semaphores phase sequence 87-88
5.4.2 semaphores speed 88
5.5 Information publish / subscribe subsystem implementation 88-89
Chapter 6 upper machine and lower machine communication protocol design and realization 89-95
6.1 signal control subsystem 89-92
6.1.1 host computer sends control information frames 89-91
6.1.2 The host computer sends the phase sequence data frames 91-92
6.2 publish / subscribe subsystem 92-95
6.2.1 host computer send part 92-93
6.2.2 host computer receiving part 93-95
Chapter 7 Summary and Outlook 95-97
Appendix 97-99
node in Appendix 1 motherboard schematic 97-98
Appendix 2-node motherboard the PCB Figure 98-99
the
References 99-103
Acknowledgements 103-104
Author 104
of the completion of the master's degree during academic 104
Related dissertations
- Design of Home Environment Monitoring System Based on ZigBee Technology
- The Research of Facility Agriculture Based on the Wireless Network
- The Research of Intelligent Building Fire Monitoring System Based on ZigBee
- The Design and Research of Community Security System Based on ZigBee
- Rearch on Intelligent Monitoring Technology That Access to Internet
- Video Surveillance System Based on Embedded Technology Research
- Remote Monitoring System Using in Smart Home
- The Research and Implementation of a Remote Monitoring System Based on Wireless Technology
- Design and Research on CSMA/CA algorithm embedded home burglar alarm system
- The Research and Design of the Dangerous Chemicals Monitoring System Based on the Integration of the RFID and ZigBee
- Study on the System of Greenhouse Environment Measurement Based on Zigbee Technology
- Design of Temperature Detecting and Image Monitoring System Based on ZigBee Technology
- A Design of Remote Wireless Warehouse Tempretura and Humidity Environment Intelligent Monitoring System Based on ZigBee
- Design of Farmland Environment Remote Monitoring System Based on ZigBee Network
- Research on Temperature Monitoring System for High-Voltage Switchgear Based on ZigBee
- Temperature Monitoring System Design Based on ZigBee and TS118-3
- Low Power Monitoring and Fuzzy Control of Environment Parameters for Facility Flower
- The Design and Implementation of Integrated Data Acquisiton Instrument Hardware Platform for Gas Station
- Wireless environmental monitoring system based on multi sensor data fusion
- Embedded Network Monitoring System Based on ZIGBEE