基于PLC的太阳能热水器自动控制系统的毕业设计论文
基于PLC的太阳能热水器自动控制系统设计

基于PLC的太阳能热水器自动控制系统设计Design of Solar Water Heater Automatic Control System Based on PLC学院:电气工程学院专业班级:自动化1005班学号:100302516学生姓名:魏天野指导教师:白山(教授级高工)2014 年6 月摘要现在,城市居民绝大部分都使用了太阳能热水器,农村也有相当一部分人使用。
太阳能热水器在技术上比较成熟、造价比较低廉,同时由于给人民提供绝对安全的热水而受到人们的欢迎,且具有节能、环保、安全、便利、长久等优点,所以它的应用会越来越广。
因此,研究和开发先进的太阳能热水器控制系统变得越来越重要。
本设计阐述了可编程控制器(PLC)在太阳能热水器控制系统中的应用,重点研究了系统的硬件构成及软件的设计过程。
指出了PLC设计的关键是能满足基本的控制功能,并考虑维护的方便性、系统可扩展性等。
本设计利用西门子S7-200PLC,进行了太阳能热水器自动控制系统的I/O分配和PLC选型,编写了PLC程序梯形图和接线图,实现了自动上水排水、自动循环、自动加热、PID闭环控制恒温出水、手动与自动模式切换等功能。
并在此基础上,利用S7-200的仿真软件对系统进行了仿真,利用WinCC Flexible 软件组态了人机界面,使用MPI通信协议实现了PLC与触摸屏的通信连接。
把可编程控制器PLC作为太阳能热水器的控制系统,增加了系统的方便性与可靠性,减少了其它元器件的使用。
它使系统接线简单,检修维护方便快捷,增进了系统的先进性。
论文分为四章:第一章介绍了太阳能热水器发展背景及设计意义;第二章介绍了太阳能热水器的工作原理;第三章介绍了硬件选型及系统流程;第四章介绍了系统程序的编写、系统的仿真、人机界面(WinCC Flexible)组态过程。
关键词:太阳能热水器;PLC;自动控制系统AbstractNow, vast majority of urban residents use solar water heaters, so do a considerable number of rural people. Solar water heaters are technically more mature, relatively low cost. Meanwhile, since it provide absolute security to the people of hot and people are welcome, and it has some advantages of energy saving, environmental protection, safety, convenience, long, etc. So it will be widely applied. Therefore, the research and development of controlling system of advanced solar water heater are becoming increasingly important.This design expounds the application of PLC in solar water heater automatic controlling system, especially the designing process of hardware and software of the system. Furthermore, the project shows that the key of PLC designing is to satisfy the basic controlling function, considering the convenience of maintenance and scalability. In this design, the address of I/O is resigned and the suitable PLC is chosen. The electrical principle diagram and the interconnection diagram are drawn, according to the requirement. Automatic water drainage, automatic cycle, automatic heating, PID loop control temperature water, manual and automatic mode switching function have been realized. And on this basis, the system was simulated using the simulation software for S7-200, produced a man-machine interface by using WinCC Flexible software. As the controlling system of solar water heater, PLC greatly reduces the number of other components. Moreover, it has the feature such as simple interconnection, rapid and easy fault detecting and maintenance, and advancement of the system.The paper is divided into four chapters: the first chapter describes the background of the development and design of solar water heaters significance; Second chapter describes the working principle of solar water heaters; Third chapter describes the hardware selection and system processes; The fourth chapter describes the procedures for the preparation of the system, system simulation, HMI (WinCC Flexible) configuration process.Keywords: Solar water heater; PLC; Automatic control system目录摘要 (I)Abstract (II)第1章绪论 (1)1.1课题研究的背景 (1)1.2国内外研究现状简述 (2)1.3太阳能热水器市场分析 (3)1.4本设计特点及主要内容 (5)第2章太阳能热水器的组成及工作原理 (6)2.1太阳能热水器的基本结构 (6)2.2太阳能热水器的工作原理 (8)2.3本设计要实现的功能 (10)第3章太阳能热水器硬件的选型及设计 (11)3.1 PLC的工作原理 (11)3.2硬件设备的选型 (13)3.2.1 PLC的选型 (13)3.2.2其他硬件的选型 (15)3.3太阳能热水器的整体设计 (18)3.3.1 PID闭环控制 (18)3.3.2 PLC与外部设备连接方案 (20)3.3.3水工艺流程设计 (22)第4章系统软件框架的构建与系统仿真 (23)4.1系统的I/O口地址及相关的软元件功能设置 (23)4.2系统的程序流程图 (25)4.3设计控制系统的梯形图程序 (28)4.4系统仿真 (35)4.5组态人机界面 (39)第5章结论 (42)参考文献 (43)致谢 (45)附录S7-200仿真监控图 (46)第1章绪论1.1课题研究的背景太阳能(Solar Energy),一般是指太阳光的辐射能量,太阳能是一种可再生能源,广义上的太阳能是地球上许多能量的来源,如风能,生物质能,潮汐能、水的势能等等。
太阳能热水器自动控制系统的设计

