基于单片机的加热炉温度控制器的设计毕业设计(已处理).doc
文本预览下载声明
基于单片机的加热炉温度控制器的设计毕业设计
Abstract
The design of single-chip’s temperature control system is introduced from hardware and software, and simply explains how to actualize the temperature control. The hardware principle and software case fig are described. Some important techniques in a design scheme of the hardware and the software of the temperature control by single-chip microcomputer are introduced. The system mostly takes 89C51 single-chip microcomputer as core, it is structured by temperature testing circuit, A/D switch circuit, zero passage testing circuit, warning and indication circuit, optical-electrical isolation and power amplifier circuit and so on.
The main content of this design is temperature testing circuit that uses AT89C51 single-chip microcomputer .It is a part of the whole design that cannot be lacked. The system is used to collect and control temperature in real time. The temperature automatic control system based on single-chip microcomputer is described in the article including system scheme,parts of an apparatus choice, theoretical analysis,the design of hardware and software, system testing,and the main technical performance parameters.
Key Words:Single?Chip Microcomputer Temperature sensor Temperature collecting Temperature controlling PID algorithm
目 录
1 前言 1
2 系统方案设计 2
2.1 课题要求与内容 2
2.2 总体方案设计 2
2.2.1 系统结构 3
2.2.2 具体设计考虑 3
2.3 硬件和软件功能划分 4
3 系统硬件的设计 5
3.1 微处理器 5
3.2 温度检测电路设计 6
3.3 温度控制电路设计 10
3.4看门狗电路设计 12
3.5人机通道设计 13
4 系统软件的设计 16
4.1 软件设计概述 16
4.2 程序的总体设计 16
4.3 系统资源分配 16
4.4系统程序 17
4.4.1系统主程序 17
4.4.2 按键处理子程序 18
4.4.3 标度变换 20
4.4.4显示处理 20
4.4.5 定时中断子程序 22
4.5 PID控制算法 23
4.6 控制面板的设计 26
4.6.1 控制面板的介绍 26
4.6.2 控制面板的功能 27
5 系统调试 28
5.1 硬件调试方法 28
5.1.1 联机调试 28
5.1.2 脱机调试 29
5.2 软件调试方法 29
结 论 31
致 谢 32
参考文献 33
附 录 341 前 言
电加热炉随着科学技术的发展和工业生产水平的提高,已经在冶金、化工、机械等各类工业控制中得到了广泛的应用,并且在国民经济中占有举足轻重的地位。对于这样一个具有非线性、大滞后性、大惯性、时变性、升温单向性等特点,很难用数学方法建立精确的数学模型,因此用传统的控制理论很难达到良好的控制效果。所以我们要开发一种新的控制系统,不用建立数学模型就能对被测对象进行良好的控制。
近年来,由于单片机技术的运用与发展以及各种先
显示全部