Design and Implementation of Gateway and EndDevices Based on ZigBee in Smart Home

Author
ZhuZhangWei
Advisor
HuChengQuan
School
Jilin University
Major
Computer System Architecture
Classification
TN929.5 Mobile Communications
Degree
Master's thesis
Year
2013
Downloads
439
Citations
0

Request the full text

Abstract

ZigBee is a short distance, low data rate, low power consumption, low complexity andlow cost two-way wireless communication technology based on IEEE802.15.4standards.ZigBee has been maintained and developed standards by the ZigBee alliance. ZigBeeAlliance was founded in2002, which is an open, non-profit organization. Any enterprise,university and government around the world can join the group, whose behavior and thedirection decided by each member. In short, ZigBee is a highly reliable wireless datatransmission network, similar to the CDMA and GSM mobile communication network.ZigBee data transmission module is similar to a mobile network base station, generallyused for short-distance, low-data-rate communications applications, but it supportsunlimited expansion. ZigBee network can accommodate up to65,000wireless modules,including full-function device node (FFD) and limited-function device node (RFD).This paper, which is supported by Changchun Science and Technology Plan Projects:"smart home key device research and development in Internet of Things", has designed andimplemented the hardware and software of intelligent home gateway, sensor node andcontrol node based on ZigBee.The hardware of this paper mainly uses the TI LM3S9B96chip, CC2520chip andCC2530chip. LM3S9B96is a32bit microcontroller based on ARM Cortex-M3, using theThumb-2instruction set. The microcontroller has rich peripheral interfaces andStellarisWare software package provided supported by TI, making it easy for applicationdevelopment. CC2520is TI’s second generation ZigBee/IEEE802.15.4RF transceiver,and it uses the2.4G license-free ISM band. Then this article introduced the design ofgateway consisting of LM3S9B96and CC2520. CC2530is system-on-chip solution for2.4GHz IEEE802.15.4and ZigBee Applications. The system-on-chip contains the8051CPUkernel and2.4GHz wireless transceiver.The software mainly adopts the TI StellarisWare software package, Z-Stack protocolStack and the free open source real-time system FreeRTOS, TCP/IP protocol Stack LwIP,etc. As this paper designed ZigBee network node using CC2530, these nodes may havesensors and controllers; Design the ZigBee gateway with LM3S9B96and the CC2520. Thegateway is responsible for FreeRTOS and LwIP transplantation based on Z-Stack, also includes the ZigBee network management, data cache and upload information onApplication layer for smart home. ZigBee network node is mainly to add sensor and thecontrol program of controller on the basis of Z-Stack, and also set parameters of the upperdata.With the rapid development of technology and the improvement of people’s livingstandard, people pay more attention to the quality of life. Smart home has attracted moreand more attention and expectations. As the increased demand of home environmentcomfort and safety, the smart home system is also developed rapidly. Traditional intelligenthome system has the shortcomings of complex installation, high power consumption,uneasy expand, high cost and difficult maintenance. In this paper, the design of smart homesystem not only can satisfy the basic requirements, but also remove the disadvantages of thetraditional intelligent house system, improve the flexibility of the system, and is easy toconnect to other devices.

Table of contents

