Method, device and equipment for detecting drilling abnormity, drilling well and storage medium

文档序号:1949493 发布日期:2021-12-10 浏览:9次 中文

阅读说明:本技术 钻井异常的检测方法、装置、设备、钻井和存储介质 (Method, device and equipment for detecting drilling abnormity, drilling well and storage medium ) 是由 王果 刘匡晓 刘彪 周号博 张俊 孙明光 潘丽娟 范红康 李双贵 刘劲歌 于 2020-06-05 设计创作,主要内容包括:本发明公开了一种钻井异常的检测方法、装置、设备、钻井和存储介质,方法包括获取当前检测时间段的起始时间之前第一历史时间段内的钻井参数的第一实际数据和第二历史时间段内的钻井参数的第二实际数据;对钻井参数的第一实际数据进行训练,得到训练的钻井参数的当前预测模型;将钻井参数的第二实际数据输入当前预测模型进行预测,得到当前检测时间段的钻井参数的预测数据后,设定钻井参数的界限值范围;检测当前时间段内的钻井参数的当前实际数据是否在界限值范围内;若钻井参数的当前实际数据不在界限值范围内,输出异常提示信息,从而减少钻井异常的误报、漏报率,提高了异常检测的可靠性,进而降低井控风险。(The invention discloses a method, a device, equipment, a well drilling and a storage medium for detecting well drilling abnormity, wherein the method comprises the steps of acquiring first actual data of well drilling parameters in a first historical time period before the starting time of a current detection time period and second actual data of the well drilling parameters in a second historical time period; training first actual data of the drilling parameters to obtain a current prediction model of the trained drilling parameters; inputting the second actual data of the drilling parameters into the current prediction model for prediction, and setting the limit value range of the drilling parameters after obtaining the prediction data of the drilling parameters in the current detection time period; detecting whether the current actual data of the drilling parameters in the current time period is within a threshold value range; if the current actual data of the drilling parameters are not within the range of the limit value, outputting abnormal prompt information, thereby reducing the false alarm and missing alarm rate of the drilling abnormity, improving the reliability of the abnormity detection and further reducing the well control risk.)

1. A method of detecting a drilling anomaly, comprising:

acquiring first actual data of the drilling parameters in a first historical time period and second actual data of the drilling parameters in a second historical time period before the starting time of the current detection time period; wherein a start time of the first historical time period is earlier than a start time of the second historical time period; an end time of the first historical time period is earlier than or equal to an end time of the second historical time period;

training the first actual data of the drilling parameters to obtain a current prediction model of the trained drilling parameters;

inputting the second actual data of the drilling parameters into the current prediction model for prediction to obtain prediction data of the drilling parameters in the current detection time period;

setting a limit value range of the drilling parameters according to the prediction data of the drilling parameters;

detecting whether the current actual data of the drilling parameters in the current time period is within the limit value range;

and if the current actual data of the drilling parameters are not within the range of the limit value, outputting abnormal prompt information.

2. The method of detecting a drilling anomaly of claim 1, wherein the drilling parameters include at least one of inlet displacement, well depth, bit position, pendant weight, pump pressure, outlet displacement, and mud pit increment;

if the obtained current actual data of the drilling parameters comprise the current actual data of the outlet discharge capacity and the current actual data of the increment of the mud pit; the limit value range comprises a flow limit value range and a volume increment limit value range;

if the current actual data of the drilling parameters are not within the range of the limit value, outputting abnormal prompt information, including:

if the current actual data of the outlet discharge capacity is not within the flow limit value range, outputting flow abnormity prompt information; and/or

And if the current actual data of the increment of the mud pit is not within the range of the volume increment limit value, outputting first volume abnormity prompt information.

3. The method of detecting a drilling anomaly of claim 2, further comprising:

updating the accumulated volume of the mud pit according to the current actual data of the increment of the mud pit to obtain the current accumulated volume;

detecting whether the current accumulated volume reaches a preset volume threshold value;

and if the current accumulated volume reaches a preset volume threshold, outputting second volume abnormity prompt information.

4. The method of detecting a drilling anomaly of claim 1, further comprising:

obtaining the adjustment prediction data of the drilling parameter in response to the first adjustment operation of the prediction data of the drilling parameter, so as to set the limit value range of the drilling parameter according to the adjustment prediction data of the drilling parameter, and/or

