Method and device for determining residual life of pipeline, electronic equipment and storage medium

By calculating the equivalent diameter, current density and corrosion rate of defects in the pipeline, and combining environmental parameters, accurately predicting the remaining life of the pipeline, the problem of inaccurate prediction caused by insufficient parameters in the prior art is solved, and the reliability of safe operation of the pipeline is improved.

CN120102640APending Publication Date: 2025-06-06PIPECHINA SOUTH CHINA CO +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510146629.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-10
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

In the prior art, when predicting the remaining life of the pipeline, fewer parameters are considered, resulting in low prediction accuracy and the inability to accurately predict the remaining life of the pipeline.

Method used

The equivalent diameter is determined based on the defect parameters of the defect in the pipeline, combined with the interference voltage, dielectric resistivity and environmental parameters, the current density and corrosion rate are calculated, and finally the remaining life of the pipeline is determined based on the corrosion rate and the maximum allowable corrosion depth.

Benefits of technology

It improves the accuracy of prediction of the remaining life of the pipeline, reduces the probability of pipeline failure, and ensures the safe operation of the pipeline.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120102640A_ABST
    Figure CN120102640A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for determining the residual life of a pipeline, electronic equipment and a storage medium, relates to the technical field of determination of the residual life of the pipeline, and aims to solve the problems that the accuracy of predicting the residual life of the pipeline is low, and the residual life of the pipeline cannot be accurately predicted. Comprising the steps that the equivalent diameter of a defect in a to-be-detected pipeline is determined based on defect parameters of the defect in the to-be-detected pipeline, and the defect parameters comprise the defect length and the defect width; determining the current density of the to-be-detected pipeline based on the interference voltage of the to-be-detected pipeline, the dielectric resistivity outside the to-be-detected pipeline and the equivalent diameter of the defect; based on the current density and the environmental parameters, determining the corrosion rate of the to-be-detected pipeline; and determining the residual life of the to-be-detected pipeline based on the corrosion rate, the maximum allowable corrosion depth of the to-be-detected pipeline and the defect depth of the defect in the to-be-detected pipeline.
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 remaining life determination, and in particular to a pipeline remaining life determination method, device, electronic device and storage medium. Background Art

[0002] At present, the basic process for evaluating volumetric defects in pipelines (such as oil and gas pipelines) is as follows: first, it is necessary to collect evaluation parameters (such as the diameter and wall thickness of the pipeline, the maximum depth and length of the defect (corrosion area), the material properties of the pipe, etc.), and then calculate the failure pressure of the defect according to the formula, so as to predict the remaining life of the pipeline based on these standard parameters.

[0003] However, the current method considers fewer parameters when predicting the remaining life of the pipeline, resulting in the predicted remaining life of the pipeline being inaccurate. Therefore, the current prediction accuracy of the remaining life of the pipeline is low and the remaining life of the pipeline cannot be accurately predicted. Summary of the invention

[0004] The purpose of the present application is to provide a method, device, electronic device and storage medium for determining the remaining life of a pipeline, aiming to solve the problem that the accuracy of predicting the remaining life of a pipeline is low and the remaining life of the pipeline cannot be accurately predicted.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, the present application provides a method for determining the remaining life of a pipeline, comprising:

[0007] Determine the equivalent diameter of the defect in the pipeline to be detected based on defect parameters of the defect in the pipeline to be detected, the defect parameters include: defect length and defect width;

[0008] Determine the current density of the pipeline to be inspected based on the interference voltage of the pipeline to be inspected, the resistivity of the medium outside the pipeline to be inspected, and the equivalent diameter of the defect;

[0009] Determine the corrosion rate of the pipeline to be inspected based on current density and environmental parameters;

[0010] The remaining life of the pipeline to be inspected is determined based on the corrosion rate, the maximum allowable corrosion depth of the pipeline to be inspected, and the defect depth of the defect in the pipeline to be inspected.

[0011] The method for determining the remaining life of a pipeline provided in an embodiment of the present application first determines the equivalent diameter of the defect in the pipeline to be detected based on the defect length and defect width of the defect in the pipeline to be detected; and then determines the current density of the pipeline to be detected based on the interference voltage of the pipeline to be detected, the dielectric resistivity outside the pipeline to be detected, and the equivalent diameter of the defect. Furthermore, based on the determined current density and environmental parameters, the corrosion rate of the pipeline to be detected can be determined. In this way, when the corrosion rate of the pipeline to be detected is determined, the remaining life of the pipeline to be detected can be determined in combination with the maximum allowable corrosion depth of the pipeline to be detected and the defect depth of the defect in the current pipeline to be detected.

[0012] In this way, the corrosion rate of the pipeline to be inspected can be accurately determined based on various parameters of the pipeline to be inspected. Therefore, based on the determined corrosion rate, the time required for the defect in the pipeline to be inspected to reach the maximum allowable corrosion depth from the current defect depth can be determined. And this time is the remaining life of the pipeline to be inspected. Based on this method, the accuracy of predicting the remaining life of the pipeline can be improved, and the remaining life of the pipeline can be accurately predicted, which can further effectively reduce the probability of pipeline failure and ensure the safe operation of the pipeline.