2 . 2具有较 广的功 能性和其 适应 性
在 当代 P L C 可 以 对 常 开 常 闭 开 关 进 行 其 电脑控制 ,使 其方 便,精准计算 。不仅如此 , P L C具有 电路的一切运算 、处理等功 能,并且 P L C不仅仅 只能控制机器 ,他可 以控制 几台机 器或者 是一 条生产线,使其方便工厂 的加工 , 向着 人 们 所 希 望 的 方 向 前 进 。
分P L C 由P L C 设 计 的 太 阳 能 热 水 器 自动 控 制 满足其 热 水器 的基 本 控 制 功 能、修 理 更加 的便 利 、 系 统 具有 拓 展 等一 系列优 点。 太 阳 能热水器 自动控制 系统中 由于 P L C 的加入 ,减 少太 阳能 热水 器对 其 他 元件 的使 用, 大大减 少 了热水 器的损 坏 性 ,从 而达 到 了 系统 的
1太 阳能热水器系统发展 的概述
在 工 业革 命发 展 的前 提下 ,世 界各 国工 业 快速 发展。然而工业革命 带来 的环境 问题 日 益突出。现阶段 ,人们 把 目光放在清洁能源上 , 以求得可持续性发展 。太 阳能,作为源源不断 的能源 一直饱受人们 的关注 。在 现阶段 ,太阳 能发展 已经获得 了卓越 的成 效,例如太阳能 电 池 、 太 阳 能 热 水 器 ,太 阳 能 发 热 等 。但 是 现 阶 段,我国大部分太 阳能热水 器控 制部分是通过 单片机 完成的 ,在单片机 电路中存在大量的中 间继 电器和时 间继 电器来运 行其工作,不仅元 器件过多 ,而且 电路连接 也过于复杂 ,不利于 维修 。现如今 ,电路 的发展 迅速,人们将 目光 放 在简单、实用 的电路上 。人们发现可编程控 制器 ( P L C) 通 过 使 用 时 间 继 电器 和 中 间 继 电 器,重复使用常开 、常闭触 点的方法 ,并且通 过 “ 软元件 ”的方法 使其 取代大量 的时 间继 电 器 和中间继 电器 ,使 复杂 电路简化 ,使其 易于 操作。现阶段 ,太 阳能热 水器的普及 。然而传 统的热水器 中大多采用单 片机控制 ,单片机开 发价格不仅高 ,而且 过于复杂,使得成本逐渐 升高,不利于市场 的普及 。 P L C开发价格较低 , 操作方便 ,实用性较 强,易于流通市场 。所 以 传统太阳能 已经不适 应人们的生活要求 ,所 以 我们 现阶 段将重 点放 在有 P L C的太阳 能热水 器控制系统 。
太阳能热水器温度控制系统-毕业设计论文

