基于组态王的储油罐液位控制的监控软件系统设计
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
毕业设计(论文)任务书
摘要:利用组态王开发的监控软件系统,是新型的工业自动控制系统,它以标准的工业计算机软、硬件平台构成的集成系统取代了传统的封闭式系统。组态王监控软件系统在石油化工生产中起着非常重要的作用。
本文针对生产过程中的储油罐液位,设计开发了基于组态王的上位机监控软件系统。该系统利用北京亚控公司生产的组态王软件实施上位机界面组态,对系统进行实时的操作和监控,在整个原油液位控制过程中不需要下位机。储油罐液位监控软件系统实现上位机直接控制,使用组态王软件设计人机对话界面,完成上下限参数的在线设置,通过在组太王工程浏览器中的命令语言编辑对话框里输入控制程序,并且经过不断地调试运行,实现计算机在线自动监控。在实际的原油生产中,该监控软件系统必须和外部硬件设备连接,通过RS232/485通讯电缆进行计算机与现场设备之间的数据交换,从而实现了对过程控制装置液位的实时数据采集和实时控制。
通过分析储油罐液位监控软件系统的设计要求,文章详细阐述了该系统的设计方法和制作流程,并进行了模拟仿真运行,最终达到了液位自动监控。本次设计的重点是组态画面的建立以及命令语言程序的编写,只有准确地完成这两个方面,才能有效地实现液位的自动控制功能。
仿真测试结果表明:该系统满足了设计需求,能够按照给定值进行储油罐液位的实时自动监控,具有良好的稳定性。
关键词:监控;组态王;液位
The design of Tank level control monitoring software system Abstract: The monitoring software system developed by the Kingview is a new type of industrial automatic control system, which is an integrated system having standard industrial computer software and hardware platform. It has replaced the traditional closed system. The monitoring software based on the Kingview plays a very important role in the petrochemical industry.
In this paper, aiming at the tank level in the production process, the PC monitoring software system based on the kingview has been designed and developed. The system implement the PC interface configuration using the Kingview produced by Bejing Asia control company. It can complete the real-time operation and monitoring of the system. The oil level control in the whole process does not require the the next crew. The tank level monitoring software system achives the direct control of the host computer. It completes the on-line set of the upper and lower parameters using the interactive interface designed by the Kingview. By importing the control program in the command language editing dialog of the engineering browser of the Kingview, continuously commissioning and operationing, the system can come true the computer on-line automatic monitoring. In the actual production of the crude oil, the monitoring software system must be connected to the external hardware equipment. Exchanging the data between the computer and the field devices via RS232 / 485 communication cable, the system can achive the real-time data acquisition and control of the level of the process control devices.
By analyzing the design requirements of the monitoring software system of the tank level, the article elaborated the system design methods and production processes. After the simulation of the system runned, it ultimately reached the liquid level automatic monitoring. The emphasis of the design is to buid the configuration
screen and write a command language program, only these two aspects were completed, the system could
effectively achieve the automatic control function of the level.
The simulation results show that: the system meets the design requirements. It is also able to complete real-time automatic monitoring of the tank level with the given values. The system has a good stability.
Keywords: monitoring; Kingview; level
目录
1 绪论........................................................................
1.1 课题研究的背景及意义..................................................
1.2 国内外研究现状........................................................
1.3 课题研究的目的........................................................
1.4 课题研究的内容........................................................
1.5 课题研究的准备工作....................................................
2 液位监控系统的整体分析......................................................
2.1 位式控制简介..........................................................
2.1.1 位式控制的概念 ..................................................
2.1.2 位式控制与PID控制的区别.........................................
2.2 液位监控系统的结构分析................................................
2.3 液位监控系统的控制方案................................................
2.3.1 控制方案的选择 ..................................................
2.3.2 控制方案的基本原理 ..............................................
2.4 液位控制系统的程序设计................................................
3 液位监控系统的硬件选型......................................................
3.1 液位传感器............................................................
3.2 数据采集卡............................................................
3.3 监控主机..............................................................
3.4 继电器................................................................
3.5 电磁阀................................................................
3.6 电源..................................................................
3.7 放大电路..............................................................
4 液位监控系统的软件设计......................................................
4.1 组态软件的介绍........................................................
4.1.1 组态软件的概念和产生的背景.......................................
4.1.2 组态软件的特点和功能 ............................................
4.1.3 组态软件现状和使用组态软件的步骤.................................
组态软件的现状......................................................
使用组态软件的一般步骤..............................................
4.2KingviewV6.55概述.....................................................
4.2.1 工程管理器 ......................................................
4.2.2 工程浏览器 ......................................................
4.2.3 画面运行系统 ....................................................
4.3 组态王监控软件系统的设计..............................................
4.3.1 系统设计任务与要求 ..............................................
4.3.2 工程的建立 ......................................................
4.2.1 定义外部设备和变量 ..............................................