[0013] In some embodiments, determining the equivalent diameter of the defect in the pipeline to be detected based on the defect parameters of the defect in the pipeline to be detected includes:

[0014] The equivalent diameter of the defect is determined by the following formula:

[0015]

[0016] in, represents the equivalent diameter, L represents the defect length, and D represents the defect width.

[0017] In some embodiments, the current density of the pipeline to be inspected is determined based on the interference voltage of the pipeline to be inspected, the resistivity of the medium outside the pipeline to be inspected, and the equivalent diameter of the defect, including:

[0018] In the case where there are multiple defects, based on the equivalent diameter of each of the multiple defects, an equivalent diameter function corresponding to the multiple defects in the pipeline to be inspected is fitted;

[0019] Random sampling is performed from the equivalent diameter function based on the Monte Carlo method to obtain a first sampling result;

[0020] Based on the first sampling result, interference voltage, and dielectric resistivity, the current density function corresponding to the pipeline to be inspected is determined by the following formula:

[0021]

[0022] Among them, f(J) represents the current density function, V represents the interference voltage, and f(ρ) represents the function corresponding to the dielectric resistivity. represents the equivalent diameter function;

[0023] The current density is determined based on the current density function.

[0024] In some embodiments, based on the current density and the environmental parameters, the corrosion rate of the pipeline to be inspected is determined, including:

[0025] Random sampling is performed from the current density function based on the Monte Carlo method to obtain a second sampling result;

[0026] Based on the second sampling result and environmental parameters, the corrosion rate function corresponding to the pipeline to be tested is determined by the following formula:

[0027] f(v)=∫(f(J), environmental parameters)

[0028] Where, f(v) represents the corrosion rate function;

[0029] The corrosion rate is determined based on the corrosion rate function.

[0030] In some embodiments, the corrosion rate function satisfies the following formula:

[0031]

[0032] The constant term in the formula is determined based on environmental parameters.

[0033] In some embodiments, the corrosion rate function satisfies the following formula:

[0034] f(v)=0.0267×f(J) 0.3397

[0035] The constant term in the formula is determined based on environmental parameters.

[0036] In some embodiments, the corrosion rate function satisfies the following formula:

[0037]

[0038] The constant term in the formula is determined based on environmental parameters.

[0039] In some embodiments, the corrosion rate function satisfies the following formula:

[0040] f(v)=0.087×e 0.0027f(J)

[0041] The constant term in the formula is determined based on environmental parameters.

[0042] In some embodiments, determining the remaining life of the pipeline to be inspected based on the corrosion rate, the maximum allowable corrosion depth of the pipeline to be inspected, and the defect depth of the defect in the pipeline to be inspected includes:

[0043] Random sampling is performed from the corrosion rate function based on the Monte Carlo method to obtain a third sampling result;

[0044] Based on the third sampling result, the maximum allowable corrosion depth, and the defect depth, the remaining life function of the pipeline to be inspected is determined by the following formula:

[0045]

[0046] Where f(T) represents the remaining life function, d represents the maximum allowable corrosion depth, and d I represents the defect depth, f(v) represents the corrosion rate function;

[0047] The remaining life of the pipeline to be inspected is determined based on the remaining life function.

[0048] In some embodiments, the maximum allowable corrosion depth satisfies the following formula:

[0049]

[0050] Among them, P F Indicates failure pressure, S flow It represents the rheological stress, D represents the diameter of the pipe to be tested, t represents the wall thickness of the pipe to be tested, d represents the maximum allowable corrosion depth, and M represents the expansion coefficient.

[0051] In a second aspect, the present application provides a pipeline remaining life determination device, comprising:

[0052] A processing unit, used to determine an equivalent diameter of the defect in the pipeline to be detected based on defect parameters of the defect in the pipeline to be detected, wherein the defect parameters include: defect length and defect width;

[0053] The processing unit is further used to determine the current density of the pipeline to be inspected based on the interference voltage of the pipeline to be inspected, the resistivity of the medium outside the pipeline to be inspected, and the equivalent diameter of the defect;

[0054] The processing unit is further used to determine the corrosion rate of the pipeline to be inspected based on the current density and the environmental parameters;

[0055] The processing unit is further used to determine the remaining life of the pipeline to be inspected based on the corrosion rate, the maximum allowable corrosion depth of the pipeline to be inspected, and the defect depth of the defect in the pipeline to be inspected.

[0056] In a third aspect, the present application provides an electronic device comprising: a processor and a memory; wherein the memory is used to store one or more programs, and the one or more programs include computer execution instructions. When the electronic device is running, the processor executes the computer execution instructions stored in the memory to enable the electronic device to execute the pipeline remaining life determination method of the first aspect.

[0057] The electronic device may be a network device, or a part of a network device, such as a chip system in a network device. The chip system is used to support the network device to implement the functions involved in any of the above possible implementations, such as collection, processing, correction, prediction or early warning. The chip system includes a chip and may also include other discrete devices or circuit structures.

[0058] In a fourth aspect, the present application provides a computer-readable storage medium. When the computer execution instructions stored in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the pipeline remaining life determination method of the first aspect.

[0059] In a fifth aspect, the present application provides a computer program product, which includes: a computer program or instructions, which, when the computer program or instructions are run on a computer, enable the computer to execute the pipeline remaining life determination method of the first aspect.