Responding to the first adjustment operation of the threshold value range of the drilling parameter, obtaining the adjustment threshold value range of the drilling parameter, so as to detect whether the variables of the predicted data of the drilling parameter and the acquired current actual data of the drilling parameter in the current time period are in the adjustment threshold value range.

5. The method of detecting a drilling anomaly of claim 1, further comprising:

comparing the current actual data of the drilling parameters with the predicted data of the drilling parameters to generate visual comparison information of the actual data and the predicted data;

and outputting the visual comparison information.

6. The method of detecting a drilling anomaly of claim 5, further comprising:

marking abnormal data in the visual comparison information to obtain marked visual comparison information;

and outputting the marked visual comparison information.

7. An apparatus for detecting a drilling anomaly, comprising:

the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring first actual data of the drilling parameters in a first historical time period before the starting time of the current detection time period and second actual data of the drilling parameters in a second historical time period; wherein a start time of the first historical time period is earlier than a start time of the second historical time period; an end time of the first historical time period is earlier than or equal to an end time of the second historical time period;

the training module is used for training the first actual data of the drilling parameters to obtain a current prediction model of the trained drilling parameters;

the prediction module is used for inputting the second actual data of the drilling parameters into the current prediction model for prediction to obtain the prediction data of the drilling parameters in the current detection time period;

the setting module is used for setting the range of the limit value of the drilling parameter according to the prediction data of the drilling parameter;

the detection module is used for detecting whether the current actual data of the drilling parameters in the current time period is within the range of the limit value;

and the output module is used for outputting abnormal prompt information if the current actual data of the drilling parameters are not within the range of the limit value.

8. An apparatus for detection of a drilling anomaly, comprising a memory and a processor, the memory having stored thereon a computer program which, when executed by the processor, carries out the method of any one of claims 1 to 6.

9. A borehole provided with a borehole anomaly detection apparatus according to claim 8.

10. A storage medium, having stored thereon a computer program which, when executed by a processor, carries out the method according to any one of claims 1 to 6.

Technical Field

The invention belongs to the technical field of oil and gas exploration, and particularly relates to a method, a device and equipment for detecting drilling abnormity, a drilling well and a storage medium.

Background

Along with the development of exploration and development, petroleum engineering drilling is more and more complex in geological environment, drilling conditions are more and more rigorous, and complex strata such as narrow density windows, multi-pressure systems, high temperature and high pressure and the like generally exist. Due to the complex stratum, abnormal events such as leakage, overflow and the like are easy to occur, so that the well drilling period is long, the well drilling operation cost is increased, and the oil-gas exploration and development process and benefit are seriously influenced.

In general, each drilling abnormality is often caused by a change in data of a drilling parameter, and therefore, when a drilling abnormality is detected, a limit value range of the drilling parameter related to the abnormality is often set by a human operator, and the human operator is often reminded when the actual drilling parameter deviates from the limit value range. This detection method can identify anomalies when used correctly, but alarms can also be generated in many normal drilling conditions, for example, when a moving pipeline has pulsating flow, the pump displacement can be changed, thereby obviously influencing the volume change of a mud pit and causing overflow anomalies. However, these alarms issued when actual drilling parameters change as a result of normal drilling operation procedures can be considered "false alarms". High false alarm rate can lead to the well team detection personnel to tired alarm signal, and then ignores alarm information. Increasing the margin value range of the drilling parameters related to the anomaly can effectively reduce false alarm, but can result in the false alarm of some anomalies, thereby increasing the well control risk.

Therefore, how to improve the reliability of anomaly detection is an urgent technical problem to be solved by those skilled in the art.

Disclosure of Invention

The invention mainly aims to provide a method, a device, equipment, a well drilling and a storage medium for detecting well drilling abnormity, so as to solve the problem of low reliability of abnormity detection in the prior art.

In view of the above problems, the present invention provides a method for detecting drilling anomalies, including:

acquiring first actual data of the drilling parameters in a first historical time period and second actual data of the drilling parameters in a second historical time period before the starting time of the current detection time period; wherein a start time of the first historical time period is earlier than a start time of the second historical time period; an end time of the first historical time period is earlier than or equal to an end time of the second historical time period;

training the first actual data of the drilling parameters to obtain a current prediction model of the trained drilling parameters;

inputting the second actual data of the drilling parameters into the current prediction model for prediction to obtain prediction data of the drilling parameters in the current detection time period;

setting a limit value range of the drilling parameters according to the prediction data of the drilling parameters;

