Oil and gas pipeline state evaluation method

By performing pipe section number alignment, mileage correction and defect alignment on multiple rounds of oil and gas pipeline inspection data, combined with external inspection data, the problem that existing technology cannot integrate years of inspection data has been solved, and accurate and targeted assessment of the status of oil and gas pipelines has been achieved sexual evaluation.

CN119353606APending Publication Date: 2025-01-24CHINA UNIV OF PETROLEUM (BEIJING)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411127736.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

The existing oil and gas pipeline status evaluation methods cannot integrate years of detection data, cannot intuitively obtain the growth of defects, and it is difficult to achieve rapid and accurate alignment of internal and external detection data.

Method used

By obtaining the internal detection data and external detection data of multiple rounds of oil and gas pipelines, the method of using the pipe section according to the number of sections, calculating mileage correction parameters, correcting defect positions, aligning defect positions, determining defect growth trends, and combined with external detection data for status evaluation methods to evaluate status evaluation. Essence

Benefits of technology

It achieves accurate alignment of inspection data defects over the years, intuitively evaluates the growth trend of defects, and evaluates pipeline status based on external inspection data, improving the accuracy and pertinence of pipeline status evaluation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119353606A_ABST
    Figure CN119353606A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of pipeline safety, and provides an oil and gas pipeline state evaluation method, which comprises the following steps of: aligning pipe joints in multiple rounds of internal detection data at the same position, aligning positions of defects in the multiple rounds of internal detection data, and finally aligning positions of external detection data and the internal detection data. Monitoring personnel can analyze the change trend of the defects over the years according to the aligned data, and can comprehensively evaluate the current state and the future development state of the pipeline in combination with the state of the protection structure of the outer wall of the pipeline at the position of the defects.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of pipeline safety, and in particular relates to a method for evaluating the state of an oil and gas pipeline. Background Art

[0002] Pipeline transportation is the main mode of transporting oil and natural gas. In order to ensure the safe operation of pipelines, it is necessary to conduct integrity evaluation regularly to eliminate potential hidden dangers in the pipelines. The results of quantified magnetic flux leakage detection and geometric detection signals are the basis for pipeline integrity evaluation.

[0003] At present, pipeline internal inspection technology can identify three major types of defects: metal loss, pipeline dents, and weld anomalies. The inspection results also include information on pipeline accessories such as valves and tees, and other information such as external metal objects and sleeves. By accurately aligning the defects in multiple rounds of internal inspection data, we can grasp the development trend of pipe body defects and identify active corrosion points. Combined with the pipeline's cathodic protection, anti-corrosion layer, high consequence area, penetration and spanning in the pipeline's external inspection data, we can achieve a more detailed and accurate evaluation of the pipeline, and promptly discover and deal with risk points in the pipeline.

[0004] However, with the continuous development of the pipeline network and the increase in the service life of the pipeline, the amount of internal and external pipeline inspection data continues to accumulate; the shape of the defect points is also constantly changing; and due to differences in inspection accuracy, different inspection contractors, defect signal quantification methods, pipeline accessory marking habits, etc., it is difficult to achieve fast and accurate alignment of internal and external inspection data.

[0005] For the alignment of pipeline internal inspection data, one of the more accurate existing methods is to align and segment the valves, elbows and other pipeline accessories in the two sets of internal inspection data, and then align the pipe sections according to the number of girth welds in the segment. Due to the development needs of the pipeline along the route, long-distance pipelines often need to be rerouted in some sections, so as to add pipeline accessories as needed, which affects the first step of the method; in addition, when there are missing, wrong, repeated or additional girth welds in the internal inspection data due to labeling habits, pipe replacement and other reasons, the data alignment process will be affected again. Other methods based on machine learning or mileage deviation are more suitable for short-distance pipelines that are less affected by factors such as line changes and differences in pipeline accessory labeling, or the alignment process of inspection data with obvious characteristics of two sets of data. For the alignment of internal and external pipeline inspection data, longitude and latitude coordinates are usually used to integrate internal and external inspection data. The existing practice is to determine the GPS coordinates of pipeline accessories such as test piles, valves, elbows, etc., calculate the relative distance between them to form the external inspection mileage, and then use linear interpolation to obtain the corresponding positions between the internal inspection data points and the external inspection mileage at the corresponding equal proportions to achieve the alignment of internal and external inspection data. The application of similar methods is limited by the availability and accuracy of existing external detection GPS data, and there is a correlation between the mileage of its data points. The accuracy of the alignment results needs further verification. Summary of the invention

[0006] In view of the above-mentioned defects or shortcomings, the present invention provides an oil and gas pipeline status evaluation method, which aims to solve the technical problem that the existing oil and gas pipeline status evaluation method can only be evaluated based on a single round of detection data and cannot integrate many years of detection data to intuitively obtain the growth of defects.

[0007] To achieve the above object, the present invention provides an oil and gas pipeline status evaluation method, the oil and gas pipeline status evaluation method comprising:

[0008] S100: Acquire multiple rounds of internal inspection data and external inspection data of oil and gas pipelines;

[0009] S200: using one round of detection data as reference data and other rounds of detection data as data to be aligned;

[0010] S300: Align the pipe sections in the reference data and the data to be aligned according to the number of sections;

[0011] S400: Calculating mileage correction parameters according to the data to be aligned and the pipe sections whose sections have been aligned in the reference data;

[0012] S500: performing mileage correction on the position of the defect in the data to be aligned based on the mileage correction parameter;

[0013] S600: Based on the corrected defect position, align the defect in the data to be aligned with the defect in the reference data according to the absolute mileage;

[0014] S700: determining a growth trend of the defect according to defect information corresponding to the aligned defect;

