Research and Implementation of MAC Layer for ZigBee Protocol Stack in Internet of Things
- Author
- LiChunXi
- Advisor
- DengHuaQiu
- School
- South China University of Technology
- Major
- Optics
- Classification
- TN929.5 Mobile Communications
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 314
- Citations
- 0
Abstract
In the era of internet of things, due to its characteristics of short-range, low-complexity,self-organization, low-power, low data rate and low-cost, ZigBee has been widely applied inthe field of short distance wireless communication with prosperous prospects.Nowadays, in domestic, most of the studies in regards of ZigBee technology is conductedon application stage rather than on research and implementation of ZigBee protocol stackitself. Furthermore, there is not even a complete set of ZigBee protocol stack withindependent property intellectual being developed and found in China mainland. Protocolstack provided by foreign chip manufactures here is always bind with chip and only providesAPI function of encapsulation. This seriously hinders domestic users to further develop andutilize ZigBee technology. For above reasons, the aim of this dissertation is to develop a tidyZigBee protocol stack with independent property rights using stratification from ground.Major contributions presented in this dissertation are as following:Firstly, based on profound study and analysis on the content of IEEE802.15.4and ZigBeespecification PRO, the content of protocol has been cut properly and the severe mainfunctions of protocol stack has been extracted as main goals according to project requirementsand laboratory hardware facilities.Secondly, a hardware platform is established with AT86RF212as RF module andATmega128as MCU, both of which are from Atmel Company. Then the physical layer andMAC layer are designed and implemented under this hardware platform. Researches aremainly conducted on the process of MAC layer implementation to achieve and obtain asimple but effective MAC layer module.In the end, based on the achieved physical layer and MAC module, a ZigBee starnetwork is designed, implemented and ported to the hardware platform for experimentalvalidation. The algorithm of stack allocation address being brought forward during thisprocess will greatly accelerate the speed of network networking and improve the stability ofthe overall network.
Table of contents
Summary 5-6
Abstract 6-10
first chapter 10-13
1.1 Background 10 <br / > 1.2 domestic and foreign research status purpose and meaning 10-11
1.3 topics 11
1.4 the main contents and chapter arrangement 11-13 <br / > the second chapter ZigBee technology Overview 13-21
2.1 ZigBee technology 13-16
2.1.1 ZigBee origins 13
2.1.2 history of the development of ZigBee technology 13-14
2.1.3 ZigBee technology features and application 14
2.1.4 ZigBee technology in the Internet of Things in 14 - 15
2.1.5 ZigBee technology nbsp comparison with other short-range wireless communication technology ; 15-16
2.2 ZigBee protocol architecture Introduction 16-18
2.3 ZigBee device type 18
2.4 ZigBee node types and network topologies 18-20
2.4.1 Star topology 19
2.4.2 mesh topology 19
2.4.3 tree network topology 19-20
2.5 Summary 20-21
Chapter III ZigBee development platform 21-32
3.1 RF chip select 21
introduce 3.2 AT86RF212 is 21-27
3.2.1 AT86RF212 SPI interface and access mode 22-24
3.2.2 AT86RF212 interrupt logic 24-25
3.2.3 AT86RF212 operating mode 25-27
3.2.4 frame Buffer 27
3.3 MCU selection and presentation overall 27-28
3.4 development system introduced 28-31
3.5 Summary 31 - design 32
Chapter IV of the physical layer and implementation conceptual 32-40
4.1 ZigBee technology primitives 32-33
4.2 physical layer analysis 33-35
4.2.1 ZigBee operating frequency range 33-34
4.2.2 Chinese WPAN band standards 34
4.2.3 physical Layer protocol Data cell structure achieve 4.3 physical layer 34-35
35-39
4.3.1 physical frequency programming 35-36
4.3.2 information Base (PIB) to set and get 36
4.3.3 channel energy detection (ED) 36
4.3.4 link quality indication (LQI) 36
4.3.5 Clear Channel Assessment (CCA) 36-37
4.3.6 SPI access mode programming 37
4.3.7 transceiver state machine programming 37-38
4.3.8 power Management 38-39
4.4 Summary design 39-40
Chapter and implementation of the MAC layer 40-54
5.1 MAC layer service specification 40
5.2 channel access 40-43
5.2.1 superframe 41 -42
5.2.2 CSMA-CA channel access algorithm and its implementation 42-43
5.3 MAC layer frame structure 43-46
5.3.1 letter standard frame structure 45
5.3.2 data frame structure 45-46
5.3.3 acknowledgment frame structure 46
5.3.4 command frame structure 46
channel scanning to achieve 5.4 MAC layer 46-48
5.4.1 energy Scan 47-48
5.4.2 active scanning 48
5.4.3 passive scanning 48
connectivity and response 5.5 MAC layer 48-51
5.5.1 MAC layer functions to achieve a connection request 49-50
5.5.2 MAC layer to achieve the response function sending and receiving nbsp 50-51
5.6 MAC layer data ; 51-52
send nbsp 5.6.1 MAC layer data ; receiving nbsp 51
5.6.2 MAC layer data ; 51-52
5.7 MAC layer test 52-53 <br / > 5.8 Summary design and implementation of Chapter VI 53-54
ZigBee star network 54-60
6.1 overall design 54
6.2 design and Implementation coordinator 54-57
6.2.1 coordinator accepts terminal node network design 55-56
6.2.2 coordinator receives data design 56-57
6.3 terminal node network design 57-58
6.3.1 terminal node network design 57-58
6.3.2 terminal node data transmission design 58
6.4 ZigBee star network program 58-59
6.4.1 coordinator networking to achieve 58
6.4.2 terminal network nodes to achieve 58-59
6.5 Star network test 59
6.6 summary 59-60
summary and Outlook 60-62
summary 60
Looking 60-62
References made ??during 62-65
master's degree research 65-66
Thanks 66-67
accessories 67
Related dissertations
- Wireless Meter Reading System Based on ZigBee and a Study on Standard Establishment Approach
- Design of Wireless Network in Smart Home Based on ZigBee Technology
- Research on the Development Strategy of the Internet of Things in Heilongjiang Province
- The Research on Supply Chain Management of Jingdong Mall in the Environment of the Internet of Things
- Study on Marketing Strategy of Mobile IOT Terminal of GL Company
- Supply Chain of Agricultural Products Quality Control Study Based on Internet of Things
- Research on Application of Internet of Things in the Modern Agriculture
- The Smart City Developmental Strategy Research of Digitalchina
- Study on the Construction of Baicheng New District System of Smart City
- Modeling and Simulation of Contention-Collision Cancellation Mode Type Ⅳ Double-Star Network
- The Research of Anti-Collision Algorithm in RFID
- Information Management System of Precision Cow-feeding Based on the EPC of the Internet of Things and RFID
- Research on Routing Protocols for Wireless Body Area Network
- The Research of Information Push System Based on Internet of Things
- Researches on OSGI-based Distributed Service Sharing Middleware
- Simulation Research on the System of Internet of Things
- Lab Equipment Management System Based on the Internet of Things
- Application of UPnP and ZigBee Hybrid Network in Intelligent Home Network
- Resarch on Intelligent Home Furnishing Security Monitoring System Based on Wireless Sensor Networks
- QoS Routing Strategy of Large-scale Wireless Sensor Network