当前位置:文档之家› 基于单片机的电动窗帘设计

基于单片机的电动窗帘设计

毕业设计基于单片机的电动窗帘学院:电子信息工程学院专业名称:电子信息科学与技术学生姓名:学号:指导教师姓名、职称:某某某教授完成日期年月日根据办公与生活的需要,本文完成了基于单片机的智能窗帘控制系统,主要基于AT89C52单片机对系统做了详细设计,简单的介绍了一种基于单片机的智能窗帘的工作原理及主要功能,以及智能窗帘系统的国内外的发展趋势,主要的技术原理、特点、设定范围、应用领域等。

以此次设计的国内外背景以及发展为根基,预测了未来的发展方向和内容。

着眼于智能控制的技术层面,将智能控制理论应用于智能窗帘控制系统。

本文建立了窗帘智能控制理论,包括器件选取,电路设计等,还对安全控制进行了研究。

此次研究中,最大的亮点在于提出了一种方法,即基于单片机的智能窗帘控制,接着对其基本的原则进行了讨论,然后创建了CPU控制模块。

在设计最后,我们对前面的创建的模型以及设计等结合起来,使用Proteus等进行了仿真,该系统选择能满足控制要求的高性能89C52芯片作为核心,实现窗帘智能控制,此次设计包含光电转换模块、系统主控模块、电源转换模块、电路保护模块以及继电器控制模块,可实现窗帘的自动开关。

结果表明,本文提出的基即基于单片机的智能窗帘控制系统,达到了预期效果,该系统稳定高效,具有潜在的前景。

关键词: 单片机,智能控制,AT89C52,光电转换According to the above-mentioned disadvantages, this design to apply computer information management corporate library management. Based on the available manage software to significantly consider the characteristics of enterprises and improve the manage functions in the study manage system, to create a library management system suitable for enterprises unique, so that enterprises can be efficient implementation of some management functions.According to the needs of office and life, this article has completed the intelligent curtain control system based on the Internet of Things. The system is mainly based on the AT89C52 single chip microcomputer. The system is briefly introduced. The development trend of curtain system at home and abroad, the main technical principles, characteristics, setting range, application fields, etc.Based on the domestic and foreign background and development of this design, the future development direction and content are predicted. Focusing on the technical level of intelligent control, the intelligent control theory is applied to the intelligent curtain control system. This paper establishes the intelligent control theory of curtains, including device selection, circuit design, etc., and also studies the safety control. In this research, the biggest bright spot is to propose a method, namely intelligent curtain control based on single-chip microcomputer, and then discuss its basic principles, and then create a CPU control module. At the end of the design, we combined the model and design created earlier and simulated it using Proteus. The system chose a high-performance 89C52 chip that can meet the control requirements as the core to achieve intelligent control of the curtain. The module, the system main control module, the power conversion module, the circuit protection module, and the relay control module can realize automatic opening and closing of curtains. The results show that the intelligent curtain control system based on the one-chip computer proposed in this paper has achieved the expected results. The system is stable and efficient, and has potential prospects.Key words:MCU; intelligent control; AT89C52; photoelectric conversiont摘要 (I)Abstract (II)1 绪论 (1)1.1研究目的及意义 (1)1.2 智能窗帘控制系统研究现状与发展趋势 (2)1.3 本文研究的主要内容 (2)2 总体方案设计 (3)3 智能窗帘系统硬件电路设计 (4)3.1主控模块 (4)3.1.1主控电路设计 (4)3.1.2 AT89C51单片机 (4)3.2信息采集模块 (5)3.2.1 光电控制电路设计 (5)3.2.2 TSL251RD光电传感器 (6)3.3 A/D转换模块 (6)3.3.1 A/D转换电路设计 (6)3.3.2 ADC0809模数转换器 (7)3.4 显示模块 (8)3.5 继电器模块 (9)3.6 本章小结 (9)4 系统的软件设计 (10)4.1 主程序的设计 (10)4.2子程设计 (11)4.2.1 显示模块子程序设计 (11)4.2.2 A/D转换子程序设计 (11)4.3程序编译 (12)4.4 电路仿真 (13)4.5本章小结 (14)5 结论与展望 (15)参考文献 (16)致谢 (19)附录一:系统电路原理图 (20)附录二:系统源程序 (21)1 绪论1.1研究目的及意义人们生活水平发展迅速,带动了智能领域的突飞猛进,随着人民生活质量提高,对居住环境的舒适性、自动化有了更高的要求[1]。

一方面,政府和人民居住环境意识增强,与环保相关的法律陆续出台,居住环境智能化、节省人力成本等成为发展的重要因素。

类似于生活中的各种智能设备,能很大程度的节省人力成本,同理,基于单片机的智能窗帘控制系统,减少能源消耗与人力成本。

随着社会信息化的加快,人们的工作、生活、交流和信息的关系越来越密切。

信息社会在改变人们的生活方式和工作习惯的同时,也对传统的住房提出了挑战。

社会、技术和经济的进步使人们的观念发生了巨大的变化[2]。

人们居住要求已不仅仅是物理空间,更注重的是一个安全、方便、舒适的家居环境。

家居智能技术起源于美国,它是家居为平台的设计。

智能家居控制系统是以HFC、以太网、现场总线、公共电话网、无线网络传输网络为物理平台,计算机网络技术为技术平台,现场总线为应用操作平台,构成一个完整的系统。

另一方面,截止去年年底,我国智能控制设备涉及领域覆盖了90%以上,大大节省了人们的人力等各种成本[3],因此迫切需要加智能控制设备的研究力度,提人们的生活水平。

与普通的家居相比,智能家居在还原原有家居功能的基础上,加入了智能化的元素。

这样为人们提供了舒适安全,使人们的生活变得高品位,为人们创造了宜人的家庭生活空间。

节约能源和各种资金。

智能家居系统结构简单,功能灵活。

易于扩展,容易被人们广泛接受。

智能家居控制系统的总体目标是利用计算机技术、网络技术、控制技术和集成技术,建立一个综合信息服务和管理系统从家庭到社会甚至整个城市,以提高高新技术的内容和居民生活环境水平。

大型智能家居控制系统通常由系统服务器、家居控制器(各种模块)、各种路由器、电缆调制解调器头端设备CMTS、交换机、通信器、控制器、无线收发器、各种探测器、各种传感器、各种执行器、打印机等主要部件组成。

现代智能操作控制单元,本系统采用89C51作为主要控制装置,单片机应用系统由硬件和软件组成。

硬件由单片机扩展存储器、输入/输出装置和各种接口电路组成[4],实现单片机系统的控制要求和相关外围电路芯片或元件。

软件由各种工作程序和管理程序组成,实现了单片机应用系统的具体控制功能。

在单片机应用系统开发过程中,要不断调整软硬件,协调软硬件设计,提高工作效率。

本课题完成了单片机应用系统开发过程的总体设计、硬件设计、软件设计和系统调试,根据实际开发需要,相互协调、交叉、有机。

本文从一个智能家居项目——智能电动窗帘的设计开始。

传感识别单元识别外界亮度,通过控制单元进行智能处理调整当前的区域的窗帘控制,采取相应措施或者直接作用于执行机构实时调整[5]。

目前智能窗帘控制系统研究较多,本文建立了基于单片机的智能窗帘的各种模型,并且使得PID和模糊控制得以完美的结合,实现了窗帘控制智能化。

相关主题