Oil and gas pipeline monitoring and predicting system based on deep learning
Through the oil and gas pipeline monitoring and prediction system based on deep learning, deep learning models and digital twin technology are used to solve the monitoring and prediction problems of oil and gas pipelines in complex environments, achieve real-time data analysis and fault warning, and improve the safety of pipelines. and operational efficiency.
Patent Information
- Application Number
- CN202410968163.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-18
AI Technical Summary
Oil and gas pipelines in complex terrain and environments are vulnerable to threats such as natural disasters, third-party construction, and theft, leading to pipeline damage and leakage. It is difficult for existing monitoring and prediction systems to effectively process and analyze real-time data and establish reliable prediction models.
An oil and gas pipeline monitoring and prediction system based on deep learning is adopted, including a sensor detection module, a digital twin model, a real-time monitoring and anomaly detection module, a deep learning model and a fault prediction and early warning module. Through convolutional neural networks, recurrent neural networks and long-term Models such as short-term memory networks combine infrared image data and sensor data to perform data preprocessing and feature extraction to achieve real-time monitoring and fault warning.
It improves the accuracy and real-time performance of oil and gas pipeline monitoring, enhances prediction capabilities, reduces costs, improves scalability and visual interactivity, and significantly improves the effectiveness and efficiency of monitoring and prediction work.
Smart Images

