单片机控制温度加热系统设计
- 格式:doc
- 大小:691.91 KB
- 文档页数:61
长 春 工 业 大 学
毕业设计、毕业论文
题 目 单片机控制温度加热系统设计
学 院 电气与电子工程学院
专业班级
指导教师
姓 名
年 月 日
长春工业大学本科毕业设计(论文)
I 摘 要
在日常生活及工业生产过程中,经常要用到温度的检测及控制,温度是生产过程和科学实验中普遍而且重要的物理参数之一。在生产过程中,为了高效地进行生产,必须对它的主要参数,如温度、压力、流量等进行有效的控制。温度控制在生产过程中占有相当大的比例。温度测量是温度控制的基础,技术已经比较成熟。
该设计介绍了一种利用单片机AT89C51组成的高精度温度控制系统,从硬件和软件两方面介绍了单片机温度控制系统的设计思路。着重介绍了硬件原理图和程序框图。阐述了系统的工作原理、设计及实现。由DS18B20温度传感器芯片测量当前的温度,并将结果送入单片机。然后通过AT89S51单片机对送来的温度进行计算和转换,并将此结果送入液晶显示模块。最后,由1602液晶显示器将温度显示出来。它可以实时的显示和设定温度,实现对温度的自动控制,当温度值超出上、下限时自动报警,实现了系统结构简单、性能可靠、控制精度高。同时系统具有扩展性好,分辨率高,测量范围宽,抗干扰性强等特点。
关键词: 51单片机 传感器 DS18B20
长春工业大学本科毕业设计(论文)
II ABSTRACT
The detection and control of temperature is often used in daily life and industrial production process, temperature is one of the important physical parameters of the production process and scientific experiments generally. During the production process, in order to carry out the production efficiently, we must control its main parameters well, such as temperature, pressure and so on .Temperature control in the production processes a large proportion. Temperature measurement is the basis of temperature-controlling and a more mature technology.
A precision temperature control system used AT89C51 SCM and the hardware
circuit and software of this system are introduced. Schematic diagram of the hardware and procedures is related in emphasis. Working principle, design and implementation is elaborated. The current temperature is measured by DS18b20 temperature sensor and the results is transported into SCM .Then ,the temperature is calculated and the conversion results is transported into the liquid crystal display modules 1602 on show .It can display current temperature which is set randomly and controlled
flexibility, and the temperature control.When the temperature is beyond the upper and lower limits of temperature, the alarm system starts automatically. What is realized in this system is simple structure, reliable performance and high precision control. The system is in good scalability,high-resolution,wide range,anti-interference performance and so on.
Key Words: 51-series microcomputer Sensor DS18B20 长春工业大学本科毕业设计(论文)
III 目 录
第一章 绪 论 ......................................................... 1
1.1 课题的意义 ...................................................... 1
1.2 国内外研究状况和发展趋势 ........................................ 1
1.2.1温度检测技术简介 ........................................... 1
1.2.2温度检测技术的发展 ......................................... 3
1.3 课题的研究方案 .................................................. 4
1.3.1 课题的主要研究的内容 ...................................... 4
1.3.2 用单片机实现其具体控制功能 ............................... 4
第二章 方案论证 ........................................................ 5
2.1题目分析 ........................................................ 5
2.2总体方案选择 .................................................... 5
2.2.1方案一 热敏电阻加A/D ...................................... 5
2.2.2方案二 数字传感器 .......................................... 5
2.3硬件电路方案的选择 .............................................. 6
2.3.1显示器的选择 ............................................... 6
2.3.2温度传感器的选择 ........................................... 6
2.3.3单片机的选择 ............................................... 7
2.3.4按键电路的设计 ............................................. 7
2.3.5 固态继电器的选择 .......................................... 8
2.4软件方案选择 ................................................... 10
第三章 硬件电路设计 ................................................... 10
3.1硬件系统框图 ................................................... 11
3.2 AT89C51功能简述 .............................................. 11
3.2.1 主要特性 ................................................. 11
3.2.2特性概述 .................................................. 12
3.2.3 芯片擦除 ................................................. 12
3.2.4 89C51管脚说明 ........................................... 12
3.3 EPROM2764功能简述 ............................................. 15
3.4 RAM6264功能简述 ............................................... 16
3.5 74LS373功能简述 ............................................... 17
3.6 温度传感器DS18B20的工作原理 ................................... 17
3.6.1 DS18B20的概述 ............................................ 18
3.6.2 DS18B20的主要特性 ........................................ 18