密 级
桂林电子科技大学
硕 士 学 位 论 文
(全日制专业学位硕士)
题目 基于 ZigBee 的智能家居物联网系统设计
(英文) The Design of IoT System for
Smart Home Based on ZigBee
研 究 生 学 号: 研 究 生 姓 名: 指导教师姓名、职务: 申 请 学 位 门 类: 学 科、专 业 名 称: 提 交 论 文 日 期: 论 文 答 辩 日 期:
1108520824 田仲明
覃远年(副教授) 工程硕士 电子与通信工程 2014 年 4 月 2014 年 6 月
??摘要
摘要
智能家居是一种利用先进的计算机技术、嵌入式系统和网络通信技术将家庭中的 各种设备通过网络连接到一起的物联网系统。当前市面已经出现的智能家居产品中, 存在组网复杂、成本高、便捷性差、受众人群有限等诸多问题。
本课题应用 ZigBee 无线通信技术和电视机 Android 平台,以 CC2530 作为终端模 块来实现智能家居的局域网组建。随着智能电视、云电视的普及,用户无需在电脑上 进行复杂的操作,就可以让家庭生活的变得更加舒适、安全和便捷。
本文的研究工作包括:
1) 对智能家居需要实现的功能进行分析,设计智能家居的整体方案,并对ZigBee 芯片进行选型。
2) 智能家居硬件模块的设计和测试。其中协调器以 CC2531 为核心,实现中枢 传输的作用;终端模块以 CC2530 为核心,实现监控家庭的安全,控制家用电器,以 及统计家庭电量的等功能。
3) 通过对 ZigBee 标准协议的分析,选用 TI 公司的 Z-Stack 协议栈,制定出一套 符合智能家居性能要求的通讯协议,编写了系统的驱动代码和应用层代码,同时根据 智能家居的特点对终端节点的软件进行优化和调整。
经测试,本课题所设计的智能家居系统可以保证软硬件长时间持续稳定的工作, 能够准确采集数据并可实时调整家居环境。本设计在电视机 Android 界面上进行智能 家居的控制操作,在国内尚属首次,具有创新性和实用性。经过实际的开发和市场调 研,已经可以达到预期的效果。
关键词: 智能家居, ZigBee, CC2530, 电视机
I
??Abstract
Abstract
Smart Home is one of the IoT system which use advanced computer technology,
embedded system and network communication technology to connect various house applications via a network. There are many problems among the Smart home products exists in the current market, such as network complexity, high cost, convenience poor, limited audience crowd and other shortcomings.
This system adopt ZigBee wireless technology and TV Android platform, using CC2530 as the terminal module to achieve smart home LAN, the user use TV as the operating platform, through three terminal modules to monitor home security environment, control appliances, accounting electricity statistics household use. With the popular of the Smart TV and Cloud TV, there is no need of a complex operations on the computer, which is convenient for those who are not familiar to the computer like older people and others, then a more comfortable, safer, more convenient house life could realized.
Researches in this paper:
(1) Scrutinize relevant documents to analyze and verify the feasibility of the system, and carried out the selection ZigBee chip.
(2) Implement all functions of the system, we conduct a design of coordinator, intelligent control module, security monitoring module and power statistics module, in which CC2531 as the core of the coordinator, to achieve a central role in transmission. CC2530 as the core of the terminator to monitoring home security, to change family living environments, control household appliances and count power statistics.
(3) After a deep research on the topology structure of ZigBee wireless communication network, and in-depth analysis of the ZigBee standard protocol, we choose Z-Stack protocol stack of TI Corporation and compile sensor and controller driver code and application layer code, meanwhile according to the characteristics of the system we optimize the software of terminal nodes.
After the test and validation, the entire structural framework and communication protocols of IoT TV has been erected in this paper, The Smart Home system designed could ensure the continued stability of hardware and software for a long time, and could accurately capture sensor data and real-time adjusts home environment. The design of Smart home is the first time on TV Android operating interface, but also the first time in the country, with innovative and practical. The effect demonstrated can be achieved through development and market research.
Key words: Smart Home, ZigBee, CC2530, TV