【编者按】网学网自动化专业频道为大家收集整理了“单片机控制的多功能窗的设计“提供大家参考,希望对大家有所帮助!
论文编号:ZD906 论文字数:7728,页数:22
摘要
本文采用AT89C51单片机,对过去用中、小规模集成电路实现的智能窗控制电路进行了改进,使其更具实用性和智能性。本文对产品开发者具有一定的启迪意义。在系统化概念设计方法的指导下,以需求分析一目标确立一功能结构分析一多方案产生一方案评佑为步骤,逐步实现具有下雨自动关闭、刮风自动关闭及定时开关功能的智能窗方案设计,并对多方案进行量化评估.这一过程表明系统化概念设计方法的实用性和科学性。该控制系统能通过其数据检测传感电路不断循环检测室内温度、湿度、有害气体(如媒气)浓度等环境参数,
然后与由控制键盘预置的参数临界值相比较,从而作出开/关窗、转动/停止换气扇、降/升温(湿)等判断,再结合窗状态检测电路所检测到的窗状态,发出一系列的控制命令,完成下雨则自动关窗、室内有害气体超标则自动开窗(同时转动换气扇)、恒温(湿)等自动控制功能。人们还可通过控制键盘,直接控制窗户的开/关、换气窗的转/停、温(湿)的升/降、选择所显示参数的种类等。
关键词 智能窗、单片机、 AT89C51、功能结构
Abstract
In this paper, AT89C51 microcontroller used in the past, small-scale integrated circuits to achieve the smart window control circuit was modified to make it more practical and intelligent.
This product developers have some inspiration. Conceptual design in a systematic way, under the guidance of an objective demand the establishment of a functional structure of a multi- Case to produce a program evaluated simultaneously as steps towards self-closing with rain, strong winds closed automatically and the time switch function The smart window design, and more quantitative assessment of the program. The conceptual design process that systematically practical Scientific. The control system through the data sensing circuit detection test in cycles and the indoor temperature, humidity, harmful gases (such as coal gas) concentration and other environmental parameters Then with the preset parameters from the control of the keyboard compared to the critical value, in order to make open / close windows, turn / stop the ventilator, reducing / heating (wet) and other judgments, recrystallization Co-window state detection circuit detects the window state, issued a series of control commands, complete the rain will automatically close windows, indoor harmful gas exceeding the auto- Window (and rotating ventilator), temperature (wet) and other control functions. It can also control the keyboard, the direct control of the window on / off, ventilation windows The turn / stop, warm (wet) of rising / falling, select the display type and other parameters.
Keywords Smart windows、SCM 、AT89C51、 functional structure
目录
摘 要 II
Abstract III
目录 IV
1 前言 1
2 总体方案设计 3
2.1 系统总体结构 3
2.2 系统硬件结构 4
2.3系统总体软件流程 5
3 硬件设计 6
3.1 中央控制器 6
3.2 A/D转换器 7
3.3 窗驱动电路 8
3.4 窗状态检测电路 9
3.5 键盘输入及显示电路 9
3.5.1 8279芯片特点 10
3.5.2 8279管脚说明 10
3.6 AT89C51芯片功能介绍 11
3.6.1 主要特性 11
3.6.2 管脚说明 12
3.6.3 振荡器特性 13
4 软件设计 15
4.1 主程序 15
4.2 读键值中断服务程序 15
4.3 循环检测及A/D转换中断服务程序 15
5 总结 17
致 谢 18
参考文献 19