Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a method and a device for judging the interactive influence of pipeline defects.
Specifically, the invention provides the following technical scheme:
In a first aspect, the present invention provides a method for judging the interaction effect of a pipe defect, including:
The method comprises the steps of obtaining girth weld data and defect data of a pipeline, wherein the girth weld data comprises girth weld mileage and girth weld numbers, and the defect data comprises mileage L, girth weld numbers, length L, width w, circumferential distribution O and positions, and distance L up between the girth weld data and an upstream girth weld and length L 0 of a pipe joint;
And/or judging the interactive influence of the pipeline compound type defect according to the girth weld data and the defect data, wherein the pipeline compound type defect is a compound type defect formed by any two defects on the pipeline.
Further, the judging of the interaction influence of the pipeline defect and the girth weld according to the girth weld data and the defect data specifically includes:
S11, obtaining the distance L up between each defect and an upstream girth weld, and calculating the distance between the defect and a downstream girth weld as follows:
Ldown=L0-l-Lup
wherein L 0、l、Lup units are m;
s12, acquiring the distance L min,Lmin=min(|Lup|,Ldown between each defect and the nearest girth weld;
S13, judging the distance L min between the defect and the nearest girth weld and the size of a weld affected area a, if L min > a, indicating that the defect does not have interaction with the girth weld, and if L min is less than or equal to a, the defect has interaction with the girth weld or is positioned on the girth weld.
Further, the judging of the interaction effect of the composite defect of the pipeline according to the girth weld data and the defect data specifically includes:
s21, for any composite defect, acquiring two types of defect data in the composite defect, and taking one type of defect with a small number of defects in the two types of defects as a judging reference A, and the other type of defect as B;
s22, determining whether each A-type defect has a defect B or not, wherein the method comprises the following steps:
Taking a first defect A1 of A class, and acquiring mileage L A1, length L A1, width w A1 and circumferential distribution O A1 of A1;
judging whether the area of the defect A1 has B type defects or not, namely, judging whether the length L Bx, the width w Bx, the mileage L Bx and the circumferential distribution O Bx of the B type defects simultaneously meet the following two conditions of a and B:
a. the two defects are crossed in the axial direction, namely:
l Bx-1/2*lBx<LA1+1/2*lA1 and L Bx+1/2*lBx>LA1-1/2*lA1
B. the two defects are crossed in the circumferential direction, namely:
O Bx-360*wBx/πD<OA1+360*wA1/pi D and O Bx+360*wBx/πD>OA1-360*wA1/pi D
If the mileage and circumferential distribution of the defect Bx belongs to the area region of the defect A1, the defect Bx and the defect A1 are compound defects.
Further, the composite defect consisting of the defects Bx and A1 has a mileage of L A1, a circumferential distribution of O A1, and a length L A1Bx and a width w A1Bx according to the following relationship:
lA1Bx=max(LBx+1/2*lBx,LA1+1/2*lA1)-min(LBx-1/2*lBx,LA1-1/2*lA1)
wA1Bx=πD/180*{max(OBx+360*wBx/πD,OA1+360*wA1
/πD)-min(OBx-360*wBx/πD,OA1-360*wA1/πD)}
in the above formulas, the units of defect mileage, length and width are all m, and the circumferential distribution unit is converted into min (minutes).
Further, in step S22, when judging whether the area of the defect A1 has the B type defects one by one, firstly sorting the B type defects according to the mileage from small to large, and when judging the mileage L Bx>LA1+1/2*lA1 of the x type defect, indicating that the A1 defect has no combined defect, and directly searching the combined defect of the defect A2 without continuously searching in the B type defect.
In a second aspect, the present invention provides a device for judging the interaction effect of a pipe defect, including:
the device comprises an acquisition module, a detection module and a detection module, wherein the acquisition module is used for acquiring girth weld data and defect data of a pipeline, the girth weld data comprises girth weld mileage and girth weld numbers, the defect data comprises mileage L, girth weld numbers where defects are located, length L, width w, circumferential distribution O and positions, and the distance L up between the defect and an upstream girth weld and the length L 0 of a pipe section where the defect is located;
and/or judging the interactive influence of the pipeline compound defect according to the girth weld data and the defect data, wherein the pipeline compound defect is a compound defect formed by any two defects on the pipeline.
Further, the judging module is specifically configured to execute the following process when judging the interaction effect of the pipeline defect and the girth weld according to the girth weld data and the defect data:
S11, obtaining the distance L up between each defect and an upstream girth weld, and calculating the distance between the defect and a downstream girth weld as follows:
Ldown=L0-l-Lup
s12, acquiring the distance L min,Lmin=min(|Lup|,Ldown between each defect and the nearest girth weld;
S13, judging the distance L min between the defect and the nearest girth weld and the size of a weld affected area a, if L min > a, indicating that the defect does not have interaction with the girth weld, and if L min is less than or equal to a, the defect has interaction with the girth weld or is positioned on the girth weld.
Further, the judging module is specifically configured to perform the following process when judging the interaction effect of the composite type defect of the pipeline according to the girth weld data and the defect data:
s21, for any composite defect, acquiring two types of defect data in the composite defect, and taking one type of defect with a small number of defects in the two types of defects as a judging reference A, and the other type of defect as B;
s22, determining whether each A-type defect has a defect B or not, wherein the method comprises the following steps:
Taking a first defect A1 of A class, and acquiring mileage L A1, length L A1, width w A1 and circumferential distribution O A1 of A1;
judging whether the area of the defect A1 has B type defects or not, namely, judging whether the length L Bx, the width w Bx, the mileage L Bx and the circumferential distribution O Bx of the B type defects simultaneously meet the following two conditions of a and B:
a. the two defects are crossed in the axial direction, namely:
l Bx-1/2*lBx<LA1+1/2*lA1 and L Bx+1/2*lBx>LA1-1/2*lA1
B. the two defects are crossed in the circumferential direction, namely:
O Bx-360*wBx/πD<OA1+360*wA1/pi D and O Bx+360*wBx/πD>OA1-360*wA1/pi D
If the mileage and circumferential distribution of the defect Bx belongs to the area region of the defect A1, the defect Bx and the defect A1 are compound defects.
Further, the composite defect consisting of the defects Bx and A1 has a mileage of L A1, a circumferential distribution of O A1, and a length L A1Bx and a width w A1Bx according to the following relationship:
lA1Bx=max(LBx+1/2*lBx,LA1+1/2*lA1)-min(LBx-1/2*lBx,LA1-1/2*lA1)
wA1Bx=πD/180*{max(OBx+360*wBx/πD,OA1+360*wA1
/πD)-min(OBx-360*wBx/πD,OA1-360*wA1/πD)}。
in the above formulas, the units of defect mileage, length and width are all m, and the circumferential distribution unit is converted into min (minutes).
In a third aspect, the present invention also provides an electronic device, including a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method for determining the interaction effect of pipe defects according to the first aspect when executing the computer program stored on the memory.
In a fourth aspect, the present invention also provides a computer readable storage medium, on which a computer program is stored, the computer program stored on the computer readable storage medium implementing the steps of the pipe defect interactive influence determination method according to the first aspect when executed.
According to the technical scheme, the method for judging the interactive influence of the pipeline defects comprises the steps of firstly obtaining girth weld data and defect data of the pipeline, then judging the interactive influence of the pipeline defects and the girth weld according to the girth weld data and the defect data, and/or judging the interactive influence of the pipeline compound defects according to the girth weld data and the defect data. Therefore, the method for judging the interactive influence of the pipeline defects can judge the interactive influence of various defects of the pipeline, so that omission of composite defects of the pipeline when a professional evaluator analyzes the data of different types of defects of the pipeline can be avoided.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The invention provides a method for judging the interaction influence of pipeline defects, which can judge the interaction influence of the pipeline defects according to detected various defect data, so that omission of composite defect analysis of the pipeline caused by separation of the various defect data of the pipeline can be avoided. The method for judging the interactive influence of the pipeline defects provided by the invention is explained in detail by a specific embodiment.
An embodiment of the present invention provides a method for judging the interaction effect of a pipe defect, referring to fig. 1, the method includes the following steps:
Step 101, acquiring girth weld data and defect data of a pipeline, wherein the girth weld data comprises girth weld mileage and girth weld numbers, and the defect data comprises mileage L, girth weld numbers, length L, width w, circumferential distribution O and positions of defects, and distance L up from an upstream girth weld and length L 0 of a pipe joint.
In the step, various defects and girth weld detection data of the pipeline are extracted according to the detection result in the pipeline. The girth weld data comprises girth weld mileage and girth weld numbers, and the defect data comprises a mileage L of the defect, a girth weld number of the defect, a length L of the defect, a width w of the defect, circumferential distribution O of the defect, positions of the defect (metal loss, inner/outer), a distance L up from an upstream girth weld and a length L 0 of a pipe joint of the defect.
And 102, judging the interaction influence of the pipeline defect and the girth weld according to the girth weld data and the defect data, and/or judging the interaction influence of the pipeline compound defect according to the girth weld data and the defect data.
In this step, the composite defect of the pipeline is a composite defect formed by any two defects on the pipeline, such as a composite defect of a dent and a metal loss, a composite defect of a dent and a weld defect, a composite defect of a metal loss and a weld defect, and the like.
In this step, two kinds of interactive influence judgment are included:
the first category is that the interaction influence of the pipeline defect and the girth weld is judged, namely whether the pipeline defect is positioned on the girth weld is judged.
The second type is that judging the interaction influence of the compound defect of the pipeline, namely judging whether the pipeline has the compound defect or not.
As can be seen from the above description, the method for judging the interactive influence of the pipeline defect provided in this embodiment firstly obtains girth weld data and defect data of the pipeline, then judges the interactive influence of the pipeline defect and the girth weld according to the girth weld data and the defect data, and/or judges the interactive influence of the pipeline compound defect according to the girth weld data and the defect data. Therefore, the method for judging the interactive influence of the pipeline defects can judge the interactive influence of various defects of the pipeline, so that omission of composite defects of the pipeline when a professional evaluator analyzes the data of different types of defects of the pipeline can be avoided.
In a preferred embodiment, the determination of the first type of interaction (interaction of pipe defects with girth weld) specifically comprises:
S11, obtaining the distance L up between each defect and an upstream girth weld, and calculating the distance between the defect and a downstream girth weld as follows:
Ldown=L0-l-Lup
wherein L 0、l、Lup units are m;
s12, acquiring the distance L min,Lmin=min(|Lup|,Ldown between each defect and the nearest girth weld;
S13, judging the distance L min between the defect and the nearest girth weld and the size of a weld affected area a, wherein the size of the weld affected area a is generally 0.2m, if L min is larger than a, the defect does not have interaction effect with the girth weld, and if L min is smaller than or equal to a, the defect has interaction effect with the girth weld or is located on the girth weld.
It should be noted that the defect may be a dent defect or a metal loss defect, and when it is determined that the defect has an interaction with the girth weld or is located on the girth weld, the defect proves to be more serious in terms of security threat to the pipeline, so that a more strict and conservative evaluation criterion is adopted.
In a preferred embodiment, the determination of the second type of interaction effect (pipe composite defect interaction effect) is specifically implemented by the following manner, that is, the step of determining whether the pipe has a composite defect includes:
S21, for any composite defect, acquiring two types of defect data in the composite defect, taking one type of defect with a small number of defects in the two types of defects as a judging standard A, and the other type of defect as B, for example, on a pipeline, the number of pits is generally small, the number of metal losses is large, and for the composite defect judgment of pits and metal losses, each pit is taken as a standard.
S22, determining whether each A-type defect has a defect B or not, wherein the method comprises the following steps:
Taking a first defect A1 of A class, and acquiring mileage L A1, length L A1, width w A1 and circumferential distribution O A1 of A1;
judging whether the area of the defect A1 has B type defects or not, namely, judging whether the length L Bx, the width w Bx, the mileage L Bx and the circumferential distribution O Bx of the B type defects simultaneously meet the following two conditions of a and B:
a. the two defects are crossed in the axial direction, namely:
l Bx-1/2*lBx<LA1+1/2*lA1 and L Bx+1/2*lBx>LA1-1/2*lA1
B. the two defects are crossed in the circumferential direction, namely:
O Bx-360*wBx/πD<OA1+360*wA1/pi D and O Bx+360*wBx/πD>OA1-360*wA1/pi D
If the mileage and circumferential distribution of the defect Bx belongs to the area region of the defect A1, the defect Bx and the defect A1 are compound defects.
Further, the composite defect consisting of the defects Bx and A1 has a mileage of L A1, a circumferential distribution of O A1, and a length L A1Bx and a width w A1Bx according to the following relationship:
lA1Bx=max(LBx+1/2*lBx,LA1+1/2*lA1)-min(LBx-1/2*lBx,LA1-1/2*lA1)
wA1Bx=πD/180*{max(OBx+360*wBx/πD,OA1+360*wA1
/πD)-min(OBx-360*wBx/πD,OA1-360*wA1/πD)}
in the above formulas, the units of defect mileage, length and width are all m, and the circumferential distribution unit is converted into min (minutes).
Further, in step S22, when judging whether the area of the defect A1 has the B type defects one by one, firstly sorting the B type defects according to the mileage from small to large, and when judging the mileage L Bx>LA1+1/2*lA1 of the x type defect, indicating that the A1 defect has no combined defect, and directly searching the combined defect of the defect A2 without continuously searching in the B type defect.
As can be seen from the above description, in this embodiment, first, some kind of defects, such as pits, metal loss, weld defects, spiral weld and longitudinal weld defects, are found out in the detection result in the pipeline, then the detection data of the circumferential weld in the detection result in the pipeline are found out, then whether the defects are located on the circumferential weld is judged, and the interactive influence of the compound defects is judged, which mainly includes judging whether the compound defects of two types of defects exist, such as the compound defects of pits and metal loss, the compound defects of pits and weld defects, the compound defects of metal loss and weld defects, and finally the compound defect size is recalculated according to the defect size. Therefore, the method for judging the interactive influence of the pipeline defects can judge the interactive influence of various defects of the pipeline, so that omission of composite defects of the pipeline when a professional evaluator analyzes the composite defects due to independence of different types of defect data of the pipeline can be avoided.
Based on the same inventive concept, another embodiment of the present invention provides a device for judging the interactive influence of a pipe defect, referring to fig. 2, the device includes an acquisition module 21 and a judgment module 22, wherein:
the acquisition module 21 is used for acquiring girth weld data and defect data of a pipeline, wherein the girth weld data comprises girth weld mileage and girth weld numbers, and the defect data comprises mileage L, girth weld numbers where defects are located, length L, width w, circumferential distribution O and positions, and distance L up from an upstream girth weld and length L 0 of a pipe section where the defects are located;
And the judging module 22 is used for judging the interaction influence of the pipeline defects and the girth weld according to the girth weld data and the defect data, and/or judging the interaction influence of the pipeline composite defects according to the girth weld data and the defect data, wherein the pipeline composite defects are composite defects formed by any two defects on the pipeline.
In a preferred embodiment, the judging module 22 performs two kinds of interactive effect judgment, namely, judging the interactive effect of the pipeline defect and the girth weld, and judging the interactive effect of the pipeline compound defect.
In a preferred embodiment, the determining module 22 is specifically configured to perform the following procedure when determining the first type of interaction effect (interaction effect of pipe defect and girth weld):
S11, obtaining the distance L up between each defect and an upstream girth weld, and calculating the distance between the defect and a downstream girth weld as follows:
Ldown=L0-l-Lup
wherein L 0、l、Lup units are m;
s12, acquiring the distance L min,Lmin=min(|Lup|,Ldown between each defect and the nearest girth weld;
S13, judging the distance L min between the defect and the nearest girth weld and the size of a weld affected area a, if L min > a, indicating that the defect does not have interaction with the girth weld, and if L min is less than or equal to a, the defect has interaction with the girth weld or is positioned on the girth weld.
In a preferred embodiment, the determining module 22 is specifically configured to perform the following procedure when determining the second type of interaction effect (pipeline compound defect interaction effect):
s21, for any composite defect, acquiring two types of defect data in the composite defect, and taking one type of defect with a small number of defects in the two types of defects as a judging reference A, and the other type of defect as B;
s22, determining whether each A-type defect has a defect B or not, wherein the method comprises the following steps:
Taking a first defect A1 of A class, and acquiring mileage L A1, length L A1, width w A1 and circumferential distribution O A1 of A1;
judging whether the area of the defect A1 has B type defects or not, namely, judging whether the length L Bx, the width w Bx, the mileage L Bx and the circumferential distribution O Bx of the B type defects simultaneously meet the following two conditions of a and B:
a. the two defects are crossed in the axial direction, namely:
l Bx-1/2*lBx<LA1+1/2*lA1 and L Bx+1/2*lBx>LA1-1/2*lA1
B. the two defects are crossed in the circumferential direction, namely:
O Bx-360*wBx/πD<OA1+360*wA1/pi D and O Bx+360*wBx/πD>OA1-360*wA1/pi D
If the mileage and circumferential distribution of the defect Bx belongs to the area region of the defect A1, the defect Bx and the defect A1 are compound defects.
Further, the composite defect consisting of the defects Bx and A1 has a mileage of L A1, a circumferential distribution of O A1, and a length L A1Bx and a width w A1Bx according to the following relationship:
lA1Bx=max(LBx+1/2*lBx,LA1+1/2*lA1)-min(LBx-1/2*lBx,LA1-1/2*lA1)
wA1Bx=πD/180*{max(OBx+360*wBx/πD,OA1+360*wA1
/πD)-min(OBx-360*wBx/πD,OA1-360*wA1/πD)}。
in the above formulas, the units of defect mileage, length and width are all m, and the circumferential distribution unit is converted into min (minutes).
Further, in step S22, when judging whether the area of the defect A1 has the B type defects one by one, firstly sorting the B type defects according to the mileage from small to large, and when judging the mileage L Bx>LA1+1/2*lA1 of the x type defect, indicating that the A1 defect has no combined defect, and directly searching the combined defect of the defect A2 without continuously searching in the B type defect.
The device for judging the interaction effect of the pipe defect according to the present embodiment may be used to execute the method for judging the interaction effect of the pipe defect according to the foregoing embodiment, and the principle and the technical effect of the method are similar, and are not repeated here.
Based on the same inventive concept, a further embodiment of the invention provides an electronic device, see fig. 3, comprising in particular a processor 701, a memory 702, a communication interface 703 and a bus 704;
the processor 701, the memory 702 and the communication interface 703 complete communication with each other through the bus 704, wherein the communication interface 703 is used for realizing information transmission between related devices such as modeling software, an intelligent manufacturing equipment module library and the like;
The processor 701 is configured to invoke a computer program in the memory 702, where the processor executes the computer program to implement all the steps in the pipe defect interaction effect determination method according to the foregoing embodiment, for example, the processor executes the computer program to implement the following steps:
Step 101, acquiring girth weld data and defect data of a pipeline, wherein the girth weld data comprises girth weld mileage and girth weld numbers, and the defect data comprises mileage L, girth weld numbers, length L, width w, circumferential distribution O and positions of defects, and distance L up from an upstream girth weld and length L 0 of a pipe joint.
And 102, judging the interaction influence of the pipeline defect and the girth weld according to the girth weld data and the defect data, and/or judging the interaction influence of the pipeline compound defect according to the girth weld data and the defect data.
Based on the same inventive concept, a further embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements all the steps of the above-mentioned pipe defect interactive influence determination method, for example, the processor implements the following steps when executing the computer program:
Step 101, acquiring girth weld data and defect data of a pipeline, wherein the girth weld data comprises girth weld mileage and girth weld numbers, and the defect data comprises mileage L, girth weld numbers, length L, width w, circumferential distribution O and positions of defects, and distance L up from an upstream girth weld and length L 0 of a pipe joint.
And 102, judging the interaction influence of the pipeline defect and the girth weld according to the girth weld data and the defect data, and/or judging the interaction influence of the pipeline compound defect according to the girth weld data and the defect data.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
The above embodiments are only for illustrating the technical solution of the present invention, but not for limiting the same, and although the present invention has been described in detail with reference to the above embodiments, it should be understood by those skilled in the art that modifications may be made to the technical solution described in the above embodiments or equivalents may be substituted for part of the technical features thereof, and the modifications or substitutions do not depart from the spirit and scope of the technical solution of the embodiments of the present invention in essence.