Electromagnetic ultrasonic pipeline corrosion detection method, device and equipment and storage medium

Through electromagnetic ultrasonic technology and multi-level signal processing, the blind zone and safety hazard problems of traditional pipeline corrosion detection methods in complex-shaped pipelines are solved, the accuracy and robustness of detection are improved, and stable corrosion in different temperature environments is achieved. detection.

CN118533732AInactive Publication Date: 2024-08-23NINGBO MINGFENG INSPECTION & TESTING RES INST CO LTD
View PDF 0 Cites 13 Cited by

Patent Information

Application Number
CN202410770163.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional pipeline corrosion detection methods are prone to detection blind spots in complex-shaped pipelines, which pose safety risks and require high operational requirements. Moreover, the detection results are easily affected by human factors, making it difficult to comprehensively and accurately reflect the corrosion status.

Method used

Using electromagnetic ultrasonic technology, we conduct corrosion testing and signal collection on pipelines through different temperature values, perform wavelet transformation and log linearization processing, extract signal features and conduct feature matrix fusion, input the preset pipeline corrosion detection model for detection, and use variation The autoencoder, LSTM layer and fully connected layer perform multi-level processing to generate pipeline corrosion detection results.

Benefits of technology

It improves the accuracy and robustness of pipeline corrosion detection, can stably and consistently identify and mark abnormal corrosion areas in various temperature environments, generates accurate corrosion detection results, and reduces the impact of human factors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118533732A
    Figure CN118533732A
Patent Text Reader

Abstract

The invention relates to the technical field of corrosion detection, and discloses an electromagnetic ultrasonic pipeline corrosion detection method, device and equipment and a storage medium. The method comprises the following steps: carrying out corrosion test and electromagnetic ultrasonic signal acquisition on a target pipeline by adopting a plurality of different temperature values to obtain an initial electromagnetic ultrasonic signal; carrying out wavelet transformation and log linearization processing to obtain a standard electromagnetic ultrasonic signal and carrying out abnormal region identification to obtain a plurality of abnormal electromagnetic ultrasonic signal segments; performing signal feature extraction and feature normalization on the plurality of abnormal electromagnetic ultrasonic signal segments to obtain a plurality of electromagnetic ultrasonic signal features; performing feature matrix fusion on the plurality of temperature values and the plurality of electromagnetic ultrasonic signal features to obtain a target fusion feature matrix; and inputting the target fusion feature matrix into a pipeline corrosion detection model for pipeline corrosion detection to obtain a pipeline corrosion detection result, and improving the accuracy of pipeline corrosion detection by adopting an electromagnetic ultrasonic technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of corrosion detection, and in particular to an electromagnetic ultrasonic pipeline corrosion detection method, device, equipment and storage medium. Background Art

[0002] During long-term operation, the pipeline system is prone to corrosion and damage due to the corrosion of the internal medium, the influence of the external environment and various stresses. Pipeline corrosion will not only lead to leakage of the transported medium and affect production efficiency, but may also cause serious environmental pollution and safety accidents.

[0003] At present, traditional pipeline corrosion detection methods mainly include ultrasonic testing, X-ray testing, magnetic particle testing and eddy current testing. These methods can identify corrosion defects inside and on the surface of pipelines to a certain extent, but they also have some limitations. Ultrasonic testing is prone to blind spots in pipelines with complex shapes. X-ray testing involves radioactive materials and poses safety hazards. Magnetic particle testing and eddy current testing have high requirements for materials and are difficult to fully and accurately reflect the corrosion status of pipelines. In addition, traditional detection methods have high professional and technical requirements for operators, and the accuracy and reliability of detection results are easily affected by human factors. Summary of the invention

[0004] The present application provides an electromagnetic ultrasonic pipeline corrosion detection method, device, equipment and storage medium, which are used to improve the accuracy of pipeline corrosion detection by using electromagnetic ultrasonic technology.

[0005] In a first aspect, the present application provides an electromagnetic ultrasonic pipeline corrosion detection method, the electromagnetic ultrasonic pipeline corrosion detection method comprising: Using multiple different temperature values ​​to perform corrosion testing and electromagnetic ultrasonic signal collection on the target pipeline to obtain an initial electromagnetic ultrasonic signal; Performing wavelet transform and log linearization processing on the initial electromagnetic ultrasonic signal to obtain a standard electromagnetic ultrasonic signal, and performing abnormal area identification on the standard electromagnetic ultrasonic signal to obtain multiple abnormal electromagnetic ultrasonic signal segments; Extracting and normalizing signal features of the plurality of abnormal electromagnetic ultrasonic signal segments to obtain a plurality of electromagnetic ultrasonic signal features; Performing feature matrix fusion on the multiple temperature values ​​and the multiple electromagnetic ultrasonic signal features to obtain a target fusion feature matrix; The target fusion feature matrix is ​​input into a preset pipeline corrosion detection model to perform pipeline corrosion detection to obtain a pipeline corrosion detection result.

[0006] In a second aspect, the present application provides an electromagnetic ultrasonic pipeline corrosion detection device, the electromagnetic ultrasonic pipeline corrosion detection device comprising: An acquisition module is used to perform corrosion testing and electromagnetic ultrasonic signal acquisition on a target pipeline using multiple different temperature values ​​to obtain an initial electromagnetic ultrasonic signal; an identification module, used for performing wavelet transform and log linearization processing on the initial electromagnetic ultrasonic signal to obtain a standard electromagnetic ultrasonic signal, and performing abnormal area identification on the standard electromagnetic ultrasonic signal to obtain multiple abnormal electromagnetic ultrasonic signal segments; An extraction module, used for performing signal feature extraction and feature normalization on the multiple abnormal electromagnetic ultrasonic signal segments to obtain multiple electromagnetic ultrasonic signal features; A fusion module, used for performing feature matrix fusion on the multiple temperature values ​​and the multiple electromagnetic ultrasonic signal features to obtain a target fusion feature matrix; The detection module is used to input the target fusion feature matrix into a preset pipeline corrosion detection model to perform pipeline corrosion detection and obtain pipeline corrosion detection results.

[0007] The third aspect of the present application provides an electromagnetic ultrasonic pipeline corrosion detection device, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the electromagnetic ultrasonic pipeline corrosion detection device executes the above-mentioned electromagnetic ultrasonic pipeline corrosion detection method.

[0008] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned electromagnetic ultrasonic pipeline corrosion detection method.

[0009] In the technical solution provided by the present application, corrosion testing and electromagnetic ultrasonic signal collection are performed on the target pipeline using multiple different temperature values, ensuring signal stability and consistency under various temperature environments. By performing adaptive waveform optimization processing on the detection data at different temperatures, the signal deviation caused by temperature changes can be eliminated. By performing wavelet transform and log linearization processing on the initial electromagnetic ultrasonic signal, a standardized electromagnetic ultrasonic signal is obtained, and the abnormal corrosion area in the pipeline is accurately located and marked through multi-step abnormal area identification and optimization. The frequency domain and time domain feature extraction and normalization processing are performed on multiple abnormal electromagnetic ultrasonic signal segments to obtain high-frequency and low-frequency signal features respectively, and the target fusion feature matrix is ​​generated through feature matrix fusion. The target fusion feature matrix is ​​input into the preset pipeline corrosion detection model, and the pipeline corrosion probability value is accurately calculated through multi-level processing of variational autoencoder, LSTM layer and fully connected layer, and the pipeline corrosion detection result is generated. The model can comprehensively consider a variety of feature information and has high detection accuracy and robustness. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0011] Figure 1 This is a schematic diagram of an embodiment of the electromagnetic ultrasonic pipeline corrosion detection method in the embodiment of the present application; Figure 2 This is a schematic diagram of an embodiment of an electromagnetic ultrasonic pipeline corrosion detection device in an embodiment of the present application. DETAILED DESCRIPTION

