楼宇智能照明控制系统设计

  • 格式:doc
  • 大小:3.88 MB
  • 文档页数:66

下载文档原格式

  / 66
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

目录摘要 III

ABSTRACT IV

1前言 6

1.1选题背景和意义 6

1.2课题关键问题及难点 7

1.3调研综述 7

1.3.1目前国内、国外该项目的研究状况 7

1.3.2目前项目的发展趋势 8

1.4主要研究内容 8

2 基于CAN总线的系统结构 9

2.1 CAN技术简介 9

2.2基于CAN总线的控制系统网络拓扑结构 10 2.3 CAN总线系统的通信方式 11

2.4 CAN总线的分层结构 11

2.5 CAN总线报文格式与类型 12

2.5.1 数据帧 12

2.5.2.远程帧 13

2.5.3 出错帧 13

2.5.4超载帧 14

2.5.5 错误检测 14

2.6 本系统结构及特点 15

3.智能照明系统的硬件设计 17

3.1 系统简介 17

3.2 CAN通信接口模块的设计 17

3.2.1 芯片介绍 17

3.2.2 SJA1000工作原理 19

3.2.3 基于SJA1000的CAN总线硬件接口电路设计 20

3.2.4采用MAX232芯片接口PC机与单片机的连接 21

3.3控制面板模块的设计 22

3.3.1 74HC164芯片说明 22

3.3.2显示部分设计 24

3.3.3键盘部分设计 25

3.3.4基于74HC164的中断串行键盘硬件设计 26

3.3.5矩阵式键盘的按键识别方法 27

3.4智能继电器模块 27

3.4.1电压-频率变换器LM331的介绍 28

3.4.2继电器模块基本原理结构 29

3.4.3整流模块设计 29

3.4.4 V/F转换器LM331模块 30

3.4.5光电耦合器6N137 31

3.4.6单片机AT89C51模块 31

3.5传感器模块 33

3.5.1热释电传感器的工作原理 33

3.5.2芯片介绍 35

3.5.3热释电传感器原理 36

3.5.4照度传感器的设计 37

3.5.5 A/D转换部分 38

3.6调光模块 40

3.6.1电子镇流器调光功能的主要实现方法 41

3.6.2基于IR2159的荧光灯可调光电子镇流器的电路设计 42

3.6.3基于IR21592的调光电子镇流器 43

3.7远程控制模块 45

3.7.1芯片介绍 45

3.7.2 工作原理 47

3.8看门狗电路 49

3.8.1 X5045芯片引脚及功能介绍 49

3.8.2 看门狗电路的工作原理 50

3.8.3基于X5045的复位电路硬件设计 51

3.9 小结 51

4.智能照明系统的软件电路设计 51

4.1 CAN通信接口模块软件设计 52

4.2控制面板模块软件设计 54

4.3智能继电器模块软件设计 57

4.5调光模块软件设计 60

4.6 小结 61

5 结论 61

5.1主要结论 61

5.2不足与展望 62

谢辞 64

参考文献 65

摘要

随着社会的进步,建筑设计也向着更舒适、安全和节省能源的方向发展。智能照明系统充分利用电子技术、通信技术和计算机网络技术将建筑物内的各种照明器具有机的连接在一起,实现有效的管理和控制。智能照明系统正是智能家居的趋势之一。针

对传统照明系统布线麻烦、节能效果差等缺点,我们设计开发了基于CAN总线技术的智能照明系统。系统中的智能灯光节点能够根据外界光强自适应调整自身灯光亮度,周期性采集室内光强、有无人进出等环境信息,并及时响应用户的控制命令。本文主要介绍了智能调光系统及设计过程中的关键技术环节,包括CAN总线技术的应用,系统网络设计、智能继电器、控制面板、传感器和红外遥控技术,并描述了智能调光系统的主要应用。

关键词:CAN总线;智能继电器;智能调光;红外遥控

Design of Building Intelligent Lighting-Control System

ABSTRACT

Along with the social progress, the design of building towards a more comfortable, safe and energy-saving direction .To achieve effective management and control of. building ,intelligent lighting system make full use of electronic technology, communication

and computer network technology to a variety of lighting fixtures within the building together organically. Intelligent lighting system is just the trends of intelligent home.We design and development of intelligent lighting systems . based on CAN bus technology , taking into account that it trouble for wiring, and poor energy efficiency drawback in traditional lighting system.Intelligent node in the intelligent lighting system can according to outside light levels adaptive adjustment its light intensity, collected indoor light intensity periodically, testing if there has people in or out and timely response to user control commands.This paper describes the design of intelligent light system and key techniques in the process, including the CAN-bus technology, the design of network system intelligent relays, control panels, sensors and infrared remote control technology, and describes the major intelligent light system application.

Key Words: CAN bus; intelligent relay; intelligent light; infrared remote control