设计简介
摘 要
近年来,随着电子技术的不断发展和人们生活水平的日益提高,人们对生活质量的要求也越来越高,智能家居的出现正好满足了人们的需求。智能家居是以住宅为平 台,兼备 建筑、网络通讯、讯息家电、设备自动化,集系统、结构、服务、管理为一体的高效、舒适、安全、便利、环保的居住环境。
由于传感技术、控制技术、计算机技术的不断发展,安全的防范的措施由原来的高墙铁门发展到现在的看不到的墙,安全系数是原来的几倍。但是此项技术尚处于发展阶段,所以产品也是各种各样,良莠不齐。有的系统稳定性较好,安全系数高,但是价格较高,适用于保密级别高的场所应用。有的系统虽然价格较低,普通社区可以承受,但是性能不够稳定,经常发生漏报误报,失去了安全防范的作用。所以设计一套安全系数较高,而且价格较低的安全防范系统有很重要的意义。
论文设计的智能家居系统是一个集安全防护、自动控制于一体的复杂系统。控制主机是智能家居系统的核心部件。论文简要介绍了智能家居系统的设计原则和要求,给出了控制主机的硬件方案,重点给出了控制主机的PLC软件设计。还具体设计了灯光控制软件模块,通过 PLC 总线实现了室内灯光控制。最后,通过实际测试,论文设计的控制主机能够完成控制多个窗户、控制多个电灯等功能。
关键词:智能家居 ,PLC,窗户控制,灯光控制
ABSTRACT
Recently, with the development of electronic technology and improvement of people’s living level, people turn to pay more attention to life’ s quality. The emergence of intelligent home just to meets people’s needs. Intelligent home is based on residential, both architecture,network communication,information home appliances, equipment automation, set system,structure,service,management as one of the efficient, convenient, comfortable, safe, environmental protection riving environment.
Due to the continuous development of sensing technology, control technology and computer technology,the safety protection methods have been changed from previous high wall and heavy gate to nowadays intangible wall that is more safety.Because the technology is still in developing,the various products are existed in the market.Some of them are of better stabilities and high safety coefficient,but the price is more expensive.Some price is relatively cheaper which can be borne by the ordinary community,but performance is not steady enough,less function is supplied and fail to report or wrong report are occurred frequently.So it is very important to design a set of safety protection system which has high safety coefficient and lower price.
The system of intelligent home is a complex system with security, automatic control and network communications in this paper. The control host is the core component of intelligent home. The paper introduces the design principles and requirements of Intelligent Home system briefly. It also proposes the hardware solutions of control host. The paper designs the software of PLC unit of the control host. The paper also designs software module of lighting control, it also implements indication of indoor lighting control via PLC bus. Finally, after system testing, the control host in this paper can complete control multiple windows, control multiple lights and other functions.
Keywords: Intelligent Home ,PLC, windows Control ,Light Control
目 录
摘 要 I
ABSTRACT II
第一章 绪论 1
1.1本课题设计的背景 1
1.2本课题设计的国内外研究概况 1
1.3 本课题设计的内容 2
1.4本课题设计的意义 2
第二章 居室安全系统的原理 4
2.1 居室安全系统的基本工作原理 4
2.2 可编程控制器PLC选型及模块介绍 4
2.2.1 PLC的选型 4
2.2.2 PLC的功能模块介绍 5
2.3居室安全控制系统设计的基本步骤 6
第三章 居室安全控制系统的硬件电路设计 8
3.1居室安全控制系统的主回路设计 8
3.2居室安全控制系统的输入输出回路设计 8
3.3 PLC的I/O存储地址分配及系统硬件明细 10
第四章 居室安全控制系统的软件设计 12
4.1 PLC系统软件及运行原理 12
4.2 编程工具软件和编程语言 12
4.3控制系统的软件设计 13
4.3.1 时间产生程序说明 16
4.3.2 定时程序说明 17
4.3.3 系统自启动程序说明 18
4.3.4 窗帘程序动作说明 18
4.3.5 居室灯光轮流点亮程序动作说明 19
第五章 系统调试 21
5.1 时间发生器调试 21
5.2 百叶窗工作梯形调试 23
5.2.1 晚上百叶窗关闭状态梯形调试图 23
5.2.2 白天百叶窗打开状态梯形调试图 26
5.3 居室灯光循环亮起调试 28
结束语 34
参考文献 35
附 件 36
近年来,随着电子技术的不断发展和人们生活水平的日益提高,人们对生活质量的要求也越来越高,智能家居的出现正好满足了人们的需求。智能家居是以住宅为平 台,兼备 建筑、网络通讯、讯息家电、设备自动化,集系统、结构、服务、管理为一体的高效、舒适、安全、便利、环保的居住环境。
由于传感技术、控制技术、计算机技术的不断发展,安全的防范的措施由原来的高墙铁门发展到现在的看不到的墙,安全系数是原来的几倍。但是此项技术尚处于发展阶段,所以产品也是各种各样,良莠不齐。有的系统稳定性较好,安全系数高,但是价格较高,适用于保密级别高的场所应用。有的系统虽然价格较低,普通社区可以承受,但是性能不够稳定,经常发生漏报误报,失去了安全防范的作用。所以设计一套安全系数较高,而且价格较低的安全防范系统有很重要的意义。
论文设计的智能家居系统是一个集安全防护、自动控制于一体的复杂系统。控制主机是智能家居系统的核心部件。论文简要介绍了智能家居系统的设计原则和要求,给出了控制主机的硬件方案,重点给出了控制主机的PLC软件设计。还具体设计了灯光控制软件模块,通过 PLC 总线实现了室内灯光控制。最后,通过实际测试,论文设计的控制主机能够完成控制多个窗户、控制多个电灯等功能。
关键词:智能家居 ,PLC,窗户控制,灯光控制
ABSTRACT
Recently, with the development of electronic technology and improvement of people’s living level, people turn to pay more attention to life’ s quality. The emergence of intelligent home just to meets people’s needs. Intelligent home is based on residential, both architecture,network communication,information home appliances, equipment automation, set system,structure,service,management as one of the efficient, convenient, comfortable, safe, environmental protection riving environment.
Due to the continuous development of sensing technology, control technology and computer technology,the safety protection methods have been changed from previous high wall and heavy gate to nowadays intangible wall that is more safety.Because the technology is still in developing,the various products are existed in the market.Some of them are of better stabilities and high safety coefficient,but the price is more expensive.Some price is relatively cheaper which can be borne by the ordinary community,but performance is not steady enough,less function is supplied and fail to report or wrong report are occurred frequently.So it is very important to design a set of safety protection system which has high safety coefficient and lower price.
The system of intelligent home is a complex system with security, automatic control and network communications in this paper. The control host is the core component of intelligent home. The paper introduces the design principles and requirements of Intelligent Home system briefly. It also proposes the hardware solutions of control host. The paper designs the software of PLC unit of the control host. The paper also designs software module of lighting control, it also implements indication of indoor lighting control via PLC bus. Finally, after system testing, the control host in this paper can complete control multiple windows, control multiple lights and other functions.
Keywords: Intelligent Home ,PLC, windows Control ,Light Control
目 录
摘 要 I
ABSTRACT II
第一章 绪论 1
1.1本课题设计的背景 1
1.2本课题设计的国内外研究概况 1
1.3 本课题设计的内容 2
1.4本课题设计的意义 2
第二章 居室安全系统的原理 4
2.1 居室安全系统的基本工作原理 4
2.2 可编程控制器PLC选型及模块介绍 4
2.2.1 PLC的选型 4
2.2.2 PLC的功能模块介绍 5
2.3居室安全控制系统设计的基本步骤 6
第三章 居室安全控制系统的硬件电路设计 8
3.1居室安全控制系统的主回路设计 8
3.2居室安全控制系统的输入输出回路设计 8
3.3 PLC的I/O存储地址分配及系统硬件明细 10
第四章 居室安全控制系统的软件设计 12
4.1 PLC系统软件及运行原理 12
4.2 编程工具软件和编程语言 12
4.3控制系统的软件设计 13
4.3.1 时间产生程序说明 16
4.3.2 定时程序说明 17
4.3.3 系统自启动程序说明 18
4.3.4 窗帘程序动作说明 18
4.3.5 居室灯光轮流点亮程序动作说明 19
第五章 系统调试 21
5.1 时间发生器调试 21
5.2 百叶窗工作梯形调试 23
5.2.1 晚上百叶窗关闭状态梯形调试图 23
5.2.2 白天百叶窗打开状态梯形调试图 26
5.3 居室灯光循环亮起调试 28
结束语 34
参考文献 35
附 件 36