[0012] The embodiments of the present application provide an electromagnetic ultrasonic pipeline corrosion detection method, device, equipment and storage medium. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described here can be implemented in an order other than that illustrated or described here. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0013] For ease of understanding, the specific process of the embodiment of the present application is described below. Figure 1 , an embodiment of the electromagnetic ultrasonic pipeline corrosion detection method in the embodiment of the present application includes: Step S101, using multiple different temperature values ​​to perform corrosion testing and electromagnetic ultrasonic signal collection on the target pipeline to obtain an initial electromagnetic ultrasonic signal; It is understandable that the execution subject of the present application may be an electromagnetic ultrasonic pipeline corrosion detection device, or a terminal or a server, which is not limited here. The present application embodiment is described by taking a server as the execution subject as an example.

[0014] Specifically, a corrosion test is performed on the target pipeline using multiple different temperature values. By adjusting the temperature environment, different temperature conditions that the pipeline may experience during actual use are simulated to ensure the wide applicability and accuracy of the detection method. Under each temperature condition, the target pipeline is tested by a preset electromagnetic ultrasonic sensor to obtain a test electromagnetic ultrasonic signal. The electromagnetic ultrasonic sensor can efficiently collect electromagnetic ultrasonic signals on the surface and inside of the pipeline and provide high-precision detection data. A pipeline parameter set of the target pipeline is obtained, and the pipeline parameter set includes material properties, thickness, and geometric parameters. Material properties involve the type of material used in the pipeline and its physical properties, which have an important influence on the propagation of electromagnetic ultrasonic signals; thickness is a measure of the wall thickness of the pipeline and is a key parameter that affects the signal propagation path and reflection characteristics; geometric parameters include the diameter of the pipeline, the bending radius, etc., and these geometric characteristics affect the propagation and reflection characteristics of the signal. Based on the acquired pipeline parameter set, the test electromagnetic ultrasonic signal is adaptively optimized in waveform. Through an adaptive algorithm, the waveform of the test signal is adjusted according to the material properties, thickness, and geometric parameters of the pipeline to optimize the quality and accuracy of the signal and obtain waveform optimization parameters. The purpose of adaptive waveform optimization is to enhance the detectability and resolution of the signal so that the features in the signal can be more accurately identified and analyzed in the subsequent processing steps. Based on the waveform optimization parameters, the electromagnetic ultrasonic signal of the target pipeline is collected. At each temperature value, the signal after adaptive waveform optimization is collected by the electromagnetic ultrasonic sensor to ensure that the collected signal can fully reflect the corrosion of the pipeline under different temperature conditions and obtain the initial electromagnetic ultrasonic signal for each temperature value.

[0015] Step S102, performing wavelet transform and log linearization processing on the initial electromagnetic ultrasonic signal to obtain a standard electromagnetic ultrasonic signal, and performing abnormal area identification on the standard electromagnetic ultrasonic signal to obtain multiple abnormal electromagnetic ultrasonic signal segments; Specifically, the initial electromagnetic ultrasonic signal is sampled respectively to obtain discrete signal data at each temperature value, and the discrete signal data can reflect the electromagnetic ultrasonic characteristics of the pipeline under different temperature conditions. The discrete signal data is decomposed by the preset wavelet basis function to obtain the initial wavelet coefficient. The initial wavelet coefficient is threshold processed to filter out the noise and interference in the signal to obtain the target wavelet coefficient. The threshold processing sets an appropriate threshold and sets the coefficients less than the threshold to zero, thereby retaining the main components of the signal and eliminating the influence of noise. Based on the target wavelet coefficient, the discrete signal data is inversely wavelet transformed to obtain the frequency domain electromagnetic ultrasonic signal of each temperature value. The processed wavelet coefficients are restored to the frequency domain representation of the signal. The frequency domain electromagnetic ultrasonic signal is log transformed and linearly processed respectively to obtain the standard electromagnetic ultrasonic signal of each temperature value. The log transform can compress the dynamic range of the signal, making the amplitude change of the signal smoother, while the linear processing is used to correct the linear distortion in the signal to obtain a more standardized and comparable standard signal. The standard electromagnetic ultrasonic signal is analyzed in the time domain to obtain the preliminary abnormal area of ​​each temperature value. Time domain analysis detects changes in the signal over time and identifies areas where abnormalities may exist. These areas often correspond to the locations of pipeline corrosion or other defects. The boundaries of the initial abnormal areas are optimized to obtain multiple abnormal electromagnetic ultrasonic signal segments. Boundary optimization accurately locates the boundaries of the abnormal areas and excludes pseudo-abnormal signals that may be caused by noise or other non-corrosion factors, thereby ensuring that the identified abnormal areas are more accurate and reliable.

[0016] Step S103, performing signal feature extraction and feature normalization on the multiple abnormal electromagnetic ultrasonic signal segments to obtain multiple electromagnetic ultrasonic signal features; Specifically, frequency domain analysis is performed on multiple abnormal electromagnetic ultrasonic signal segments to obtain multiple frequency domain abnormal features. The time domain signal is converted into a frequency domain signal to reveal the frequency components and energy distribution in the signal, and the characteristics of the abnormal signal in the frequency domain are identified. Feature clustering analysis is performed on multiple frequency domain abnormal features to obtain abnormal pattern classification results. By clustering similar frequency domain abnormal features together, several feature clusters are formed, each of which represents an abnormal pattern. The classification results can help identify different types of abnormal signals and provide a more detailed feature analysis basis. According to the abnormal pattern classification results, high-frequency component analysis is performed on multiple frequency domain abnormal features to obtain multiple high-frequency signal features. High-frequency component analysis focuses on the changes in the high-frequency part of the signal. These high-frequency signal features are usually related to the detailed information and mutation characteristics in the signal, which helps to identify smaller or sudden abnormalities. Low-pass filtering is performed on multiple abnormal electromagnetic ultrasonic signal segments to obtain multiple target low-frequency signals. Low-pass filtering removes the high-frequency components in the signal and retains only the low-frequency part, reduces the influence of noise, and retains the main components and trend information in the signal. Based on the low-frequency signal, time domain analysis is performed to obtain multiple time-domain low-frequency features. Time domain analysis focuses on the changes of signals in time. By analyzing low-frequency signals, the time domain features of signals, such as amplitude, period, and phase, are extracted. Feature selection is performed on multiple time domain low-frequency features to obtain multiple low-frequency signal features. By screening out the most useful features for signal recognition and classification, redundant and irrelevant features are removed to improve the quality and utility of the feature set. Feature normalization and feature integration are performed on multiple high-frequency signal features and multiple low-frequency signal features respectively to obtain multiple electromagnetic ultrasonic signal features. By scaling the eigenvalues ​​to a uniform range, the dimensional differences between different features are eliminated, ensuring that each feature has the same importance in comprehensive analysis.

