摘要:随着电冰箱的越来越多的走进用户,人们对它的控制性能要求不断提高,对电冰箱控制功能提出的要求也越来越高,多种能力、人工智能是电冰箱发展的方向,传统的机械化、简单化的电器控制并不能让冰箱的发展要求得到满足。本文采用AT89C51单片机用作控制电冰箱的核心芯片,并对电冰箱的运行能力进行监控。冰箱内部运用温度传感器对冷冻室的温度和冷藏室的温度进行监测,并把数据传送到单片机内部进行分析检测与判断,一旦温度略高于设定温度的时候自动开启压缩机,略低于设定温度的时候就关闭运行中的压缩机,由此得到让冰箱内部的温度控制在设定的温度范围内的目的。此外,通过键盘对冷冻室及冷藏室温度进行设定并显示、对连续速冷时间进行设定并显示、开门超时警、过欠电压保护以及自动除霜等功能。
关键词: 单片机,电冰箱,控制系统。
THE DESIGN OF THE INTELLIGENT REFRIGERATOR CONTROLLER
ABSTRACT: With the popularity of refrigerators, people constantly improve the requirement for its control function, the control system request also more and more high to the refrigerator, multi-functional and intelligent is one of the direction of its development, the traditional mechanical, simple electronic control already cannot satisfy the requirement of development. This paper USES AT89C51 as the core of the control system to control the working process of the refrigerator. Circuit using temperature sensor to detect the temperature of the freezer and fridge, again into the analysis judgment, single-chip start the compressor, when temperature is above a certain temperature below a certain temperature when they stop start the compressor, to keep the temperature inside the refrigerator in the purpose of setting temperature range. In addition, through the keyboard of the freezer and fridge temperature setting and display, the continuous rapid cooling time setting and display, open the door timeout alarm, low voltage protection and automatic defrost function.
KEY WORDS: Single chip microcomputer, a refrigerator, the control system.
目录
1.1电冰箱的基本介绍……………………………………….. 5
1.2国内外的发展状况……………………………………….. 5
1.3本设计的研究内容……………………………………….. 6
2.2 电冰箱电控系统的主要功能和要求 …………………….. 8
3.1.1 AT89系列单片机的概况……………………………… 9
3.1.4 单片机系统电源设计…………………………….. 14
3.2.1 热敏电阻简介………………………………….. 16
3.2.2 运算放大器LM324………………………………. 16
3.2.3 霜厚检测电路………………………………….. 17
3.3 冷冻室冷藏室温度检测采样电路………………………… 18
3.3.1 温度传感器AD590………………………………. 18
3.3.2 ADC0809 简介………………………………….. 18
3.3.3 冷冻室温度采样电路图…………………………… 20
3.3.4 冷藏室温度采样电路图…………………………… 20
3.3.5 冷冻室冷藏室温度检测采样原理……………………. 21
3.4 ADC0809与AT89C51接口设计………………………….. 22
3.4.1 地址锁存器74LS373…………………………….. 22
3.4.2 ADC0809与AT89C51的接口电路……………………. 23
3.5 制冷与除霜控制电路…………………………………. 24
3.5.1 锁存器74LS273………………………………… 24
3.5.2 驱动控制电路的设计…………………………….. 24
3.7.1 接口芯片8279简介……………………………… 26
3.7.3 键盘显示电路设计………………………………. 28
第四章 系统软件设计……………………………………….. 30
4.2 T0中断服务程序……………………………………. 31
4.3 T1中断服务程序……………………………………. 32
4.4 INT0中断服务程序………………………………….. 32