1、 I 基于单片机炉温控制系统设计 摘 要 本文主要从硬件和软件两方面介绍了MCS-51单片机温度控制系统的设计思路,简单 说明如何实现对温度的控制,并对硬件原理图和程序框图作了简洁的描述。还介绍了在 单片机温度控制系统的软硬件设计中的一些主要技术关键环节,该系统主要以89C51单 片机为核心,由温度检测电路,模/数转换电路, 过零检测电路, 报警与指示电路, 光电 隔离与功率放大电路等构成。 关键词:单片机;温度传感器;温度检测;温度控制;PID算法 II Based On Single-chip Microcomputre Temperature ControlSystem Design A
2、bstract The design of single-chips 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 softw
3、are 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
4、 and power amplifier circuit and so on. Key Words:SingleChip Microcomputer;Temperature sensor;Temperature collecting; Temperature controlling;PID algorithm III 目目 录录 1 前言 . 1 1.1 课题的背景与意义 1 1.2 课题的应用与展望 2 1.3 课题举例简介 2 2 总体方案 . 3 2.1 系统结构 3 22 单片机温控模块 . 3 2.3 具体设计考虑 4 3 硬件设计 . 5 3.1 AT89C51 单片机的最小系统设计 . 5 3.1.1 电源电路 . 5 3.1.2 时钟电路 . 5 3.1.3 复位电路 . 7 3.2 温度控制电路 7 3.3 温度检测电路设计 8 3.3.1 设计目标 . 8 3.3.2 设计的出发点 . 8 3.3.3 设计原理 . 8 3.3.4 转换电路 . 8 3.3.5 信号处理电路 . 9 3.3.6 主电路 . 10 3.4 光电隔