Method and device for determining restraint state of pipeline crack and storage medium

By obtaining the plastic strain image of pipeline cracks and calculating the area of ​​the target area, the problem of low accuracy of pipeline crack restraint state in the prior art is solved, and a more accurate evaluation of pipeline fracture toughness is achieved.

CN119915807APending Publication Date: 2025-05-02PIPECHINA SOUTH CHINA CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411867299.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-18
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

In the prior art, the restraining state of pipeline cracks is problematic with low accuracy, and it is difficult to establish an association with the fracture toughness of the pipeline.

Method used

By obtaining the plastic strain image corresponding to the target pipeline crack, determining the target area in the plastic strain image, calculating the number of pixel points in the target area, and combining the number and area of ​​the pixel points in the preset cube model, the area of ​​the target area is determined to evaluate the restraining state of the pipeline crack.

Benefits of technology

It improves the accuracy of the crack restraint state of the pipeline, enhances the correlation with the fault toughness of the pipeline, and can more accurately evaluate the fault toughness of the pipeline.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119915807A_ABST
    Figure CN119915807A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for determining the restraint state of a pipeline crack and a storage medium, and relates to the technical field of pipeline crack detection, and the method for determining the restraint state of the pipeline crack comprises the following steps: obtaining a plastic strain image corresponding to a target pipeline crack; a target area in the plastic strain image is determined, and plastic strain values corresponding to pixel points in the target area are larger than a preset plastic strain threshold value; determining the number of pixel points corresponding to the target area to obtain a first pixel point number; and determining the area of the target region according to the number of the first pixel points, the number of the second pixel points corresponding to any surface in the preset cube model and the area of any surface in the preset cube model so as to obtain the restraint state of the crack of the target pipeline. According to the embodiment of the invention, the precision of the restraint state of the pipeline crack can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of pipeline crack detection, and in particular to a method, a device and a storage medium for determining a restraint state of a pipeline crack. Background Art

[0002] As an important transportation channel in the engineering field, pipelines are widely used in various industries such as petroleum, natural gas, and chemicals. In the process of transporting various oil and gas resources, if the pipeline breaks, part of the transported oil and gas resources will be leaked, thus causing safety problems in pipeline transportation. For example, the failure of the girth weld joint of the pipeline is a common pipeline breakage situation, and the failure of the girth weld joint of the pipeline is often because the crack propagation driving force of the girth weld is greater than the fracture toughness of the pipeline. Therefore, in order to avoid the failure of the girth weld joint of the pipeline, attention should be paid to the fracture toughness of the pipeline. Generally speaking, the fracture toughness of the pipeline can be evaluated by the restraint state of the pipeline crack.

[0003] The existing technology usually uses stress triaxiality to characterize the restraint state of pipeline cracks, that is, to obtain the three-directional stress state parameters of each node in the pipeline crack area, and to calculate the stress triaxiality values ​​of each node within the pipeline crack area, and then determine the maximum value of the stress triaxiality in each node, and use this maximum value to characterize the restraint state of the pipeline crack. However, studies have shown that the restraint state of pipeline cracks determined by stress triaxiality is difficult to establish a correlation with the fracture toughness of the pipeline. Therefore, the restraint state of pipeline cracks determined by stress triaxiality has the problem of low accuracy. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a method, device, equipment and storage medium for determining the restraint state of a pipeline crack, so as to solve the problem of low accuracy of the restraint state of a pipeline crack in the prior art.

[0005] In order to achieve the above-mentioned object, the first aspect of the present application provides a method for determining the restraint state of a pipeline crack, the method comprising:

[0006] Obtain the plastic strain image corresponding to the crack of the target pipeline;

[0007] Determining a target area in the plastic strain image, wherein the plastic strain value corresponding to the pixel point in the target area is greater than a preset plastic strain threshold;

[0008] Determine the number of pixels corresponding to the target area to obtain a first number of pixels;

[0009] The area of ​​the target region is determined according to the number of first pixel points, the number of second pixel points corresponding to any surface in the preset cubic model, and the area of ​​any surface in the preset cubic model to obtain the restraint state of the target pipeline crack.