[0017] Step S104, performing feature matrix fusion on multiple temperature values ​​and multiple electromagnetic ultrasonic signal features to obtain a target fusion feature matrix; Specifically, the mean and standard deviation of multiple temperature values ​​are calculated, and by calculating the mean and standard deviation of each temperature value, the central tendency and dispersion degree of the entire temperature data, that is, the temperature mean and temperature standard deviation, are obtained. The mean and standard deviation of multiple electromagnetic ultrasonic signal features are calculated to obtain the signal feature mean and signal feature standard deviation, and the overall distribution and fluctuation degree of the signal features are understood. According to the temperature mean, temperature standard deviation, signal feature mean and signal feature standard deviation, the corresponding difference coefficient is calculated. The difference coefficient reflects the degree of change and relative difference of the temperature value and the signal feature value. According to the difference coefficient, the first weight data of multiple temperature values ​​and the second weight data of multiple electromagnetic ultrasonic signal features are set respectively. The first weight data reflects the importance of each temperature value, and the second weight data represents the importance of each signal feature. According to the first weight data, a weighted operation is performed on multiple temperature values, and multiple weighted temperature values ​​are obtained by multiplying each temperature value by its corresponding weight data. Similarly, a weighted operation is performed on multiple electromagnetic ultrasonic signal features according to the second weight data, and multiple weighted signal features are obtained by multiplying each signal feature value by its corresponding weight data. The feature matrix fusion is performed on multiple weighted temperature values ​​and multiple weighted signal features, and the weighted temperature values ​​and signal feature values ​​are combined to form a comprehensive feature matrix to obtain a target fusion feature matrix.

[0018] Step S105: input the target fusion feature matrix into a preset pipeline corrosion detection model to perform pipeline corrosion detection to obtain pipeline corrosion detection results.

[0019] Specifically, the target fusion feature matrix is ​​input into a preset pipeline corrosion detection model, which includes a variational autoencoder, two layers of unidirectionally connected long short-term memory network layers, and a fully connected layer. The variational autoencoder encodes the hidden features of the target fusion feature matrix through its forward and backward gated recurrent unit networks. The target fusion feature matrix is ​​encoded with hidden features through the forward GRU network in the variational autoencoder to obtain a forward hidden feature matrix. The forward GRU network can capture the forward dependency of the time series data in the feature matrix and extract the hidden features that reflect the forward change trend of the signal. At the same time, the target fusion feature matrix is ​​encoded with hidden features through the backward GRU network in the variational autoencoder to obtain a backward hidden feature matrix. The backward GRU network can capture the backward dependency of the time series data and extract the hidden features of the backward change trend of the signal. The forward hidden feature matrix and the backward hidden feature matrix are fused to obtain a fused hidden feature matrix. The fused hidden feature matrix is ​​input into the first layer of unidirectionally connected LSTM layer for processing to obtain the first layer feature output matrix. The first layer of LSTM can further process the hidden feature matrix, capture long-term dependencies, and extract deeper features. The first layer feature output matrix is ​​input into the second layer of unidirectionally connected LSTM layer for processing to obtain the target feature output matrix. The second layer of LSTM layer extracts higher-level features based on further processing to ensure the integrity and accuracy of feature representation. Through the processing of two layers of LSTM, the feature output matrix can fully reflect the timing information and structural information in the target fusion feature matrix. The pipeline corrosion probability is calculated on the target feature output matrix through the fully connected layer to obtain the pipeline corrosion probability value. The fully connected layer converts the features output by the LSTM layer into a probability value by linearly combining and nonlinearly activating it. The probability value represents the possibility of corrosion of the pipeline. The pipeline corrosion detection results of the target pipeline are generated according to the pipeline corrosion probability value. The detection results reflect the degree of corrosion of the pipeline and provide specific corrosion locations and severity, providing important basis for pipeline maintenance and overhaul.

[0020] Define multiple optimization objectives of the pipeline corrosion detection model. The optimization objectives include minimizing the detection error, maximizing the detection accuracy, and minimizing the model complexity. Randomly generate multiple initial individuals in the parameter space of the pipeline corrosion detection model. These initial individuals represent different combinations of model parameters to form an initial population. Decode each initial individual in the initial population and convert the initial individual into a model parameter. Run the pipeline corrosion detection model and calculate the optimization target value to obtain the fitness value of each initial individual. The fitness value measures the performance of each individual on the optimization target and can reflect the quality of the model parameter combination. According to the fitness value, non-dominated sorting is performed on the initial individuals in the initial population. Through non-dominated sorting, multiple initial individuals are divided into multiple non-dominated levels to obtain non-dominated individuals of each non-dominated level. Individuals with low non-dominated levels usually have better fitness values ​​and represent better model parameter combinations. The crowding distance is calculated for the non-dominated individuals of each non-dominated level to obtain the crowding distance value. The crowding distance is an indicator to measure the density of individuals in the feature space, which can help select diverse individuals to avoid overfitting. According to the crowding distance, individuals with low non-dominated level and high crowding degree are selected to obtain selected individuals. Selecting individuals with high crowding degree can ensure the diversity of model parameters and improve the generalization ability of the model. Randomly select two pairs from the selected individuals and perform crossover operations. Generate new individuals by simulating binary crossover to obtain crossover individuals. The crossover operation can combine the excellent genes of two individuals to produce better offspring. Perform mutation operations on the individuals after crossover to obtain mutated individuals. The mutation operation increases the diversity of individuals by introducing random changes and prevents the algorithm from falling into the local optimal solution. Generate a child population based on the mutated individuals, take the initial population as the parent population, and merge the parent population and the child population to form a merged population. Perform non-dominated sorting and crowding degree calculation on the merged population, select the first N individuals as the next generation population for iterative operations until the stop condition is met, and obtain the optimized pipeline corrosion detection model.

[0021] In the embodiment of the present application, corrosion testing and electromagnetic ultrasonic signal collection are performed on the target pipeline using different multiple temperature values ​​to ensure signal stability and consistency under various temperature environments. By performing adaptive waveform optimization processing on the detection data at different temperatures, the signal deviation caused by temperature change can be eliminated. By performing wavelet transform and log linearization processing on the initial electromagnetic ultrasonic signal, a standardized electromagnetic ultrasonic signal is obtained, and the abnormal corrosion area in the pipeline is accurately located and marked through multi-step abnormal area identification and optimization. The frequency domain and time domain feature extraction and normalization processing are performed on multiple abnormal electromagnetic ultrasonic signal segments to obtain high-frequency and low-frequency signal features respectively, and the target fusion feature matrix is ​​generated through feature matrix fusion. The target fusion feature matrix is ​​input into the preset pipeline corrosion detection model, and the pipeline corrosion probability value is accurately calculated through multi-level processing of variational autoencoder, LSTM layer and fully connected layer to generate pipeline corrosion detection results. The model can comprehensively consider a variety of feature information and has high detection accuracy and robustness.