[0015] S800: Positionally aligning the external detection data with the reference data;

[0016] S900: Evaluate the status of the oil and gas pipeline based on the growth trend of the defect and the external inspection data aligned with the defect.

[0017] In an embodiment of the present invention, the oil and gas pipeline includes a plurality of transition pipe sections and a plurality of basic pipe sections connected between adjacent transition pipe sections, and the length data includes the length data of the transition pipe sections and the length data of the basic pipe sections arranged in sequence according to the pipe section connection sequence;

[0018] S300: Aligning the pipe segments in the reference data and the data to be aligned according to the number of segments specifically includes:

[0019] S310: Select the first length data group of each pipe segment in the reference data, and select the second length data group of each pipe segment in the data to be aligned;

[0020] S320: Setting an alignment threshold for a first length data group;

[0021] S330: using the position of the length data of the transition pipe section as a data segmentation identifier, dividing the first length data group and the second length data group into a plurality of data segments respectively;

[0022] S340: Compare the data segments of the first length data group with the data segments of the second length data group in sequence;

[0023] S351: If the comparison result meets the preset conditions, align the pipe segments represented by each data segment of the two compared data segments one by one, and mark the pipe segment represented by the data segment as an aligned segment;

[0024] The preset conditions include: between the two compared data segments, the number of pipe segments represented by the data is the same, the length difference of the pipe segments at the same position does not exceed the alignment threshold, and the attachment information of the pipe segments corresponding to the data segment identifiers are aligned.

[0025] In an embodiment of the present invention, S400: calculating the mileage correction parameter according to the pipe segments to be aligned and the reference data whose segments have been aligned specifically includes:

[0026] S410: sequentially selecting pipe sections whose section numbers have been aligned in the first length data group as correction pipe sections, and selecting pipe sections in the second length data group that are aligned with the correction pipe sections as reference pipe sections;

[0027] S420: Calculate the length ratio of each corrected pipe section to the reference pipe section;

[0028] The length ratio is a mileage correction parameter.

[0029] In an embodiment of the present invention, S500: performing mileage correction on the position of the defect in the alignment data based on the mileage correction parameter specifically includes:

[0030] S510: Selecting the corrected absolute mileage data of the upstream girth weld of the pipe segment where the target defect is located from the pipe segments whose segments have been aligned in the data to be aligned;

[0031] S520: Calculate a first distance between the position of the target defect and the upstream girth weld of the selected pipe segment;

[0032] S530: Correcting the first distance according to the length ratio;

[0033] S540: Recalculate the absolute mileage of the target defect in the data to be aligned according to the selected absolute mileage data and the corrected first distance.

[0034] In an embodiment of the present invention, S600: aligning the defect in the data to be aligned with the defect in the reference data according to the absolute mileage based on the position of the corrected defect specifically includes:

[0035] S610: Setting a mileage alignment deviation threshold and a clock alignment deviation threshold of a defect;

[0036] S620: Based on the corrected defect position, compare the defect in the data to be aligned with the defect near the same absolute mileage in the reference data by mileage and clock orientation;

[0037] S630: If the comparison difference is within the mileage alignment deviation threshold and the clock alignment deviation threshold respectively, align the two groups of defects being compared.

[0038] In an embodiment of the present invention, after determining the growth trend of the defect according to the defect information corresponding to the aligned defect at S700, the oil and gas pipeline state evaluation method further includes:

[0039] S710: Cancel the alignment of defects with a negative growth trend.

[0040] In an embodiment of the present invention, S340: after sequentially comparing the data segments of the first length data group with the data segments of the second length data group, the oil and gas pipeline status evaluation method further includes:

[0041] S352: If the comparison results do not meet the preset conditions, the data segment is marked as a non-aligned segment;

[0042] S362: Obtaining the construction record of the pipe segment represented by the non-aligned segment;

[0043] S372: Compare the pipe segment increase and decrease data in the construction record with the data of the non-aligned segment;

[0044] S382: If the data of the non-aligned segment can be aligned with the pipe segment increase and decrease data, then mark the data segment as a line change segment;

[0045] S392: If the data of the non-aligned segment cannot be aligned with the pipe segment increase and decrease data, delete the data with multiple marks or missing marks in the non-aligned segment in the first length data and the second length data until the non-aligned segment is aligned.

[0046] In an embodiment of the present invention, S300: after aligning the pipe sections in the reference data and the data to be aligned according to the number of sections, the oil and gas pipeline status evaluation method further includes:

[0047] S301: Eliminate defect information of pipe-changing pipe sections in pipe sections with aligned sections in reference data and data to be aligned.

[0048] In an embodiment of the present invention, the internal detection data includes the latitude and longitude information and the absolute mileage information of each internal detection point, and the external detection data includes the position information of each external detection point. S800: aligning the external detection data with the internal detection data according to the detection position specifically includes:

[0049] S810: Filtering out external detection points with longitude and latitude information in the external detection data as external detection points to be aligned;

[0050] S820: Screening the inner detection points with a preset distance interval as the screening interval to form a plurality of inner reference points;

[0051] S830: Using internal reference points adjacent to the external detection point to be aligned and located upstream and downstream of the external detection point to be aligned as upstream reference points and downstream reference points;

[0052] S840: Calculate the absolute mileage of the external detection point to be aligned according to the latitude and longitude position and absolute mileage of the upstream reference point, the latitude and longitude position and absolute mileage of the downstream reference point, and the latitude and longitude position of the external detection point to be aligned;

[0053] S850: Align the external detection data and the internal detection data corresponding to the external detection point to be aligned according to the absolute mileage.

[0054] In an embodiment of the present invention, the calculation formula for the absolute mileage of the external detection point to be aligned is:

[0055]