[0010] In an embodiment of the present application, the area of ​​the target region is determined according to the first number of pixels, the second number of pixels corresponding to any one face in a preset cube model, and the area of ​​any one face in the preset cube model to obtain the restraint state of the target pipeline crack, including: determining the ratio of the first number of pixels to the second number of pixels to obtain the pixel number ratio; calculating the product of the pixel number ratio and the area of ​​any one face in the preset cube model to determine the area of ​​the target region to obtain the restraint state of the target pipeline crack.

[0011] In an embodiment of the present application, determining a target area in a plastic strain image includes: obtaining RGB values ​​corresponding to each pixel in the plastic strain image; determining the plastic strain value corresponding to each pixel according to the RGB values ​​corresponding to each pixel based on a predetermined correspondence between the plastic strain value and the RGB value; and defining the pixel points whose plastic strain values ​​are greater than a preset plastic strain threshold value into the target area.

[0012] In an embodiment of the present application, determining the correspondence between the plastic strain value and the RGB value includes: obtaining a historical plastic strain image corresponding to a historical pipeline crack; obtaining an RGB value and a plastic strain value corresponding to each pixel point in the historical plastic strain image; and obtaining a correspondence according to the RGB value and the plastic strain value corresponding to each pixel point in the historical plastic strain image.

[0013] In an embodiment of the present application, a target pipeline crack is located on a target pipeline, and obtaining a plastic strain image corresponding to the target pipeline crack includes: obtaining pipeline parameters of the target pipeline and crack parameters of the target pipeline crack; constructing a pipeline model corresponding to the target pipeline according to the pipeline parameters and the crack parameters, wherein the pipeline model includes the target pipeline crack; and obtaining a plastic strain image corresponding to the target pipeline crack.

[0014] In the embodiment of the present application, the pipeline parameters include the pipeline outer diameter, the pipeline wall thickness and the pipeline material; the crack parameters include the crack position, the crack length and the crack depth.

[0015] In an embodiment of the present application, the target pipeline crack includes a girth weld crack; a pipeline model corresponding to the target pipeline is constructed according to pipeline parameters and crack parameters, including: obtaining weld material parameters corresponding to the girth weld crack, wherein the weld material parameters include girth weld parent material, weld metal, yield strength, tensile strength, yield strength ratio, hardening index and weld strength matching coefficient; a pipeline model corresponding to the target pipeline is constructed according to pipeline parameters, crack parameters and weld material parameters.

[0016] A second aspect of an embodiment of the present application provides an apparatus for determining a restraint state of a pipeline crack, comprising: a memory configured to store instructions; and a processor configured to call instructions from the memory and implement the above-mentioned method for determining a restraint state of a pipeline crack when executing the instructions.

[0017] A third aspect of an embodiment of the present application provides a device for determining a restraint state of a pipeline crack, including: an apparatus for determining a restraint state of a pipeline crack according to the above-mentioned apparatus.

[0018] A fourth aspect of an embodiment of the present application provides a machine-readable storage medium having instructions stored thereon, the instructions being used to enable a machine to execute the above-mentioned method for determining a restraint state of a pipeline crack.

[0019] The above technical solution can determine the target area in the plastic strain image by acquiring the plastic strain image corresponding to the target pipeline crack, wherein the plastic strain value corresponding to the pixel point in the target area is greater than the preset plastic strain threshold, and then determine the number of pixel points corresponding to the target area to obtain the first number of pixel points, and finally, determine the area of ​​the target area according to the first number of pixel points, the second number of pixel points corresponding to the preset cube model, and the area of ​​any face in the preset cube model to obtain the restraint state of the target pipeline crack. Studies have shown that there is a strong correlation between the restraint state of the pipeline crack determined by the area of ​​the target area and the fracture toughness of the pipeline. Therefore, the area of ​​the target area determined by the above method can be used to evaluate the restraint state of the pipeline crack and improve the accuracy of the restraint state of the pipeline crack.

[0020] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0022] Figure 1 A schematic diagram of a process of a method for determining a restraint state of a pipeline crack according to an embodiment of the present application is schematically shown;

[0023] Figure 2 A schematic diagram of a preset cube model according to an embodiment of the present application is schematically shown;

[0024] Figure 3 A model schematic diagram of a pipeline model according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0026] It should be noted that the acquisition, transmission, storage, use, and processing of data in the technical solution of this application are in compliance with the relevant provisions of national laws and regulations. In the embodiments of this application, some existing solutions in the industry such as certain software, components, and models may be mentioned, which should be considered as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of this application, but it does not mean that the applicant has or will necessarily use the solution.

