摘 要
加热炉炉温控制系统是一个实际的科研课题,完全可在生产实际中应用。本系统检测的参数为温度,采用数字单片机可以对控制系统进行理想的控制。通过本设计可以使学生熟悉和掌握单片机的实际应用,了解单片机在现代检测和控制领域的发展方向。
本设计以单片机为核心对电加热炉的温度进行监测和控制,采用单片机来对他们控制不仅具有控制方便,简单和灵活性大等优点,而且可以大幅度提高被控温度的技术指标,从而能够大大的提高产品的质量和数量。研究单片机的原理和应用,对加热炉的温度进行检测并用显示电路显示检测结果。研究按键和显示电路的应用,温度控制采用数字PID算法,参数检测值超过额定值的±10%时进行报警,设计单片机系统的硬件和软件部分。应用单片机组成硬件系统,画出硬件连接详图(电路原理图)。完成该课程的软件设计,提交程序设计框图和程序清单。在软硬件设计的基础上做相应单片机系统仿真。
关键词:加热炉;炉温控制;PID;单片机;仿真
Abstract
The furnace temperature control system is a practical scientific research subject and can be applied in production. The parameters of the system are temperature, and the digital single-chip computer can be used to control the control system. Through this design, students can be familiar with and master the practical application of SCM, and understand the development direction of SCM in the field of modern detection and control.
This design uses single chip computer as the core to monitor and control the temperature of electric heating furnace. Using single chip computer to control them not only has the advantages of convenience, simplicity and flexibility, but also can greatly improve the technical index of the controlled temperature. Thus can greatly improve the quality and quantity of products. The principle and application of single chip computer are studied. The temperature of heating furnace is detected and the result is displayed by display circuit. The application of keystroke and display circuit is studied. The digital PID algorithm is used in temperature control. When the parameter detection value exceeds the rated value ±10, the hardware and software parts of the single-chip computer system are designed. Application of single Chip Microcomputer Group Hardware system, draw the details of the hardware connection (circuit schematic diagram). Complete the software design of the course, submit the program design block diagram and program list. On the basis of software and hardware design, the corresponding MCU system simulation is done.
Key words: reheating furnace; furnace temperature control; PID; MCU; simulation
目 录
摘 要 I
Abstract II
第1章 绪论 1
1.1课题背景及意义 1
1.2发展现状 2
1.3研究主要内容 3
第2章 加热炉炉温控制系统总体方案设计 4
2.1总体方案的确定 4
2.2加热炉炉温控制系统组成 5
第3章 加热炉炉温控制系统技术和算法介绍 6
3.1 AT89C51简介 6
3.1.1单片机的引脚介绍 6
3.1.2单片机的存储结构 8
3.2 PID算法介绍 10
3.2.1 PID算法的数字化 10
3.2.2 PID算法的运用 11
第4章 加热炉炉温控制系统硬件设计 13
4.1加热炉炉温控制系统概况 13
4.2功能模块 13
4.2.1单片机控制模块 13
4.2.2数据转换与采集模块A/D0808 14
4.2.3按键选择模块 15
4.2.4显示模块 15
4.2.5报警模块 16
4.2.6输出模块 16
4.3总体方案的实现和元器件清单 17
4.3.1加热炉炉温控制系统的整体设计 17
4.3.2元器件清单 18
第5章 加热炉炉温控制系统软件设计 19
5.1 Protues7软件概况 19
5.2 WAVE6000软件简介 21
5.2.1软件概况 21
5.2.2程序界面 21
5.3子程序设定 22
5.4程序流程 22
5.5程序仿真调试 29
5.5.1 WAVE6000仿真调试 29
5.5.2软硬连调 29
总 结 31
参考文献 32
附 录 33
致 谢 47