[0056] Among them, M 估计检测 is the absolute mileage value of the external detection point to be aligned, in meters; L 与上游经纬 L is the distance between the external detection point to be aligned and the upstream reference point calculated using the latitude and longitude information, in meters; 上下游参考点经纬 L is the distance between the downstream reference point and the upstream reference point calculated using the latitude and longitude information, in meters; 上下游参考点检测 M is the relative mileage between the upstream reference point and the downstream reference point, in meters; 上游参考点 It is the absolute mileage of the upstream reference point in meters.

[0057] In an embodiment of the present invention, S450: after aligning the external detection data and the internal detection data corresponding to the external detection point to be aligned according to the absolute mileage, the oil and gas pipeline status evaluation method further includes:

[0058] S860: extracting the pile number information, the orientation information relative to the reference pile, and the distance information relative to the reference pile of the aligned and unaligned external detection points respectively;

[0059] S870: Align the misaligned external detection points with the internal detection data respectively according to the burying order of the reference piles.

[0060] Through the above technical solution, the oil and gas pipeline status evaluation method provided by the embodiment of the present invention has the following beneficial effects:

[0061] The present invention first aligns the pipe segments by the number of segments, then performs mileage correction on the aligned pipe segments to compensate for the measurement error of the instrument, and then performs mileage correction on the position of the defect based on the corrected absolute mileage data, so that the defects of the internal detection data over the years can be easily and accurately aligned by position. After the defects are aligned, the technicians can intuitively evaluate the future development trend of the defects based on the changes in the defect information of the defect point over the years. Furthermore, by aligning the positions of the external detection data with the internal detection data, the cathodic protection conditions of the outer wall of the pipe segment at the defect, the integrity of the anti-corrosion layer, the protective layer, etc. can be obtained. Combining the two factors, the current and future states of a certain pipe segment can be evaluated and predicted in a targeted manner, so as to facilitate the technicians to monitor and focus on the maintenance of a certain pipeline in a targeted manner, reduce the workload of the personnel, and achieve the effect of preventing problems in the future.

[0062] Other features and advantages of the present invention will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] The accompanying drawings are used to provide an understanding of the present invention and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present invention, but do not constitute a limitation of the present invention. In the accompanying drawings:

[0064] Figure 1 is a general flow chart of the oil and gas pipeline status evaluation method according to an embodiment of the present invention;

[0065] Figure 2 is a specific flow chart of step S300 according to an embodiment of the present invention;

[0066] Figure 3 is a specific flow chart of step S400 according to an embodiment of the present invention;

[0067] Figure 4 is a specific flow chart of step S500 according to an embodiment of the present invention;

[0068] Figure 5 is a specific flow chart of step S600 according to an embodiment of the present invention;

[0069] Figure 6 is a flowchart between steps S700 and S800 according to an embodiment of the present invention;

[0070] Figure 7 is another specific flow chart after step S340 according to an embodiment of the present invention;

[0071] Figure 8 is another flow chart after step S300 according to an embodiment of the present invention;

[0072] Fig. 9 is a specific flow chart of step S800 according to an embodiment of the present invention;

[0073] Fig.10 It is a schematic diagram of aligning a first length data group and a second length data group according to an embodiment of the present invention.

[0074] Description of Reference Numerals

[0075] W1, data segment identification. DETAILED DESCRIPTION

[0076] The specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.

[0077] The oil and gas pipeline status evaluation method of the present invention is described below with reference to the accompanying drawings.

[0078] The present invention provides a method for evaluating the state of an oil and gas pipeline. Figure 1 As shown in Figure 1, the oil and gas pipeline status evaluation method includes:

[0079] S100: Acquire multiple rounds of internal inspection data and external inspection data of oil and gas pipelines;

[0080] S200: using one round of detection data as reference data and other rounds of detection data as data to be aligned;

[0081] S300: Align the pipe sections in the reference data and the data to be aligned according to the number of sections;

[0082] S400: Calculating mileage correction parameters according to the data to be aligned and the pipe sections whose sections have been aligned in the reference data;

[0083] S500: performing mileage correction on the position of the defect in the data to be aligned based on the mileage correction parameter;

[0084] S600: Based on the corrected defect position, align the defect in the data to be aligned with the defect in the reference data according to the absolute mileage;

[0085] S700: determining a growth trend of the defect according to defect information corresponding to the aligned defect;

[0086] S800: Positionally aligning the external detection data with the reference data;

[0087] S900: Evaluate the status of the oil and gas pipeline based on the growth trend of the defect and the external inspection data aligned with the defect.

[0088] The method of obtaining internal inspection data is generally to control the inspection instrument to move from one end of the pipeline to the other end, and in this process, the parameters of the pipeline are continuously inspected through the sensing elements on the inspection instrument. During the inspection process, the inspection instrument will record the absolute mileage of each inspection point relative to the starting inspection point (the distance traveled by the inspection instrument), the longitude and latitude of the additional inspection point, the absolute mileage of the girth weld of the pipe section, the longitude and latitude of the girth weld of the pipe section, defect information, etc. The defect information generally includes the absolute mileage of the defect point, the longitude and latitude of the defect point, the size, depth, type, etc. of the defect point.

[0089] Each local construction of the pipeline will cause the absolute mileage recorded by the detection instrument to change, and each time the detection is performed, the detection instrument will have errors. For example, the length of pipe section A in the last detection was 12.232 meters, and the length of pipe section A in the next detection was 11.999 meters. There is a detection error for each pipe section, and the pipeline generally contains thousands or tens of thousands of pipe sections. The accumulation of detection errors of many pipe sections means that the absolute mileage of the same defect point in two rounds of detection data may differ by several kilometers or even dozens of kilometers. If the alignment is directly performed based on the absolute mileage, it is easy to cause alignment errors.