Figure CN118856239A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of real-time monitoring of oil and gas pipelines, and in particular to an oil and gas pipeline monitoring and prediction system based on deep learning. Background Art
[0002] Oil and gas pipelines refer to pipeline systems used to transport oil and natural gas. They are usually buried underground or on the seabed. They maintain the power of oil and gas flow through equipment such as pump stations and compressor stations, and transport oil and gas from the production area to the consumption area. Oil and gas pipeline transportation has the advantages of large transportation volume, strong continuity, low cost, safety and reliability, and little impact on the environment. It is an important part of the modern oil and gas industry. At the same time, the application of monitoring and prediction systems for oil and gas pipelines is also very important. By real-time monitoring of pipeline operating status, environmental parameters and other data, abnormal situations can be discovered in time and early warnings can be issued, thereby avoiding or reducing the occurrence of accidents such as oil and gas leaks.
[0003] However, the current field of real-time monitoring of oil and gas pipelines has the following problems: oil and gas pipelines often cross complex terrain and environments, and are vulnerable to threats from natural disasters, third-party construction, oil and gas theft, etc., which may lead to safety accidents such as pipeline damage and leakage, causing serious impacts on the safety of human life and property and the environment along the line; oil and gas pipeline monitoring and prediction involves a large amount of data processing, model building and predictive analysis. The problems of accurately obtaining real-time data of pipelines, how to effectively process and analyze these data, and how to establish reliable prediction models still need to be solved.
[0004] Deep learning is a new research direction in the field of machine learning. It mainly enables machines to have analytical learning capabilities similar to humans by learning the inherent laws and representation levels of sample data. The ultimate goal of deep learning is to enable machines to recognize and interpret various data, such as text, images, and sounds, so as to achieve the goal of artificial intelligence.
[0005] Digital Twin makes full use of physical models, sensor updates, operation history and other data, integrates multi-disciplinary, multi-physical quantity, multi-scale, and multi-probability simulation processes, completes mapping in virtual space, and thus reflects the entire life cycle of the corresponding physical equipment.
[0006] Therefore, in order to solve the above problems, deep learning technology and digital twin technology are combined to realize oil and gas pipeline monitoring and prediction to improve its accuracy and real-time performance. Summary of the invention
[0007] The purpose of the present invention is to solve the defects in the prior art and propose an oil and gas pipeline monitoring and prediction system based on deep learning.
[0008] In order to achieve the above object, the present invention adopts the following technical solutions:
[0009] A deep learning-based oil and gas pipeline monitoring and prediction system includes a sensor detection module, a digital twin model, a real-time monitoring and anomaly detection module, a deep learning model, a fault prediction and warning module, and a visual user interaction module;
[0010] The sensor detection module collects data from various sensors and equipment in the oil and gas pipeline, including pressure data, temperature data, flow data, vibration data, chemical composition data, position and posture data, and infrared image data;
[0011] Wherein, the infrared image data needs to be preprocessed to improve the prediction quality of the deep learning model;
[0012] The real-time monitoring and anomaly detection module performs real-time analysis on the data collected in real time to detect whether there are any abnormal conditions;
[0013] The deep learning model is the core part of the system, including three types of deep learning networks: convolutional neural network (CNN), recurrent neural network (RNN) or long short-term memory network (LSTM). These models learn the normal mode of pipeline operation and the characteristics of potential problems by training a large amount of historical data;
[0014] The fault prediction and warning module uses an empirical deep learning model with rich historical data learning to predict the type and time of possible failures in the pipeline;
[0015] The visualization user interaction module includes three-dimensional visualization and statistical visualization modules. Through three-dimensional visualization and statistical visualization technology, it provides users with an intuitive and easy-to-understand data display method, thereby helping users to better understand and utilize the monitoring and prediction results of the system.
[0016] Furthermore, the specific steps of the pre-processing are as follows:
[0017] a. First, obtain the sensor data and perform data cleaning, including removing duplicate data, processing missing values, and removing noise. In particular, for infrared image data, a two-dimensional Gaussian filter needs to be used for convolution operations to eliminate image brightness noise caused by the confined space in the oil and gas pipeline:
[0018]
[0019] Among them, x is the horizontal coordinate of the pixel, y is the vertical coordinate of the pixel, G(x,y) is the new pixel value, and σ is the standard deviation of the image;
[0020] b. Perform z-score standardization on the data and convert it to the same scale to eliminate the dimensional differences between different features:
[0021]
[0022] Where Z is the standard score, X is the raw data obtained by the sensor, E[X] is the average value of X, and σ(X) is the standard deviation of X;
[0023] c. According to the needs of specific tasks, extract the features related to the status of oil and gas pipelines from the original data, including statistical features, time series features, and features based on signal processing after Laplace transform:
[0024]
[0025] Among them, F(s) is a complex function that transforms the function in the time domain into the complex frequency domain, e -st is the convergence factor, s = σ + jω is the complex frequency, where the real part σ is always positive, and the imaginary part jω can be positive, negative, or zero;
[0026] d. For image or time series data, data enhancement can be performed by rotation, translation, scaling, cropping, etc. to increase the diversity of the data set and the generalization ability of the model;
[0027] e. For outliers that deviate significantly from the normal range, you can choose to treat them as noise and remove them, or treat them as special cases and give them special treatment.
[0028] Furthermore, the digital twin model includes a geometric model, a physical model and a data exchange platform;
[0029] The geometric model is combined with the oil and gas pipeline construction drawings and scanned point cloud data, and the BIM technology is used to accurately model the geometric shape of the oil and gas pipeline in three dimensions;
[0030] The physical model stores various physical parameters acquired by the sensor, including pressure, temperature, flow, vibration information, chemical composition, position and posture, and infrared image;
[0031] The data exchange platform synchronizes, interacts and updates the geometric model and the physical model based on the data obtained from the sensor detection module to ensure that the status and information between the two can be consistent in real time:
[0032] M {DT} =(VM,PM,DEP,DD,CN)
[0033] Among them, M{DT} represents the overall framework of the digital twin model with five key dimensions, VM is the geometric model, PM is the physical model, DEP is the data exchange platform, DD is the sensor twin data, and CN is the connection between the parts.
[0034] Furthermore, the specific steps of the fault prediction and early warning module are as follows:
[0035] a. Collect sensor data stored in geometric and physical models after preprocessing in the digital twin model, and use deep learning models to automatically extract useful features from the raw data;
[0036] b. Input the real-time collected data into the trained deep learning model. The deep learning model will predict the future state based on the learned pattern, identify potential failure risks, and generate a failure warning signal based on the prediction results;
[0037] c. According to business needs and data distribution, set appropriate warning thresholds based on model performance. When the model's prediction results exceed the preset thresholds, the warning mechanism is triggered:
[0038]
[0039] Among them, P is precision, R is recall, TP is true positive, FP is false positive, FN is false negative, and F1 is the warning threshold, that is, the balance point in the precision-recall curve;
[0040] d. Once the early warning mechanism is triggered, the system generates early warning information and promptly notifies relevant personnel of the early warning information so that appropriate measures can be taken to intervene and avoid the occurrence of failures or mitigate the impact of failures;
[0041] e. Regularly evaluate the prediction performance of the model based on accuracy, recall rate, and F1 score. Based on the evaluation results, adjust the parameters of the deep learning model to improve the accuracy and reliability of fault prediction and warning;
[0042] f. Continuously deploy the optimized model in the production environment to conduct real-time monitoring and early warning of oil and gas pipelines, and regularly maintain and update the model to adapt to changes in pipeline operating status and new failure modes.
[0043] Compared with the prior art, the present invention has the following beneficial effects:
[0044] The present invention proposes a deep learning-based oil and gas pipeline monitoring and prediction system, which collects various data from sensors and equipment of oil and gas pipelines through a sensor detection module, pre-processes the collected data, deploys the trained deep learning model to the monitoring system of the oil and gas pipeline, and realizes automatic analysis of real-time data, thereby realizing monitoring and prediction of abnormal points and sections of the oil and gas pipeline in the real-time monitoring and anomaly detection module and the fault prediction and early warning module, and displays the system's operating results and related information to the user in a graphical manner to help the user better understand and use the system. The present invention provides a comprehensive and efficient solution for the safe operation and maintenance of oil and gas pipelines by improving accuracy, realizing real-time monitoring, enhancing prediction capabilities, demonstrating adaptability, reducing costs, improving scalability, and optimizing visual interaction, and significantly improves the effect and efficiency of monitoring and prediction work. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.
[0046] Figure 1 A schematic diagram of functional modules of an oil and gas pipeline monitoring and prediction system based on deep learning in an embodiment of the present invention;
[0047] Figure 2 A schematic diagram of the preprocessing process of an oil and gas pipeline monitoring and prediction system based on deep learning in an embodiment of the present invention;
[0048] Figure 3 This is a process schematic diagram of a fault prediction and early warning module in an embodiment of an oil and gas pipeline monitoring and prediction system based on deep learning proposed by the present invention. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0050] In one embodiment, Figure 1 As shown, a deep learning-based oil and gas pipeline monitoring and prediction system is provided, including a sensor detection module, a digital twin model, a real-time monitoring and anomaly detection module, a deep learning model, a fault prediction and warning module, and a visual user interaction module.
[0051] The sensor detection module collects data from various sensors and equipment in the oil and gas pipeline, including pressure data, temperature data, flow data, vibration data, chemical composition data, position and posture data, and infrared image data;
[0052] The digital twin model includes a geometric model, a physical model and a data exchange platform;
[0053] The real-time monitoring and anomaly detection module performs real-time analysis on the data collected in real time to detect whether there are any abnormal conditions;
[0054] The deep learning model is the core part of the system, including three types of deep learning networks: convolutional neural network (CNN), recurrent neural network (RNN) or long short-term memory network (LSTM). These models learn the normal mode of pipeline operation and the characteristics of potential problems by training a large amount of historical data;
[0055] The fault prediction and warning module uses an empirical deep learning model with rich historical data learning to predict the type and time of possible failures in the pipeline;
[0056] The visualization user interaction module includes three-dimensional visualization and statistical visualization modules. Through three-dimensional visualization and statistical visualization technology, it provides users with an intuitive and easy-to-understand data display method, thereby helping users to better understand and utilize the monitoring and prediction results of the system.
[0057] In this embodiment, the system dynamically collects pipeline operation data through sensors in real time and feeds it back to the digital twin model, and then uses a deep learning model to extract features and recognize patterns from these data. The model has been trained with a large amount of historical data and can automatically learn and identify normal and abnormal operating modes. When the model detects an abnormal mode or predicts a potential failure, an early warning mechanism is triggered. The triggering of the early warning is usually based on a preset threshold. When the prediction result exceeds this threshold, the system will generate early warning information, including the type of fault, predicted time of occurrence, etc., and promptly notify relevant personnel for processing.
[0058] In this way, real-time monitoring and fault warning of oil and gas pipelines can be achieved, thereby improving the safety and operation efficiency of the pipelines.
[0059] In one embodiment, this embodiment is based on the above example. Figure 2 As shown in the figure, a preprocessing process of the acquired sensor data is proposed, and the specific steps are as follows:
[0060] 1) First, obtain the sensor data and perform data cleaning, including removing duplicate data, processing missing values, and removing noise:
[0061]
[0062] Among them, x is the horizontal coordinate of the pixel, y is the vertical coordinate of the pixel, G(x,y) is the new pixel value, and σ is the standard deviation of the image;
[0063] 2) Perform z-score standardization on the data to the same range or scale to eliminate dimensional differences between different features:
[0064]
[0065] Where Z is the standard score, X is the raw data obtained by the sensor, E[X] is the average value of X, and σ(X) is the standard deviation of X;
[0066] 3) According to the needs of specific tasks, extract the features related to the status of oil and gas pipelines from the original data, including statistical features, time series features, and features based on signal processing after Fourier transform:
[0067]
[0068] Among them, F(s) is a complex function that transforms the function in the time domain into the complex frequency domain, e -st is the convergence factor, s = σ + jω is the complex frequency, where the real part σ is always positive, and the imaginary part jω can be positive, negative, or zero;
[0069] 4) For image or time series data, data enhancement is performed through rotation, translation, scaling, cropping, etc. to increase the diversity of the data set and the generalization ability of the model;
[0070] 5) For outliers that are significantly out of the normal range, you can choose to treat them as noise and remove them, or treat them as special cases and give them special treatment.
[0071] After the above steps, the sensor data is cleaned to ensure the accuracy and consistency of the data. The data is normalized and standardized to meet the input requirements of the deep learning model, thereby achieving higher model prediction accuracy.
[0072] In one embodiment, this embodiment is based on the above example. Figure 3 As shown in the figure, the digital twin model includes a geometric model, a physical model, and a data exchange platform. The deep learning model includes a convolutional neural network (CNN), a recurrent neural network (RNN), or a long short-term memory network (LSTM). The specific steps for implementing fault prediction and early warning are as follows:
[0073] 1) Collect sensor data stored in geometric and physical models after preprocessing in the digital twin model, and use deep learning models to automatically extract useful features from the raw data;
[0074] 2) Input the real-time collected data into the trained deep learning model, which will predict the future state based on the learned pattern, identify potential failure risks, and generate a failure warning signal based on the prediction results;
[0075] 3) According to business needs and data distribution, set appropriate warning thresholds based on model performance. When the model's prediction results exceed the preset threshold, the warning mechanism is triggered:
[0076]
[0077] Among them, P is precision, R is recall, TP is true positive, FP is false positive, FN is false negative, and F1 is the warning threshold, that is, the balance point in the precision-recall curve;
[0078] 4) Once the early warning mechanism is triggered, the system generates early warning information and promptly notifies relevant personnel of the early warning information so that appropriate measures can be taken to intervene and avoid the occurrence of failures or mitigate the impact of failures;
[0079] 5) Regularly evaluate the prediction performance of the model according to accuracy, recall rate, and F1 score. According to the evaluation results, adjust the parameters of the deep learning model to improve the accuracy and reliability of fault prediction and early warning;
[0080] 6) The optimized model is continuously deployed in the production environment to conduct real-time monitoring and early warning of oil and gas pipelines, and the model is regularly maintained and updated to adapt to changes in pipeline operating status and new failure modes.
[0081] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the scope of the technical invention disclosed in the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A deep learning-based oil and gas pipeline monitoring and prediction system, characterized in that: It includes sensor detection module, digital twin model, real-time monitoring and anomaly detection module, deep learning model, fault prediction and warning module, and visual user interaction module; The sensor detection module collects data from sensors deployed in oil and gas pipelines, including pressure data, temperature data, flow data, vibration data, chemical composition data, position and posture data, and infrared image data; Wherein, the infrared video image data needs to be preprocessed to improve the prediction quality of the deep learning model; The real-time monitoring and anomaly detection module performs real-time analysis on the data collected in real time to detect whether there are any abnormal conditions; The deep learning model includes three deep learning networks: convolutional neural network (CNN), recurrent neural network (RNN) and long short-term memory network (LSTM). By training a large amount of historical data, the normal mode of pipeline operation and the characteristics of potential problems are learned; The fault prediction and warning module is equipped with an empirical deep learning model with historical data learning to predict the type and time of possible failures in the pipeline; The visualization user interaction module includes three-dimensional visualization and statistical visualization modules, which provide users with an intuitive and easy-to-understand data display method through three-dimensional visualization and statistical visualization technology.
2. The oil and gas pipeline monitoring and prediction system based on deep learning according to claim 1 is characterized in that: The specific steps of the pretreatment are as follows: a. First, obtain the sensor data and perform data cleaning, including removing duplicate data, processing missing values, and removing noise. In particular, for infrared image data, a two-dimensional Gaussian filter needs to be used for convolution operations to eliminate image brightness noise caused by the confined space in the oil and gas pipeline: Among them, x is the horizontal coordinate of the pixel, y is the vertical coordinate of the pixel, G(x,y) is the new pixel value, and σ is the standard deviation of the image; b. Perform z-score standardization on the data and convert them to the same scale to eliminate the dimensional differences between different features: Where Z is the standard score, X is the raw data obtained by the sensor, E[X] is the average value of X, and σ(X) is the standard deviation of X; c. According to the needs of specific tasks, extract the features related to the status of oil and gas pipelines from the original data, including statistical features, time series features, and features based on signal processing after Laplace transform: Among them, F(s) is a complex function that transforms the function in the time domain into the complex frequency domain, e -st is the convergence factor, s = σ + jω is the complex frequency, where the real part σ is always positive, and the imaginary part jω can be positive, negative, or zero; d. For image or time series data, data augmentation can be performed through rotation, translation, scaling, and cropping to increase the diversity of the dataset and the generalization ability of the model; e. For outliers that deviate significantly from the normal range, they are considered as noise and removed.
3. The oil and gas pipeline monitoring and prediction system based on deep learning according to claim 1 is characterized in that: The digital twin model includes a geometric model, a physical model and a data exchange platform; The geometric model is combined with the oil and gas pipeline construction drawings and scanned point cloud data, and the BIM technology is used to accurately model the geometric shape of the oil and gas pipeline in three dimensions; The physical model stores various physical parameters acquired by the sensor, including pressure, temperature, flow, vibration information, chemical composition, position and posture, and infrared image; The data exchange platform synchronizes, interacts and updates the geometric model and the physical model based on the data obtained from the sensor detection module to ensure that the status and information between the two can be consistent in real time: M {DT} =(VM,PM,DEP,DD,CN) Among them, M{DT} represents the overall framework of the digital twin model with five key dimensions, VM is the geometric model, PM is the physical model, DEP is the data exchange platform, DD is the sensor twin data, and CN is the connection between the parts.
4. The oil and gas pipeline monitoring and prediction system based on deep learning according to claim 1 is characterized in that: The specific steps of the fault prediction and early warning module are as follows: a. Collect sensor data stored in geometric and physical models after preprocessing in the digital twin model, and use deep learning models to automatically extract features from the raw data; b. Input the real-time collected data into the trained deep learning model. The deep learning model will predict the future state based on the learned pattern, identify potential failure risks, and generate a failure warning signal based on the prediction results; c. According to business needs and data distribution, set appropriate warning thresholds based on model performance. When the model's prediction results exceed the preset thresholds, the warning mechanism is triggered: Among them, P is precision, R is recall, TP is true positive, FP is false positive, FN is false negative, and F1 is the warning threshold, that is, the balance point in the precision-recall curve; d. Once the early warning mechanism is triggered, the system generates early warning information and promptly notifies relevant personnel of the early warning information so that appropriate measures can be taken to intervene and avoid the occurrence of failures or mitigate the impact of failures; e. Regularly evaluate the prediction performance of the model according to accuracy, recall rate, and F1 score. According to the evaluation results, adjust the parameters of the deep learning model to improve the accuracy and reliability of fault prediction and early warning; f. Continuously deploy the optimized model in the production environment to conduct real-time monitoring and early warning of oil and gas pipelines, and regularly maintain and update the model to adapt to changes in pipeline operating status and new failure modes.
Citation Information
Patent Citations
Pipeline safety monitoring system, method and device based on deep learning
CN110335430A
Long oil pipeline leakage real-time detection system based on transfer learning LSTM
CN111783945A
Laser cutting numerical control system fault diagnosis method based on digital twinning and deep transfer learning
CN114201920A
Pipeline optical fiber sensing safety early warning method and system based on deep learning
CN116304609A
Intrusion monitoring method, system and equipment for oil and gas pipeline and medium
CN116336385A
Cited By
Oil and gas pipe network risk information early warning system and method
CN119163892A
Oil pump state detection system based on deep learning and detection method thereof
CN119202856A
Pipeline flaw detection method and system based on pipeline robot
CN120161122A
Oil and gas pipeline fault detection method and storage medium
CN120162530A
Crude oil storage and transportation safety state dynamic monitoring method for pressure pipeline
CN120256979A
