1、 基于组态软件的双容水箱液位控制系统设计 摘要: 液位控制问题是人民生活以及工业生产过程中的一类常见的问题, 在污水处理, 溶液过滤,化工生产等多种行业在生产加工过程之中都需要对液位进行控制,如果液 位控制得当就能够提高生产效率以及产品的质量。 这些不同背景的液位控制都可以简 化为双容水箱的水位控制问题。 本文基于 MCGS 组态软件, 使用 AE2000B 型过程控制实验装置, 运用 PLC 技术, 自动控制技术,通信技术设计了一个双容水箱串级控制系统,该系统能够完成对下水 箱水位的精确控制并且具有易于操作、运行可靠、抗干扰能力强的特点。 关键词:MCGS; PLC; 液位控制; 双容水箱;
2、 PID; 串级控制 Control System of Double Capacity Water Tank Based on Configuration Software Abstract: It is a kind of common problem that in the process of industrial and people met in life. In the most production process need to control the liquid level including In sewage treatment, filter solution, c
3、hemical production and other industries etc.if the lituid level be controled properly that can improve efficiency of production and quality. All of above problems that with different background can be simplified to double capacity water tank water level control problem. This essay is based on MCGS c
4、onfiguration software,he use of AE2000B process control experimental device, PLC technology, automatic control technology, in addition,we designed a Double Capacity Water Tank Cascade Control System,the system can be precisely controlled under the water tank level and easy operation, reliable operat
5、ion, strong anti-interference ability. Key words: MCGS, PLC, Level control, Double Capacity Water Tank, PID, cascade control 目 录 第 1 章 绪论 . 1 1.1 课题的背景和意义 . 1 1.2 MCGS 组态软件简介 2 1.3 可编程逻辑控制器简介 4 第 2 章 控制系统硬件部分 . 7 2.1 控制系统的组成 7 2.2 器件型号 8 第 3 章 被控对象建模 . 9 3.1 单容过程建模 9 3.2 双容过程建模 .11 第 4 章 实验法求取水箱参数 .
6、 13 4.1 修正实验装置误差 13 4.1.1 电动调节阀的特性 13 4.1.2 上水箱水位特性 14 4.1.3 下水箱水位特性 15 4.2 测定水箱阶跃数据 15 4.3 双容水箱阶跃响应参数 17 4.3.1 求取上水箱传递函数 17 4.3.2 求取下水箱传递函数 19 第 5 章 系统控制方案设计 . 20 5.1 PID 控制原理 . 20 5.2 方案设计 22 5.3 调节器参数整定 24 5.3.1 MATLAB 软件简介 . 24 5.3.2 副回路参数整定 25 5.3.3 主回路参数整定 26 5.3.4 抗干扰能力验证 27 第 6 章 组态界面设计 . 29 6.1 总体设计 29 6.2 具体组态过程 . 30 6.2.1 水箱动画界面 30 6.2.2 定义数据变量 30 6.2.3 动画连接 31 6.2.4 水位数据及曲线 32 6.2.5 报警设置 33 6.2.6 运行策略 34 第 7 章 联机调试 . 36 7.1 PLC 程序设计 36 7.1.1 程序流程图 36 7.1.2 PLC 资源分配 37 7.2 连接实验装置