detecting whether the current actual data of the drilling parameters in the current time period is within the limit value range;

and if the current actual data of the drilling parameters are not within the range of the limit value, outputting abnormal prompt information.

Further, in the method for detecting drilling anomaly, the drilling parameter includes at least one of an inlet displacement, a well depth, a drill bit position, a suspended weight, a pump pressure, an outlet displacement and a mud pit increment;

if the obtained current actual data of the drilling parameters comprise the current actual data of the outlet discharge capacity and the current actual data of the increment of the mud pit; the limit value range comprises a flow limit value range and a volume increment limit value range;

if the current actual data of the drilling parameters are not within the range of the limit value, outputting abnormal prompt information, including:

if the current actual data of the outlet discharge capacity is not within the flow limit value range, outputting flow abnormity prompt information; and/or

And if the current actual data of the increment of the mud pit is not within the range of the volume increment limit value, outputting first volume abnormity prompt information.

Further, the method for detecting a drilling anomaly further includes:

updating the accumulated volume of the mud pit according to the current actual data of the increment of the mud pit to obtain the current accumulated volume;

detecting whether the current accumulated volume reaches a preset volume threshold value;

and if the current accumulated volume reaches a preset volume threshold, outputting second volume abnormity prompt information.

Further, the method for detecting a drilling anomaly further includes:

obtaining the adjustment prediction data of the drilling parameter in response to the first adjustment operation of the prediction data of the drilling parameter, so as to set the limit value range of the drilling parameter according to the adjustment prediction data of the drilling parameter, and/or

Responding to the first adjustment operation of the threshold value range of the drilling parameter, obtaining the adjustment threshold value range of the drilling parameter, so as to detect whether the variables of the predicted data of the drilling parameter and the acquired current actual data of the drilling parameter in the current time period are in the adjustment threshold value range.

Further, the method for detecting a drilling anomaly described above further includes:

comparing the current actual data of the drilling parameters with the predicted data of the drilling parameters to generate visual comparison information of the actual data and the predicted data;

and outputting the visual comparison information.

Further, the method for detecting a drilling anomaly described above further includes:

marking abnormal data in the visual comparison information to obtain marked visual comparison information;

and outputting the marked visual comparison information.

The present invention also provides a drilling anomaly detection device, comprising:

the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring first actual data of the drilling parameters in a first historical time period before the starting time of the current detection time period and second actual data of the drilling parameters in a second historical time period; wherein a start time of the first historical time period is earlier than a start time of the second historical time period; an end time of the first historical time period is earlier than or equal to an end time of the second historical time period;

the training module is used for training the first actual data of the drilling parameters to obtain a current prediction model of the trained drilling parameters;

the prediction module is used for inputting the second actual data of the drilling parameters into the current prediction model for prediction to obtain the prediction data of the drilling parameters in the current detection time period;

the setting module is used for setting the range of the limit value of the drilling parameter according to the prediction data of the drilling parameter;

the detection module is used for detecting whether the current actual data of the drilling parameters in the current time period is within the range of the limit value;

and the output module is used for outputting abnormal prompt information if the current actual data of the drilling parameters are not within the range of the limit value.

The invention also provides a device for detecting drilling anomalies, comprising a memory and a processor, the memory having stored thereon a computer program which, when executed by the processor, implements the method as described above.

The invention also provides a well which is provided with the detection equipment for the well drilling abnormity.

The invention also provides a storage medium having stored thereon a computer program which, when executed by a processor, implements a method as described above.

Compared with the prior art, one or more embodiments in the above scheme can have the following advantages or beneficial effects:

by applying the method, the device, the equipment, the drilling well and the storage medium for detecting the drilling well abnormity, the current prediction model of the drilling well parameter is obtained by performing the first actual data of the drilling well parameter in the first historical time period before the starting time of each time period to be detected, the prediction model of the drilling well parameter in each time period to be detected is dynamically established by using the actual data detected in the actual drilling process, the second actual data of the drilling well parameter in the second historical time period before the starting time of each time period to be detected is used as the input data of the current prediction model of the drilling well parameter, the limit value range of the drilling well parameter is set after the prediction data of the drilling well parameter in the current detection time period is predicted, the limit value range of the drilling well parameter is dynamically adjusted, so that when the current actual data of the drilling well parameter is detected to be not in the limit value range, and the abnormal prompt information is output, so that the phenomenon of 'false alarm' generated when actual drilling parameters change due to the normal drilling operation process is reduced, and the report missing rate of the drilling abnormity is reduced. By adopting the technical scheme of the invention, the reliability of anomaly detection can be improved, and the well control risk is further reduced.

Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

