Research and Application Based on Linux Smart Home ZigBee Coordinator

Author
HuangJiaYu
Advisor
LiShaoRong
School
University of Electronic Science and Technology
Major
Electronics and Communication Engineering
Classification
TP273.5 Computer control, computer control system
Degree
Master's thesis
Year
2013
Downloads
25
Citations
0

Request the full text

Abstract

With the launch of the using of IPV6, the development of the cloud computing andthe starting of Smart City, an application of The Internet of Things is being pushedquick to the pinnacle of the development.Actually, the so-called Internet of Things is,onthe basic of ZigBee, that all of things are connected to the Internet.At the same time.ZigBee Coordinator, which is necessary, act as an core controling equipment in everyWireless Personal Area Network, more offen, it is also the only export to the internet inthe tree and star Wireless Personal Area Network. However, in the current market, oftena coordinator can fit their own production of End Device, leading to a sharp rise in thecost of the Internet of Things, naturally, greatly hindering the application of the Internetof Things in the smart home system. Its reason mainly comes from two aspects: one isthat the ZigBee protocol stack is not open source code, leading to increasing thedifficulty of the development, another is that the ZigBee protocol stack is not opensource code, leading to rising the difficulty of porting to others platform.Based on theconsideration above in the article, I am planning to develop a set of standard opensource interface protocol stack based on the ZigBee specification. More importantly, inthe open source code protocol stack can better let different end device manufacturersfollow the unified standard, so as to solve the current problem.The main work is asfollows:1、By being Deeped into study of the differences in Linux platform and IARdevelopment platform, contiki free open source real-time operating system was portedto IAR development platform. And in accordance with the actual needs of theobject,parts of function module of the Contiki operating system,which are notnecessary,was cuted. At the same time, the system comes with dynamic memoryallocation was deleted, instead of taking the static allocation method to optimizememory. On the basis,the CC2530chip driver was added.2、The design is based on Contiki operating system ZigBee protocol stack layeredcommon standardized communication interface, memory allocation internal functiondesign and layered to achieve the physical layer and media access layer, network layer, the basic framework of the application layer, and do the test.3、For the issues of Remote terminal portability, designed and implemented aWeb-based network module, Web control terminal can be achieved by networkingequipment.4、Coding and achieving the corresponding application of the ZigBee coordinatorZigBee terminal on ZigBee protocol stack under the Contiki operating system.On thisbasic, do a set of related test under the smart home environment.

Table of contents