[0090] If the defect points are aligned directly with longitude and latitude, the alignment method may be easily incorrect due to the influence of the pipeline shape (for example, some defect points are located in S-tube sections, and the longitude and latitude of the S-tube overlap) or the positioning accuracy of the longitude and latitude.

[0091] The present invention first aligns the pipe segments by the number of segments, then performs mileage correction on the aligned pipe segments to compensate for the measurement error of the instrument, and then performs mileage correction on the position of the defect based on the corrected absolute mileage data, so that the defects of the internal detection data over the years can be easily and accurately aligned by position. After the defects are aligned, the technicians can intuitively evaluate the future development trend of the defects based on the changes in the defect information of the defect point over the years. Furthermore, by aligning the positions of the external detection data with the internal detection data, the cathodic protection conditions of the outer wall of the pipe segment at the defect, the integrity of the anti-corrosion layer, the protective layer, etc. can be obtained. Combining the two factors, the current and future states of a certain pipe segment can be evaluated and predicted in a targeted manner, so as to facilitate the technicians to monitor and focus on the maintenance of a certain pipeline in a targeted manner, reduce the workload of the personnel, and achieve the effect of preventing problems in the future.

[0092] It should be noted that the alignment of the number of sections refers to the one-to-one correspondence of the pipe sections at the same position. For example, in the internal inspection data of the nth round, pipe section A is the 853th pipe section relative to the starting inspection point, and in the internal inspection data of the n+1th round, pipe section A is the 876th pipe section relative to the starting inspection point. The alignment of the 853th pipe section in the internal inspection data of the nth round with the 876th pipe section in the internal inspection data of the n+1th round is called the alignment of the number of sections. Among them, the reason for the difference of 23 pipe sections between the pipe sections A of the two rounds may be that the pipeline is rerouted in the middle, or the detection instrument has multiple labels or missing labels.

[0093] Based on the above method, taking one of the specific evaluation conclusions as an example, after aligning the internal inspection data and external inspection data of a pipeline in the past 20 years with the latest internal inspection data and external inspection data, after analysis, it was found that there was a corrosion point in the pipe section at an absolute mileage of 28.32 kilometers. According to the data to be aligned of the corrosion points over the years, it can be seen that the corrosion point appeared in the past 10 years, and the diameter has increased from 0.3cm to 2cm in the past five years. From the aligned external inspection data, it can be seen that the cathodic protection ability of the outer wall of the pipeline at the corrosion point has decayed in recent years. If no measures are taken, the corrosion point may completely corrode the pipeline in the next few years and form a leak. Therefore, technicians can recommend key monitoring and investigation of the pipe section. If necessary, re-protect the pipe section or replace the pipe.

[0094] In an embodiment of the present invention, an oil and gas pipeline includes a plurality of transition pipe sections and a plurality of basic pipe sections connected between adjacent transition pipe sections. The basic pipe sections are generally straight pipes, and transition pipe sections generally refer to pipe sections such as elbows and tees whose lengths are obviously different from those of the basic pipe sections. The transition pipe sections and the basic pipe sections, as well as the basic pipe sections, are generally welded and connected by girth welding. Therefore, the detection instrument only needs to count the number of girth welds and record the position and absolute mileage of the girth welds to determine the number of pipe sections, the length of the pipe sections, and the position of the pipe sections.

[0095] In an embodiment of the present invention, the length data includes the length data of the transition pipe segment and the length data of the basic pipe segment arranged in sequence according to the pipe segment connection sequence. Since the detection instrument will also record the absolute mileage of the current girth weld when marking the girth weld, the length sequence of the pipe segments arranged in sequence according to the pipe segment connection sequence can be obtained after conversion. If the connection sequence of the pipe segments is pipe segment 1, pipe segment 2, pipe segment 3... pipe segment n, and the calculated data are S1, S2, S3, S4... Sn respectively, then according to the arrangement sequence, it can be known that S1 is the length of pipe segment 1, S2 is the length of pipe segment 2, and so on.

[0096] like Figure 2 As shown, in an embodiment of the present invention,

[0097] S300: Aligning the pipe segments in the reference data and the data to be aligned according to the number of segments specifically includes:

[0098] S310: Select the first length data group of each pipe segment in the reference data, and select the second length data group of each pipe segment in the data to be aligned;

[0099] S320: Setting an alignment threshold for a first length data group;

[0100] S330: using the position of the length data of the transition pipe section as the data segmentation mark W1, dividing the first length data group and the second length data group into a plurality of data segments respectively;

[0101] S340: Compare the data segments of the first length data group with the data segments of the second length data group in sequence;

[0102] S351: If the comparison result meets the preset conditions, align the pipe segments represented by each data segment of the two compared data segments one by one, and mark the pipe segment represented by the data segment as an aligned segment;

[0103] The preset conditions include: between the two compared data segments, the number of pipe segments represented by the data is the same, the length difference of the pipe segments at the same position does not exceed the alignment threshold, and the attachment information of the pipe segments corresponding to the data segment identifier W1 is aligned.

[0104] Specifically, Fig.10 As shown in the figure, in a long-distance oil and gas pipeline, the marked length of the basic pipe section of the pipeline is 12 meters, but due to the detection accuracy of the detection instrument and the shape of the weld, the length of the basic pipe section measured by the instrument in each round will fluctuate around 12 meters. For example, 12.092 and 12.021 in the b1 data segment are the detection data fluctuations of the detection instrument. In order to find the corresponding relationship between the number of sections between the pipe sections, the alignment threshold needs to be set.

