1、 基于 AT89S51 的温度控制系统 1 摘要 摘 要 : 本设计是以一个纸盒为控制对象,以 AT89S51 为控制系统核心,通过单片机系统设计实现对箱子温度的显示和控制功能。本温度控制系统是一个闭环反馈调节系统,由温度传感器 LM35 对纸盒温度进行检测,经 A/D 转换芯片得到相应的温度值,将所得的温度值与设定温度值相比较得到偏差。通过对偏差信号的处理获得控制信号,去调节加热器的通断,从而实现对保温箱温度的控制。本文主要介绍了保温箱温度控制系统的工作原理和设计方法,论文主要由三部分构成。 系统整体方案设计。 硬件设计,主要包括温度检测电路、 A/D 转换电路 、显示电路、键盘设计和控制电
2、路。 系统软件设计。 关键词 : 单片机;传感器;温度检测 Abstract Abstract: The design is based on a thermal insulation box as the control object, with AT89S51 as the control system core, through the SCM system design and implementation of temperature control and display function. The temperature control system is a closed-lo
3、op feedback control system, which is composed of a temperature sensor LM35 temperature detection, through the A / D conversion chip corresponding temperature value, the temperature value and temperature value is compared with that obtained deviation. Deviation through the signal processing control s
4、ignal to control the on-off, heater, thus realizing the temperature display and control. This paper introduces the temperature control system principle of work and the design method, the paper mainly consists of three parts. The system overall plan design. The hardware design, including the temperat
5、ure detection circuit, A / D conversion circuit, display circuit, keyboard circuit design and control. The system software design. Key words: single chip microcomputer; sensor; temperature detection 基于 AT89S51 的温度控制系统 2 目录 摘要 . 1 Abstract . 1 目录 . 2 第 1 章 绪论 . 3 1.1 课题设计背景和目的 . 3 1.2 国内外研究状况和发展趋势 .
6、3 1.3 温度检测的主要方法 . 4 1.4 课题设计的主要内容 . 4 第 2 章 系统总体方案设计 . 6 2.1 系统设计方案 . 6 2.2 中央处理器 AT89S51 . 7 2.3 温度传感器 LM35 . 10 2.4 ADC0808 .11 2.5 数码管显示 . 13 2.6 控制电路 . 15 2.7 半导体制冷片 . 16 第 3 章 系统软件仿真 . 19 3.1 keil uVision . 19 3.2 程序设计 . 20 3.3 proteus 软件介绍 . 23 3.4 仿真 . 27 第 4 章 PCB 板制作 . 29 4.1 Protel DXP 软件介绍 . 29 4.2 原理图 . 33 4.3 PCB 板图 . 34 4.4 实物图 . 35 结论 . 37 致谢 . 38 参考文献 . 39