天津工业大学本科毕业论文
图5-3 光线较暗时有人状况下信号采集实物图 图5-4 光线较亮时无人状况下信号采集实物图
26
天津工业大学本科毕业论文
5.3系统整体测试
各个模块连接好,上电,写入程序。按下KEY1,LED点亮,现象如图5-5所示。按下KEY3时,LED熄灭。按下KEY2当光线过低时,并且有人在周围活动,LED显示相应亮度,由此可以看出系统进入了自动控制模式。接下来当KEY1或KEY3按下时LED会对应完全点亮或熄灭。如表5-1所示。以上得出结论,测试成功,该系统已经实现目标功能。
图5-5 系统整体运行实物图
表5-1外部环境及对应LED输出表
按键 KEY1 KEY2 KEY3 光线较强或 周围没有人活动 LED完全打开 LED关闭 LED关闭 光线较暗并且 周围有人活动 LED完全打开 LED小夜灯模式 LED关闭 光线非常暗并且 周围有人活动 LED完全打开 LED完全打开 LED关闭 27
天津工业大学本科毕业论文
结束语
该系统以STM32单片机为主控芯片,利用光敏传感器模块和热释电红外传感器模块,并设计了对应程序进行外部信息采集。通过MCU控制器,判断和处理当前环境信息,控制占空比来进行相应PWM输出,以达到我们需要的照明环境。
主控核心板采用STM32F103,热释电红外传感器采用BISS0001进行信号处理。STM32单片机以ARM Cortex-M3为内核,性能优越,功耗合理,特别适合对处理性能要求较高的单片机系统。BISS0001和热释电红外传感器加上少量其他器件组成被动式的热释电红外开关。它能自动快速开启各类灯具和报警装置,适用于教室走廊等敏感区域,或用于安全区域的自动灯光、照明和报警系统。
STM32单片机本身带有12位分辨率的ADC,采样速率最高可达1MHz。该系统设计时将采样速率定为1KHz,12位分辨率的ADC完全满足需求。为节约成本和缩短开发周期,减小系统体积,信号采样直接选用STM32单片机的片上ADC。
系统运行稳定、可靠、操作方便,整个系统完成了预期的所有功能。
28
天津工业大学本科毕业论文
参考文献
[1] 池海 , 张雨生. 浅谈智能照明控制系统的科学管理[J]. 致富时代(下半月),2011,(4). [2] 王金光. 智能照明控制策略的研究与仿真[D]. 上海:同济大学,2008。 [3] 康树林,汪斌. 《声光控延时开关性能分析[J]. 科技资讯,2009,(31).
[4] 刘向 , 马小军 , 臧增辉. 热释电和光敏传感器在智能照明中的应用[J]. 低压电器,2009,(8). [5] 现代照明灯具市场调查[J]. 中国科技信息,2004,(10).
[6] 郭起春. 对园林景观夜景照明工程中绿色照明的再认识[J]. 中华民居,2014(27). [7] 廖捷. 飞利浦照明开发中国二级市场的营销策略研究[D]. 广西: 广西大学,2007.
[8] 肖建波 , 陈昊 , 郑卫刚. 基于汽车尾流的新型高速公路发电装置[J]. 汽车零部件,2012,(11). [9] 陈燕生. 我国照明电器工业现状及发展趋势[J]. 中国照明电器,2001,(11):1-4. [10] 赵凤舞. 浅析照明设计中的绿色理念[J]. 城市建设理论研究,2012(29):0. [11] 战丽红. 现代电力电子技术分析[J]. 科技促进发展,2011(4).
29
天津工业大学本科毕业论文
附 录
附录1:外文资料及中文翻译
外文资料:
ZigBee-based Smart Home System Design
Abstract:This paper aims to construct a Smart Home system based on ZigBee wireless communication technology. The article will introduce the Smart Home industry and analyze the advantages of ZigBee wireless communication technology used in the Smart Home system. It describes the structure composition of the Smart Home system based on ZigBee, and finally gives the system design concept and implementation approach. Keywords:ZigBee;Smart Home; Wireless Communication;System Design
I. INTRODUCTION
In recent years, along with the personal computer and Internet's rapid popularization, the electrical appliances industry's rapid development, the information technology gradually penetrates into people's daily lives, Smart Home design also gradually entering people's horizons. This paper introduced a ZigBee-based Smart Home system's design and implementation which has good flexibility, high portability, easily expanded and so on.
II. SMART HOME AND ITS DEVELOPMENT
Smart Home's goal is to achieve the intelligent control of household equipments through the network information communication technology, and enable them to work in accordance with people's orders regardless of the distance. A. The concept of Smart Home
Smart Home is highly-efficient, comfortable, safe and convenient living environment which uses a home as a platform and puts the buildings, automation and intelligentization in one [1]. Using advanced computer technology, network communication technology and control technology (3C), Smart Home will create a family integrated service and management integrated system which consists of home security protection system, network services system and home automation system, in order to achieve a home with comprehensive security protection, convenient communication network and comfortable living environment.
30