1、 I 基于单片机的油温温控系统设计 内容摘要: 本文介绍了以 AT89C51 单片机为核心的电烤箱温度控制系统。电烤箱的温度控制 系统有两个部分组成:硬件部分和软件部分。其中硬件部分包括:单片机电路、传感 器电路、放大器电路、转换器电路、以及键盘和显示电路。软件部分包括:主程序、 运算控制程序、以及各功能实现模块的程序。文章最后对本设计进行了总结。对温度 控制系统的发展提出了几点建议。 关键词 :单片机 AT89C51;温度传感器 AD590;温度控制;PID 调节算法 Single-chip based on the ovens temperature control system desi
2、gn Abstract: This paper introduces the AT89C51 single-chip microcomputer as the core of the oven temperature control system. Hardware components which include: Single-chip circuit, sensor circuit, amplifier circuit, converter circuit, as well as the keyboard and display circuit. Software include: th
3、e main program, operator control procedures, as well as the realization of the functional modules of the program. Finally. Keywords: AT89C51 microcontroller; AD590 Temperature sensor; Temperature control; PID algorithm II 目 录 前 言 1 第一章 概 述 . 2 1.1 技术指标 . 2 1.2 控制方案 . 2 第二章 硬件部分设计 3 2.1 单片机电路设计 . 3 2
4、.1.1 中央处理器 CPU . 3 2.1.2 运算器 . 3 2.1.3 AT89C51 单片机引脚功能 . 5 2.1.4 引脚功能 . 6 2.1.5 控制线 . 7 2.1.6 AT89C51 单片机的存储器结构 . 7 2.1.7 AT89C51 单片机的并行 I/O 端口 . 7 2.1.8 AT89C51 单片机时钟电路及时序 . 8 2.1.9 复位电路 . 8 2.1.10 AT89C51 单片机的指令系统 9 2.2 传感器电路设计 . 9 2.2.1 传感器概述 . 9 2.2.2 传感器的基本特性 10 2.2.3 热电阻的测量电路及应用 11 2.3 A/D 转换电路设计 12 2.3.1 逐次逼近型 A/D 转换器 ADC0809 12 2.4 放大器电路设计 15 2.4.1 交流放大器电路 15 2.4.2 直流放大器电路 18 2.4.3 运算放大器电路 18 2.4.4 集成运算放大器概述 19 2.5 键盘及显示电路的设计 19 2.5.1 键盘接口电路 19 2.5.2 LED 显示器接口电路 21 III 2.6 抗干扰