[0060] It should be noted that the above-mentioned computer program or instruction may be stored in whole or in part on a computer-readable storage medium. The computer-readable storage medium may be packaged together with the processor of the pipeline remaining life determination device, or may be packaged separately from the processor of the pipeline remaining life determination device, which is not limited in the embodiments of the present application.

[0061] The description of the second, third, fourth and fifth aspects of the present application can refer to the detailed description of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0063] Figure 1 A structural block diagram of a pipeline remaining life determination system provided by an embodiment of the present invention;

[0064] Figure 2 A flow chart of a method for determining the remaining life of a pipeline provided by an embodiment of the present invention;

[0065] Figure 3 A flow chart of another method for determining the remaining life of a pipeline provided by an embodiment of the present invention;

[0066] Figure 4 A flow chart of another method for determining the remaining life of a pipeline provided by an embodiment of the present invention;

[0067] Figure 5 A schematic diagram of the relationship between corrosion rate and current density provided in an embodiment of the present invention;

[0068] Figure 6 Another schematic diagram of the relationship between corrosion rate and current density provided by an embodiment of the present invention;

[0069] Figure 7 Another schematic diagram of the relationship between corrosion rate and current density provided by an embodiment of the present invention;

[0070] Figure 8 A flow chart of another method for determining the remaining life of a pipeline provided by an embodiment of the present invention;

[0071] Fig. 9 A flow chart of another method for determining the remaining life of a pipeline provided by an embodiment of the present invention;

[0072] Fig.10 A schematic diagram of the structure of a device for determining the remaining life of a pipeline provided by an embodiment of the present invention;

[0073] Fig.11 A schematic diagram of the hardware structure of a pipeline remaining life determination device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0074] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0075] In the description of this application, it should be understood that the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the feature. In the description of this application, unless otherwise specified, "plurality" means two or more.

[0076] In the present application, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, article or device. In the absence of further restrictions, an element defined by the sentence "comprising a ..." does not exclude the presence of other identical elements in the process, article or device including the element.

[0077] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0078] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features described in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0079] The existing pipeline volume defect evaluation standards mainly include ASME B31G, SY / T 6151, DNV RP F101, API579, etc. The basic process of defect evaluation is described in the background technology. Although there are many methods for predicting the remaining life of pipelines based on these standards, most of them do not reflect the impact of corrosion.

[0080] The present application provides a method for determining the remaining life of a pipeline. First, the equivalent diameter of the defect in the pipeline to be detected is determined based on the defect length and defect width of the defect in the pipeline to be detected; then the current density of the pipeline to be detected is determined based on the interference voltage of the pipeline to be detected, the dielectric resistivity outside the pipeline to be detected, and the equivalent diameter of the defect. Furthermore, based on the determined current density and environmental parameters, the corrosion rate of the pipeline to be detected can be determined. In this way, when the corrosion rate of the pipeline to be detected is determined, the remaining life of the pipeline to be detected can be determined in combination with the maximum allowable corrosion depth of the pipeline to be detected and the defect depth of the defect in the current pipeline to be detected.

[0081] In this way, the corrosion rate of the pipeline to be inspected can be accurately determined based on various parameters of the pipeline to be inspected. Therefore, based on the determined corrosion rate, the time required for the defect in the pipeline to be inspected to reach the maximum allowable corrosion depth from the current defect depth can be determined. And this time is the remaining life of the pipeline to be inspected. Based on this method, the accuracy of predicting the remaining life of the pipeline can be improved, and the remaining life of the pipeline can be accurately predicted, which can further effectively reduce the probability of pipeline failure and ensure the safe operation of the pipeline.

[0082] The present application provides a system for determining the remaining life of a pipeline, such as Figure 1 As shown, the pipeline remaining life determination system 100 includes: a data acquisition module 101, a data processing module 102, a life prediction module 103 and a sensor 104.

[0083] The data acquisition module 101 is configured to obtain from the sensor 104 defect parameters of the defect in the pipeline to be detected, the interference voltage of the pipeline to be detected, the medium resistivity outside the pipeline to be detected, the environmental parameters, the maximum allowable corrosion depth of the pipeline to be detected, and the defect depth of the defect in the pipeline to be detected.

[0084] The data processing module 102 is configured to determine the equivalent diameter of the defect in the pipeline to be detected based on defect parameters of the defect in the pipeline to be detected, where the defect parameters include: defect length and defect width.

[0085] The data processing module 102 is configured to determine the current density of the pipeline to be inspected based on the interference voltage of the pipeline to be inspected, the resistivity of the medium outside the pipeline to be inspected, and the equivalent diameter of the defect.

[0086] The data processing module 102 is configured to determine the corrosion rate of the pipeline to be inspected based on the current density and the environmental parameters.

[0087] The life prediction module 103 is configured to determine the remaining life of the pipeline to be inspected based on the corrosion rate, the maximum allowable corrosion depth of the pipeline to be inspected, and the defect depth of the defect in the pipeline to be inspected.

[0088] The method for determining the remaining life of a pipeline provided in an embodiment of the present application is described in detail below with reference to the accompanying drawings.