[0022] In a specific embodiment, the process of executing step S101 may specifically include the following steps: (1) A corrosion test is performed on the target pipeline using multiple different temperature values, and a test signal of the target pipeline is collected by a preset electromagnetic ultrasonic sensor to obtain a test electromagnetic ultrasonic signal; (2) Obtaining a pipeline parameter set of the target pipeline, the pipeline parameter set including material properties, thickness, and geometric parameters; (3) Adaptively optimize the waveform of the test electromagnetic ultrasonic signal according to the pipeline parameter set to obtain the waveform optimization parameters; (4) Based on the waveform optimization parameters, the electromagnetic ultrasonic signal of the target pipeline is collected to obtain the initial electromagnetic ultrasonic signal of each temperature value.

[0023] Specifically, corrosion tests are performed on the target pipeline using multiple different temperature values. The temperature values ​​should cover the temperature range that the pipeline may experience in the actual use environment in order to simulate real working conditions. The corrosion test at each temperature value can be achieved by exposing the pipeline to a specific corrosive environment for a period of time, thereby evaluating the impact of temperature changes on pipeline corrosion. The target pipeline is tested by a preset electromagnetic ultrasonic sensor. The electromagnetic ultrasonic sensor can generate and receive ultrasonic signals, generate ultrasonic waves on the surface of the pipeline through electromagnetic induction, and detect the reflected signals. These signals contain various information about the pipeline material, including corrosion conditions. Obtain a pipeline parameter set for the target pipeline. The pipeline parameter set includes the material properties, thickness, and geometric parameters of the pipeline. The material properties include the density, elastic modulus, and sound velocity of the material; the thickness is the thickness of the pipeline wall; and the geometric parameters include the diameter and bending radius of the pipeline. Adaptive waveform optimization is performed on the test electromagnetic ultrasonic signal according to the pipeline parameter set. Adaptive waveform optimization is a method based on signal processing and optimization algorithms to improve signal quality and detection accuracy. The following formula is used: ; in, is the waveform optimization parameter, It is The signal value of the sampling point, is with Point-dependent noise power, is the total number of sampling points, is a small positive number used to avoid the denominator being zero. Through the above formula, the waveform optimization parameters are calculated, and then the waveform of the signal is adjusted to make it more suitable for subsequent analysis and processing. Electromagnetic ultrasonic signals are collected from the target pipeline based on the waveform optimization parameters. When collecting signals, the sensor adjusts its working mode according to the optimized waveform parameters to better capture the key features of the signal. The processed signal can more accurately reflect the corrosion of the pipeline. For example, suppose there is a section of steel pipeline whose material properties include density , elastic modulus GPa and the speed of sound m / s. The thickness of the pipe is 10 mm and the diameter is 500 mm. C. C. C and corrosion tests were carried out respectively. Under each temperature condition, electromagnetic ultrasonic sensors were used to collect signals from the pipeline. The obtained test electromagnetic ultrasonic signals were processed by the adaptive waveform optimization formula to calculate the corresponding waveform optimization parameters. , , Based on the waveform optimization parameters, the pipeline is sampled to obtain the initial electromagnetic ultrasonic signal for each temperature value.

[0024] In a specific embodiment, the process of executing step S102 may specifically include the following steps: (1) Sample the initial electromagnetic ultrasonic signal respectively to obtain discrete signal data for each temperature value; (2) Decompose the discrete signal data through the preset wavelet basis function to obtain the initial wavelet coefficients; (3) Perform threshold processing on the initial wavelet coefficients to obtain the target wavelet coefficients; (4) Performing inverse wavelet transform on discrete signal data based on target wavelet coefficients to obtain frequency domain electromagnetic ultrasonic signals for each temperature value; (5) performing log transformation and linear processing on the frequency domain electromagnetic ultrasonic signal to obtain a standard electromagnetic ultrasonic signal for each temperature value; (6) Perform time domain analysis on the standard electromagnetic ultrasonic signals to obtain the preliminary abnormal area of ​​each temperature value; (7) Optimizing the abnormal region boundaries of the preliminary abnormal regions respectively to obtain multiple abnormal electromagnetic ultrasonic signal segments.

[0025] Specifically, the initial electromagnetic ultrasonic signal is sampled to obtain discrete signal data for each temperature value. Assuming that the initial electromagnetic ultrasonic signal is collected at different temperatures , and sample these signals at a fixed sampling rate to obtain discrete signal data ,in Indicates different temperature conditions, Indicates sampling points. Convert continuous signals into discrete signals to facilitate digital signal processing. Decompose discrete signal data through preset wavelet basis functions to obtain initial wavelet coefficients. Select appropriate wavelet basis functions Perform wavelet transform on discrete signal data. Wavelet transform can be expressed as: ; in, is the wavelet coefficient, indicating the signal at scale and location The transformation result on ; is the initial electromagnetic ultrasonic signal; is the wavelet basis function; represents the complex conjugate of the wavelet basis function; is the scale parameter, which is used to adjust the width of the wavelet function; is the position parameter, used to translate the wavelet function; is a time variable. In this way, the detailed representation of the signal at different scales and positions is obtained, namely the initial wavelet coefficients. The initial wavelet coefficients are thresholded to obtain the target wavelet coefficients, remove the noise and interference in the signal, and retain the main signal components. Based on the target wavelet coefficients, the discrete signal data is inversely transformed by wavelet transform to obtain the frequency domain electromagnetic ultrasonic signal of each temperature value. The formula of inverse wavelet transform is: ; in, is the signal reconstructed by inverse wavelet transform; is the reconstruction coefficient, usually a constant, used to ensure the orthogonality of the transformation; are the wavelet coefficients; is the scaled and translated form of the wavelet basis function, is the scale parameter; is a positional parameter; is a time variable. Through inverse wavelet transform, the target wavelet coefficient is converted back to the frequency domain signal to obtain the frequency domain electromagnetic ultrasonic signal of each temperature value. The frequency domain electromagnetic ultrasonic signal is log transformed and linearly processed respectively to obtain the standard electromagnetic ultrasonic signal of each temperature value. Log transform is used to compress the dynamic range of the signal to make the change of the signal amplitude smoother. Linear processing is used to correct the linear distortion in the signal to obtain the standard electromagnetic ultrasonic signal. The standard electromagnetic ultrasonic signal is analyzed in the time domain to obtain the preliminary abnormal area of ​​each temperature value. The time domain analysis can be achieved by calculating the instantaneous energy, amplitude and zero crossing rate of the signal. Through these indicators, the areas where abnormalities may exist in the signal are preliminarily identified. These areas may correspond to the corrosion location or other defects of the pipeline. The abnormal area boundary optimization is performed on the preliminary abnormal area respectively to obtain multiple abnormal electromagnetic ultrasonic signal segments. Boundary optimization can be achieved by more sophisticated analysis and filtering methods, such as applying edge detection algorithms or further wavelet decomposition. Through the optimization method, the boundary of the abnormal area is accurately located to ensure that the identified abnormal signal segment is more accurate and reliable.