[0027] It should be noted that if the embodiments of the present application involve directional indications (such as up, down, left, right, front, back...), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0028] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0029] Figure 1 The following schematically shows a flow chart of a method for determining the restraint state of a pipeline crack according to an embodiment of the present application. Figure 1 As shown, an embodiment of the present application provides a method for determining the restraint state of a pipeline crack. Taking the method applied to a processor as an example, the method may include the following steps.

[0030] Step S101, obtaining a plastic strain image corresponding to a target pipeline crack.

[0031] Step S102, determining a target area in the plastic strain image, wherein the plastic strain value corresponding to the pixel point in the target area is greater than a preset plastic strain threshold.

[0032] Step S103, determining the number of pixels corresponding to the target area to obtain a first number of pixels.

[0033] Step S104, determining the area of ​​the target region according to the number of first pixel points, the number of second pixel points corresponding to any surface in the preset cube model, and the area of ​​any surface in the preset cube model to obtain the restraint state of the target pipeline crack.

[0034] It can be understood that the target pipeline crack is a pipeline crack whose restraint state needs to be determined. The plastic strain image corresponding to the target pipeline crack is an image of the target pipeline crack obtained after plastic strain processing is performed on the target pipeline crack. The plastic strain processing is stretching processing or deformation processing. The plastic strain image can be used to intuitively represent the various different plastic strain areas in the target pipeline crack. The preset plastic strain threshold is a preset plastic strain value, such as 0.2. The target area is an area where the plastic strain value of the pixel point in the plastic strain image is greater than the preset plastic strain threshold. The preset cube model is a cube model with a preset size. For example, a cube model with a size of 0.5mm×0.5mm can be preset, such as Figure 2 As shown, the second number of pixels corresponding to the preset cube model is the number of pixels on any face of the preset cube model. The restraint state of the pipeline crack can be used to characterize the degree of obstruction of the target pipeline crack to the plastic deformation behavior of the pipeline crack tip. The area of ​​the target region can be used to characterize the restraint state of the target pipeline crack. The first number of pixels is the number of pixels corresponding to the target region in the plastic strain image.

[0035] Specifically, a plastic strain image corresponding to the target pipeline crack can be obtained by using a screenshot tool, a mobile device with a camera function, writing a screenshot code or other screenshot methods, and then the processor can determine the plastic strain value of each pixel in the plastic strain image, and compare the plastic strain value of each pixel with the preset plastic strain threshold value to determine the target area where the plastic strain value of the pixel in the plastic strain image is greater than the preset plastic strain threshold value, and then the processor can determine the number of each pixel in the target area in the plastic strain image (the first number of pixels) by programming or other pixel determination methods, and at the same time, the processor can also determine the pixels and area corresponding to any one face of the preset cube model. Finally, the processor can determine the area of ​​the target area according to the first number of pixels, the second number of pixels corresponding to any one face of the preset cube model, and the area of ​​any one face of the preset cube model to obtain the restraint state of the target pipeline crack.

[0036] The above method for determining the restraint state of a pipeline crack can determine the target area in the plastic strain image by acquiring the plastic strain image corresponding to the target pipeline crack, wherein the plastic strain value corresponding to the pixel point in the target area is greater than the preset plastic strain threshold, and then the number of pixel points corresponding to the target area is determined to obtain the first number of pixel points. Finally, the area of ​​the target area is determined according to the first number of pixel points, the second number of pixel points corresponding to the preset cube model, and the area of ​​any face in the preset cube model to obtain the restraint state of the target pipeline crack. Studies have shown that there is a strong correlation between the restraint state of the pipeline crack determined by the area of ​​the target area and the fracture toughness of the pipeline. Based on this, the area of ​​the target area determined by the above method can be used to evaluate the restraint state of the pipeline crack, thereby improving the accuracy of the restraint state of the target pipeline crack.

[0037] In one embodiment, the area of ​​the target region is determined based on the first number of pixels, the second number of pixels corresponding to any one face in a preset cube model, and the area of ​​any one face in the preset cube model to obtain the restraint state of the target pipeline crack, which may include: determining the ratio of the first number of pixels to the second number of pixels to obtain a pixel number ratio; calculating the product of the pixel number ratio and the area of ​​any one face in the preset cube model to determine the area of ​​the target region to obtain the restraint state of the target pipeline crack.