[0089] The method for determining the remaining life of a pipeline provided in the embodiment of the present application is applied to Figure 1 The remaining life determination system of the pipeline is shown in FIG. Figure 2 As shown, the method for determining the remaining life of a pipeline includes: S201-S204.

[0090] S201. Determine an equivalent diameter of a defect in a pipeline to be detected based on defect parameters of the defect in the pipeline to be detected.

[0091] Among them, the defect parameters include: defect length and defect width.

[0092] In a possible implementation, the defect parameters of the defects in the pipeline to be inspected can be acquired (detected) by using technologies such as magnetic flux leakage and ultrasound.

[0093] In a possible implementation, defect parameters of all defects in the pipeline to be detected may be obtained, or defect parameters of some defects in the pipeline to be detected may be obtained.

[0094] Optionally, the type of defects in the pipeline to be detected may include at least one of the following: crack defects, corrosion defects, deformation defects, etc. In the embodiments disclosed in the present application, corrosion defects are used as an example for illustrative description, and other types of defects may refer to corrosion defects.

[0095] Optionally, the defect parameters of the defect may include at least one of the following: defect length, defect depth, defect width, circumferential position of the defect, etc.

[0096] In some embodiments of the present application, the above S201 may be implemented by the following steps:

[0097] The equivalent diameter of the defect is determined by the following formula:

[0098]

[0099] in, It represents the equivalent diameter in mm, L represents the defect length in mm, and D represents the defect width in mm.

[0100] It can be understood that after the defect parameters of the defect in the pipeline to be inspected are obtained based on internal inspection, the size of the defect can be converted into an equivalent diameter based on Formula 1, so that other parameters of the pipeline to be inspected (such as current density, corrosion rate, etc.) can be determined based on the equivalent diameter of the defect.

[0101] S202: Determine the current density of the pipeline to be inspected based on the interference voltage of the pipeline to be inspected, the resistivity of the medium outside the pipeline to be inspected, and the equivalent diameter of the defect.

[0102] In a possible implementation, the current density (and subsequent corrosion rate) of the pipeline to be inspected can be determined through electrochemical interface reaction based on the interference voltage of the pipeline to be inspected, the resistivity of the medium outside the pipeline to be inspected, and the equivalent diameter of the defect.

[0103] In a possible implementation, the current density of the pipeline to be detected can be obtained by cyclic voltammetry or AC impedance method, and the corrosion rate of the pipeline to be detected can be obtained by weight loss method or polarization curve method.

[0104] Optionally, the medium outside the pipeline to be detected may be any of the following: soil, water, air, etc.

[0105] Optionally, the medium resistivity outside the pipeline to be detected can be determined by a function f(ρ) corresponding to the medium resistivity. It can be understood that the function f(ρ) corresponding to the medium resistivity is used to represent the relationship between the medium resistivity and related parameters, which can specifically be: medium type, ambient temperature, ambient humidity, medium density, etc.

[0106] Optionally, the equivalent diameter of the defect can be calculated using the equivalent diameter function It is understood that the equivalent diameter function Used to express the relationship between the equivalent diameter and the defect length and defect width (such as shown in Formula 1).

[0107] S203. Determine the corrosion rate of the pipeline to be inspected based on the current density and environmental parameters.

[0108] It can be understood that the corrosion rate of the pipeline to be inspected is affected by the current density and environmental parameters. When the current density and / or environmental parameters change, the corrosion rate of the pipeline to be inspected will also change accordingly.

[0109] Optionally, the environmental parameters may include at least one of the following: ambient temperature, ambient humidity, medium pH value, medium resistivity, etc.

[0110] S204: Determine the remaining life of the pipeline to be inspected based on the corrosion rate, the maximum allowable corrosion depth of the pipeline to be inspected, and the defect depth of the defect in the pipeline to be inspected.

[0111] In a possible implementation, the actual defect depth of the defect in the pipeline to be inspected can be detected by using magnetic flux leakage, ultrasound and other technologies.

[0112] In a possible implementation, the maximum allowable corrosion depth of the pipeline to be inspected may be determined according to the material of the pipeline to be inspected, environmental parameters of the environment, the pressure in the pipeline to be inspected, and the like.

[0113] The present application provides a method for determining the remaining life of a pipeline, by performing data anomaly determination on the sampled data of multiple data collection points of the pipeline to be detected, and obtaining an abnormality determination result of the sampled data, thereby determining the integrity and / or credibility of the sampled data of the multiple data collection points of the pipeline to be detected. Specifically, by determining whether the sampled data of the multiple data collection points of the pipeline to be detected include packet loss data, missing data and garbled data, and whether there is erroneous data in the sampled data, the abnormality determination result of the sampled data is obtained, thereby determining the data detection result of the pipeline to be detected according to the abnormality determination result, generating an error log and an alarm.

[0114] In this way, by analyzing and judging the sampling data of multiple data collection points of the pipeline to be detected, it is determined whether the sampling data has packet loss data, missing data, garbled data, and erroneous data. The data detection result of the pipeline to be detected is determined according to the judgment result, and prompt information is issued by generating an error log and alarming. The accuracy of pipeline data detection can be improved to accurately identify abnormal data, thereby effectively reducing the probability of pipeline failure and ensuring the safe operation of the pipeline.

[0115] In some embodiments of the present application, Figure 3 As shown, the above S202 can be specifically implemented through the following steps:

