基于单片机的温度报警系统毕业论文.doc
文本预览下载声明
摘 要
温度控制是工业生产过程中经常遇到的过程控制,有些工艺过程对其温度的控制效果直接影响着产品的质量,因而设计一种较为理想的温度控制系统是具有不一般的价值与意义。在现代化的工业生产中,电流、电压、温度、压力、流量、流速和开关量都是常用的主要被控参数。例如:在冶金工业、化工生产、电力工程、造纸行业、机械制造和食品加工等诸多领域中,人们都需要对各类加热炉、热处理炉、反应炉和锅炉中的温度进行检测和控制。采用MCS-51单片机来对温度进行控制,不仅具有控制方便、组态简单和灵活性大等优点,而且可以大幅度提高被控温度的技术指标,从而能够大大提高产品的质量和数量。因此,单片机对温度的控制问题是一个工业生产中经常会遇到的问题。将这个问题地解决,能很好地提升生产效率,节约资源,降低生产成本。
本文从硬件和软件两方面介绍了MCS-51单片机温度控制系统的设计思路,对硬件原理图和程序框图作了简捷的描述该设计结构简单,控制算法新颖,控制精度高,有较强的通用性。
关键词:单片机 温度控制 数字PID控制
ABSTRACT
In the modern industrial production, the current, voltage, temperature, pressure, and flow, velocity, and switch quantity is accused of main parameters.For example,n metallurgical industry, chemical industry, electric power engineering, paper industry, machinery and food processing and so on many domains, people need to all kinds of heating furnace, heat treatment furnace, reactors and boiler temperature detection and control.Using MCS - 51 SCM to control temperature, has not only convenient control, simple and flexible configuration advantages, and can greatly improve the technical indexes are controlled temperature, which can greatly improve the products quality and quantity.Therefore, the problem of temperature control chip is a industrial production we often encounter problems. Based on it, for example, hope to receive other cases and the effect.
From the two aspects of hardware and software are introduced MCS - 51 SCM temperature control system design, hardware diagram and the procedures for the description of the simple diagram.
Keywords: Microcomputer Temperature control system Digital PID control
目 录
摘 要 1
ABSTRACT 2
目 录 3
第一章 总体设计方案及要求 4
1.1系统设计方案 4
1.2 课程设计的任务要求 5
第二章 硬件电路的设计 6
2.1 单片机的最小系统硬件电路的设计 7
2.1.1单片机AT89S52的介绍 7
2.1.2 复位电路 10
2.1.3 时钟电路 11
2.2 显示硬件电路的设计 11
2.2.1 液晶显示电路 11
2.2.2 液晶显示电路的设计 12
2.3 键盘硬件电路的设计 13
2.4 温度传感器的硬件电路设计 14
2.4.1温度传感器电路设计 14
2.4.2 温度传感器DS18B20的简介 14
2.5 温度控制执行电路设计 18
2.6 串行通信接口电路 19
2.6 电源电路的设计 20
2.7 温度报警系统电路 21
第三章 系统的软件设计 22
3.2主程序软件设计 23
3.3 数据采集软件设计 24
3.4 中断处理软件
显示全部