Drawings

The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:

FIG. 1 is a flow chart of a first embodiment of a method for detecting drilling anomalies in accordance with the present invention;

FIG. 2 is a flow chart of a second embodiment of a method for detecting drilling anomalies in accordance with the present invention;

FIG. 3 is a graph of dynamic real-time prediction of outlet displacement for drilling;

FIG. 4 is a schematic view of a well bore exhibiting a flooding anomaly;

FIG. 5 is a schematic view of a wellbore exhibiting a loss-through anomaly;

FIG. 6 is a schematic diagram of an embodiment of the apparatus for detecting drilling anomalies according to the present invention;

fig. 7 is a schematic structural diagram of an embodiment of the apparatus for detecting a drilling anomaly according to the present invention.

Detailed Description

The following detailed description of the embodiments of the present invention will be provided with reference to the drawings and examples, so that how to apply the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented. It should be noted that, as long as there is no conflict, the embodiments and the features of the embodiments of the present invention may be combined with each other, and the technical solutions formed are within the scope of the present invention.

Because data of part of drilling parameters may change along with the operation condition under the normal drilling working condition, and if the threshold value range is set for the drilling parameters in the prior art, false alarm may be caused, so that the phenomenon of false alarm and missing report is reduced in the future.

Example one

Specifically, fig. 1 is a flowchart of a first embodiment of the method for detecting a drilling anomaly according to the present invention, and as shown in fig. 1, the method for detecting a drilling anomaly according to the present embodiment may specifically include the following steps:

100. acquiring first actual data of the drilling parameters in a first historical time period and second actual data of the drilling parameters in a second historical time period before the starting time of the current detection time period;

in this embodiment, a plurality of dynamic time slices may be set according to actual requirements. Each dynamic time slice comprises a time period in which well drilling is performed and a time period in which well drilling abnormity needs to be detected, and the time period in which the well drilling abnormity needs to be detected is used as a time sliding step length, so that after the time sliding step length is moved in sequence, well drilling parameters corresponding to the time period in which the well drilling abnormity is detected in each dynamic time slice are detected.

Specifically, the technical solution of the present invention is described by taking a dynamic time slice as an example, and a time period within the dynamic time slice in which a drilling anomaly is to be detected may be defined as a current detection time period. And determining a first historical time period and a second historical time period corresponding to the current detection time period according to the following selection conditions. For example, the start time of the first history period is earlier than the start time of the second history period; the end time of the first history period is earlier than or equal to the end time of the second history period. The embodiment preferably takes a time period corresponding to at least one dynamic time slice before the dynamic time slice as a first historical time period, and acquires first actual data of the drilling parameter in the first historical time period. The embodiment preferably takes the time period in which drilling has been performed in the dynamic time slice as a second historical time period, and obtains first actual data of the drilling parameters in the second historical time period. Wherein the drilling parameters may include at least one of inlet displacement, well depth, bit position, pendant weight, pump pressure, outlet displacement, mud pit increment.

For example, the current dynamic time slice is 9:00am-9:05am, the time period during which drilling has been performed is 9:00am-9:04am, and the time period during which drilling anomalies are to be detected is 9:04am-9:05 am. The last dynamic time slice is 8:59am-9:04am, the time period for which drilling has been performed is 8:59am-9:03am, and the time period for which drilling anomalies need to be detected is 9:03am-9:04am (the dynamic time slice has been detected and actually measured, so the data of the time period in the dynamic time slice can be used as historical data). The current detection period is 9:04am-9:05am, the first historical period is 8:59am-9:04am, and the second historical period is 9:00am-9:04 am.

101. Training first actual data of the drilling parameters to obtain a current prediction model of the trained drilling parameters;

in this embodiment, machine learning methods such as a support vector machine, a random forest, a Back Propagation (BP) neural network, and the like may be adopted to train the first actual data of the drilling parameter, so as to obtain a current prediction model of the trained drilling parameter.

In this embodiment, because the first actual data of the drilling parameters are acquired in each drilling process, and the data are actually consistent with the terrain of the drilled well, the logging parameters and the like, a prediction model of the drilling parameters related to the actual situation can be established in the face of complex and variable downhole conditions, so that a relatively accurate prediction model of the drilling parameters can be obtained. And moreover, the expert and the drilling worker do not need to pair, so that the efficiency of training the prediction model of the drilling parameters is improved.