[0105] When aligning the number of sections, we must first find the data segment identifier W1 in the length data group. The data segment identifier W1 needs to have features that are clearly different from other data. Fig.10 In the length data group, data such as 2.820 and 8.134 are obviously different from the 12 meters of the basic pipe section. 2.820 and 8.134 represent the length of the transition pipe section. The length data of the transition pipe section is selected as the data segmentation mark W1 to facilitate the segmentation. Alignment in the form of data segments can facilitate data feature comparison and reduce the amount of data processing.

[0106] Before comparison, based on the data segment identifier W1, the first length data group ( Fig.10 Left) is divided into several data segments such as b1, b2, b3, etc., and the second length data group ( Fig.10Right) After being divided into several data segments such as d1, d2, and d3.

[0107] When comparing, first compare the first data segment b1 of the first length data group with the first data segment d1 of the second length data group to determine whether the preset conditions are met. If so, align the first data segment b1 of the first length data group with the first data segment d1 of the second length data group. If not, continue to compare the first data segment b1 of the first length data group with d2 and d3 of the second length data group in turn until a data segment that can be aligned is found. For example Fig.10 An example of alignment of b1 and d1 is given in FIG.

[0108] After b1 is aligned with d1, b2 is compared with d2, d3, and d4 located after d1 in sequence until alignment occurs. This process is repeated until all data segments in the first length data group are compared.

[0109] It should be noted that after the previous data segment of the first length data group is aligned, the next data segment of the first length data group that is compared with the second length data group for the first time should be located behind the previous aligned data segment in the second length data group. For example, after b2 is aligned with d2, b3 should be compared with d3 first, or after b6 is aligned with d5, b7 should be compared with d6 first, so as to ensure the orderliness of pipe segment alignment.

[0110] During comparison, the aligned data segments need to meet preset conditions, which include: between the two compared data segments, the number of pipe segments represented by the data is the same, the length difference of the pipe segments at the same position does not exceed the alignment threshold, and the attachment information of the pipe segments corresponding to the data segment identifier W1 is aligned.

[0111] Specifically, Fig.10 As shown, a data segment can represent a pipe segment composed of several pipe segments, and each data in the data segment can represent the pipe segments that make up the pipe segment. The data at the beginning of the data segment represents the length of the first pipe segment of the pipe segment. The length of this pipe segment is special and is a transition pipe segment. The data at the rear of the data segment represents the length of the standard pipe segments that are sequentially connected to the rear of the transition pipe segment.

[0112] The alignment of data segments is essentially the one-to-one alignment of the pipe segments in the pipe segment. When judging whether the alignment conditions are met, it is first necessary to calculate whether the number of pipe segments in the two compared data segments is the same (the actual comparison is whether the number of data in the data segments is the same), and whether the length difference of the pipe segments at the same position in the pipe segment exceeds the alignment threshold. This can be understood as: if the two data segments b1 and d1 are aligned, the difference between the nth data of b1 and the nth data of d1 should be within the alignment threshold. The alignment of the attachment information of the pipe segment corresponding to the data segment identifier W1 means that the pipe segment type, name, and model represented by the header of the data segment should be the same. For example, if both are S tubes, the physical parameters of the two aligned S tubes are the same.

[0113] In the embodiment of the present invention, the calculation process of the alignment threshold may be:

[0114] Calculate the average value of the length data of the basic pipe segments in the first length data group;

[0115] The absolute value of the difference between the calculated average value and the theoretical dimension length of the base pipe segment is used as the alignment threshold.

[0116] Taking a 12-meter basic pipe section as an example, when calculating the alignment threshold, the average value of the length data of the basic pipe section can be obtained first, and then the absolute value of the difference between the average value and 12 meters can be calculated. By calculating the alignment threshold, the impact of measurement errors on data alignment can be reduced. Of course, a kernel density map can also be drawn based on the length data of the basic pipe section, and then the difference between the maximum density area and 12 meters can be calculated as the alignment threshold.

[0117] In an embodiment of the present invention, the internal inspection data used for reference is the internal inspection data obtained from the most recent inspection of the oil and gas pipeline.

[0118] like Figure 3 As shown, in an embodiment of the present invention, S400: calculating the mileage correction parameter according to the pipe segments to be aligned and the reference data whose segments have been aligned specifically includes:

[0119] S410: sequentially selecting pipe sections whose section numbers have been aligned in the first length data group as correction pipe sections, and selecting pipe sections in the second length data group that are aligned with the correction pipe sections as reference pipe sections;

[0120] S420: Calculate the length ratio of each modified pipe section to the reference pipe section.

[0121] The length ratio is a mileage correction parameter.

[0122] like Figure 4 As shown, in an embodiment of the present invention, S500: performing mileage correction on the position of the defect in the alignment data based on the mileage correction parameter specifically includes:

[0123] S510: Selecting the corrected absolute mileage data of the upstream girth weld of the pipe segment where the target defect is located from the pipe segments whose segments have been aligned in the data to be aligned;

[0124] S520: Calculate a first distance between the position of the target defect and the upstream girth weld of the selected pipe segment;

[0125] S530: Correcting the first distance according to the length ratio;

[0126] S540: Recalculate the absolute mileage of the target defect in the data to be aligned according to the selected absolute mileage data and the corrected first distance.

[0127] The specific correction formula can be:

[0128]

[0129] Among them, L 1 L is the distance of the defect location relative to the upstream girth weld of the pipe segment, in meters; 2 W is the distance of the corrected defect location relative to the upstream girth weld of the pipe segment, in meters; 1 W is the relative mileage of the upstream and downstream girth welds of the pipe segment where the target defect is located, in meters; 2 It is the relative mileage of the upstream and downstream girth welds of the pipe segment where the defect location point is located for reference, in meters.