Summary 4-6 Abstract 6-10 Chapter 1 Introduction 10-14 1.1 research background and significance 10 -11 1.2 Status of smart home systems research 11-12 1.3 dissertation research structural arrangements 12-13 1.4 papers 13 - 14 Chapter 2 ZigBee -based smart home network system requirements analysis 14-20 2.1 system Requirements 14-15 2.2 main function modules 15-17 2.3 key technologies used 17-18 2.4 overall system architecture design 18-20 Chapter 3 smart Home System design and terminal nodes achieve 20-40 3.1 terminal node hardware components Profile 20-21 3.2 terminal node hardware circuit detailed design 21-27 3.2.1 CC2530 RF module 21-22 3.2.2 temperature and humidity sensor circuit module 22 3.2.3 light sensor circuit module 22-23 3.2 .4 body infrared sensor circuit module 23-24 3.2.5 combustible gas sensor circuit module 24 3.2.6 remote control electric curtain circuit module 24 - 25 3.2.7 alarm circuit module 25-26 3.2.8 CC2530 power measurement circuit connected to the socket and 26-27 3.3 terminal node driver Design achieve 27-33 3.3.1 temperature and humidity acquisition -driven design and implementation 27-30 3.3.2 lighting collection drive designed to achieve 30 3.3 .3 body infrared acquisition -driven design and implementation 30-31 3.3.4 combustible gas concentrations acquisition -driven design and implementation 31-32 3.3.5 information collection and electricity metering socket set program design and implementation 32-33 3.4 based terminal node application layer design Z-STACK achieve 33-40 3.4.1 CC2530 -based Z-Stack study of 33-36 3.4.2 CC2530-based Z-Stack application Design 36-38 3.4.3 ZigBee network communication frame format design 38-40 smart Home gateway Chapter 4 system Design and Implementation 40-57 4.1 Introduction intelligent gateway hardware module 40 4.2 intelligent gateway hardware detailed design 40-48 4.2.1 gateway wireless RF design 40-44 4.2.2 SD card connector circuit design 44-45 4.2.3 RS232 circuit design 45-46 4.2.4 TFT touch screen circuit design 46-47 4.2.5 key circuit design 47 4.2.6 LED circuit design 47-48 4.3 intelligent Gateway software system designed to achieve 48-55 4.3.1 intelligent Gateway software system architecture 48-49 4.3.2 LwIP agreement stack transplant on Z-Stack is 49 4.3.3 and FreeRTOS based on the Socket LwIP design 49-52 4.3.4 gateway software application design 52-55 4.4 smart home system operation and testing 55-57 Chapter 5 summary and Outlook 57-59 5.1 summary 57-58 5.2 Prospect 58-59 References About 59-62 authors and learning gained during research 62 -63 Thanks 63

Related dissertations

  1. The Design of Smart Home Based on Zigbee
    OuYangWuLin ·Zhejiang University of Technology ·2013 ·Master's thesis
  2. Research and Design of Smart Home Gateway Based on Embedded Technology
    LiLingLing ·West China University ·2013 ·Master's thesis
  3. Research on Smart Home System Based on Zigbee
  4. The Embedded Smart Home System Based on QT and GSM
    WuTong ·Hebei University of Technology ·2012 ·Master's thesis
  5. Embedded System Applications in the Smart Home
    MingHang ·Hubei University ·2013 ·Master's thesis
  6. The Research on Service Algorithm Based on User Behaviors in the Smart Home
    LiuHao ·Hunan University ·2013 ·Master's thesis
  7. The Research and Design of Smart Home System Terminal Controller Based on ZigBee
    CheXiLong ·Chang'an University ·2013 ·Master's thesis
  8. Design and Implementation of the Smart Home System
  9. Design and Implementation of Internet of Things Prototype System for Smart Home
  10. Research and Design of Smart Home System Based on ZigBee Technology and Face Recognition
    ZhouXianEn ·Donghua Polytechnic University ·2013 ·Master's thesis
  11. Design and Implementation of Smart Home System Based on Internet of Things
  12. Design and Development of Experimental Teaching Platform of IOT Based on ZigBee Protocol
    SunGuanNan ·Shandong Normal University ·2014 ·Master's thesis
  13. IOT Gateway Design Based on ZIGBEE and TCP
  14. Communication of DC Micro_Grid and It's Energy Management System
    ShenChuZuo ·Yangzhou University ·2013 ·Master's thesis
  15. Design and Implementation of Infrared Transponder in Smart Home Based on ZigBee
    YuanMengJue ·Chang'an University ·2013 ·Master's thesis
  16. Information Security Research of Smart Home Safeguard System Based on ZigBee
  17. Design of Smart Home System Based on Ethernet and ZigBee
    XuWan ·Taiyuan University of Technology ·2012 ·Master's thesis
  18. A Design and Implementation of Smart Home System and the Coordinator Node
  19. The Design of Modular Smart Home Control System Based on ARM9
    CheXiaoWei ·Southwest Jiaotong University ·2013 ·Master's thesis
  20. Design and Implementation of Smart Home System Based on ARM
    YanHaiYang ·Harbin Institute of Technology ·2013 ·Master's thesis