102. Inputting the second actual data of the drilling parameters into the current prediction model for prediction to obtain the prediction data of the drilling parameters in the current detection time period;

after the current prediction model of the drilling parameters is obtained, the second actual data of the drilling parameters can be input into the current prediction model for prediction, so as to obtain the prediction data of the drilling parameters in the current detection time period.

It should be noted that, in this embodiment, the drilling parameters may be divided into input drilling parameters and output drilling parameters according to actual requirements, where the output drilling parameters are parameters related to the drilling abnormality that needs to be detected currently, and the input drilling parameters are parameters that affect the change of the output drilling parameters. For example, if a drilling spill anomaly is detected, the outlet displacement, mud pit increment, may be used as output drilling parameters, and the inlet displacement, well depth, bit position, pendant weight, and pump pressure may be used as input drilling parameters. Thus, the current actual data of the outlet discharge capacity and the current actual data of the mud pit increment can be obtained.

103. Setting a limit value range of the drilling parameters according to the prediction data of the drilling parameters;

in this embodiment, after the prediction data of the drilling parameter is obtained, the range of the limit value corresponding to the prediction data of the drilling parameter may be determined and set according to a preset calculation rule. Specifically, the predicted data of the drilling parameters can be calculated by combining the influence of the working conditions possibly occurring in the drilling process on the drilling parameters at different time periods, and finally the limit value range of the drilling parameters is obtained. For example, the pipeline may be moved during the current detection period, and the pump displacement that may occur during the pipeline movement may be used as a reference value, and a threshold range corresponding to the predicted drilling parameter data may be calculated. For example, if a drilling overflow and leak anomaly is detected, after the current actual data of the outlet discharge capacity and the current actual data of the mud pit increment can be obtained according to step 102, a flow limit value range and a volume increment limit value range can be obtained according to the implementation process of this step.

104. Detecting whether the current actual data of the drilling parameters in the current time period is within a threshold value range;

specifically, the size of each threshold value in the threshold value range corresponding to the current actual data of the drilling parameters and the predicted data of the drilling parameters in the current time period may be determined, so as to detect whether the current actual data of the drilling parameters in the current time period is within the threshold value range.

105. And if the current actual data of the drilling parameters are not within the range of the limit value, outputting abnormal prompt information.

If the current actual data of the drilling parameters are not within the range of the limit value, the abnormality is shown, and abnormality prompt information can be generated and output to prompt detection personnel to process. For example, if the current actual data of the outlet discharge capacity is not within the flow limit value range, outputting flow abnormity prompt information; and/or outputting first volume abnormity prompt information if the current actual data of the increment of the mud pit is not within the volume increment limit value range. In addition, in this embodiment, the cumulative volume of the mud pit may also be updated according to the current actual data of the increment of the mud pit, so as to obtain the current cumulative volume; detecting whether the current accumulated volume reaches a preset volume threshold value or not; and if the current accumulated volume reaches a preset volume threshold, outputting second volume abnormity prompt information.

The method for detecting drilling abnormity of the embodiment obtains a current prediction model of drilling parameters by performing first actual data of the drilling parameters in a first historical time period before the starting time of each time period to be detected, realizes that the prediction model of the drilling parameters in each time period to be detected is dynamically established by using the actual data detected in the actual drilling process, uses second actual data of the drilling parameters in a second historical time period before the starting time of each time period to be detected as input data of the current prediction model of the drilling parameters, sets the range of the limit value of the drilling parameters after predicting the prediction data of the drilling parameters in the current detection time period, realizes that the range of the limit value of the drilling parameters is dynamically adjusted, so as to output abnormity prompt information when the current actual data of the drilling parameters is not in the range of the limit value, therefore, the phenomenon of 'false alarm' generated when actual drilling parameters change due to the normal drilling operation process is reduced, and the report missing rate of abnormal drilling is reduced. By adopting the technical scheme of the invention, the reliability of anomaly detection can be improved, and the well control risk is further reduced.