[0130] For example, the length W of a pipe segment in the selected first length data group 1 is 11.732 meters. In the second length data set, the length W of the pipe segment aligned with the segment number is 2 It is 12.122 meters, so the mileage correction parameter corresponding to the pipe section is 12.122 / 11.732=1.033.

[0131] By correcting the absolute mileage of the defect, the interference of the detection instrument on the defect alignment due to the measurement error of the tube length can be reduced.

[0132] like Figure 5 As shown, in an embodiment of the present invention, S600: aligning the defect in the data to be aligned with the defect in the reference data according to the absolute mileage based on the position of the corrected defect specifically includes:

[0133] S610: Setting a mileage alignment deviation threshold and a clock alignment deviation threshold of a defect;

[0134] S620: Based on the corrected defect position, compare the defect in the data to be aligned with the defect near the same absolute mileage in the reference data by mileage and clock orientation;

[0135] S630: If the comparison difference is within the mileage alignment deviation threshold and the clock alignment deviation threshold respectively, align the two groups of defects being compared.

[0136] Due to different rounds, different detectors, different working conditions, defect growth, and pipeline construction, the position and size of defects may deviate during each inspection, making it difficult for technicians to directly align defects with previous defects. For example, in the latest round, there is a metal loss at an absolute mileage of 94.234 meters with a clock direction of 09:10. The last round of inspection took place three years ago. During the three years, the pipe section was rerouted. In the inspection data three years ago, the absolute mileage of the defect was 45.251 meters and the clock direction was 10:05. At this time, if the defect points are aligned according to the absolute mileage and clock direction before the correction, there will inevitably be misalignment.

[0137] According to the alignment logic of this method, we can first find out the corresponding number of sections of the defective points detected in the two rounds. For example, the pipe section where the defective point was located three years ago was the fourth section. The absolute mileages of the upstream girth weld and the downstream girth weld of the fourth pipe section were 37.012 meters and 49.113 meters respectively. The measured length of the pipe section was 12.101 meters. The distance between the defective point and the upstream girth weld was 45.251-37.012=8.239 meters.

[0138] Three years later, the defect point was located in the 8th pipe section. The absolute mileages of the upstream girth weld and the downstream girth weld of this pipe section were measured to be 86.123 meters and 97.003 meters respectively, and the length of the pipe section was 11.880 meters.

[0139] After the number of sections is aligned, the absolute mileage of the upstream girth weld of the 4th pipe section in the data three years ago can be corrected to 86.123 meters. After correction, according to the above correction formula, it can be calculated that the distance of the defect point compared to the upstream girth weld after correction three years ago is: (11.880 / 12.101)*8.239=8.088 meters. The absolute mileage of the defect point after correction should be 86.123+8.088=94.211 meters, which is very close to the above 94.234 meters. If the difference between the two is within the mileage alignment deviation threshold, it can be considered that the two can be aligned.

[0140] like Figure 6 As shown, in an embodiment of the present invention, after determining the growth trend of the defect according to the defect information corresponding to the aligned defect at S700, the oil and gas pipeline state evaluation method further includes:

[0141] S710: Cancel the alignment of defects with a negative growth trend.

[0142] Theoretically, without external repair, the growth trend of the defect cannot become smaller and smaller. If an alignment defect with a negative growth trend is found, it means that the defect is misaligned at that location, and it is necessary to continue to check the data to find the cause of the alignment error.

[0143] like Figure 7 As shown, in an embodiment of the present invention, S340: after sequentially comparing the data segments of the first length data group with the data segments of the second length data group, the oil and gas pipeline status evaluation method further includes:

[0144] S352: If the comparison results do not meet the preset conditions, the data segment is marked as a non-aligned segment;

[0145] S362: Obtaining the construction record of the pipe segment represented by the non-aligned segment;

[0146] S372: Compare the pipe segment increase and decrease data in the construction record with the data of the non-aligned segment;

[0147] S382: If the data of the non-aligned segment can be aligned with the pipe segment increase and decrease data, then mark the data segment as a line change segment;

[0148] S392: If the data of the non-aligned segment cannot be aligned with the pipe segment increase and decrease data, delete the data with multiple marks or missing marks in the non-aligned segment in the first length data and the second length data until the non-aligned segment is aligned.

[0149] Specifically, Fig.10 As shown, the b4 and b5 data segments in the first length data group cannot be aligned with the second length data group, and the d4 in the second length data group cannot be aligned with the first length data group. At this time, it is necessary to analyze whether the pipe segment corresponding to the b4 and b5 data segments has been rerouted. If so, data analysis is required to observe whether the construction data of the b4 and b5 data segments and the corresponding pipe segments match. If they can match, it means that the segment is the line segment, and the status of the line segment can be evaluated separately during evaluation. If they do not match, it means that the data segment has multiple labels or missing labels. At this time, the data that cannot be aligned needs to be deleted to avoid delaying the evaluation of the entire pipeline due to the inability to align the data of a small area.

[0150] Specifically, Figure 8 As shown, in an embodiment of the present invention, S300: after aligning the pipe sections in the reference data and the data to be aligned according to the number of sections, the oil and gas pipeline status evaluation method further includes:

[0151] S301: Eliminate defect information of pipe-changing pipe sections in pipe sections with aligned sections in reference data and data to be aligned.

[0152] like Fig. 9As shown, in an embodiment of the present invention, the internal detection data includes the latitude and longitude information and absolute mileage information of each internal detection point, and the external detection data includes the position information of each external detection point. S800: aligning the external detection data with the internal detection data according to the detection position specifically includes:

[0153] S810: Filtering out external detection points with longitude and latitude information in the external detection data as external detection points to be aligned;

[0154] S820: Screening the inner detection points with a preset distance interval as the screening interval to form a plurality of inner reference points;

