﻿ 基于Matlab的控压钻井压力控制建模方法

1. 中国矿业大学(北京)机电与信息工程学院, 北京 100083;
2. 中国石油集团大庆钻探工程公司钻井工程技术研究院, 黑龙江大庆 163413

A Pressure Control Modeling Approach for Managed Pressure Drilling Using Matlab
HAN Xu1, HAN Yu'an2
1. College of Mechanical Electronic & Information Engineering, China University of Mining and Technology (Beijing), Beijing, 100083, China;
2. Drilling Engineering Technology Research Institute, CNPC Daqing Drilling & Exploration Engineering Corporation, Daqing, Heilongjiang, 163413, China
Abstract: In this paper, a pressure control modeling approach using Matlab was studied to improve the pressure control accuracy of managed pressure drilling.Firstly, throttling control pressure principle of throttle valve was analyzed, the equation representing physical characteristics of throttle valve was established on the basis of Bernoulli's equation.To do so, it was necessary to acquire throttling control pressure experiment data of throttle valve and to develop a four-parameter equation that could be used to calculate the pressure control of throttle valve.This was done by means of linear regressions using Matlab software.Second, the relation equation between the opening and throttling areas of the throttle valve was established by using Matlab software which perform goodness of fit analysis based on the characteristic curve of opening and equivalent diameter of the throttle valve selected in this experiment.Third, the opening and switching time data of the throttle valve was collected from its on-off experiment, and the relation equation between the opening and switching times was developed by using Matlab software fitting, and the theoretical model of throttling control pressure was finally established by combining above-mentioned equations.And fourth, the model was translated into the universal real time code by using the semi-physical simulation plug-in of Matlab software and the automatic control software for managed pressure drilling was prepared by adopting the modularized modeling method.In this way, the pressure control model was constructed.It was verified by a circulation analog system that this model could meet the fine pressure control requirements of managed pressure drilling with the response time of control system less than 10 s and the automatic control pressure accuracy ±0.2 MPa.It is proved that this Matlab based pressure control modeling approach for managed pressure drilling is viable.
Key words: managed pressure drilling     pressure control approach     wellhead back pressure     control model

1 节流压力控制模型的建立和验证 1.1 模型的建立

 图 1 液控节流阀控制原理示意 Fig.1 Sketch of control principle of the hydraulic control throttle valve

 (1)

 (2)

 (3)

 图 2 节流循环控压试验系统示意 Fig.2 Sketch of the throttling-circulating pressure control testing system

 (4)

 图 3 选定的节流阀开度与当量直径的关系曲线 Fig.3 Relationship between the equivalent diameter and the opening size of selected throttle valve
 图 4 节流阀节流面积与开度的拟合曲线 Fig.4 Fitting curve of throttling area and opening size of throttle valve

 (5)

 (6)

 (7)
1.2 模型的验证

 图 5 控压理论模型验证残差图 Fig.5 Residual plot of control formula verification
2 控压钻井系统控制模型的建立 2.1 控制方式

2.2 控制模型的建立

 图 6 控压钻井系统控制流程 Fig.6 Control flow chart of managed pressure drilling system

 图 7 控压钻井系统控制模型 Fig.7 Control model of managed pressure drilling system

3 控制模型的验证

 图 8 控制模型控压效果曲线 Fig.8 Control pressure effect curve of control model

4 结论与建议

1) 应用Matlab软件强大的数据处理功能，建立了选定节流阀的压力控制理论模型，建模方法便捷，准确性较高，置信度达到了97%以上。

2) 应用Matlab软件先进的控制算法以及控制策略，使控制系统的响应时间小于10.0 s，控制精度达到了±0.2 MPa。