[0116] S301. When there are multiple defects, based on the equivalent diameter of each of the multiple defects, an equivalent diameter function corresponding to the multiple defects in the pipeline to be inspected is fitted.

[0117] In a possible implementation, for each defect among a plurality of defects included in the pipeline to be inspected, an equivalent diameter of each defect may be determined according to a defect length and a defect width of each defect.

[0118] Furthermore, after the equivalent diameter of each defect is determined, a distribution probability formula (ie, equivalent diameter function) that satisfies a certain condition can be obtained based on the equivalent diameter fitting of each defect.

[0119] Specifically, the equivalent diameter, defect length and defect width of each defect can be represented in a coordinate system, so that one defect is represented by one coordinate point in the coordinate system. In this way, according to the positional relationship between the coordinate points corresponding to each defect in the coordinate system, the equivalent diameter function corresponding to multiple defects can be fitted.

[0120] S302. Perform random sampling from the equivalent diameter function based on the Monte Carlo method to obtain a first sampling result.

[0121] In one possible implementation, after fitting the equivalent diameter functions corresponding to multiple defects in the pipeline to be inspected, random sampling can be performed from the equivalent diameter function using the Monte Carlo method to randomly sample multiple position points in the equivalent diameter function (i.e., multiple equivalent diameters) as the first sampling result.

[0122] S303, based on the first sampling result, the interference voltage, and the dielectric resistivity, the current density function corresponding to the pipeline to be detected is determined by the following formula 2:

[0123]

[0124] Where f(J) represents the current density function, the unit is A / m 2 , V represents the interference voltage, the unit is V, f(ρ) represents the function corresponding to the dielectric resistivity, the unit is Ω·m, Represents the equivalent diameter function, the unit is m.

[0125] It should be noted that the current density may be the density of an alternating current or the density of a direct current, and the interference voltage is the average value of the effective value of the alternating current interference voltage.

[0126] In a possible implementation, random sampling may be performed from a function corresponding to the medium resistivity based on the Monte Carlo method to obtain a sampling result of the medium resistivity.

[0127] In this way, based on the combination of the first sampling result, the interference voltage, and the sampling result of the dielectric resistivity, the current density function corresponding to the pipeline to be inspected is determined by formula 2.

[0128] Specifically, the corresponding current density can be determined by formula 2 according to the equivalent diameter in the first sampling result, the interference voltage, and the dielectric resistivity in the sampling result of the dielectric resistivity, and then the relationship between the determined total current density and the equivalent diameter, the interference voltage, and the dielectric resistivity is represented by coordinate points in the coordinate system, so as to fit and determine the current density function corresponding to the pipeline to be detected based on the coordinate points in the coordinate system.

[0129] S304 , determining current density based on the current density function.

[0130] Thus, after determining the current density function corresponding to the pipeline to be inspected, the corresponding current density can be determined from the current density function based on the parameters corresponding to the pipeline to be inspected (eg, equivalent diameter of the defect, interference voltage, dielectric resistivity).

[0131] In some embodiments of the present application, Figure 4 As shown, the above S203 can be implemented specifically through the following steps:

[0132] S401. Perform random sampling from the current density function based on the Monte Carlo method to obtain a second sampling result.

[0133] In a possible implementation, after fitting the current density function corresponding to the pipeline to be inspected, random sampling can be performed from the current density function by using the Monte Carlo method to obtain multiple position points (i.e., multiple current densities) in the current density function as the second sampling result.

[0134] S402: Based on the second sampling result and the environmental parameters, the corrosion rate function corresponding to the pipeline to be tested is determined by the following formula 3:

[0135] f(v)=∫(f(J), environmental parameters) Formula 3

[0136] Where f(v) represents the corrosion rate function.

[0137] In a possible implementation manner, the corrosion rate function corresponding to the pipeline to be inspected may be determined by formula three based on a combination of the second sampling result and the environmental parameter.

[0138] Specifically, the corresponding corrosion rate can be determined by formula three according to the combination of the current density and the environmental parameters in the second sampling result, and then the relationship between the determined total corrosion rate, the current density and the environmental parameters can be represented by coordinate points in the coordinate system, so as to fit and determine the corrosion rate function corresponding to the pipeline to be inspected based on the coordinate points in the coordinate system.

[0139] S403: Determine the corrosion rate based on the corrosion rate function.

[0140] In this way, after the corrosion rate function corresponding to the pipeline to be inspected is determined, the corresponding corrosion rate can be determined from the corrosion rate function based on the parameters corresponding to the pipeline to be inspected (eg, current density, environmental parameters).

[0141] In some embodiments of the present application, the corrosion rate function satisfies the following formula 4:

[0142]

[0143] The constant term in the formula is determined based on environmental parameters.

[0144] It should be noted that the constants in Formula 4 are: 0.1086, 236.21, 0.239. These constants can be determined based on environmental parameters such as ambient temperature, ambient humidity, medium pH, and medium resistivity.

[0145] For example, Figure 5 As shown, a schematic diagram of the relationship between corrosion rate and current density is provided. Taking environmental parameters including medium pH value (PH) or CP as an example, the relationship between corrosion rate and current density under different medium pH values ​​or CP is determined. Figure 5 The figure shows the relationship between corrosion rate and current density when immersed in alkaline solution for 144 hours, pH 11, pH 9, pH 7, CP 0.024, CP 0.3, CP 1.7, CP 100, and CP 142.

