液体温度数字控制系统解读 下载本文

内容发布更新时间 : 2024/5/7 4:50:19星期一 下面是文章的全部内容请认真阅读。

液体温度数字控制系统设计

摘 要

随着电子技术以及微型计算机的迅速发展,微机测量和控制技术也得到了迅速的发展和广泛的应用。利用微机对温度进行测控的技术, 也便随之而生, 并得到日益发展和完善, 越来越显示出其优越性。在人类的生活环境中,温度扮演着极其重要的角色。人们在日常生活和工业生产中对温度的要求也越来越高,温度监测和控制系统逐渐走入了人们的生活。恒温控制器日益成了人们生活中的必不可少的用品。因此,优化设计出一种技术优先、设备成熟、经济实用的恒温控制系统在生活及工业生产中是至关重要的。温度是工业生产中常见的工艺参数之一,任何物理变化和化学反应过程都与温度密切相关,因此温度控制是生产自动化的重要任务。

水温控制在工业及日常生活中应用广泛,分类较多,不同水温控制系统的控制方法也不尽相同,本设计基于80C31BH单片机控制的水温智能控制系统, 介绍了系统在硬件和软件方面的设计思想,以80C31BH单片机为核心,采用了温度传感器AD590,以PID算法控制以及PID参数整定相结合的控制方法来实现的水温控制系统。建立了用户操作界面,构成微型监控系统,使水温变化情况可以进行动态的显示,并能在一定的范围内由人工设定。

关键词 80C31BH 智能控制 AD590温度传感器 PID算法

I

沈阳工程学院毕业设计(论文)

Abstract

As electronic technology and the rapid development of micro-computer, computer measurement and control technology has been rapid development and wide application. The use of computer monitoring and control of the temperature of the technology, will also be followed by students and the development and perfection of the growing, more and show its advantages. In the human living environment, the temperature plays an extremely important role. people in their daily lives and industrial production that the requirements of temperature rising, temperature monitoring and control system gradually into people's lives. Temperature controller has become increasingly essential to people's lives in supplies. Therefore, the optimal design of a technique first, equipment, mature and economical temperature control system in living and industrial .Temperature is commonly found in industrial production, one of the process parameters, any physical change and chemical reaction process is closely related with temperature, so temperature control is an important task for automation.

The water temperature control applies widely in the industry and the daily life, the classification are many, the different water temperature control system's control method is also different, this design the water temperature intelligent control system which controls based on the 80C31BH monolithic integrated circuit, introduced the system in the hardware and the software aspect's design concept, take the 80C31BH monolithic integrated circuit as a core, has used temperature sensor AD590, the water temperature control system which by the PID algorithm control as well as the PID parameter installation, unifies the control method which realizes. Has established the user operation contact surface, the constitution miniature supervisory system, enables the water temperature change situation to be possible to carry on the dynamic demonstration, and can by establish artificially in certain scope.

Keywords 80C31BH Intelligent control AD590 temperature sensor PID algorithm

II

液体温度数字控制系统设计

目录

摘要 .................................................................................................................................I Abstract ......................................................................................................................... II 前言 ................................................................................................................................ 1 1系统概述 ..................................................................................................................... 2 1.1系统的设计原则 .................................................................................................. 2 1.2设计任务及条件 .................................................................................................. 3 1.3总体方案设计 ...................................................................................................... 3 1.4各部分电路方案论证 .......................................................................................... 4 1.4.1温度采样部分 ............................................................................................... 4 1.4.2加热方案和功率电路的选择 ....................................................................... 5 1.4.3键盘显示部分 ............................................................................................... 6 1.4.4加热降温控制选择 ....................................................................................... 6 2硬件电路设计与计算 ................................................................................................. 8 2.1微型计算机的选择 .............................................................................................. 8 2.2温度采样和转换电路 .......................................................................................... 8 2.2.1温度传感器 ................................................................................................... 8 2.2.2信号放大器 ................................................................................................... 8 2.2.3 A/D转换器 ................................................................................................... 9 2.3输出通道基本组成 ............................................................................................ 11 2.4人机交互通道 .................................................................................................... 12 2.4.1温度设定电路 ............................................................................................. 12 2.4.2温度显示电路 ............................................................................................. 12 2.4.3超限报警电路 ............................................................................................. 14 2.5驱动控制电路 .................................................................................................... 15 2.6晶体振荡回路 .................................................................................................... 16 2.7上电复位电路 .................................................................................................... 16 3软件设计 ................................................................................................................... 18 3.1主程序设计 ........................................................................................................ 18 3.2程序结构设计 .................................................................................................... 18 3.3软件的总体构成 ................................................................................................ 19 3.4典型程序模块 .................................................................................................... 21 3.4.1温度检测程序 ............................................................................................. 21 3.4.2温度控制程序 ............................................................................................. 22 3.5 报警电路 ........................................................................................................... 23

III