文档详情

即热式电热水器控制系统设计毕业论文.doc

发布:2017-08-27约2.07万字共50页下载文档
文本预览下载声明
毕业设计(论文)任务书 学院(直属系):电子信息工程学院 时间: 学 生 姓 名 指 导 教 师 设计(论文)题目 即热式电热水器控制系统设计 主要研 究内容 掌握控制系统设计方法和一般步骤; 2、运用单片机完成对即热式电热水器控制系统设计; 2、熟练运用C语言进行编程。 研究方法 理论研究 主要技术指标(或研究目标) 通过对即热式电热水器控制系统功能需求分析,给出设计方案,完成系统硬件设计,绘制电路原理图,完成控制系统软件设计,通过模拟仿真验证所设计控制系统的性能。 教研室 意见 教研室主任(专业负责人)签字: 年 月 日 说明:一式两份,一份装订入学生毕业设计(论文)内,一份交学院(直属系)。 目录 摘要 I Abstract II 引言 1 第1章 系统功能需求分析与控制方案设计 3 1.1 功能需求分析 3 1.1.1 硬件功能需求分析 3 1.1.2 软件功能需求分析 4 1.2 控制方案设计 4 1.3 执行器的选择 6 1.4本章小结 6 第2章 系统硬件设计 7 2.1 键盘输入电路的设计 7 2.2 LCD1602显示电路的设计 7 2.3 DS1302时钟电路的设计 8 2.4 温度采集电路的设计 9 2.4.1 DS18B20简介 9 2.4.2 DS18B20电路的设计 9 2.5 水流检测电路的设计 10 2.6 加热驱动电路的设计 10 2.6.1 大功率光耦MOC3042 10 2.6.2 驱动电路的工作原理 11 2.6.3 驱动电路的设计 12 2.7 漏电保护技术 12 2.8 本章小结 13 第3章 控制算法设计 14 3.1 PID控制算法 14 3.2 被控对象模型的建立 14 3.3参数整定及MATLAB仿真 15 3.3.1 PID参数整定 15 3.3.2 MATLAB仿真 16 3.4 本章小结 17 第4章 系统软件设计 18 4.1 软件系统总体设计 18 4.2 键盘输入 19 4.3 DS18B20测温 20 4.3.1 DS18B20初始化 20 4.3.2 DS18B20写数据 21 4.3.3 DS18B20读数据 22 4.3.4 DS18B20温度读取 22 4.4 LCD1602显示 23 4.4.1 LCD1602时序介绍 23 4.4.2 LCD1602初始化 24 4.5 PID算法的软件设计 24 4.6 PWM输出 25 4.7 本章小结 26 第5章 模拟仿真与结果分析 27 5.1 显示模拟仿真 27 5.2 加热模拟仿真 28 5.3 结果分析 28 第6章 结论 29 致谢 30 参考文献 31 附录 32 附录A 系统整体电路图 32 附录B 部分源程序 33 关键词:AT89C52,电热水器,PID Abstract The design of electric water heater control system is introduced in this paper. AT89C52 was selected, which is regarded as the main controller, and combines with the keyboard module, display module, clock module, temperature acquisition module, water flow detection module and drive module to complete the hardware circuit design. The water temperature is controlled through the PID, and the software design of electric water heater control system is completed by using C language. In addition,the Safe Care is used to do leakage protection, to ensure the safety of bathing process. Finally, through the simulation of the system, it can display the time and temperature correctly, and the control of the heating circuit can be done accurately. In this way, the expected control objecti
显示全部
相似文档