Analysis and Implementation of MAC and Network Layers of ZigBee Protocol Based on Real-Time Operating System

Author
HaoPeng
Advisor
ZhangChengJin , ChenDongYan
School
Shandong University
Major
Control Theory and Control Engineering
Classification
TN929.5 Mobile Communications
Degree
Master's thesis
Year
2011
Downloads
121
Citations
0

Request the full text

Abstract

In recent years, ZigBee is developed as a low power consumption, low-cost WSN communication protocol, which is suitable for the fields of smart home, intelligent agriculture, industrial data collecting and etc. As the rapid development of these WSN applications, the requirements to communication protocols in terms of stability, throughput, real-time when transmitting are becoming more stringent. Among of these, the real-time response time directly affects the highest transmit frequency that the ZigBee communication protocol can reach to, which also in turn determines the communication performances of WSN and restricts the applications of ZigBee in some high real-time required areas. Currently, the Z-Stack, which is a main ZigBee protocol stack developed by TI Corporation, is realized based on a non-real-time operating system named OSAL. While in domestic ZigBee areas, most of corporations just simply make use of TI’s protocol stack without improving the operating system. Thus, it is quite important to introduce the real-time operating system into ZigBee in order to efficiently manage stack and enhance its real-time property. Besides, the standards of low power consumption and working stability should be guaranteed as well. This thesis started from the real-time system, systematically described the implementation of MAC layer and network layer in ZigBee protocol stack which is based on FreeRTOS, and in turn analysed the performances.The main work arranged as follows:Ⅰ. The construction of hardware plant.MSP430F5438 microcontroller is used as the core processor module and CC2420 chip is selected as the RF transceiver to construct a stable plant for ZigBee protocol stack.Ⅱ. Real-time operating system.FreeRTOS, which is a totally open sourced and free real-time operating system, is utilized as original working basis. This thesis introduces the improved operating system into ZigBee protocol stack to build a stronger foundation in terms of real-time and low power consumption.Ⅲ. The implementation of the MAC layer of ZigBee protocol.Cygwin and IAR Embedded Workbench are used to complete the MAC layer with C language.Ⅳ.The implementation of the network layer of ZigBee protocol.Above mentioned tools are also used to conduct code implementation of Network layer.Ⅴ. Experiments and evaluations.Testings and contrastive analysis are carried out to evaluate the reliability, throughput, real-time property and power consumption of ZigBee protocol.At the last part of the thesis, the main contents are summarized and suggestions of the future research work in this field are given.

Table of contents

Abstract 10-12 abstract 12-14 acronyms 14-15 Chapter 1 Introduction 15-23 < br /> 1.1. topics background 15-17 1.2 the WSN protocol nbsp Research; 17-20 1.3 In this paper, and chapters arrangements 20 - 23 Chapter 2 wireless sensor node hardware design 23-31 2.1 overview of the wireless sensor node structure 23 2.2 processor module 23-24 2.3. wireless RF module 24-26 2.4 A / D conversion module 26-27 2.5. serial communication module 27-28 2.6. power module 28-29 nbsp 2.7 of this chapter summary; 29-31 Chapter 3 FreeRTOS real-time operating system 31-37 3.1 real-time operating system overview 31-33 3.2 real-time operating system on the importance of WSN 33 3.3 FreeRTOS real-time operating system Introduction 33-34 3.4. modified FreeRTOS 34-36 3.4.1 Memory Management 34-36 3.4.2 Clock timing piece 36 350 of this chapter Summary 36-37 the chapter 4 ZigBee protocol MAC layer design and realization 37-73 4.1 MAC protocol analysis. WSN 37-39 4.1.1 MAC layer duties and energy consumption analysis 37-38 4.1.2 MAC layer classification introduced 38-39 4.2 the ZigBee MAC layer protocol Overview 39-41 4.3. the ZigBee protocol MAC layer to achieve 41-60 4.3.1 setting function of the basic properties of the MAC layer 42-44 4.3.2. the Channel Scan 44-48 4.3.3 Network Information update 48 - 49 4.3.4. network devices are connected and disconnected 49-51 4.3.5. frames transceiver 51-60 4.4 ZigBee protocol MAC layer integrated functions programming 60-66 4.4.1 PAN of the construction and management; nbsp 60-61 4.4.2. communication nbsp task; 61-66 4.5 MAC layer experiments and performance analysis 66-71 4.5.1 point-to-point data transceiver experiment 66-69 4.5.2. many-to-one data transceiver experiments 69-70 4.5.3 CSMA-CA algorithm testing laboratories 70-71 4.5.4. power consumption Test 71 4.6. Chapter Summary 71-73 Chapter 5 ZigBee network layer protocol design and implementation of 73-93 5.1 ZigBee network layer Overview 73-74 <br / > 5.2. topology of the network layer 74-76 5.3 the basic functions of the network layer to achieve 76-82 5.3.1 data entities function 76-77 5.3.2. managed entity's functional 77-82 5.4 network address assigned 82-84 5.5 routing algorithm 84-88 < br /> 5.6. Network Layer Lab and performance analysis 88-91 5.6.1. networking experiment 88-90 5.6.2. the network reliability Experimental 90-91 5.6.3. the network robustness test 91 Summary of 570 of this chapter; nbsp nbsp 91-93 Chapter 6 Summary and Outlook; 93-95 6.1. In this paper, 93-94 6.2. follow-up research 94-95 appendix to a development environment 95 - 97 Appendix B part of the program source code 97-101 the refer to literature the Acknowledgements nbsp 101-107; 107-108 the graduate during published (hiring) Papers and involved in the project 108-109 dissertation a review and the respondent Table 109