Further, in the above embodiments, the frequency of training the prediction models of the drilling parameters may be reduced by changing the time length of the dynamic time slice, but the longer the time length of the dynamic time slice is, the more the training data is, the lower the training rate is, and the drilling operation process is affected, therefore, in the present application, the dynamic time slice with the shorter time length may be set, after obtaining the prediction models of the drilling parameters of the first set number, the prediction models of the drilling parameters of the first set number may be analyzed to determine whether there is a certain functional relationship between the prediction models of the drilling parameters of the first set number, and if there is a certain functional relationship between the prediction models of the drilling parameters of the first set number, the prediction models of the drilling parameters of the subsequent second set number of time periods that need to be detected may be determined according to a certain functional relationship, therefore, the condition that the drilling parameter prediction model needs to be trained firstly to detect every time can be avoided, and the detection efficiency is improved. In addition, when a prediction model of the drilling parameters is constructed by using a certain functional relationship, if the probability of the occurrence of the drilling abnormality is detected to be greater than the preset threshold, it indicates that the accuracy of the prediction model of the drilling parameters constructed by using the certain functional relationship is poor, and retraining is required, and at this time, retraining is performed according to the step 100 and the step 101.

Example two

Fig. 2 is a flowchart of a second embodiment of the method for detecting a drilling anomaly according to the present invention, and as shown in fig. 2, the method for detecting a drilling anomaly according to the present embodiment further describes the technical solution of the present invention in more detail on the basis of the above embodiment.

As shown in fig. 2, the method for detecting a drilling anomaly of the present embodiment may specifically include the following steps:

200. acquiring first actual data of the drilling parameters in a first historical time period and second actual data of the drilling parameters in a second historical time period before the starting time of the current detection time period;

the implementation process of this embodiment is the same as the implementation process of step 100 of the above embodiment, and please refer to the related description above for details, which are not repeated herein.

201. Training first actual data of the drilling parameters to obtain a current prediction model of the trained drilling parameters;

the implementation process of this embodiment is the same as the implementation process of step 101 in the above embodiment, and please refer to the related description above for details, which are not repeated herein.

202. Inputting the second actual data of the drilling parameters into the current prediction model for prediction to obtain the prediction data of the drilling parameters in the current detection time period;

the implementation process of this embodiment is the same as the implementation process of step 102 in the above embodiment, and please refer to the related description above for details, which are not repeated herein.

203. Determining whether the drilling is suspected to be abnormal or not according to the prediction data of the drilling parameters; if yes, go to step 204, if no, go to step 205;

in practical application, for some drilling anomalies, a fixed limit value may already exist in a parameter corresponding to the drilling anomaly itself, and therefore, if the obtained prediction data of the drilling parameter itself can be determined to exceed the fixed limit value of some drilling anomaly information, it is indicated that an anomaly will inevitably occur in a subsequent drilling process, at this time, step 204 may be directly executed, otherwise, if the obtained prediction data of the drilling parameter itself cannot be determined to exceed the fixed limit value of some drilling anomaly information, step 205 is executed.

For example, the mud pit volume is a fixed value that only allows a fixed volume of mud to be filled, and therefore, if the sum of the current predicted mud pit increment and the accumulated mud pit volume is determined to be greater than the fixed volume of the mud pit, then there is no need to detect the current actual data of the drilling parameters, and thus step 204 can be performed directly. If the sum of the current predicted mud pit increment and the accumulated mud pit volume is less than or equal to the fixed volume of the mud pit, the current actual data of the drilling parameters needs to be detected, and thus step 205 can be executed.

204. Outputting suspected abnormality prompt information;

if the sum of the current predicted increment of the mud pit and the accumulated volume of the mud pit is judged to be larger than the fixed volume of the mud pit, the probability that the drilling abnormity occurs is high, and at the moment, suspected abnormity prompt information can be output.

205. Setting a limit value range corresponding to the prediction data of the drilling parameters according to the prediction data of the drilling parameters;

for example, if it is determined that the sum of the currently predicted mud pit increment and the accumulated mud pit volume is less than or equal to the fixed volume of the mud pit, it is determined that the potential for occurrence of drilling anomaly is relatively low, and at this time, a threshold value range corresponding to the prediction data of the drilling parameter may be set according to the prediction data of the drilling parameter.

The implementation process of this embodiment is the same as the implementation process of step 103 in the above embodiment, and please refer to the related description above for details, which are not described herein again.

206. Detecting whether the current actual data of the drilling parameters in the current time period is within a threshold value range; if yes, go to step 207, if no, go to step 208;

207. outputting abnormal prompt information;

and if the current actual data of the drilling parameters are not within the range of the adjustment limit value, outputting abnormal prompt information.