太阳能热⽔器温度控制系统-毕业设计论⽂毕业设计(论⽂)题⽬太阳能热⽔温度控制系统院别电⽓⼯程学院专业电⽓⾃动化技术班级姓名学号指导教师(职称)⽇期摘要随着社会的发展,节能技术的不断改⾰创新,太阳能成为新时代可持续发展战略中带有绿⾊标志的新型能源。
近年来,随着⼈们购买⼒的提升,太阳能热⽔器⼰经变成我们⽇常⽣活中必不可少的设备,太阳能控制器的使⽤率逐年上升。
太阳能热⽔温度控制器的硬件包括单⽚机处理器部分、⽔位和温度信息采集部分、继电器执⾏部分、显⽰部分控制部分。
根据设计系统的稳定性、精确性、节能性、适应性等原则,进⾏硬件部分设计。
控制系统的软件是服务于硬件的,系统将实时采集到的数据与相应的设定值进⾏⽐较、判断,结果是控制循环⽔泵或上⽔电磁阀的⼯作,实现各种智能控制同时,软件还要兼顾到操作⼈员⽅便地选择⼯作⽅式、设置和修改各种设定值,因为⼈们可以根据天⽓情况及⽤户的需要选择定时加热状态、⾃动加热状态软件还要设定以太阳能为优先使⽤的能源,只有在太阳能没有将⽔温加热到⽤户要求的温度下,才启动辅助能源进⾏加热。
关键词:太阳能热⽔温度控制单⽚机传感器⽔温⽔位AbstractWith the development of the society, continuous reform and innovation of energy-saving technology, solar energy into a new era of sustainable development strategy in the new energy with green logo. In recent years, with the raise of people's purchasing power, solar energy water heater has become in our daily life indispensable equipment, solar controller utilization rate increased year by year.Solar hot water temperature controller hardware including the single chip processor parts, water level and temperature data collection, the relay parts, display control part. According to the design of system stability, accuracy, energy saving, adaptability principle, hardware design.Software is in the service of the hardware of the control system, the system will be collected in real-time data comparing with the corresponding value, judgement, the result is to control the circulating water pump or water solenoid valve, to achieve a variety of intelligent control at the same time, the software gives priority to the operator to easily choose the way to work, set up and modify various Settings, because people can choose according to the weather conditions and the needs of the users regularly heating, automatic heating state software also set to gives priority to the use of solar energy, not only in the solar energy heat the water temperature to the temperature of the user requirements, to launch the auxiliary energy for heating. Keywords:Solar hot water temperature control; Single chip microcomputer; The sensor; Water level⽬录摘要 ....................................................................................................................................................... I 第1章绪论 (1) 1.1 太阳能热⽔器的发展背景 (1)1.1.1 太阳能热⽔器发展的政治法律环境 (1)1.1.2太阳能热⽔器发展的社会环境 (2)1.1.3 太阳能热⽔器发展的经济环境 (2)1.1.4 太阳能热⽔器发展的技术环境 (2)1.2 太阳能热⽔器及其控制系统发展现状 (3)1.3 本⽂所作的⼯作 (4)第2章⽅案选择 (5)2.1⽅案论证 (5)2.2系统的总体要求 (5)2.3 ⽅案选择实现 (6)第3章硬件电路芯⽚的选型 (7)3.1单⽚机选型 (7)3.2⽔温检测装置选型 (8)3.3⽔位检测装置选择 (15)3.4 显⽰器件选择 (16)3. 5 键盘模块的选择 (16)第4章硬件系统设计 (18)4. 1单⽚机最⼩系统 (18)4.1.1时钟电路 (18)4.1.2 复位电路设计 (19)4.2温度检测电路 (19)4.3⽔位检测电路 (20)4.4接⼝电路设计 (21)4.5 显⽰电路 (23)4.6报警电路 (25)4.7 键盘电路 (25)4.8辅助加热电路 (26)4.9控制电路 (27)第5章太阳能热⽔器中央控制器的软件设计 (29)5.1 系统总体软件设计 (29)5.1.1 主程序软件设计 (29)5.1.2 ⽔位检测⼦程序 (30)4.1.3 显⽰软件设计 (30)5.1.4 键盘软件设计 (30)第6章总结 (33)参考⽂献 (34)附录A 电路图 (35)第1章绪论1.1 太阳能热⽔器的发展背景在当今资源紧张不断威胁⼈们⽣活的时代,环保型的能源不断受到⼈们的重视,⽽太阳能是以它独有的优势引起了政府与民众的关注。
毕业设计(论文)-基于PLC实现的水温控制

