51单片机的电冰箱控制系统毕业设计

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

目录

摘要.................................................................... III ABSTRACT .................................................................. V 1 绪论.. (1)

1.1论文研究的背景和意义 (1)

1.2电冰箱电控系统的发展现状 (2)

1.3论文主要设计内容 (2)

2 总体设计方案 (4)

2.1总体设计方案简介 (4)

2.2电冰箱电控系统的主要功能和要求 (5)

3 系统硬件设计 (1)

3.1AT89C51单片机最小系统 (1)

3.1.1 AT89系列单片机的概况 (1)

3.1.2 时钟电路 (4)

3.1.3 复位电路 (5)

3.1.4 单片机系统电源设计 (7)

3.2霜厚检测电路 (9)

3.2.1 热敏电阻简介 (10)

3.2.2 运算放大器LM324 (10)

3.2.3 霜厚检测电路 (11)

3.3冷冻室冷藏室温度检测采样电路 (12)

3.3.1 温度传感器AD590 (12)

3.3.2 ADC0809 简介 (13)

3.3.3 冷冻室温度采样电路图 (15)

3.3.4 冷藏室温度采样电路图 (15)

3.3.5 冷冻室冷藏室温度检测采样原理 (16)

3.3.6 过欠压保护电路 (16)

3.4ADC0809与AT89C51接口设计 (17)

3.4.1 地址锁存器74LS373 (17)

3.4.2 ADC0809与AT89C51的接口电路 (19)

3.5制冷与除霜控制电路 (19)

3.5.1 锁存器74LS273 (20)

3.5.2 驱动控制电路的设计 (21)

3.6开门报警电路 (21)

3.7键盘显示电路 (22)

3.7.1 接口芯片8279简介 (22)

3.7.2 LED简介 (23)

3.7.3 键盘显示电路设计 (24)

4 系统软件设计 (26)

4.1系统主程序 (26)

4.2T0中断服务程序 (27)

4.3T1中断服务程序 (28)

4.4INT0中断服务程序 (29)

5 结论 (30)

参考文献 (32)

致谢 (33)

毕业设计(论文)原创性声明和使用授权说明

原创性声明

本人郑重承诺:所呈交的毕业设计(论文),是我个人在指导教师的指导下进行的研究工作及取得的成果。尽我所知,除文中特别加以标注和致谢的地方外,不包含其他人或组织已经发表或公布过的研究成果,也不包含我为获得及其它教育机构的学位或学历而使用过的材料。对本研究提供过帮助和做出过贡献的个人或集体,均已在文中作了明确的说明并表示了谢意。

作者签名:日期:

指导教师签名:日期:

使用授权说明

本人完全了解大学关于收集、保存、使用毕业设计(论文)的规定,即:按照学校要求提交毕业设计(论文)的印刷本和电子版本;学校有权保存毕业设计(论文)的印刷本和电子版,并提供目录检索与阅览服务;学校可以采用影印、缩印、数字化或其它复制手段保存论文;在不以赢利为目的前提下,学校可以公布论文的部分或全部内容。

作者签名:日期:

摘要

单片机即单片微型计算机(Single-Chip Microcomputer),是集CPU,RAM,ROM,定时,计数和多种接口于一体的微控制器。其中51单片机是各种单片机中最为典型和最有代表性的一种,广泛应用于各个领域。

本课题设计的电冰箱的电控系统主要应用AT89C51单片机作为核心控制元件进行分析和设计,对各部分的软件编程、硬件电路设计、及调试进行了介绍。

本系统分温度测量和信号产生输出两大部分。温度测量部分以模拟电路为主,配合电压比较模块、A/D转化模块,在误差允许范围内测量温度值,并进行比较,产生电压信号。信号经A/DC0809进行A/D转换,进入AT89C51单片机。信号经单片机的控制运算处理,产生控制信号并输出控制压缩机、加热器的启动与停止。此外,该系统可通过专用键盘接口芯片8279进行温度的设定及显示。系统扩展LED显示器,显示动态的冷冻室温度和冷藏室温度;系统扩展了多个功能键,通过功能键可人为改变控制设定值从而满足不同用户的不同需要。

近年来,随着微电子技术、传感器技术以及计算机控制技术的发展,人们对电冰箱的控制功能要求越来越高,这对电冰箱控制器提出了更高的要求,多功能、人性化和节能是其发展方向。传统的机械式、简单的电子控制已经难以满足发展要求。为此,本文介绍了采用AT89C51单片机作为控制器核心,对电冰箱的工作过程进行控制,并用声音将电冰箱的一些工作过程进行提示,使控制过程更人性化。通过AD590温度传感器对冷藏室温度,冷冻室温度进行检测,并将产生的模拟信号,通过ADC0809进行A/D 转换送入单片机;对霜厚度则通过热敏电阻进行温度检测后产生中断信号送入单片机。温度检测信号经单片机处理后用语调节压缩机和加热器的工作,满足消费者对温度的设置要求,实现自动除霜功能。

经过实践证明,经过反复的模拟运行、调试,修改,最后形成了一套完整的程序系统。本系统运行稳定,其优点是硬件电路简单,软件功能完善,控制系统可靠,性价比较高等,具有一定的实用和参考价值。

关键词:AT89C51单片机,A/DC0809,8279,AD590,电冰箱的电控系统。

Abstract

SCM is microcomputer (Single-Chip Microcomputer) which is a set of CPU, RAM, ROM, the timing, number and variety of integrated micro-controller interface. The 51 microprocessor which is quite typical and representative is widely used in various fields.

The main topics designed by chip –microcomputer AT89C51 finish the function of controlling the fridge. This paper introduces the electric refrigerator’s electrically controlled system, including software, hardware design, and commissioning the problems encountered in design as well as solutions.

The system is dissolved into temperature measurement and signal output two most voltage measurement parts in the main circuit simulation, and tie comparative module, A/D conversion module. Surplus microprocessor through data processing, in the range of allowable error temperature measurements shows and generates voltage signal. Signal input is sent into A/DC0809 for A/D conversion. Then the signal after conversion enters AT89C51 microprocessor .The output that has been dealt with is used to control the run and stop of compressor and heater. In addition ,this system can fulfill the function of successive temperature setting by 8279 ,a chip used to control keyboard and show. The design extends LED display, which displays the dynamic environmental temperature and extends a few functional keys that a user can input the appropriate temperature parameter for the special need.

In these years, with the development of microprocessors and sensor, the demand of function of fridge is becoming higher and higher. Users need it has many functions, personal-like interface and little waste of power. However, the traditional fridge can not finish all the functions. As a result, this paper introduces the system which uses AT89C51 as the center of the control system, having sound system to remind users. The 51-computer gets the temperature parameter from the integration temperature sensor and the ADC0809 that transforms the analog parameter to the digital parameter. Then, the 51-computer puts out the signal to control the run and stop of compressor and heater.

After repeated debugging and revision, the final form of a complete set of procedures system is completed. Practice has proved that the system is steady, and it has the advantages of a simple hardware circuits, software functions, reliable control system, high cost performance, practical and reference value.

Keyword:AT89C51,A/DC0809,8279,AD590,electric refrigerator’s electrically controlled system.

相关文档
最新文档