基于Zigbee的智能灯光控制系统设计 - 图文

发布时间 : 星期六 文章基于Zigbee的智能灯光控制系统设计 - 图文更新完毕开始阅读

本科生毕业设计(论文)

题 目: 基于Zigbee的智能灯光

控制系统设计

姓 名: 冯祥勋

学 号: 11S010900926

学 院: 电气工程与自动化学院

专 业: 电气工程与自动化(自动化方向)

年 级: 2009级

指导教师: (签名)

2013 年 05 月 20 日

摘要

在现代社会,自动化与智能程度不断提高的今天,家居智能管理必然是人们今后的唯一选择。本文主要研究对象为家庭的照明,在通过比较传统照明方式,研究目前较应用的照明控制中发现家庭照明中往往存在一些致命的问题,如照明控制方式落后,甚至很大程度都还是采用机械开关,安全系数低,舒适性差,布线复杂等。由于这些控制方式上的不足,极大的造成能源的浪费,甚至在控制的误区里出现室内无人,却灯火通明的现象。针对这些不足,需要对控制做一个进一步的研究与开发。

本文较全面的研究了传统照明、现代照明的特点,通过比较得出优缺点,提出一种基于Zigbee的无线智能控制方案,即采用两块Zigbee功能板,一块导入光敏传感器和热释红外传感器,用作信号发射,另一块接入继电器模块,接收信号并控制灯光亮灭。在这种控制方式下,只有室内有人,且光线不足时才点亮所需灯光,而在室内无人,光线不足的情况下,灯不亮,采用这样的控制方式能很好解决误开断和能源浪费的问题。论文中详细介绍了整个控制系统的功能和控制策略,软件程序设计包括LED灯初始化、光敏传感器初始化、PIR传感器初始化、协议栈初始化,串口通讯等。

最后,在模拟实际环境下,测试可行性与性能。实验证明,采用Zigbee无线控制能有很好的控制效果,并且可以显著提高节能效果,改善“无人灯亮”的问题。

关键词:Zigbee,光敏传感器,热释红外传感器,节能

I

Abstract

With the improvement of the automation and intelligence in the modern society, home intelligent management inevitably becomes the only option for people in the future. By comparing the traditional lighting, this paper discovers some fatal problems on the control of home lighting, such as backward way of lighting control, namely, mechanical switch, which has low coefficient of safety, poor comfortablity and complex wiring. These shortages result in great waste of energy as well as nobody appears but brightly lighted in mistaken area. In order to make up these deficiencies, it needs to make a further research on the control system.

This paper has made a comprehensive study on the characteristics of traditional lighting and modern lighting by comparing the advantages and disadvantages and has put forward a wireless intelligent control scheme based on Zigbee, which use two pieces of Zigbee function board: one worked as a signal emission, conducting the photosensitive sensor and pyroelectric infrared sensor; the other connected to the relay module receives the signal and controls the lights. Under this kind of control mode, only when the interior has people with insufficient light will the light lights. Otherwise it won’t. This control method can well solve the problem of open circuit by mistake and energy waste. This paper details the function of control system, control strategy and software design including the LED lights initialization, light sensor initialization, PIR sensor initialization, protocol stack initialization and serial communication, etc..

Finally, this paper tests the feasibility and performance in a simulated environment. The result shows that Zigbee wireless control not only has a good control effect, but also significantly improve the effect of energy saving and improve the problem of lighting up while there is nobody.

II

联系合同范文客服:xxxxx#qq.com(#替换为@)