[0038] It can be understood that the pixel number ratio is the ratio of the first pixel number of the target area to the second pixel number of any surface of the preset cube model.

[0039] Specifically, the processor can determine the ratio of the first number of pixels to the second number of pixels based on the equivalent relationship between the area ratio and the pixel number ratio (pixel ratio method), thereby obtaining the pixel number ratio, and calculate the product of the number of pixels and the area in combination with the area of ​​any face in the preset cube model, thereby determining the area of ​​the target area, thereby determining the restraint state of the target pipeline crack. Compared with the prior art, the amount of calculation is reduced, the difficulty of calculation is reduced, the error in the calculation process can be reduced, the accuracy of calculation is improved, and the restraint state of the target pipeline crack can be accurately evaluated.

[0040] The area of ​​the target region can be determined using the following formula:

[0041]

[0042] Among them, A1 is the area of ​​the target area, M1 is the number of first pixel points, M2 is the number of second pixel points, and A2 is the area of ​​any face of the preset cube model.

[0043] In a specific embodiment, if the number of first pixel points M1 corresponding to the target area is 514, the number of second pixel points M2 on any surface of a cube model with a size of 0.5 mm×0.5 mm is 897, and the area A2 of any surface of a cube model with a size of 0.5 mm×0.5 mm is 25 mm 2 According to the above formula, the area A1 of the target area can be determined as an infinite non-repeating decimal. After rounding to three decimal places, the area A1 of the target area is 14.326 mm. 2 .

[0044] In one embodiment, determining a target area in a plastic strain image may include: obtaining RGB values ​​corresponding to each pixel in the plastic strain image; determining the plastic strain value corresponding to each pixel according to the RGB values ​​corresponding to each pixel based on a predetermined correspondence between the plastic strain value and the RGB value; and marking the pixel points whose plastic strain values ​​are greater than a preset plastic strain threshold value as the target area.

[0045] It can be understood that the RGB values ​​are the values ​​of the three channels of red, green and blue. Different values ​​of each channel display different colors. The corresponding relationship between the predetermined plastic strain value and the RGB value is the corresponding relationship between the predetermined plastic strain value and the RGB value, and each plastic strain value corresponds to an RGB value.

[0046] Specifically, the processor can accurately identify the RGB values ​​corresponding to each pixel in the plastic strain image, and then, based on the predetermined correspondence between the plastic strain value and the RGB value, determine the plastic strain value corresponding to the RGB value of each pixel, compare the plastic strain value in each pixel with the preset plastic strain threshold, determine the pixel whose plastic strain value is greater than the preset strain threshold, and then, mark the pixel whose plastic strain value is greater than the preset plastic strain threshold in each pixel into the target area. Thus, by identifying the RGB value of each pixel in the plastic strain image, the pixel whose plastic strain value is greater than the preset plastic strain threshold can be accurately judged, and the pixel can be marked as the target area, which can accurately divide the target area and improve the accuracy of calculating the area of ​​the target area.

[0047] In a specific embodiment, if it is determined that the RGB value corresponding to the target area whose plastic strain value is greater than the preset strain threshold is (128, 128, 128), the color visible to the naked eye is gray. Therefore, the processor can identify the RGB value of each pixel in the plastic strain image, thereby accurately judging the pixel point in the plastic strain image whose plastic strain value is greater than the preset plastic strain threshold, and marking the pixel point as the target area (gray area).

[0048] In one embodiment, determining the correspondence between the plastic strain value and the RGB value may include: obtaining a historical plastic strain image corresponding to a historical pipeline crack; obtaining an RGB value and a plastic strain value corresponding to each pixel point in the historical plastic strain image; and obtaining a correspondence according to the RGB value and the plastic strain value corresponding to each pixel point in the historical plastic strain image.

[0049] It can be understood that the historical pipeline cracks are previously used pipeline cracks, the number of historical pipeline cracks can be multiple, the historical plastic strain images are plastic strain images corresponding to the previously used historical pipeline cracks, the number of historical plastic strain images can be multiple, and the corresponding relationship is a one-to-one correspondence between RGB values ​​and plastic strain values.

