摘 要 现今,自动控制技术尤其是温度控制技术在国内外得到广泛的应用和进展。时滞效应始终困扰着其实际应用,为此人们发明了多种控制方法来解决时滞问题,例如比例控制方式、DDC 控制方式,本文将针对一种温度控制方式进行学习,并设计一个以8051 单片机为核心、利用新型集成化智能 1-Wire 总线数字温度传感器 DS18B20 实现的温度采集控制系统,同时还阐述了直接数字控制(DDC)中的最少拍控制算法。 本设计采纳以 8 位 8051 单片机作为系统的 CPU。使用电加热器升温,直流电机风扇降温,配合键盘输入,液晶显示器显示。具有硬件结构简单、人机界面友善、管理功能健全、系统可靠性高、记录数据准确、使用维护方便等优点。 本系统根据模块化程序设计思想,完成了对系统软件部分的设计,给出了各个功能模块的设计思想和流程图。温度采集控制控制系统不但能够准确地进行温度数据的采样转换,稳定进行升温、降温、恒温的控制过程,而且可以记录温度—时间对应关系,并以现今广泛使用的液晶显示器作为输出设备,使数据读取更加直观。现场实验表明,该系统在测试过程中工作稳定,满足设计要求。 在系统设计过程中利用 WAVE 仿真器通过实验机配套的串行通讯电缆,将电缆的一端与实际机相连,另一端与 PC 机的串行口相连,构成一个 8051 单片机在线仿真调试系统,完成了本系统软硬件的开发调试。关键字:温度采集控制系统;单片机;DS18B20;DDCAbstract Nowadays, the automatic control technique is a temperature particularly controls technique at domestic and international get the extensive application with develop. Time postpone effect perplex always in fact on the occasion of applied, for this person invents various controls method to resolve the problem of Time postpone. This paper introduces a design of temperature data acquisition system based on single-chip 8051. The system collects temperature data through 1-Wire Digital Thermometer DS18B20, and the control algorithm of fuzzy adjustment of DDC parameters is presented. The temperature data acquisition and control system adoption with 8 8051 single a machine for system CPU. The usage electricity hea...