208. And carrying out the drilling abnormity detection in the next detection time period.

And if the current actual data of the drilling parameters are within the adjustment limit value range, performing drilling abnormity detection in the next detection time period according to the same method.

The method for detecting the drilling abnormity can judge whether the drilling is suspected to be abnormal in advance according to the prediction data of the drilling parameters in the real-time detection process, and output the suspected abnormity prompt information when the drilling is suspected to be abnormal, so that the abnormity processing efficiency is improved, and the detection time is shortened.

In practical application, the prediction data and the threshold value range of the drilling parameters can be output, so that after the prediction parameter data of the drilling parameters are seen by a detector, whether the prediction parameter data of the drilling parameters are reasonable or not is determined by combining professional knowledge of the detector, and the prediction parameter data of the drilling parameters are adjusted under the condition of unreasonable judgment, so that the threshold value range of the drilling parameters is set according to the adjustment prediction data of the drilling parameters. And/or after the threshold value range of the drilling parameter is set, the detection personnel can also determine whether the threshold value range is reasonable by combining with the professional knowledge of the detection personnel and input the adjustment operation of the threshold value range under the condition of unreasonable consideration so as to detect whether the predicted data of the drilling parameter and the variable of the acquired current actual data of the drilling parameter in the current time period are in the adjustment threshold value range. The adjustment operation in this embodiment may be reset or correction.

In the embodiment, the prediction parameter data and/or the threshold value range of the drilling parameters can be reset or adjusted by detection personnel according to the actual drilling condition so as to be suitable for the actual condition, and the reliability of the drilling abnormity detection is further improved.

In a specific implementation process, in order to enable a detection person to intuitively know the change condition of each parameter in the drilling process and quickly know the abnormal reason when abnormal data occurs, and improve the abnormal processing efficiency, the embodiment can also compare the current actual data of the drilling parameters with the predicted data of the drilling parameters to generate visual comparison information of the actual data and the predicted data; and outputs the visual alignment information, for example, in the form of a chart as the visual alignment information.

Further, in the above embodiment, abnormal data in the visual comparison information may also be marked to obtain marked visual comparison information; and outputting the marked visual comparison information. In this way, the detection personnel can intuitively know why the alarm is given or not given in the period of time.

The effect of the technical solution of the present invention is described below with a specific example, wherein the example is described with the example of overflow monitoring of outlet displacement:

FIG. 3 is a graph of dynamic real-time prediction of outlet displacement for a wellbore, wherein the solid line represents measured data of outlet flow and the dashed line represents predicted data of outlet flow. As can be seen from fig. 3, the measured data of the outlet flow rate substantially coincides with the predicted data of the outlet flow rate.

Fig. 4 is a schematic diagram of an overflow abnormality of a drilling well, and fig. 5 is a schematic diagram of a leakage abnormality of the drilling well, wherein a solid line represents measured data of an outlet flow rate, a dotted line represents predicted data of the outlet flow rate, and a slash line represents an overflow limit range.

As shown in fig. 4, abnormal information for sending an overflow warning is monitored in 62 minutes, while overflow can be found and shut-in of a well only in 67.25 minutes by using a conventional detection method, so that the overflow abnormality can be found 5 minutes earlier by using the technical scheme of the invention compared with the conventional detection method. In fig. 5, the leakage is found and the alarm is given in 45 minutes, while the conventional detection method usually finds and starts to take measures in 50 minutes, so that the technical scheme of the invention finds the leakage abnormality 5 minutes earlier than the conventional detection method.

EXAMPLE III

Fig. 6 is a schematic structural diagram of an embodiment of the apparatus for detecting a drilling anomaly according to the present invention, and as shown in fig. 6, the apparatus for detecting a drilling anomaly according to the present embodiment includes an obtaining module 60, a training module 61, a prediction module 62, a setting module 63, a detection module 64, and an output module 65.

An obtaining module 60 for obtaining first actual data of the drilling parameter in a first historical time period before a start time of a current detection time period and second actual data of the drilling parameter in a second historical time period; wherein the start time of the first historical time period is earlier than the start time of the second historical time period; the end time of the first history period is earlier than or equal to the end time of the second history period;

the training module 61 is used for training the first actual data of the drilling parameters to obtain a current prediction model of the trained drilling parameters;

