文章导读:在新的一年中,各位网友都进入紧张的学习或是工作阶段。网学的各位小编整理了自动化PLC相关毕业设计-基于MCGS组态软件的水位控制系统的相关内容供大家参考,祝大家在新的一年里工作和学习顺利!
论文编号:DQ203 论文字数:17394,页数:38
摘 要
随着全球工业的飞速发展,数据采集和实时监控技术在工农业生产和人们的日常生活中应用的越来越广泛。在液位控制系统中采用PID控制以它算法简单,被广泛应用在工业过程控制中,通过调节控制器的参数来使系统达到最佳的性能指标。
本文以THJ-2型高级过程控制系统为基础,采用PID控制方法设计建立了双容水箱的数学模型,用PID控制算法改进对水箱液位的控制,在组态软件MCGS中进行了实现,并将上位计算机与触摸屏进行连接,将在计算机上做好的组态工程下载到触摸屏上,然后把完成水位控制系统在触摸屏上的演示。实验测试结果表明,系统实现了对过程参数的无稳态误差控制,具有良好的稳态性能和动态性能。
关键词:组态监控、 液位、 MCGS
Abstract
With the rapid development of the global industrial, data acquisition and real-time monitoring technology in the industrial and agricultural production and people''''s daily lives more and more applications. In liquid level control system using PID control algorithm is simple and it has been widely used in industrial process control, through the adjustment of controller parameters to achieve the best system performance. In this paper, THJ-2-based advanced process control system based on the use of cascade PID control method designed to establish a dual-capacity water tank of the mathematical model, using PID control algorithm to improve the water tank level control, And host computer to connect with the touch screen will do the configuration on the computer to download to the touch screen works, then complete the level control system on a touch screen presentation.in the configuration software MCGS in achieving The experimental test results show that the system parameters of the process of non-steady-state error control, with good steady-state performance and dynamic performance.
Keywords:Configuration monitoring; Water level; MCGS
目 录
摘要…………………………………………….. ………………………………………………II
1 绪 论………………………………………………………………………………………..1
2 总体方案设计……………………………………………………………………………..3
2.1 THJ-2型高级过程控制系统系统……………………………………………………3
2.2 系统组成…………………………………………………………………………..….4
2.2.1 核心区域和外围模块区域…………………………………………………….4
2.2.2 检测装置……………………………………………………………….………4
2.2.3 执行机构…………………………………………….. ……………….…….....4
2.2.4 液位控制系统……………………………………………………………….....5
3 用MCGS实现水位监控………………………………………………………………….....6
3.1 MCGS工控组态软件简介……………………………………………………………..6
3.1.1 软件简介……………………………………………………………………….6
3.1.2 软件简介运用MCGS建立运行程序一般过程………………………………...8
3.1.3 MCGS脚本程序………………………………………………………….………9
3.2 水位检测与监控……………………………...…………………………………........9
3.2.1 水位制系统…………………………………………………….…...……….....9
3.2.2 变量定义………………………………………………………………………11
3.2.3 画面设计………………………………………………………………………12
3.3 数据显示……………………………………………………………………………..14
3.3.1 报警显示………………………………………………………………………14
3.3.2 数据报表……………………………………………………………………....14
3.3.3 曲线显示……………………………………………………………………......15
4 液位PID控制算法………………………………………………………………………16
4.1 PID控制控制理论…………………………………………………………………...16
4.1.1 PID控制简介………………………………………………………………….16
4.1.2 PID控制实现方式…………………………………………………………….20
4.1.3 PID控制方案设计…………………………………………………………….22
4.2 基于MCGS水箱水位PID控制………………………………………………………23
4.2.1 实时据库………………………………………………………………………23
4.2.2 控制画面……………………………………………………………………....24
4.2.3 算法实现………………………………………………………………………25
4.2.4 运行与调试…………………………………………………………….……...29
5 总 结…………………………………………………………………………….………..31
致 谢…………………………………………………………………………………….………32
参考文献……………………………………………………………………………………….33