[0050] Specifically, the processor can obtain the RGB values ​​and plastic strain values ​​corresponding to each pixel point in a large number of historical plastic strain images, and determine the corresponding relationship between the RGB values ​​and the plastic strain values, so that the plastic strain value in the plastic strain image can be accurately determined according to the RGB values, thereby improving the accuracy of image recognition.

[0051] In one embodiment, the target pipeline crack is located on the target pipeline, and obtaining a plastic strain image corresponding to the target pipeline crack may include: obtaining pipeline parameters of the target pipeline and crack parameters of the target pipeline crack; constructing a pipeline model corresponding to the target pipeline according to the pipeline parameters and the crack parameters, wherein the pipeline model includes the target pipeline crack; and obtaining a plastic strain image corresponding to the target pipeline crack.

[0052] It can be understood that the target pipeline crack can be a pipeline crack on the target pipeline, the pipeline parameters can be parameters used to construct a pipeline model, the crack parameters can be parameters used to construct the target pipeline crack on the pipeline model, the pipeline model can include the target pipeline and the target pipeline crack, and the pipeline model can be a finite element model.

[0053] Specifically, after obtaining the pipeline parameters and crack parameters of the target pipeline and the crack parameters of the target pipeline crack preset by the user, the pipeline parameters and crack parameters can be input into the finite element software, and the pipeline model can be constructed according to the pipeline parameters, and the target pipeline crack on the pipeline model can be constructed according to the crack parameters, such as Figure 3 As shown in the figure, the plastic strain image corresponding to the target pipeline crack is obtained. In this way, the pipeline model can be accurately constructed based on the pipeline parameters and crack parameters using finite element software, and plastic strain images with different strain conditions under different strength matching coefficients under a certain extension amount can be obtained, thereby realizing batch output of plastic strain images, improving the efficiency of model output, and intuitively reflecting the different strain conditions of each plastic strain image.

[0054] In one embodiment, the pipeline parameters may include the pipeline outer diameter, the pipeline wall thickness, and the pipeline material; the crack parameters may include the crack location, the crack length, and the crack depth.

[0055] It can be understood that pipeline parameters may include but are not limited to pipeline outer diameter, pipeline wall thickness and pipeline material. The pipeline outer diameter and pipeline wall thickness can be used to determine the size of the pipeline, and the pipeline material can be used to determine the material properties of the pipeline. Crack parameters may include but are not limited to crack location, crack length and crack depth. The crack location can be used to determine the specific location of the target pipeline crack in the target pipeline, and the crack length and crack depth can be used to determine the shape and state of the crack.

[0056] In a specific embodiment, the pipeline parameters may include: the pipeline material may be X80 (X80 indicates pipeline steel with a minimum yield strength of 80kpi), the pipeline outer diameter may be 1422mm, and the pipeline wall thickness may be 21.4mm; the crack parameters may include: the crack position may be on the center line of the girth weld of the target pipeline, the crack length may be 100mm, and the crack depth may be 3mm.

[0057] In one embodiment, the target pipeline crack includes a girth weld crack; constructing a pipeline model corresponding to the target pipeline according to pipeline parameters and crack parameters may include: obtaining weld material parameters corresponding to the girth weld crack, wherein the weld material parameters include girth weld base material, weld metal, yield strength, tensile strength, yield strength ratio, hardening index and weld strength matching coefficient; constructing a pipeline model corresponding to the target pipeline according to the pipeline parameters, crack parameters and weld material parameters.

[0058] It can be understood that the target pipeline cracks may include but are not limited to girth weld cracks, and may also include longitudinal weld cracks. The location of the target pipeline cracks may be on the center line of the girth weld, and the weld material parameters may include but are not limited to girth weld base material, weld metal, yield strength, tensile strength, yield strength ratio, hardening index and weld strength matching coefficient.

[0059] Specifically, after obtaining the pipeline parameters and crack parameters of the target pipeline and the crack parameters of the target pipeline cracks preset by the user, the weld material parameters can also be obtained, and the pipeline parameters, crack parameters and weld material parameters can be input into the finite element software. According to the pipeline parameters, the pipeline model can be constructed, according to the crack parameters, the target pipeline crack on the pipeline model can be constructed, and according to the weld material parameters, the girth weld crack on the target pipeline can be constructed. In this way, based on the pipeline parameters, crack parameters and weld material parameters, the elongation test of the full-size pipeline can be simulated, which reduces the test cost and improves the test efficiency. The use of finite element software to accurately construct the target pipeline on the pipeline model and the girth weld crack on the target pipeline can improve the precision of the model.

