CN113806902A - Artificial intelligent early warning method for pipeline corrosion - Google Patents
Artificial intelligent early warning method for pipeline corrosion Download PDFInfo
- Publication number
- CN113806902A CN113806902A CN202111178474.1A CN202111178474A CN113806902A CN 113806902 A CN113806902 A CN 113806902A CN 202111178474 A CN202111178474 A CN 202111178474A CN 113806902 A CN113806902 A CN 113806902A
- Authority
- CN
- China
- Prior art keywords
- pipeline
- corrosion
- time
- early warning
- wall thickness
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/18—Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/27—Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/044—Recurrent networks, e.g. Hopfield networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/048—Activation functions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2113/00—Details relating to the application field
- G06F2113/14—Pipes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/04—Ageing analysis or optimisation against ageing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Evolutionary Computation (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Artificial Intelligence (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Mathematical Physics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Data Mining & Analysis (AREA)
- Geometry (AREA)
- Computer Hardware Design (AREA)
- Medical Informatics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Testing Resistance To Weather, Investigating Materials By Mechanical Methods (AREA)
Abstract
The invention discloses an artificial intelligent early warning method for pipeline corrosion, and belongs to the technical field of pipeline safety. The method comprises the following steps: firstly, collecting basic data of the pipeline, judging the condition of the pipeline for continuous service, then predicting the corrosion rate and the ultrasonic side thickness estimation corrosion rate by using a long-time memory neural network, predicting the residual service life of the pipeline, judging the safe service condition of the pipeline and making a targeted warning. The method is based on the prediction of the residual service life of the pipeline, adopts an artificial intelligence method to predict the future operating condition of the pipeline, gives out warning to abnormal conditions and adopts a coping method in time, so that the oil and gas field can be prevented from getting ill in the bud, and the intelligent oil and gas field is provided with a technical support of a corrosion early warning layer for the construction of the intelligent oil and gas field by applying medicines according to symptoms.
Description
Technical Field
The invention belongs to the technical field of pipeline safety, and particularly relates to a method for establishing artificial intelligent early warning of pipeline corrosion.
Background
In the oil gas field pipeline production operation process, pipeline corrosion can make pipe wall defect position attenuation, causes the pipeline bearing capacity to reduce, leads to pipeline corrosion inefficacy, causes the pipeline to leak, and the accident that causes often has proruption nature and disguise, can cause huge loss. Therefore, before a pipeline corrosion accident occurs, the serious corrosion defect part needs to be warned, overhauled and maintained in time, and corresponding protective measures are taken to scientifically guide the safe operation management of the pipeline.
At present, the existing corrosion early warning method still has some problems to be solved: the establishment of the corrosion early warning method usually depends on a severe network infrastructure, a complex database needs to be established as a basis, the data acquisition principle is fuzzy, the difficulty of early warning work is increased, and the operability is low; the corrosion early warning method is mainly based on the pipeline which cannot be continuously used, pipeline leakage data obtained by analysis and detection are mined, probability judgment is carried out on future corrosion conditions, pipeline accidents cannot be effectively prevented, the early warning result accuracy is low, and protection measures are lack of pertinence.
Therefore, in order to reduce the risk of pipeline corrosion accidents, an algorithm needs to be established to predict the residual service life of the pipeline, judge the safety service condition of the pipeline, determine the corrosion early warning level, and actively take corresponding measures in advance.
Disclosure of Invention
The invention aims to provide an artificial intelligent early warning method for pipeline corrosion, which aims to solve the problem of risk early warning caused by reduced pressure resistance after the pipeline is corroded.
An artificial intelligent early warning method for pipeline corrosion is characterized by comprising the following steps:
step 1: collecting basic data of the pipeline:
pipe outside diameter DwMm; (2) inner diameter D of pipelinenMm; (3) yield strength sigma of pipe materialsMPa; (4) the wall thickness d, mm of the pipeline; (5) the design pressure P, MPa of the pipeline; (6) the corrosion allowance C and mm of the pipeline; (7) pipeline production run time TsA; (8) pipeline design service life Tu。
Step 2: dividing a pipeline corrosion defect area:
detecting corrosion defects of the pipeline, and meshing the areas according to the axial direction and the annular direction: axially divided into m parts and respectively C1、C2…Ci…CmAnd n parts are divided annularly into L1、L2…Lj…LnSo as to discretely divide the corrosion defect into m × n wall thickness measurement points Aij(i=1、2、3…m;j=1、2、3…n);
Wherein: m is the number of axially delimited regions, C1、C2…CmEach part of the axially delimited area corresponds to an axial measuring point of one defect; n is the number of the annularly defined areas, L1、L2…LnEach part of the axially defined area corresponds to a circumferential measuring point of one defect; a. theijM n wall thickness measurement points discretely divided for corrosion defects.
And step 3: the method comprises the following steps of:
(a) solving for axially required minimum wall thickness by equation (1)By passingEquation (2) solving the circumferential required minimum wall thicknessThe calculated result is processedAndsubstituting formula (3) to determine the minimum required wall thickness t of the pipelinemin:
In the formula:the minimum wall thickness is required in the axial direction, mm;the minimum wall thickness is required in the circumferential direction and is mm; t is tminThe minimum required wall thickness of the pipeline is mm;
(b) counting the wall thickness value a of the m multiplied by n wall thickness measuring points of the pipeline corrosion defect areaijWherein the measurement gives the wall thickness value at the minimum is aminSolving the average value t of the wall thickness of all measured points through the formula (4)am:
In the formula: a isijDiscrete division of m by n for corrosion defectsWall thickness value, mm, of each measurement point; t is tamThe average value of the wall thickness of all measured points is mm;
(c) solving the residual wall thickness ratio R of the pipeline through the formula (5)t:
In the formula: rtThe residual wall thickness ratio of the pipeline is used;
(d) solving the length L of the maximum allowable corrosion defect in the axial direction of the pipeline:
Wherein: l is the length value of the axial maximum allowable corrosion defect, mm;
(e) determining the safe service condition of the pipeline:
if La is less than or equal to L, the pipeline can be continuously in service;
if La is greater than L and tam-C is more than or equal to 0.9tmin, the pipeline can continue to be in service;
if La is greater than L and tam-C is less than 0.9tmin, the pipeline cannot be in service continuously, the pipeline is judged to be in first-level early warning level, and the early warning mark is displayed in red;
wherein: l isaThe axial length of the corrosion defect of the wall thickness section of the pipeline is mm.
And 4, step 4: predicting the residual life of the pipeline:
(a) predicting the residual life of the pipeline based on online monitoring:
1) predicting the corrosion rate of the pipeline, and specifically comprises the following steps:
arranging an on-site corrosion monitoring data set: monitoring time data set alpha (t) of a certain time period1、t2、t3…tn) (ii) a Monitoring time-correlated corrosion rate data setsβ(V1、V2、V3…Vn);
Wherein: t is t1、t2、t3…tnMonitoring time of one step length according to time sequence; v1、V2、V3…VnThe corrosion rate monitoring value is mm/a corresponding to the monitoring time;
and secondly, observing the corrosion monitoring data set to supplement missing data:
arbitrarily take 3 times t in the corrosion monitoring time data set alphaa、tb、tcTaking the corresponding corrosion rate monitoring value V in the corrosion rate data set betaa、Vb、VcSubstituting equation (6) to obtain the missing time txCorresponding corrosion rate value Vx:
In the formula: t is ta、tb、tcMonitoring any three times in the time data set alpha; va、Vb、VcFor t in the corrosion rate data set betaa、tb、tcCorresponding corrosion rate monitoring value, mm/a; t is txMonitoring time for absence; vxIs txCorresponding corrosion rate, mm/a;
constructing a long-time memory neural network:
i complete corrosion monitoring dataset: monitoring time data set alpha' (t) containing missing values of corrosion data1、t2、t3…tx…tn) And a corresponding corrosion rate data set β' (V)1、V2、V3…Vx…Vn) Wherein α 'is an input value and β' is an output value;
II long-time memory neural network model inner structure contains forgetting gate, input gate, output gate:
i last time ti-1Corrosion rate monitoring ofi-1Passing through tiTimeForgetting gate f (t) of long-time and short-time neural networki) Update forgetting is performed by equation (7):
in the formula: f (t)i) Expressed as a forgetting gate function; sigma is a neural network activation function, and a sigmoid function is selected; w is afAnd ufIs a forgetting gate weight coefficient matrix; bfIs a network offset value; t is tiPredicting a time for the target;represents tiTime data corresponding to time; t is ti-1A certain time for monitoring the time data set alpha'; vi-1Represents the corrosion rate in the corresponding corrosion rate dataset β', mm/a;
iiticorresponding time datati-1Time-corresponding corrosion monitoring value Vi-1Enter tiInput gate i (t) of time-interval neural networki) Equation (8) and alternatives
In the formula: i (t)i) A decision coefficient representing an input gate; sigma is a neural network activation function, and a sigmoid function is selected; w is aiAnd uiDetermining a coefficient weight coefficient matrix for the input gate; biAn offset value representing the input gate decision coefficient matrix;representing input gate alternative content; w is acRepresenting an input gate alternative content weight matrix; bcA bias value representing the input gate alternate content; tanh represents a hyperbolic tangent excitation function;
iii using tiForgetting door f (t) at timei) Determining the coefficient i (t) with the input gatei) Alternative contentUpdating the current state of the neuron to obtain tiTemporal neuron update functionFormula (10):
in the formula:represents ti-1A neural update function of time;represents tiA neural update function of time;
ivtineuron update function of timetiCorresponding time dataAnd last time ti-1Corrosion rate monitoring value V corresponding to timei-1Passing through tiTime output gateFormula (11), output CorrosionRate prediction value ViFormula (12):
in the formula:representing an output gate decision coefficient; sigma represents a neural network activation function, and a sigmoid function is selected; w is aoRepresenting an output gate weight matrix; boA bias value representing an output gate; viRepresents the target time tiThe predicted value of the corrosion rate of (1), mm/a;
2) predicting the corrosion rate V obtained by the predictioniMinimum required wall thickness t of corroded pipelineminAnd the average value t of the wall thickness of all measured pointsamSubstituting formula (13) to solve pipeline residual life T'L:
In the formula: t'LIn order to monitor the residual service life of the pipeline on line, a;
k is a safety coefficient, and when La is less than or equal to L, the value of K is 1; when La is more than L, K is 0.9;
(b) predicting the residual life of the pipeline based on ultrasonic thickness measurement:
1) estimating pipeline corrosion rate VμFormula (14):
in the formula: vμFor corrosion rate estimation, mm/a; delta d is the difference of wall thickness before and after the same point thickness measurement, mm; delta T is the time difference before and after thickness measurement,a;
2) Solving the pipeline to calculate the wall thickness epsilon formula (15):
in the formula: epsilon is the calculated wall thickness of the steel pipe, mm; p is design pressure, MPa; sigmasThe yield strength of the steel pipe is MPa;
3) estimating the corrosion rate VμSubstituting the calculated wall thickness epsilon of the pipeline into a calculation formula (16) to solve the corrosion residual life T'L:
In the formula: t'LMeasuring the residual life of the pipeline based on ultrasonic waves, a;
(b) determining the remaining life T of a pipelineL:
TL=min(T’L,T”L) (17)
In the formula: t isLThe remaining life of the pipeline, a.
And 5: judging the safe service condition of the pipeline:
(a) if TL≥Tu-TsIf the pipeline can continue to be in service safely, the pipeline is judged to be in a five-level early warning level, and the early warning mark is displayed to be green;
(b) if TL<Tu-TsFurther judging the corrosion early warning level;
wherein: t issRunning time for pipeline production, a; t isuDesign age, a.
Step 6: setting conditions of corrosion early warning levels:
(a) if Ts<TL<Tu-TsIf so, judging the early warning level as four-level, and displaying the early warning mark as blue;
(b) if 10<TL<TuJudging the early warning level to be three-level, and displaying an early warning markIs yellow;
(c) if 3<TL<When 10, judging the early warning level as a secondary early warning level, and displaying an early warning mark as orange;
(d) if TL<And 3, judging the early warning level as the first-level early warning level, and displaying the early warning mark in red.
And 7: early warning treatment:
(a) for the first-level early warning, the corrosion degree is very serious, and a corrosion pipeline needs to be replaced;
(b) for the secondary early warning, the corrosion degree is serious, and the pipeline needs to stop running and be repaired;
(c) for the third-level early warning, the corrosion degree is relatively heavy, and the pipeline is depressurized, operated and repaired;
(d) for the four-stage early warning, observing the corrosion condition of the pipeline;
(e) for the five-level early warning, the corrosion control condition of the pipeline is better, and the pipeline can be safely produced and operated.
The invention has the following beneficial effects:
(1) the corrosion early warning method collects pipeline basic data which are easy to obtain, establishes a pipeline residual life algorithm on the premise that the pipeline can be continuously used, simplifies corrosion early warning steps and improves system operability.
(2) The corrosion early warning method is based on the prediction of the residual service life of the pipeline, and adopts the methods of artificial intelligent soft measurement and ultrasonic thickness measurement estimation to form redundancy, so that the defect that the calculation condition of the residual service life of the pipeline is incomplete can be overcome, and the corrosion early warning accuracy is improved.
(3) The corrosion early warning method can accurately predict the residual service life of the pipeline, judge the corrosion early warning level of the pipeline, is beneficial to the oil and gas field to actively control the corrosion condition of the pipeline in advance, adopts targeted protective measures, promotes the safe, economic and reliable operation of the pipeline, and provides technical support of a corrosion early warning layer for the construction of the intelligent oil and gas field.
Drawings
FIG. 1 is a flow chart of corrosion warning operations;
FIG. 2 is a flow chart of message transmission in the neural network of long and short memories;
FIG. 3 is a schematic view of pipe corrosion defect meshing.
Detailed Description
The invention is described in detail below with reference to the drawings and the specific embodiments.
Example 1:
taking the No. 1 pipeline in the X station as an example, the pipeline is subjected to corrosion early warning. The method comprises the following specific implementation steps:
step 1: pipeline base data No. 1 was collected as follows: (1) pipe outside diameter Dw141.3 mm; (2) inner diameter D of pipelinen1132.5 mm; (3) yield strength sigma of pipe materials1240 MPa; (4) wall thickness d of pipe18.8 mm; (5) pipeline corrosion allowance C14 mm; (6) design pressure P of pipeline1=20MPa。
Step 2: dividing a No. 1 pipeline corrosion defect area: detecting No. 1 pipeline corrosion defects, and meshing the area according to the axial direction and the annular direction: is divided axially into 4 parts and respectively is C1、C2、C3、C4And are divided circumferentially into 5 parts each of L1、L2、L3、L4、L5So that the corrosion defect is discretely divided into 20 wall thickness measurement points a1×1=9.36mm、a1×2=9.52mm、a1×3=9.12mm、a1×4=9.41mm、a1×5=9.33mm、a2×1=9.15mm、a2×2=8.86mm、a2×3=9.49mm、a2×4=8.81mm、a2×5=9.51mm、a3×1=9.57mm、a3×2=9.71mm、a3×3=9.25mm、a3×4=9.39mm、a3×5=9.26mm、a4×1=9.66mm、a4×2=9.29mm、6a4×3=9.50mm、a4×4=9.62mm、a4×5=9.52mm。
And step 3: and (3) judging the continuous service condition of the No. 1 pipeline:
(a) solving for axially required minimum wall thickness by equation (1)Through a maleEquation (2) solving the circumferential required minimum wall thicknessSubstituting the calculation result into the formula (3) to determine the minimum required wall thickness t of the corroded pipelinemin1=7.67mm;
(b) Counting the wall thickness values of 20 wall thickness measuring points of the No. 1 pipeline corrosion defect area, and determining that a is the smallest measured wall thickness valuemin1Substituting the equation (4) for 8.81mm, and solving to obtain the average value t of the wall thickness of all the measured pointsam1=9.37mm;
(c) Solving the residual wall thickness ratio R of the pipeline through the formula (5)t1=0.63mm;
(e) Determining the safe service condition of the No. 1 pipeline: axial length L of corrosion defect on wall thickness section of No. 1 pipelinea180mm due to La1>L1And t isam1-C1=5.37mm<0.9tminAnd when the pipeline is 6.903mm, the pipeline cannot be in service continuously, the pipeline is judged to be in a first-level early warning grade, and the early warning is displayed in red.
And 4, step 4: carrying out primary early warning treatment on the No. 1 pipeline: the operation is stopped and the pipeline is replaced.
Example 2:
taking the No. 2 pipeline in the X station as an example, the pipeline is subjected to corrosion early warning. The method comprises the following specific implementation steps:
step 1: pipeline base data No. 2 was collected as follows: (1) pipe outside diameter Dw2168.8 mm; (2) inner diameter D of pipelinen2157.3 mm; (3) yield strength sigma of pipe materials2360 MPa; (4) wall thickness d of pipe211.5 mm; (5) pipeline design age Tu220 a; (6) pipeline production run time Ts210 a; (7) pipeline corrosion allowance C23.0 mm; (8) design pressure P of pipeline2=9.6MPa。
Step 2: no. 2 divided pipeline rotten productEtching the defect area: detecting No. 2 pipeline corrosion defects, and meshing the area according to the axial direction and the annular direction: are axially divided into 4 parts which are respectively C'1、C’2、C’3、C’4L 'are circumferentially divided into 4 parts'1、L’2、L’3、L’4So that the corrosion defects are discretely divided into 16 wall thickness measurement points, respectively, of'1×1=12.55mm、a’1×2=13.58mm、a’1×3=14.87mm、a’1×4=14.38mm、a’2×1=11.84mm、a’2×2=13.48mm、a’2×3=14.33mm、a’2×4=14.35mm、a’3×1=11.76mm、a’3×2=13.78mm、a’3×3=16.50mm、a’3×4=15.10mm、a’4×1=11.27mm、a’4×2=13.44mm、a’4×3=15.92mm、a’4×4=15.28mm。
And step 3: and (3) judging the continuous service condition of the No. 2 pipeline:
(a) solving for axially required minimum wall thickness by equation (1)The minimum wall thickness is required annularly through formula (2)Substituting the calculation result into the formula (3) to determine the minimum required wall thickness t of the corroded pipelinemin2=2.91mm;
(b) Counting the wall thickness values of 16 wall thickness measuring points of No. 2 pipeline corrosion defect area, and determining that a is the smallest measured wall thickness valuemin2Substituting the equation (4) to obtain the average value t of the wall thickness of all the measured pointsam2=13.90mm;
(c) Solving the residual wall thickness ratio R of the pipeline through the formula (5)t2=2.84mm;
(d) Due to Rt2Not less than 0.793, the maximum allowable axial corrosion defect length of No. 2 pipeline
(e) Determining the safe service condition of the No. 2 pipeline: axial length L of No. 2 pipeline wall thickness section corrosion defecta280mm due to La1≤L1The pipeline may continue to be in service.
And 4, step 4: predicting the residual life of the No. 2 pipeline:
(a) predicting the residual life of the No. 2 pipeline based on online monitoring:
1) predicting the corrosion rate of the pipeline, and specifically comprises the following steps:
arranging an on-site corrosion monitoring data set: data set alpha of monitoring time from 1/2018 to 1/7/20212(1/2018, 2/1/2018, 3/1/2018, … 2019/4/1/2019, 6/1/2019, … 2021/7/1/2011); monitoring time-corresponding corrosion rate data set beta2(0.01367mm/a, 0.04719mm/a, 0.03254mm/a … 0.0423.0423 mm/a, 0.05478mm/a … 0.05718mm/a) are shown in Table 1:
table 12 corrosion monitoring data for pipe 2018, month 1, and year 2021, month 7, and day 1
α2Time set | β2Set of corrosion rates (mm/a) |
1 month and 1 day of 2018 | 0.01367 |
2 month and 1 day of 2018 | 0.04719 |
3 month and 1 day of 2018 | 0.03254 |
… | … |
4 month and 1 day of 2019 | 0.04230 |
6 months and 1 day in 2019 | 0.05478 |
… | … |
|
0.05718 |
(vii) observe table 1 corrosion monitoring dataset replenishment missing data: in Table 1, 2 corrosion rate deletions need to be supplemented, and are respectively the corrosion rate values V of No. 2 pipeline 2019, 5 months and 1 dayxCorrosion rate V of 1/3/2020x′:
First, monitoring time data t of 2019, 4 months and 1 day is extracteda401 and corresponding etch rate Va0.0423 mm/a; monitoring time data t of 6 month and 1 day in 2019b601 and corresponding corrosion rate Vb0.05478 mm/a; monitoring time data t of 7 month and 1 day in 2019c701 and corresponding etch rate Vc0.02537mm/a, the above numerical value is substituted into formula (7) to supplement and calculate the time data t of 2019 in 5 monthsxCorrosion rate value V corresponding to 501x:
Similarly, extracting data t of monitoring time of 2 months and 1 day of 2020a' (201) and corresponding corrosion rate value Va' -0.0233 mm/a,; monitoring time data t of 1 day in 2020, 4 monthsb401 and corresponding corrosion rate value Vb' -0.04523 mm/a; monitoring time data t of 5 month and 1 day in 2020c' (501) and corresponding corrosion rate value Vc' 0.03754mm/a, the above numerical value is substituted into formula (7) to complement and calculate the monitoring time data t of 3 months in 2020xCorrosion rate value V corresponding to' 301x′=0.0179mm/a;
Constructing a long-time memory neural network, and specifically comprising the following steps:
i complete pipeline No. 2 corrosion monitoring dataset: monitoring time data set alpha 'containing corrosion data missing value'2(1/2018/2/1/2018/3/1/… 2019/5/1/20184/… 2020/3/1/… 2021/7/1/2018), monitoring the time-dependent corrosion rate dataset β'2(0.01367mm/a、0.04719mm/a、
0.03254mm/a … 0.033.033 mm/a … 0.0179mm/a … 0.05718mm/a) see table 2, where α 'is the input value and β' is the output value;
complete corrosion monitoring data for pipeline # 22 from 2018, 1 month, 1 day to 2021, 7 months, 1 day
Input value of alpha'2 | Output value of beta'2(mm/a) |
1 month and 1 day of 2018 | 0.01367 |
2 month and 1 day of 2018 | 0.04719 |
3 month and 1 day of 2018 | 0.03254 |
… | … |
4 month and 1 day of 2019 | 0.04230 |
5 months and 1 day in 2019 | 0.03300 |
6 months and 1 day in 2019 | 0.05478 |
… | … |
|
0.01790 |
… | … |
|
0.05718 |
II long-time memory neural network model inner structure contains forgetting gate, input gate, output gate:
iI with 1 month as step length, corrosion rate monitoring value V corresponding to the time data 101 in 2018, 1 month and 1 day1010.01367(mm/a) in 2018, 2/1 day and time data xt2Forgetting gate f (t) of long-time and short-time neural network as 201201) Carry over into (8) and update forgetting:
f(201)=sigmod(wf*0.1367+uf*201+bf) (8)
ii time data corresponding to 2 month and 1 day of 2018201, 2018, 1 monthCorrosion monitoring value V corresponding to 1 day time data 101101Input gate i (201) of long-term neural network with 0.01367(mm/a) entry time data 201, formula (9) and alternative content
i(201)=sigmod(wi*0.1367+ui*201+bi) (9)
iii forgetting gate f (201) and input gate determination coefficient i (201) using 2018 year 2 month 1 day time data 210, and candidate contentUpdating the current state of the neuron to obtain a neuron updating function C of the data 201 of 2 months and 1 day in 2018201Formula (11):
neuron update function C of 2 month and 1 day in IV2018201Corrosion rate monitoring values V corresponding to the data 201 of 2 month, 1 day and 8 days in 2018 and the data 101 of the last time101Output gate O of elapsed time data 201 (mm/a) 0.01367201Equation (12), the predicted value V of the corrosion rate of 2018, 2 months and 1 day is output2010.0028mm/a formula (13):
O201=sigmod(wo*0.01367+uo*201+bo) (12)
V201=O201·tanh(C201) (13)
2) predicting the corrosion rate by a value V2010.028mm/a, minimum required wall thickness tmin22.91mm and the average value t of the wall thickness of all measured pointsam2Carry-in (14) to solve No. 2 pipeline residual life 13.90mmWherein L isa≤L,K2The value is 1;
(b) predicting the residual life of the No. 2 pipeline based on ultrasonic thickness measurement:
1) wall thickness d of the pipe211.5mm, minimum wall thickness measurement amin211.27mm and production run time Ts2Substitution of 10a into equation (14) estimates the etch rate Vμ2=0.023mm/a;
2) Design pressure P of pipeline2Outer diameter of 9.6MPa10Dw2168.8mm, yield strength sigmas2360MPa and corrosion allowance C2Calculation of wall thickness epsilon by substituting 3.0mm into equation (15)2=4.17mm;
3) Calculating the result Vμ20.023mm/a and epsilon2Solving residual lifetime T ″, substituting 4.17mm into equation (16) "L2=308.7a;
(c) Determination of No. 2 pipeline residual life T by formula (17)L:TL2=min(T’L2,T”L2)=308.7a。
And 5: and (3) judging the safe service condition of the No. 2 pipeline: due to TL2≥Tu2-Ts2And (5) if the pipeline is 10a, the pipeline can be continuously in service safely, the pipeline is judged to be in five-level early warning level, and the early warning mark is displayed in green.
Step 6: the No. 2 pipeline carries out five-stage early warning treatment: the corrosion control condition of the pipeline is better, and the pipeline can be produced and operated safely.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (1)
1. An artificial intelligent early warning method for pipeline corrosion is characterized by comprising the following steps:
step 1: collecting basic data of the pipeline:
pipe outside diameter DwMm; (2) inner diameter D of pipelinenMm; (3) yield strength sigma of pipe materialsMPa; (4) the wall thickness d, mm of the pipeline; (5) the design pressure P, MPa of the pipeline; (6) the corrosion allowance C and mm of the pipeline; (7) pipeline production run time TsA; (8) pipeline design service life Tu。
Step 2: dividing a pipeline corrosion defect area:
detecting corrosion defects of the pipeline, and meshing the areas according to the axial direction and the annular direction: axially divided into m parts and respectively C1、C2…Ci…CmAnd n parts are divided annularly into L1、L2…Lj…LnSo as to discretely divide the corrosion defect into m × n wall thickness measurement points Aij(i=1、2、3…m;j=1、2、3…n);
Wherein: m is the number of axially delimited regions, C1、C2…CmEach part of the axially delimited area corresponds to an axial measuring point of one defect; n is the number of the annularly defined areas, L1、L2…LnEach part of the axially defined area corresponds to a circumferential measuring point of one defect; a. theijM n wall thickness measurement points discretely divided for corrosion defects.
And step 3: the method comprises the following steps of:
(a) solving for axially required minimum wall thickness by equation (1)Solving the circumferential required minimum wall thickness by equation (2)The calculated result is processedAndsubstituting formula (3) to determine the minimum required wall thickness t of the pipelinemin:
In the formula:the minimum wall thickness is required in the axial direction, mm;the minimum wall thickness is required in the circumferential direction and is mm; t is tminThe minimum required wall thickness of the pipeline is mm;
(b) counting the wall thickness value a of the m multiplied by n wall thickness measuring points of the pipeline corrosion defect areaijWherein the measurement gives the wall thickness value at the minimum is aminSolving the average value t of the wall thickness of all measured points through the formula (4)am:
In the formula: a isijThe wall thickness values of m multiplied by n measuring points which are discretely divided for corrosion defects are mm; t is tamThe average value of the wall thickness of all measured points is mm;
(c) solving the residual wall thickness ratio R of the pipeline through the formula (5)t:
In the formula: rtBeing conduitsThe residual wall thickness ratio;
(d) solving the length L of the maximum allowable corrosion defect in the axial direction of the pipeline:
Wherein: l is the length value of the axial maximum allowable corrosion defect, mm;
(e) determining the safe service condition of the pipeline:
if La is less than or equal to L, the pipeline can be continuously in service;
if La is greater than L and tam-C is more than or equal to 0.9tmin, the pipeline can continue to be in service;
if La is greater than L and tam-C is less than 0.9tmin, the pipeline cannot be in service continuously, the pipeline is judged to be in first-level early warning level, and the early warning mark is displayed in red;
wherein: l isaThe axial length of the corrosion defect of the wall thickness section of the pipeline is mm.
And 4, step 4: predicting the residual life of the pipeline:
(a) predicting the residual life of the pipeline based on online monitoring:
1) predicting the corrosion rate of the pipeline, and specifically comprises the following steps:
arranging an on-site corrosion monitoring data set: monitoring time data set alpha (t) of a certain time period1、t2、t3…tn) (ii) a Monitoring a time-corresponding corrosion rate data set beta (V)1、V2、V3…Vn);
Wherein: t is t1、t2、t3…tnMonitoring time of one step length according to time sequence; v1、V2、V3…VnThe corrosion rate monitoring value is mm/a corresponding to the monitoring time;
and secondly, observing the corrosion monitoring data set to supplement missing data:
arbitrarily take 3 times t in the corrosion monitoring time data set alphaa、tb、tcTaking the corresponding corrosion rate monitoring value V in the corrosion rate data set betaa、Vb、VcSubstituting equation (6) to obtain the missing time txCorresponding corrosion rate value Vx:
In the formula: t is ta、tb、tcMonitoring any three times in the time data set alpha; va、Vb、VcFor t in the corrosion rate data set betaa、tb、tcCorresponding corrosion rate monitoring value, mm/a; t is txMonitoring time for absence; vxIs txCorresponding corrosion rate, mm/a;
constructing a long-time memory neural network:
i complete corrosion monitoring dataset: monitoring time data set alpha' (t) containing missing values of corrosion data1、t2、t3…tx…tn) And a corresponding corrosion rate data set β' (V)1、V2、V3…Vx…Vn) Wherein α 'is an input value and β' is an output value;
II long-time memory neural network model inner structure contains forgetting gate, input gate, output gate:
i last time ti-1Corrosion rate monitoring ofi-1Passing through tiForgetting gate f (t) of time-interval neural networki) Update forgetting is performed by equation (7):
in the formula: f (t)i) Expressed as a forgetting gate function; sigma is a neural network activation function, and a sigmoid function is selected; w is afAnd ufIs a forgetting gate weight coefficient matrix; bfIs a network offset value; t is tiPredicting a time for the target;represents tiTime data corresponding to time; t is ti-1A certain time for monitoring the time data set alpha'; vi-1Represents the corrosion rate in the corresponding corrosion rate dataset β', mm/a;
iiticorresponding time datati-1Time-corresponding corrosion monitoring value Vi-1Enter tiInput gate i (t) of time-interval neural networki) Equation (8) and alternativesFormula (9):
in the formula: i (t)i) A decision coefficient representing an input gate; sigma is a neural network activation function, and a sigmoid function is selected; w is aiAnd uiDetermining a coefficient weight coefficient matrix for the input gate; biAn offset value representing the input gate decision coefficient matrix;representing input gate alternative content; w is acRepresenting an input gate alternative content weight matrix; bcA bias value representing the input gate alternate content; tanh represents a hyperbolic tangent excitation function;
iii using tiForgetting door f (t) at timei) Determining the coefficient i (t) with the input gatei) Alternative contentUpdating the current state of the neuron to obtain tiTemporal neuron update function CtiFormula (10):
in the formula:represents ti-1A neural update function of time;represents tiA neural update function of time;
ivtineuron update function of timetiCorresponding time dataAnd last time ti-1Corrosion rate monitoring value V corresponding to timei-1Passing through tiTime output gateEquation (11), output predicted value V of corrosion rateiFormula (12):
in the formula:representing an output gate decision coefficient; sigma represents a neural network activation function, and a sigmoid function is selected; w is aoRepresenting an output gate weight matrix; boA bias value representing an output gate; viRepresents the target time tiThe predicted value of the corrosion rate of (1), mm/a;
2) predicting the corrosion rate V obtained by the predictioniMinimum required wall thickness t of corroded pipelineminAnd the average value t of the wall thickness of all measured pointsamSubstituting formula (13) to solve pipeline residual life T'L:
In the formula: t'LIn order to monitor the residual service life of the pipeline on line, a;
k is a safety coefficient, and when La is less than or equal to L, the value of K is 1; when La is more than L, K is 0.9;
(b) predicting the residual life of the pipeline based on ultrasonic thickness measurement:
1) estimating pipeline corrosion rate VμFormula (14):
in the formula: vμFor corrosion rate estimation, mm/a; delta d is the difference of wall thickness before and after the same point thickness measurement, mm; delta T is the time difference before and after thickness measurement, a;
2) solving the pipeline to calculate the wall thickness epsilon formula (15):
in the formula: epsilon is the calculated wall thickness of the steel pipe, mm; p is design pressure, MPa; sigmasThe yield strength of the steel pipe is MPa;
3) estimating the corrosion rate VμSubstituting the calculated wall thickness epsilon of the pipeline into a calculation formula (16) to solve the corrosion residual life T ″)L:
In the formula: t ″)LMeasuring the residual life of the pipeline based on ultrasonic waves, a;
(b) determining the remaining life T of a pipelineL:
TL=min(T′L,T″L) (17)
In the formula: t isLThe remaining life of the pipeline, a.
And 5: judging the safe service condition of the pipeline:
(a) if TL≥Tu-TsIf the pipeline can continue to be in service safely, the pipeline is judged to be in a five-level early warning level, and the early warning mark is displayed to be green;
(b) if TL<Tu-TsFurther judging the corrosion early warning level;
wherein: t issRunning time for pipeline production, a; t isuDesign age, a.
Step 6: setting conditions of corrosion early warning levels:
(a) if Ts<TL<Tu-TsIf so, judging the early warning level as four-level, and displaying the early warning mark as blue;
(b) if 10<TL<TuIf so, judging the early warning level to be a third-level early warning level, and displaying the early warning mark to be yellow;
(c) if 3<TL<When 10, judging the early warning level as a secondary early warning level, and displaying an early warning mark as orange;
(d) if TL<And 3, judging the early warning level as the first-level early warning level, and displaying the early warning mark in red.
And 7: early warning treatment:
(a) for the first-level early warning, the corrosion degree is very serious, and a corrosion pipeline needs to be replaced;
(b) for the secondary early warning, the corrosion degree is serious, and the pipeline needs to stop running and be repaired;
(c) for the third-level early warning, the corrosion degree is relatively heavy, and the pipeline is depressurized, operated and repaired;
(d) for the four-stage early warning, observing the corrosion condition of the pipeline;
(e) for the five-level early warning, the corrosion control condition of the pipeline is better, and the pipeline can be safely produced and operated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111178474.1A CN113806902B (en) | 2021-10-10 | 2021-10-10 | Artificial intelligent early warning method for pipeline corrosion |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111178474.1A CN113806902B (en) | 2021-10-10 | 2021-10-10 | Artificial intelligent early warning method for pipeline corrosion |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113806902A true CN113806902A (en) | 2021-12-17 |
CN113806902B CN113806902B (en) | 2022-08-19 |
Family
ID=78939409
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111178474.1A Active CN113806902B (en) | 2021-10-10 | 2021-10-10 | Artificial intelligent early warning method for pipeline corrosion |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113806902B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114278873A (en) * | 2021-12-23 | 2022-04-05 | 天津大学 | Remote monitoring method for pipeline fault |
US11879599B2 (en) | 2022-12-16 | 2024-01-23 | Chengdu Qinchuan Iot Technology Co., Ltd. | Methods, Internet of Things systems, and mediums for assessing electrochemical corrosion of smart gas pipeline |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103455682A (en) * | 2013-09-12 | 2013-12-18 | 西南石油大学 | Method for predicting residual life of corroded casing of high-temperature and high-pressure well |
CN107290270A (en) * | 2017-07-01 | 2017-10-24 | 西南石油大学 | A kind of corrosion life Forecasting Methodology for sleeve pipe |
CN110309577A (en) * | 2019-06-26 | 2019-10-08 | 西安建筑科技大学 | A kind of submarine pipeline method for predicting residual useful life based on IM and LMLE-BU algorithm |
CN112184320A (en) * | 2020-10-09 | 2021-01-05 | 焦点科技股份有限公司 | AI-based intelligent operation detection and operation and maintenance method and system for operation and maintenance data of commercial website |
CN112883538A (en) * | 2020-12-29 | 2021-06-01 | 浙江中控技术股份有限公司 | Corrosion prediction system and method for buried crude oil pipeline |
CN113239504A (en) * | 2021-06-30 | 2021-08-10 | 西南石油大学 | Pipeline corrosion defect prediction method based on optimized neural network |
-
2021
- 2021-10-10 CN CN202111178474.1A patent/CN113806902B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103455682A (en) * | 2013-09-12 | 2013-12-18 | 西南石油大学 | Method for predicting residual life of corroded casing of high-temperature and high-pressure well |
CN107290270A (en) * | 2017-07-01 | 2017-10-24 | 西南石油大学 | A kind of corrosion life Forecasting Methodology for sleeve pipe |
CN110309577A (en) * | 2019-06-26 | 2019-10-08 | 西安建筑科技大学 | A kind of submarine pipeline method for predicting residual useful life based on IM and LMLE-BU algorithm |
CN112184320A (en) * | 2020-10-09 | 2021-01-05 | 焦点科技股份有限公司 | AI-based intelligent operation detection and operation and maintenance method and system for operation and maintenance data of commercial website |
CN112883538A (en) * | 2020-12-29 | 2021-06-01 | 浙江中控技术股份有限公司 | Corrosion prediction system and method for buried crude oil pipeline |
CN113239504A (en) * | 2021-06-30 | 2021-08-10 | 西南石油大学 | Pipeline corrosion defect prediction method based on optimized neural network |
Non-Patent Citations (2)
Title |
---|
刘旋等: "长庆油田油气管道腐蚀检测与剩余寿命评价", 《油气田地面工程》 * |
邵守斌等: "喇嘛甸油田外输油管道完整性评价", 《全面腐蚀控制》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114278873A (en) * | 2021-12-23 | 2022-04-05 | 天津大学 | Remote monitoring method for pipeline fault |
CN114278873B (en) * | 2021-12-23 | 2022-09-16 | 天津大学 | Remote monitoring method for pipeline fault |
US11879599B2 (en) | 2022-12-16 | 2024-01-23 | Chengdu Qinchuan Iot Technology Co., Ltd. | Methods, Internet of Things systems, and mediums for assessing electrochemical corrosion of smart gas pipeline |
Also Published As
Publication number | Publication date |
---|---|
CN113806902B (en) | 2022-08-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113806902B (en) | Artificial intelligent early warning method for pipeline corrosion | |
WO2020063819A1 (en) | Real-time data analysis method for pipe network, and device | |
US11488010B2 (en) | Intelligent analysis system using magnetic flux leakage data in pipeline inner inspection | |
CN113239504B (en) | Pipeline corrosion defect prediction method based on optimized neural network | |
CN109815595B (en) | Underground pipe column of oil and gas field and hydrogen sulfide corrosion big data analysis method of wellhead gas transmission pipeline | |
CN101915728A (en) | Testing method for predicting residual service life of buried metal water supply pipeline | |
CN113468757B (en) | Method for evaluating reliability of corroded natural gas pipeline based on fuzzy random theory | |
CN113588179A (en) | Water supply pipe network leakage detection method and system | |
US7117123B2 (en) | Method of managing maintenance and maintenance managing apparatus | |
CN110517765A (en) | A kind of prostate cancer big data aid decision-making method and system constituting method based on fuzzy reasoning logic | |
CN111191855B (en) | Water quality abnormal event identification and early warning method based on pipe network multi-element water quality time sequence data | |
CN115481940A (en) | Oil and gas pipeline area risk monitoring system based on big data | |
CN116934262A (en) | Construction safety supervision system and method based on artificial intelligence | |
CN110806191B (en) | Circumferential weld defect pipeline safety evaluation method based on strain monitoring | |
CN116163807A (en) | Tunnel health monitoring abnormal data dynamic early warning method based on ARIMA model | |
CN109521735B (en) | On-line assessment method for use state risk of high-temperature heating surface of boiler | |
CN115830812B (en) | Intelligent early warning system and method for abnormal settlement of pump station building | |
CN111275332A (en) | System and method for evaluating quality of bulldozer blade assembly process based on fuzzy-association rule | |
Xu et al. | Fuzzy Logic Applications for Water Pipeline Performance Analysis | |
CN103984845A (en) | Method and system for calculating gas pipeline completeness evaluation period | |
Xing et al. | Streaming sensor data validation in networked infrastructure systems through synergic auto and cross similarity discovery and analysis | |
CN111144002B (en) | Method for predicting pipe burst of grey cast iron pipe of water supply pipe network | |
Kim et al. | A fuzzy inference based reliability method for underground gas pipelines in the presence of corrosion defects | |
Uruchurtu-Chavarin et al. | Artificial intelligence for the assessment on the corrosion conditions diagnosis of transmission line tower foundations | |
CN111341396A (en) | Method and system for evaluating material corrosion safety in atmospheric environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |