辽宁科技大学本科生毕业设计 第 I 页
游泳池水处理系统的PLC设计
摘 要
在工业不断发展的今天,人们更加追求自动化的同时可编程序控制器映入了我们的眼帘,可编程序控制器在各行各业的应用不断增加,让我们看到他的应用之广泛,此次设计是在游泳池水处理自动控制方面的一个具体体现,正文介绍了可编程序控制器(PLC)、西门子S7-300 CPU313及温度传感器在游泳池水处理系统中的应用及PID调节。本设计在详细了解了S7-300 PLC的结构、用法,以及游泳池水处理系统的工艺流程的前提下,运用PLC对水处理各环节进行精确的控制。引入PLC后,比传统的游泳池更加安全、可靠,更加节省人力资源,操作简单,节省硬件等诸多优点,随着市场的开放与不断扩大许多国外的品牌不断涌入我国,我们可以选用更适合要求的产品。选用合适的PLC有利于系统的完美发挥,无论是从抗干扰能力或是其他方面PLC控制的系统都是当前最具实力的产品。
关键词:可编程序控制器;S7-300;PID温控
辽宁科技大学本科生毕业设计 第 II 页
PLC designing of natatorium water processing system
Abstract
With the development and advancement of industry, the Programmable Logic Controller that has been widely applied in a lot fields has become focus nowadays. This designing is a material and concrete exhibition in the aspect of natatorium water processing system. This article mainly illustrates PID regulation and the application of Programmable Logic Controller---PLC, Siemens S7-300 CPU313 and temperature sensor in the natatorium water processing system. The article has detailed introduced the S7-300 PLC structure and usage. Furthermore, it has completely complained the process of circulation water processing system and temperature regulation, as well as the concrete operation process. Comparing to the traditional one, the PLC controlling system has made the natatorium more safe and credible. Moreover, it not only can be operated easily, but also can save a lot of human resource and hardware for us too. As people have known, Programmable Logic Controller has become the developing trend of industrial automation. Due to the open and distensible market, a lot of foreign products of PLC that provide more choices for us have entered. As people have known, a good choice of PLC will make the system more perfect.
Keywords:Programmable Logic Controller ;S7-300;PID temperature control
辽宁科技大学本科生毕业设计 第 III 页
目 录
摘 要 ......................................................................................................................................... I ABSTRACT........................................................................................................................... II 1 绪 论 .................................................................................................................................... 1
1.1 引言 .................................................................................................................................. 1 1.2 国内外游泳池水处理方式 .............................................................................................. 1 1.3 本课题研究主要内容 ...................................................................................................... 2 1.4 课题研究的意义 .............................................................................................................. 2
2 系统概述 ............................................................................................................................. 4
2.1 设计要求 .......................................................................................................................... 4 2.2 控制系统简介 .................................................................................................................. 4 2.3 控制系统要求 .................................................................................................................. 5 2.3.1 水循环及过滤部分 ................................................................................................... 6 2.3.2 水质检测及加投药部分 ........................................................................................... 7 2.3.3 恒温加热系统控制 ................................................................................................... 7
3 PID温度控制 ................................................................................................................... 11
3.1 基本概念 ........................................................................................................................ 11 3.1.1 比例调节(P调节) .............................................................................................. 11 3.1.2 积分调节(I调节) ............................................................................................... 11 3.1.3 微分调节(D调节) ............................................................................................. 12 3.2 PLC中的PID控制实现方法 ........................................................................................ 12
4 西门子S7-300及硬件设计 ........................................................................................ 15
4.1 PLC的简介 .................................................................................................................... 15 4.1.1 PLC的特点 .............................................................................................................. 15
辽宁科技大学本科生毕业设计 第 IV 页
4.1.2 PLC的分类 .............................................................................................................. 16 4.2 PLC的基本组成 ............................................................................................................ 16 4.2.1 主机 ......................................................................................................................... 16 4.2.2 编辑器 ..................................................................................................................... 18 4.2.3 I/O扩展和其他外围设备 ........................................................................................ 18 4.3 PLC的基本工作原理和工作方式 ................................................................................ 18 4.4 硬件介绍 ........................................................................................................................ 19 4.4.1 数字量模块 ............................................................................................................. 19 4.4.2 模拟量模块 ............................................................................................................. 20
5 操作与软件部分............................................................................................................. 22
5.1 水循环控制过程 ............................................................................................................ 22 5.2 恒温加热部分控制 ........................................................................................................ 23
结 论 ...................................................................................................................................... 24 致 谢 ...................................................................................................................................... 25 参考文献 ............................................................................................................................... 26 附 录 ...................................................................................................................................... 27