文档详情

单片机温度控制毕业设计【最新】.doc

发布:2018-04-09约6.08万字共110页下载文档
文本预览下载声明
摘 要 电暖气是一种将电能转化为热能的产品。随着我国供暖制度的改革和人民生活水平的提高电采暖日益成为不可或缺的采暖方式。电暖气的发展势头最AT89S52单片机为核心对电暖气的温度控制进行了设计。其中温度信号由数字温度芯片DS18B20采集,并上传给单片机,经过PID运算后输出控制信号改变可控硅导通角大小,从而达到温度控制的目的。文中设计了该控制系统的硬件部分及软件部分,其中硬件部分包括:温度检测电路、温度控制电路、基于AT89S52单片机的主控模块及其外围模块;文中还设计了软件部分,软件部分包括:数码管显示程序、键盘扫描及按键处理程序、温度信号处理程序、可控硅控制程序、超温报警程序。 本设计由于增加了温度显示模块和键盘输入模块,实现了温度的实时显示和温度的连续可调功能,更好的满足了用户的需求。 关键词:AT89S52,DS18B20,温度控制,串口通讯,PID Abstract Heater is a kind of energy into heat energy. With Chinas heating system reform and improvement of peoples living standard, the electric heating become indispensable heating mode. In numerous electrical heating mode in the most robust development momentum of heater, but it also has many needs to improve. Based on the core of heater AT89S52 SCM for the temperature control design. Temperature signal chip DS18B20 acquisition by digital temperature, and the PID arithmetic to microcontroller, through the output control signal after changing conduction Angle size, so as to achieve the aim of control temperature. In the design of the control system, the hardware part temperature detection circuit, including: temperature control circuit AT89S52 SCM, based on the control module and peripheral modules. This design software, including: digital display and keyboard scan tube program and key process, temperature signal processing program, SCR control program, the program. This design increased temperature display module and keyboard input module, realize the real-time display temperature and the temperature of the continuous adjustable, and better meet the needs of users. Keywords: AT89S52 devices, DS18B20, temperature control, serial communication, PID 目 录 摘 要 I Abstract II 目 录 III 第1章 绪论 1 1.1 课题的背景及其意义 1 1.2 课题研究的内容和要求 1 1.3 基于单片机的电暖气温度控制的方案设计 2 第2章 温度控制理论基础 4 2.1单片机的发展概况 4 2.2 AT89S52单片机介绍 5 2.2.1 AT89S52简介 5 2.2.2 AT89S52引脚介绍 6 2.2.3 AT89S52最小系统 8 2.2.4 AT89S52单片机时钟和复位电路 9 2.3数字温度传感器DS18B20 10 2.3.1 DS18B20器的主要特性 10 2.3.2 DS18B20数据处理过程 11 2.4 数码管LED 12 2.5 PID控制算法原理 12 2.5.1 PID参数
显示全部
相似文档