A pipeline defect positioning method and system
Through the use of multi-parameter fusion and neural network models, the problem of inaccurate and time-consuming positioning in traditional pipeline defect positioning methods is solved, and efficient positioning and repair of oil and gas pipeline defect points are achieved.
Patent Information
- Application Number
- CN202410961933.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-18
AI Technical Summary
In oil and gas pipelines, traditional pipeline defect location methods have problems such as inaccurate positioning and time-consuming and labor-intensive problems. It is difficult to effectively identify and repair defects in long-distance or submarine pipelines.
Using a multi-parameter fusion method, combined with data from the magnetic flux leakage detector and inertial measurement unit module, through time synchronization processing and spatial inference positioning processing, the neural network model and Kalman filter are used for data fusion and fitting to improve the detection of pipeline defect points. Positioning accuracy.
It achieves accurate positioning of pipeline defect points, improves positioning accuracy and efficiency, reduces resource waste and time delays, and ensures timely repair work.
Smart Images

Figure CN118501248B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of oil and gas pipeline maintenance, and in particular to a pipeline defect locating method and system. Background Art
[0002] Oil and gas pipeline transportation plays a vital role in the energy sector. Pipeline transportation is an efficient, safe and economical way to meet global energy needs. Since oil and natural gas are the main energy sources of modern industrial society, the smooth operation of pipeline transportation systems is essential to maintaining social stability and economic development. If oil and gas pipelines are defective and leak, it will have serious impacts and consequences.
[0003] Therefore, preventing and responding to oil and gas pipeline leaks is particularly critical. However, in terms of preventing pipeline leaks, the most important thing is to accurately locate the location of pipeline defects and repair the defects. But it is not easy to determine the location of defects on pipelines that are several kilometers long or even on the seabed. Conventional excavation verification methods are not only impractical, but also consume a lot of manpower, material resources and time.
[0004] Therefore, it is of great significance to accurately locate the position of pipeline defects so as to carry out repair work in a timely manner. Summary of the invention
[0005] The present application provides a pipeline defect locating method and system, which can accurately locate the position of pipeline defect points.
[0006] In a first aspect, a pipeline defect locating method is provided, comprising:
[0007] After the magnetic flux leakage detector completes the magnetic flux leakage detection on the pipeline, the original data of the three-way odometer of the magnetic flux leakage detector is input into the inertial measurement unit module to obtain the first positioning data output by the inertial measurement unit module after performing data solution on the original data, wherein the first positioning data includes at least one first time point and the longitude and latitude corresponding to the first time point;
[0008] After the magnetic flux leakage detector has finished magnetic flux leakage detection on the pipeline, second positioning data recorded by at least one ground marker locator is obtained, the at least one ground marker locator is buried along the pipeline direction of the pipeline, and the second positioning data includes at least one second time point and the longitude and latitude corresponding to the second time point, the second time point is the time point recorded by the ground marker locator when the magnetic flux leakage detector passes through the ground marker locator when running in the pipeline;
[0009] The first positioning data and the second positioning data are fused by using time synchronization processing and space inference positioning processing to obtain fused positioning data;
[0010] Use in-house testing data analysis software to analyze and visualize raw data;
[0011] Determine the pipeline defect data based on the visual display of the internal inspection data analysis software. The defect data includes the inspection time information and mileage information corresponding to each defect point;
[0012] The defect data and fused positioning data are fitted and compared to obtain the longitude and latitude of each defect point.
[0013] In a feasible design, the first positioning data and the second positioning data are fused by using time synchronization processing and space inference positioning processing to obtain fused positioning data, including:
[0014] Inputting the first positioning data and the second positioning data into the first neural network model, so that the first neural network model performs time synchronization processing on the first positioning data and the second positioning data by identifying time features in the first positioning data and the second positioning data, so as to align the time point in the second positioning data with the time point in the first positioning data;
[0015] Predicting a longitude function and a latitude function according to the first positioning data using a second neural network model, and correcting the first positioning data according to the longitude function and the latitude function, wherein the longitude function is used to represent the corresponding relationship between the time point sequence and the longitude, and the latitude function is used to represent the corresponding relationship between the time point sequence and the latitude;
[0016] The second positioning data is used to perform linear interpolation on the corrected first positioning data to obtain fused positioning data.
[0017] In one possible design, the method further includes:
[0018] Inputting the longitude and latitude in the fused positioning data as an observation into the first Kalman filter, and inputting the corrected first positioning data as another observation into the first Kalman filter;
[0019] The fused positioning data and the first positioning data are fitted using the first Kalman filter to obtain fitted fused positioning data.
[0020] In a feasible design, the defect data and the fused positioning data are fitted and compared to obtain the longitude and latitude of each defect point, including:
[0021] Align the defect data and the fused positioning data using their timestamps;
[0022] By using the fused positioning data and the mileage information of each defect point, cubic spline interpolation fitting is performed on the mileage segment where each defect point is located to obtain the longitude and latitude of each defect point.
[0023] In one possible design, the method further includes:
[0024] The longitude and latitude of each defect point are respectively input into the second Kalman filter as two observation quantities, and the fused positioning data is input into the second Kalman filter as the predicted value of the system state;
[0025] The second Kalman filter is used to fit the longitude and latitude of each defect point and the fused positioning data to obtain the longitude and latitude of each defect point after fitting.
[0026] In one possible design, the method further includes:
[0027] The longitude and latitude of each defect point after fitting are respectively input into the second Kalman filter as two observation quantities, and the fused positioning data is input into the second Kalman filter as the predicted value of the system state;
[0028] The second Kalman filter is used to fit the longitude and latitude of each defect point after fitting and the fused positioning data again, and the longitude and latitude of each defect point after fitting are corrected.
[0029] In a feasible design, before fusing the first positioning data and the second positioning data by using time synchronization processing and spatial inference positioning processing, the method further includes:
[0030] The first positioning data and / or the second positioning data are subjected to a first preprocessing, wherein the first preprocessing includes one or more of the following methods:
[0031] Data cleaning processing, time calibration synchronization processing and format conversion processing.
[0032] In a feasible design, before aligning the defect data and the fused positioning data using the timestamps of the defect data and the fused positioning data, the method further includes:
[0033] Performing a second preprocessing on the defect data, the second preprocessing includes one or more of the following methods:
[0034] Format conversion, standardization and normalization.
[0035] In a feasible design, before using the internal detection data analysis software to analyze and visualize the raw data, the method further includes:
[0036] A synchronization processing mechanism is applied to the internal detection data analysis software to synchronize the three mileage wheels.
[0037] In a second aspect, a pipeline defect locating system is provided, comprising:
[0038] The basic information import module is used to input the original data of the three-way odometer of the magnetic flux leakage detector to the inertial measurement unit module after the magnetic flux leakage detector completes the magnetic flux leakage detection on the pipeline, so as to obtain the first positioning data output by the inertial measurement unit module after performing data solution on the original data, wherein the first positioning data includes at least one first time point and the longitude and latitude corresponding to the first time point;
[0039] The basic information import module is also used to obtain second positioning data recorded by at least one ground marker locator after the magnetic flux leakage detector completes the magnetic flux leakage detection on the pipeline, the at least one ground marker locator is buried along the pipeline direction of the pipeline, and the second positioning data includes at least one second time point and the longitude and latitude corresponding to the second time point, the second time point is the time point recorded by the ground marker locator when the magnetic flux leakage detector passes through the ground marker locator when running in the pipeline;
[0040] A first fusion algorithm module is used to fuse the first positioning data and the second positioning data by using time synchronization processing and space inference positioning processing to obtain fused positioning data;
[0041] A display module is used to analyze and visualize the raw data using the internal detection data analysis software;
[0042] The defect data determination module is used to determine the defect data of the pipeline according to the content visualized by the internal inspection data analysis software. The defect data includes the inspection time information and mileage information corresponding to each defect point;
[0043] The second fusion algorithm module is used to fit and compare the defect data and the fused positioning data to obtain the longitude and latitude of each defect point.
[0044] The raw data output by the three-way odometer of the magnetic flux leakage detector is greatly affected by the pipeline environment, which affects the accuracy of the first positioning data output by the inertial measurement unit module. Therefore, the accuracy of the position of the defect point determined according to the first positioning data is low. In order to improve the accuracy of locating pipeline defects, the present application obtains the second positioning data recorded by the ground marker locator, adopts time synchronization processing and spatial inference positioning processing, uses the second positioning data to fuse and correct the first positioning data, and improves the accuracy of the first positioning data by multi-parameter fusion. The fused and corrected first positioning data is the fused positioning data. Therefore, by fitting and comparing the defect data and the fused positioning data, the accurate longitude and latitude of each defect point can be obtained, so that repair work can be carried out in a timely manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0046] Figure 1 is a schematic flow chart of a pipeline defect location method provided by an exemplary embodiment of the present application;
[0047] Figure 2 This is a schematic diagram of a pipeline defect locating system provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0049] At present, traditional detection technologies (such as ultrasonic and magnetic flaw detection) are usually used to locate pipeline defects. This traditional method usually requires manual operation, is time-consuming and labor-intensive, and the accuracy of positioning is greatly affected by human factors. In order to accurately locate the position of pipeline defects, this application uses a multi-parameter fusion method to achieve accurate positioning of pipeline defects, solving the problems of resource waste and time delay caused by using traditional detection technologies for pipeline maintenance.
[0050] Figure 1 is a schematic flow chart of a pipeline defect location method provided by an exemplary embodiment of the present application, such as Figure 1 As shown, the method includes:
[0051] S110, after the magnetic flux leakage detector completes the magnetic flux leakage detection on the pipeline, the original data of the three-way odometer of the magnetic flux leakage detector is input to the inertial measurement unit module to obtain the first positioning data output by the inertial measurement unit module after performing data solution on the original data.
[0052] The first positioning data includes at least one first time point and the longitude and latitude corresponding to the first time point.
[0053] When the magnetic flux leakage detector performs magnetic flux leakage detection on the pipeline, the odometer wheel on the magnetic flux leakage detector will output 4096 pulses for each rotation, and 256 pulses of the 4096 pulses will be transmitted to the inertial measurement unit module through the 422 serial port in the form of digital signals. The inertial measurement unit module uses the inertial measurement unit (IMU) technology, which can fuse the three-way odometer wheel information through the solution algorithm and output one-way positioning data (i.e. the first positioning data).
[0054] Exemplarily, the first positioning data also includes information such as elevation information corresponding to each first time point, mileage information from the initial point, and a timestamp.
[0055] It should be noted that the model of the magnetic flux leakage detector is not limited in this application.
[0056] Each first time point is a time point at which the IMU collects data. For example, the IMU collects data every 6us, and the first time point corresponding to the first data collection is 0.0000058301 seconds. The longitude and latitude corresponding to each first time point are the longitude and latitude of the leakage magnetic detector at the first time point.
[0057] S120, after the magnetic flux leakage detector completes the magnetic flux leakage detection on the pipeline, obtaining second positioning data recorded by at least one ground marker locator.
[0058] Among them, at least one ground marker locator is buried along the pipeline direction of the pipeline, and the second positioning data includes at least one second time point and the longitude and latitude corresponding to the second time point. The second time point is the time point when the leakage magnetic detector recorded by the ground marker locator passes through the ground marker locator when running in the pipeline.
[0059] Exemplarily, the second positioning data is read and exported by host computer software, wherein the host computer software is ground marker locator host computer software.
[0060] Before the magnetic flux leakage detector performs magnetic flux leakage detection on the pipeline, it is necessary to bury several ground marker locators along the direction of the pipeline. For example, one ground marker locator is placed every kilometer along the laying direction of the pipeline.
[0061] S130, fusing the first positioning data and the second positioning data using time synchronization processing and space inference positioning processing to obtain fused positioning data.
[0062] In a feasible design, the first positioning data and the second positioning data are fused by using time synchronization processing and spatial inference positioning processing to obtain fused positioning data.
[0063] S131, input the first positioning data and the second positioning data into the first neural network model, so that the first neural network model performs time synchronization processing on the first positioning data and the second positioning data by identifying time features in the first positioning data and the second positioning data, so as to align the time point in the second positioning data with the time point in the first positioning data.
[0064] The network architecture used by the first neural network model can be selected according to actual needs, and this application does not limit this. For example, a long short-term memory network (Long Short-Term Memory, LSTM) architecture can be used.
[0065] After the first positioning data and the second positioning data are input into the first neural network model, the first neural network model can automatically identify the time features in the first positioning data and the second positioning data by learning the time information in the data, and perform time synchronization processing on the first positioning data and the second positioning data to ensure that the two sets of data correspond at the same time point.
[0066] For example, a ground marker locator is arranged every kilometer on the pipeline, and each point is one kilometer apart. If the first time point output by the first ground marker locator is 12:50:07.195 on January 24, 2024, but the IMU collects data every 6us, the first time point output is 0.0000058301 seconds. It can be seen that the two sets of data are organized according to their own time series, and the corresponding relationship between the corresponding time points in the two sets of data cannot be seen, that is, the two sets of data are not synchronized. After synchronization, the two sets of data correspond to each other at the same time point.
[0067] The same time points of the two sets of data after synchronization can be understood by referring to the following time point corresponding formula (i.e., formula (1)):
[0068] t sync = arg min t ||tt i ||, formula (1);
[0069] Wherein, t represents the second time point in the second positioning data, t sync is the same time point after the first positioning data and the second positioning data are processed in time synchronization, t i is the first time point of the first positioning data, arg min t represents the parameter that minimizes the function value, and || || represents the norm calculation, which is used to calculate the absolute value.
[0070] It can be seen that formula (1) is a mathematical implementation of calculating the same time point of two sets of data, which is used to help understand the concept of the same time point. That is, in the second positioning data, the same time point as t is determined. i The second time point with the smallest time difference, and t sync Determine the same time point for both, so that the time points of the two sets of data are aligned. sync It can be i , that is, each second time point in the second positioning data is replaced by the first time point with the smallest time difference therewith, thereby realizing time synchronization processing of the two sets of data.
[0071] The above example uses the time information in the first positioning data as the basis to re-determine the time information of the second positioning data based on the following considerations:
[0072] (1) The second positioning data is subsequently used to interpolate the first positioning data. The time information in the first positioning data is used as the basis. The time information of the second positioning data is re-determined in order to prepare for the subsequent interpolation processing;
[0073] (2) Compared with the first positioning data, the second positioning data includes second time points that are relatively discontinuous, and the interval between two adjacent second time points is too long, which is not suitable as a reference for time synchronization processing.
[0074] It should be understood that when the first positioning data includes elevation information corresponding to each first time point and mileage information from the initial point, the fused positioning data will also include elevation information corresponding to each time point and mileage information from the initial point.
[0075] S132, using a second neural network model to predict a longitude function and a latitude function based on the first positioning data, and correcting the first positioning data based on the longitude function and the latitude function, the longitude function is used to represent the correspondence between the time point sequence and the longitude, and the latitude function is used to represent the correspondence between the time point sequence and the latitude.
[0076] The network architecture used by the second neural network model can be selected according to actual needs, and this application does not limit this. For example, a long short-term memory network architecture can be used.
[0077] For a first time point t in the first positioning data i , in the time period [t i-1 , t i ], the second neural network model is used to predict the longitude and latitude of the time period. Through the learned rules, historical data and context information, the longitude and latitude are inferred in the time series, and the longitude lon is calculated. i and latitude lat iThe longitude estimate is calculated as shown in the following formula (2):
[0078] lon i =f NN (IMU data , t i ), formula (2);
[0079] The latitude estimate is calculated as shown in the following formula (3):
[0080] lat i =g NN (IMU data , t i ), formula (3);
[0081] Among them, f NN With g NN Respectively represent the longitude function and latitude function predicted by the second neural network model, IMU data Indicates the first positioning data.
[0082] In this example, the second neural network model re-predicts each first time point t according to the longitude function i Corresponding longitude, re-predict each first time point t according to the latitude function i The corresponding latitude is then updated, and the longitude and latitude of the first positioning data at each first time point are updated to achieve correction of the first positioning data.
[0083] S133, using the second positioning data to perform linear interpolation on the corrected first positioning data to obtain fused positioning data.
[0084] Exemplarily, the longitude of the second positioning data is used to perform linear interpolation on the longitude of the corrected first positioning data, as shown in the following formula (4):
[0085] lon interp =loni IMU +(loni MK -loni IMU )×(t i -t i-1 ) / (t i+1 -t i-1 ), formula (4);
[0086] The latitude of the second positioning data is used to perform linear interpolation on the latitude of the corrected first positioning data, as shown in the following formula (5):
[0087] lat interp =lati IMU +(lati MK -lati IMU )×(ti -t i-1 ) / (t i+1 -t i-1 ), formula (5);
[0088] Among them, loni IMU and lati IMU They are respectively the corrected first positioning data at the first time point t i The estimated longitude and latitude at MK and lati MK is the second positioning data after time synchronization processing at the second time point t i The actual recorded value at lon interp is the first time point t in the first positioning data i The interpolated longitude, lat interp is the first time point t in the first positioning data i The interpolated latitude.
[0089] After a long period of use, the inspected pipeline has accumulated a lot of dirt and impurities, such as sediment, rust, and sand. Over time, these dirts continue to accumulate, forming a solid scaling layer, which reduces the flow efficiency of the pipeline. Affected by the environment inside the pipeline, the odometer wheel on the magnetic flux leakage detector running in the pipeline is prone to slippage. The accuracy of the IMU output data depends largely on whether the odometer wheel is operating normally. Relying only on IMU data to locate the actual position of defects on the pipeline may lead to inaccurate positioning problems, so the data recorded by the ground marker locator needs to be fused and corrected.
[0090] In the above example, the first neural network model can accurately perform time synchronization processing on the first positioning data and the second positioning data to ensure that the two sets of data correspond to the same time point, so as to facilitate the subsequent use of the second positioning data to interpolate the first positioning data and realize fusion correction of the first positioning data. Since the first positioning data output by the IMU is a scattered data point, and the accuracy is greatly affected by the environment in the pipeline, the present application uses the second neural network model to predict the longitude function and the latitude function, so as to re-estimate the longitude and latitude corresponding to each first time point, realize the correction of the first positioning data, and further improve the accuracy of the first positioning data. On this basis, the second positioning data is used to perform linear interpolation on the corrected first positioning data to obtain accurate fused positioning data.
[0091] In a feasible design, before the first positioning data and the second positioning data are fused using time synchronization processing and spatial inference positioning processing, the first positioning data and / or the second positioning data are subjected to a first preprocessing, and the first preprocessing includes one or more of the following methods: data cleaning processing, time calibration synchronization processing, and format conversion processing to ensure the accuracy and consistency of the data.
[0092] Among them, data cleaning processing is to remove redundant data. In the first positioning data output by IMU, every 6us corresponds to a set of time data, mileage data, longitude data, latitude data, and elevation data. However, due to the uncertainty of the mileage wheel on the pipeline, such as slipping, the data at this time is invalid. There may be several consecutive groups of data that are the same. At this time, the data is redundant and needs to be eliminated. In addition. A ground marker locator may record several data at the same time. It is necessary to select the most accurate data and eliminate useless redundant data.
[0093] The format conversion process refers to converting the unit of the second time point in the second positioning data into the distance detector entering the tube, which is a number in seconds, and the unit of the first time point in the first positioning data is the same. For example, the magnetic flux leakage detector starts detection at 12:50, and the second time point output by the first ground marker locator is 12:52, so the magnetic flux leakage detector passes through the first ground marker locator for 2 minutes, that is, the second time point recorded by the first ground marker locator is 120 seconds.
[0094] The time alignment synchronization process includes performing accurate sorting and deduplication operations on the time stamp data of the first positioning data and the second positioning data, as well as a time stamp correction operation.
[0095] In order to ensure the timeliness and accuracy of the first positioning data and the second positioning data, accurate sorting and deduplication operations are performed on the timestamp data of the two sets of data. This step is the basis for eliminating any potential data conflicts and duplications.
[0096] The purpose of timestamp correction is to identify and correct possible time deviations that may arise from a variety of factors, such as clock drift or time delays caused by signal transmission delays. The implementation of timestamp correction ensures that time information from different data sources can be synchronized under the same time reference.
[0097] The timestamp correction operation includes:
[0098] (1) Perform timestamp verification on the first positioning data and the second positioning data to verify the consistency and integrity of the data.
[0099] (2) Check whether the time interval between timestamps conforms to the expected time series pattern and eliminate the possibility of abnormal data or missing data.
[0100] (3) Perform timestamp consistency check to ensure that the time information provided by the IMU and ground marker locator is not misaligned or misaligned during the matching process.
[0101] The purpose of time calibration and synchronization processing is to ensure the consistency of the time series of the two sets of data, and to prepare for the subsequent use of the first neural network model to perform time synchronization processing on the two sets of data.
[0102] Exemplarily, the first positioning data is subjected to a coordinate system transformation to eliminate data noise and errors.
[0103] Exemplarily, the format of the second positioning data is standardized to facilitate subsequent calculation and analysis.
[0104] The above example can effectively ensure that the time information of different data sources can be correctly matched and aligned through the first preprocessing, thereby achieving subsequent accurate data fusion and extraction of pipeline trend information.
[0105] In one possible design, the method further includes:
[0106] Inputting the longitude and latitude in the fused positioning data as an observation into the first Kalman filter, and inputting the corrected first positioning data as another observation into the first Kalman filter;
[0107] The fused positioning data and the first positioning data are fitted using the first Kalman filter to obtain fitted fused positioning data.
[0108] The fused positioning data obtained by linear interpolation is used as an observation in the Kalman filter to update the state estimation of the Kalman filter system, and then the corrected first positioning data is used as another observation to construct an observation matrix such as H=[fused positioning data; first positioning data], where H represents the observation matrix. The Kalman filter outputs the complete data after comparing the two observations and removing the redundant data.
[0109] The above example simultaneously considers the correlation between the two observations, optimizes the estimation of the state of the Kalman filter system, and forms a complete set of fused positioning data by fitting the fused positioning data and the first positioning data, thereby improving the accuracy of the fused positioning data.
[0110] S140, analyze and visualize the raw data using the internal detection data analysis software.
[0111] The internal inspection data analysis software is used to analyze the signals (i.e. raw data) of various types of magnetic flux leakage detectors, making it easier for data readers to view the raw data and mark pipeline characteristic signals such as defect signals.
[0112] In a feasible design, before using the internal detection data analysis software to analyze and visualize the raw data, the method further includes:
[0113] A synchronization processing mechanism is applied to the internal detection data analysis software to synchronize the three mileage wheels.
[0114] Exemplarily, the synchronization of the three-way mileage wheels is achieved in the following manner:
[0115] The mileage of the three odometer wheels is calculated every 5 seconds, and the data of the odometer wheel corresponding to the maximum mileage is taken as the data of the other two odometer wheels.
[0116] When the magnetic flux leakage detector is inspecting in the pipeline, in order to minimize the impact of the odometer wheel jam on the inspection, each detector is usually deployed with three odometer wheels. Therefore, the three odometer wheels need to be synchronized in the internal inspection data software to ensure the consistency and accuracy of the data.
[0117] In the above example, the raw data generated during the operation of the magnetic flux leakage detector can be obtained through time sampling. According to the mileage wheel synchronization processing mechanism, the data of the three mileage wheels in the raw data are synchronously processed for subsequent data analysis and interpretation.
[0118] Exemplarily, the original data after synchronization processing is subjected to difference analysis and then spread out in the internal detection data analysis software.
[0119] For further data analysis and visualization. Through the spread data, users can intuitively view the changing trends of mileage wheel data in time and space, helping to identify possible problems or abnormalities in the pipeline.
[0120] Among them, difference analysis refers to converting the mileage information collected by time into mileage sorting, and spreading it in the software. The purpose is to connect the mileage in series. Multiple scattered files can be combined into a continuous file according to the mileage information for data reading.
[0121] S150, determining the defect data of the pipeline according to the content visualized by the internal inspection data analysis software.
[0122] The defect data includes the detection time information and mileage information corresponding to each defect point. The detection time information includes time information such as timestamp.
[0123] Specifically, after a person marks a defect signal on the internal inspection data analysis software, the inspection time information and mileage information corresponding to the defect point at the mark are exported from the software to obtain the defect data.
[0124] S160, fitting and comparing the defect data and the fused positioning data to obtain the longitude and latitude of each defect point.
[0125] In a feasible design, before aligning the defect data and the fused positioning data using the timestamps of the defect data and the fused positioning data, the method further includes:
[0126] Performing a second preprocessing on the defect data, the second preprocessing includes one or more of the following methods:
[0127] Format conversion, standardization and normalization.
[0128] The format conversion process is used to convert the unit of the time information of the defect data into the same unit as the unit of the time information of the fused positioning data.
[0129] For example, the standardization and normalization process uses the following formula (6):
[0130] x'=(x- ) / σ, formula (6);
[0131] Among them, x is the original defect data, is the mean value of the defect data, σ is the standard deviation of the defect data, and x' is the defect data after standardization and normalization.
[0132] The above example standardizes and normalizes the data to eliminate the dimensional differences between different features.
[0133] In a feasible design, the defect data and the fused positioning data are fitted and compared in the following way to obtain the longitude and latitude of each defect point:
[0134] Align the defect data and the fused positioning data using their timestamps;
[0135] Using the fused positioning data and the mileage information of each defect point, cubic spline interpolation fitting is performed on the mileage segment where each defect point is located to obtain the longitude and latitude of each defect point.
[0136] Specifically, the defect data and the positioning data are aligned according to the timestamps in the defect data and the fused positioning data, so that the time point in the fused positioning data that is closest to each defect point in time can be found, that is, the time point that satisfies the condition |t d -t p |Minimum tp , where t p =arg min tp |t d -t p |,t d is the time point corresponding to the dth defect point, t p is the pth time point in the fused positioning data, arg min tp Represents the parameter that makes the function value reach the minimum value. After aligning the defect data and the fused positioning data, for each defect point, a cubic spline interpolation fitting is performed in the mileage segment where it is located.
[0137] The mileage segment is the distance between the upstream ground marker locator and the downstream ground marker locator of the defect point.
[0138] When detecting pipeline defects, it is considered that the defect distribution on a good quality pipeline is very sparse, and the cubic spline difference fitting requires at least 4 parameters. Therefore, the mileage segment distance cannot be set too small. Because a ground marker locator is set every kilometer, the mileage information of the output defect point needs to include the distance between the defect point and the ground marker locator. Therefore, the mileage segment is set to the distance between the upstream ground marker locator of the defect point and the downstream ground marker locator.
[0139] For example, the following formula (7) and formula (8) are used to implement cubic spline interpolation fitting for the mileage segment where each defect point is located:
[0140] Define the longitude interpolation function corresponding to the d-th defect point as S_lon_d(m), and the latitude interpolation function as S_lat_d(m), where:
[0141] S_lon_d(m)=a 1d m 3 +a 2d m 2 +a 3d m+a 4d , formula (7);
[0142] S_lat_d(m)=b 1d m 3 +b 2d m 2 +b 3d m+b 4d , formula (8);
[0143] Among them, a 1d , a 2d , a 3d , a 4d , b 1d , b 2d , b3d , b 4d It is obtained by fitting and fusing the positioning data, and m represents the mileage of each defect point.
[0144] Based on the mileage information, longitude information and latitude information provided in the fused positioning data, two linear equations can be constructed. Each linear equation contains N equations, corresponding to the data at N time points. Solve the parameters of the two linear equations to obtain a 1d , a 2d , a 3d , a 4d , and b 1d , b 2d , b 3d , b 4d .
[0145] The interpolated value of the mileage of each defect point obtained by formula (7) is used as the longitude corresponding to the defect point, and the interpolated value of the mileage of each defect point obtained by formula (8) is used as the latitude corresponding to the defect point.
[0146] In the above example, the defect data and the fused positioning data are first aligned to facilitate the interpolation of the mileage data of the defect point. Then, the present application uses cubic spline interpolation to segmentally fit the curves between the data corresponding to each time point in the fused positioning data (referred to as data points) into a set of cubic polynomials, and requires these cubic polynomials to have the same first-order derivatives and second-order derivatives at adjacent data points to ensure the smoothness of the interpolation curve. Thus, a smooth data point curve is obtained, which can better fit the data points of the fused positioning data and the mileage data of the defect point and provide high-precision interpolation results, and use the high-precision interpolation results as the longitude and latitude of the defect point.
[0147] In one possible design, the method further includes:
[0148] The longitude and latitude of each defect point are respectively input into the second Kalman filter as two observations, that is, Z=[S_lon_d(m), S_lat_d(m)] (Z represents the matrix composed of the longitude and latitude of each defect point after cubic spline interpolation fitting), and the fused positioning data is input into the second Kalman filter as the predicted value of the system state;
[0149] The second Kalman filter is used to fit the longitude and latitude of each defect point and the fused positioning data to obtain the longitude and latitude of each defect point after fitting.
[0150] Since the fused positioning data comes from the IMU, it may be affected by sensor noise and external environmental factors, and the longitude and latitude of the defect point obtained by spline interpolation may be limited by the density and quality of data sampling. In addition, since the second Kalman filter can estimate the state of the dynamic system from a series of incomplete and noisy measurements, this application uses the second Kalman filter to process and fuse the longitude and latitude data of the defect point obtained by spline interpolation and the fused positioning data to optimize the longitude estimate, latitude estimate and fused positioning data of the defect point. In addition, since the present application can estimate the direction information of the pipeline based on the fused positioning data and realize trajectory tracking, it can improve the accuracy of the estimated direction information of the pipeline.
[0151] In one possible design, the method further includes:
[0152] The longitude and latitude of each defect point after fitting are respectively input into the second Kalman filter as two observation quantities, and the fused positioning data is input into the second Kalman filter as the predicted value of the system state;
[0153] The second Kalman filter is used to fit the longitude and latitude of each defect point after fitting and the fused positioning data again, and the longitude and latitude of each defect point after fitting are corrected.
[0154] The above example uses the second Kalman filter, combined with the fused positioning data, to correct the longitude and latitude of the defect point after fitting again to further improve the positioning accuracy of the defect point.
[0155] Exemplarily, the method further comprises:
[0156] Determine the direction information of the pipeline based on the fused positioning data;
[0157] Display the pipeline direction diagram based on the direction information.
[0158] Exemplarily, an elevation information map is displayed based on the elevation information of the fused positioning data.
[0159] Exemplarily, the specific location information of the pipeline direction and the defect point is displayed in the map, and the location information includes longitude information, latitude information, mileage information and elevation information.
[0160] The raw data output by the three-way odometer of the magnetic flux leakage detector is greatly affected by the pipeline environment, which affects the accuracy of the first positioning data output by the inertial measurement unit module. Therefore, the accuracy of the position of the defect point determined based on the first positioning data is low. In order to improve the accuracy of locating pipeline defects, the present application obtains the second positioning data recorded by the ground marker locator, adopts time synchronization processing and spatial inference positioning processing, uses the second positioning data to fuse and correct the first positioning data, and improves the accuracy of the first positioning data by multi-parameter fusion. The fused and corrected first positioning data is the fused positioning data. Therefore, by fitting and comparing the defect data and the fused positioning data, the accurate longitude and latitude of each defect point can be obtained, so that repair work can be carried out in a timely manner.
[0161] like Figure 2 As shown, the present application also provides a pipeline defect positioning system, comprising:
[0162] The basic information import module is used to input the original data of the three-way odometer of the magnetic flux leakage detector to the inertial measurement unit module after the magnetic flux leakage detector completes the magnetic flux leakage detection on the pipeline, so as to obtain the first positioning data output by the inertial measurement unit module after performing data solution on the original data, wherein the first positioning data includes at least one first time point and the longitude and latitude corresponding to the first time point;
[0163] The basic information import module is also used to obtain second positioning data recorded by at least one ground marker locator after the magnetic flux leakage detector completes the magnetic flux leakage detection on the pipeline, the at least one ground marker locator is buried along the pipeline direction of the pipeline, and the second positioning data includes at least one second time point and the longitude and latitude corresponding to the second time point, the second time point is the time point recorded by the ground marker locator when the magnetic flux leakage detector passes through the ground marker locator when running in the pipeline;
[0164] A first fusion algorithm module is used to fuse the first positioning data and the second positioning data by using time synchronization processing and space inference positioning processing to obtain fused positioning data;
[0165] A display module is used to analyze and visualize the raw data using the internal detection data analysis software;
[0166] The defect data determination module is used to determine the defect data of the pipeline according to the content visualized by the internal inspection data analysis software. The defect data includes the inspection time information and mileage information corresponding to each defect point;
[0167] The second fusion algorithm module is used to fit and compare the defect data and the fused positioning data to obtain the longitude and latitude of each defect point.
[0168] In a feasible design, a project processing module is also included for initializing a project, saving project data, and loading historical projects. A project refers to a magnetic flux leakage detection performed by a magnetic flux leakage detector on a pipeline.
[0169] Exemplarily, the project processing module also includes a project display interface for displaying existing creation and historical project data, including first positioning data, second positioning data, fused positioning data, original defect data, etc. The embodiment of the present application obtains data in any process, so that the data can be viewed in real time at a later time.
[0170] Exemplarily, it also includes a picture display module for displaying pipeline direction maps and elevation information maps.
[0171] Exemplarily, a map display module is also included to display the pipeline direction and the location information of the defect points.
[0172] Exemplarily, the map display module is also used to display and record in real time the location information of defective points in the pipeline system and other related information. By inputting longitude and latitude information into the map display module, users can accurately locate the problem area in the pipeline system and take necessary maintenance measures in a timely manner. In addition, when clicking on any point on the pipeline route on the map, the system will quickly display the longitude and latitude information (i.e., longitude and latitude information) of the point. This system design that integrates map display and longitude and latitude information display functions not only makes the monitoring of the pipeline system more intuitive and efficient, but also provides users with more comprehensive data support.
[0173] In a feasible design, the first fusion algorithm module is implemented in the following manner, using time synchronization processing and spatial inference positioning processing to fuse the first positioning data and the second positioning data to obtain fused positioning data:
[0174] Inputting the first positioning data and the second positioning data into the first neural network model, so that the first neural network model performs time synchronization processing on the first positioning data and the second positioning data by identifying time features in the first positioning data and the second positioning data, so as to align the time point in the second positioning data with the time point in the first positioning data;
[0175] Predicting a longitude function and a latitude function according to the first positioning data using a second neural network model, and correcting the first positioning data according to the longitude function and the latitude function, wherein the longitude function is used to represent the corresponding relationship between the time point sequence and the longitude, and the latitude function is used to represent the corresponding relationship between the time point sequence and the latitude;
[0176] The second positioning data is used to perform linear interpolation on the corrected first positioning data to obtain fused positioning data.
[0177] In a feasible design, the first fusion algorithm module optimizes the fused positioning data in the following manner:
[0178] Inputting the longitude and latitude in the fused positioning data as an observation into the first Kalman filter, and inputting the corrected first positioning data as another observation into the first Kalman filter;
[0179] The fused positioning data and the first positioning data are fitted using the first Kalman filter to obtain fitted fused positioning data.
[0180] In a feasible design, the second fusion algorithm module is implemented in the following way, fitting and comparing the defect data and the fused positioning data to obtain the longitude and latitude of each defect point, including:
[0181] Align the defect data and the fused positioning data using their timestamps;
[0182] Using the fused positioning data and the mileage information of each defect point, cubic spline interpolation fitting is performed on the mileage segment where each defect point is located to obtain the longitude and latitude of each defect point.
[0183] In a feasible design, the second fusion algorithm module is implemented by fitting the longitude and latitude of each defect point and the fused positioning data in the following manner:
[0184] The longitude and latitude of each defect point are respectively input into the second Kalman filter as two observation quantities, and the fused positioning data is input into the second Kalman filter as the predicted value of the system state;
[0185] The second Kalman filter is used to fit the longitude and latitude of each defect point and the fused positioning data to obtain the longitude and latitude of each defect point after fitting.
[0186] In a feasible design, the second fusion algorithm module is implemented in the following way to correct the longitude and latitude of each defect point after fitting:
[0187] The longitude and latitude of each defect point after fitting are respectively input into the second Kalman filter as two observation quantities, and the fused positioning data is input into the second Kalman filter as the predicted value of the system state;
[0188] The second Kalman filter is used to fit the longitude and latitude of each defect point after fitting and the fused positioning data again, and the longitude and latitude of each defect point after fitting are corrected.
[0189] In a feasible design, a data preprocessing module is further included, which is used to perform a first preprocessing on the first positioning data and / or the second positioning data, and the first preprocessing includes one or more of the following methods:
[0190] Data cleaning processing, time calibration synchronization processing and format conversion processing.
[0191] In a feasible design, the data preprocessing module is further used to perform a second preprocessing on the defect data, and the second preprocessing includes one or more of the following methods:
[0192] Format conversion, standardization and normalization.
[0193] In a feasible design, a three-way mileage wheel synchronization module is also included, which is used to synchronize the three-way mileage wheels by applying a synchronization processing mechanism on the internal detection data analysis software before using the internal detection data analysis software to analyze and visualize the original data.
[0194] For other implementations and effects of the above system, please refer to the description in the pipeline defect locating method embodiment, which will not be repeated here.
[0195] The basic principles of the present application are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present application are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present application. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, not for limitation, and the above details do not limit the present application to being implemented by adopting the above specific details.
[0196] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a portion of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time point, but can be executed at different time points, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
[0197] The block diagrams of the devices, apparatuses, equipment, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The words "such as" used here refer to the phrase "such as but not limited to", and can be used interchangeably with them.
[0198] It should also be noted that in the apparatus, device and method of the present application, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present application.
[0199] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0200] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A pipeline defect location method, characterized in that: include: After the magnetic flux leakage detector completes the magnetic flux leakage detection on the pipeline, the original data of the three-way odometer of the magnetic flux leakage detector is input into the inertial measurement unit module to obtain the first positioning data output by the inertial measurement unit module after performing data solution on the original data, wherein the first positioning data includes at least one first time point and the longitude and latitude corresponding to the first time point; After the magnetic flux leakage detector has finished magnetic flux leakage detection on the pipeline, second positioning data recorded by at least one ground marker locator is obtained, the at least one ground marker locator is buried along the pipeline direction of the pipeline, the second positioning data includes at least one second time point and the longitude and latitude corresponding to the second time point, the second time point is the time point recorded by the ground marker locator when the magnetic flux leakage detector passes through the ground marker locator when running in the pipeline; fusing the first positioning data and the second positioning data using time synchronization processing and spatial inference positioning processing to obtain fused positioning data; Using internal detection data analysis software to analyze and visualize the raw data; Determine the defect data of the pipeline according to the content visualized by the internal inspection data analysis software, wherein the defect data includes the inspection time information and mileage information corresponding to each defect point; The defect data and the fused positioning data are fitted and compared to obtain the longitude and latitude of each defect point.
2. The method according to claim 1, characterized in that The adopting time synchronization processing and space inference positioning processing to fuse the first positioning data and the second positioning data to obtain fused positioning data includes: Inputting the first positioning data and the second positioning data into a first neural network model, so that the first neural network model performs time synchronization processing on the first positioning data and the second positioning data by identifying time features in the first positioning data and the second positioning data, thereby aligning a time point in the second positioning data with a time point in the first positioning data; Predicting a longitude function and a latitude function according to the first positioning data using a second neural network model, and correcting the first positioning data according to the longitude function and the latitude function, wherein the longitude function is used to represent the corresponding relationship between a time point sequence and longitude, and the latitude function is used to represent the corresponding relationship between a time point sequence and latitude; The second positioning data is used to perform linear interpolation on the corrected first positioning data to obtain fused positioning data.
3. The method according to claim 2, characterized in that The method further comprises: Inputting the longitude and latitude in the fused positioning data as an observation into a first Kalman filter, and inputting the corrected first positioning data as another observation into the first Kalman filter; The first Kalman filter is used to fit the fused positioning data and the first positioning data to obtain fitted fused positioning data.
4. The method according to any one of claims 1 to 3, characterized in that The fitting and comparison of the defect data and the fused positioning data to obtain the longitude and latitude of each defect point includes: aligning the defect data with the fused positioning data using timestamps of the defect data and the fused positioning data; Using the fused positioning data and the mileage information of each defect point, cubic spline interpolation fitting is performed on the mileage segment where each defect point is located to obtain the longitude and latitude of each defect point.
5. The method according to claim 4, characterized in that The method further comprises: Input the longitude and latitude of each defect point as two observation quantities into the second Kalman filter, and input the fused positioning data as the predicted value of the system state into the second Kalman filter; The second Kalman filter is used to fit the longitude and latitude of each defect point and the fused positioning data to obtain the fitted longitude and latitude of each defect point.
6. The method according to claim 5, characterized in that The method further comprises: Input the fitted longitude and latitude of each defect point as two observation quantities into the second Kalman filter again, and input the fused positioning data as the predicted value of the system state into the second Kalman filter; The second Kalman filter is used to fit the longitude and latitude of each defect point after fitting and the fused positioning data again, and the longitude and latitude of each defect point after fitting are corrected.
7. The method according to any one of claims 1 to 3, characterized in that Before fusing the first positioning data and the second positioning data by using time synchronization processing and spatial inference positioning processing, the method further includes: Performing a first preprocessing on the first positioning data and / or the second positioning data, where the first preprocessing includes one or more of the following methods: Data cleaning processing, time calibration synchronization processing and format conversion processing.
8. The method according to claim 5 or 6, characterized in that: Before aligning the defect data with the fused positioning data by using the timestamps of the defect data and the fused positioning data, the method further includes: Performing a second preprocessing on the defect data, where the second preprocessing includes one or more of the following methods: Format conversion, standardization and normalization.
9. The method according to any one of claims 1 to 3, characterized in that: Before using the internal detection data analysis software to analyze and visualize the raw data, the method further includes: A synchronization processing mechanism is applied on the internal detection data analysis software to synchronize the three mileage wheels.
10. A pipeline defect location system, characterized in that: include: A basic information import module is used to input the original data of the three-way odometer of the magnetic flux leakage detector to the inertial measurement unit module after the magnetic flux leakage detector completes the magnetic flux leakage detection on the pipeline, so as to obtain the first positioning data output by the inertial measurement unit module after performing data solution on the original data, wherein the first positioning data includes at least one first time point and the longitude and latitude corresponding to the first time point; The basic information import module is further used to obtain second positioning data recorded by at least one ground marker locator after the magnetic flux leakage detector completes the magnetic flux leakage detection on the pipeline, the at least one ground marker locator is buried along the pipeline direction of the pipeline, and the second positioning data includes at least one second time point and the longitude and latitude corresponding to the second time point, the second time point is the time point recorded by the ground marker locator when the magnetic flux leakage detector passes through the ground marker locator when running in the pipeline; A first fusion algorithm module, used to fuse the first positioning data and the second positioning data by using time synchronization processing and space inference positioning processing to obtain fused positioning data; A display module, used to analyze and visualize the raw data using internal detection data analysis software; A defect data determination module, used to determine the defect data of the pipeline according to the content visualized by the internal detection data analysis software, wherein the defect data includes detection time information and mileage information corresponding to each defect point; The second fusion algorithm module is used to fit and compare the defect data and the fused positioning data to obtain the longitude and latitude of each defect point.
Citation Information
Patent Citations
Pipeline defect three-axis magnetic flux leakage signal visual data set construction method
CN116842383A
Long-distance pipeline magnetic flux leakage internal detection corrosion defect point excavation positioning method based on bilateral projection correction method
CN117805229A
Ground marking system for pipeline interior detection
CN220228333U
Intelligent analysis system for magnetic flux leakage detection data in pipeline
WO2020133639A1