[0060] In a specific embodiment, at present, due to the implementation of the West-East Gas Pipeline Project, the pipeline industry has developed rapidly. In the process of continuous construction and development of high-grade steel pipelines and the realization of efficient allocation of oil and gas resources, the failure of girth weld joints has caused major risks in the operation of pipelines. However, the failure of pipeline girth welds is often because the crack propagation driving force of the girth weld is greater than the fracture toughness of the material. Therefore, fracture toughness, as a core parameter of pipeline design and engineering critical assessment, has an important impact on the assessment results of the safety status of pipeline girth weld structures. The fracture toughness of the material is not only determined by the material properties itself, but also by factors such as the geometric dimensions of the structure, the load form, and the crack size. These factors affect the fracture toughness of the material and the crack propagation behavior by changing the restraint state of the pipeline crack. Therefore, the fracture toughness of the pipeline material is generally assessed by determining the restraint state of the pipeline crack.

[0061] The embodiment of the present application provides a method for determining the restraint state of a pipeline crack, which adopts a finite element method combined with a pixel ratio method to determine the area of ​​a desired region, which is used to characterize the restraint state of the pipeline crack, and then evaluate the fracture toughness of the pipeline material. The specific process may be: pipeline parameters, crack parameters and some weld material parameters may be obtained to construct a pipeline model, specifically: pipeline parameters may include: pipeline material may be X80 (X80 represents pipeline steel with a minimum yield strength of 80kpi), pipeline outer diameter may be 1422mm, and pipeline wall thickness may be 21.4mm; crack parameters may include: crack position may be on the center line of the girth weld of the target pipeline, crack length may be 100mm, crack depth may be 3mm, some weld material parameters may include: yield strength ratio may be 0.89, hardening index may be 0.06 and weld strength matching coefficient may be 0.8, in addition, it may also be possible to A preset cube model with a size of 0.5 mm × 0.5 mm is constructed by using finite element software, and the plastic strain image corresponding to the target pipeline crack output by the pipeline model is obtained. The preset plastic strain threshold is pre-set to 0.2, and the RGB value of each pixel in the plastic strain image is identified. Based on the predetermined correspondence between the plastic strain value and the RGB value (pixel ratio method), the plastic strain value corresponding to each pixel is determined according to the RGB value corresponding to each pixel, and then the target area in the plastic strain image where the plastic strain value is greater than the preset plastic strain threshold (0.2) is determined, and the number of corresponding pixels in the target area is identified, and the number of first pixel points M1 is 514, the number of second pixel points M2 on any surface of the cube model with a size of 0.5 mm × 0.5 mm is 897, and the area A2 of any surface of the cube model with a size of 0.5 mm × 0.5 mm is 25 mm 2 Based on the equal relationship between the area ratio and the pixel number ratio, it can be determined that the area A1 of the target area is 14.326 mm 2, thereby evaluating the restraint state of the target pipeline crack and further evaluating the fracture toughness of the target pipeline.

[0062] The above technical solution can determine the target area in the plastic strain image by acquiring the plastic strain image corresponding to the target pipeline crack, wherein the plastic strain value corresponding to the pixel point in the target area is greater than the preset plastic strain threshold, and then determine the number of pixel points corresponding to the target area to obtain the first number of pixel points, and finally, determine the area of ​​the target area according to the first number of pixel points, the second number of pixel points corresponding to the preset cube model, and the area of ​​any face in the preset cube model to obtain the restraint state of the target pipeline crack. Therefore, studies have shown that there is a strong correlation between the restraint state of the pipeline crack determined by the area of ​​the target area and the fracture toughness of the pipeline. Therefore, the area of ​​the target area determined by the above method can be used to evaluate the restraint state of the pipeline crack, which can improve the evaluation accuracy of the restraint state of the pipeline crack.