Related dissertations

  1. Design of Home Environment Monitoring System Based on ZigBee Technology
    ZhangXinShun ·Dalian Polytechnic University ·2012 ·Master's thesis
  2. The Research of Facility Agriculture Based on the Wireless Network
    WangYueLi ·Tianjin University of Technology ·2013 ·Master's thesis
  3. The Research of Intelligent Building Fire Monitoring System Based on ZigBee
    GuoZhenYin ·Hebei University of Technology ·2013 ·Master's thesis
  4. The Design and Research of Community Security System Based on ZigBee
    XuBo ·Hebei University of Technology ·2013 ·Master's thesis
  5. Rearch on Intelligent Monitoring Technology That Access to Internet
  6. Video Surveillance System Based on Embedded Technology Research
  7. Remote Monitoring System Using in Smart Home
  8. The Research and Implementation of a Remote Monitoring System Based on Wireless Technology
    XiaHouYaoHong ·Jiangxi Normal University ·2013 ·Master's thesis
  9. Design and Research on CSMA/CA algorithm embedded home burglar alarm system
  10. The Research and Design of the Dangerous Chemicals Monitoring System Based on the Integration of the RFID and ZigBee
    LiYun ·Ningxia University ·2014 ·Master's thesis
  11. Study on the System of Greenhouse Environment Measurement Based on Zigbee Technology
  12. Design of Temperature Detecting and Image Monitoring System Based on ZigBee Technology
    WangLei ·Nanjing University ·2012 ·Master's thesis
  13. A Design of Remote Wireless Warehouse Tempretura and Humidity Environment Intelligent Monitoring System Based on ZigBee
    XiongShuangQiao ·West China University ·2013 ·Master's thesis
  14. Design of Farmland Environment Remote Monitoring System Based on ZigBee Network
    GuoJia ·Henan Agricultural University ·2013 ·Master's thesis
  15. Research on Temperature Monitoring System for High-Voltage Switchgear Based on ZigBee
    DingDaoZhen ·Jimei University ·2013 ·Master's thesis
  16. Temperature Monitoring System Design Based on ZigBee and TS118-3
    PengDi ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  17. Low Power Monitoring and Fuzzy Control of Environment Parameters for Facility Flower
    ZhangZuo ·Nanjing Agricultural College ·2013 ·Master's thesis
  18. The Design and Implementation of Integrated Data Acquisiton Instrument Hardware Platform for Gas Station
  19. Wireless environmental monitoring system based on multi sensor data fusion
  20. Embedded Network Monitoring System Based on ZIGBEE