A method and device for aligning defects in oil and gas pipeline body
By aligning the mileage and circumferential distribution of oil and gas pipeline pipe defects, the problem of inability to effectively correlate and utilize two-time detection data in the prior art is solved, and the accurate judgment of the evolution law of pipe defects and effective grasp of the severity of pipe damage is achieved.
Patent Information
- Application Number
- CN201811318025.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-11-07
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2038-11-07
AI Technical Summary
The prior art cannot effectively correlate and utilize the defect data of oil and gas pipeline body detected within two times, resulting in the inability to accurately calculate the corrosion rate of corrosion defects, analyze the deformation evolution of depressions, and the serious changes in weld defects.
Through an oil and gas pipeline defect alignment method, the two batches of detection results are obtained according to the defect type, and the defects in the two batches are aligned, merged and sorted through alignment processing, using the mileage and cyclic distribution of the defects and the preset deviation threshold.
The alignment of the pipe body defect data detected in different batches is realized, and the two internal detection data are effectively used to determine the evolution process and evolution rules of the pipe body defect, which improves the mastery of the changes in the severity of the pipe body damage.
Smart Images

Figure CN111159837B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of oil and natural gas pipelines, and in particular to a method and a device for aligning defects in a pipe body of an oil and gas pipeline. Background Art
[0002] With the development of pipeline integrity evaluation technology, internal inspection and its evaluation have become the most effective methods to grasp the safety status of pipelines. China's long-distance oil and gas pipelines have fully carried out internal inspection work; pipeline internal inspection work is undertaken by professional third-party internal inspection companies, and the longest time for a pipeline to carry out the next internal inspection is no more than 8 years. Some seriously damaged pipelines will carry out internal inspections every 3 to 5 years. For enterprises, a large amount of defect data will be generated after two internal inspections of the same pipeline. However, due to the lack of relevant technical means, the defect information of the two batches cannot be associated, so that the internal inspection data of the two batches cannot be effectively used to accurately calculate the corrosion rate of corrosion defects, analyze the deformation evolution of depressions, the serious changes of weld defects, etc., so it is impossible to grasp the changes in the severity of pipe body damage. Summary of the invention
[0003] In view of the deficiencies in the prior art, the present invention provides a method and device for aligning defects in a pipe body of an oil and gas pipeline.
[0004] Specifically, the present invention provides the following technical solutions:
[0005] In a first aspect, the present invention provides a method for aligning defects in a pipe body of an oil and gas pipeline, comprising:
[0006] For defects on the pipe body, select one of them according to the type, obtain the first batch of test results A of this type of defects, and use this as a benchmark to obtain the second batch of test results B of this type of defects; the test time of the second batch must be earlier than the test time of the first batch;
[0007] According to the mileage and circumferential distribution of defects in group A and group B, as well as the preset defect mileage deviation threshold and defect circumferential distribution deviation threshold, the defects detected in the two batches are aligned.
[0008] Furthermore, the defects detected in the two batches are aligned according to the mileage and circumferential distribution of the defects in group A and group B and the preset defect mileage deviation threshold and defect circumferential distribution deviation threshold, specifically including:
[0009] According to the mileage and circumferential distribution of defects in group A and group B and the preset defect mileage deviation threshold and defect circumferential distribution deviation threshold, the defect mileage is first aligned, and then the defect circumferential distribution is aligned based on the defect mileage alignment.
[0010] Furthermore, according to the mileages and circumferential distributions of defects in group A and group B and the preset defect mileage deviation threshold and defect circumferential distribution deviation threshold, the defect mileages are first aligned, and then the defect circumferential distributions are aligned based on the defect mileage alignment, specifically including:
[0011] Find the first defect A1 in group A, and determine whether the mileage L(Bx) of the defect Bx in group B falls within the mileage area of [L(A1)-L, L(A1)+L] according to its mileage L(A1) and circumferential distribution H(A1). If L(Bx)∈[L(A1)-L, L(A1)+L], determine whether the circumferential position H(Bx) of the defect Bx in group B falls within the circumferential distribution area of [H(A1)-H, H(A1)+H]. If H(Bx)∈[H(A1)-H, H(A1)+H], then A1 and Bx are the same defect on the pipeline, and record the defect number of this combined defect at the same time, and use the defect position information of defect A1 as the position information of the combined defect; where L is the preset defect mileage deviation threshold, and H is the preset defect circumferential distribution deviation threshold;
[0012] Check in sequence whether there are defects in group B falling within the mileage intervals [L(A2)-L, L(A2)+L], [L(A3)-L, L(A3)+L], [L(A4)-L, L(A4)+L], and the annular distribution intervals [H(A2)-H, H(A2)+H], [H(A3)-H, H(A3)+H], [H(A4)-H, H(A4)+H], of other defects A2, A3, A4, ... in group A. If so, it means that A2, A3, A4, ... and these defects belong to the same defect on the pipeline, and the defect numbers of these merged defects are recorded at the same time, and the defect location information of the corresponding defects in group A is used as the location information of the merged defect;
[0013] If there is no defect in group B that falls into the mileage interval and circumferential distribution interval of the x-th defect Ax in group A, it means that the defect Ax is a new defect, and the defect number is recorded, and the location information of Ax is used as the location information of the new defect;
[0014] Determine whether there are duplicated defect numbers in group B between the merged defects corresponding to A1, A2, A3, etc. If there are no duplicated defect numbers in group B among these merged defects, the alignment of the defects of these two batches is completed;
[0015] Arrange all merged defects and newly added defects from small to large according to mileage to form a new group of defects. This group of defects is the existing defects of this type of defects in the aligned pipe body.
[0016] Furthermore, the method further comprises:
[0017] Determine whether there are duplicate defect numbers in group B between the merged defects corresponding to A1, A2, A3, etc. If there are duplicate defect numbers in group B among the merged defects, these merged defects are manually inspected one by one to determine their merging method until all merged defects with duplicate numbers are processed, indicating that the alignment of such defects in the two batches is complete.
[0018] Furthermore, the defect is any defect on the pipe body of the pipeline.
[0019] Furthermore, the defect mileage deviation threshold and the defect circumferential distribution deviation threshold are set according to the axial mileage accuracy and circumferential distribution detection accuracy of the detector that detects the defect.
[0020] In a second aspect, the present invention further provides an oil and gas pipeline body defect alignment device, comprising:
[0021] The acquisition module is used to select one of the defects of the pipeline body according to the type, obtain the first batch of detection results A of the defects of this type, and use this as a benchmark to obtain the second batch of detection results B of the defects of this type; wherein the detection time of the second batch is earlier than the detection time of the first batch;
[0022] The alignment module is used to align the defects detected in the two batches according to the mileage, circumferential distribution of the defects in group A and the defects in group B and the preset defect mileage deviation threshold and defect circumferential distribution deviation threshold.
[0023] Furthermore, the alignment module is specifically used for:
[0024] According to the mileage and circumferential distribution of defects in group A and group B and the preset defect mileage deviation threshold and defect circumferential distribution deviation threshold, the defect mileage is first aligned, and then the defect circumferential distribution is aligned based on the defect mileage alignment.
[0025] In a third aspect, the present invention further provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program stored in the memory, the steps of the oil and gas pipeline body defect alignment method as described in the first aspect above are implemented.
[0026] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program stored on the computer-readable storage medium is executed, the steps of the oil and gas pipeline body defect alignment method as described in the first aspect above are implemented.
[0027] It can be seen from the above technical scheme that the method for aligning defects of oil and gas pipeline bodies provided by the present invention selects one of the defects of the pipeline body according to the type, obtains the first batch of detection results A of this type of defects, and uses this as a benchmark to obtain the second batch of detection results B of this type of defects; wherein the detection time of the second batch is earlier than the detection time of the first batch; and then, according to the mileage and circumferential distribution of defects in group A and defects in group B, as well as the preset defect mileage deviation threshold and defect circumferential distribution deviation threshold, the defects detected in the two batches are aligned. It can be seen that the method for aligning defects of oil and gas pipeline bodies provided by the present invention can align the pipe body defect data obtained from detections in different batches, so that the two internal detection data can be effectively used to determine information such as the evolution process and evolution law of pipe body defects. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0029] Figure 1 is a flow chart of a method for aligning defects in an oil and gas pipeline body provided by an embodiment of the present invention;
[0030] Figure 2 is a schematic structural diagram of an oil and gas pipeline body defect alignment device provided by another embodiment of the present invention;
[0031] Figure 3 It is a structural schematic diagram of an electronic device provided by another embodiment of the present invention. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] The present invention provides a method for aligning defects in the pipe body of an oil and gas pipeline. The present invention can align the pipe body defect data obtained by detection in different batches, effectively utilize the detection data twice, and judge the severity and evolution law of the pipe body defects. The method for aligning defects in the pipe body of an oil and gas pipeline provided by the present invention will be described in detail below through specific embodiments.
[0034] An embodiment of the present invention provides a method for aligning defects in a pipe body of an oil and gas pipeline, see Figure 1 , the method comprises the following steps:
[0035] Step 101: For defects on the pipe body, select one of the types according to the type, obtain the first batch of test results A of the defects of this type, and use this as a benchmark to obtain the second batch of test results B of the defects of this type; wherein the detection time of the second batch is earlier than the detection time of the first batch.
[0036] In this step, for example, when aligning the defects detected by two rounds of magnetic flux leakage detection, a defect (such as a corrosion defect) is selected, and the most recent internal detection result is used as a reference. The group of defects is set as A, and the previous detection result is set as B.
[0037] Step 102: Align the defects detected in the two batches according to the mileage and circumferential distribution of the defects in group A and group B and the preset defect mileage deviation threshold and defect circumferential distribution deviation threshold.
[0038] In this step, according to the mileage, circumferential distribution of defects in group A and group B, as well as the preset defect mileage deviation threshold and defect circumferential distribution deviation threshold, the alignment is performed using the mileage + circumferential distribution method. Specifically, the defect mileage is aligned first, and then, based on the defect mileage alignment, the defect circumferential distribution is aligned.
[0039] From the above description, it can be seen that the method for aligning defects of the pipe body of an oil and gas pipeline provided in this embodiment first selects one of the defects of the pipe body according to the type, obtains the first batch of detection results A of the defects of this type, and uses this as a benchmark to obtain the second batch of detection results B of the defects of this type; wherein the detection time of the second batch is earlier than the detection time of the first batch; then, according to the mileage and circumferential distribution of the defects in group A and the defects in group B, as well as the preset defect mileage deviation threshold and defect circumferential distribution deviation threshold, the defects detected in the two batches are aligned. It can be seen that the method for aligning defects of the pipe body of an oil and gas pipeline provided by the present invention can align the pipe body defect data obtained by detection in different batches, so that the two internal detection data can be effectively used to determine the evolution process and evolution law of the pipe body defects and other information.
[0040] In a preferred embodiment, the above step 102 is implemented in the following manner:
[0041] Step 102 ′: according to the mileages and circumferential distributions of defects in group A and group B and the preset defect mileage deviation threshold and defect circumferential distribution deviation threshold, first align the defect mileages, and then align the defect circumferential distributions based on the defect mileage alignment.
[0042] In a preferred embodiment, the above step 102' is specifically implemented in the following manner:
[0043] a. Find the first defect A1 in group A, and determine whether the mileage L(Bx) of the defect Bx in group B falls within the mileage area of [L(A1)-L, L(A1)+L] according to its mileage L(A1) and circumferential distribution H(A1). If L(Bx)∈[L(A1)-L, L(A1)+L], determine whether the circumferential position H(Bx) of the defect Bx in group B falls within the circumferential distribution area of [H(A1)-H, H(A1)+H]. If H(Bx)∈[H(A1)-H, H(A1)+H], then A1 and Bx (which may be multiple defects such as B1, B2, ...)) are the same defect on the pipeline, and record the defect number of this combined defect (such as (A1, B1, ...)), and use the defect location information of defect A1 as the location information of the combined defect; where L is the preset defect mileage deviation threshold, and H is the preset defect circumferential distribution deviation threshold;
[0044] b. Check in sequence whether there are defects in group B falling within the mileage intervals [L(A2)-L, L(A2)+L], [L(A3)-L, L(A3)+L], [L(A4)-L, L(A4)+L], and the annular distribution intervals [H(A2)-H, H(A2)+H], [H(A3)-H, H(A3)+H], [H(A4)-H, H(A4)+H], of other defects A2, A3, A4, ... in group A. If so, it means that A2, A3, A4, ... and these defects belong to the same defect on the pipeline. At the same time, the defect numbers of these merged defects are recorded, and the defect location information of the corresponding defects in group A is used as the location information of the merged defect.
[0045] c. If no defect in group B falls within the mileage interval and circumferential distribution interval of the x-th defect Ax in group A, it means that the defect Ax is a new defect. The defect number is recorded, and the location information of Ax is used as the location information of the new defect.
[0046] d. Determine whether there are duplicate defect numbers in group B between the merged defects corresponding to A1, A2, A3, etc. If there are no duplicate defect numbers in group B among these merged defects, the alignment of the defects of the two batches is completed;
[0047] e. Arrange all merged defects and newly added defects from small to large according to mileage to form a new group of defects. This group of defects is the existing defects of this type of defects in the aligned pipe body.
[0048] It should be noted that when actually aligning defects of two batches, the data alignment of defects such as corrosion defects, weld defects, and manufacturing defects can be performed separately according to the above steps ae.
[0049] In a preferred embodiment, the method further comprises:
[0050] Determine whether there are duplicate defect numbers in group B between the merged defects corresponding to A1, A2, A3, etc. If there are duplicate defect numbers in group B among the merged defects, these merged defects are manually inspected one by one to determine their merging method until all merged defects with duplicate numbers are processed, indicating that the alignment of such defects in the two batches is complete.
[0051] It should be noted that the defects mentioned in this embodiment may be any defects on the pipeline body, including but not limited to corrosion defects, weld defects, manufacturing defects, crack defects, dents, elliptical deformation defects and other defects.
[0052] It should be noted that the defect mileage deviation threshold and defect circumferential distribution deviation threshold mentioned in this embodiment are determined according to the detection accuracy of the detector. Since corrosion defects, weld defects and manufacturing defects are all defects detected by the magnetic flux leakage detector, while concave defects and elliptical deformation defects are defects detected by the geometric deformation detector, the alignment feature parameters of defects such as corrosion defects, weld defects and manufacturing defects are set with the detection accuracy of the magnetic flux leakage detector as a reference to set their corresponding defect mileage deviation threshold and defect circumferential distribution deviation threshold. Similarly, the feature parameters of defects detected by geometric deformation, such as concave defects and elliptical deformation defects, are set with the detection accuracy of the deformation monitor as a reference to set their corresponding defect mileage deviation threshold and defect circumferential distribution deviation threshold. That is, the deviation thresholds of the defect mileage and circumferential distribution are set according to the axial mileage accuracy and circumferential distribution detection accuracy of the detector that detects the defect. For example, for corrosion defects, weld defects and manufacturing defects detected by the magnetic flux leakage detector, the preset defect mileage deviation threshold is recommended to be 0.1m, and the preset defect circumferential distribution deviation threshold is recommended to be 10min; for defects detected by geometric deformation detectors such as concave defects and elliptical deformation defects, the preset defect mileage deviation threshold is recommended to be 0.2m, and the preset defect circumferential distribution deviation threshold is recommended to be 30min.
[0053] Specifically, the deviation threshold setting of the defect alignment feature parameters is shown in Table 1. Among them, the circumferential distribution is averaged for minute calculation.
[0054] Table 1 Deviation thresholds of defect alignment feature parameters
[0055]
[0056] It can be seen that this embodiment pre-sets the acceptable limit deviation value of the two characteristic parameters (such as defect mileage and defect circumferential distribution) of each type of defect to be aligned. After setting the deviation threshold, the corrosion, deformation, weld defects and other defects of different batches are judged and aligned one by one through the constraint of the deviation threshold, and the defect information after alignment is used as the final data of the pipeline in-line detection data. After obtaining the aligned defect data, the aligned defect data can be used to calculate the corrosion rate of the corrosion defect, analyze the deformation evolution of the dent, the serious changes of the weld defect and other conditions, and then the evolution law of the pipe body damage can be mastered.
[0057] Based on the same inventive concept, another embodiment of the present invention provides an oil and gas pipeline body defect alignment device, see Figure 2 The device comprises: an acquisition module 21 and an alignment module 22, wherein:
[0058] The acquisition module 21 is used to select one of the defects of the pipeline body according to the type, obtain the first batch of detection results A of the defects of this type, and use this as a reference to obtain the second batch of detection results B of the defects of this type; wherein the detection time of the second batch is earlier than the detection time of the first batch;
[0059] The alignment module 22 is used to align the defects detected in the two batches according to the mileage and circumferential distribution of the defects in group A and group B and the preset defect mileage deviation threshold and defect circumferential distribution deviation threshold.
[0060] It should be noted that the pipeline defect data used in this embodiment can be read from other data devices or directly entered into the acquisition module.
[0061] In a preferred embodiment, the alignment module 22 is specifically used for:
[0062] According to the mileage and circumferential distribution of defects in group A and group B and the preset defect mileage deviation threshold and defect circumferential distribution deviation threshold, the defect mileage is first aligned, and then the defect circumferential distribution is aligned based on the defect mileage alignment.
[0063] In a preferred embodiment, the alignment module 22 is specifically configured to perform the following process:
[0064] a. Find the first defect A1 in group A, and determine whether the mileage L(Bx) of the defect Bx in group B falls within the mileage area of [L(A1)-L, L(A1)+L] according to its mileage L(A1) and circumferential distribution H(A1). If L(Bx)∈[L(A1)-L, L(A1)+L], determine whether the circumferential position H(Bx) of the defect Bx in group B falls within the circumferential distribution area of [H(A1)-H, H(A1)+H]. If H(Bx)∈[H(A1)-H, H(A1)+H], then A1 and Bx are the same defect on the pipeline, and record the defect number of this combined defect at the same time, and use the defect position information of defect A1 as the position information of the combined defect; where L is the preset defect mileage deviation threshold, and H is the preset defect circumferential distribution deviation threshold;
[0065] b. Check in sequence whether there are defects in group B falling within the mileage intervals [L(A2)-L, L(A2)+L], [L(A3)-L, L(A3)+L], [L(A4)-L, L(A4)+L], and the annular distribution intervals [H(A2)-H, H(A2)+H], [H(A3)-H, H(A3)+H], [H(A4)-H, H(A4)+H], of other defects A2, A3, A4, ... in group A. If so, it means that A2, A3, A4, ... and these defects belong to the same defect on the pipeline. At the same time, the defect numbers of these merged defects are recorded, and the defect location information of the corresponding defects in group A is used as the location information of the merged defect.
[0066] c. If no defect in group B falls within the mileage interval and circumferential distribution interval of the x-th defect Ax in group A, it means that the defect Ax is a new defect. The defect number is recorded, and the location information of Ax is used as the location information of the new defect.
[0067] d. Determine whether there are duplicate defect numbers in group B between the merged defects corresponding to A1, A2, A3, etc. If there are no duplicate defect numbers in group B among these merged defects, the alignment of the defects of the two batches is completed;
[0068] e. Arrange all merged defects and newly added defects from small to large according to mileage to form a new group of defects. This group of defects is the existing defects of this type of defects in the aligned pipe body.
[0069] It should be noted that the defects mentioned in this embodiment may be any defects on the pipeline body, including but not limited to corrosion defects, weld defects, manufacturing defects, crack defects, dents, elliptical deformation defects and other defects.
[0070] It should be noted that the defect mileage deviation threshold and the defect circumferential distribution deviation threshold mentioned in this embodiment are determined according to the detection accuracy of the detector.
[0071] The oil and gas pipeline body defect alignment device described in this embodiment can be used to execute the oil and gas pipeline body defect alignment method described in the above embodiments. Its principles and technical effects are similar and will not be repeated here.
[0072] Based on the same inventive concept, another embodiment of the present invention provides an electronic device, see Figure 3 , the electronic device specifically includes the following contents: a processor 701, a memory 702, a communication interface 703 and a bus 704;
[0073] The processor 701, the memory 702, and the communication interface 703 communicate with each other through the bus 704; the communication interface 703 is used to realize information transmission between various modeling software and intelligent manufacturing equipment module libraries and other related devices;
[0074] The processor 701 is used to call the computer program in the memory 702. When the processor executes the computer program, all steps in the oil and gas pipeline body defect alignment method described in the above embodiment are implemented. For example, when the processor executes the computer program, the following steps are implemented:
[0075] Step 101: For defects of the pipeline body, one of the types is selected according to the type, and the first batch of detection results A of the defects of this type are obtained, and the second batch of detection results B of the defects of this type are obtained based on this type; wherein the detection time of the second batch is earlier than the detection time of the first batch;.
[0076] Step 102: Align the defects detected in the two batches according to the mileage and circumferential distribution of the defects in group A and group B and the preset defect mileage deviation threshold and defect circumferential distribution deviation threshold.
[0077] Based on the same inventive concept, another embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, all steps in the above-mentioned oil and gas pipeline body defect alignment method are implemented. For example, when the computer program stored on the computer-readable storage medium is executed, the following steps are implemented:
[0078] Step 101: For defects on the pipe body, select one of the types according to the type, obtain the first batch of test results A of the defects of this type, and use this as a benchmark to obtain the second batch of test results B of the defects of this type; wherein the detection time of the second batch is earlier than the detection time of the first batch.
[0079] Step 102: Align the defects detected in the two batches according to the mileage and circumferential distribution of the defects in group A and group B and the preset defect mileage deviation threshold and defect circumferential distribution deviation threshold.
[0080] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0081] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for aligning defects in an oil and gas pipeline body, characterized in that: include: For defects on the pipe body, select one of them according to the type, obtain the first batch of test results A of this type of defects, and use this as a benchmark to obtain the second batch of test results B of this type of defects; the test time of the second batch must be earlier than the test time of the first batch; According to the mileage and circumferential distribution of defects in group A and group B, as well as the preset defect mileage deviation threshold and defect circumferential distribution deviation threshold, the defect mileage is first aligned, and then the defect circumferential distribution is aligned based on the defect mileage alignment, which specifically includes: Find the first defect A1 in group A, according to its mileage L (A1) and circumferential distribution H (A1), judge L (A1)-L, L (A1)+L], group B defect B x Mileage L(B x ) falls into, if L(B x )∈[ L (A1)-L, L (A1)+L] interval, then judge [ H (A1)-H, H (A1)+H] Group B defects in the annular distribution area x The circumferential position H(B x ) falls into, if H(B x )∈[ H (A1)-H, H (A1)+H], then A1 and B x For the same defect on the pipeline, the defect number of the combined defect is recorded at the same time, and the defect location information of defect A1 is used as the location information of the combined defect; where L is the preset defect mileage deviation threshold, and H is the preset defect circumferential distribution deviation threshold; Find the mileage intervals of other defects A2, A3, A4, ... in group A in turn [ L (A2)-L, L (A2)+L],[ L (A3)-L, L (A3)+L],[ L (A4)-L, L (A4)+L]... and the annular distribution interval [ H (A2)-H, H (A2)+H],[ H (A3)-H, H (A3)+H],[ H (A4)-H, H (A4)+H]…Whether there are defects in group B falling into it. If yes, it means that A2, A3, A4, … and these defects belong to the same defect on the pipeline. At the same time, the defect numbers of these combined defects are recorded, and the defect location information of the corresponding defects in group A is used as the location information of the combined defect; If there are no defects in group B that fall into group A, x Defect A x The mileage interval and circular distribution interval of A x This defect is a new defect. Record the defect number and use A x The location information is the location information of the newly added defect; Determine whether there are duplicated defect numbers in group B between the merged defects corresponding to A1, A2, A3, etc. If there are no duplicated defect numbers in group B among these merged defects, the alignment of the defects of these two batches is completed; Arrange all merged defects and newly added defects from small to large according to mileage to form a new group of defects. This group of defects is the existing defects of this type of defects in the aligned pipe body.
2. The method according to claim 1, characterized in that The method further comprises: Determine whether there are duplicate defect numbers in group B between the merged defects corresponding to A1, A2, A3, etc. If there are duplicate defect numbers in group B among the merged defects, these merged defects are manually inspected one by one to determine their merging method until all merged defects with duplicate numbers are processed, indicating that the alignment of such defects in the two batches is complete.
3. The method according to claim 1 or 2, characterized in that: The defect is any defect on the pipe body.
4. The method according to claim 1 or 2, characterized in that: The defect mileage deviation threshold and the defect circumferential distribution deviation threshold are set according to the axial mileage accuracy and circumferential distribution detection accuracy of the detector that detects the defect.
5. An oil and gas pipeline body defect alignment device, characterized in that: include: The acquisition module is used to select one of the defects of the pipeline body according to the type, obtain the first batch of detection results A of the defects of this type, and use this as a benchmark to obtain the second batch of detection results B of the defects of this type; wherein the detection time of the second batch is earlier than the detection time of the first batch; The alignment module is used to align the defect mileages first according to the mileages and circumferential distributions of defects in group A and defects in group B and the preset defect mileage deviation threshold and defect circumferential distribution deviation threshold, and then align the defect circumferential distribution based on the defect mileage alignment, specifically including: Find the first defect A1 in group A, according to its mileage L (A1) and circumferential distribution H (A1), judge L (A1)-L, L (A1)+L], group B defect B x Mileage L(B x ) falls into, if L(B x )∈[ L (A1)-L, L (A1)+L] interval, then judge [ H (A1)-H, H (A1)+H] Group B defects in the annular distribution area x The circumferential position H(B x ) falls into, if H(B x )∈[ H (A1)-H, H (A1)+H], then A1 and B x For the same defect on the pipeline, the defect number of the combined defect is recorded at the same time, and the defect location information of defect A1 is used as the location information of the combined defect; where L is the preset defect mileage deviation threshold, and H is the preset defect circumferential distribution deviation threshold; Find the mileage intervals of other defects A2, A3, A4, ... in group A in turn [ L (A2)-L, L (A2)+L],[ L (A3)-L, L (A3)+L],[ L (A4)-L, L (A4)+L]... and the annular distribution interval [ H (A2)-H, H (A2)+H],[ H (A3)-H, H (A3)+H],[ H (A4)-H, H (A4)+H]…Whether there are defects in group B falling into it. If yes, it means that A2, A3, A4, … and these defects belong to the same defect on the pipeline. At the same time, the defect numbers of these combined defects are recorded, and the defect location information of the corresponding defects in group A is used as the location information of the combined defect; If there are no defects in group B that fall into group A, x Defect A x The mileage interval and circular distribution interval of A x This defect is a new defect. Record the defect number and use A x The location information is the location information of the newly added defect; Determine whether there are duplicated defect numbers in group B between the merged defects corresponding to A1, A2, A3, etc. If there are no duplicated defect numbers in group B among these merged defects, the alignment of the defects of these two batches is completed; Arrange all merged defects and newly added defects from small to large according to mileage to form a new group of defects. This group of defects is the existing defects of this type of defects in the aligned pipe body.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program stored in the memory, the steps of the method for aligning defects in the pipe body of an oil and gas pipeline as claimed in any one of claims 1 to 4 are implemented.
7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program stored on the computer-readable storage medium is executed, the steps of the oil and gas pipeline body defect alignment method as claimed in any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Method and device for aligning detection data in pipeline
CN111159639A
Pipeline defect interaction influence judgment method and device
CN111159836A