Downhole pulse flow generator auxiliary monitoring method and system
By installing sensors and constructing anomaly detection models in the downhole pulse flow generation device to monitor its operating status in real time, the problem of difficulty in monitoring the device's operating status is solved, and the effects of timely discovery of faults and optimization of the production process are achieved.
Patent Information
- Application Number
- CN202411060115.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-05
AI Technical Summary
Existing underground pulse flow generating devices cannot monitor their operating status in real time during use, resulting in malfunctions and shutdowns, and lack of timely emergency measures.
By installing multiple sensors in the downhole pulse flow generation device, the operating parameters are obtained and preprocessed, nonlinear dynamic characteristics are extracted, and the normal operation benchmark model and anomaly detection model are constructed based on machine learning algorithms, anomaly detection is performed in real time, and decisions are triggered. Measures such as alarm and shutdown.
It achieves accurate analysis of the status and working conditions of the downhole pulse flow generating device, promptly discovers potential faults or anomalies, prevents accidents, and provides valuable information for production plan optimization.
Smart Images

Figure CN118565567B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of oil and gas field development, and in particular relates to an auxiliary monitoring method and system for a downhole pulse flow generating device. Background Art
[0002] With the continuous in-depth development and potential tapping of unconventional oil and gas resources, unconventional oil and gas resources are continuously produced, resulting in a gradual increase in water content. In order to increase the production of oil wells and improve the recovery rate of oil wells, it is necessary to lower the downhole pulse flow generating device into the well. It achieves a certain pulse effect by controlling the fluid flow in the oil pipe. This pulse flow can be used to increase the production of oil wells and improve the recovery rate of oil wells.
[0003] In the prior art, there is a downhole mechanical hydraulic pulse generating device with a publication number of "CN106246126A", which utilizes the mechanical hydraulic pulse generating device to generate low-frequency hydraulic oscillations on the production layer of the oil and gas well, thereby producing a hydraulic cleaning effect on the casing of the oil and gas well and the fracturing cracks in the formation; since the fluid in the casing is in a state of alternating positive and negative pressures, the fracturing cracks in the formation are caused to be in a state of alternating opening and closing, which can promote the cracks to maintain a good production state; in addition, the alternating hydraulic oscillations can reduce the structural viscosity of crude oil and increase the fluidity of crude oil.
[0004] However, after the downhole pulse flow generating device is lowered into the well, it is impossible to know the operating status of the device, which may cause it to malfunction or even shut down, and the operator is unable to take emergency measures in time. Therefore, with the continuous use of the device, there is an urgent need for an auxiliary monitoring method for the downhole pulse flow generating device to monitor in real time to ensure the safe operation of the equipment. Summary of the invention
[0005] The purpose of the present invention is to provide an auxiliary monitoring method for a downhole pulse flow generating device to overcome the above-mentioned technical defects.
[0006] In order to solve the above technical problems, the present invention provides an auxiliary monitoring method for a downhole pulse flow generating device, comprising:
[0007] Obtaining operating parameters of a downhole pulse flow generating device;
[0008] Preprocessing the operating parameters;
[0009] After preprocessing, extracting nonlinear dynamic characteristics of the operating parameters;
[0010] Based on the nonlinear dynamic characteristics, anomaly detection is performed;
[0011] If abnormal behavior is detected, decision-making measures are triggered.
[0012] Obtain the operating parameters of the downhole pulse flow generator, including:
[0013] Installing a plurality of sensors in the downhole pulse flow generating device;
[0014] The multiple sensors include at least a pressure sensor, a temperature sensor, and a flow sensor;
[0015] Acquire the collected data of the multiple sensors.
[0016] Preprocessing the operating parameters includes:
[0017] De-noising the collected data of the multiple sensors;
[0018] The collected data of the multiple sensors are filtered.
[0019] After preprocessing, the nonlinear dynamic characteristics of the operating parameters are extracted, including:
[0020] Extracting nonlinear dynamic characteristics of the operating parameters based on a nonlinear dynamics method;
[0021] The nonlinear dynamic characteristics include Lyapunov exponents, bifurcation diagrams, and recursive variances.
[0022] Before the step of obtaining the operating parameters of the downhole pulse flow generating device, the method further includes:
[0023] Obtaining historical operating parameters of a plurality of downhole pulse flow generating devices;
[0024] Preprocessing the historical operating parameters;
[0025] After preprocessing, extracting nonlinear dynamic characteristics of the historical operating parameters;
[0026] Screen out normal nonlinear dynamic characteristics and abnormal nonlinear dynamic characteristics;
[0027] The normal nonlinear dynamic characteristics and the abnormal nonlinear dynamic characteristics are trained respectively based on a machine learning algorithm, and a training model is obtained to construct a normal operation benchmark model and an abnormality detection model.
[0028] Based on the nonlinear dynamic characteristics, anomaly detection is performed, including:
[0029] The acquired nonlinear dynamic characteristics are applied to the normal operating benchmark model and / or the abnormality detection model to generate a detection result. If the detection result does not match the normal operating benchmark model or matches the abnormality detection model, it can be determined as abnormal, otherwise it is normal.
[0030] If abnormal behavior is detected, decision measures are triggered, including alarm, shutdown or remote control.
[0031] The isolation forest model is constructed using the running parameter data after preprocessing and feature extraction. The isolation forest model divides the data set by constructing multiple random binary trees, where the path length of abnormal samples is short and the path length of normal samples is long. The final anomaly score is obtained by constructing multiple trees and combining their results.
[0032] For each sample point, the isolation forest model is used to calculate its anomaly score. The calculation formula is as follows:
[0033]
[0034] in, s(x) Indicates the abnormal score, sample point x The length of a path in the tree is h(x) , E(h(x)) Represents sample points x The average path length in all trees, c(n) Based on the sample size n The decision threshold calculated, c′(n) is the correction factor. The correction factor is based on the sample size. n The size of is used to adjust the anomaly score;
[0035] Calculate correction factors based on sample size c′(n) , the correction factor is calculated by the following formula:
[0036]
[0037] in H(n-1) It is the harmonic number, which is used to adjust the anomaly score to make it more accurate and reliable;
[0038]
[0039] According to the anomaly score, the sample points are detected and warned: the sample points with high anomaly scores are considered abnormal samples, indicating that the downhole pulse flow generating device has an abnormality or failure; according to the pre-set threshold, it is judged whether the sample point is abnormal, and corresponding processing and warning are carried out.
[0040] In addition, to achieve the above purpose, this embodiment also provides a downhole pulse flow generating device auxiliary monitoring system, including:
[0041] A first acquisition module is used to acquire the operating parameters of the downhole pulse flow generating device;
[0042] A preprocessing module, used for preprocessing the operating parameters;
[0043] A second acquisition module, used for extracting the nonlinear dynamic characteristics of the operating parameters;
[0044] An anomaly detection module, used for performing anomaly detection based on the nonlinear dynamic characteristics;
[0045] The decision module is used to trigger decision measures when an abnormal situation is detected.
[0046] The downhole pulse flow generator auxiliary monitoring system also includes:
[0047] A training module, used to train the normal nonlinear dynamic characteristics and the abnormal nonlinear dynamic characteristics respectively based on a machine learning algorithm, and obtain a normal operation benchmark model and an abnormality detection model;
[0048] A generation module is used to generate a detection result based on the normal operation benchmark model, the abnormality detection model and the nonlinear dynamic characteristics.
[0049] The auxiliary monitoring method for the downhole pulse flow generating device provided by the present invention can more accurately analyze and judge the state and working condition of the downhole pulse flow generating device by acquiring the characteristic data of multiple sensors and based on the acquired characteristic data and the abnormality detection algorithm, so as to facilitate timely discovery of potential failures or abnormal conditions of the downhole pulse flow generating device and take corresponding measures to prevent the occurrence or expansion of accidents. At the same time, it can also provide valuable information for decision makers to formulate production plans, optimize production processes, etc.
[0050] In order to make the above contents of the present invention more clearly understood, preferred embodiments are given below and described in detail in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 It is a flow chart of a downhole pulse flow generating device auxiliary monitoring method according to an embodiment of the present application.
[0052] Figure 2 It is a structural block diagram of an auxiliary monitoring system based on a downhole pulse flow generating device provided in an embodiment of the present application.
[0053] Description of reference numerals:
[0054] 600. Downhole pulse flow generating device auxiliary monitoring system; 610. First acquisition module; 620. Preprocessing module; 630. Second acquisition module; 640. Abnormal detection module; 650. Decision module. DETAILED DESCRIPTION
[0055] The following describes the implementation of the present invention through specific embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification.
[0056] It should be noted that, in the present invention, the up, down, left and right in the figure are deemed as the up, down, left and right of the downhole pulse flow generating device auxiliary monitoring method described in this specification.
[0057] The exemplary embodiments of the present invention are now described with reference to the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are provided to disclose the present invention in detail and completely and to fully convey the scope of the present invention to those skilled in the art. The terms used in the exemplary embodiments shown in the accompanying drawings are not intended to limit the present invention. In the accompanying drawings, the same units / elements are marked with the same reference numerals.
[0058] Unless otherwise specified, the terms (including technical terms) used herein have the commonly understood meanings to those skilled in the art. In addition, it is understood that the terms defined in commonly used dictionaries should be understood to have the same meanings as those in the context of the relevant fields, and should not be understood as idealized or overly formal meanings.
[0059] This embodiment relates to a downhole pulse flow generator auxiliary monitoring method, which can be performed by a machine, such as Figure 1 As shown, the method may include the following steps:
[0060] S10, obtaining the operating parameters of the downhole pulse flow generating device.
[0061] Among them, before obtaining the operating parameters, it is necessary to install multiple sensors in the downhole pulse flow generating device.
[0062] The multiple sensors include at least a pressure sensor, a temperature sensor, and a flow sensor.
[0063] Acquiring the operating parameters means acquiring the collected data of the above-mentioned multiple sensors. The above-mentioned sensors can monitor various parameters of the device in real time. The devices here and below refer to downhole pulse flow generating devices.
[0064] When acquiring sensor data, it is necessary to ensure that the sensor data is continuous and has a high sampling rate to capture details of abnormal behavior.
[0065] S20, preprocessing the operating parameters.
[0066] In an exemplary embodiment, step S20 may specifically include the following steps:
[0067] S210, denoising the collected data of multiple sensors;
[0068] S220, filtering the collected data of multiple sensors.
[0069] The operating parameters are preprocessed, that is, the collected data of the pressure sensor, temperature sensor, and flow sensor are subjected to denoising, filtering, and other operations to remove noise and extract the main signal components. When performing the above operations, a digital filter, such as a low-pass filter, can be applied to remove high-frequency noise and retain the main components of the flow signal.
[0070] S30, extracting nonlinear dynamic characteristics of the operating parameters after preprocessing.
[0071] In an exemplary embodiment, step S30 may specifically include the following steps:
[0072] S310, extracting nonlinear dynamic characteristics of operating parameters based on nonlinear dynamic methods;
[0073] S320, nonlinear dynamic characteristics include Lyapunov exponents, bifurcation diagrams, and recursive variance.
[0074] Among them, the nonlinear dynamics method can use a recursive variance algorithm to reflect the nonlinear characteristics and self-similarity of the sensor collected data by calculating the recursive variance of the operating parameters.
[0075] The recursive variance algorithm is used to calculate the recursive variance of the operating parameters. The specific calculation steps are as follows:
[0076] Define the window size N, which represents the number of data points for calculating the recursive variance each time;
[0077] Select the data points in the initial window and calculate the variance of the data in the window as the initial recursive variance;
[0078] Slide the window backward, adding new data points each time, removing the oldest data point, and recalculating the variance of the data in the window;
[0079] Update the recursive variance with the new variance as the initial recursive variance for the next window.
[0080] Repeat the above steps until all data points are traversed.
[0081] Furthermore, the features of the recursive variance, such as the mean, variance, maximum value, minimum value, etc. of the recursive variance, are extracted as nonlinear dynamic features. Specifically:
[0082] Mean of recursive variances: Calculates the mean of the recursive variances over all windows.
[0083] Variance of recursive variances: Computes the variance of the recursive variances over all windows.
[0084] Maximum of recursive variance: Select the maximum of the recursive variance among all windows.
[0085] Minimum recursive variance: Select the minimum recursive variance among all windows.
[0086] In another embodiment, dynamic recursive variance feature extraction is used: in the process of calculating the recursive variance, the concept of dynamic window size is introduced. According to the state change of the system and the characteristics of the sensor data, the window size is adaptively adjusted to ensure that the recursive variance can effectively reflect the dynamic characteristics of the system. Specific embodiment:
[0088] First, an initial window size N is defined and data points within the initial window are selected.
[0089] Calculate the variance of the data within the window as the initial recursive variance.
[0090] According to the state changes of the system and the characteristics of the sensor data, adaptive rules are set to dynamically adjust the window size. For example, the window size can be determined based on indicators such as the rate of change and peak value of the data.
[0091] If the system state changes or the data characteristics change, the window size is adjusted according to the adaptive rules. The window size can be increased or decreased to adapt to different system states.
[0092] Recalculate the variance of the data in the adjusted window and update the recursive variance with the new variance as the initial recursive variance of the next window.
[0093] Repeat the above steps until all data points are traversed.
[0094] Benefits of abnormal monitoring of the coiled tubing downhole pulse flow generator:
[0095] Enhanced flexibility of feature extraction: By dynamically adjusting the window size, features can be flexibly extracted according to the system state changes and data characteristics. This can better capture the dynamic characteristics of the system and improve the accuracy and representativeness of the features.
[0096] Improved sensitivity of anomaly detection: Traditional fixed window size may not be able to adapt to abnormal behaviors under different states. Dynamic adjustment of window size can better adapt to different system states and detect abnormal behaviors in time, improving the sensitivity of anomaly monitoring.
[0097] Reduced false alarm rate: By adaptively adjusting the window size, it is possible to reduce oversensitivity to normal changes, thereby reducing the false alarm rate. Anomaly alarms are triggered only when the data within the window changes significantly, improving the reliability of anomaly monitoring.
[0098] In summary, dynamic recursive variance feature extraction can adaptively adjust the window size according to the actual situation of the coiled tubing downhole pulse flow generating device, improve the accuracy and representativeness of the features, and at the same time improve the sensitivity and reliability of anomaly detection, thereby better realizing the abnormal monitoring of the coiled tubing downhole pulse flow generating device.
[0099] These recursive variance features can be used as nonlinear dynamic features to describe the data characteristics of the coiled tubing downhole pulse flow generator. By monitoring the changes in these features, the changes in nonlinear dynamic features caused by abnormal behavior can be detected, thereby performing abnormal monitoring and early warning.
[0100] Regarding nonlinear dynamic characteristics, the Lyapunov exponent can be calculated to measure the degree of chaos and sensitivity of the system; by calculating the bifurcation diagram, the stability and periodic change characteristics of the system when the parameters change can be observed; the recursive variance can extract the nonlinear characteristics and self-similarity of the data.
[0101] Specifically, the features extracted from the sensor data may be the rate of change of pressure, the trend of temperature, the peak value of flow, etc. The extraction method may also be feature extraction based on the frequency domain, wavelet transform, etc., to improve the expressiveness and accuracy of the features.
[0102] It should be noted that, before executing S10 or S40 of this embodiment, the following steps are also included:
[0103] S001, obtaining historical operating parameters of several downhole pulse flow generating devices.
[0104] S002, pre-process the historical operating parameters, such as data cleaning, denoising, missing value processing, etc., to ensure the quality and integrity of the data and reduce the impact on subsequent analysis.
[0105] S003, after preprocessing, extract the nonlinear dynamic characteristics of the historical operating parameters.
[0106] S004, screen out normal nonlinear dynamic characteristics and abnormal nonlinear dynamic characteristics.
[0107] S005, training normal nonlinear dynamic characteristics and abnormal nonlinear dynamic characteristics respectively based on a machine learning algorithm, and obtaining training models to construct a normal operation benchmark model and an abnormality detection model.
[0108] It should be noted that the training of deep learning models requires a large amount of data and computing resources, and the quality of the data and feature selection also have an important impact on the training and prediction results of the model. In order to ensure the accuracy of the model, this embodiment selects a large number of historical operating parameters collected by the downhole pulse flow generating device that has been lowered into the well as training data.
[0109] By studying the historical data of the downhole pulse flow generating device, a normal operation benchmark model and anomaly detection model are established based on the machine learning algorithm. Specifically, supervised learning methods such as support vector machine (SVM) or random forest can be used to train the model to learn the pattern of normal behavior.
[0110] S40, performing anomaly detection based on nonlinear dynamic characteristics.
[0111] In an exemplary embodiment, step S40 may specifically include the following steps:
[0112] The acquired nonlinear dynamic characteristics are applied to the normal operation benchmark model and / or the anomaly detection model to generate a test result. If the test result does not match the normal operation benchmark model or matches the anomaly detection model, it can be judged as abnormal, otherwise it is normal.
[0113] During the monitoring phase, the acquired nonlinear dynamic characteristics (real-time data) are input into the normal operation benchmark model and / or the anomaly detection model. If the nonlinear dynamic characteristics exceed the preset threshold range or are inconsistent with the normal behavior pattern, they can be judged as abnormal and trigger the corresponding early warning or alarm mechanism.
[0114] The above-mentioned preset threshold range and normal behavior mode refer to the training content of the normal operation benchmark model.
[0115] In another embodiment, an emerging anomaly detection algorithm, such as isolation forest, deep anomaly detection, etc., may be attempted to improve the accuracy and robustness of anomaly detection.
[0116] It should be noted that this embodiment proposes two training models, namely the normal operation benchmark model and the anomaly detection model. In practical applications, the nonlinear dynamic characteristics can be compared with the normal operation benchmark model, and the nonlinear dynamic characteristics can be compared with the anomaly detection model at the same time, or one of them can be compared to ensure the accuracy of the results.
[0117] Model update and optimization: The introduction of online learning and incremental learning technologies allows the model to be updated and optimized in real time. This can adapt to changes in device behavior and improve the accuracy and adaptability of the model.
[0118] By incorporating innovative methods, data analysis and anomaly detection can be made more accurate. Innovative methods explore more feature extraction methods and modeling techniques to improve the expressiveness and accuracy of the baseline model. At the same time, the introduction of emerging anomaly detection algorithms and online learning technologies can better adapt to changes in device behavior and improve the accuracy and robustness of anomaly detection. This ensures that the monitoring of the continuous tubing downhole pulse flow generating device is more accurate and reliable, providing more effective support for preventing accidents.
[0119] In another embodiment, taking the Isolation Forest anomaly detection algorithm as an example, the algorithm can effectively detect a small number of abnormal samples. The following is the basic principle and formula of the Isolation Forest:
[0120] Basic principle:
[0121] Isolation Forest partitions the dataset by building a random binary tree where anomalies have shorter path lengths on the tree and normal samples have longer path lengths. The final anomaly score can be obtained by building multiple random trees and combining their results.
[0122] Isolation forest uses path length as the anomaly score. Assuming that the path length of sample point x in the tree is h(x), the anomaly score s(x) can be calculated by the following formula:
[0123]
[0124] Where E(h(x)) represents the average path length of sample point x in all trees, and c(n) is the decision threshold calculated based on the sample size n. The advantage of Isolation Forest is that it can handle high-dimensional and large-scale data and is not affected by the distribution bias of abnormal samples. It can also balance the sensitivity and specificity of detection by adjusting the number and depth of trees.
[0125] In addition, the introduction of online learning technology can achieve real-time updating and optimization of the model to adapt to changes in device behavior. Online learning is an incremental learning method that can update the model by receiving new data samples without retraining the entire model. Common online learning techniques include stochastic gradient descent (SGD) and online support vector machine (Online SVM).
[0126] By combining emerging anomaly detection algorithms such as Isolation Forest with online learning techniques, we can better adapt to changes in device behavior and improve the accuracy and robustness of anomaly detection. This way, even when device behavior changes or new anomaly samples appear, anomalies can be detected in a timely manner and responded to accordingly.
[0127] In order to further improve the anomaly scoring formula of the isolation forest, a correction factor can be introduced to make the scoring more accurate. The following is the improved formula:
[0128]
[0129] in, c(n) Based on the sample size n The calculated decision threshold, c′(n), is a correction factor that can be calculated or adjusted based on the sample size n. The correction factor is used to adjust the anomaly score based on the sample size to improve accuracy.
[0130] The specific correction factor can be calculated according to the following formula:
[0131]
[0132] Among them, H(n-1) is the harmonic number, which can be calculated by the following formula:
[0133]
[0134] By introducing a correction factor, the anomaly score can be corrected according to the sample size, making the score more accurate and reliable. The calculation formula of the correction factor is based on the concept of harmonic number, and can be dynamically adjusted according to the change of sample size to adapt to different data sets and anomaly detection tasks.
[0135] In this way, the improved anomaly scoring formula can better adapt to changes in device behavior and improve the accuracy and robustness of anomaly detection. By introducing a correction factor, it can be dynamically adjusted according to the size of the sample, thereby improving the accuracy of the anomaly scoring.
[0136] In the technical field of monitoring the downhole pulse flow generating device of the coiled tubing to prevent accidents, the use of the above improved abnormal monitoring method can improve the abnormal monitoring effect. The following is a detailed description of the specific steps and formulas:
[0137] Data collection and preprocessing: First, it is necessary to collect relevant data of the coiled tubing downhole pulse flow generator, including sensor data, operation records, etc. Then, the data is preprocessed, including data cleaning, feature extraction, and data standardization.
[0138] Isolation forest model construction: Use the preprocessed data to construct an isolation forest model. The isolation forest model partitions the data set by constructing multiple random binary trees, where the path length of abnormal samples is short and the path length of normal samples is long. The final anomaly score is obtained by constructing multiple trees and combining their results.
[0139] Anomaly score calculation: For each sample point, the isolation forest model is used to calculate its anomaly score. Calculate the anomaly score, where E(h(x)) represents the average path length of the sample point in all trees, c(n) is the decision threshold calculated based on the sample size n, and c′(n) is the correction factor.
[0140] Correction factor calculation: Calculate the correction factor c′(n) based on the sample size. Calculate the correction factor, where H(n-1) is the harmonic number, which is used to adjust the anomaly score to make the score more accurate and reliable.
[0141] Anomaly detection and early warning: Based on the anomaly score, the sample points are detected and warned. Sample points with high anomaly scores are considered abnormal samples, which may indicate an abnormality or failure of the downhole pulse flow generator. Based on the pre-set threshold, it is judged whether the sample point is abnormal, and corresponding processing and early warning are carried out.
[0142] Through the above steps and formulas, the anomaly monitoring effect can be improved in the monitoring of the continuous tubing downhole pulse flow generating device. The improved anomaly scoring formula takes into account the correction factor, adjusts the anomaly score according to the size of the sample, and improves accuracy and robustness. The calculation of the correction factor is based on the concept of harmonic number, which can be dynamically adjusted according to the change of sample size to adapt to different data sets and anomaly detection tasks. In this way, the abnormal situation of the device can be detected more accurately, potential accident risks can be discovered in advance, and corresponding measures can be taken to prevent accidents.
[0143] S50: If abnormal behavior is detected, decision-making measures are triggered.
[0144] Decision measures include alarm, shutdown or remote control.
[0145] Specifically, set up appropriate early warning and alarm mechanisms. When an abnormality is detected, send early warning notifications to operators in a timely manner. For example, early warning information can be sent using mobile phone applications, emails, text messages, etc., and the abnormal situation is reported to relevant personnel for processing. The early warning signal contains detailed information about the abnormal situation so that operators can perform fault diagnosis.
[0146] The downhole pulse flow generator can be integrated with the ground intelligent monitoring system to achieve remote control. Once a serious failure or safety risk is found in the device, the operator can remotely cut off the power supply of the device or take other emergency measures to prevent the occurrence or expansion of the accident.
[0147] Based on the above examples, please refer to Figure 2This embodiment also provides a downhole pulse flow generating device auxiliary monitoring system. The downhole pulse flow generating device auxiliary monitoring system 600 includes a first acquisition module 610, a preprocessing module 620, a second acquisition module 630, an abnormality detection module 640 and a decision module 650. The following is a specific description of all modules in the monitoring system:
[0148] The first acquisition module 610 can be used to obtain the operating parameters of the downhole pulse flow generating device;
[0149] A preprocessing module 620 may be used to preprocess the operating parameters;
[0150] The second acquisition module 630 may be used to extract nonlinear dynamic characteristics of the operating parameters;
[0151] An anomaly detection module 640 may be used to perform anomaly detection based on nonlinear dynamic characteristics;
[0152] The decision module 650 may be used to trigger decision measures when an abnormal situation is detected.
[0153] The downhole pulse flow generator auxiliary monitoring system 600 is a device used in an industrial production environment. The operation of any equipment needs to ensure safety. By monitoring the operation of the device, potential faults or abnormalities can be discovered in time, so that measures can be taken to prevent accidents.
[0154] Among them, the first acquisition module 610 can provide real-time data, including parameters such as pressure and temperature, which can be used to analyze the working status and performance of the device; the decision module 650 can analyze the data to draw conclusions about the operation status, output, energy consumption, etc. of the device. These conclusions can provide valuable information for decision makers to formulate production plans, optimize production processes, etc.
[0155] In an exemplary embodiment, the downhole pulse flow generator auxiliary monitoring system 600 may further include the following modules:
[0156] A training module, used to train normal nonlinear dynamic characteristics and abnormal nonlinear dynamic characteristics respectively based on a machine learning algorithm, and obtain a normal operation benchmark model and an abnormality detection model;
[0157] A generation module is used to generate detection results based on a normal operation benchmark model, an abnormality detection model and nonlinear dynamic characteristics.
[0158] On the basis of the above embodiments, the embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium shown is a CD, on which a computer program (i.e., a program product) is stored. When the computer program is executed by the processor, each step recorded in the above method implementation will be implemented, for example, obtaining the operating parameters of the downhole pulse flow generating device; preprocessing the operating parameters; extracting the nonlinear dynamic characteristics of the operating parameters after preprocessing; performing anomaly detection based on the nonlinear dynamic characteristics; and triggering decision measures if abnormal behavior is detected. The specific implementation method of each step will not be repeated here.
[0159] It should be noted that examples of computer-readable storage media may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.
[0160] In addition, based on the above embodiments, the embodiments of the present application further provide a computing device, which may be a computer system or a server. The computing device includes at least one processor, a memory, and an input-output unit; wherein the memory is used to store a computer program, and the processor is used to call the computer program stored in the memory to execute the downhole pulse flow generating device auxiliary monitoring method.
[0161] Specifically, the components of a computing device may include, but are not limited to: one or more processors or processing units, a system memory, and a bus that connects different system components (including the system memory and the processing unit).
[0162] Computing devices typically include a variety of computer system readable media. These media can be any available media that can be accessed by the computing device, including volatile and non-volatile media, removable and non-removable media.
[0163] The system memory may include computer system readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory. The computing device may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, ROM may be used to read and write non-removable, non-volatile magnetic media (commonly referred to as "hard drives"). Although not shown in the figure, a disk drive for reading and writing removable non-volatile disks (such as "floppy disks"), and an optical disk drive for reading and writing removable non-volatile optical disks (such as CD-ROMs, DVD-ROMs or other optical media) may be provided. In these cases, each drive may be connected to a bus connecting different system components via one or more data medium interfaces. The system memory may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present application.
[0164] A program / utility having a set (at least one) of program modules, which may be stored, for example, in a system memory, and such program modules include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules typically perform the functions and / or methods of the embodiments described herein.
[0165] The computing device may also communicate with one or more external devices (e.g., keyboards, pointing devices, displays, etc.). Such communication may be performed via input / output (I / O) interfaces. Furthermore, the computing device may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter. The network adapter communicates with other modules of the computing device (e.g., processing units, etc.) via a bus that connects different system components. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the computing device.
[0166] The processing unit executes various functional applications and data processing by running the programs stored in the system memory, for example, obtaining the operating parameters of the downhole pulse flow generating device; preprocessing the operating parameters; extracting the nonlinear dynamic characteristics of the operating parameters after preprocessing; performing anomaly detection based on the nonlinear dynamic characteristics; and triggering decision measures if abnormal behavior is detected. The specific implementation methods of each step will not be repeated here.
[0167] It should be noted that, although several units / modules or sub-units / sub-modules of the downhole pulse flow generator auxiliary monitoring system are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiment of the present application, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.
[0168] Those skilled in the art will appreciate that the above-mentioned embodiments are specific examples for implementing the present invention, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present invention.
Claims
1. Downhole pulse flow generator auxiliary monitoring method, It is characterized in that include: Acquiring operating parameters of a downhole pulse flow generating device, including installing a plurality of sensors in the downhole pulse flow generating device, wherein the plurality of sensors include at least a pressure sensor, a temperature sensor, and a flow sensor, and acquiring collected data of the plurality of sensors; Preprocessing the operating parameters; After preprocessing, the nonlinear dynamic characteristics of the operating parameters are extracted, including: Based on a nonlinear dynamics method, extracting nonlinear dynamic characteristics of the operating parameters; The nonlinear dynamic characteristics include Lyapunov exponents, bifurcation diagrams, and recursive variances; Based on the nonlinear dynamic characteristics, anomaly detection is performed, including: Applying the acquired nonlinear dynamic characteristics to a normal operating benchmark model and / or an abnormality detection model to generate a test result. If the test result does not conform to the normal operating benchmark model or conforms to the abnormality detection model, it can be determined as abnormal, otherwise it is normal; If abnormal behavior is detected, decision-making measures are triggered; Before the step of obtaining the operating parameters of the downhole pulse flow generating device, the method further includes: Obtaining historical operating parameters of a plurality of downhole pulse flow generating devices; Preprocessing the historical operating parameters; After preprocessing, extracting nonlinear dynamic characteristics of the historical operating parameters; Screen out normal nonlinear dynamic characteristics and abnormal nonlinear dynamic characteristics; Based on a machine learning algorithm, the normal nonlinear dynamic characteristics and the abnormal nonlinear dynamic characteristics are trained respectively, and a training model is obtained to construct a normal operation benchmark model and an abnormality detection model; The isolation forest model is constructed using the running parameter data after preprocessing and feature extraction. The isolation forest model divides the data set by constructing multiple random binary trees, where the path length of abnormal samples is short and the path length of normal samples is long. The final anomaly score is obtained by constructing multiple trees and combining their results. For each sample point, the isolation forest model is used to calculate its anomaly score. The calculation formula is as follows: in, s(x) Indicates the abnormal score, sample point x The length of a path in the tree is h(x) , E(h(x)) Represents sample points x The average path length in all trees, c(n) Based on the sample size n The decision threshold calculated, c′(n) is the correction factor. The correction factor is based on the sample size. n The size of is used to adjust the anomaly score; Calculate correction factors based on sample size c′(n) , the correction factor is calculated by the following formula: in H(n-1) It is the harmonic number, which is used to adjust the anomaly score to make it more accurate and reliable; According to the anomaly score, the sample points are detected and warned: the sample points with high anomaly scores are considered abnormal samples, indicating that the downhole pulse flow generating device has an abnormality or failure; according to the pre-set threshold, it is judged whether the sample point is abnormal, and corresponding processing and warning are carried out.
2. The downhole pulse flow generator auxiliary monitoring method according to claim 1, It is characterized in that Preprocessing the operating parameters includes: De-noising the collected data of the multiple sensors; The collected data of the multiple sensors are filtered.
3. The downhole pulse flow generator auxiliary monitoring method according to claim 1, It is characterized in that If abnormal behavior is detected, decision measures are triggered, including alarm, shutdown or remote control.
4. An auxiliary monitoring system for a downhole pulse flow generator, It is characterized in that include: A first acquisition module, used to acquire the operating parameters of the downhole pulse flow generating device in the downhole pulse flow generating device auxiliary monitoring method according to any one of claims 1 to 3; A preprocessing module, used for preprocessing the operating parameters; A second acquisition module, used for extracting the nonlinear dynamic characteristics of the operating parameters; An anomaly detection module, used for performing anomaly detection based on the nonlinear dynamic characteristics; The decision module is used to trigger decision measures when an abnormal situation is detected.
5. The downhole pulse flow generator auxiliary monitoring system according to claim 4, It is characterized in that Also includes: A training module, used to train normal nonlinear dynamic characteristics and abnormal nonlinear dynamic characteristics respectively based on a machine learning algorithm, and obtain a normal operation benchmark model and an abnormality detection model; A generation module is used to generate a detection result based on the normal operation benchmark model, the abnormality detection model and the nonlinear dynamic characteristics.
Citation Information
Patent Citations
Downhole mechanical hydraulic pulse generation device
CN106246126A
Drill bit repair type prediction using machine learning
US20200149354A1
Online monitoring method of nuclear power plant system based on isolation forest method and sliding window method
US20220291654A1