基于PLC实现的水温控制XXX(陕西理工学院电气工程系自动化专业,2007级2班,陕西汉中723003)指导教师:XXX[摘要]针对工农业生产中现有的水温控制系统可靠性低、控制精度差、成本高等缺点。
我们利用三菱FX0N60-MR型PLC构建了一个水温控制系统对这一问题进行了研究。
在整个控制系统中以电阻炉作为被控对象,以水温为被控变量,以三菱FX0N60-MR型PLC为控制器,输入部分外加光电耦合器,并用按键和数码管构建了人机接口设置目标温度;控制算法的选择经过对模糊控制和PID算法的实验对比,最终选择采用PID。
PLC程序利用梯形图编程语言进行编写。
在系统搭建完成后我们利用试凑法,通过大量实验对PID控制器的参数进行了优化,进过测试系统能够达到设计要求。
除此之外该系统还具有硬件结构简单、系统可靠性高、制作成本低廉、控制器参数易于调试等优点。
能够利用小型PLC实现对水温较高精度的控制。
[关键词]PLC 温度控制PIDPLC-based temperature control to achieveLiao zhong lin(Grade 07,Class2,Major Automation,Department of Electrical Engineering,Shaanxi University ofTechnology,Hanzhong 723003,Shaanxi)Tutor: Liu pei[Abstract] According to the existing water temperature in the industry and agriculture production control system reliability, low cost, high control precision poor shortcomings. We use mitsubishi FX0N60-MR type PLC has constructed a water temperature control system for this problem is studied. In the whole control system to resistance furnace as controlled object to water temperature as controlled variables, the mitsubishi FX0N60-MR type PLC as the controller, input part plus photoelectric couplers, buttons and digital tube and constructing the man-machine interface set target temperature; The choice of control algorithm based on fuzzy control and PID algorithm experimental, finally choosing PID. PLC program use ladder diagram programming language to write. After the completion of the structures in the system we use trail-and-error, through a large number of experiments of PID controller parameters are optimized, the test system can meet the design requirements. Besides this system also has the hardware structure is simple, system reliability high, production cost is low, and the controller parameters is easy to debug, etc. Can use small PLC to control the water temperature higher accuracy.[Key words] PLC temperature control PID目录绪论 (1)1.设计方案的论证 (2)1.1PLC的选型 (2)1.1.1常用PLC的特点比较 (2)1.1.2本设计PLC的选型 (3)1.2控制方案的选择 (3)1.2.1采用模糊控制的温度控制 (3)1.2.2采用PID算法的温度控制 (3)1.2.3 控制方案的选择 (4)2.硬件电路的设计 (5)2.1PLC硬件资源分配设计 (5)2.2温度传感器 (8)2.2.1 利用温度变送器采集 (8)2.2.2 利用DS18B20采集 (8)2.3输入部分电路设计 (10)2.3.1 设置输入部分电路设计 (10)2.3.2 AD转换结果输入部分电路设计 (10)2.4输出部分电路设计 (10)3.系统软件的设计 (13)3.1PLC编程语言简介 (13)3.2输入部分程序设计 (15)3.3显示部分程序 (15)3.4PID运算部分程序设计 (15)4.系统的调试 (19)4.1硬件调试 (19)4.2软件调试 (19)4.1软硬件联合调试 (19)4.3实验数据 (19)参考文献 (20)英语科技文献翻译 (21)附录 (34)附录A:源程序 (34)附录B:元器件清单 (37)附录C:电路总图 (38)附录D:实物图 (39)致谢 (40)绪论温度控制系统在各行各业的应用虽然很广泛,但从国内生产的温度控制器来讲,总体发展水平仍然不高。
基于plc热水器的设计

单位代码01学号*********分类号TB21密级毕业设计说明书基于PLC的太阳能热水器自动控制系统设计院(系)名称信息工程学院专业名称测控技术与仪器学生姓名指导教师201年月日基于PLC的太阳能热水器自动控制系统设计摘要如今,太阳能热水器在城市中得到了广泛的应用,农村也有相当一部分人在使用太阳能热水器。
因此,研究和开发先进的太阳能热水器控制系统变得越来越重要。
本设计阐述了可编程控制器PLC在太阳能热水器控制系统中的应用,重点研究了系统的硬件构成及软件的设计过程。
指出了PLC设计的关键是能满足基本的控制功能,并考虑维护的方便性、系统可扩展性等。
本设计进行了系统的I/O分配和PLC选型,根据要求绘制出了控制系统电气原理图和接线图等。
把PLC作为太阳能热水器的控制系统,大大减少了其它元器件的使用。
它使系统接线简单,检修维护方便快捷,增进了系统的先进性。
关键词:太阳能热水器,PLC,控制系统Design of Solar Water Heater Control System Based on PLCAuthor: Chen WeiTutor: Wu JuanAbstractNow, vast majority of urban residents use solar water heaters, so do a considerable number of rural people. Therefore, the research and development of controlling system of advanced solar water heater are becoming increasingly important.This design expounds the application of PLC in solar water heater automatic controlling system, especially the designing process of hardware and software of the system. Furthermore, the project shows that the key of PLC designing is to satisfy the basic controlling function, considering the conveniences of maintenance and scalability.In this design, the address of I/O is resigned and the suitable PLC is choosed. The electrical principle diagram and the interconnection diagram are drawn, according to the requirement.As the controlling system of solar water heater; PLC greatly reduces the number of other components. Moreover, it has the feature such as simple interconnection, rapid and easy fault detecting and maintenance, and advancement of the system.Key words:Solar Water Heater, PLC, Control System目录1 绪论 (1)1.1 本设计研究的目的和意义 (1)1.2 国内外研究现状 (1)1.2.1 国内研究现状 (1)1.2.2 国外研究现状 (2)1.3 我国太阳能热水器的种类 (2)1.3.1 平板式太阳热水器 (2)1.3.2 全玻璃真空管式热水器 (3)1.3.3 热管式太阳能热水器 (3)1.3.4 热管—真空管式太阳能热水器 (4)1.4 研究的内容 (4)2 太阳能热水器系统功能简介 (5)2.1 太阳能热水器概述 (5)2.2 太阳能热水器组成 (6)2.3 太阳能热水器的基本工作过程 (7)2.4 可编程控制器概述 (8)2.5 PLC的发展历史 (8)2.6 PLC的特点 (9)2.7 PLC的基本工作原理 (10)3 控制系统的硬件设计方案 (12)3.1 控制系统的基本功能要求 (12)3.2 控制系统的硬件设计方案 (12)3.2.1 系统水温、水位控制原理框图 (13)3.2.2 PLC的选型 (13)3.2.3 PLC硬件控制框图 (14)3.2.4 各单元功能作用介绍 (14)3.2.5 PLC的端口分配 (16)3.3 系统电路的设计 (17)4 控制系统的软件设计方案 (20)4.1 系统软件设计方案 (20)4.2 软件组成 (20)4.3 系统控制流程图 (20)4.4 系统控制顺序功能图 (22)4.5 设计控制系统的梯形图程序 (23)结论 (24)致谢 (25)参考文献 (26)附录 (27)1 绪论1.1 本设计研究的目的和意义用太阳能解决我国家庭热水是最有希望的、最有效可行的途径。
基于plc智能热水器毕业设计论文

