1、 I 目 录 摘 要 .I Abstract II 第 1 章绪论 1 1.1 课题背景 . 1 1.2 设计要求 2 1.3 主要研究内容 2 第 2 章系统方案选择 3 2.1 系统设计 . 3 2.2 方案选择 . 5 第 3 章恒压变频调速供水系统原理 6 3.1 系统的组成和基本工作原理 . 6 3.2 变频调速技术的节能、调速原理 . 7 第 4 章 系统硬件设计 10 4.1 可编程控制器(PLC) . 10 4.1.1 PLC 的基本结构及功能 . 10 4.1.2 PLC 的工作过程 . 12 4.1.3 可编程控制器的选择 . 13 4.1.4FP1 的 A/D 转换模块和
2、 D/A 转换模块 . 13 4.1.4.1 A/D 模块 . 14 4.1.4.2 D/A 转接模块 15 4.1.5I/O 设计 . 17 4.2 变频器 . 18 4.2.1 变频器简介 . 18 4.2.2 变频调速原理 . 19 4.2.3 变频器选择 . 20 4.3 压力传感器 21 4.4 液位传感器 . 22 4.5 主电路设计 . 24 第 5 章 软件设计 26 5.1 系统启动初始化程序 . 26 5.2 液位检测子程序 . 27 5.3 压力检测子程序 . 28 5.4 多泵并联首起解决 . 29 5.5 报警系统子程序 . 31 5.6 小流量停机睡眠功能 . 31
3、 5.7 PID 调节子程序 . 32 5.7.1 PID 控制的原理和特点 . 32 II 5.7.2 恒压供水算法设计 . 33 5.7.3 PID 控制器的参数整定 . 35 结 论 37 参考文献 38 致 谢 39 I 摘 要 随社会经济的迅速发展,人们对供水质量和供水系统可靠性的要求不断提高,再加 上目前能源紧缺,利用先进的自动化技术、控制技术以及通讯技术,设计高性能、高节 能、能适应不同领域的恒压供水系统成为必然趋势。 本文主要针对当前供水系统中存在的自动化程度不高、能耗严重、可靠性低的缺点 加以研究,开发出一种新型的并在这三个方面都有所提高的 PLC 控制的恒压供水系统。 此设
4、计采用 PLC 控制的变频调速供水系统,由 PLC 进行逻辑控制,由变频器进行压力调 节。在经过 PID 运算,通过 PLC 控制变频与工频切换,实现闭环自动调节恒压供水。运 行结果表明,该系统具有压力稳定,结构简单,工作可靠等优点。 本论文综合运用了可编程控制器(PLC) 、变频器、传感器等现代工业控制常用的控 制部件及其相关程序设计方法。所做的研究对同类系统的研究和开发具有一定的参考价 值。 关键词:恒压供水;可编程序控制器 ;变频器 II AbstractAbstract With the rapid development of social economy, it demands t
5、he better of water supply s quality and reliability of water supply system. Meanwhile energy resources are seriously lack. So it is inevitable tendency to design water supply system which has high function and saves on energy well, with help of advanced technique of automation, control and communica
6、tion. At the same time this system can adapt different water supply fields. The paper study the disadvantages of current water supply system and their automatic level, saving energy and reliability are not very well , and develops a new kind of the constant pressure water supply system based on PLC control which improves automatic level,saving energy and reliability of current water supply system.In this paper, the control principle of VVVF providing-water system is introduced, PLC is used to