1、 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-loop fe
3、edback 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 signal
4、 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 temperature d
5、etection circuit, A / D conversion circuit, display circuit, keyboard circuit design and control. The system software design. Key words: single chip microcomputer; sensor; temperature detection 2 目录 摘要 1 Abstract . 1 目录 2 第 1 章 绪论 3 1.1 课题设计背景和目的 . 3 1.2 国内外研究状况和发展趋势. 3 1.3 温度检测的主要方法 . 4 1.4 课题设计的主要
6、内容 . 4 第 2 章 系统总体方案设计. 6 2.1 系统设计方案 6 2.2 中央处理器 A T89S51 . 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 3 第第 1 章章 绪论绪论 1.1 课题设计背景和目的 在现代化的工业生产中电流、电压、温度、压力、流量、流速和开关量都是常用的主 要被控参数。温度作为一个基本物理量,它是一个与人们的生活环境、生产活动密切相关 的重要物理量。在现代化的工业生产过程中温度作为一种常用的主要被控参数,在很多生 产过程中我们需要对温度参数进行检测。例如:在冶金工业、化工生产、电力工程、造纸 行