毕业论文(设计)原创性声明本人所呈交的毕业论文(设计)是我在导师的指导下进行的研究工作及取得的研究成果。
据我所知,除文中已经注明引用的内容外,本论文(设计)不包含其他个人已经发表或撰写过的研究成果。
对本论文(设计)的研究做出重要贡献的个人和集体,均已在文中作了明确说明并表示谢意。
作者签名:日期:毕业论文(设计)授权使用说明本论文(设计)作者完全了解**学院有关保留、使用毕业论文(设计)的规定,学校有权保留论文(设计)并向相关部门送交论文(设计)的电子版和纸质版。
有权将论文(设计)用于非赢利目的的少量复制并允许论文(设计)进入学校图书馆被查阅。
学校可以公布论文(设计)的全部或部分内容。
保密的论文(设计)在解密后适用本规定。
作者签名:指导教师签名:日期:日期:注意事项1.设计(论文)的内容包括:1)封面(按教务处制定的标准封面格式制作)2)原创性声明3)中文摘要(300字左右)、关键词4)外文摘要、关键词5)目次页(附件不统一编入)6)论文主体部分:引言(或绪论)、正文、结论7)参考文献8)致谢9)附录(对论文支持必要时)2.论文字数要求:理工类设计(论文)正文字数不少于1万字(不包括图纸、程序清单等),文科类论文正文字数不少于1.2万字。
3.附件包括:任务书、开题报告、外文译文、译文原文(复印件)。
4.文字、图表要求:1)文字通顺,语言流畅,书写字迹工整,打印字体及大小符合要求,无错别字,不准请他人代写2)工程设计类题目的图纸,要求部分用尺规绘制,部分用计算机绘制,所有图纸应符合国家技术标准规范。
图表整洁,布局合理,文字注释必须使用工程字书写,不准用徒手画3)毕业论文须用A4单面打印,论文50页以上的双面打印4)图表应绘制于无格子的页面上5)软件工程类课题应有程序清单,并提供电子文档5.装订顺序1)设计(论文)2)附件:按照任务书、开题报告、外文译文、译文原文(复印件)次序装订3)其它河南理工大学成人教育学院毕业设计(论文)任务书站名:平顶山函授站年级专业13级电气工程及其自动化学生姓名张智强一、设计(论文)题目:基于PLC智能热水器二、设计(论文)任务与要求综合运用所学理论知识,实践知识,结合生产、科研课题,在规定时间内独立完成设计要求。
基于西门子PLC的太阳能热水器控制系统

