毕业论文-基于AT89C52单片机的自动温度自动控制系统设计.doc
文本预览下载声明
基于AT89C52单片机的自动温度自动控制系统设计AT89C52,DS18B20,PID
ABSTRACT
With the development of science and technology, temperature is used to be controlled parameter in industrial production. Controlling controlled parameter by microcontroller has been main trend in todays society. This paper introduces the design of digital temperature measurement and automatic control system .It consists of AT89C52 microcontroller, temperature sensor, show circuit and temperature control circuit. It is able to display and set temperature in real-time. The purpose is to achieve the control of temperature. Besides, it has over- temperature alarm program. Tests show that this design not only controls temperature conveniently and simply but also improve the technical indicators of controlled temperature greatly. With as the core of microcontroller, this design achieves the control of temperature. Temperature signal is collected by temperature chip DS18B20 and transmitted to microcontroller in the form of digital signal. This paper introduces the hardware of the system including temperature detection and temperature control circuit. Microcontroller achieves the purpose of temperature control by processing sign correspondingly.
KEY WORDS: automatic temperature control, AT89C52 , DS18B20, PID
目 录
前 言 1
第1章 系统总体设计 2
1.1 系统设计任务与要求 2
1.1.1 系统设计任务与要求 2
1.1.2 重点研究内容 2
1.1.3 实现途径及方法 2
1.2 系统总体方案设计 3
第2章 系统硬件各功能模块的设计 5
2.1 主控模块的设计 5
2.1.1 AT89C52单片机简介 5
2.1.2 温度传感器的选择 6
2.1.3复位和时钟电路的设计 9
2.1.4 温度采集电路 10
2.2 人机接口设计 11
2.2.1 键盘的设计 11
2.2.2 显示电路的设计 11
第3章 软件设计 13
3.1主程序模块 13
3.2数据采集和显示模块 14
3.3输入模块 21
第4章 PID控制和参数整定 24
4.1 PID调节器控制原理 24
4.2 PID控制的分类 25
4.3 数字PID参数的整定 26
4.3.1 采样周期选择的原则 27
4.3.2 PID参数对系统性能的影响 27
4.4 PID计算程序 29
第5章 仿真 36
5.1 PROTEUS软件简介 36
5.2仿真 36
致 谢 38
参考文献 39
附 录 40
附录1:源程序 40
附录2:原理图 45
前 言
温度是表征物体冷热物理量。在很多生产过程中,温度的测量和控制都直接和安全生产、提高生产效率、保证产品质量、节约能源等重大技术经济指标相联系。因此,温度的测量与控制在国民经济各个领域中均受到了相当程度的重视。
单片机系统的开发应用给现代工业测控领域带来了一次新的技术革命,自动化、智能化均离不开单片机的应用。将单片机控制方法运用到温度控制系统中,可以克服温度控制系统中存在的严重
显示全部