[0026] In a specific embodiment, the process of executing step S103 may specifically include the following steps: (1) Perform frequency domain analysis on multiple abnormal electromagnetic ultrasonic signal segments to obtain multiple frequency domain abnormal features; (2) Perform feature clustering analysis on multiple frequency domain anomaly features to obtain anomaly pattern classification results; (3) Perform high-frequency component analysis on multiple frequency domain abnormal features according to the abnormal pattern classification results to obtain multiple high-frequency signal features; (4) performing low-pass filtering on multiple abnormal electromagnetic ultrasonic signal segments to obtain multiple target low-frequency signals; (5) Performing time domain analysis on multiple target low-frequency signals to obtain multiple time domain low-frequency features; (6) Performing feature selection on multiple time-domain low-frequency features to obtain multiple low-frequency signal features; (7) Perform feature normalization and feature integration on the multiple high-frequency signal features and the multiple low-frequency signal features respectively to obtain multiple electromagnetic ultrasonic signal features.

[0027] Specifically, frequency domain analysis is performed on multiple abnormal electromagnetic ultrasonic signal segments to obtain multiple frequency domain abnormal features. Converting time domain signals into frequency domain signals can reveal the frequency components and energy distribution in the signal. Common frequency domain analysis methods include Fourier transform and power spectral density analysis. Through frequency domain analysis, the features of the signal at different frequencies, such as the amplitude and phase of the frequency components, are extracted. These features can reflect the frequency characteristics of the abnormal signal and are helpful for subsequent analysis and processing. Feature clustering analysis is performed on multiple frequency domain abnormal features to obtain abnormal pattern classification results. Similar frequency domain abnormal features are clustered together to form several feature clusters, each of which represents an abnormal pattern. Common clustering algorithms include K-means clustering, hierarchical clustering, and DBSCAN. Through clustering analysis, frequency domain abnormal features are divided into different categories, thereby identifying different types of abnormal signals. The clustering results can help the system better understand the abnormal patterns in the signal and provide a basis for subsequent feature analysis. According to the abnormal pattern classification results, high-frequency component analysis is performed on multiple frequency domain abnormal features to obtain multiple high-frequency signal features. High-frequency component analysis focuses on the changes in the high-frequency part of the signal. These high-frequency signal features are usually related to the detailed information and mutation characteristics in the signal, which helps to identify smaller or sudden anomalies. By extracting high-frequency signal features, sudden changes in abnormal signals can be more accurately located. Multiple abnormal electromagnetic ultrasonic signal segments are low-pass filtered to obtain multiple target low-frequency signals. Low-pass filtering removes the high-frequency components in the signal, retains only the low-frequency part, reduces the impact of noise, and retains the main components and trend information in the signal. Common low-pass filters include Butterworth filters, Chebyshev filters, and digital filters. Through low-pass filtering, a smoother and more stable low-frequency signal is obtained. Time domain analysis is performed on multiple target low-frequency signals to obtain multiple time-domain low-frequency features. Time domain analysis focuses on the changes in the signal over time. By calculating indicators such as the instantaneous energy, amplitude, and zero crossing rate of the signal, the time domain features of the signal are extracted. These features can reflect the overall trend and main changes of the signal, which helps to identify anomalies and changes in the signal. Feature selection is performed on multiple time-domain low-frequency features to obtain multiple low-frequency signal features. Feature selection improves the quality and utility of feature sets by screening out the most useful features for signal recognition and classification, removing redundant and irrelevant features. Common feature selection methods include principal component analysis, LASSO regression, and recursive feature elimination. Through feature selection, more streamlined and effective low-frequency signal features are obtained. Feature normalization and feature integration are performed on multiple high-frequency signal features and multiple low-frequency signal features respectively to obtain multiple electromagnetic ultrasonic signal features. Feature normalization eliminates the dimensional differences between different features by scaling the eigenvalues ​​to a uniform range, ensuring that each feature has the same importance in comprehensive analysis. Feature integration combines the normalized high-frequency and low-frequency signal features to form a comprehensive feature set.

[0028] In a specific embodiment, the process of executing step S104 may specifically include the following steps: (1) Calculate the mean and standard deviation of multiple temperature values ​​to obtain the temperature mean and temperature standard deviation; (2) Calculating the mean and standard deviation of multiple electromagnetic ultrasonic signal features to obtain the signal feature mean and signal feature standard deviation; (3) Calculate the corresponding coefficient of variation based on the temperature mean, temperature standard deviation, signal feature mean, and signal feature standard deviation; (4) setting first weight data of a plurality of temperature values ​​and second weight data of a plurality of electromagnetic ultrasonic signal features respectively according to the difference coefficient; (5) performing a weighted operation on the plurality of temperature values ​​according to the first weight data to obtain a plurality of weighted temperature values, and performing a weighted operation on the plurality of electromagnetic ultrasonic signal features according to the second weight data to obtain a plurality of weighted signal features; (6) Perform feature matrix fusion on multiple weighted temperature values ​​and multiple weighted signal features to obtain a target fused feature matrix.

[0029] Specifically, the mean and standard deviation of multiple temperature values ​​are calculated. By calculating the mean of these temperature values, the central trend of the temperature data is found, and the standard deviation reflects the degree of dispersion of the temperature data. The mean is the average of all temperature values, and the standard deviation measures the degree of deviation of each temperature value from the mean. The mean and standard deviation of multiple electromagnetic ultrasonic signal features are calculated. The mean represents the average level of the signal feature value, and the standard deviation reflects the fluctuation range of the signal feature value. According to the temperature mean and standard deviation, the signal feature mean and standard deviation, the corresponding difference coefficient is calculated. The difference coefficient reflects the degree of change and relative difference of the temperature value and the signal feature value. The difference coefficient is calculated to determine the weight of each temperature value and signal feature. A higher difference coefficient indicates a larger fluctuation, and its influence in the final fusion feature matrix needs to be reduced. According to the difference coefficient, the first weight data of multiple temperature values ​​and the second weight data of multiple electromagnetic ultrasonic signal features are set respectively. The setting of the weight data can be carried out according to the inverse of the difference coefficient to reduce the weight of the value with larger fluctuation. Thereby ensuring that the temperature value and signal feature with higher stability have greater influence in the weighted operation. A weighted operation is performed on multiple temperature values ​​according to the first weight data to obtain multiple weighted temperature values. Similarly, a weighted operation is performed on multiple electromagnetic ultrasonic signal features according to the second weight data to obtain multiple weighted signal features. The weighted operation adjusts the importance of each temperature value and signal feature by multiplying its corresponding weight data so that it plays an appropriate role in the final fusion feature matrix. Feature matrix fusion is performed on multiple weighted temperature values ​​and multiple weighted signal features to obtain a target fusion feature matrix. Feature matrix fusion combines weighted temperature values ​​and signal features to form a comprehensive feature vector.

[0030] In a specific embodiment, the process of executing step S105 may specifically include the following steps: (1) Input the target fusion feature matrix into the preset pipeline corrosion detection model, which includes a variational autoencoder, two unidirectionally connected LSTM layers, and a fully connected layer; (2) The target fusion feature matrix is ​​encoded with hidden features through the forward GRU network in the variational autoencoder to obtain a forward hidden feature matrix, and the target fusion feature matrix is ​​encoded with hidden features through the backward GRU network in the variational autoencoder to obtain a backward hidden feature matrix; (3) Perform matrix fusion on the forward hidden feature matrix and the backward hidden feature matrix to obtain a fused hidden feature matrix; (4) Input the fused hidden feature matrix into the first layer of unidirectionally connected LSTM layer for processing to obtain the first layer feature output matrix; (5) The first-layer feature output matrix is ​​input into the second-layer unidirectionally connected LSTM layer for processing to obtain the target feature output matrix; (6) Calculate the pipeline corrosion probability of the target feature output matrix through the fully connected layer to obtain the pipeline corrosion probability value; (7) Generate pipeline corrosion detection results for the target pipeline according to the pipeline corrosion probability value.

