当前位置:首页 > 基于plc200的电磁阀耐久试验系统设计(我的毕业设计) - 图文
沈阳化工大学学士学位论文 摘要
摘要
本设计的目的是实现PLC对于电磁阀耐久性试验的全自动化控制,包括检测电磁阀开关动作次数和检测电磁阀漏气两个过程。为解决这一问题,本文从改进工艺流程出发,先后进行了硬件的选型,电气连接图的绘制,下位机(PLC)程序的设计编写和调试,上位机(MCGS)监控画面的编制。最后在实验室进行了上位机和下位机的联机统调,并完成了仿真试验。
本设计对以往电磁阀耐久检测试验的工艺流程进行了改进。以往的试验流程分为两步,先是检测次数环节,然后是人工检测漏气(目测法)环节。本设计在硬件上增加了漏气检测部分,从而在工艺上把两个环节合为一起,自动实现了检测次数和检测漏气两个过程。同时也加入了PID算法控制的恒压供水环节,以保证试验水压的恒定。
本设计的下位机程序设计采用的是顺序控制法,使得程序结构紧跟工艺流程,因此相比经验设计法设计出来的程序,程序可读性强,为以后系统的升级提供方便。上位机采用MCGS组态软件建立的组态画面,可以实现参数设定,工艺流程监视,检测次数实时查看,仿真调试和报警的功能。
关键字:电磁阀耐久试验; PLC; 顺序控制;PID;MCGS
沈阳化工大学学士学位论文 Abstract
Abstract
The purpose of this design is to realize the electromagnetic valve endurance test PLC control, including the calculation of electromagnetic valve movement times and electromagnetic valve leakage detection. In order to solve the problem, this paper has the hardware selection, electrical connections drawing and PLC program design to write and debugging, PC (MCGS) monitoring menu of government. Finally for the PC and lower place machine online unit adjustment, and finished the simulation test in the laboratory.
This design is improved the used electromagnetic valve durability test process flow. Previous test process is divided into two steps, first testing number link, and then is the artificial leak detection (visual method) link. This design in hardware increased the leak detection part, thus in the process the two links on combined together, realize the automatic testing number and testing leak two process. At the same time also joined the PID control algorithm of constant pressure water supply link, to ensure the tests of constant water pressure.
The design of the program design of the PLC control is in order, making the program structure follows process, the program readable. PC can realize the parameters set, process monitoring, testing number real-time view, the simulation test and alarm function.
Keywords: electromagnetic valve durability test; PLC; sequence control; PID;
MCGS
沈阳化工大学学士学位论文 目录
目 录
引言 ........................................................................................................... 1 第一章 控制系统的工艺要求及其分析..................................................... 2 1.1电磁阀耐久性试验控制系统的工艺 ................................................ 2 1.1.1 电磁阀耐久性试验基本原理 .................................................. 2 1.1.2 电磁阀检测试验详细流程...................................................... 2 1.2电磁阀耐久性试验控制系统的工艺分析 ......................................... 3 1.2.1 电磁阀耐久性试验控制系统设计主体思路 ........................... 3 1.2.2 电磁阀耐久性试验控制系统设计分部分析 ........................... 4 第二章 控制系统硬件设计 ....................................................................... 5 2.1硬件设计联接图 .............................................................................. 5 2.2 PLC、变频器、其他硬件的选型 ................................................. 6 2.3 I/O分配表 .................................................................................... 7 2.4 硬件接线图 ................................................................................... 8 2.4.1主接线图及其控制接线图 ...................................................... 8 2.4.2 PLC接口接线图..................................................................... 9 第三章 控制系统下位机程序设计 .......................................................... 10 3.1顺序功能图.................................................................................... 10 3.2 梯形图设计................................................................................... 12
i
沈阳化工大学学士学位论文 目录
3.2.1符号表 .................................................................................. 12 3.3.2主要程序详解 ....................................................................... 12 3.3模拟量闭环控制 ............................................................................ 15 3.3.1模拟量量化 ........................................................................... 15 3.3.2 PID设计 ............................................................................... 16 3.3.3 模拟量量化和PID程序设计 ............................................... 16 第四章 控制系统上位机程序设计 .......................................................... 17 4.1 上位机实时数据库的建立 ............................................................ 17 4.2设备的选择和通道的连接 ............................................................. 17 4.3主画面的绘制、连接..................................................................... 18 4.4上位机和下位机联机调试 ............................................................. 20 结束语 ..................................................................................................... 21 参考文献 ................................................................................................. 22 致谢 ......................................................................................................... 23 附录 ......................................................................................................... 24
ii
共分享92篇相关文档