[0063] An embodiment of the present application also provides a device for determining the restraint state of a pipeline crack, the device comprising: a memory configured to store instructions; and a processor configured to call instructions from the memory and implement the above-mentioned method for determining the opening displacement of a pipeline crack when executing the instructions.

[0064] An embodiment of the present application also provides a device for determining a restraint state of a pipeline crack, the device comprising the device for determining a restraint state of a pipeline crack according to the above.

[0065] An embodiment of the present application further provides a machine-readable storage medium, on which instructions are stored, and the instructions are used to enable a machine to execute the above-mentioned method for determining the restraint state of a pipeline crack.

[0066] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0067] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0068] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0069] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0070] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0071] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0072] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0073] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0074] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for determining the restraint state of a pipeline crack, characterized in that: The method comprises: Obtain the plastic strain image corresponding to the crack of the target pipeline; Determining a target area in the plastic strain image, wherein a plastic strain value corresponding to a pixel point in the target area is greater than a preset plastic strain threshold; Determine the number of pixels corresponding to the target area to obtain a first number of pixels; The area of ​​the target region is determined according to the first number of pixels, the second number of pixels corresponding to any surface in the preset cubic model, and the area of ​​any surface in the preset cubic model to obtain the restraint state of the target pipe crack.

2. The method according to claim 1, characterized in that The determining the area of ​​the target region according to the first number of pixels, the second number of pixels corresponding to any surface in the preset cubic model, and the area of ​​any surface in the preset cubic model to obtain the restraint state of the target pipe crack includes: Determine a ratio of the first number of pixels to the second number of pixels to obtain a pixel number ratio; The product of the pixel number ratio and the area of ​​any one face in the preset cubic model is calculated to determine the area of ​​the target region, so as to obtain the restraint state of the target pipeline crack.

3. The method according to claim 1, characterized in that The determining of the target area in the plastic strain image comprises: Obtaining the RGB value corresponding to each pixel in the plastic strain image; Based on the predetermined correspondence between the plastic strain value and the RGB value, the plastic strain value corresponding to each pixel point is determined according to the RGB value corresponding to each pixel point; Pixel points whose plastic strain values ​​among the pixels are greater than a preset plastic strain threshold are drawn into the target area.

4. The method according to claim 3, characterized in that: The determination of the correspondence between the plastic strain value and the RGB value includes: Obtain historical plastic strain images corresponding to historical pipeline cracks; Obtaining the RGB value and plastic strain value corresponding to each pixel point in the historical plastic strain image; The corresponding relationship is obtained according to the RGB value and the plastic strain value corresponding to each pixel point in the historical plastic strain image.

5. The method according to claim 1, characterized in that The target pipeline crack is located on the target pipeline, and obtaining a plastic strain image corresponding to the target pipeline crack includes: Acquiring pipeline parameters of the target pipeline and crack parameters of the crack in the target pipeline; Constructing a pipeline model corresponding to the target pipeline according to the pipeline parameters and the crack parameters, wherein the pipeline model includes the target pipeline crack; A plastic strain image corresponding to the target pipeline crack is obtained.

6. The method according to claim 5, characterized in that The pipeline parameters include pipeline outer diameter, pipeline wall thickness and pipeline material; the crack parameters include crack position, crack length and crack depth.

7. The method according to claim 6, characterized in that The target pipeline crack includes a girth weld crack; and constructing a pipeline model corresponding to the target pipeline according to the pipeline parameters and the crack parameters, including: Obtaining weld material parameters corresponding to the girth weld crack, wherein the weld material parameters include girth weld base material, weld metal, yield strength, tensile strength, yield strength ratio, hardening index, and weld strength matching coefficient; A pipeline model corresponding to the target pipeline is constructed according to the pipeline parameters, the crack parameters and the weld material parameters.

8. A device for determining the restraint state of a pipeline crack, characterized in that: include: a memory configured to store instructions; as well as A processor is configured to call the instructions from the memory and implement the method for determining the restraint state of a pipeline crack according to any one of claims 1 to 7 when executing the instructions.

9. An apparatus for determining the restraint state of a pipeline crack, characterized in that include; The device for determining the restrained state of a pipeline crack according to claim 8.

10. A machine-readable storage medium, characterized in that: The machine-readable storage medium stores instructions, which are used to enable a machine to execute the method for determining the restraint state of a pipeline crack according to any one of claims 1 to 7.