2 S h o o E et ncIf m t n a dc n o E g er g S a d n o t h i U i ri ,i n2 0 5 , hn ) . c o l f l r i n r a o n o t l n i e n ,h n o gP l e nc nv s y J a 5 3 3 C i co o i r n i yc e t n a A s a tA n w s lrh ae a e n d sg e ov e d fcs o a i o a oa e tr T e d f cs b t c : e o a e trh sb e e in d t s l et e e t ft d t n l lrh ae . h ee t r o h r i s c n a n t mp r t r n tb l y q a t y l td a d b ig l b e t e afce . h a d a e o h o t i e e au e i sa i t , u n i i e n en i l o b f td T e h r w f t e i t mi a e r
S me a vc st mp o e te s se , swela t d h r s e to oa e trd v lpme twe e gv n. o d ie o i rv h y tm a l s su y te p o p c fs l h ae e eo r n r ie Ke r y wo ds:oa t rh ae ; LC ; o to y tm s lrwae e tr P c n r ls se
方 面 , 统 的家用 太 阳能热水器存 在着一些缺点 , 传 例 如受 天气因素影 响较大 , 水温不稳 , 管路易冻结等 。 本设 计采用集体 供水方式 , 它采用集 中采热 , 分 散供水 的方 式 , 结合辅助 能源 , 以全天 候的提供温 可
太阳能供热工程智能控制系统毕业论文