[0146] Furthermore, in order to comprehensively consider all situations, the above data are averaged, and the results are as follows: Figure 6As shown, it can be seen that the overall corrosion rate increases with the increase of current density. Comprehensive analysis shows that after taking the average value, there are obviously two data points (marked by boxes in the figure) that do not conform to the growth trend. Therefore, these two abnormal data points are first removed and then fitted to obtain the corrosion rate function.

[0147] For example, Figure 7 As shown, the corrosion rate function is obtained by fitting using four formulas (Allometricl, ExpDec1, Exp3P2, Exp2PMod1), among which it is found that ExpDec1 has the best fitting effect and satisfies the above formula four.

[0148] In some embodiments of the present application, the corrosion rate function satisfies the following formula 5:

[0149] f(v)=0.0267×f(J) 0.3397 Formula 5

[0150] The constant term in the formula is determined based on environmental parameters.

[0151] It should be noted that the constant terms in Formula 5 are: 0.0267, 0.3397. These constant terms can be determined based on the environmental parameters such as ambient temperature, ambient humidity, dielectric pH, dielectric resistivity, etc. The fitting effect of Allometricl satisfies Formula 5.

[0152] In some embodiments of the present application, the corrosion rate function satisfies the following formula 6:

[0153]

[0154] The constant term in the formula is determined based on environmental parameters.

[0155] It should be noted that the constant terms in Formula 6 are: 2.69, 0.0067, 1.113×10 -5 These constants can be determined based on the environmental parameters such as ambient temperature, ambient humidity, dielectric pH, dielectric resistivity, etc. The fitting effect of Exp3P2 satisfies Formula 6.

[0156] In some embodiments of the present application, the corrosion rate function satisfies the following formula 7:

[0157] f(v)=0.087×e 0.0027f(J) Formula 7

[0158] The constant term in the formula is determined based on environmental parameters.

[0159] It should be noted that the constant terms in Formula 7 are: 0.087, 0.0027. These constant terms can be determined based on the environmental parameters such as ambient temperature, ambient humidity, dielectric pH, dielectric resistivity, etc. The fitting effect of Exp2PMod1 satisfies Formula 7.

[0160] In some embodiments of the present application, Figure 8 As shown, the above S204 can be implemented specifically through the following steps:

[0161] S801. Perform random sampling from the corrosion rate function based on the Monte Carlo method to obtain a third sampling result.

[0162] In a possible implementation, after fitting the corrosion rate function corresponding to the pipeline to be inspected, random sampling can be performed from the corrosion rate function using the Monte Carlo method to obtain multiple position points (i.e., multiple corrosion rates) in the corrosion rate function as the third sampling result.

[0163] S802. Based on the third sampling result, the maximum allowable corrosion depth, and the defect depth, the remaining life function of the pipeline to be inspected is determined by the following formula 8:

[0164]

[0165] Where f(T) represents the remaining life function in y (years), d represents the maximum allowable corrosion depth in mm, and d I represents the defect depth in mm, and f(v) represents the corrosion rate function in mm / y.

[0166] Optionally, the maximum allowable corrosion depth d and the actual defect depth d of the pipeline to be inspected can be used to determine the maximum allowable corrosion depth d. I The difference between the two determines the corrosion allowance: d 1 =dd I , the unit is mm.

[0167] It can be understood that the above data can be fitted by function, and then randomly sampled by Monte Carlo method for data analysis. The final life of the pipeline obtained has higher reliability. In this way, the data of one pipeline can be used as a reference for all situations.

[0168] S803: Determine the remaining life of the pipeline to be inspected based on the remaining life function.

[0169] In this way, after determining the remaining life function corresponding to the pipeline to be inspected, the corresponding remaining life can be determined from the remaining life function based on the parameters corresponding to the pipeline to be inspected (such as corrosion rate, maximum allowable corrosion depth, actual defect depth).

[0170] In a possible implementation, the maximum defect depth (maximum allowable corrosion depth) at the allowable failure pressure of the pipeline to be inspected may be determined according to ASME B31G.

[0171] In some embodiments of the present application, the maximum allowable corrosion depth satisfies the following formula 9:

[0172]

[0173] Among them, P F Indicates failure pressure, in MPa, S flow It represents the rheological stress in MPa, D represents the diameter of the pipe to be tested in mm, t represents the wall thickness of the pipe to be tested in mm, d represents the maximum allowable corrosion depth in mm, and M represents the expansion coefficient.

[0174] In this way, the actual defect depth of the pipeline to be inspected is obtained through the pipeline volume defect evaluation method. Assuming the failure pressure of the pipeline, the maximum allowable corrosion depth of the pipeline to be inspected is inferred using Formula 9.

[0175] In some embodiments of the present application, the expansion coefficient M satisfies the following formula 10:

[0176]

[0177] Wherein, L represents the axial length of the defect in mm.

