CN114676730A - Method, device, electronic device and storage medium for identifying bent and deformed pipe segment - Google Patents
Method, device, electronic device and storage medium for identifying bent and deformed pipe segment Download PDFInfo
- Publication number
- CN114676730A CN114676730A CN202210329101.8A CN202210329101A CN114676730A CN 114676730 A CN114676730 A CN 114676730A CN 202210329101 A CN202210329101 A CN 202210329101A CN 114676730 A CN114676730 A CN 114676730A
- Authority
- CN
- China
- Prior art keywords
- pipe segment
- pipe
- strain
- identification model
- type identification
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000005452 bending Methods 0.000 claims abstract description 97
- 230000002159 abnormal effect Effects 0.000 claims abstract description 37
- 238000005259 measurement Methods 0.000 claims abstract description 22
- 238000001514 detection method Methods 0.000 claims description 36
- 238000012549 training Methods 0.000 claims description 31
- 230000006870 function Effects 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 20
- 238000013527 convolutional neural network Methods 0.000 claims description 13
- 230000005856 abnormality Effects 0.000 claims description 10
- 238000011176 pooling Methods 0.000 claims description 10
- 238000012545 processing Methods 0.000 claims description 10
- 238000005516 engineering process Methods 0.000 description 12
- 239000002609 medium Substances 0.000 description 11
- 230000009286 beneficial effect Effects 0.000 description 10
- 238000010801 machine learning Methods 0.000 description 10
- 239000000306 component Substances 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000007689 inspection Methods 0.000 description 4
- 239000011159 matrix material Substances 0.000 description 4
- 238000003062 neural network model Methods 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000011156 evaluation Methods 0.000 description 3
- 238000000605 extraction Methods 0.000 description 3
- 210000002569 neuron Anatomy 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 239000008358 core component Substances 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000005070 sampling Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013145 classification model Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000004907 flux Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000007637 random forest analysis Methods 0.000 description 1
- 230000000306 recurrent effect Effects 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000002689 soil Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 239000006163 transport media Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/12—Classification; Matching
- G06F2218/14—Classification; Matching by matching peak patterns
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B21/00—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
- G01B21/32—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring the deformation in a solid
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
- G06F18/2415—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/243—Classification techniques relating to the number of classes
- G06F18/2433—Single-class perspective, e.g. one-against-all classification; Novelty detection; Outlier detection
-
- 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/045—Combinations of 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/047—Probabilistic or stochastic 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/08—Learning methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/08—Feature extraction
- G06F2218/10—Feature extraction by analysing the shape of a waveform, e.g. extracting parameters relating to peaks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Evolutionary Computation (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computational Linguistics (AREA)
- Mathematical Physics (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Molecular Biology (AREA)
- Evolutionary Biology (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Probability & Statistics with Applications (AREA)
- Signal Processing (AREA)
- Length Measuring Devices With Unspecified Measuring Means (AREA)
Abstract
本申请提供一种弯曲变形管段识别方法、装置、电子设备及存储介质,方法包括:获取惯性测量单元IMU测量得到的第一应变数据;根据第一应变数据,得到弯曲应变曲线;确定弯曲应变曲线中弯曲应变值大于预设值的波峰,得到待识别管段,待识别管段为波峰两侧的预设区间在管道中对应的管段;将待识别管段对应的第二应变数据输入管段类型识别模型,得到待识别管段的管段异常类型。本申请的方法,根据获取的第一应变数据确定待识别管段,并将待识别管段对应的第二应变数据输入管段类型识别模型,可以得到待识别管段的管段异常类型,不需要人工进行管段异常类型的判断,可以节约时间和人力,统一判别标准,从而提高管段异常类型的判断效率。
The present application provides a method, device, electronic device and storage medium for identifying a bending deformation pipe segment, the method includes: acquiring first strain data measured by an inertial measurement unit IMU; obtaining a bending strain curve according to the first strain data; determining the bending strain curve The wave crest with the middle bending strain value greater than the preset value is obtained, and the pipe segment to be identified is obtained. The pipe segment to be identified is the pipe segment corresponding to the preset interval on both sides of the wave crest in the pipeline; the second strain data corresponding to the pipe segment to be identified is input into the pipe segment type identification model, Get the abnormal type of the pipe segment to be identified. In the method of the present application, the pipe section to be identified is determined according to the acquired first strain data, and the second strain data corresponding to the pipe section to be identified is input into the pipe section type identification model, and the abnormal type of the pipe section of the to-be-identified pipe section can be obtained. The type judgment can save time and manpower, and unify the judgment standards, thereby improving the judgment efficiency of abnormal types of pipe sections.
Description
技术领域technical field
本申请涉及数据处理技术领域,尤其涉及一种弯曲变形管段识别方法、装置、电子设备及存储介质。The present application relates to the technical field of data processing, and in particular, to a method, device, electronic device and storage medium for identifying a bent and deformed pipe segment.
背景技术Background technique
油气长输管道一般具有长距离输送、管道埋深较浅、横跨的区域广阔、穿越的地质条件复杂多变等特点,从而易受到地震、塌陷、山体滑坡、泥石流等自然灾害的破坏。地质灾害是导致埋地油气管道破坏失效的主要原因之一,由地质灾害引发的地表形状改变和土体位移可致使管体发生弯曲变形,管道在外力作用下发生弯曲变形后易在变形最严重的点、焊缝或变形约束点出现应力集中区域,严重时将导致管体破坏失效,造成不可估量的经济损失、人员伤亡、环境破坏。因此,需要管道内检测技术来监测管道是否异常,以避免由管体破坏失效造成的各种损失。Long-distance oil and gas pipelines generally have the characteristics of long-distance transportation, shallow pipeline depth, wide spanning area, complex and changeable geological conditions, etc., which are vulnerable to natural disasters such as earthquakes, collapses, landslides, and debris flows. Geological disasters are one of the main reasons for the failure of buried oil and gas pipelines. The surface shape change and soil displacement caused by geological disasters can cause bending deformation of the pipe body. The pipeline is prone to the most serious deformation after bending deformation under the action of external force There will be stress concentration areas at the points, welds or deformation restraint points, which will lead to the failure of the pipe body in severe cases, resulting in immeasurable economic losses, casualties, and environmental damage. Therefore, in-pipe detection technology is required to monitor whether the pipeline is abnormal, so as to avoid various losses caused by the failure of the pipe body.
管道内检测技术是依靠管道内的输送介质的压力来推动内检测器的运行,从而测量得到油气管道上的缺陷和异常的常用技术。惯性测量单元(Inertial MeasurementUnit:IMU)内检测技术是一种常用的管道内检测技术,是一种检测管道弯曲应变的有效方法,其核心部件是三维正交的陀螺仪与加速度计,IMU在完成整条待测量管道的测量后,通过IMU采集并记录保存的数据进行积分等计算,就可以得到内检测器在任意时刻的速度、位置与姿态数据信息,基于IMU检测得到的姿态数据可以推算整条待测量管道内各部分管段所承受的变形和应变状态,并且通过长期的检测来识别、控制管道位移及弯曲应变所带来的风险。In-pipeline detection technology is a common technology that relies on the pressure of the transport medium in the pipeline to drive the operation of the inner detector, so as to measure the defects and abnormalities on the oil and gas pipeline. Inertial measurement unit (Inertial Measurement Unit: IMU) detection technology is a commonly used in-pipe detection technology and an effective method to detect the bending strain of the pipeline. Its core components are three-dimensional orthogonal gyroscopes and accelerometers. After the measurement of the entire pipeline to be measured, the data collected and recorded by the IMU is used for integration and other calculations, and the speed, position and attitude data information of the internal detector at any time can be obtained. Based on the attitude data detected by the IMU, the whole The deformation and strain state of each part of the pipeline in the pipeline to be measured, and the risks caused by pipeline displacement and bending strain are identified and controlled through long-term detection.
现有的对IMU应变数据的识别分析方法,通过Matlab编程预先找到IMU应变数据中弯曲应变超过0.125%的所有管段,这些管段中包含了弯头、凹陷、弯曲变形段和环焊缝异常段管道,基于对齐的几何检测数据标记出所给的弯头和凹陷的里程位置,删除凹陷、弯头等几何特征点影响范围内的应变数据,排除弯头和凹陷的干扰。对于剩余几何检测未标记的弯曲应变值大于0.125%管段,有实践经验的技术人员通过画图的方式逐段判断其管段类型,通过人工识别的方法打上标签,分别是疑似弯头、疑似凹陷、环焊缝异常段和弯曲变形段。该方法通过几何检测和人工识别的方法对IMU数据进行逐段识别分类得到地质灾害管道的位置。The existing identification and analysis methods for IMU strain data use Matlab programming to pre-find all pipe sections with bending strain exceeding 0.125% in the IMU strain data. These pipe sections include elbows, depressions, bending deformation sections and abnormal girth weld sections. , based on the aligned geometric detection data, the mileage positions of the given elbows and depressions are marked, and the strain data within the influence range of geometric feature points such as depressions and elbows is deleted, and the interference of elbows and depressions is excluded. For the remaining unmarked pipe sections with a bending strain value greater than 0.125%, the technicians with practical experience judge the type of pipe sections section by section by drawing pictures, and mark the sections by manual identification, which are suspected elbows, suspected depressions, and rings. Weld abnormal segment and bending deformation segment. The method uses geometric detection and manual identification to identify and classify the IMU data segment by segment to obtain the location of the geological disaster pipeline.
现有的对IMU应变数据的识别分析仍停留在人工逐段识别地质灾害高风险管段的阶段,这种方法存在耗费时间长且识别准确率较低等问题。The existing identification and analysis of IMU strain data is still at the stage of manually identifying high-risk pipeline sections of geological hazards one by one, and this method has problems such as long time consumption and low identification accuracy.
发明内容SUMMARY OF THE INVENTION
本申请提供一种弯曲变形管段识别方法、装置、电子设备及存储介质,用以解决现有的对IMU应变数据的识别分析,存在耗费时间长且识别准确率较低的问题。The present application provides a method, device, electronic device and storage medium for identifying a bent and deformed pipe section, which are used to solve the problems of the existing identification and analysis of IMU strain data, which take a long time and have a low identification accuracy.
第一方面,本申请提供一种弯曲变形管段识别方法,包括:In a first aspect, the present application provides a method for identifying a bent and deformed pipe segment, including:
获取惯性测量单元IMU测量得到的第一应变数据,第一应变数据为IMU在完成管道内检测时得到的管道应变数据。First strain data measured by the inertial measurement unit IMU is acquired, where the first strain data is the pipeline strain data obtained when the IMU completes the detection in the pipeline.
根据第一应变数据,得到弯曲应变曲线。From the first strain data, a bending strain curve is obtained.
确定弯曲应变曲线中弯曲应变值大于预设值的波峰,得到待识别管段,待识别管段为波峰两侧的预设区间在管道中对应的管段。Determine the wave crest whose bending strain value is greater than the preset value in the bending strain curve, and obtain the pipe section to be identified, and the pipe section to be identified is the pipe section corresponding to the preset interval on both sides of the wave crest in the pipeline.
将待识别管段对应的第二应变数据输入管段类型识别模型,得到待识别管段的管段异常类型。The second strain data corresponding to the pipe section to be identified is input into the pipe section type identification model, and the abnormal type of the pipe section of the pipe section to be identified is obtained.
可选的,管段类型识别模型是基于一维卷积神经网络模型训练得到的。Optionally, the pipe segment type identification model is obtained by training based on a one-dimensional convolutional neural network model.
可选的,将待识别管段对应的第二应变数据输入管段类型识别模型之前,包括:Optionally, before inputting the second strain data corresponding to the pipe segment to be identified into the pipe segment type identification model, the method includes:
基于样本数据库和样本数据对应的标签训练初始管段类型识别模型,得到管段类型识别模型;样本数据库包括管段类型、管段应变数据所处的绝对里程范围、环焊缝编号范围、检测日期、管道编号和管段应变值。The initial pipe segment type identification model is trained based on the sample database and the labels corresponding to the sample data, and the pipe segment type identification model is obtained; Strain value of the pipe segment.
可选的,基于样本数据库和样本数据对应的标签训练初始管段类型识别模型,得到管段类型识别模型,包括:Optionally, the initial pipe segment type identification model is trained based on the sample database and the labels corresponding to the sample data, and the pipe segment type identification model is obtained, including:
获取第三应变数据中的凹陷、弯头、弯曲变形和环焊缝异常4种管段异常类型对应的样本数据,样本数据库包括4种管段异常类型对应的样本数据。Obtain the sample data corresponding to the four types of anomalies in the pipe section, including sag, elbow, bending deformation and girth weld anomaly in the third strain data, and the sample database includes the sample data corresponding to the four types of pipe section anomalies.
基于4种管段类型对应的样本数据和样本数据对应的标签训练初始管段类型识别模型,得到管段类型识别模型;其中,样本数据对应的标签包括凹陷、弯头、弯曲变形和环焊缝异常4种管段异常类型。The initial pipe segment type identification model is trained based on the sample data corresponding to the four pipe segment types and the labels corresponding to the sample data, and the pipe segment type identification model is obtained; among which, the labels corresponding to the sample data include 4 types of concave, elbow, bending deformation and abnormal girth weld Pipe segment exception type.
可选的,基于4种管段类型对应的样本数据和样本数据对应的标签训练初始管段类型识别模型,得到管段类型识别模型,包括:Optionally, the initial pipe segment type identification model is trained based on the sample data corresponding to the four pipe segment types and the labels corresponding to the sample data, and the pipe segment type identification model is obtained, including:
将样本数据输入初始管段类型识别模型中,经过输入层、卷积层、池化层、平坦层、全连接层和输出层的特征处理后,得到管段预测类型。The sample data is input into the initial pipe segment type identification model, and after the feature processing of the input layer, convolution layer, pooling layer, flat layer, fully connected layer and output layer, the predicted type of the pipe segment is obtained.
根据管段预测类型和标签,更新初始管段类型识别模型的网络参数,得到管段类型识别模型。According to the predicted type and label of the pipe segment, the network parameters of the initial pipe segment type identification model are updated to obtain the pipe segment type identification model.
可选的,根据管段预测类型和标签,更新初始管段类型识别模型的网络参数,得到管段类型识别模型,包括:Optionally, according to the predicted type and label of the pipe segment, update the network parameters of the initial pipe segment type identification model to obtain the pipe segment type identification model, including:
根据管段预测类型和标签,构造样本数据对应的损失函数。According to the prediction type and label of the pipe segment, the loss function corresponding to the sample data is constructed.
根据样本数据对应的损失函数,更新初始管段类型识别模型的网络参数,得到管段类型识别模型。According to the loss function corresponding to the sample data, the network parameters of the initial pipe segment type identification model are updated to obtain the pipe segment type identification model.
第二方面,本申请提供一种弯曲变形管段识别装置,包括:In a second aspect, the present application provides a device for identifying bent and deformed pipe segments, including:
获取模块,用于获取惯性测量单元IMU测量得到的第一应变数据,第一应变数据为IMU在完成管道内检测时得到的管道应变数据。The acquiring module is configured to acquire first strain data measured by the inertial measurement unit IMU, where the first strain data is the pipeline strain data obtained when the IMU completes the detection in the pipeline.
该获取模块,还用于根据第一应变数据,得到弯曲应变曲线。The obtaining module is further configured to obtain a bending strain curve according to the first strain data.
确定模块,用于确定弯曲应变曲线中弯曲应变值大于预设值的波峰,得到待识别管段,待识别管段为波峰两侧的预设区间在管道中对应的管段。The determining module is used for determining the wave crest whose bending strain value is greater than the preset value in the bending strain curve, and obtains the pipe section to be identified, and the pipe section to be identified is the pipe section corresponding to the preset interval on both sides of the wave crest in the pipeline.
识别模块,用于将待识别管段对应的第二应变数据输入管段类型识别模型,得到待识别管段的管段异常类型。The identification module is used for inputting the second strain data corresponding to the pipe section to be identified into the pipe section type identification model to obtain the abnormal type of the pipe section of the pipe section to be identified.
可选的,管段类型识别模型是基于一维卷积神经网络模型训练得到的。Optionally, the pipe segment type identification model is obtained by training based on a one-dimensional convolutional neural network model.
可选的,该弯曲变形管段识别装置还包括训练模块。Optionally, the device for identifying bent and deformed pipe segments further includes a training module.
该训练模块,用于将待识别管段对应的第二应变数据输入管段类型识别模型之前,基于样本数据库和样本数据对应的标签训练初始管段类型识别模型,得到管段类型识别模型;样本数据库包括管段类型、管段应变数据所处的绝对里程范围、环焊缝编号范围、检测日期、管道编号和管段应变值。The training module is used to train the initial pipe segment type identification model based on the sample database and the labels corresponding to the sample data before inputting the second strain data corresponding to the pipe segment to be identified into the pipe segment type identification model to obtain the pipe segment type identification model; the sample database includes the pipe segment type , Absolute mileage range, girth weld number range, inspection date, pipe number and pipe segment strain value of the pipe segment strain data.
可选的,该训练模块,具体用于:Optionally, the training module is specifically used for:
获取第三应变数据中的凹陷、弯头、弯曲变形和环焊缝异常4种管段异常类型对应的样本数据,样本数据库包括4种管段异常类型对应的样本数据。Obtain the sample data corresponding to the four types of anomalies in the pipe section, including sag, elbow, bending deformation and girth weld anomaly in the third strain data, and the sample database includes the sample data corresponding to the four types of pipe section anomalies.
基于4种管段类型对应的样本数据和样本数据对应的标签训练初始管段类型识别模型,得到管段类型识别模型;其中,样本数据对应的标签包括凹陷、弯头、弯曲变形和环焊缝异常4种管段异常类型。The initial pipe segment type identification model is trained based on the sample data corresponding to the four pipe segment types and the labels corresponding to the sample data, and the pipe segment type identification model is obtained; among which, the labels corresponding to the sample data include 4 types of concave, elbow, bending deformation and abnormal girth weld Pipe segment exception type.
可选的,该训练模块,具体用于:Optionally, the training module is specifically used for:
将样本数据输入初始管段类型识别模型中,经过输入层、卷积层、池化层、平坦层、全连接层和输出层的特征处理后,得到管段预测类型。The sample data is input into the initial pipe segment type identification model, and after the feature processing of the input layer, convolution layer, pooling layer, flat layer, fully connected layer and output layer, the predicted type of the pipe segment is obtained.
根据管段预测类型和标签,更新初始管段类型识别模型的网络参数,得到管段类型识别模型。According to the predicted type and label of the pipe segment, the network parameters of the initial pipe segment type identification model are updated to obtain the pipe segment type identification model.
可选的,该训练模块,具体用于:Optionally, the training module is specifically used for:
根据管段预测类型和标签,构造样本数据对应的损失函数。According to the prediction type and label of the pipe segment, the loss function corresponding to the sample data is constructed.
根据样本数据对应的损失函数,更新初始管段类型识别模型的网络参数,得到管段类型识别模型。According to the loss function corresponding to the sample data, the network parameters of the initial pipe segment type identification model are updated to obtain the pipe segment type identification model.
第三方面,本申请提供一种电子设备,包括:存储器和处理器;In a third aspect, the present application provides an electronic device, including: a memory and a processor;
存储器,用于存储计算机程序。Memory for storing computer programs.
处理器,用于读取存储器存储的计算机程序,并根据存储器中的计算机程序执行上述第一方面的弯曲变形管段识别方法。The processor is configured to read the computer program stored in the memory, and execute the method for identifying the bent and deformed pipe segment of the first aspect according to the computer program in the memory.
第四方面,本申请提供一种可读存储介质,其上存储有计算机程序,计算机程序中存储有计算机执行指令,计算机执行指令被处理器执行时用于实现如上述第一方面的弯曲变形管段识别方法。In a fourth aspect, the present application provides a readable storage medium on which a computer program is stored, and a computer-executable instruction is stored in the computer program, and when the computer-executable instruction is executed by a processor, it is used to realize the bending deformation pipe segment as described above in the first aspect recognition methods.
第五方面,本申请实施例还提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时,实现上述第一方面的弯曲变形管段识别方法。In a fifth aspect, embodiments of the present application further provide a computer program product, including a computer program, which, when executed by a processor, implements the method for identifying a bent and deformed pipe segment of the first aspect.
本申请提供的弯曲变形管段识别方法、装置、电子设备及存储介质,通过获取惯性测量单元IMU测量得到的第一应变数据,第一应变数据为IMU在完成管道内检测时得到的管道应变数据,根据第一应变数据,得到弯曲应变曲线,确定弯曲应变曲线中弯曲应变值大于预设值的波峰,得到待识别管段,待识别管段为波峰两侧的预设区间在管道中对应的管段,将待识别管段对应的第二应变数据输入管段类型识别模型,得到待识别管段的管段异常类型。本申请的方法,只需要获取的IMU应变数据和确定待识别管段,并将待识别管段对应的第二应变数据输入管段类型识别模型,就可以得到待识别管段的管段异常类型,不需要通过人工进行管段异常类型的判断,可以节约时间和人力,统一判别标准,从而提高管段异常类型的判断效率。In the method, device, electronic device and storage medium for identifying a bent and deformed pipe section provided by the present application, the first strain data obtained by the inertial measurement unit IMU measurement is obtained, and the first strain data is the pipeline strain data obtained when the IMU completes the detection in the pipeline, According to the first strain data, a bending strain curve is obtained, a wave peak whose bending strain value is greater than a preset value in the bending strain curve is determined, and a pipe section to be identified is obtained. The pipe section to be identified is the pipe section corresponding to the preset interval on both sides of the wave crest in the pipeline, and the The second strain data corresponding to the pipe section to be identified is input into the pipe section type identification model, and the abnormal type of the pipe section of the pipe section to be identified is obtained. The method of the present application only needs to obtain the strain data of the IMU and determine the pipe segment to be identified, and input the second strain data corresponding to the pipe segment to be identified into the pipe segment type identification model, and then the abnormal type of the pipe segment of the pipe segment to be identified can be obtained without manual intervention. Judging the abnormal types of pipe sections can save time and manpower, and unify the judgment criteria, thereby improving the efficiency of judging abnormal types of pipe sections.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application.
图1为本申请实施例提供的一种弯曲变形管段识别方法的流程示意图;1 is a schematic flowchart of a method for identifying a bent and deformed pipe segment provided by an embodiment of the present application;
图2为本申请实施例提供的一种待识别管段示意图;FIG. 2 is a schematic diagram of a pipe section to be identified according to an embodiment of the present application;
图3为本申请实施例提供的一种一维卷积神经网络结构示意图;3 is a schematic structural diagram of a one-dimensional convolutional neural network provided by an embodiment of the present application;
图4为本申请实施例提供的另一种弯曲变形管段识别方法的流程示意图;4 is a schematic flowchart of another method for identifying a bent and deformed pipe segment provided by an embodiment of the present application;
图5为本申请实施例提供的一种弯曲变形管段识别装置的结构示意图;5 is a schematic structural diagram of a device for identifying a bent and deformed pipe segment provided by an embodiment of the present application;
图6为本申请实施例提供的一种电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。Specific embodiments of the present application have been shown by the above-mentioned drawings, and will be described in more detail hereinafter. These drawings and written descriptions are not intended to limit the scope of the concepts of the present application in any way, but to illustrate the concepts of the present application to those skilled in the art by referring to specific embodiments.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as recited in the appended claims.
首先对本申请所涉及的名词进行解释:First, the terms involved in this application are explained:
机器学习:机器学习方法是一种通过训练大量数据,构建出机器学习模型,然后使用模型对新数据进行分类、预测的一种方法,基于学习形式的不同,可以将机器学习算法分为有监督学习、无监督学习以及强化学习三类。机器学习涉及多领域的交叉学科,主要研究计算机怎样模拟或实现人类大脑的学习行为,以获取新的知识或者技能,重新组织已有的知识结构使之不断改善模型的性能,从而求解最优参数。Machine learning: A machine learning method is a method of constructing a machine learning model by training a large amount of data, and then using the model to classify and predict new data. Based on different learning forms, machine learning algorithms can be classified into supervised There are three types of learning, unsupervised learning and reinforcement learning. Machine learning involves multi-disciplinary interdisciplinary, mainly studies how computers simulate or realize the learning behavior of the human brain to acquire new knowledge or skills, reorganize the existing knowledge structure to continuously improve the performance of the model, so as to solve the optimal parameters .
有监督学习:用已知某种或某些特性的样本作为样本数据,训练得到一个最优模型实现数据分类与预测。Supervised learning: Use samples with known certain or certain characteristics as sample data, and train to obtain an optimal model to achieve data classification and prediction.
特征工程:在机器学习或者统计学中,又称为变量选择、属性选择或者变量子集选择,是在模型构建中,选择相关特征并构成特征子集的过程。Feature engineering: In machine learning or statistics, also known as variable selection, attribute selection or variable subset selection, is the process of selecting relevant features and forming feature subsets in model building.
本申请实施例提供的技术方案可以应用于埋地油气管道的弯曲应变检测,尤其是应用IMU内检测技术对管道上的缺陷和异常进行检测。我国已形成了以IMU、漏磁等为代表的国际领先内检测技术,随着管道内检测技术的不断普及,获得的IMU应变数据也将会不断增长,因此开展基于机器学习的地质灾害高风险管段智能识别研究,对于识别地质灾害影响下的大应变管段并开展对地质灾害地段管道的完整性评估有重大的意义。The technical solutions provided in the embodiments of the present application can be applied to the bending strain detection of buried oil and gas pipelines, in particular, to detect defects and anomalies on the pipelines by using the in-IMU detection technology. my country has formed the world's leading internal detection technology represented by IMU, magnetic flux leakage, etc. With the continuous popularization of pipeline internal detection technology, the obtained IMU strain data will also continue to grow, so the development of machine learning-based geological disasters is high risk. The research on intelligent identification of pipeline sections is of great significance for identifying large-strain pipeline sections under the influence of geological disasters and carrying out the integrity assessment of pipelines in geological disaster areas.
现有方法是基于Matlab算法程序实现半自动识别地质灾害高风险管段,将同一管道的IMU应变数据和几何检测数据实现以环焊缝编号为基准的数据对齐,通过Matlab编程预先找到IMU应变数据中弯曲应变超过0.125%的所有管段,这些管段中包含了弯头、凹陷、弯曲变形段和环焊缝异常段管道,基于对齐的几何检测数据标记出所给的弯头和凹陷的里程位置,删除凹陷、弯头等几何特征点影响范围内的应变数据,排除弯头和凹陷的干扰。对于剩余几何检测未标记的弯曲应变值大于0.125%的管段,有实践经验的技术人员通过画图的方式将大应变点两侧一定范围内的管段标记为待查异常段,根据范围内的管段特征逐段判断其管段类型,并打上标签,分别是疑似弯头、疑似凹陷、环焊缝异常段和弯曲变形段。在该方法中,通过对齐的几何检测数据可以将部分管段标记为弯头或者凹陷,但仍然有大量的管段需要人工进行判断,这需要耗费大量的时间以及精力,并且需要工作人员有着充分的实践经验,非专业的人员很难洞悉不同管段类型之间的特征差异。除此之外,由于数据的基数较大,同一管段类型之间仍存在细微的特征差异,在人工识别的过程中很难保持统一的标准,因此很容易出现误判的情况,对于模棱两可的管段特征,很难给出准确的判断。The existing method is based on the Matlab algorithm program to realize semi-automatic identification of high-risk pipeline sections of geological disasters, align the IMU strain data and geometric detection data of the same pipeline based on the girth weld number, and pre-find the bending in the IMU strain data through Matlab programming. All pipe sections with a strain greater than 0.125%, these pipe sections include elbows, depressions, bending deformation sections and abnormal girth weld pipes, mark the given mileage positions of elbows and depressions based on the aligned geometric inspection data, delete depressions, Strain data within the influence range of geometric feature points such as elbows, eliminating the interference of elbows and depressions. For the pipe sections with unmarked bending strain values greater than 0.125% in the remaining geometric detection, technicians with practical experience mark the pipe sections within a certain range on both sides of the large strain point as abnormal sections to be investigated by drawing pictures. According to the characteristics of the pipe sections within the range Determine the type of pipe segment by segment and label it, which are suspected elbow, suspected depression, abnormal girth weld segment and bending deformation segment. In this method, some pipe sections can be marked as elbows or depressions through the aligned geometric detection data, but there are still a large number of pipe sections that need to be judged manually, which requires a lot of time and energy, and requires the staff to have sufficient practice Experience, it is difficult for non-professional personnel to understand the difference in characteristics between different pipe types. In addition, due to the large base of data, there are still subtle feature differences between the same pipe segment types, and it is difficult to maintain a unified standard in the process of manual identification, so misjudgment is prone to occur. For ambiguous pipe segments characteristics, it is difficult to give an accurate judgment.
为了解决以上问题,本申请提出了一种弯曲变形管段识别方法,通过获取惯性测量单元IMU测量得到的第一应变数据,第一应变数据为IMU在完成管道内检测时得到的管道应变数据,根据第一应变数据,得到弯曲应变曲线,确定弯曲应变曲线中弯曲应变值大于预设值的波峰,波峰两侧的预设区间在管道中对应的管段为待识别管段,将待识别管段对应的第二应变数据输入管段类型识别模型,得到待识别管段的管段异常类型。在本申请中,根据获取的IMU测量得到的第一应变数据确定待识别管段,并将待识别管段对应的第二应变数据输入管段类型识别模型,可以得到待识别管段的管段异常类型,不需要人工进行管段异常类型的判断,可以节约时间和人力,统一判别标准,从而提高管段异常类型的判断效率。In order to solve the above problems, the present application proposes a bending deformation pipe section identification method. The first strain data is obtained by acquiring the first strain data measured by the inertial measurement unit IMU. The first strain data is the pipeline strain data obtained when the IMU completes the detection in the pipeline. According to The first strain data, the bending strain curve is obtained, the wave crest whose bending strain value is greater than the preset value in the bending strain curve is determined, and the pipe section corresponding to the preset interval on both sides of the wave crest in the pipeline is the pipe section to be identified, and the first section corresponding to the pipe section to be identified is determined. The second strain data is input into the pipe segment type identification model, and the pipe segment abnormal type of the pipe segment to be identified is obtained. In this application, the pipe segment to be identified is determined according to the acquired first strain data measured by the IMU, and the second strain data corresponding to the pipe segment to be identified is input into the pipe segment type identification model, and the abnormal type of the pipe segment to be identified can be obtained. Manually judging the abnormal types of pipe sections can save time and manpower, and unify the judgment criteria, thereby improving the efficiency of judging abnormal types of pipe sections.
下面以具体的实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The technical solutions of the present application and how the technical solutions of the present application solve the above-mentioned technical problems will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.
图1为本申请实施例提供的一种弯曲变形管段常识别方法的流程示意图,该弯曲变形管段识别方法可以由软件和/或硬件装置执行,例如,该硬件装置可以为电子设备,如终端或服务器。示例的,请参见图1所示,该弯曲变形管段识别方法可以包括:1 is a schematic flowchart of a method for identifying a bent and deformed pipe section according to an embodiment of the present application. The method for identifying a bent and deformed pipe section may be executed by software and/or a hardware device. For example, the hardware device may be an electronic device, such as a terminal or a server. By way of example, as shown in FIG. 1 , the method for identifying a bent and deformed pipe segment may include:
S101、获取惯性测量单元IMU测量得到的第一应变数据。S101. Acquire first strain data measured by an inertial measurement unit IMU.
其中,第一应变数据为IMU在完成管道内检测时得到的管道应变数据。The first strain data is the pipeline strain data obtained when the IMU completes the detection in the pipeline.
在该步骤中,惯性测量单元IMU是测量物体三轴姿态角(或角速率)以及加速度的装置,其核心部件是三维正交的陀螺仪与加速度计,IMU在完成整条待测量管道的测量后,通过IMU采集并记录保存的数据进行积分等计算,就可以得到IMU在任意时刻的速度、位置与姿态数据信息,基于IMU检测得到的姿态数据可以推算管段所承受的变形和应变状态。第一应变数据可以理解为通过IMU内检测技术对待测量管道进行测量得到的IMU应变数据,包括IMU在该管道内任意时刻的速度、位置与姿态数据等信息。In this step, the inertial measurement unit (IMU) is a device that measures the three-axis attitude angle (or angular rate) and acceleration of the object. Its core components are three-dimensional orthogonal gyroscopes and accelerometers. The IMU is completing the measurement of the entire pipeline to be measured. After that, the data collected and recorded by the IMU is used for integration and other calculations, and the speed, position and attitude data information of the IMU at any time can be obtained. Based on the attitude data detected by the IMU, the deformation and strain state of the pipe section can be calculated. The first strain data can be understood as the IMU strain data obtained by measuring the pipeline to be measured by the in-IMU detection technology, including information such as the speed, position, and attitude data of the IMU at any time in the pipeline.
具体的,通过设置在管道内的惯性测量单元IMU在管道内进行测量,得到IMU在管道内任意时刻的速度、位置与姿态数据,即第一应变数据。Specifically, the inertial measurement unit IMU disposed in the pipeline measures in the pipeline, and obtains the speed, position and attitude data of the IMU at any time in the pipeline, that is, the first strain data.
S102、根据第一应变数据,得到弯曲应变曲线。S102 , obtaining a bending strain curve according to the first strain data.
在该步骤中,弯曲应变曲线可以表示为弯曲应变值与绝对里程之间的关系曲线,弯曲应变值可以根据IMU应变数据计算得到。In this step, the bending strain curve can be expressed as a relation curve between the bending strain value and the absolute mileage, and the bending strain value can be calculated according to the IMU strain data.
具体的,根据第一应变数据可以得到对应的弯曲应变值,然后根据该弯曲应变值和与之对应的绝对里程可以绘制出弯曲应变曲线。其中,绝对里程可以理解为应变点距离整条待测量管道的测量起始位置的里程。Specifically, a corresponding bending strain value can be obtained according to the first strain data, and then a bending strain curve can be drawn according to the bending strain value and the corresponding absolute distance. Among them, the absolute mileage can be understood as the mileage from the strain point to the measurement starting position of the entire pipeline to be measured.
S103、确定弯曲应变曲线中弯曲应变值大于预设值的波峰,得到待识别管段。S103. Determine the peak of the bending strain curve with the bending strain value greater than the preset value, and obtain the pipe segment to be identified.
在该步骤中,待识别管段为波峰两侧的预设区间在管道中对应的管段。In this step, the pipe segment to be identified is the pipe segment corresponding to the preset interval on both sides of the wave crest in the pipeline.
其中,预设值可以根据实际情况或者经验进行设置,例如可以设置为0.125%,对于预设值的具体值,本申请实施例在此不做限制。确定弯曲应变曲线中弯曲应变值大于预设值的波峰时,可以通过利用python中的findpeak函数来确定波峰,还可以通过编程方法来实现。findpeak函数可以表示为:The preset value may be set according to actual conditions or experience, for example, may be set to 0.125%, and the specific value of the preset value is not limited in this embodiment of the present application. When determining the peak of the bending strain value greater than the preset value in the bending strain curve, the peak can be determined by using the findpeak function in python, and it can also be realized by programming. The findpeak function can be expressed as:
peaks=scipy.signal.find_peaks(x,threshold,distance) (1)peaks=scipy.signal.find_peaks(x,threshold,distance) (1)
式(1)中:x为有峰值的信号,threshold为设置的识别阈值,distance为两个峰值之间的最小水平间距。In formula (1): x is a signal with a peak value, threshold is the set recognition threshold, and distance is the minimum horizontal distance between two peaks.
具体的,根据设定的预设值,可以找到弯曲应变曲线中弯曲应变值大于预设值的波峰,然后分别找到波峰左右两侧的弯曲应变曲线上弯曲应变值为预设值的两个应变点,这两个应变点对应的绝对里程区间即为波峰两侧的预设区间,进而可以找到管道中绝对里程区间内的管段,即为待识别管段。Specifically, according to the set preset value, a wave peak whose bending strain value is greater than the preset value in the bending strain curve can be found, and then two strains whose bending strain value is the preset value on the bending strain curve on the left and right sides of the wave peak are respectively found. The absolute mileage interval corresponding to these two strain points is the preset interval on both sides of the wave crest, and then the pipe segment within the absolute mileage interval in the pipeline can be found, that is, the pipe segment to be identified.
其中,图2为一种待识别管段示意图,如图2所示,预设值为0.125%,根据该预设值0.125%,可以找到弯曲应变曲线中弯曲应变值大于0.125%的波峰A、B和C,以波峰A为例,波峰A左右两侧的弯曲应变曲线上弯曲应变值为0.125%的两个应变点分别为E和F,应变点E对应的绝对里程为3330m,应变点F对应的绝对里程为3340m,则两个应变点对应的绝对里程区间为(3330,3340),进而可以得到波峰A两侧的预设区间(3330,3340),此时,预设区间(3330,3340)对应的管段为待识别管段1。Among them, Fig. 2 is a schematic diagram of a pipe segment to be identified. As shown in Fig. 2, the preset value is 0.125%. According to the preset value of 0.125%, the peaks A and B with the bending strain value greater than 0.125% in the bending strain curve can be found. and C, taking the wave peak A as an example, the two strain points with a bending strain value of 0.125% on the bending strain curve on the left and right sides of the wave peak A are E and F respectively, the absolute mileage corresponding to the strain point E is 3330m, and the strain point F corresponds to The absolute mileage is 3340m, then the absolute mileage interval corresponding to the two strain points is (3330, 3340), and then the preset interval (3330, 3340) on both sides of the peak A can be obtained. At this time, the preset interval (3330, 3340 ) corresponds to the pipeline segment 1 to be identified.
S104、将待识别管段对应的第二应变数据输入管段类型识别模型,得到待识别管段的管段异常类型。S104: Input the second strain data corresponding to the pipe section to be identified into the pipe section type identification model to obtain the abnormal type of the pipe section of the pipe section to be identified.
在该步骤中,第二应变数据可以理解为通过IMU内检测技术对待识别管段进行测量得到的IMU应变数据。In this step, the second strain data can be understood as the IMU strain data obtained by measuring the pipe segment to be identified through the in-IMU detection technology.
示例性的,管段类型识别模型可以是基于一维神经网络模型训练得到的,例如一维卷积神经网络模型。通过一维神经网络模型训练初始管段类型识别模型,不需要经过特征工程提取特征值,可以减少运算量、简化特征提取的过程。Exemplarily, the pipe segment type identification model may be obtained by training based on a one-dimensional neural network model, such as a one-dimensional convolutional neural network model. The initial pipe segment type identification model is trained through a one-dimensional neural network model, and feature engineering is not required to extract feature values, which can reduce the amount of computation and simplify the feature extraction process.
其中,管段类型识别模型还可以由其它网络模型训练得到,例如多维卷积神经网络模型、循环神经网络模型或随机森林模型等。The pipe segment type identification model can also be obtained by training other network models, such as a multi-dimensional convolutional neural network model, a recurrent neural network model, or a random forest model.
示例性的,将待识别管段对应的第二应变数据输入管段类型识别模型之前,先训练初始管段类型识别模型,具体步骤可以为:基于样本数据库和样本数据对应的标签训练初始管段类型识别模型,得到管段类型识别模型。Exemplarily, before the second strain data corresponding to the pipe segment to be identified is input into the pipe segment type identification model, the initial pipe segment type identification model is trained first, and the specific steps may be: training the initial pipe segment type identification model based on the label corresponding to the sample database and the sample data, Obtain the model for identifying the type of pipe segment.
其中,样本数据库包括管段类型、管段应变数据所处的绝对里程范围、环焊缝编号范围、检测日期、管道编号和管段应变值。样本数据库可以为Mysql数据库。Among them, the sample database includes the pipe segment type, the absolute mileage range where the pipe segment strain data is located, the girth weld number range, the detection date, the pipe number and the pipe segment strain value. The sample database can be Mysql database.
具体的,在训练初始管段类型识别模型时,将样本数据库中的样本数据和样本数据对应的标签输入初始管段类型识别模型中,根据样本数据库中的样本数据和样本数据对应的标签训练得到管段类型识别模型。Specifically, when training the initial pipe segment type identification model, the sample data in the sample database and the labels corresponding to the sample data are input into the initial pipe segment type identification model, and the pipe segment type is obtained by training according to the sample data in the sample database and the labels corresponding to the sample data. Identify the model.
通过多年的管道数据监测实践,已获得大量管道IMU应变数据,虽然拥有大量的IMU应变数据,但仍缺少相应的数据处理手段。在本方案中,通过建立不同管段类型的样本数据库,形成以大数据为驱动的机器学习方法,并且随着管道内检测技术的普及与应用不断扩充数据库,可以反作用于机器学习方法,提高管段类型识别的准确率。Through years of pipeline data monitoring practice, a large amount of pipeline IMU strain data has been obtained. Although there is a large amount of IMU strain data, there is still a lack of corresponding data processing methods. In this scheme, a machine learning method driven by big data is formed by establishing a sample database of different types of pipe sections, and with the popularization and application of in-pipe detection technology, the database is continuously expanded, which can counteract the machine learning method and improve the types of pipe sections. recognition accuracy.
示例性的,样本数据库包括凹陷、弯头、弯曲变形和环焊缝异常4种管段异常类型对应的样本数据。根据样本数据库中的样本数据和样本数据对应的标签训练初始管段类型识别模型时,获取第三应变数据中的凹陷、弯头、弯曲变形和环焊缝异常4种管段异常类型对应的样本数据,基于4种管段类型对应的样本数据和样本数据对应的标签训练初始管段类型识别模型,得到管段类型识别模型。Exemplarily, the sample database includes sample data corresponding to four types of pipe section anomalies: sag, elbow, bending deformation and girth weld anomaly. When the initial pipe segment type identification model is trained according to the sample data in the sample database and the labels corresponding to the sample data, the sample data corresponding to the four types of pipe segment anomalies in the third strain data: sag, elbow, bending deformation and girth weld anomaly are obtained. Based on the sample data corresponding to the four pipe types and the labels corresponding to the sample data, the initial pipe type identification model is trained, and the pipe type identification model is obtained.
其中,样本数据对应的标签包括凹陷、弯头、弯曲变形和环焊缝异常4种管段异常类型。第三应变数据可以理解为基于IMU内检测技术获得的历史IMU应变数据,可以通过本地数据库获取,也可以从服务器中下载。Among them, the labels corresponding to the sample data include 4 types of pipe section anomalies: depression, elbow, bending deformation and girth weld anomaly. The third strain data can be understood as historical IMU strain data obtained based on the detection technology in the IMU, which can be obtained through a local database or downloaded from a server.
示例性的,表1为样本数据库,如表1所示,样本数据库包括管段类型、管段应变数据所处的绝对里程范围、环焊缝编号范围、检测日期、管道编号和管段应变值。其中,管段类型包括凹陷、弯头、弯曲变形和环焊缝异常4种管段异常类型,并将凹陷、弯头、弯曲变形和环焊缝异常4种管段异常类型分别用数字标签1、2、3、4表示。以编号为1的管段类型为例,该管段类型为凹陷,对应的标签为1,绝对里程范围为600.9-620.5m,环焊缝编号范围为400-420,检测日期为2016年5月,管道编号为A段,管段应变值为[-0.86%,…,0.23%]。Exemplarily, Table 1 is a sample database. As shown in Table 1, the sample database includes the pipe segment type, the absolute mileage range where the pipe segment strain data is located, the girth weld number range, the detection date, the pipe number and the pipe segment strain value. Among them, the pipe segment types include 4 types of pipe segment anomalies, including sag, elbow, bending deformation and girth weld anomaly, and the four types of sag, elbow, bending deformation and girth weld anomaly are labeled with numbers 1, 2, and 1, respectively. 3 and 4 indicate. Take the pipe segment type numbered 1 as an example, the pipe segment type is sag, the corresponding label is 1, the absolute mileage range is 600.9-620.5m, the girth weld number range is 400-420, the inspection date is May 2016, the pipeline The number is segment A, and the strain value of the pipe segment is [-0.86%, . . . , 0.23%].
表1样本数据库Table 1 Sample database
具体的,首先从历史IMU应变数据中,获取凹陷、弯头、弯曲变形和环焊缝异常4种管段异常类型对应的样本数据。其中,通过几何检测方法提取出第三应变数据中凹陷和弯头对应的样本数据,通过人工识别方法提取出第三应变数据中弯曲变形和环焊缝异常对应的样本数据。根据4种管段类型对应的样本数据和样本数据对应的标签训练初始管段类型识别模型,得到管段类型识别模型。Specifically, firstly, the sample data corresponding to four types of pipe section anomalies, including sag, elbow, bending deformation, and girth weld anomaly, are obtained from the historical IMU strain data. Among them, sample data corresponding to depressions and elbows in the third strain data are extracted by a geometric detection method, and sample data corresponding to bending deformation and girth weld abnormalities in the third strain data are extracted by a manual identification method. According to the sample data corresponding to the four types of pipe segments and the labels corresponding to the sample data, the initial pipe segment type identification model is trained, and the pipe segment type identification model is obtained.
在本方案中,通过建立的不同管段类型样本数据库,为机器学习方法的应用与不断改进奠定了数据基础,基于现有数据库可以快速查找到所需管段的详细信息,同时也可以为管段的后续开发提供判断依据。除此之外,通过凹陷、弯头、弯曲变形和环焊缝异常4种管段异常类型对应的样本数据和标签训练得到的管段类型识别模型,只在建立样本数据库时需要提供几何检测数据和人工识别结果,在训练得到管段类型识别模型后,可以仅仅基于IMU应变数据预测出管段类型,不需要通过人工识别方法进行管段异常类型的判断,可以节约时间和人力,统一判别标准,从而提高管段异常类型的判断效率。In this scheme, through the establishment of a sample database of different types of pipe sections, a data foundation is laid for the application and continuous improvement of machine learning methods. Based on the existing database, the detailed information of the required pipe sections can be quickly found, and it can also be used for the follow-up of the pipe sections. Development provides a basis for judgment. In addition, the identification model of the pipe segment type obtained by training the sample data and labels corresponding to the four types of abnormal types of pipe segment, including sag, elbow, bending deformation and girth weld abnormality, only needs to provide geometric detection data and manual labor when establishing the sample database. As a result of the identification, after training the identification model for the type of pipe segment, the type of pipe segment can be predicted based only on the IMU strain data, and no manual identification method is needed to judge the abnormal type of the pipe segment. Type judgment efficiency.
示例性的,管段类型识别模型可以是基于一维卷积神经网络模型训练得到的,该模型可以包括输入层、卷积层、池化层、平坦层、全连接层和输出层6个部分,在对初始管段类型识别模型进行训练时,首先将样本数据输入初始管段类型识别模型中,经过输入层、卷积层、池化层、平坦层、全连接层和输出层的特征处理后,得到管段预测类型,根据管段预测类型和标签,更新初始管段类型识别模型的网络参数,得到管段类型识别模型。Exemplarily, the pipe segment type identification model may be obtained by training based on a one-dimensional convolutional neural network model, and the model may include six parts: an input layer, a convolutional layer, a pooling layer, a flat layer, a fully connected layer, and an output layer, When training the initial pipe segment type identification model, the sample data is first input into the initial pipe segment type identification model, and after the feature processing of the input layer, convolution layer, pooling layer, flat layer, fully connected layer and output layer, we get Pipe segment prediction type, update the network parameters of the initial pipe segment type identification model according to the pipe segment prediction type and label, and obtain the pipe segment type identification model.
具体的,可以利用python中的tensorflow模块搭建一维卷积神经网络模型的基本构架,图3为一维卷积神经网络结构示意图,该模型可以包括输入层(未示出)、卷积层、池化层、平坦层、全连接层和输出层(未示出)6个部分。Specifically, the tensorflow module in python can be used to build the basic framework of the one-dimensional convolutional neural network model. Figure 3 is a schematic diagram of the one-dimensional convolutional neural network structure. The model can include an input layer (not shown), a convolution layer, Pooling layer, flattening layer, fully connected layer and output layer (not shown) 6 parts.
一维卷积神经网络模型的输入层可以接收一维或二维数组。在初始管段类型识别模型的输入层输入样本数据,样本数据为IMU应变数据,包括水平和垂直两个方向上的分量,即2×n的管段应变特征矩阵,可以表示为:The input layer of a one-dimensional convolutional neural network model can receive one-dimensional or two-dimensional arrays. Input sample data in the input layer of the initial pipe segment type identification model. The sample data is the IMU strain data, including the components in the horizontal and vertical directions, that is, the 2×n pipe segment strain characteristic matrix, which can be expressed as:
式(2)中:T为应变值矩阵;为第n个应变点的水平应变分量;为第n个应变点的垂直应变分量。In formula (2): T is the strain value matrix; is the horizontal strain component of the nth strain point; is the vertical strain component of the nth strain point.
输入层是神经网络模型的样本数据输入口,该层的预设输入维度需要和样本数据的维度保持一致,一维卷积神经网络需要在输入层将多维样本数据即第二应变数据对应的2×n的管段应变特征矩阵转化为一维数据。The input layer is the sample data input port of the neural network model. The preset input dimension of this layer needs to be consistent with the dimension of the sample data. The one-dimensional convolutional neural network needs to convert the multi-dimensional sample data, that is, the second strain data corresponding to 2 in the input layer. The ×n pipe segment strain characteristic matrix is converted into one-dimensional data.
卷积层是特征提取层,该层通过卷积操作降低原始样本数据的维数,同时提取样本的主要特征,防止参数过多而使得模型发生过拟合。The convolutional layer is a feature extraction layer, which reduces the dimension of the original sample data through the convolution operation, and extracts the main features of the sample at the same time to prevent the model from overfitting due to too many parameters.
池化层的作用是进一步降低特征数据的尺寸大小,能够大幅度的减少网络中参数的数量,去掉冗余信息,主要包括均值采样和最大值采样两种形式。The function of the pooling layer is to further reduce the size of the feature data, which can greatly reduce the number of parameters in the network and remove redundant information, mainly including mean sampling and maximum sampling.
由于通过了过滤器,使得数据维度发生改变,而平坦层的作用是在输入到全连接层的神经网络之前,将待处理的数据转换为一维向量,对应到全连接层的神经单元上。Due to the filter, the data dimension is changed, and the function of the flat layer is to convert the data to be processed into a one-dimensional vector before inputting to the neural network of the fully connected layer, which corresponds to the neural unit of the fully connected layer.
全连接层由多个神经元组成,各个神经元之间完全连接,把池化层输送过来的局部特征重新通过权值矩阵组装,形成完整的全局特征。The fully connected layer is composed of multiple neurons, and each neuron is fully connected, and the local features sent from the pooling layer are reassembled through the weight matrix to form a complete global feature.
输出层由一个回归分类器组成,可以使用softmax函数,将多个神经元的输出映射到固定的区间内,从而实现管段类型识别模型的多种管段异常类型识别。The output layer is composed of a regression classifier, which can use the softmax function to map the outputs of multiple neurons into a fixed interval, so as to realize the identification of various types of abnormal types of pipe segments of the pipe segment type identification model.
经过输入层、卷积层、池化层、平坦层、全连接层和输出层的特征处理后,得到管段预测类型,根据管段预测类型和标签,不断更新初始管段类型识别模型的网络参数,得到管段类型识别模型。After the feature processing of the input layer, convolution layer, pooling layer, flat layer, fully connected layer and output layer, the prediction type of the pipe segment is obtained. The spool type identifies the model.
在本方案中,通过一维卷积神经网络模型训练初始管段类型识别模型,不需要经过特征工程提取特征值,可以减少运算量、简化特征提取的过程。In this solution, the initial pipe segment type identification model is trained by the one-dimensional convolutional neural network model, and feature engineering is not required to extract feature values, which can reduce the amount of computation and simplify the feature extraction process.
示例性的,在根据管段预测类型和标签,更新初始管段类型识别模型的网络参数时,首先根据管段预测类型和标签,构造样本数据对应的损失函数,根据样本数据对应的损失函数,更新初始管段类型识别模型的网络参数,得到管段类型识别模型。Exemplarily, when updating the network parameters of the initial pipe segment type identification model according to the pipe segment prediction type and label, first, construct a loss function corresponding to the sample data according to the pipe segment prediction type and label, and update the initial pipe segment according to the loss function corresponding to the sample data. The network parameters of the type identification model are obtained to obtain the pipe segment type identification model.
具体的,根据管段预测类型和标签构造样本数据对应的损失函数时,损失函数可以为交叉熵损失函数,公式可以表示为:Specifically, when the loss function corresponding to the sample data is constructed according to the prediction type and label of the pipe segment, the loss function can be a cross entropy loss function, and the formula can be expressed as:
式(3)中:n为样本的个数,x是样本编号,y表示真实值,a表示预测值。In formula (3): n is the number of samples, x is the sample number, y is the real value, and a is the predicted value.
示例性的,将样本数据库中的所有样本数据,按照一定比例将样本数据分为训练数据集与测试数据集,例如按照4:1设置,并在训练过程中设置批量规模batch和迭代次数epoch,将训练得到的管段类型识别模型及其参数进行储存。Exemplarily, divide all the sample data in the sample database into a training data set and a test data set according to a certain ratio, for example, set according to 4:1, and set the batch size batch and the number of iterations epoch in the training process, Store the trained pipe segment type recognition model and its parameters.
在本方案中,通过构造管段预测类型和样本数据对应的标签对应的损失函数,不断更新初始管段类型识别模型的网络参数,从而可以提高管段类型识别模型训练的准确性。In this scheme, by constructing the loss function corresponding to the predicted type of the pipe segment and the label corresponding to the sample data, the network parameters of the initial segment type identification model are continuously updated, so that the accuracy of the training of the pipe segment type identification model can be improved.
在评估模型的综合性能时,对网络模型进行参数调优确定最优的超参数。在分类监督学习模型中,常用的分类模型评价指标有准确率、精确率、召回率和FI值等,公式可以表示为:When evaluating the comprehensive performance of the model, the parameters of the network model are tuned to determine the optimal hyperparameters. In the classification supervised learning model, the commonly used classification model evaluation indicators include accuracy rate, precision rate, recall rate and FI value, etc. The formula can be expressed as:
上式中,Accuracy表示准确率,Precision表示精确率,Recall表示召回率,FIScore表示FI值,TP表示正确分类为正样本,TN表示正确分类为负样本,FP表示错误分类为正样本,FN表示错误分类为负样本。In the above formula, Accuracy represents the accuracy rate, Precision represents the precision rate, Recall represents the recall rate, FIScore represents the FI value, TP represents the correct classification as a positive sample, TN represents the correct classification as a negative sample, FP represents an incorrect classification as a positive sample, FN represents Misclassified as negative samples.
示例性的,对管段类型识别模型进行性能评估时,当该管段类型识别模型的准确率大于或等于预设值时,则该管段类型识别模型可以准确识别管段异常类型。Exemplarily, when the performance evaluation of the pipe segment type identification model is performed, when the accuracy rate of the pipe segment type identification model is greater than or equal to a preset value, the pipe segment type identification model can accurately identify the abnormal type of the pipe segment.
本申请实施例提供的弯曲变形管段识别方法,通过获取惯性测量单元IMU测量得到的第一应变数据,第一应变数据为IMU在完成管道内检测时得到的管道应变数据,根据第一应变数据,得到弯曲应变曲线,确定弯曲应变曲线中弯曲应变值大于预设值的波峰,波峰两侧的预设区间在管道中对应的管段为待识别管段,将待识别管段对应的第二应变数据输入管段类型识别模型,得到待识别管段的管段异常类型。在本申请中,根据获取的IMU应变数据确定待识别管段,并将待识别管段对应的第二应变数据输入管段类型识别模型,可以得到待识别管段的管段异常类型,不需要人工进行管段异常类型的判断,可以节约时间和人力,统一判别标准,从而提高管段异常类型的判断效率。In the method for identifying a bent and deformed pipe segment provided by the embodiment of the present application, the first strain data obtained by the inertial measurement unit (IMU) measurement is obtained, and the first strain data is the pipeline strain data obtained when the IMU completes the detection in the pipeline. According to the first strain data, Obtain the bending strain curve, determine the peak of the bending strain curve with the bending strain value greater than the preset value, and the preset interval on both sides of the wave crest in the pipeline corresponding to the pipeline segment to be identified, and input the second strain data corresponding to the pipeline segment to be identified into the pipeline segment The type identification model is used to obtain the abnormal type of the pipe segment to be identified. In the present application, the pipe section to be identified is determined according to the acquired IMU strain data, and the second strain data corresponding to the pipe section to be identified is input into the pipe section type identification model, and the abnormal type of the pipe section to be identified can be obtained, and no manual operation of the abnormal type of the pipe section is required. The judgment can save time and manpower, and unify the judgment standard, thereby improving the judgment efficiency of the abnormal type of the pipe section.
图4为本申请实施例提供的另一种弯曲变形管段识别方法的流程示意图,请参见图4所示,该弯曲变形管段识别方法可以包括训练过程和应用过程:FIG. 4 is a schematic flowchart of another method for identifying a bent and deformed pipe section provided by an embodiment of the present application. Referring to FIG. 4 , the method for identifying a bent and deformed pipe section may include a training process and an application process:
在对初始管段类型识别模型进行训练时,首先对第三应变数据进行预处理,即通过几何检测方法提取出第三应变数据中凹陷和弯头对应的样本数据,通过人工识别方法提取出第三应变数据中弯曲变形和环焊缝异常对应的样本数据;然后基于提取出来的4种管段类型对应的样本数据建立样本数据库,基于样本数据库和样本数据对应的标签训练初始管段类型识别模型,得到管段类型识别模型;最后对管段类型识别模型进行性能评估,当该管段类型识别模型的准确率大于或等于预设值时,则该管段类型识别模型可以准确识别管段异常类型。When training the initial pipe segment type identification model, the third strain data is first preprocessed, that is, the sample data corresponding to the concave and elbow in the third strain data are extracted by the geometric detection method, and the third strain data is extracted by the manual identification method. Sample data corresponding to bending deformation and girth weld abnormality in the strain data; then build a sample database based on the sample data corresponding to the four types of pipe segments extracted, and train the initial pipe segment type identification model based on the labels corresponding to the sample database and the sample data, and obtain the pipe segment Type identification model; finally, perform performance evaluation on the pipe segment type identification model. When the accuracy rate of the pipe segment type identification model is greater than or equal to the preset value, the pipe segment type identification model can accurately identify the abnormal type of the pipe segment.
在利用管段类型识别模型进行管段异常类型识别时,首先获取惯性测量单元IMU测量得到的第一应变数据,第一应变数据为IMU在完成管道内检测时得到的管道应变数据,根据第一应变数据,得到弯曲应变曲线,确定弯曲应变曲线中弯曲应变值大于预设值的波峰,得到待识别管段,将待识别管段对应的第二应变数据输入管段类型识别模型,得到待识别管段的管段异常类型,从而实现对地质灾害高风险段的智能识别与分类。When using the pipe segment type identification model to identify the abnormal type of the pipe segment, first obtain the first strain data measured by the inertial measurement unit IMU. The first strain data is the pipeline strain data obtained when the IMU completes the detection in the pipeline. According to the first strain data , obtain the bending strain curve, determine the peak of the bending strain value in the bending strain curve greater than the preset value, obtain the pipe section to be identified, input the second strain data corresponding to the pipe section to be identified into the pipe section type identification model, and obtain the abnormal type of the pipe section of the pipe section to be identified , so as to realize the intelligent identification and classification of high-risk sections of geological disasters.
本申请实施例提供的弯曲变形管段识别方法,通过凹陷、弯头、弯曲变形和环焊缝异常4种管段异常类型对应的样本数据和标签训练得到的管段类型识别模型,通过获取惯性测量单元IMU测量得到的第一应变数据,第一应变数据为IMU在完成管道内检测时得到的管道应变数据,根据第一应变数据,得到弯曲应变曲线,确定弯曲应变曲线中弯曲应变值大于预设值的波峰,波峰两侧的预设区间在管道中对应的管段为待识别管段,将待识别管段对应的第二应变数据输入管段类型识别模型,得到待识别管段的管段异常类型。在本申请中,在建立样本数据库时需要提供几何检测数据和人工识别结果,在训练得到管段类型识别模型后,可以仅仅基于IMU应变数据预测出管段异常类型,不需要通过人工识别方法进行管段异常类型的判断,可以节约时间和人力,统一判别标准,从而提高管段异常类型的判断效率。The bending deformation pipe section identification method provided in the embodiment of the present application is a pipe section type identification model obtained by training the sample data and labels corresponding to the four types of pipe section abnormality: sag, elbow, bending deformation and girth weld abnormality, and obtains the inertial measurement unit IMU. The first strain data obtained by measurement, the first strain data is the pipeline strain data obtained when the IMU completes the detection in the pipeline, the bending strain curve is obtained according to the first strain data, and it is determined that the bending strain value in the bending strain curve is greater than the preset value. The wave crest, the pipe section corresponding to the preset interval on both sides of the wave crest in the pipeline is the pipe section to be identified, and the second strain data corresponding to the to-be-identified pipe section is input into the pipe section type identification model to obtain the pipe section abnormality type of the to-be-identified pipe section. In this application, it is necessary to provide geometric detection data and manual identification results when establishing a sample database. After training to obtain a pipe segment type identification model, the type of pipe segment abnormality can be predicted based only on the IMU strain data, and no manual identification method is required to detect the pipe segment abnormality. The type judgment can save time and manpower, and unify the judgment standards, thereby improving the judgment efficiency of abnormal types of pipe sections.
图5为本申请实施例提供的一种弯曲变形管段识别装置50的结构示意图,示例的,请参见图5所示,该弯曲变形管段识别装置50包括:FIG. 5 is a schematic structural diagram of a bending and deformed pipe
获取模块501,用于获取惯性测量单元IMU测量得到的第一应变数据,第一应变数据为IMU在完成管道内检测时得到的管道应变数据。The acquiring
该获取模块501,还用于根据第一应变数据,得到弯曲应变曲线。The obtaining
确定模块502,用于确定弯曲应变曲线中弯曲应变值大于预设值的波峰,得到待识别管段,待识别管段为波峰两侧的预设区间在管道中对应的管段。The determination module 502 is used to determine the peaks in the bending strain curve with the bending strain value greater than the preset value, and obtain the pipe sections to be identified, which are the pipe sections corresponding to the preset intervals on both sides of the wave crests in the pipeline.
识别模块503,用于将待识别管段对应的第二应变数据输入管段类型识别模型,得到待识别管段的管段异常类型。The
可选的,管段类型识别模型是基于一维卷积神经网络模型训练得到的。Optionally, the pipe segment type identification model is obtained by training based on a one-dimensional convolutional neural network model.
可选的,该弯曲变形管段识别装置还包括训练模块504。Optionally, the apparatus for identifying bent and deformed pipe segments further includes a training module 504 .
该训练模块504,用于将待识别管段对应的第二应变数据输入管段类型识别模型之前,基于样本数据库和样本数据对应的标签训练初始管段类型识别模型,得到管段类型识别模型;样本数据库包括管段类型、管段应变数据所处的绝对里程范围、环焊缝编号范围、检测日期、管道编号和管段应变值。The training module 504 is used to train the initial pipe segment type identification model based on the sample database and the labels corresponding to the sample data before inputting the second strain data corresponding to the pipe segment to be identified into the pipe segment type identification model to obtain the pipe segment type identification model; the sample database includes the pipe segment type identification model. Type, absolute mileage range where the pipe segment strain data is located, girth weld number range, inspection date, pipe number and pipe segment strain value.
可选的,该训练模块504,具体用于:Optionally, the training module 504 is specifically used for:
获取第三应变数据中的凹陷、弯头、弯曲变形和环焊缝异常4种管段异常类型对应的样本数据,样本数据库包括4种管段异常类型对应的样本数据。Obtain the sample data corresponding to the four types of anomalies in the pipe section, including sag, elbow, bending deformation and girth weld anomaly in the third strain data, and the sample database includes the sample data corresponding to the four types of pipe section anomalies.
基于4种管段类型对应的样本数据和样本数据对应的标签训练初始管段类型识别模型,得到管段类型识别模型;其中,样本数据对应的标签包括凹陷、弯头、弯曲变形和环焊缝异常4种管段异常类型。The initial pipe segment type identification model is trained based on the sample data corresponding to the four pipe segment types and the labels corresponding to the sample data, and the pipe segment type identification model is obtained; among which, the labels corresponding to the sample data include 4 types of concave, elbow, bending deformation and abnormal girth weld Pipe segment exception type.
可选的,该训练模块504,具体用于:Optionally, the training module 504 is specifically used for:
将样本数据输入初始管段类型识别模型中,经过输入层、卷积层、池化层、平坦层、全连接层和输出层的特征处理后,得到管段预测类型。The sample data is input into the initial pipe segment type identification model, and after the feature processing of the input layer, convolution layer, pooling layer, flat layer, fully connected layer and output layer, the predicted type of the pipe segment is obtained.
根据管段预测类型和标签,更新初始管段类型识别模型的网络参数,得到管段类型识别模型。According to the predicted type and label of the pipe segment, the network parameters of the initial pipe segment type identification model are updated to obtain the pipe segment type identification model.
可选的,该训练模块504,具体用于:Optionally, the training module 504 is specifically used for:
根据管段预测类型和标签,构造样本数据对应的损失函数。According to the prediction type and label of the pipe segment, the loss function corresponding to the sample data is constructed.
根据样本数据对应的损失函数,更新初始管段类型识别模型的网络参数,得到管段类型识别模型。According to the loss function corresponding to the sample data, the network parameters of the initial pipe segment type identification model are updated to obtain the pipe segment type identification model.
本申请实施例所示的弯曲变形管段识别装置50,可以执行上述实施例中的弯曲变形管段识别方法的技术方案,其实现原理以及有益效果与弯曲变形管段识别方法的实现原理及有益效果类似,可参见弯曲变形管段识别方法的实现原理及有益效果,此处不再进行赘述。The bending deformation pipe
图6为本申请实施例提供的一种电子设备60的结构示意图,示例的,请参见图6所示,该电子设备60可以包括处理器601和存储器602;其中,FIG. 6 is a schematic structural diagram of an
存储器602,用于存储计算机程序。The memory 602 is used to store computer programs.
处理器601,用于读取存储器602存储的计算机程序,并根据存储器602中的计算机程序执行上述实施例中的弯曲变形管段识别方法。The
可选的,存储器602既可以是独立的,也可以跟处理器601集成在一起。当存储器602是独立于处理器601之外的器件时,电子设备60还可以包括:总线,用于连接存储器602和处理器601。Optionally, the memory 602 may be independent or integrated with the
可选的,本实施例还包括:通信接口,该通信接口可以通过总线与处理器601连接。处理器601可以控制通信接口来实现上述电子设备60的获取和发送的功能。Optionally, this embodiment further includes: a communication interface, where the communication interface can be connected to the
示例的,在本申请实施例中,电子设备60可以为终端,也可以为服务器,具体可以根据实际需要进行设置。For example, in this embodiment of the present application, the
本申请实施例所示的电子设备60,可以执行上述实施例中的弯曲变形管段识别方法的技术方案,其实现原理以及有益效果与弯曲变形管段识别方法的实现原理及有益效果类似,可参见弯曲变形管段识别方法的实现原理及有益效果,此处不再进行赘述。The
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现上述实施例中的弯曲变形管段识别方法的技术方案,其实现原理以及有益效果与弯曲变形管段识别方法的实现原理及有益效果类似,可参见弯曲变形管段识别方法的实现原理及有益效果,此处不再进行赘述。Embodiments of the present application further provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when a processor executes the computer-executable instructions, the method for identifying a bent and deformed pipe segment in the foregoing embodiment is implemented. The implementation principle and beneficial effects of the technical solution are similar to those of the method for identifying bent and deformed pipe sections. Please refer to the implementation principle and beneficial effects of the method for identifying curved and deformed pipe sections, which will not be repeated here.
本申请实施例还提供了一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时,实现上述实施例中的弯曲变形管段识别方法的技术方案,其实现原理以及有益效果与弯曲变形管段识别方法的实现原理及有益效果类似,可参见弯曲变形管段识别方法的实现原理及有益效果,此处不再进行赘述。Embodiments of the present application further provide a computer program product, including a computer program, when the computer program is executed by a processor, the technical solution for realizing the method for identifying a bending deformation pipe segment in the above embodiment, its realization principle, beneficial effects and bending deformation The realization principle and beneficial effects of the pipe segment identification method are similar, and reference may be made to the realization principle and beneficial effects of the bending deformation pipe segment identification method, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所展示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元展示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。The units described as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment. In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
上述以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例方法的部分步骤。The above-mentioned integrated modules implemented in the form of software functional modules may be stored in a computer-readable storage medium. The above-mentioned software function modules are stored in a storage medium, and include several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform some steps of the methods of the various embodiments of the present application .
应理解的是,上述处理器可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合发明所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。It should be understood that the above-mentioned processor may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC) etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in conjunction with the invention can be directly embodied as executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.
存储器可能包含高速随机取存存储器(Random Access Memory,RAM),也可能还包括非易失性存储(Non-Volatile Memory,NVM),例如至少一个磁盘存储器,还可以为U盘、移动硬盘、只读存储器、磁盘或光盘等。The memory may include high-speed random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk Read memory, magnetic disk or CD, etc.
总线可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component,PCI)总线或扩展工业标准体系结构(ExtendedIndustry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,本申请附图中的总线并不限定仅有一根总线或一种类型的总线。The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, a Peripheral Component (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, or the like. The bus can be divided into address bus, data bus, control bus and so on. For convenience of representation, the buses in the drawings of the present application are not limited to only one bus or one type of bus.
上述计算机可读存储介质可以是由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(Static Random-Access Memory,SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM),可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM),可编程只读存储器(Programmable Read-Only Memory,PROM),只读存储器(Read-OnlyMemory,ROM),磁存储器,快闪存储器,磁盘或光盘。存储介质可以是通用或专用计算机能够存取的任何可用介质。The above-mentioned computer-readable storage medium can be realized by any type of volatile or non-volatile storage device or their combination, such as static random-access memory (Static Random-Access Memory, SRAM), electrically erasable programmable Read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), only Read-Only Memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. A storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: The technical solutions described in the foregoing embodiments can still be modified, or some or all of the technical features thereof can be equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the embodiments of the present application. scope.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210329101.8A CN114676730A (en) | 2022-03-31 | 2022-03-31 | Method, device, electronic device and storage medium for identifying bent and deformed pipe segment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210329101.8A CN114676730A (en) | 2022-03-31 | 2022-03-31 | Method, device, electronic device and storage medium for identifying bent and deformed pipe segment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114676730A true CN114676730A (en) | 2022-06-28 |
Family
ID=82076405
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210329101.8A Pending CN114676730A (en) | 2022-03-31 | 2022-03-31 | Method, device, electronic device and storage medium for identifying bent and deformed pipe segment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114676730A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115060222A (en) * | 2022-08-10 | 2022-09-16 | 昂坤视觉(北京)科技有限公司 | Wafer surface type classification method and system |
CN115464018A (en) * | 2022-11-02 | 2022-12-13 | 江苏新恒基特种装备股份有限公司 | Three-dimensional space continuous multi-bend pipe accurate forming measurement control system and method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110704805A (en) * | 2019-09-13 | 2020-01-17 | 东南大学 | Pre-stressed concrete beam bridge cracking early warning method based on live load strain |
CN112016600A (en) * | 2020-08-14 | 2020-12-01 | 中国石油大学(北京) | Pipeline abnormity identification method, device and system |
CN113587802A (en) * | 2020-04-30 | 2021-11-02 | 中国石油化工股份有限公司 | Method and device for identifying deformation type of underground casing |
-
2022
- 2022-03-31 CN CN202210329101.8A patent/CN114676730A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110704805A (en) * | 2019-09-13 | 2020-01-17 | 东南大学 | Pre-stressed concrete beam bridge cracking early warning method based on live load strain |
CN113587802A (en) * | 2020-04-30 | 2021-11-02 | 中国石油化工股份有限公司 | Method and device for identifying deformation type of underground casing |
CN112016600A (en) * | 2020-08-14 | 2020-12-01 | 中国石油大学(北京) | Pipeline abnormity identification method, device and system |
Non-Patent Citations (1)
Title |
---|
刘燊: "基于IMU应变数据的地灾风险段识别与评价方法研究", 《硕士电子期刊》, 15 June 2024 (2024-06-15) * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115060222A (en) * | 2022-08-10 | 2022-09-16 | 昂坤视觉(北京)科技有限公司 | Wafer surface type classification method and system |
CN115464018A (en) * | 2022-11-02 | 2022-12-13 | 江苏新恒基特种装备股份有限公司 | Three-dimensional space continuous multi-bend pipe accurate forming measurement control system and method |
CN115464018B (en) * | 2022-11-02 | 2023-01-31 | 江苏新恒基特种装备股份有限公司 | Three-dimensional space continuous multi-bend pipe accurate forming measurement control system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109948469A (en) | Automatic detection and identification method of inspection robot instrument based on deep learning | |
CN112508105A (en) | Method for detecting and retrieving faults of oil extraction machine | |
CN114676730A (en) | Method, device, electronic device and storage medium for identifying bent and deformed pipe segment | |
CN106529055A (en) | Model updating method based on strain modal shape correlation | |
CN108363886A (en) | Deformation prediction method and system based on deep learning | |
CN116186946B (en) | Hydraulic system fault diagnosis method and system based on diagnosis model | |
CN112051062A (en) | Fault diagnosis method, device, equipment and storage medium for rolling bearing | |
CN112577473B (en) | A dual-temporal high-resolution remote sensing image change detection algorithm | |
CN116123988B (en) | Pipeline geometric deformation detection method and system based on data processing | |
CN119067466B (en) | Municipal pipeline management method and system based on positioning sensing function | |
CN115823508A (en) | Air-ground integrated pipe network safety monitoring method and system | |
CN112836719A (en) | Indicator diagram similarity detection method fusing two classifications and three groups | |
CN117094370A (en) | Deep learning-based fault diagnosis method for indicator diagram of oil pumping unit | |
CN116702000B (en) | A method for dynamic monitoring and assessment of pavement quality based on multi-layer data fusion | |
CN115935241B (en) | Multi-parameter mutually-fused pipe cleaner real-time positioning method and device | |
CN112016600A (en) | Pipeline abnormity identification method, device and system | |
Xiu et al. | DS-Net: A dedicated approach for collapsed building detection from post-event airborne point clouds | |
CN119354090B (en) | A tunnel surrounding rock deformation monitoring system and method based on visual recognition | |
CN119444722A (en) | Defect recognition method of pipeline inspection robot based on image processing | |
CN114332533A (en) | A Landslide Image Recognition Method and System Based on DenseNet | |
CN107480647B (en) | Method for detecting abnormal behaviors in real time based on inductive consistency abnormality detection | |
Zhang et al. | A novel local deformation pipe section identification method via IMU detection data and hybrid deep learning model | |
CN116662920A (en) | Method, system, equipment and medium for identifying abnormal data of drilling and blasting construction equipment | |
CN114419012A (en) | Method and application of full range clearance measurement of aero-engine pipeline based on 3D point cloud | |
CN114004138A (en) | Building monitoring method, system and storage medium based on big data artificial intelligence |
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 |