the prediction module 62 is configured to input the second actual data of the drilling parameter into the current prediction model for prediction, so as to obtain prediction data of the drilling parameter in the current detection time period;

the setting module 63 is used for setting the range of the limit value of the drilling parameter according to the prediction data of the drilling parameter;

a detection module 64, configured to detect whether current actual data of the drilling parameter in the current time period is within a threshold range;

and the output module 65 is used for outputting abnormal prompt information if the current actual data of the drilling parameters are not within the range of the limit value.

The device for detecting drilling abnormity of the embodiment obtains a current prediction model of drilling parameters by performing first actual data of the drilling parameters in a first historical time period before the starting time of each time period to be detected, realizes that the prediction model of the drilling parameters in each time period to be detected is dynamically established by using the actual data detected in the actual drilling process, uses second actual data of the drilling parameters in a second historical time period before the starting time of each time period to be detected as input data of the current prediction model of the drilling parameters, sets the limit value range of the drilling parameters after predicting the prediction data of the drilling parameters in the current detection time period, realizes that the limit value range of the drilling parameters is dynamically adjusted, so as to output abnormity prompting information when the current actual data of the drilling parameters is not in the limit value range, therefore, the phenomenon of 'false alarm' generated when actual drilling parameters change due to the normal drilling operation process is reduced, and the report missing rate of abnormal drilling is reduced. By adopting the technical scheme of the invention, the reliability of anomaly detection can be improved, and the well control risk is further reduced.

Further, in the above embodiments, the drilling parameters may include at least one of inlet displacement, well depth, bit position, pendant weight, pump pressure, outlet displacement, and mud pit increment; in this embodiment, if the obtained current actual data of the drilling parameters includes the current actual data of the discharge capacity of the outlet and the current actual data of the increment of the mud pit; the limit value range comprises a flow limit value range and a volume increment limit value range;

the output module 65 is specifically configured to: if the current actual data of the outlet discharge capacity is not within the flow limit value range, outputting flow abnormity prompt information; and/or outputting first volume abnormity prompt information if the current actual data of the increment of the mud pit is not within the volume increment limit value range.

In practical application, the detection module 64 is further configured to update the cumulative volume of the mud pit according to the current actual data of the increment of the mud pit, so as to obtain the current cumulative volume; and detecting whether the current accumulated volume reaches a preset volume threshold value. The output module 65 is further configured to output a second volume abnormality prompt message if the current accumulated volume reaches the preset volume threshold.

In a specific implementation process, the setting module 63 is further configured to obtain the adjustment prediction data of the drilling parameter in response to the first adjustment operation of the prediction data of the drilling parameter, so as to set the limit value range of the drilling parameter according to the adjustment prediction data of the drilling parameter, and/or obtain the adjustment limit value range of the drilling parameter in response to the first adjustment operation of the limit value range of the drilling parameter, so as to detect whether a variable of the prediction data of the drilling parameter and the obtained current actual data of the drilling parameter in the current time period is within the adjustment limit value range.

Further, in the above embodiment, the detecting module 64 is further configured to:

comparing the current actual data of the drilling parameters with the predicted data of the drilling parameters to generate visual comparison information of the actual data and the predicted data;

the output module 65 is further configured to output the visual comparison information.

Further, in the above embodiment, the detecting module 64 is further configured to:

marking abnormal data in the visual comparison information to obtain marked visual comparison information;

the output module 65 is further configured to output the marked visual comparison information.

It should be noted that the apparatus in the foregoing embodiment is used for implementing the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.

In order to solve the technical problems in the prior art, the embodiment of the invention provides a device for detecting drilling abnormity.

Example four

Fig. 7 is a schematic structural diagram of an embodiment of the apparatus for detecting a drilling anomaly according to the present invention, and as shown in fig. 7, the apparatus for detecting a drilling anomaly includes a memory 70 and a processor 71, the memory 70 stores thereon a computer program, and the computer program is executed by the processor 71 to implement the method according to the above embodiment.

EXAMPLE five

In order to solve the technical problems in the prior art, embodiments of the present invention provide a well provided with the apparatus for detecting a well abnormality of the above embodiments.

EXAMPLE six

To solve the technical problems in the prior art, embodiments of the present invention provide a storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the method of the above embodiments.

It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Further, in the description of the present invention, the meaning of "a plurality" means at least two unless otherwise specified.

Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.

It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.

It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.

In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.

The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.

In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.

Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

17页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种产出剖面测井仪器及其推靠动力连接器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类