毕业设计论文太阳能供热工程智能控制系统摘要目前, 太阳能热水器技术上比较成熟,但热水控制器的功能还有可开发的潜力,市面在售的控制器绝大部分只具备温度和水位显示功能,不具备温度水位的自动控制功能。
虽然有的控制器配有电加热辅助装置,但都不是全智能型的,给用户使用带来许多不便。
太阳能单片机控制系统是对其水温与水位的不同进行检测和控制。
本次设计对太阳能控制系统做出全面的了解,对其结构及原理了解详尽。
对于水温与水位的检测和控制进行了重点介绍。
本次设计有驱动电路能够防水管冻裂,还能够在必要时手动控制。
系统设计包括硬件设计和软件设计两部分。
该控制系统是以AT89C51单片机为基础,实现了检测、控制与显示等功能。
文中详细地描述了控制电路的设计过程,包括:键盘与LED显示电路、驱动电路、水温、水位控制电路等。
对于软件设计采用模块化结构,包括主程序、键盘中断子程序、DS12887更新周期结束中断子程序、LED显示子程序和提前加热时间计算子程序等。
关键词:单片机,太阳能热水器,水位检测,温控系统ABSTRACTAt present,Solar energy water heater technology more mature, but hot water controller function and its development potential,most of the market in the sale of the controller only has the temperature and water level display, do not have the temperature of the water level control function. Although some of the controller is equipped with electric heating system, but not all of the intelligent type, and caused much inconvenience to users.Solar SCM control system is its water temperature and water level detection and control of the different. The design of the solar control system to make a full understanding of detailed understanding of its structure and principle. The water temperature and water level detection and control were highlighted. The design of a drive circuit to water pipe cracking, but also manual control when necessary.System design including the hardware design and software design two parts. This control system based on AT89C51, realized the inspection, control and display, and other functions. This paper describes in detail the design process of the control circuit, including: the keyboard and LED display circuit, drive circuit, water temperature, water level control circuit, etc. The software design using modular structure, including the main program, keyboard interrupt subroutines,DS12887 update cycle ends interrupt subroutines, LED display subroutines and early heating time subroutines, etc.Keywords:Microcontroller,solar water heaters,water level detection, temperature control system目录摘要 (Ⅰ)ABSTRACT (Ⅱ)第一章绪论 (1)1.1太阳能热水器的发展概况及市场竞争分析 (1)1.2太阳能热水器的研究及意义 (2)1.3本课题研究的主要容 (4)第二章太阳能控制系统 (5)2.1控制系统组成 (5)2.2控制装置的工作原理 (9)第三章硬件设计 (10)3.1主要原器件介绍 (10)3.1.1AT89C51高性能8位单片机 (10)3.1.2数码管显示 (12)3.1.3数字温度传感器 (16)3.1.4 ADC0832转换器 (18)3.1.5 继电器 (19)3.1.6 电磁阀与晶闸管 (22)3.1.7 OP07低噪声单运放 (22)3.1.8晶振 (23)3.2水位检测电路的硬件设计 (23)3.3水温检测电路的硬件设计 (24)3.4 键盘电路的硬件设计 (25)3.5驱动电路的硬件设计 (27)3.6显示电路的硬件设计 (27)第四章软件设计 (30)4.1软件设计原理及设计所用工具 (30)4.2显示子程序 (32)参考文献 (34)结束语 (35)致 (36)附录 (37)第一章绪论目前,中国已成为世界上最大的太阳能热水器生产国,年产量约为世界各国之和,已有一百多家太阳能热水器生产厂。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
本科生毕业论文(设计)题目:基于PLC的太阳能热水器自动控制系统的设计姓名:学院:机电工程学院专业:电气工程及其自动化班级:学号:指导老师:完成时间:基于PLC的太阳能热水器自动控制系统的设计摘要本课题研究了可编程控制器(PLC)在太阳能热水器自动控制系统中的应用。
重点研究了系统的硬件构成及系统软件的设计过程。
指出了 PLC 设计的关键主要是能满足基本控制功能, 并考虑维护的方便性、系统可扩展性等。
在本文中经研究确定出了系统的各个工序,绘制了系统的工艺流程图;进行了系统的I/O分配和PLC的选型;根据系统设计要求设计绘制了系统的控制梯形图;绘制出了控制系统电气原理图和接线图等。
通过用PLC对太阳能热水器自动控制系统的改造,大大减少了系统对其它元器件的使用,使系统接线简单、检修维护方便快捷、可靠性提高,增进了系统的先进性。
关键词: PLC;太阳能;自动控制系统;热水器Design of Solar Water HeaterAutomatic Control System Based on PLCAbstractApplication of PLC in solar water heater automatic control system is researched in this paper. The content of this paper on the process of system hardware constitution and the system software design is emphasized . And the key of PLC design that is to satisfy the basic control function is pointed out , meanwhile maintenance convenience and system extension are also considerated. The content of this paper is divided into four parts. In the first part, the procedure of the system is established, and then the treatment flow chart is drawed out; In the second part, The address of I/O is resigned .and the suitable PLC type is choosed. The third part, the control ladder diagram is designed according to the requirement; In the end, the electrical principle diagram and the interconnection diagram are drawn.Through the design of the solar water heater automatic control system, the components that is used in the solar water heater automatic control system are decreased. The performance of the system is lifted, and it has the feature such as simply interconnection, rapid and easy fault detecting and maintenance, and high reliability. In a word, the system becomes more advanced because of my design.Keywords: PLC; solar; automatic control system; water heater目录摘要 (II)Abstract (III)第一章绪论 (1)1.1 本课题研究的目的、意义 (1)1.2国内外研究现状 (1)1.2.1 国内研究现状 (1)1.2.2 国外研究现状 (2)1.3 目前我国太阳能热水器的种类 (2)1.3.1 平板式太阳热水器 (2)1.3.2 全玻璃真空管式热水器 (3)1.3.3 热管式太阳能热水器 (4)1.3.4 热管—真空管式太阳能热水器 (4)1.4 研究的内容 (5)第二章全玻璃真空管式太阳能热水器的综述 (6)2.1 太阳能热水器系统功能简介 (6)2.1.1 太阳能热水器组成、原理和工作过程 (7)2.1.2 太阳能热水器各单元介绍 (9)2.1.3 系统的要求 (10)2.2 可编程控制器(PLC)简介 (10)2.2.1 PLC的发展历史 (11)2.2.2 可编程序控制器的工作原理 (11)2.2.3 可编程控制器的的特点 (12)2.2.4 PLC的分类 (13)2.2.5 可编程控制器应用领域 (14)第三章热水器控制系统的设计方案 (16)3.1 系统硬件的设计方案 (16)3.1.1 PLC的选型 (16)3.1.2 PLC硬件控制框图 (17)3.1.3 各单元功能作用介绍 (17)3.1.4 PLC的端口分配 (21)3.1.5 系统电路的设计 (22)3.2 系统软件设计方案 (25)3.2.1 软件组成 (25)3.2.2 系统控制流程图 (25)3.2.3 设计PLC控制原理(梯形图程序) (30)第四章可编程控制器(PLC)的安装、维护和检修 (31)4.1 PLC的安装 (31)4.2 PLC系统的电源接线 (31)4.3 接地 (32)4.4 输入接线 (32)4.5 输出接线 (32)4.6 PLC的维护和检修 (33)第五章结论 (34)参考文献 (35)致谢 (36)附录Ⅰ梯形图 (37)附录Ⅱ指令表 (40)第一章绪论1.1 本课题研究的目的、意义用太阳能解决我国家庭热水是最有希望的、最有效可行的途径。
太阳能光热应用市场前景广阔,除家庭用热水外,还可用于工业热水、采暖、空调、干燥、农业种植、水产养殖、海水淡化等领域。
从发展角度看,城市家庭生活热水的供给不应由业主考虑,而应与建筑设计开发同时进行。
在此基础上设计出了全玻璃真空管式热水器的自动控制系统。
在电子技术飞速发展的今天,有必要而且有可能采用新技术对原电气控制系统进行改造,以提高可靠性,并实现系统的自动控制,提高太阳能热水器稳定性。
可编程控制器由于可提供使用的时间继电器和中间继电器相当多,而且其常开常闭触点可多次重复使用,使得我们在编程中可以随心所欲。
用内部编程“软元件”取代继电器逻辑控制电路中大量的时间继电器和中间继电器,简化控制线路、有效提高系统的可靠性,是PLC的突出特点。
目前,我国大部分太阳能热水器控制部分,往往需要大量的中间继电器和时间继电器来满足生产工艺要求,结果使电路设计复杂、繁琐,故障时有发生,给使用和日常维护带来了很大的不便。
太阳能热水器是太阳能热利用中商业化程度最高、应用最普遍的技术。
但是在热水器自动控制系统中大多采用单片机控制,单片机开发价格较高,而PLC开发价格便宜。
选用PLC控制,它具有速度快,可靠性高,体积小,功能全,编程简单的特点。
通过改进或完善已有太阳能热水器控制系统的不足,设计开发新型太阳能热水控制系统—基于PLC的太阳能热水器自动控制系统。
1.2国内外研究现状1.2.1 国内研究现状我国太阳能热水器产业发展迅速,目前已成为世界上最大的太阳热水器生产国,但与太阳热水器配套的控制器却一直处于研究和开发阶段,尤其是与太阳能热水器系统匹配的控制器,至今尚未检索到相关报道。
近几年来,市场上陆续出现了一些太阳能热水器控制器,但大多数控制器存在着诸如性能不稳定,容易产生误操作;温度、水位检测、控制误差大;显示器有时出现乱码;与电辅助加热装置不能很好配合;太阳能利用率较低等问题,影响了用户的使用。
更有甚者,有些控制器质量较差,经常发生故障,给用户带来诸多不便,严重影响了用户的使用,从而影响到太阳热水器的销售。
太阳热水器,尤其是太阳热水系统及其控制器有着广阔的发展前景,但现有的技术研究和产品开发投入较少。
因此,在太阳热水器、太阳热水系统的测量控制方面,应引起足够重视,加大投入一定力量研究开发高质量、性能好的测控产品[1]。
1.2.2 国外研究现状太阳能热水器是利用太阳辐射能和热水的装置。
世界上第一台热水器是美国马里兰州的肯普于1891 年发明的。
到第二次世界大战结束,人们创造了各式各样被统称为“闷晒式”的太阳能热水器。
第二次世界大战结束后,人们的注意力又开始转向发展经济。
一些缺少常规能源的国家,如日本,开始投入人力物力开发利用太阳能,经过人们的努力,各种简易的平板太阳集热器已开始在市场中出现。
到20 世界70 年代,随着世界性能源危机日益严重,迫使人们对太阳能的开发利用又重新重视起来,许多国家花了不少人力物力,用于大力研究和开发太阳能利用技术,尤其是太阳能热水器。
到上世纪70 年代末,太阳热水器的开发利用在美国、澳大利亚、日本、德国、以色列等国家得到了很大的发展.在随后的十几年里,平板集热器型太阳热水器的推广应用在一些国家得到了较快的发展。
1975 年美国欧文斯—伊利诺依(OWens-llinois)公司发明了全玻璃真空管太阳集热器并推向市场。
当时,集热管的选择性吸收涂层的平场阳光吸收率约为83%,但由于采用了高真空技术,使集热器的热损失比普通平板式太阳集热器的热损失降低了两个数量级,从而将太阳能热利用技术水平大大提高了一大步。
在随后的十几年内,全玻璃真空管太阳热水器性能通过完善、提高,并逐步降低成本,因而得到了快速发展,到上世纪90年代,这种新型太阳能热水器已成为推广应用的主流产品。
在全玻璃真空管太阳能热水器的基础,为进一步提高效率,提高性能,德国研制出热管式真空管太阳热水器,一些国家研制出了一些高质量的太阳热水器专用零部件,另一些国家为优化设计专门开发了用于太阳能热水器的应用软件。
还有一些国家,开发出功能完善,能全天候使用太阳热水器系统。
在西方先进国家,在太阳能热水器方面的研发和推广应用一直比较活跃[2]。
1.3目前我国太阳能热水器的种类1.3.1 平板式太阳热水器平板式太阳能热水器又叫“平板集热器”,它是太阳热水器的基本型之一。
由它可以派生出许多同类热水器,如翅翼型、波纹板型、塑料压制型等等,但它们的集热基本原理都一样。