[0031] Specifically, the target fusion feature matrix is ​​input into the preset pipeline corrosion detection model. The detection model consists of a variational autoencoder, two unidirectionally connected long short-term memory network layers, and a fully connected layer. The forward GRU network of the variational autoencoder is used to encode the hidden features of the target fusion feature matrix. The forward GRU network gradually processes the input feature data, captures its time series characteristics, and generates a forward hidden feature matrix. GRU is a recursive neural network that can effectively process sequence data. Through its gating mechanism, it remembers long-term dependency information and ignores irrelevant information. At the same time, the backward GRU network of the variational autoencoder encodes the hidden features of the target fusion feature matrix. The backward GRU network processes data from the end of the sequence to generate a backward hidden feature matrix. Through the processing of the forward and backward GRU networks, the forward and backward dependencies of the feature matrix in the time series can be captured, and a more comprehensive hidden feature representation can be generated. The forward hidden feature matrix and the backward hidden feature matrix are matrix-fused to obtain a fused hidden feature matrix. Matrix fusion can be achieved by simple splicing or weighted averaging. The fused hidden feature matrix integrates the forward and backward time dependency information. The fused hidden feature matrix is ​​input into the first unidirectionally connected LSTM layer for processing to obtain the first-layer feature output matrix. The LSTM network can effectively capture the dependencies in long time series and extract deep time series features through its special unit structure. The first-layer feature output matrix is ​​input into the second unidirectionally connected LSTM layer for processing to obtain the target feature output matrix. The second LSTM layer further extracts the time series features in depth to ensure that the output feature matrix contains more complex and deep dependencies. By processing layer by layer, the key information in the sequence data is gradually extracted to ensure that the model can fully understand and represent the time characteristics of the input data. The pipeline corrosion probability is calculated on the target feature output matrix through the fully connected layer to obtain the pipeline corrosion probability value. The fully connected layer converts the features output by the LSTM layer into probability values ​​by linear transformation and nonlinear activation. The probability value represents the possibility of pipeline corrosion. Assuming a simple fully connected layer is used and the activation function is sigmoid, the probability calculation formula is: ; in, corrosion) is the probability value of pipeline corrosion, is the weight matrix, is the output feature matrix of the LSTM layer, is the bias term, is a sigmoid activation function. The pipeline corrosion detection result of the target pipeline is generated according to the pipeline corrosion probability value. If the probability value exceeds a preset threshold, it is considered that the pipeline has a corrosion risk, otherwise it is considered that the pipeline is in normal condition.

[0032] In a specific embodiment, the electromagnetic ultrasonic pipeline corrosion detection method further includes the following steps: (1) Define multiple optimization objectives of the pipeline corrosion detection model, including minimizing detection error, maximizing detection accuracy, and minimizing model complexity; (2) Randomly generate multiple initial individuals in the parameter space of the pipeline corrosion detection model to form an initial population; (3) Decode each initial individual in the initial population, convert the initial individual into model parameters, run the pipeline corrosion detection model and calculate the optimization target value to obtain the fitness value of each initial individual; (4) Perform non-dominated sorting on the initial individuals in the initial population according to their fitness values, divide the multiple initial individuals into multiple non-dominated levels, and obtain non-dominated individuals in each non-dominated level; (5) Calculate the crowding distance of each non-dominated individual in each non-dominated level to obtain the crowding distance value; (6) According to the crowding distance, select individuals with low non-dominated levels and high crowding to obtain the selected individuals; (7) Randomly select pairs from the selected individuals and perform a crossover operation to generate new individuals by simulating binary crossover to obtain the individuals after crossover; (8) Perform mutation operation on the individuals after crossover to obtain mutated individuals, and generate offspring population based on the mutated individuals; (9) The initial population is taken as the parent population, and the parent population and the child population are merged to form a merged population. The merged population is subjected to non-dominated sorting and crowding calculation, and the first N individuals are selected as the next generation population for iterative operation to obtain the optimized pipeline corrosion detection model.

[0033] Specifically, multiple optimization objectives of the pipeline corrosion detection model are defined. The optimization objectives include minimizing detection error, maximizing detection accuracy, and minimizing model complexity. Minimizing detection error aims to reduce the gap between the model prediction value and the actual value, maximizing detection accuracy is to improve the prediction accuracy of the model, and minimizing model complexity is to reduce the computing resource requirements of the model and improve its efficiency. Multiple initial individuals are randomly generated in the parameter space of the pipeline corrosion detection model to form an initial population. Each individual represents a combination of model parameters, which may include learning rate, number of layers, number of neurons, etc. The purpose of randomly generating initial individuals is to conduct a wide search in the parameter space to find the optimal parameter combination. Each initial individual in the initial population is decoded and converted into model parameters. The pipeline corrosion detection model is run and the optimization target value is calculated. Each individual corresponds to a specific model configuration. By training and testing the model, its performance in detection error, detection accuracy, and model complexity is calculated to obtain the fitness value of each initial individual. According to the fitness value, the initial individuals in the initial population are non-dominated sorted. Non-dominated sorting is a multi-objective optimization technique that divides individuals into multiple non-dominated classes, each of which contains non-dominated individuals that are better than the rest in all objectives. In this way, it is possible to determine which individuals have better overall performance. After that, the crowding distance is calculated for the non-dominated individuals in each non-dominated class. The crowding distance reflects the density of individuals in the feature space. The purpose of calculating the crowding distance is to ensure that the selected individuals are evenly distributed in the feature space to improve diversity. According to the crowding distance, individuals with low non-dominated classes and high crowding are selected to obtain the selected individuals. Randomly select pairs from the selected individuals and perform a crossover operation to generate new individuals by simulating binary crossover. The crossover operation combines the genes of two individuals to produce new individuals, aiming to obtain a better combination of features through genetic recombination. Simulated binary crossover can be achieved by the following formula: ; in, and Two new individuals. and There are two parent individuals, is a random number. The individuals after crossover are mutated to obtain the mutated individuals. The mutation operation increases the diversity of the population and prevents falling into the local optimum by randomly changing some genes of the individuals. The offspring population is generated according to the mutated individuals. The initial population is used as the parent population, and the parent population and the offspring population are merged to form a merged population. The merged population is non-dominated sorted and crowdedness is calculated, and the first N individuals are selected as the next generation population for iterative operation. Through multiple generations of iteration, the parameter configuration of the pipeline corrosion detection model can be gradually optimized to find the optimal solution. For example, suppose there is a pipeline corrosion detection model whose parameter space includes the learning rate, the number of hidden layers, and the number of neurons in each layer. Three optimization objectives are defined: minimizing the detection error, maximizing the detection accuracy, and minimizing the model complexity. 20 initial individuals are randomly generated, each of which represents a set of model parameters. For example, the learning rate of individual 1 is 0.01, the number of hidden layers is 2, and the number of neurons in each layer is 64. Decode these 20 initial individuals and train the model. Calculate the detection error and accuracy of each individual on the training set and validation set, as well as the model complexity. Assume that the detection error of individual 1 is 0.05, the accuracy is 95%, and the model complexity is 1000. Perform non-dominated sorting on the initial individuals according to the fitness value, and assume that individual 1 belongs to non-dominated level 1. Then calculate the crowding distance of each individual in non-dominated level 1, and select individuals with high crowding. Assume that the crowding distance of individual 1 is 0.5, and it is selected as the pairing object. Randomly select two pairs from the selected individuals, perform simulated binary crossover, and generate new individuals. Assume that individual 1 and individual 2 are paired, and the learning rate of the generated new individuals is 0.015, the number of hidden layers is 3, and the number of neurons in each layer is 70. Perform mutation operation on the new individuals, randomly change some gene values, and obtain the mutated individuals. Generate the offspring population based on the mutated individuals. Merge the initial population and the offspring population to form a merged population, and perform non-dominated sorting and crowding calculation on the merged population, and select the first 10 individuals as the next generation population. Through multiple generations of iterations, the parameter configuration of the pipeline corrosion detection model is continuously optimized, and finally the optimized pipeline corrosion detection model is obtained.

