CN104034796B - Detection generating date device and method in a kind of pipe leakage - Google Patents
Detection generating date device and method in a kind of pipe leakage Download PDFInfo
- Publication number
- CN104034796B CN104034796B CN201410267580.0A CN201410267580A CN104034796B CN 104034796 B CN104034796 B CN 104034796B CN 201410267580 A CN201410267580 A CN 201410267580A CN 104034796 B CN104034796 B CN 104034796B
- Authority
- CN
- China
- Prior art keywords
- data
- peak
- value
- magnetic flux
- abnormal data
- 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.)
- Expired - Fee Related
Links
Landscapes
- Investigating Or Analyzing Materials By The Use Of Magnetic Means (AREA)
Abstract
一种管道漏磁内检测数据实时处理装置及方法,属于管道检测技术领域,该装置安装在管道内检测器上,包括:漏磁传感器单元、信号调理模块、A/D转换模块和中央处理单元;漏磁传感器单元包括多个漏磁传感器,该多个漏磁传感器沿管道截面圆周方向均匀布置在管道内检测器上;中央处理单元包括时序控制模块、缺陷数据判别模块、缺陷数据特征提取模块和数据存储模块;本发明的方法能够对缺陷检测中的异常数据进行快速识别与数据特征提取,且仅对异常数据的特征及相关信息进行记录,能够在内检测器检测完毕后三十分钟内分析出严重缺陷位置,更好的防止了严重缺陷发生泄漏,造成灾难性的后果。
A real-time processing device and method for pipeline magnetic flux leakage internal detection data, belonging to the technical field of pipeline detection, the device is installed on a pipeline internal detector, including: a magnetic flux leakage sensor unit, a signal conditioning module, an A/D conversion module and a central processing unit The magnetic flux leakage sensor unit includes a plurality of magnetic flux leakage sensors, which are evenly arranged on the detector in the pipeline along the circumferential direction of the cross section of the pipeline; the central processing unit includes a timing control module, a defect data discrimination module, and a defect data feature extraction module and data storage module; the method of the present invention can quickly identify and extract data features of abnormal data in defect detection, and only record the characteristics and related information of abnormal data, and can detect within 30 minutes after the internal detector completes the detection Analyzing the location of serious defects better prevents serious defects from leaking and causing catastrophic consequences.
Description
技术领域technical field
本发明属于管道检测技术领域,具体涉及一种管道漏磁内检测数据实时处理装置及方法。The invention belongs to the technical field of pipeline detection, and in particular relates to a device and method for real-time processing of pipeline magnetic flux leakage internal detection data.
背景技术Background technique
管道运输是一种极为重要的运输方式,对于服役时间较长的管道来说,通过漏磁检测的方法对其存在缺陷的位置形状及危险程度进行分析是极其必要的。缺陷形状及危险程度的判别主要依据缺陷处检测数据的数据特征。因此,异常检测数据的特征提取是整个漏磁检测过程中最重要的环节。Pipeline transportation is an extremely important mode of transportation. For pipelines that have been in service for a long time, it is extremely necessary to analyze the location, shape and danger of defects by means of magnetic flux leakage testing. The judgment of defect shape and risk degree is mainly based on the data characteristics of the detection data at the defect. Therefore, the feature extraction of abnormal detection data is the most important link in the whole magnetic flux leakage detection process.
管道缺陷的内检测主要是采用管道内检测器进行漏磁检测,并将检测数据存储在管道内检测器的存储装置中,而后在检测结束后进行数据处理。数据处理的实时性和智能性较差。同时,采用此种数据存储处理方式将需要拥有大量的存储空间的存储装置。并需要较大的电能消耗。由于,输油管道尤其是海底输油管道,普遍节点之间距离较长。管道内检测器的电能较为紧张。因此,这样的数据存储处理方式并不是十分的完善。目前,对于其他数据存储方式的研究还相对较少。The internal detection of pipeline defects mainly uses the in-pipeline detector for magnetic flux leakage detection, and stores the detection data in the storage device of the in-pipeline detector, and then performs data processing after the detection is completed. The real-time and intelligence of data processing are poor. At the same time, adopting this data storage and processing method will require a storage device with a large amount of storage space. And requires a large power consumption. Because the oil pipeline, especially the submarine oil pipeline, generally has a long distance between nodes. The electric energy of the detector in the pipeline is relatively tight. Therefore, such a data storage and processing method is not very perfect. At present, there are relatively few studies on other data storage methods.
发明内容Contents of the invention
针对现有技术存在的不足,本发明提供一种管道漏磁内检测数据实时处理装置及方法。Aiming at the deficiencies in the prior art, the present invention provides a device and method for real-time processing of pipeline magnetic flux leakage internal detection data.
本发明的技术方案:Technical scheme of the present invention:
一种管道漏磁内检测数据实时处理装置,安装在管道内检测器上,包括:漏磁传感器单元、信号调理模块、A/D转换模块和中央处理单元;A real-time processing device for pipeline magnetic flux leakage internal detection data is installed on a pipeline internal detector, including: a magnetic flux leakage sensor unit, a signal conditioning module, an A/D conversion module and a central processing unit;
所述漏磁传感器单元包括多个漏磁传感器,沿管道截面圆周方向均匀布置在管道内检测器上,所述漏磁传感器单元中的每个漏磁传感器用于检测管道漏磁信号并输出电信号至信号调理模块;The magnetic flux leakage sensor unit includes a plurality of magnetic flux leakage sensors, which are evenly arranged on the detector in the pipeline along the circumferential direction of the cross section of the pipeline. Each magnetic flux leakage sensor in the magnetic flux leakage sensor unit is used to detect the magnetic flux leakage signal of the pipeline and output an electrical Signal to signal conditioning module;
所述信号调理模块用于对接收到的电信号进行滤波和放大处理,并将滤波和放大处理后的电信号送至A/D转换模块;The signal conditioning module is used to filter and amplify the received electrical signal, and send the filtered and amplified electrical signal to the A/D conversion module;
所述A/D转换模块用于对从信号调理模块接收到的电信号进行模数转换并将转换后的数字电信号传送至中央处理单元;The A/D conversion module is used to perform analog-to-digital conversion on the electrical signal received from the signal conditioning module and transmit the converted digital electrical signal to the central processing unit;
所述中央处理单元,包括时序控制模块、缺陷数据判别模块、缺陷数据特征提取模块、和数据存储模块;The central processing unit includes a timing control module, a defect data discrimination module, a defect data feature extraction module, and a data storage module;
所述时序控制模块用于控制A/D转换模块的各通路的转换顺序;The timing control module is used to control the conversion sequence of each path of the A/D conversion module;
所述缺陷数据判别模块用于接收A/D转换模块传来的数字信号,并对其中的异常数据及异常数据的有效性进行判别;确定各个有效异常数据在接收的实时数据中的排序数;将判别出的有效异常数据发送至缺陷数据特征提取模块,将有效异常数据对应的排序数发送至数据存储模块;The defect data discrimination module is used to receive the digital signal sent by the A/D conversion module, and discriminate the abnormal data and the validity of the abnormal data therein; determine the sorting number of each effective abnormal data in the received real-time data; Send the identified valid abnormal data to the defect data feature extraction module, and send the sorting number corresponding to the valid abnormal data to the data storage module;
所述缺陷数据特征提取模块用于对接收的有效异常数据提取特征,并将提取出的有效异常数据的特征发送至数据存储模块;The defect data feature extraction module is used to extract features from the received effective abnormal data, and send the extracted effective abnormal data features to the data storage module;
所述数据存储模块用于对接收的有效异常数据特征及其排序数进行存储及输出。The data storage module is used for storing and outputting the received effective abnormal data features and their ranking numbers.
采用所述的管道漏磁内检测数据实时处理装置进行管道漏磁内检测数据实时处理的方法,包括以下步骤:The method for real-time processing of pipeline magnetic flux leakage internal detection data by using the real-time processing device for pipeline magnetic flux leakage internal detection data includes the following steps:
步骤1:获取实时管道内检测漏磁数据和正常管段的内检测历史漏磁数据;Step 1: Obtain real-time pipeline internal detection magnetic flux leakage data and internal detection historical magnetic flux leakage data of normal pipe sections;
以两个环焊缝之间的管道段为单位,检测多段正常管段的漏磁信号,并建立正常管段的内检测历史漏磁数据记录;正常管段指的是没有缺陷发生的管段;Taking the pipeline section between two girth welds as a unit, detect the magnetic flux leakage signal of multiple normal pipe sections, and establish the internal detection history magnetic flux leakage data record of the normal pipe section; the normal pipe section refers to the pipe section without defects;
步骤2:根据正常管段的内检测历史漏磁数据,确定异常数据阈值;Step 2: Determine the abnormal data threshold according to the internal inspection history magnetic flux leakage data of normal pipe sections;
从多段正常管段的内检测历史漏磁数据中,分别确定各正常管段漏磁数据的最大值,求得多段正常管段漏磁数据最大值的平均值同时,求得其中一段正常管段漏磁数据的平均值;检测一段缺陷管段,并求得该缺陷管段漏磁数据的平均值;求取所述缺陷管段漏磁数据的平均值与所述一段正常管段漏磁数据的平均值的比值;即,From the internal detection history magnetic flux leakage data of multiple normal pipe sections, respectively determine the maximum value of the magnetic flux leakage data of each normal pipe section, and obtain the average value of the maximum value of the magnetic flux leakage data of multiple normal pipe sections At the same time, obtain the average value of the magnetic flux leakage data of one section of normal pipe section; detect a section of defective pipe section, and obtain the average value of the magnetic flux leakage data of the defective pipe section; obtain the average value of the magnetic flux leakage data of the defective pipe section and the normal value of the section The ratio of the mean values of the pipe flux leakage data; that is,
式中:n为正常管段数量;Xmax为每段正常管段漏磁数据的最大值;为多段正常管段漏磁数据最大值的平均值;为一段正常管段漏磁数据平均值;Xi为一段正常管段漏磁数据点;N1为一段正常管段漏磁数据点数量;为一段存在缺陷管段漏磁数据平均值;X1i为一段存在缺陷管段漏磁数据点;N2为一段存在缺陷管段漏磁数据点数量;C为一段缺陷管段漏磁数据的平均值与一段正常管段漏磁数据的平均值之比;In the formula: n is the number of normal pipe sections; X max is the maximum value of magnetic flux leakage data for each normal pipe section; is the average value of the maximum value of magnetic flux leakage data of multiple normal pipe sections; is the average value of magnetic flux leakage data of a normal pipe section; X i is the magnetic flux leakage data point of a normal pipe section; N 1 is the number of magnetic flux leakage data points of a normal pipe section; is the average value of magnetic flux leakage data for a section of defective pipe section; X 1i is the data point of magnetic flux leakage for a section of defective pipe section; N 2 is the number of data points for magnetic flux leakage of a section of defective pipe section; The ratio of the average value of the pipeline magnetic flux leakage data;
则异常数据阈值为 Then the abnormal data threshold is
步骤3:根据异常数据阈值,分离出实时管道内检测漏磁数据中的异常数据,并对异常数据及其轴向位置进行记录;轴向指的是管道长度方向;Step 3: According to the abnormal data threshold, separate the abnormal data in the magnetic flux leakage detection data in the real-time pipeline, and record the abnormal data and its axial position; the axial direction refers to the length direction of the pipeline;
分离所述异常数据的方法为:大于异常数据阈值K的实时管道内检测漏磁数据视为异常数据;The method for separating the abnormal data is: the magnetic flux leakage data detected in the real-time pipeline greater than the abnormal data threshold K is regarded as abnormal data;
步骤4:利用相关性分析方法,通过异常数据与其相邻数据的比较,判别异常数据的有效性;相邻数据指的是与检测到异常数据的传感器相邻的传感器在相同轴向位置检测的数据;Step 4: Use the correlation analysis method to judge the validity of the abnormal data by comparing the abnormal data with its adjacent data; the adjacent data refers to the sensor detected at the same axial position as the sensor adjacent to the sensor that detected the abnormal data data;
采用计算异常数据与其相邻数据的协方差的方法,来衡量异常数据与其相邻数据间的相关性;因为相邻两组传感器之间距离较近,所以,相邻两组信号具有一定的相似性,如果两组数据达到了一定的正相关程度,则认为数据采集正确,分离出的异常数据为有效数据;否则认为数据采集有误,分离出的异常数据为无效数据;The method of calculating the covariance between the abnormal data and its adjacent data is used to measure the correlation between the abnormal data and its adjacent data; because the distance between the adjacent two groups of sensors is relatively close, the adjacent two groups of signals have a certain similarity If the two sets of data reach a certain degree of positive correlation, it is considered that the data collection is correct, and the separated abnormal data is valid data; otherwise, the data collection is considered to be wrong, and the separated abnormal data is invalid data;
步骤5:利用三次样条插值法,分别对各传感器实时测得的有效的异常数据进行三次样条插值,分别得到各传感器实时测得的有效异常数据的三次样条插值拟合曲线,简称各条曲线;Step 5: Use the cubic spline interpolation method to perform cubic spline interpolation on the effective abnormal data measured by each sensor in real time, respectively, and obtain the cubic spline interpolation fitting curves of the effective abnormal data measured by each sensor in real time, referred to as each a curve;
所述各条曲线的纵坐标为异常数据值,横坐标为异常数据的轴向检测位置;The ordinate of each of the curves is the abnormal data value, and the abscissa is the axial detection position of the abnormal data;
步骤6:分别根据各条曲线,求取各传感器实时测得的有效异常数据的特征值;Step 6: According to each curve, obtain the eigenvalues of the effective abnormal data measured by each sensor in real time;
步骤6.1:求取各传感器实时测得的有效异常数据的轴向特征值;Step 6.1: Obtain the axial eigenvalues of the effective abnormal data measured by each sensor in real time;
步骤6.1.1:确定各条曲线的峰值和谷值,并计算各条曲线的峰谷值;峰谷值指的是峰值与谷值之差;峰谷值的大小与管道缺陷的深度有关;即,确定各传感器实时测得的有效异常数据的最大值、最小值及最大值与最小值之差;Step 6.1.1: Determine the peak value and valley value of each curve, and calculate the peak-valley value of each curve; the peak-valley value refers to the difference between the peak value and the valley value; the size of the peak-valley value is related to the depth of the pipeline defect; That is, determine the maximum value, minimum value, and difference between the maximum value and the minimum value of the effective abnormal data measured by each sensor in real time;
步骤6.1.2:确定各条曲线的最低谷点的横坐标值与次低谷点的横坐标值,并计算各条曲线的谷谷值;谷谷值指的是最低谷点的横坐标值与次低谷点的横坐标值之差;即,确定各传感器实时测得的有效异常数据的最小值的轴向位置及次最小值的轴向位置,及所述最小值的轴向位置与次最小值的轴向位置之差;谷谷值的大小与缺陷腐蚀的长度有关;Step 6.1.2: Determine the abscissa value of the lowest valley point of each curve and the abscissa value of the second valley point, and calculate the valley value of each curve; the valley value refers to the abscissa value of the lowest valley point and The difference between the abscissa values of the sub-trough point; that is, determine the axial position of the minimum value and the axial position of the sub-minimum value of the effective abnormal data measured by each sensor in real time, and the axial position of the minimum value and the sub-minimum value The difference between the axial position of the value; the size of the valley value is related to the length of defect corrosion;
步骤6.1.3:分别计算各条曲线的面积;Step 6.1.3: Calculate the area of each curve respectively;
各条曲线面积的计算公式为:The formula for calculating the area of each curve is:
式中,S为曲线面积,xi(t)为异常数据点,min[xi(t)]为最小异常数据;In the formula, S is the area of the curve, x i (t) is the abnormal data point, min[ xi (t)] is the minimum abnormal data;
步骤6.1.4:计算各条曲线能量;Step 6.1.4: Calculate the energy of each curve;
各条曲线能量的计算公式为:其中,Se为曲线能量;The formula for calculating the energy of each curve is: Among them, Se is the curve energy;
步骤6.1.5:利用小波变换的方法,求取各条曲线上的拐点间距;Step 6.1.5: Utilize the method of wavelet transform to obtain the inflection point spacing on each curve;
方法:由于所要求取的拐点位置分别在波峰和两个波谷之间,因此只分别对各条曲线的最低谷点和次低谷点两个波谷之间的部分进行小波变换,选取的小波基为平滑函数的二阶导数;经连续小波变换后的曲线的零点,即为原曲线的拐点,本发明选取墨西哥帽小波作为基小波,在尺度a=4到a=32的范围内对异常数据进行连续小波变换。根据具体异常信号的变换效果选取小波尺度,一般尺度a=8时效果最好,求得各条曲线拐点的位置;Method: Since the position of the inflection point required to be obtained is between the peak and the two troughs, only the part between the two troughs of the lowest valley point and the second lowest valley point of each curve is subjected to wavelet transformation, and the selected wavelet base is The second-order derivative of the smooth function; the zero point of the curve after continuous wavelet transformation is the inflection point of the original curve. The present invention selects the Mexican hat wavelet as the base wavelet, and performs abnormal data in the range of scale a=4 to a=32 Continuous wavelet transform. The wavelet scale is selected according to the transformation effect of the specific abnormal signal, and the effect is the best when the general scale is a=8, and the positions of the inflection points of each curve are obtained;
步骤6.1.6:求取各条曲线的峰谷值与谷谷值的比值、面积与峰谷值的比值、面积与谷谷值的比值;Step 6.1.6: Calculate the ratio of the peak-to-valley value to the valley-valley value, the ratio of the area to the peak-to-valley value, and the ratio of the area to the valley-to-valley value of each curve;
步骤6.2:求取各传感器实时测得的有效异常数据的周向特征值;周向指的是管道截面圆周方向;Step 6.2: Obtain the circumferential eigenvalues of the effective abnormal data measured by each sensor in real time; the circumferential direction refers to the circumferential direction of the pipe section;
步骤6.2.1:确定周向异常数据阈值;Step 6.2.1: Determine the circumferential abnormal data threshold;
方法流程为:以当前传感器测得的有效异常数据的峰值为基点,在该峰值对应的轴向位置附近,首先对当前传感器左侧或右侧紧邻的传感器测得的有效异常数据的峰值进行判断,若其大于等于当前传感器测得的有效异常数据的峰值,则将该峰值作为最大峰值,按照同样的方法,继续沿着该方向依次对后续相邻传感器测得的有效异常数据的峰值进行判断,直到后一传感器测得的有效异常数据的峰值小于前一传感器测得的有效异常数据的峰值为止,得到最终的最大峰值,并对该最大峰值和该最大峰值所对应的传感器进行记录;若其小于当前传感器测得的有效异常数据的峰值,则对当前传感器右侧或左侧紧邻的传感器测得的有效异常数据的峰值进行判断,若其大于等于当前传感器测得的有效异常数据的峰值,则将该峰值作为最大峰值,按照同样的方法,继续沿着该方向依次对后续相邻传感器测得的有效异常数据的峰值进行判断,直到后一传感器测得的有效异常数据的峰值小于前一传感器测得的有效异常数据的峰值为止,得到最终的最大峰值,并对该最大峰值和该最大峰值所对应的传感器进行记录;若左、右两个方向的相邻传感器测得的有效异常数据的峰值均小于当前传感器测得的有效异常数据的峰值,则将当前传感器测得的有效异常数据的峰值作为最终的最大峰值,并对该最大峰值和当前传感器进行记录;将最终的最大峰值的半值作为周向异常数据阈值;The method flow is: take the peak value of the effective abnormal data measured by the current sensor as the base point, and first judge the peak value of the effective abnormal data measured by the sensor immediately to the left or right of the current sensor near the axial position corresponding to the current sensor , if it is greater than or equal to the peak value of the effective abnormal data measured by the current sensor, then take this peak value as the maximum peak value, and continue to judge the peak value of the effective abnormal data measured by subsequent adjacent sensors in the same way along this direction , until the peak value of the effective abnormal data measured by the latter sensor is smaller than the peak value of the effective abnormal data measured by the previous sensor, the final maximum peak value is obtained, and the maximum peak value and the sensor corresponding to the maximum peak value are recorded; if If it is less than the peak value of the effective abnormal data measured by the current sensor, then judge the peak value of the effective abnormal data measured by the sensor immediately to the right or left of the current sensor, if it is greater than or equal to the peak value of the effective abnormal data measured by the current sensor , then take this peak value as the maximum peak value, and continue to judge the peak value of the effective abnormal data measured by the subsequent adjacent sensors in the same way in the same way until the peak value of the effective abnormal data measured by the subsequent sensor is smaller than the peak value of the previous sensor. Up to the peak value of the effective abnormal data measured by a sensor, the final maximum peak value is obtained, and the maximum peak value and the sensor corresponding to the maximum peak value are recorded; if the effective abnormality measured by the adjacent sensors in the left and right directions If the peak values of the data are smaller than the peak value of the effective abnormal data measured by the current sensor, the peak value of the effective abnormal data measured by the current sensor is taken as the final maximum peak value, and the maximum peak value and the current sensor are recorded; the final maximum peak value The half value of is used as the threshold of abnormal data in the circumferential direction;
步骤6.2.2:确定周向异常数据;Step 6.2.2: Determine the circumferential anomaly data;
方法为:所述最大峰值所属传感器的左右两个方向相邻的传感器测得的有效异常数据的峰值大于周向异常数据阈值的视为周向异常数据及其对应的传感器视为在管段缺陷覆盖范围内,得到周向异常数据和管段缺陷覆盖的传感器数量;The method is: if the peak value of the effective abnormal data measured by the sensors adjacent to the left and right directions of the sensor to which the maximum peak value belongs is greater than the threshold value of the circumferential abnormal data, it is regarded as the circumferential abnormal data and the corresponding sensor is regarded as being covered by defects in the pipe section. Within the range, the number of sensors covered by circumferential abnormal data and pipe section defects is obtained;
并对管段缺陷覆盖的传感器测得的异常数据的峰值处的轴向位置进行记录,基于传感器位置差别与检测误差,每个峰值所处的轴向位置有差别,利用最小二乘法确定相对误差最小的位置,作为该组周向异常数据峰值的轴向位置;And record the axial position of the peak of the abnormal data measured by the sensor covered by the pipe defect. Based on the difference between the sensor position and the detection error, the axial position of each peak is different, and the least square method is used to determine the relative error. The position of , as the axial position of the peak value of the group of circumferential abnormal data;
步骤6.2.3:利用三次样条插值法,分别对周向异常数据进行三次样条插值,得到周向异常数据的三次样条插值拟合曲线,简称周向曲线;Step 6.2.3: Use the cubic spline interpolation method to perform cubic spline interpolation on the circumferential abnormal data respectively to obtain the cubic spline interpolation fitting curve of the circumferential abnormal data, referred to as the circumferential curve;
步骤6.2.4:计算管段缺陷覆盖的多条传感器实时测得的有效异常数据的三次样条插值拟合曲线的面积和;Step 6.2.4: Calculate the area sum of the cubic spline interpolation fitting curve of the effective abnormal data measured in real time by multiple sensors covered by the pipe section defects;
步骤6.2.5:采取与步骤6.1.1至步骤6.1.6相同的方法,重复执行步骤6.1.1至步骤6.1.6,得到周向曲线的特征,包括:峰谷值、谷谷值、面积、能量、拐点间距、峰谷值与谷谷值的比值、面积与峰谷值的比值、面积与谷谷值的比值;Step 6.2.5: Take the same method as Step 6.1.1 to Step 6.1.6, and repeat Step 6.1.1 to Step 6.1.6 to obtain the characteristics of the circumferential curve, including: peak-valley value, valley-valley value, area , energy, distance between inflection points, ratio of peak to valley, area to peak to valley, area to valley to valley;
步骤7:输出步骤6所得的有效异常数据的特征值;Step 7: output the eigenvalues of the effective abnormal data obtained in step 6;
有益效果:Beneficial effect:
利用本发明的方法可以对缺陷检测中的异常数据进行快速识别与数据特征提取,且仅对异常数据的特征及相关信息进行记录,存储的数据量相对于传统的将全部数据进行记录的方法有大幅减少。传统数据记录方式由于记录了超大的数据量,一般需要几天甚至十几天的时间才能得到完整的数据分析报告。而应用此方法能够在内检测器检测完毕后三十分钟内分析出严重缺陷位置,从而更好的防止了这些严重缺陷发生泄漏,造成灾难性的后果。Utilizing the method of the present invention can quickly identify and extract data features of abnormal data in defect detection, and only record the characteristics and related information of abnormal data, and the amount of stored data is significantly higher than the traditional method of recording all data. significantly reduced. Due to the large amount of data recorded in the traditional data recording method, it generally takes several days or even ten days to obtain a complete data analysis report. However, the application of this method can analyze the location of serious defects within 30 minutes after the detection by the internal detector, thereby better preventing these serious defects from leaking and causing catastrophic consequences.
附图说明Description of drawings
图1为本发明一种实施方式的管道漏磁内检测数据实时处理装置的结构示意图;Fig. 1 is a structural schematic diagram of a real-time processing device for pipeline magnetic flux leakage internal detection data according to an embodiment of the present invention;
图2为本发明一种实施方式的信号调理模块的电路原理图;Fig. 2 is the circuit principle diagram of the signal conditioning module of an embodiment of the present invention;
图3为本发明一种实施方式的ADS7844模数转换器与EP4CE15F17C8 FPGA的接口电路图;Fig. 3 is the interface circuit diagram of ADS7844 analog-to-digital converter and EP4CE15F17C8 FPGA of an embodiment of the present invention;
图4为本发明一种实施方式的EP4CE15F17C8 FPGA工作流程图;Fig. 4 is the EP4CE15F17C8 FPGA working flowchart of an embodiment of the present invention;
图5为本发明一种实施方式的缺陷数据判别模块工作流程图;Fig. 5 is a working flow chart of the defective data discrimination module of an embodiment of the present invention;
图6为本发明一种实施方式的缺陷数据特征提取模块工作流程图;Fig. 6 is a working flow chart of the defect data feature extraction module in an embodiment of the present invention;
图7(a)为本发明一种实施方式的曲线峰谷值示意图;(b)为本发明一种实施方式的曲线谷谷值示意图;(c)为本发明一种实施方式的曲线面积示意图;(d)为本发明一种实施方式的曲线拐点间距示意图;Fig. 7 (a) is a schematic diagram of the curve peak-valley value of an embodiment of the present invention; (b) is a schematic diagram of the curve valley value of an embodiment of the present invention; (c) is a schematic diagram of the curve area of an embodiment of the present invention (d) is a schematic diagram of the curve inflection point spacing of an embodiment of the present invention;
图8为本发明一种实施方式的经小波变换后的曲线拐点间距示意图。FIG. 8 is a schematic diagram of the distance between inflection points of a curve after wavelet transformation according to an embodiment of the present invention.
具体实施方式detailed description
下面结合附图对本发明的一种实施方式作详细说明。An embodiment of the present invention will be described in detail below in conjunction with the accompanying drawings.
本实施方式中的管道漏磁内检测数据实时处理装置,安装在管道内检测器上,如图1所示,包括:漏磁传感器单元、信号调理模块、A/D转换模块和中央处理单元;The device for real-time processing of pipeline magnetic flux leakage internal detection data in this embodiment is installed on the pipeline internal detector, as shown in Figure 1, including: magnetic flux leakage sensor unit, signal conditioning module, A/D conversion module and central processing unit;
本实施方式中的漏磁传感器单元包括96个漏磁传感器,沿管道截面圆周方向均匀布置在管道内检测器上,所述漏磁传感器单元中的各个漏磁传感器均用于检测管道漏磁信号并输出电信号至信号调理模块;The magnetic flux leakage sensor unit in this embodiment includes 96 magnetic flux leakage sensors, which are evenly arranged on the detector in the pipeline along the circumferential direction of the pipeline section, and each magnetic flux leakage sensor in the magnetic flux leakage sensor unit is used to detect the pipeline magnetic flux leakage signal And output the electrical signal to the signal conditioning module;
本实施方式的信号调理模块用于对接收到的电信号进行滤波和放大处理,并将滤波和放大处理后的电信号送至A/D转换模块;本实施方式的信号调理模块,如图2所示,从霍尔传感器接收的信号首先经过滤波电路滤波,然后经阻值为10K的电阻R2连接到型号为AD824的运算放大器的反相输入端7,同相输入端8接2.5V的参考电压,AD824运算放大器的输出端6连接阻值为20K的电阻R3的一端、阻值为20K的电阻R1的一端及0.01pF的电容C2的一端,电阻R3的另一端作为信号调理模块的输出端连接A/D转换芯片的输入端,电阻R1的另一端连接运算放大器的反相输入端,电容C2的另一端接地,AD824运算放大器的反相输入端7还连接100pF的电容C1的一端,电容C1的另一端接地。The signal conditioning module of this embodiment is used to filter and amplify the received electrical signal, and send the filtered and amplified electrical signal to the A/D conversion module; the signal conditioning module of this embodiment is shown in Figure 2 As shown, the signal received from the Hall sensor is firstly filtered by the filter circuit, and then connected to the inverting input terminal 7 of the AD824 operational amplifier through the resistor R2 with a resistance value of 10K, and the non-inverting input terminal 8 is connected to a reference voltage of 2.5V , the output terminal 6 of the AD824 operational amplifier is connected to one end of a resistor R3 with a resistance value of 20K, one end of a resistor R1 with a resistance value of 20K, and one end of a 0.01pF capacitor C2, and the other end of the resistor R3 is connected to the output terminal of the signal conditioning module The input end of the A/D conversion chip, the other end of the resistor R1 is connected to the inverting input end of the operational amplifier, the other end of the capacitor C2 is grounded, the inverting input end 7 of the AD824 operational amplifier is also connected to one end of the 100pF capacitor C1, and the capacitor C1 The other end of the ground.
本实施方式中的A/D转换模块用于在中央处理单元中的时序控制模块的控制下,将从信号调理模块接收到的脉冲电信号进行模数转换并将转换后的数字信号传送至中央处理单元;本实施方式中的A/D转换模块采用的是型号为ADS7844的模数转换器。The A/D conversion module in this embodiment is used to perform analog-to-digital conversion on the pulse electrical signal received from the signal conditioning module and transmit the converted digital signal to the central processing unit under the control of the timing control module in the central processing unit. Processing unit; the A/D conversion module in this embodiment adopts an analog-to-digital converter whose model is ADS7844.
本实施方式中的中央处理单元采用的是型号为EP4CE15F17C8的FPGA,包括时序控制模块、缺陷数据判别模块、缺陷数据特征提取模块、和数据存储模块;本实施方式中的时序控制模块用于控制A/D转换模块的各通路的转换顺序;本实施方式中的数据存储模块用于对接收的异常数据特征及其排序数进行存储。What the central processing unit in the present embodiment adopts is the FPGA that the model is EP4CE15F17C8, comprises sequence control module, defect data discriminating module, defect data characteristic extraction module and data storage module; The sequence control module in the present embodiment is used for controlling A The conversion order of each path of the /D conversion module; the data storage module in this embodiment is used to store the received abnormal data characteristics and their sorting numbers.
本实施方式中EP4CE15F17C8FPGA与ADS7844模数转换器的接口电路,如图3所示,ADS7844模数转换器将电压信号转换为数字信号,ADS7844模数转换器的5个不同的输出端分别连接FPGA时序控制模块的自定义I/O口,即ADS7844模数转换器的CS端连接I/O.71端、ADS7844模数转换器的BUSY端连接I/O.72端、ADS7844模数转换器的DCLK端连接FPGA的I/O.73端、ADS7844模数转换器的DIN端连接I/O.74端、ADS7844模数转换器的DOUT端连接I/O.75端。The interface circuit between EP4CE15F17C8FPGA and ADS7844 analog-to-digital converter in this embodiment, as shown in Figure 3, the ADS7844 analog-to-digital converter converts the voltage signal into a digital signal, and the five different output terminals of the ADS7844 analog-to-digital converter are respectively connected to the FPGA timing The custom I/O port of the control module, that is, the CS terminal of the ADS7844 analog-to-digital converter is connected to the I/O.71 terminal, the BUSY terminal of the ADS7844 analog-to-digital converter is connected to the I/O.72 terminal, and the DCLK of the ADS7844 analog-to-digital converter The terminal is connected to the I/O.73 terminal of the FPGA, the DIN terminal of the ADS7844 analog-to-digital converter is connected to the I/O.74 terminal, and the DOUT terminal of the ADS7844 analog-to-digital converter is connected to the I/O.75 terminal.
本实施方式中EP4CE15F17C8 FPGA的工作流程,如图4所示,开始于步骤401。The workflow of the EP4CE15F17C8 FPGA in this embodiment, as shown in FIG. 4 , starts at step 401 .
在步骤402,本实施方式中ADS7844模数转换器转换后的数字信号送入缺陷数据判别模块,缺陷数据判别模块对接收的实时数据中的异常数据及异常数据的有效性进行判别,有效的异常数据即是管道缺陷数据;确定各个有效异常数据在接收的实时数据中的排序数;将确定出的有效异常数据发送至缺陷数据特征提取模块,将有效异常数据对应的排序数发送至数据存储模块;In step 402, in this embodiment, the digital signal converted by the ADS7844 analog-to-digital converter is sent to the defect data discrimination module, and the defect data discrimination module discriminates the abnormal data and the validity of the abnormal data in the received real-time data, and the effective abnormal The data is the pipeline defect data; determine the sorting number of each valid abnormal data in the received real-time data; send the determined valid abnormal data to the defect data feature extraction module, and send the sorting number corresponding to the valid abnormal data to the data storage module ;
在步骤403,本实施方式中的缺陷数据特征提取模块对接收的有效异常数据提取特征,并将提取出的有效异常数据的特征值发送至数据存储模块;In step 403, the defect data feature extraction module in this embodiment extracts features from the received effective abnormal data, and sends the extracted feature values of the effective abnormal data to the data storage module;
在步骤404,本实施方式中的数据存储模块输出其存储的有效异常数据对应的排序数和有效异常数据的特征值;In step 404, the data storage module in this embodiment outputs the sorting number corresponding to the stored valid abnormal data and the characteristic value of the valid abnormal data;
缺陷数据判别模块的工作流程,如图5所示,开始于步骤501。The workflow of the defect data discrimination module, as shown in FIG. 5 , starts at step 501 .
在步骤502,获取实时管道内检测漏磁数据和正常管段的内检测历史漏磁数据;In step 502, obtain the real-time detection magnetic flux leakage data in the pipeline and the internal detection historical magnetic flux leakage data of the normal pipe section;
以两个环焊缝之间的管道段为单位,检测多段正常管段的漏磁信号,并建立正常管段的内检测历史漏磁数据记录;正常管段指的是没有缺陷发生的管段;Taking the pipeline section between two girth welds as a unit, detect the magnetic flux leakage signal of multiple normal pipe sections, and establish the internal detection history magnetic flux leakage data record of the normal pipe section; the normal pipe section refers to the pipe section without defects;
在步骤503,根据正常管段的内检测历史漏磁数据,确定异常数据阈值;In step 503, an abnormal data threshold is determined according to the internal detection history magnetic flux leakage data of the normal pipe section;
从多段正常管段的内检测历史漏磁数据中,分别确定各正常管段漏磁数据的最大值,求得多段正常管段漏磁数据最大值的平均值同时,求得其中一段正常管段漏磁数据的平均值;检测一段自然腐蚀管段,并求得该自然腐蚀管段漏磁数据的平均值;求取所述自然腐蚀管段漏磁数据的平均值与所述一段正常管段漏磁数据的平均值的比值;即,From the internal detection history magnetic flux leakage data of multiple normal pipe sections, respectively determine the maximum value of the magnetic flux leakage data of each normal pipe section, and obtain the average value of the maximum value of the magnetic flux leakage data of multiple normal pipe sections At the same time, obtain the average value of the magnetic flux leakage data of one section of normal pipe section; detect a section of natural corrosion pipe section, and obtain the average value of the magnetic flux leakage data of the natural corrosion pipe section; obtain the average value of the magnetic flux leakage data of the natural corrosion pipe section and the obtained The ratio of the average value of the magnetic flux leakage data of a normal pipe section; that is,
式中:n为正常管段数量;Xmax为每段正常管段漏磁数据的最大值;为多段正常管段漏磁数据最大值的平均值;为一段正常管段漏磁数据平均值;Xi为一段正常管段漏磁数据点;N1为一段正常管段漏磁数据点数量;为自然腐蚀管段漏磁数据平均值;X1i为自然腐蚀管段漏磁数据点;N2为自然腐蚀管段漏磁数据点数量;C为一段缺陷管段漏磁数据的平均值与一段正常管段漏磁数据的平均值之比;In the formula: n is the number of normal pipe sections; X max is the maximum value of magnetic flux leakage data for each normal pipe section; is the average value of the maximum value of magnetic flux leakage data of multiple normal pipe sections; is the average value of magnetic flux leakage data of a normal pipe section; X i is the magnetic flux leakage data point of a normal pipe section; N 1 is the number of magnetic flux leakage data points of a normal pipe section; is the average value of the magnetic flux leakage data of the naturally corroded pipe section; X 1i is the magnetic flux leakage data point of the naturally corroded pipe section; N 2 is the number of data points of the magnetic flux leakage data of the naturally corroded pipe section; The ratio of the means of the data;
则异常数据阈值为 Then the abnormal data threshold is
在步骤504:根据异常数据阈值,分离出实时管道内检测漏磁数据中的异常数据,并对异常数据及其轴向位置进行记录;轴向指的是管道长度方向;In step 504: according to the abnormal data threshold, the abnormal data in the magnetic flux leakage detection data in the real-time pipeline is separated, and the abnormal data and its axial position are recorded; the axial direction refers to the length direction of the pipeline;
分离所述异常数据的方法为:大于异常数据阈值K的实时管道内检测漏磁数据视为异常数据;The method for separating the abnormal data is: the magnetic flux leakage data detected in the real-time pipeline greater than the abnormal data threshold K is regarded as abnormal data;
在步骤505:利用相关性分析方法,通过异常数据与其相邻数据的比较,判别异常数据的有效性;相邻数据指的是与检测到异常数据的传感器相邻的传感器在相同轴向位置检测的数据;In step 505: Using the correlation analysis method, the validity of the abnormal data is judged by comparing the abnormal data with its adjacent data; adjacent data refers to the sensor detected at the same axial position as the sensor adjacent to the sensor that detected the abnormal data The data;
采用计算异常数据与其相邻数据的协方差的方法,来衡量异常数据与其相邻数据间的相关性;因为相邻两组传感器之间距离较近,所以,相邻两组信号具有一定的相似性,如果两组数据达到了一定的正相关程度,则认为数据采集正确,分离出的异常数据为有效数据;否则认为数据采集有误,分离出的异常数据为无效数据;The method of calculating the covariance between the abnormal data and its adjacent data is used to measure the correlation between the abnormal data and its adjacent data; because the distance between the adjacent two groups of sensors is relatively close, the adjacent two groups of signals have a certain similarity If the two sets of data reach a certain degree of positive correlation, it is considered that the data collection is correct, and the separated abnormal data is valid data; otherwise, the data collection is considered to be wrong, and the separated abnormal data is invalid data;
COV(x,y)=E[(xi-E(xi))(yi-E(yi))] (i=1,2,…,n)COV(x,y)=E[(x i -E(x i ))(y i -E(y i ))] (i=1,2,...,n)
式中,COV(x,y)为x,y两组数据的协方差;xi为异常数据点;yi为xi的相邻数据点;n1为异常数据点数量;E(x)为异常数据点期望;E(y)为xi的相邻数据点期望;In the formula, COV(x, y) is the covariance of the two sets of data of x and y; x i is the abnormal data point; y i is the adjacent data point of x i ; n 1 is the number of abnormal data points; E(x) is the expectation of abnormal data points; E(y) is the expectation of adjacent data points of x i ;
协方差表示的是两个变量的相关性,如果两个变量的变化趋势一致,也就是说如果其中一个大于自身的期望值,另外一个也大于自身的期望值,那么两个变量之间的协方差就是正值。如果两个变量的变化趋势相反,即其中一个大于自身的期望值,另外一个却小于自身的期望值,那么两个变量之间的协方差就是负值。如果x与y是统计独立的,那么二者之间的协方差就是0;通过协方差系数r的阈值判断异常数据的有效性,本实施发方式通过实验确定的协方差系数r的阈值为0.75,则大于阈值0.75的协方差系数所对应的异常数据即为有效的异常数据;Covariance represents the correlation between two variables. If the trend of the two variables is consistent, that is, if one of them is greater than its own expected value, and the other is also greater than its own expected value, then the covariance between the two variables is Positive value. If two variables have opposite trends, that is, one of them is greater than its expected value and the other is less than its own expected value, then the covariance between the two variables is negative. If x and y are statistically independent, then the covariance between the two is 0; the validity of the abnormal data is judged by the threshold value of the covariance coefficient r, and the threshold value of the covariance coefficient r determined by experiments in this implementation method is 0.75 , the abnormal data corresponding to the covariance coefficient greater than the threshold 0.75 is effective abnormal data;
在步骤506,利用三次样条插值法,分别对各传感器实时测得的有效的异常数据进行三次样条插值,分别得到各传感器实时测得的有效异常数据的三次样条插值拟合曲线,简称各条曲线;In step 506, using the cubic spline interpolation method, cubic spline interpolation is performed on the effective abnormal data measured by each sensor in real time, respectively, and the cubic spline interpolation fitting curves of the effective abnormal data measured by each sensor in real time are respectively obtained, referred to as various curves;
所述各条曲线的纵坐标为异常数据值,横坐标为异常数据的轴向检测位置;The ordinate of each of the curves is the abnormal data value, and the abscissa is the axial detection position of the abnormal data;
缺陷数据特征提取模块的工作流程,如图6所示,开始于步骤601。The workflow of the defect data feature extraction module, as shown in FIG. 6 , starts at step 601 .
在步骤602,求取各传感器实时测得的有效异常数据的轴向特征值;In step 602, obtain the axial eigenvalues of the effective abnormal data measured by each sensor in real time;
A.确定各条曲线的峰值和谷值,并计算各条曲线的峰谷值Yp-p;如图7(a)所示,峰谷值Yp-p指的是峰值与谷值之差;即,确定各传感器实时测得的有效异常数据的最大值、最小值及最大值与最小值之差;峰谷值Yp-p的大小与管道缺陷的深度有关;A. Determine the peak value and the valley value of each curve, and calculate the peak-valley value Y pp of each curve; As shown in Figure 7 (a), the peak-valley value Y pp refers to the difference between the peak value and the valley value; That is, Determine the maximum value, minimum value and the difference between the maximum value and the minimum value of the effective abnormal data measured by each sensor in real time; the size of the peak and valley value Y pp is related to the depth of the pipeline defect;
B.确定各条曲线的最低谷点的横坐标值与次低谷点的横坐标值,并计算各条曲线的谷谷值Xp-p;如图7(b)所示,谷谷值Xp-p指的是最低谷点的横坐标值与次低谷点的横坐标值之差;即,确定各传感器实时测得的有效异常数据的最小值的轴向位置及次最小值的轴向位置,及所述最小值的轴向位置与次最小值的轴向位置之差;谷谷值Xp-p的大小与缺陷腐蚀的长度有关;B. determine the abscissa value of the lowest valley point of each curve and the abscissa value of the second valley point, and calculate the valley value X pp of each curve; As shown in Figure 7 (b), the valley value X pp refers to is the difference between the abscissa value of the lowest valley point and the abscissa value of the sub-valley point; that is, to determine the axial position of the minimum value and the axial position of the second minimum value of the effective abnormal data measured by each sensor in real time, and the The difference between the axial position of the minimum value and the axial position of the second minimum value; the size of the valley value X pp is related to the length of defect corrosion;
C.分别计算各条曲线的面积;C. Calculate the area of each curve separately;
如图7(c)所示,各条曲线面积的计算公式为:As shown in Figure 7(c), the formula for calculating the area of each curve is:
式中,S为曲线面积,xi(t)为异常数据点,min[xi(t)]为最小异常数据;曲线面积的大小与缺陷腐蚀的长度深度的综合情况有关;In the formula, S is the area of the curve, x i (t) is the abnormal data point, and min[ xi (t)] is the minimum abnormal data; the size of the curve area is related to the comprehensive situation of the length and depth of defect corrosion;
D.计算各条曲线能量;D. Calculate the energy of each curve;
各条曲线能量的计算公式为:其中,Se为曲线能量;曲线能量的大小与缺陷腐蚀的长度深度的综合情况有关;The formula for calculating the energy of each curve is: Among them, Se is the curve energy; the size of the curve energy is related to the comprehensive situation of the length and depth of defect corrosion;
E.利用小波变换的方法,求取各条曲线上的拐点间距;E. Utilize the wavelet transform method to find the inflection point spacing on each curve;
方法:如图7(d)所示,Xk-k表示拐点间距,拐点间距Xk-k的大小与缺陷腐蚀的长度有关;由于所要求取的拐点位置分别在波峰和两个波谷之间,因此只分别对各条曲线的两个波谷之间的部分进行小波变换,选取的小波基为平滑函数的二阶导数;经连续小波变换后的曲线的零点,即为原曲线的拐点,本发明选取墨西哥帽小波作为基小波,在尺度a=4到a=32的范围内对异常数据进行连续小波变换。根据具体异常信号的变换效果选取小波尺度,一般尺度a=8时效果最好,求得各条曲线拐点的位置,如图8所示;Method: As shown in Figure 7(d), X kk represents the inflection point spacing, and the size of the inflection point spacing X kk is related to the length of defect corrosion; since the required inflection point positions are respectively between the peak and the two troughs, only Carry out wavelet transformation to the part between two troughs of each curve, the selected wavelet basis is the second order derivative of smooth function; The zero point of the curve after continuous wavelet transformation is the inflection point of the original curve, and the present invention selects the Mexican hat The wavelet is used as the basic wavelet, and the continuous wavelet transform is performed on the abnormal data in the range of scale a=4 to a=32. The wavelet scale is selected according to the transformation effect of the specific abnormal signal, and the effect is the best when the general scale is a=8, and the positions of the inflection points of each curve are obtained, as shown in Figure 8;
F.求取各条曲线的峰谷值Yp-p与谷谷值Xp-p的比值、面积S与峰谷值Yp-p的比值、面积S与谷谷值Xp-p的比值;F. Find the ratio of the peak-valley value Y pp to the valley value X pp of each curve, the ratio of the area S to the peak-valley value Y pp , the ratio of the area S to the valley value X pp ;
在步骤603,求取各传感器实时测得的有效异常数据的周向特征值;周向指的是管道截面圆周方向;In step 603, the circumferential characteristic value of the effective abnormal data measured by each sensor in real time is obtained; the circumferential direction refers to the circumferential direction of the pipeline section;
H.确定周向异常数据阈值;H. Determine the circumferential abnormal data threshold;
方法流程为:以当前传感器测得的有效异常数据的峰值为基点,在该峰值对应的轴向位置附近,首先对当前传感器左侧或右侧紧邻的传感器测得的有效异常数据的峰值进行判断,若其大于等于当前传感器测得的有效异常数据的峰值,则将该峰值作为最大峰值,按照同样的方法,继续沿着该方向依次对后续相邻传感器测得的有效异常数据的峰值进行判断,直到后一传感器测得的有效异常数据的峰值小于前一传感器测得的有效异常数据的峰值为止,得到最终的最大峰值,并对该最大峰值和该最大峰值所对应的传感器进行记录;若其小于当前传感器测得的有效异常数据的峰值,则对当前传感器右侧或左侧紧邻的传感器测得的有效异常数据的峰值进行判断,若其大于等于当前传感器测得的有效异常数据的峰值,则将该峰值作为最大峰值,按照同样的方法,继续沿着该方向依次对后续相邻传感器测得的有效异常数据的峰值进行判断,直到后一传感器测得的有效异常数据的峰值小于前一传感器测得的有效异常数据的峰值为止,得到最终的最大峰值,并对该最大峰值和该最大峰值所对应的传感器进行记录;若左、右两个方向的相邻传感器测得的有效异常数据的峰值均小于当前传感器测得的有效异常数据的峰值,则将当前传感器测得的有效异常数据的峰值作为最终的最大峰值,并对该最大峰值和当前传感器进行记录;将最终的最大峰值的半值作为周向异常数据阈值;The method flow is: take the peak value of the effective abnormal data measured by the current sensor as the base point, and first judge the peak value of the effective abnormal data measured by the sensor immediately to the left or right of the current sensor near the axial position corresponding to the current sensor , if it is greater than or equal to the peak value of the effective abnormal data measured by the current sensor, then take this peak value as the maximum peak value, and continue to judge the peak value of the effective abnormal data measured by subsequent adjacent sensors in the same way along this direction , until the peak value of the effective abnormal data measured by the latter sensor is smaller than the peak value of the effective abnormal data measured by the previous sensor, the final maximum peak value is obtained, and the maximum peak value and the sensor corresponding to the maximum peak value are recorded; if If it is less than the peak value of the effective abnormal data measured by the current sensor, then judge the peak value of the effective abnormal data measured by the sensor immediately to the right or left of the current sensor, if it is greater than or equal to the peak value of the effective abnormal data measured by the current sensor , then take this peak value as the maximum peak value, and continue to judge the peak value of the effective abnormal data measured by the subsequent adjacent sensors in the same way, until the peak value of the effective abnormal data measured by the latter sensor is smaller than the previous one. Up to the peak value of the effective abnormal data measured by a sensor, the final maximum peak value is obtained, and the maximum peak value and the sensor corresponding to the maximum peak value are recorded; if the effective abnormality measured by the adjacent sensors in the left and right directions If the peak values of the data are smaller than the peak value of the effective abnormal data measured by the current sensor, the peak value of the effective abnormal data measured by the current sensor is taken as the final maximum peak value, and the maximum peak value and the current sensor are recorded; the final maximum peak value The half value of is used as the threshold of abnormal data in the circumferential direction;
I.确定周向异常数据;I. Determine the circumferential abnormal data;
方法为:所述最大峰值所属传感器的左右两个方向相邻的传感器测得的有效异常数据的峰值大于周向异常数据阈值的视为周向异常数据及其对应的传感器视为在管段缺陷覆盖范围内,得到周向异常数据和管段缺陷覆盖的传感器数量;The method is: if the peak value of the effective abnormal data measured by the sensors adjacent to the left and right directions of the sensor to which the maximum peak value belongs is greater than the threshold value of the circumferential abnormal data, it is regarded as the circumferential abnormal data and the corresponding sensor is regarded as being covered by defects in the pipe section. Within the range, the number of sensors covered by circumferential abnormal data and pipe section defects is obtained;
并对管段缺陷覆盖的传感器测得的异常数据的峰值处的轴向位置进行记录,基于传感器位置差别与检测误差,每个峰值所处的轴向位置有差别,利用最小二乘法确定相对误差最小的位置,作为该组周向异常数据峰值的轴向位置;And record the axial position of the peak of the abnormal data measured by the sensor covered by the pipe defect. Based on the difference between the sensor position and the detection error, the axial position of each peak is different, and the least square method is used to determine the relative error. The position of , as the axial position of the peak value of the group of circumferential abnormal data;
J.利用三次样条插值法,分别对周向异常数据进行三次样条插值,得到周向异常数据的三次样条插值拟合曲线,简称周向曲线;J. Use the cubic spline interpolation method to perform cubic spline interpolation on the circumferential abnormal data respectively, and obtain the cubic spline interpolation fitting curve of the circumferential abnormal data, referred to as the circumferential curve;
K.计算管段缺陷覆盖的多条传感器实时测得的有效异常数据的三次样条插值拟合曲线的面积和;K. Calculate the area sum of the cubic spline interpolation fitting curve of the effective abnormal data measured in real time by multiple sensors covered by the pipe section defects;
L.采取与A至F相同的方法,重复执行A至F,得到周向曲线的特征,包括:峰谷值、谷谷值、面积、能量、拐点间距、峰谷值与谷谷值的比值、面积与峰谷值的比值、面积与谷谷值的比值;L. Take the same method as A to F, and repeat A to F to obtain the characteristics of the circumferential curve, including: peak-to-valley value, valley-to-valley value, area, energy, distance between inflection points, ratio of peak-to-valley value to valley-to-valley value , the ratio of the area to the peak-to-valley value, the ratio of the area to the valley-to-valley value;
虽然以上描述了本发明的具体实施方式,但是本领域内的熟练的技术人员应当理解,这些仅是举例说明,可以对这些实施方式做出多种变更或修改,而不背离本发明的原理和实质。本发明的范围仅由所附权利要求书限定。Although the specific embodiments of the present invention have been described above, those skilled in the art should understand that these are only examples, and various changes or modifications can be made to these embodiments without departing from the principles and principles of the present invention. substance. The scope of the invention is limited only by the appended claims.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410267580.0A CN104034796B (en) | 2014-06-16 | 2014-06-16 | Detection generating date device and method in a kind of pipe leakage |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410267580.0A CN104034796B (en) | 2014-06-16 | 2014-06-16 | Detection generating date device and method in a kind of pipe leakage |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104034796A CN104034796A (en) | 2014-09-10 |
CN104034796B true CN104034796B (en) | 2016-09-28 |
Family
ID=51465645
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410267580.0A Expired - Fee Related CN104034796B (en) | 2014-06-16 | 2014-06-16 | Detection generating date device and method in a kind of pipe leakage |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104034796B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10631245B2 (en) | 2017-09-26 | 2020-04-21 | King Fahd University Of Petroleum And Minerals | Node placement for pipeline monitoring |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105299476B (en) * | 2015-09-14 | 2017-09-22 | 高笑天 | A kind of method based on smooth peak dot or valley point locating leaks in pipes |
CN107305563B (en) * | 2016-04-21 | 2021-04-13 | 北京暖流科技有限公司 | Abnormal data detection method and system based on distance |
CN106870957B (en) * | 2017-03-21 | 2019-02-05 | 东北大学 | A Feature Extraction Method for MFL Signals of Pipeline Defects |
CN110006338B (en) * | 2019-04-28 | 2020-11-06 | 哈尔滨工业大学(深圳) | A kind of wire rope damage area detection method |
CN110516589B (en) * | 2019-08-26 | 2023-06-02 | 东北大学 | A Method for Precise Boundary Identification of Pipeline Flux Leakage Data |
CN114354740B (en) * | 2022-03-09 | 2022-05-31 | 成都熊谷油气科技有限公司 | Pipeline detection system |
CN115081485B (en) * | 2022-07-04 | 2023-04-07 | 中特检深燃安全技术服务(深圳)有限公司 | AI-based magnetic flux leakage internal detection data automatic analysis method |
CN115308297A (en) * | 2022-08-05 | 2022-11-08 | 国家石油天然气管网集团有限公司 | Defect signal quantization method and system based on circumferential excitation device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101122579A (en) * | 2007-09-25 | 2008-02-13 | 王祥国 | Railroad micro-magnetism flaw detector and its defectoscopy |
CN101684892A (en) * | 2008-09-28 | 2010-03-31 | 中国石油化工股份有限公司 | Signal transmission device for pipeline detection, pipeline detection device and method |
CN102798660A (en) * | 2012-08-30 | 2012-11-28 | 东北大学 | Device and method for detecting defects of inner and outer walls of pipeline based on three-axis magnetic flux leakage and eddy current |
CN103398295A (en) * | 2013-07-04 | 2013-11-20 | 东北大学 | Device and method for compressing pipeline magnet leakage signal data |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1114599A (en) * | 1997-06-24 | 1999-01-22 | Toyota Motor Corp | Flaw detecting apparatus by magnetic leakage flux detecting method |
CA2548938C (en) * | 2005-04-28 | 2012-12-11 | Randel Brandstrom | Apparatus and method for detection of defects using flux leakage techniques |
DE102005063352B4 (en) * | 2005-07-29 | 2008-04-30 | V&M Deutschland Gmbh | Non-destructive testing of pipes for surface defects |
-
2014
- 2014-06-16 CN CN201410267580.0A patent/CN104034796B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101122579A (en) * | 2007-09-25 | 2008-02-13 | 王祥国 | Railroad micro-magnetism flaw detector and its defectoscopy |
CN101684892A (en) * | 2008-09-28 | 2010-03-31 | 中国石油化工股份有限公司 | Signal transmission device for pipeline detection, pipeline detection device and method |
CN102798660A (en) * | 2012-08-30 | 2012-11-28 | 东北大学 | Device and method for detecting defects of inner and outer walls of pipeline based on three-axis magnetic flux leakage and eddy current |
CN103398295A (en) * | 2013-07-04 | 2013-11-20 | 东北大学 | Device and method for compressing pipeline magnet leakage signal data |
Non-Patent Citations (1)
Title |
---|
海底输油管道缺陷漏磁检测信号采集与处理系统的设计;周林 等;《计算机测量与控制》;20041231;第12卷(第21期);第120-121页 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10631245B2 (en) | 2017-09-26 | 2020-04-21 | King Fahd University Of Petroleum And Minerals | Node placement for pipeline monitoring |
Also Published As
Publication number | Publication date |
---|---|
CN104034796A (en) | 2014-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104034796B (en) | Detection generating date device and method in a kind of pipe leakage | |
CN104514987B (en) | Three-dimensional pipeline flux leakage imaging defect quantizing method | |
CN103997315B (en) | A kind of pipeline magnetic flux leakage signal adaptive filter device and method | |
US6651503B2 (en) | Method of in-tube ultrasonic flaw detection | |
CN109492708B (en) | A missing data interpolation method for pipeline magnetic flux leakage detection based on LS-KNN | |
CN106444665B (en) | A kind of failure modes diagnostic method based on non-gaussian similarity mode | |
CN107842713B (en) | Submarine pipeline magnetic flux leakage data based on KNN-SVR lacks interpolating method | |
CN103760231B (en) | Weld defect giant magnetoresistance eddy current detection method based on decision tree and detection device | |
CN109100416B (en) | Ferromagnetic pipeline inner wall defect detection device based on orthogonal multi-frequency electromagnetic detection | |
CN105116872A (en) | Fault diagnosis method based on metric learning and time sequence during industrial process | |
CN107301271B (en) | A quantitative method for detecting magnetic flux leakage of steel wire rope outer layer damage | |
CN105091732A (en) | Method and system for detecting deformation of transformer winding | |
CN107132451A (en) | The winding state detection method and system of transformer | |
CN103713042B (en) | Based on the weld defects eddy current detection method of k nearest neighbor algorithm | |
CN104391045A (en) | Sound-wave-based square wood hole-defect recognition system and method | |
CN102954999A (en) | Method for judging signals of triaxial magnetic leakage internal detection line for crack defects of pipeline circumferential welds | |
CN103760229B (en) | Based on the weld defects giant magnetoresistance eddy current detection method of support vector machine | |
CN102879475B (en) | Identification system for fatigue damage state of 16 manganese steel bearing member based on PCA and TDF | |
CN112380992B (en) | Method and device for evaluating and optimizing accuracy of monitoring data in machining process | |
CN115935241B (en) | Multi-parameter mutually-fused pipe cleaner real-time positioning method and device | |
CN119716421A (en) | Cable defect detection device and detection method | |
CN112016600A (en) | Pipeline abnormity identification method, device and system | |
CN102537668A (en) | Method for determining ground mark time of inner detector of pipeline | |
CN109459489B (en) | Elevator crack detection method based on magnetic memory detection principle | |
CN112347903B (en) | Multi-component pipeline identification method based on heterogeneous field signals |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160928 |