[0155] S830: Using internal reference points adjacent to the external detection point to be aligned and located upstream and downstream of the external detection point to be aligned as upstream reference points and downstream reference points;

[0156] S840: Calculate the absolute mileage of the external detection point to be aligned according to the latitude and longitude position and absolute mileage of the upstream reference point, the latitude and longitude position and absolute mileage of the downstream reference point, and the latitude and longitude position of the external detection point to be aligned;

[0157] S850: Align the external detection data and the internal detection data corresponding to the external detection point to be aligned according to the absolute mileage.

[0158] The data for screening the internal detection points can be the latest round of internal detection data, and the preset distance interval can be about 5 meters. For example, an internal detection point with longitude and latitude is selected as the internal reference point every 5±0.2m. When selecting, the internal reference points with the closest interval to 5 meters are given priority.

[0159] After the internal reference points are selected, the relative mileage distances of the internal reference points adjacent to the external detection points to be aligned and located upstream and downstream of the external detection points to be aligned are calculated, and then the absolute mileage of the external detection points is calculated by proportional interpolation. After calculating the external detection points in turn, the external detection data can be aligned with the internal detection data according to the absolute mileage.

[0160] It should be noted that some oil and gas pipelines are buried underground. When technicians conduct external inspections on the ground, they cannot know the specific direction and shape of the pipelines. If the internal inspection data and the external inspection data are aligned directly by longitude and latitude, there will be large alignment errors in some positions. This method can more accurately align the internal inspection data and the external inspection data by converting the original longitude and latitude markings of the external inspection data into absolute mileage markings.

[0161] In an embodiment of the present invention, the calculation formula for the absolute mileage of the external detection point to be aligned is:

[0162]

[0163] Among them, M 估计检测 is the absolute mileage value of the external detection point to be aligned, in meters; L 与上游经纬 L is the distance between the external detection point to be aligned and the upstream reference point calculated using the latitude and longitude information, in meters; 上下游参考点经纬 L is the distance between the downstream reference point and the upstream reference point calculated using the latitude and longitude information, in meters; 上下游参考点检测 M is the relative mileage between the upstream reference point and the downstream reference point, in meters; 上游参考点 It is the absolute mileage of the upstream reference point in meters.

[0164] like Fig. 9 As shown, in an embodiment of the present invention, S850: after aligning the external detection data and the internal detection data corresponding to the external detection point to be aligned according to the absolute mileage, the oil and gas pipeline status evaluation method further includes:

[0165] S860: extracting the pile number information, the orientation information relative to the reference pile, and the distance information relative to the reference pile of the aligned and unaligned external detection points respectively;

[0166] S870: Align the misaligned external detection points with the internal detection data respectively according to the burying order of the reference piles.

[0167] The external inspection data of pipelines are generally discontinuous. For example, the technicians inspected the pipelines in area A five years ago and inspected the pipelines in area B two years ago. However, due to the development of inspection equipment, the external inspection data with a relatively old age generally do not have the latitude and longitude positioning function. For example, the data inspected in the 2000s only contain the pile number information of the reference pile, the azimuth information relative to the reference pile, and the distance information relative to the reference pile. In order to align these external inspection data with the internal inspection data, based on the aligned external inspection data, the pile number information of the reference piles between the aligned external inspection points and the external inspection points to be aligned and the burial order of the reference piles can be reversed to determine the absolute mileage of the external inspection points to be aligned that lack longitude and latitude information. The above method can be used to align the internal inspection data with the external inspection data.

[0168] In summary, this method can obtain the changes of internal defects of pipelines with the increase of years by aligning the internal inspection data over the years. At the same time, the external inspection data and the internal inspection data are aligned in position. On the premise of obtaining the defect growth situation, the cathodic protection of the outer wall of the pipe segment at the defect, the integrity of the anti-corrosion layer and protective layer can be combined to objectively and comprehensively evaluate and predict the current and future status of the pipeline, thereby facilitating technical personnel to carry out targeted monitoring and maintenance and protection of pipelines in a certain area.

[0169] In the description of the present invention, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0170] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral one; it can be a mechanical connection, an electrical connection, or communication with each other; it can be a direct connection, or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0171] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0172] Although the embodiments of the present invention have been described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A method for evaluating the state of an oil and gas pipeline, characterized in that: The oil and gas pipeline status evaluation method comprises: Obtain multiple rounds of internal and external inspection data of oil and gas pipelines; Using one round of internal detection data as reference data and other rounds of internal detection data as data to be aligned; Align the pipe sections in the reference data and the data to be aligned according to the number of sections; Calculating mileage correction parameters according to the data to be aligned and the pipe sections whose sections have been aligned in the reference data; Based on the mileage correction parameter, performing mileage correction on the position of the defect in the data to be aligned; Based on the position of the corrected defect, aligning the defect in the data to be aligned with the defect in the reference data according to absolute mileage; Determine the growth trend of the defect according to the defect information corresponding to the aligned defect; Positionally aligning the external detection data with the reference data; According to the growth trend of the defect, combined with the external detection data aligned with the defect, the state of the oil and gas pipeline is evaluated.