[0034] The electromagnetic ultrasonic pipeline corrosion detection method in the embodiment of the present application is described above. The electromagnetic ultrasonic pipeline corrosion detection device in the embodiment of the present application is described below. Figure 2 In the embodiment of the present application, an electromagnetic ultrasonic pipeline corrosion detection device comprises: The acquisition module 201 is used to perform corrosion testing and electromagnetic ultrasonic signal acquisition on the target pipeline using multiple different temperature values ​​to obtain an initial electromagnetic ultrasonic signal; The identification module 202 is used to perform wavelet transform and log linearization processing on the initial electromagnetic ultrasonic signal to obtain a standard electromagnetic ultrasonic signal, and to identify abnormal areas of the standard electromagnetic ultrasonic signal to obtain multiple abnormal electromagnetic ultrasonic signal segments; An extraction module 203 is used to extract and normalize signal features of multiple abnormal electromagnetic ultrasonic signal segments to obtain multiple electromagnetic ultrasonic signal features; A fusion module 204 is used to perform feature matrix fusion on multiple temperature values ​​and multiple electromagnetic ultrasonic signal features to obtain a target fusion feature matrix; The detection module 205 is used to input the target fusion feature matrix into a preset pipeline corrosion detection model to perform pipeline corrosion detection and obtain pipeline corrosion detection results.

[0035] Through the cooperation of the above components, corrosion testing and electromagnetic ultrasonic signal collection are carried out on the target pipeline using different multiple temperature values, ensuring signal stability and consistency under various temperature environments. By adaptively optimizing the waveform of the detection data at different temperatures, the signal deviation caused by temperature change can be eliminated. The initial electromagnetic ultrasonic signal is subjected to wavelet transform and log linearization to obtain a standardized electromagnetic ultrasonic signal, and the abnormal corrosion area in the pipeline is accurately located and marked through multi-step abnormal area identification and optimization. The frequency domain and time domain feature extraction and normalization processing of multiple abnormal electromagnetic ultrasonic signal segments are performed to obtain high-frequency and low-frequency signal features respectively, and the target fusion feature matrix is ​​generated through feature matrix fusion. The target fusion feature matrix is ​​input into the preset pipeline corrosion detection model, and the pipeline corrosion probability value is accurately calculated through multi-level processing of variational autoencoder, LSTM layer and fully connected layer to generate pipeline corrosion detection results. The model can comprehensively consider a variety of feature information and has high detection accuracy and robustness.

[0036] The present application also provides an electromagnetic ultrasonic pipeline corrosion detection device, which includes a memory and a processor. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the processor executes the steps of the electromagnetic ultrasonic pipeline corrosion detection method in the above-mentioned embodiments.

[0037] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the electromagnetic ultrasonic pipeline corrosion detection method.

[0038] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, systems and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0039] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0040] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. An electromagnetic ultrasonic pipeline corrosion detection method, characterized in that: The electromagnetic ultrasonic pipeline corrosion detection method comprises: Using multiple different temperature values ​​to perform corrosion testing and electromagnetic ultrasonic signal collection on the target pipeline to obtain an initial electromagnetic ultrasonic signal; Performing wavelet transform and log linearization processing on the initial electromagnetic ultrasonic signal to obtain a standard electromagnetic ultrasonic signal, and performing abnormal area identification on the standard electromagnetic ultrasonic signal to obtain multiple abnormal electromagnetic ultrasonic signal segments; Extracting and normalizing signal features of the plurality of abnormal electromagnetic ultrasonic signal segments to obtain a plurality of electromagnetic ultrasonic signal features; Performing feature matrix fusion on the multiple temperature values ​​and the multiple electromagnetic ultrasonic signal features to obtain a target fusion feature matrix; The target fusion feature matrix is ​​input into a preset pipeline corrosion detection model to perform pipeline corrosion detection to obtain a pipeline corrosion detection result.

2. The electromagnetic ultrasonic pipeline corrosion detection method according to claim 1 is characterized in that: The method of using multiple different temperature values ​​to perform corrosion testing on the target pipeline and collect electromagnetic ultrasonic signals to obtain initial electromagnetic ultrasonic signals includes: A corrosion test is performed on the target pipeline using multiple different temperature values, and a test signal of the target pipeline is collected by a preset electromagnetic ultrasonic sensor to obtain a test electromagnetic ultrasonic signal; Acquire a pipeline parameter set of the target pipeline, wherein the pipeline parameter set includes material properties, thickness, and geometric parameters; Performing adaptive waveform optimization on the test electromagnetic ultrasonic signal according to the pipeline parameter set to obtain waveform optimization parameters; Electromagnetic ultrasonic signals are collected from the target pipeline based on the waveform optimization parameters to obtain an initial electromagnetic ultrasonic signal for each temperature value.

3. The electromagnetic ultrasonic pipeline corrosion detection method according to claim 2 is characterized in that: The initial electromagnetic ultrasonic signal is subjected to wavelet transformation and log linearization processing to obtain a standard electromagnetic ultrasonic signal, and the standard electromagnetic ultrasonic signal is subjected to abnormal area identification to obtain multiple abnormal electromagnetic ultrasonic signal segments, including: Sampling the initial electromagnetic ultrasonic signals respectively to obtain discrete signal data of each temperature value; Decomposing the discrete signal data by using a preset wavelet basis function to obtain initial wavelet coefficients; Performing threshold processing on the initial wavelet coefficients to obtain target wavelet coefficients; Performing an inverse wavelet transform on the discrete signal data based on the target wavelet coefficients to obtain a frequency domain electromagnetic ultrasonic signal for each temperature value; Performing log transformation and linear processing on the frequency domain electromagnetic ultrasonic signal respectively to obtain a standard electromagnetic ultrasonic signal for each temperature value; Performing time domain analysis on the standard electromagnetic ultrasonic signals respectively to obtain a preliminary abnormal area for each temperature value; The abnormal region boundaries of the preliminary abnormal regions are optimized respectively to obtain a plurality of abnormal electromagnetic ultrasonic signal segments.

