摘要本文设计了一个基于 AT89S52 单片机的电热培育箱温度控制系统,阐述了系统的工作原理、硬件电路以及软件设计。详细论述了数字 PID 控制器的原理及其在温度控系统中的应用,将增量式 PID 和 PWM 脉宽调制技术相结合.此外本系统采纳 DS18B20 新型单总线数字温度传感器集温度测量和 A/D 转换于一体,直接输出数字量,与单片机接口电路简单。该系统经过实验,取得了较为满意的控制效果。本系统由核心处理模块、温度采集模块、键盘显示模块、及控制执行模块等模块组成主要完成成对电热培育箱箱内的温度测量、显示;系统过热保护并报警;手动设置温度;温度智能调节等功能。关键词:温度控制;AT89C51 单片机; DS18B20;PID 控制;PWM 波 ABSTRACTThis paper designed a microcontroller AT89S52-based electric incubator temperature control system, described the working principle of the system, the hardware circuit and software design. Discussed in detail the principles of digital PID controller and its application of temperature-control system will be incremental PID and PWM pulse width modulation techniques combined. Furthermore, this system uses DS18B20 new single-bus digital temperature sensor set of temperature measurement and A / D conversion in one, the direct output of digital with the microcontroller interface circuit is simple. The system is experimental, and achieved relatively satisfactory control effect. This system consists of the core processing module, the temperature acquisition module, keyboard display module, and control the implementation of modules modules Completed in pairs inside the main electric incubator temperature measurement, display; system over-temperature protection and alarm; manually set the temperature; temperature of intelligent regulation and other functions. Keywords: temperature control; AT89C51 microcontroller; DS18B20; PID control; PWM wave 目录第一章 引言.................................................................