1、 2009 届本科毕业论文(设计)届本科毕业论文(设计) 论文题目:论文题目:基于单片机的小型开水锅炉控制系统设计基于单片机的小型开水锅炉控制系统设计 学学生姓名:生姓名: 所在院系:所在院系: 机电学院机电学院 所学专业:所学专业: 导师姓名:导师姓名: 完成时间:完成时间:2009 年年 05 月月 20 日日 摘要摘要 本文介绍了一种新型智能全自动电锅炉控制系统,并给出了系统的工作原 理、硬件结构及软件流程。本系统采用 ATMEL 公司单片机系列中的 AT89S51 为 CPU, 采用双线串行 CMOS 型电可檫写存取器 AT24C02A 记忆用户的温度设 定值,采用固态继电器 SSR
2、作为控制驱动电路的开关器件,用独特的新型单线 智能数字温度传感器 DS18B20 作为测温元件,测温精度可达 0.5,这种数字 传感器可以与单片机直接连接无需其它电路。 此外在温度传感器的地方并联一个 液位传感器,再配上固态继电器控制水泵的补水开关,完成对水位的控制。实际 使用证明该系统具有良好的控制效果。 关键词关键词: 电锅炉,单片机 AT89S51,数字温度传感器,液位传感器 1 Based on single-chip control of small hot water boiler Abstract This article describes a new type of inte
3、lligent control system of automatic electric boilers, and give the systems working principle, hardware structure and software flow. The system uses ATMEL Corporation AT89S51 single-chip series for the CPU, using two-wire serial CMOS-based electricity can be Sassafras Writing AT24C02A memory device u
4、sers access to temperature settings, the use of SSR as a switching device, using a unique new one-way intelligent DS18B20 digital temperature sensor as a temperature measurement components, temperature measurement accuracy of up to 0.5 , such a digital sensor can be directly connected with the singl
5、e-chip microcomputer without other circuits. In addition,temperature sensor at our place and then a liquid level sensor parallel Reinforced with Water pump relay control switch, water level control to achieve. Actual use to prove that the system has good control effect. Key words: Electric Boiler, S
6、inglechip AT89S51, Digital Temperature Sensor, Liquid Level Sensor 目目 录录 1 绪论 1 2 设计要求 1 3 方案论证 1 3.1 温度检测设计方案. 1 3.2 水位检测设计方案. 2 4 系统结构框图 3 5 单片机外围器件的设计 3 5.1 元件选择及介绍. 4 5.1.1 单片机 AT89S51 . 4 5.1.2 温度传感器 DS18B20 . 6 5.1.3 掉电存储器 AT24C02 . 10 5.1.4 固态继电器 SSR . 11 5.2 硬件电路具体设计与实现. 12 5.2.1 水温采集部分 12 5.2.2 水位采集部分 12 5.2.3 显示电路 13 5.2.4 驱动电路 14 5.2.5 报警电路 15 5.2.6 键盘接口电路 15 5.2.7 掉电存储电路 16 6 软件设计 16 6.1 程序流程图. 17 6.2 程序清单:见附录二. 17 7 系统总体电路图:见附录一 18 8 结论 19 谢辞 19 参考文献 19 附录一:总体电路图 21 附录二:程序