4. The electromagnetic ultrasonic pipeline corrosion detection method according to claim 3 is characterized in that: The signal feature extraction and feature normalization of the multiple abnormal electromagnetic ultrasonic signal segments are performed to obtain multiple electromagnetic ultrasonic signal features, including: Performing frequency domain analysis on the multiple abnormal electromagnetic ultrasonic signal segments to obtain multiple frequency domain abnormal features; Performing feature clustering analysis on the multiple frequency domain abnormal features to obtain abnormal pattern classification results; Performing high-frequency component analysis on the multiple frequency-domain abnormal features according to the abnormal pattern classification result to obtain multiple high-frequency signal features; Performing low-pass filtering on the multiple abnormal electromagnetic ultrasonic signal segments to obtain multiple target low-frequency signals; Performing time domain analysis on the multiple target low-frequency signals to obtain multiple time domain low-frequency features; Performing feature selection on the multiple time-domain low-frequency features to obtain multiple low-frequency signal features; The plurality of high-frequency signal features and the plurality of low-frequency signal features are respectively subjected to feature normalization and feature integration to obtain a plurality of electromagnetic ultrasonic signal features.

5. The electromagnetic ultrasonic pipeline corrosion detection method according to claim 4 is characterized in that: The step of performing feature matrix fusion on the multiple temperature values ​​and the multiple electromagnetic ultrasonic signal features to obtain a target fusion feature matrix includes: Calculating the mean and standard deviation of the multiple temperature values ​​to obtain a temperature mean and a temperature standard deviation; Calculating the mean and standard deviation of the multiple electromagnetic ultrasonic signal features to obtain a signal feature mean and a signal feature standard deviation; Calculating a corresponding coefficient of variation according to the temperature mean, the temperature standard deviation, the signal characteristic mean, and the signal characteristic standard deviation; respectively setting first weight data of the plurality of temperature values ​​and second weight data of the plurality of electromagnetic ultrasonic signal features according to the difference coefficient; Performing a weighted operation on the multiple temperature values ​​according to the first weight data to obtain a multiple weighted temperature values, and performing a weighted operation on the multiple electromagnetic ultrasonic signal features according to the second weight data to obtain a multiple weighted signal features; The plurality of weighted temperature values ​​and the plurality of weighted signal features are subjected to feature matrix fusion to obtain a target fusion feature matrix.

6. The electromagnetic ultrasonic pipeline corrosion detection method according to claim 5 is characterized in that: The step of inputting the target fusion feature matrix into a preset pipeline corrosion detection model to perform pipeline corrosion detection to obtain pipeline corrosion detection results includes: Inputting the target fusion feature matrix into a preset pipeline corrosion detection model, wherein the pipeline corrosion detection model includes: a variational autoencoder, two unidirectionally connected LSTM layers, and a fully connected layer; By using the forward GRU network in the variational autoencoder, the target fusion feature matrix is ​​encoded with hidden features to obtain a forward hidden feature matrix, and by using the backward GRU network in the variational autoencoder, the target fusion feature matrix is ​​encoded with hidden features to obtain a backward hidden feature matrix; Performing matrix fusion on the forward hidden feature matrix and the backward hidden feature matrix to obtain a fused hidden feature matrix; The fused hidden feature matrix is ​​input into the first layer of unidirectionally connected LSTM layer for processing to obtain a first layer feature output matrix; The first-layer feature output matrix is ​​input into the second-layer unidirectionally connected LSTM layer for processing to obtain a target feature output matrix; Calculating the pipeline corrosion probability on the target feature output matrix through the fully connected layer to obtain a pipeline corrosion probability value; A pipeline corrosion detection result of the target pipeline is generated according to the pipeline corrosion probability value.

7. The electromagnetic ultrasonic pipeline corrosion detection method according to claim 6 is characterized in that: The method further comprises: Defining multiple optimization objectives of the pipeline corrosion detection model, wherein the multiple optimization objectives include minimizing detection error, maximizing detection accuracy, and minimizing model complexity; Randomly generating a plurality of initial individuals in the parameter space of the pipeline corrosion detection model to form an initial population; Decoding each initial individual in the initial population, converting the initial individual into a model parameter, running the pipeline corrosion detection model and calculating the optimization target value to obtain a fitness value of each initial individual; Performing non-dominated sorting on the initial individuals in the initial population according to the fitness values, dividing the multiple initial individuals into multiple non-dominated levels, and obtaining non-dominated individuals in each non-dominated level; The crowding distance is calculated for each non-dominated individual of each non-dominated level to obtain the crowding distance value; According to the crowding distance, selecting individuals with low non-dominated levels and high crowding to obtain selected individuals; Randomly select pairs of two from the selected individuals and perform a crossover operation, generate new individuals by simulating binary crossover, and obtain crossover individuals; Performing a mutation operation on the individuals after the crossover to obtain mutated individuals, and generating a progeny population according to the mutated individuals; The initial population is used as the parent population, and the parent population and the child population are merged to form a merged population. The merged population is subjected to non-dominated sorting and congestion calculation, and the first N individuals are selected as the next generation population for iterative operation to obtain an optimized pipeline corrosion detection model.

8. An electromagnetic ultrasonic pipeline corrosion detection device, characterized in that: The electromagnetic ultrasonic pipeline corrosion detection device comprises: An acquisition module is used to perform corrosion testing and electromagnetic ultrasonic signal acquisition on a target pipeline using multiple different temperature values ​​to obtain an initial electromagnetic ultrasonic signal; an identification module, used for performing wavelet transform and log linearization processing on the initial electromagnetic ultrasonic signal to obtain a standard electromagnetic ultrasonic signal, and performing abnormal area identification on the standard electromagnetic ultrasonic signal to obtain multiple abnormal electromagnetic ultrasonic signal segments; An extraction module, used for performing signal feature extraction and feature normalization on the multiple abnormal electromagnetic ultrasonic signal segments to obtain multiple electromagnetic ultrasonic signal features; A fusion module, used for performing feature matrix fusion on the multiple temperature values ​​and the multiple electromagnetic ultrasonic signal features to obtain a target fusion feature matrix; The detection module is used to input the target fusion feature matrix into a preset pipeline corrosion detection model to perform pipeline corrosion detection and obtain pipeline corrosion detection results.

9. An electromagnetic ultrasonic pipeline corrosion detection device, characterized in that: The electromagnetic ultrasonic pipeline corrosion detection device comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instructions in the memory to enable the electromagnetic ultrasonic pipeline corrosion detection device to perform the electromagnetic ultrasonic pipeline corrosion detection method according to any one of claims 1 to 7.

10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the electromagnetic ultrasonic pipeline corrosion detection method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Prediction and early warning method and system for corrosion of natural gas pipeline

    CN119004336A

  • Transmission tower grounding electrode corrosion detection method and device based on ultrasonic guided waves

    CN119024226A

  • Method and Apparatus for Corrosion Detection of Grounding Electrode of Transmission Tower Based on Ultrasonic Guided Waves

    CN119024226B

  • Safety monitoring method and system for dangerous goods storage tank group

    CN119333733A

  • Dangerous goods storage tank group safety monitoring method and system

    CN119333733B