Summary 5-6 ABSTRACT 6-13 first chapter background 13-19 1.1 research topic 13 - 15 coordinator development Status 1.2 purpose and significance of the study 15-16 1.3 major work 16-18 1.4 article 18-19 The second chapter ZigBee coordinator system framework design 19-30 2.1 hardware platform introduces 19-21 2.2 ZigBee communication modulation coding theory 21 -22 2.3 ZigBee network constitutes the basic principle 22-24 2.4 software system design coordinator 24-28 2.4.1 coordinator overall software architecture design 24 2.4.2 ZigBee protocol stack module design 24-28 2.4.3 Web terminal control module design 28 2.5 Summary 28-30 Chapter Contiki porting and accessibility implementation 30-42 3.1 Contiki operating system principles introduced 30-32 3.2 Contiki system transplant 32-36 3.3 protocol stack accessibility design 36-39 3.3.1 system timer technical presentations 37-38 3.3. 2 protocol stack frame buffer mechanism to achieve 38-39 3.3.3 specific memory allocation to achieve fast 39 3.4 system migration test 39-41 3.5 Summary 41-42 Chapter IV PHY layer and MAC layer software design and implementation 42-68 4.1 PHY layer software design and implementation 42 - 50 4.1.1 PHY layer software functional design 42-44 4.1.2 PHY layer functions to achieve 44-50 4.1.2.1 underlying driver that implements the interface achieve 44-47 4.1.2.2 received frames 47-48 achieve 4.1.2.3 packets sent 48-50 4.2 MAC layer software design and implementation 50-64 4.2.1 MAC layer functions and frame format 50-52 4.2.2 MAC layer of the overall software framework designed 52 -54 4.2.3 to send and receive data frames to achieve 54-58 4.2.3.1 data Frame function implementation 55-57 4.2.3.2 retransmission mechanism to achieve 57-58 4.2.4 management services to achieve 58-64 4.3 test Design 64-67 4.4 Summary 67 - Chapter 68 network layer and application layer software design and implementation 68-100 5.1 network layer software design and implementation 68-84 5.1.1 network layer Functionality and frame format 68-70 5.1.2 overall network layer software framework designed 70-78 5.1.3 NWK management services software design 78 - 84 5.1.3.1 network setup functions to achieve 78-82 5.1.3.2 network nodes to join the sub- device -side implementation 82-83 5.1.3.3 network nodes to join parent device -side implementation 83-84 5.2 application layer design and implementation 84-96 5.2.1 software application support sub-layer model design 84-90 5.2.2 application framework software model design 90-94 5.2.2.1 data frame transmission to achieve 91-93 achieve 5.2.2.2 endpoint registration function 93 5.2.2.3 application Framework main monitoring process 93-94 5.2.3 software device object model design 94-96 5.3 ZigBee protocol stack system and test design 96-99 5.4 Summary 99-100 Chapter VI control terminal module software design 100-107 6.1 control Terminal system platform introduces 100-102 6.2 software module 102-106 6.2.1 Web client application design 104 6.2.2 CGI programming 104-105 6.2.3 serial transmission and reception functions 105-106 section 6.3 of this chapter 106-107 Chapter VII application and test analysis 107-115 7.1 ZigBee coordinator application 107-108 7.2 smart home system test 108-115 Chapter VIII summary and Outlook 115-117 Thanks 117-118 References obtained during 118-121 attack Shuo research 121-122

Related dissertations

  1. Internet of Things Experimental Box Management System of the Host Computer
    HuangPeiPei ·Wuhan University of Technology ·2012 ·Master's thesis
  2. Research of Smart Home Network System Design Based on ZigBee Technology and Embedded Web
  3. Smart home remote control system
    HeYiZuo ·Heilongjiang University ·2007 ·Master's thesis
  4. The Application Study of Smart Home Based on Zigbee Wireless Communication Technology
    MaZuoZuo ·Wuhan University of Technology ·2007 ·Master's thesis
  5. Smart Home Manage System Based on Ethernet and FPGA
    WuLuWang ·Jiangsu University ·2007 ·Master's thesis
  6. The Study of Embedded Web Server System for the Smart Home Based on the Windows CE OS
    ZhangMinJie ·Zhejiang University of Technology ·2007 ·Master's thesis
  7. Research and Realization of Smart Home Controller Based on Ethernet
  8. ZigBee Technology Applied in Intellectualized Home
  9. M&A Synergistic Research Based on Network Perspective
    YuanXin ·Beijing Jiaotong University ·2013 ·Doctoral dissertation
  10. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  11. Engine Room Monitoring System Based on the Embedded Web Server
  12. Design of Embedded Construction Safety Video Monitoring System Based on S3C6410
    LiuZhengPing ·Hunan University ·2013 ·Master's thesis
  13. Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
    JinPing ·Central South University ·2013 ·Master's thesis
  14. Smart Home Monitoring System Based on Ni Wireless Sensor Network
    LuZuoChao ·Zhejiang Normal University ·2013 ·Master's thesis
  15. Data Acquisition System of Cavern Based on Embedded Web Server
  16. Research on Smart Home System Based on Zigbee
  17. Based on the Samsung2440Embedded Home Furnishing Design and Implementation of Intelligent Control System
  18. The Embedded Smart Home System Based on QT and GSM
    WuTong ·Hebei University of Technology ·2012 ·Master's thesis
  19. The Research on Smart Home Management Service
    YeLiLi ·Tianjin University ·2012 ·Master's thesis
  20. A Terminal Software Design and Implementation of Smart Home Based on the Android Platform