2. The oil and gas pipeline status evaluation method according to claim 1, characterized in that: The oil and gas pipeline includes a plurality of transition pipe sections and a plurality of basic pipe sections connected between adjacent transition pipe sections, the internal detection data includes pipe section length data, and the pipe section length data includes the length data of the transition pipe sections and the length data of the basic pipe sections arranged in sequence according to the pipe section connection order; Aligning the pipe segments in the reference data and the data to be aligned according to the number of segments specifically includes: Selecting a first length data group of each pipe segment in the reference data, and selecting a second length data group of each pipe segment in the data to be aligned; Setting an alignment threshold for the first length data group; Using the position of the length data of the transition pipe section as a data segmentation identifier (W1), the first length data group and the second length data group are respectively divided into a plurality of data segments; Comparing the data segments of the first length data group with the data segments of the second length data group in sequence; If the comparison result meets the preset conditions, the pipe segments represented by each data of the two compared data segments are aligned one by one, and the pipe segments represented by the data segments are marked as aligned segments; The preset conditions include: between the two compared data segments, the number of pipe segments represented by the data is the same, the length difference of the pipe segments at the same position does not exceed the alignment threshold, and the attachment information of the pipe segments corresponding to the data segment identifier (W1) is aligned.

3. The oil and gas pipeline status evaluation method according to claim 2, characterized in that: Calculating the mileage correction parameters according to the data to be aligned and the pipe sections whose sections have been aligned in the reference data specifically includes: Selecting pipe sections whose numbers of sections are aligned in the first length data group as correction pipe sections in sequence, and selecting pipe sections aligned with the correction pipe sections in the second length data group as reference pipe sections; Calculating the length ratio of each modified pipe section to the reference pipe section; The length ratio is the mileage correction parameter.

4. The oil and gas pipeline status evaluation method according to claim 3, characterized in that: Based on the mileage correction parameter, performing mileage correction on the position of the defect in the data to be aligned specifically includes: Selecting the corrected absolute mileage data of the upstream girth weld of the pipe segment where the target defect is located from the pipe segments whose segments have been aligned in the data to be aligned; Calculating a first distance of a position of a target defect relative to the upstream girth weld of the selected pipe segment; Correcting the first distance according to the length ratio; The absolute mileage of the target defect in the data to be aligned is calculated according to the selected absolute mileage data and the corrected first distance.

5. The oil and gas pipeline status evaluation method according to claim 4, characterized in that: Based on the position of the corrected defect, aligning the defect in the data to be aligned with the defect in the reference data according to the absolute mileage specifically includes: Set the mileage alignment deviation threshold and clock alignment deviation threshold of the defect; Based on the corrected defect position, the defect in the data to be aligned is compared with the defect near the same absolute mileage in the reference data in terms of mileage and clock orientation; If the comparison difference is within the mileage alignment deviation threshold and the clock alignment deviation threshold respectively, the two compared groups of defects are aligned.

6. The oil and gas pipeline status evaluation method according to claim 5, characterized in that: After determining the growth trend of the defect according to the defect information corresponding to the aligned defect, the oil and gas pipeline status evaluation method further includes: Cancel the alignment of defects with negative growth trends.

7. The oil and gas pipeline status evaluation method according to claim 2, characterized in that: After sequentially comparing the data segments of the first length data group with the data segments of the second length data group, the oil and gas pipeline status evaluation method further includes: If the comparison results do not meet the preset conditions, the data segment is marked as a non-aligned segment; Obtaining a construction record of the pipe segment represented by the non-aligned segment; Comparing the pipe segment increase and decrease data in the construction record with the data of the non-aligned segment; If the data of the non-aligned segment can be aligned with the pipe segment increase and decrease data, then the data segment is marked as a line change segment; If the data of the non-aligned segment cannot be aligned with the pipe segment increase and decrease data, the data with multiple marks or missing marks in the non-aligned segment in the first length data and the second length data are deleted until the non-aligned segment is aligned.

8. The oil and gas pipeline status evaluation method according to any one of claims 1 to 7, characterized in that: After aligning the pipe sections in the reference data and the data to be aligned according to the number of sections, the oil and gas pipeline status evaluation method further includes: Eliminate defect information of the replaced pipe sections in the pipe sections with aligned sections in the reference data and the data to be aligned.

9. The oil and gas pipeline status evaluation method according to any one of claims 1 to 7, characterized in that: The internal detection data includes the latitude and longitude information and absolute mileage information of each internal detection point, and the external detection data includes the location information of each external detection point; Aligning the external detection data with the internal detection data according to the detection position specifically includes: Filtering the external detection points with longitude and latitude information in the external detection data as the external detection points to be aligned; Using a preset distance interval as a screening interval, screening the inner detection points to form a plurality of inner reference points; The inner reference points adjacent to the outer detection point to be aligned and located respectively upstream and downstream of the outer detection point to be aligned are used as upstream reference points and downstream reference points; Calculate the absolute mileage of the external detection point to be aligned according to the latitude and longitude position and absolute mileage of the upstream reference point, the latitude and longitude position and absolute mileage of the downstream reference point, and the latitude and longitude position of the external detection point to be aligned; Aligning the external detection data corresponding to the external detection point to be aligned with the internal detection data according to absolute mileage; The calculation formula of the absolute mileage of the external detection point to be aligned is: Among them, M 估计检测 is the absolute mileage value of the external detection point to be aligned, in meters; L 与上游经纬 L is the distance between the external detection point to be aligned and the upstream reference point calculated using the latitude and longitude information, in meters; 上下游参考点经纬 L is the distance between the downstream reference point and the upstream reference point calculated using the latitude and longitude information, in meters; 上下游参考点检测 M is the relative mileage between the upstream reference point and the downstream reference point, in meters; 上游参考点 It is the absolute mileage of the upstream reference point in meters.

10. The oil and gas pipeline status evaluation method according to claim 9, characterized in that: After aligning the external detection data corresponding to the external detection point to be aligned with the internal detection data according to absolute mileage, the oil and gas pipeline status evaluation method further includes: Respectively extracting the pile number information, the orientation information relative to the reference pile, and the distance information relative to the reference pile of the aligned and unaligned external detection points; According to the burying order of the reference piles, the unaligned external detection points are aligned with the internal detection data respectively.