[0178] Optionally, pipeline volume defect evaluation methods such as Fig. 9 As shown, the evaluation parameters are first determined by defining the acceptable safety factor SF and the pipeline operating pressure p 0 Parameters such as (also including: diameter D of the pipeline to be tested, wall thickness t of the pipeline to be tested, SMYS, SMTS, maximum allowable corrosion depth d, axial length L of the defect, etc.) are used to determine whether the In order to meet In the case of, the expansion coefficient is determined by M = 0.032z + 3.3; or, in the case of not satisfying In the case of Determine the expansion coefficient. Then further determine the failure pressure through the above formula 9. And judge whether the failure pressure meets P f ≥SF×p 0 , when the failure pressure satisfies P F ≥SF×p 0 When the failure pressure does not meet P F ≥SF×p 0 When the defect is unacceptable, the pipeline pressure needs to be reduced to P sF=P F / SF.

[0179] It should be noted that the recommended safety factor is equal to the ratio of the minimum water pressure test pressure to the maximum allowable operating pressure, which is usually not less than 1.25. When evaluating the defects identified by the inspection, the larger the safety factor used, the smaller the acceptable defect. Based on the defect depth and length obtained by the inspection, the failure pressure of the pipeline is assumed according to the actual situation, and the remaining corrosion depth of the pipeline under the current failure pressure can be inferred. Then, based on the corrosion rate measured by the interface reaction, the remaining life of the pipeline can be calculated.

[0180] This application improves the accuracy of the remaining life prediction of the pipeline. The current density and corrosion rate measured based on the interface reaction are more accurate, and the remaining life of the pipeline predicted based on this is more accurate. The allowable defect depth of the pipeline is obtained by the pipeline volume defect evaluation method. Assuming the failure pressure of the pipeline, the allowable defect depth of the pipeline is inferred using the formula. The actual defect depth of the pipeline is detected by leakage magnetic flux, ultrasound and other technologies. The current density and corrosion rate are obtained through electrochemical interface reactions. The current density of the pipeline is obtained by cyclic voltammetry or AC impedance method, and the corrosion rate is obtained by weight loss method or polarization curve method. The random sampling method is used to make the remaining life of the pipeline obtained in the end more accurate. By analyzing the data of a pipeline, it can be of reference value for all working conditions.

[0181] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0182] The embodiment of the present application can divide the functional modules of the pipeline remaining life determination device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0183] like Fig.10, which is a schematic diagram of the structure of a pipeline remaining life determination device provided in an embodiment of the present application. Fig.10 The pipeline remaining life determination device shown includes: a collection unit 1001 and a processing unit 1002 .

[0184] The acquisition unit 1001 is used to obtain from the sensor the defect parameters of the defect in the pipeline to be detected, the interference voltage of the pipeline to be detected, the medium resistivity outside the pipeline to be detected, the environmental parameters, the maximum allowable corrosion depth of the pipeline to be detected, and the defect depth of the defect in the pipeline to be detected.

[0185] The processing unit 1002 is used to determine the equivalent diameter of the defect in the pipeline to be detected based on the defect parameters of the defect in the pipeline to be detected, where the defect parameters include: defect length and defect width;

[0186] The processing unit 1002 is further used to determine the current density of the pipeline to be inspected based on the interference voltage of the pipeline to be inspected, the resistivity of the medium outside the pipeline to be inspected, and the equivalent diameter of the defect;

[0187] The processing unit 1002 is further used to determine the corrosion rate of the pipeline to be inspected based on the current density and the environmental parameters;

[0188] The processing unit 1002 is further configured to determine the remaining life of the pipeline to be inspected based on the corrosion rate, the maximum allowable corrosion depth of the pipeline to be inspected, and the defect depth of the defect in the pipeline to be inspected.

[0189] like Fig.11 1 is a schematic diagram of the hardware structure of a pipeline remaining life determination device provided in an embodiment of the present application. The pipeline remaining life determination device includes: a processor 1101, a memory 1102, a communication interface 1103, and a bus 1104. The processor 1101, the memory 1102, and the communication interface 1103 can be connected through the bus 1104.

[0190] The processor 1101 is the control center of the pipeline remaining life determination device, which can be a processor or a general term for multiple processing elements. For example, the processor 1101 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

[0191] As an embodiment, the processor 1101 may include one or more CPUs, such as Fig.11 CPU 0 and CPU 1 are shown in .

[0192] The memory 1102 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0193] In a possible implementation, the memory 1102 may exist independently of the processor 1101, and the memory 1102 may be connected to the processor 1101 via a bus 1104, and is used to store instructions or program codes. When the processor 1101 calls and executes the instructions or program codes stored in the memory 1102, the pipeline remaining life determination method provided in the following embodiment of the present application can be implemented.

[0194] In another possible implementation, the memory 1102 may also be integrated with the processor 1101 .

[0195] The communication interface 1103 is used to connect the pipeline remaining life determination device to other devices through a communication network, and the communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 1103 may include a receiving unit for receiving data and a sending unit for sending data.

[0196] The bus 1104 may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.11 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0197] It should be pointed out that Fig.11 The structure shown in the figure does not constitute a limitation on the equipment for determining the remaining life of the pipeline, except Fig.11In addition to the components shown, the pipeline remaining life determination device may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0198] 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 commodity implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0199] The present application is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to 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 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.

[0200] 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.

[0201] 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.

[0202] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