3) 地面试验表明，自动控制软件已经达到要求，但还需要通过现场试验不断积累数据，并进行回归计算，使理论模型和控压模型更加完善，以满足精细控压钻井的需求。

 [1] 王洋, 韩来聚, 步玉环, 等. 控压钻井井口回压控制技术仿真研究[J]. 石油机械, 2014, 42(2): 10–13. WANG Yang, HAN Laiju, BU Yuhuan, et al. The simulation of wellhead back pressure control technology for managed pressure drilling[J]. China Petroleum Machinery, 2014, 42(2): 10–13. [2] 张兴全, 周英操, 刘伟, 等. 控压欠平衡钻井井口回压控制技术[J]. 天然气工业, 2013, 33(10): 75–79. ZHANG Xingquan, ZHOU Yingcao, LIU Wei, et al. Wellhead backpressure control in under-balanced and managed pressure drilling[J]. Natural Gas Industry, 2013, 33(10): 75–79. DOI:10.3787/j.issn.1000-0976.2013.10.012 [3] 苏勤, 赵向阳. 一种精细控压钻井流动模型的研究与应用[J]. 石油钻探技术, 2013, 41(1): 8–13. SU Qin, ZHAO Xiangyang. The research and application of a fine MPD flow model[J]. Petroleum Drilling Techniques, 2013, 41(1): 8–13. [4] 张豪阳, 李二欠, 吕德瑾. 基于MATLAB与AMESim的液压系统仿真特点[J]. 煤矿机械, 2016, 37(7): 163–165. ZHANG Haoyang, LI Erqian, LYU Dejin. Simulation characteristics of hydraulic system based on MATLAB and AMESim[J]. Coal Mine Machinery, 2016, 37(7): 163–165. [5] 杨贵恒, 文武松, 张颖超, 等. 基于RTW的单项半桥逆变器SPWM控制算法实现[J]. 电源世界, 2015(4): 21–24, 32. YANG Guiheng, WEN Wusong, ZHANG Yingchao, et al. Realization of the SPWM algorithm for single-phase half-bridge inverter based on RTW[J]. The World of Power Supply, 2015(4): 21–24, 32. [6] 周英操, 杨雄文, 方世良, 等. 精细控压钻井系统研制与现场试验[J]. 石油钻探技术, 2011, 39(4): 7–12. ZHOU Yingcao, YANG Xiongwen, FANG Shiliang, et al. Development and field test of PCDS-Ⅰprecise managed pressure drilling system[J]. Petroleum Drilling Techniques, 2011, 39(4): 7–12. [7] 刘琛, 唐亮. 控压钻井自动节流控制系统的研制与应用[J]. 新疆石油天然气, 2013, 9(4): 78–83. LIU Chen, TANG Liang. The research and application of MPD automatic throttle control system[J]. Xinjiang Oil & Gas, 2013, 9(4): 78–83. [8] 袁亚锐, 徐莉萍, 任德志, 等. 金刚石压机位置控制数学模型的建立及Simulink仿真[J]. 液压与气动, 2005(2): 55–57. YUAN Yarui, XU Liping, REN Dezhi, et al. Mathematical model for diamond press position control and its Simulink simulation[J]. Chinese Hydraulics & Pneumatics, 2005(2): 55–57. [9] 史勇, 刘小勇, 高翔, 等. 电液比列加载系统的模糊PID控制策略的研究[J]. 流体传动与控制, 2014(4): 24–27. SHI Yong, LIU Xiaoyong, GAO Xiang, et al. Research on fuzzy-PID control strategy of electro-hydraulic loading system[J]. Fluid Power Transmission and Control, 2014(4): 24–27. [10] 金业权, 孙泽秋, 刘刚. 控压钻井钻井液动节流压力控制系统仿真分析与试验研究[J]. 石油钻探技术, 2013, 41(2): 109–113. JIN Yequan, SUN Zeqiu, LIU Gang. Simulation analysis and experimental study of managed pressure drilling hydraulic throttle pressure control system[J]. Petroleum Drilling Techniques, 2013, 41(2): 109–113.

#### 文章信息

HAN Xu, HAN Yu'an

A Pressure Control Modeling Approach for Managed Pressure Drilling Using Matlab

Petroleum Drilling Techniques, 2017, 45(3): 67-71.
http://dx.doi.org/10.11911/syztjs.201703012