水温自动控制系统毕业设计论文(DOC) 下载本文

内容发布更新时间 : 2024/6/26 11:54:52星期一 下面是文章的全部内容请认真阅读。

毕 业 设 计 论 文

水温自动控制系统

钟野

院 系: 电子信息工程学系 专 业: 电气自动化技术 班 级: 学 号: 指导教师: 职称(或学位):

2011年 5 月

目 录

1 引言 ............................................................................................................................................. 2 2 方案设计 ..................................................................................................................................... 2

2.1 总体系统的设计思路 ..................................................................................................... 2 2.2 部分外围系统的设计思路 ............................................................................................. 3 3 硬件电路设计 ............................................................................................................................. 3

3.1 单片机最小系统的设计 ................................................................................................. 3 3.2 温度检测电路的设计与论证 ......................................................................................... 4 3.3 显示功能电路的设计与论证 ......................................................................................... 5 3.4 温度报警提示功能电路的设计与论证 ......................................................................... 5 3.5 外围电路控制设计 ......................................................................................................... 6 3.6 扩展部分方案设计 ......................................................................................................... 7 4 软件设计 ..................................................................................................................................... 7

4.1 控制主程序设计 ............................................................................................................. 7 4.2 温度设置程序设计 ......................................................................................................... 8 4.3 上下限报警程序设计 ..................................................................................................... 8 5 结论 ............................................................................................................................................. 9 结束语 ............................................................................................................................................. 9 致谢 ............................................................................................................................................... 10 参考文献 ....................................................................................................................................... 10 附录 ............................................................................................................... 错误!未定义书签。

水温自动控制系统

钟野

(XXXX电子信息工程学系 指导教师:CXJ)

摘要:本文设计主要是采用AT89C51单片机为控制核心、以温度传感器(DS18B20)为温度采集元件, 外加温度设置电路、温度采集电路、显示电路、报警电路和加热电路来实现对水温的显示同时自动检测及线性化处理,其误差小于±0.5℃。本文重点介绍硬件设计方案的论证和选择,以及各部分功能控制的软件的设计。本次设计的目标在于:由单片机来实现水温的自动检测及自动控制,实现设备的智能化。 关键词:单片机;温度传感器;自动控制

Abstract: This paper is designed AT89C51 microcontroller as control core and temperature sensor DS18B20) for (temperature gathering element, plus the temperature setting circuit, temperature gathering electriccircuit, display circuit, alarm circuit and heating circuit to achieve water temperature display while automatically detecting and linearization, its error is less than 0.5 + ℃. This paper mainly introduces the hardware design argumentation and choice, and some functional control software design. This design goal is: by single-chip microcomputer to realize the automatic detection and automatic temperature control, realize the intellectualized equipment. Keywords: Microcontroller; Temperature sensors; Automatic control

1