[0203] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for determining the remaining life of a pipeline, characterized in that: include: Determine the equivalent diameter of the defect in the pipeline to be inspected based on defect parameters of the defect in the pipeline to be inspected, wherein the defect parameters include: defect length and defect width; Determining the current density of the pipeline to be inspected based on the interference voltage of the pipeline to be inspected, the resistivity of the medium outside the pipeline to be inspected, and the equivalent diameter of the defect; Determining the corrosion rate of the pipeline to be inspected based on the current density and environmental parameters; The remaining life of the pipeline to be inspected is determined based on the corrosion rate, the maximum allowable corrosion depth of the pipeline to be inspected, and the defect depth of the defect in the pipeline to be inspected.

2. The method according to claim 1, characterized in that The step of determining the equivalent diameter of the defect in the pipeline to be inspected based on the defect parameter of the defect in the pipeline to be inspected comprises: The equivalent diameter of the defect is determined by the following formula: in, represents the equivalent diameter, L represents the defect length, and D represents the defect width.

3. The method according to claim 1, characterized in that The determining the current density of the pipeline to be inspected based on the interference voltage of the pipeline to be inspected, the resistivity of the medium outside the pipeline to be inspected, and the equivalent diameter of the defect comprises: In the case where there are multiple defects, based on the equivalent diameter of each of the multiple defects, an equivalent diameter function corresponding to the multiple defects in the pipeline to be inspected is obtained by fitting; Performing random sampling from the equivalent diameter function based on the Monte Carlo method to obtain a first sampling result; Based on the first sampling result, the interference voltage, and the dielectric resistivity, the current density function corresponding to the pipeline to be detected is determined by the following formula: Wherein, f(J) represents the current density function, V represents the interference voltage, and f(ρ) represents the function corresponding to the dielectric resistivity. represents the equivalent diameter function; The current density is determined based on the current density function.

4. The method according to claim 3, characterized in that: The step of determining the corrosion rate of the pipeline to be inspected based on the current density and the environmental parameters includes: Performing random sampling from the current density function based on the Monte Carlo method to obtain a second sampling result; Based on the second sampling result and the environmental parameter, the corrosion rate function corresponding to the pipeline to be inspected is determined by the following formula: f(v)=∫(f(J), environmental parameters) Wherein, f(v) represents the corrosion rate function; The corrosion rate is determined based on the corrosion rate function.

5. The method according to claim 4, characterized in that The corrosion rate function satisfies the following formula: The constant term in the formula is determined based on the environmental parameters.

6. The method according to claim 4, characterized in that The corrosion rate function satisfies the following formula: f(v)=0.0267×f(J) 0.3397 The constant term in the formula is determined based on the environmental parameters.

7. The method according to claim 4, characterized in that The corrosion rate function satisfies the following formula: The constant term in the formula is determined based on the environmental parameters.

8. The method according to claim 4, characterized in that The corrosion rate function satisfies the following formula: f(v)=0.087×e 0.0027f(J) The constant term in the formula is determined based on the environmental parameters.

9. The method according to claim 4, characterized in that The determining the remaining life of the pipeline to be inspected based on the corrosion rate, the maximum allowable corrosion depth of the pipeline to be inspected, and the defect depth of the defect in the pipeline to be inspected includes: Performing random sampling from the corrosion rate function based on the Monte Carlo method to obtain a third sampling result; Based on the third sampling result, the maximum allowable corrosion depth, and the defect depth, the remaining life function of the pipeline to be inspected is determined by the following formula: Wherein, f(T) represents the remaining life function, d represents the maximum allowable corrosion depth, and d I represents the defect depth, and f(v) represents the corrosion rate function; The remaining life of the pipeline to be inspected is determined based on the remaining life function.

10. The method according to claim 1 or 9, characterized in that: The maximum allowable corrosion depth satisfies the following formula: Among them, P F Indicates failure pressure, S flow represents the rheological stress, D represents the diameter of the pipeline to be tested, t represents the wall thickness of the pipeline to be tested, d represents the maximum allowable corrosion depth, and M represents the expansion coefficient.

11. A device for determining remaining life of a pipeline, characterized in that: include: A processing unit, configured to determine an equivalent diameter of the defect in the pipeline to be detected based on defect parameters of the defect in the pipeline to be detected, wherein the defect parameters include: defect length and defect width; The processing unit is further used to determine the current density of the pipeline to be inspected based on the interference voltage of the pipeline to be inspected, the resistivity of the medium outside the pipeline to be inspected, and the equivalent diameter of the defect; The processing unit is further used to determine the corrosion rate of the pipeline to be detected based on the current density and environmental parameters; The processing unit is further used to determine the remaining life of the pipeline to be inspected based on the corrosion rate, the maximum allowable corrosion depth of the pipeline to be inspected, and the defect depth of the defect in the pipeline to be inspected.

12. An electronic device, characterized in that: include: A processor and a memory; wherein the memory is used to store one or more programs, and the one or more programs include computer-executable instructions. When the electronic device is running, the processor executes the computer-executable instructions stored in the memory to enable the electronic device to execute the pipeline remaining life determination method described in any one of claims 1-10.

13. A computer-readable storage medium, characterized in that: When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the pipeline remaining life determination method according to any one of claims 1 to 10.