文档介绍:西安电子科技大学
硕士学位论文
基于模糊模式识别算法抽油井诊断平台的设计与实现
姓名:张建河
申请学位级别:硕士
专业:软件工程
指导教师:白丽娜;郑心泉
20100601
摘要
随着中石油数字化油田建设逐步深入,油田自动化系统建设向分布式、智能
化的实时控制方面发展。本文从中石油新疆油田公司准东采油厂抽油井示功图智
能诊断的实际需求出发,以模糊模式识别技术为指导,在分析数据库技术、UML
建模技术及软件开发技术的基础上,对抽油井诊断平台进行设计,并对实现过程
中的相关技术和方法作了较为详细的论述。本文所设计的系统包含四个子系统:
其一是单井诊断系统,它完成单井的历史示功图诊断或实时示功图诊断功能;其
二是诊断计划管理系统,它完成油井诊断日计划的安排,并根据当天的计划生成
诊断结果报表;其三是诊断日志查询系统,它允许维修班人员查询和打印当日的
油井诊断日志;其四是标准库维护系统。它完成诊断中心库的管理和维护功能。
本文首先利用 Power Designer 作为分析建模工具展示了基于 面向对象
的系统开发过程,以及 Oracle 数据库开发与设计方法。然后给出了抽油井示功图
特征值算法和目前比较流行的基于特征值的择近原则模糊模式识别算法。同时文
章结合生产实际,列举了与油井 RTU 实时通讯与生产现场自动化数据库通信的核
心程序算法,并对其基本原理进行了解释说明。最后,文章描述了系统的单元测
试、功能测试和性能测试的主要内容。测试结果基本达到了设计的预期要求。系
统实现时开发平台充分考虑系统非功能需求特点,采用当前流行的 Visual
C++2005,基于 C/S 模式的构建,具有程序响应速度快的优势。
关键词:抽油井示功图模糊模式识别实时诊断
Abstract
Oil field automation system is moving toward the development of the distributed,
intelligent real-time control aspects with the gradual deepening of Digital Oilfield
Construction of China Petroleum. In this paper,starting the actual needs of Pumping
Well Dynamometer intelligent diagnosis of ZHUNDONG Production Plant of
XINJIANG pany, Fuzzy Pattern Recognition technology as the guide,
describes the diagnosis of pumping oil platform design process, and discussed in detail
in the implementation process of the relevant technologies and methods based on the
analysis of database technology, UML modeling techniques and software development
technology. This system consists of four sub-systems:1. Single-well Diagnostic System.
It is able to achieve single-well diagram showing the history of diagnosis or real-time
indicator diagram diagnostics; 2. Diagnostic Program Management System. It includes
Schedule of Diagnosis, and generated reports of diagnostic results, according to the plan
the same day; 3. Diagnostic logging Inquiry System. It allows the maintenance duty
officers query and print the date of diagnosis of logging wells; 4. Standard library
Maintenance Sy