An ultrasonic guided wave fusion quantitative imaging method based on deep learning and machine learning
By constructing a multi-frequency domain multi-physical feature dataset and a combined model of deep learning and machine learning, the tasks of localization and quantification are decoupled, solving the problem of insufficient quantitative and localization accuracy in ultrasonic guided wave tomography, and realizing high-precision defect detection and thickness prediction.
Patent Information
- Application Number
- CN202611404346.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-10
- Publication Date
- 2026-11-27
AI Technical Summary
Existing ultrasound guided wave tomography technology struggles to balance quantitative and localization accuracy with artifact suppression in healthy areas. Feature selection relies on experience or a single indicator, the methods are poorly adapted, and the fusion mechanism fails to fully utilize the advantages of deep learning and machine learning, resulting in insufficient quantitative and localization accuracy.
A multi-frequency domain multi-physical feature dataset was constructed, and the optimal feature subset was selected by tomographic imaging-spatial correlation coefficient. A combination model of deep learning and machine learning was used to decouple the localization and quantitative tasks. The SegNet network was used for defect localization and the XGBoost model was used for wall thickness prediction. Furthermore, morphological dilation and Boolean constraints were used to suppress artifacts in healthy areas.
It improves the ability to distinguish features in defective areas, enhances positioning accuracy and the stability of thickness prediction, effectively suppresses unreasonable thickness fluctuations in healthy areas, and improves the accuracy and efficiency of quantitative imaging.
Smart Images

Figure CN123181376A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of ultrasonic guided wave nondestructive testing technology, and in particular to a fusion quantitative imaging method based on ultrasonic guided waves. Background Technology
[0002] Ultrasonic guided wave nondestructive testing technology, due to its advantages such as long-distance propagation, full-section coverage, and high sensitivity, has been widely used for defect detection and assessment in key industrial structures such as pressure vessels, pipelines, and tank welds. Among them, tomographic imaging, by reconstructing the sound velocity or thickness distribution inside the tested structure, can achieve two-dimensional visualization, localization, and quantitative characterization of defects, and is currently a research hotspot in the field of ultrasonic guided wave testing.
[0003] Traditional ultrasonic guided wave tomography methods are mainly based on full-matrix acquisition (FMC) data in the time domain. This involves acquiring complete time-domain scattering signals through a transmit-receive array, followed by image reconstruction using algorithms such as ray tracing, back projection, or full-waveform inversion (FWI). However, the time-domain FMC method has the following inherent drawbacks: First, it requires a massive amount of data; for an array of N elements, a single detection requires acquiring N... 2 First, the storage and computational overhead of time-domain waveforms increases quadratically with the number of array elements, making it difficult to meet the real-time requirements of online detection in industrial settings. Second, time-domain signals are severely affected by multimodal dispersion effects, and differences in group velocities between different modes cause signal aliasing in the time domain, increasing the difficulty of signal separation and feature extraction. Third, although traditional inversion algorithms such as FWI have a rigorous physical basis, they require iterative solutions to wave equations, and single-core sub-imaging typically takes several hours. Furthermore, they are sensitive to the initial model, easily get trapped in local optima, and are difficult to achieve rapid quantitative assessment.
[0004] To overcome the aforementioned limitations of time-domain methods, frequency-domain imaging methods have received widespread attention in recent years. However, frequency-domain methods also face challenges: the frequency-domain scattering field is in complex form, and its physical information is contained in multiple dimensions, making it difficult for a single feature to fully characterize defect information. Furthermore, although the dimensionality of frequency-domain data is significantly reduced compared to the time-domain, how to select the optimal subset from multiple physical features and establish an efficient inversion mapping relationship remains a key problem that urgently needs to be solved.
[0005] In terms of intelligent inversion methods, deep learning and machine learning have provided new technical pathways for ultrasonic guided wave imaging. Deep learning methods, such as U-Net and convolutional neural networks, have demonstrated excellent performance in defect localization tasks due to their powerful nonlinear fitting and end-to-end feature learning capabilities, enabling pixel-level rapid segmentation. However, deep networks are susceptible to training data distribution shifts in quantitative regression tasks, leading to systematic biases in predicting wall thickness in healthy regions and resulting in background artifacts. Machine learning methods, such as ridge regression, while lacking the complex feature extraction capabilities of deep networks, exhibit better generalization stability in small sample and high-dimensional feature spaces, particularly suitable for linear mappings from sparse frequency domain features to physical parameters. Therefore, adaptively selecting deep learning or machine learning methods based on the different needs of localization and quantitative tasks, and organically integrating their advantages, has become an important direction for improving overall imaging performance.
[0006] Fusion strategies provide an effective framework for joint optimization of multiple tasks. In fields such as medical image segmentation and remote sensing target detection, fusion models have achieved significant results in balancing accuracy and efficiency by decoupling coarse localization from fine quantification. A lightweight network quickly identifies the region of interest, followed by a high-precision model performing fine predictions within the constrained region. However, in the field of ultrasound guided wave quantitative imaging, existing fusion methods are mostly limited to stacking isomorphic models (such as two-stage U-Net), failing to fully leverage the discriminative advantages of deep learning in localization tasks and the regression stability of machine learning in quantitative tasks. Furthermore, existing methods lack a systematic screening mechanism for multiple physical features in the frequency domain, leading to redundant or suboptimal input features and limiting the overall performance of the system.
[0007] In summary, existing methods still have shortcomings in the following aspects: First, in terms of feature selection, most methods rely on experience or a single indicator for feature screening, without establishing an objective evaluation system based on imaging quality. This makes it difficult to guarantee the optimal sensitivity of the selected features for defect detection, which can easily lead to insufficient quantitative and localization accuracy in the later stages. Second, in terms of method adaptation, localization and quantitative tasks usually use a fixed combination of methods without considering the performance differences of different features on different tasks, resulting in a mismatch between "method-feature-purpose" and further affecting the final quantitative and localization accuracy. Third, in terms of fusion mechanism, quantitative results often use simple stitching or weighted averaging, without injecting the localization mask as a spatial prior constraint into the quantitative process, resulting in limited artifact suppression in healthy areas.
[0008] In summary, existing ultrasonic guided wave tomography technology struggles to achieve a balance between quantitative and localization accuracy and the suppression of artifacts in healthy areas. Summary of the Invention
[0009] To address the aforementioned technical problems, this invention proposes an ultrasonic guided wave fusion quantitative imaging method based on deep learning and machine learning. By constructing a multi-frequency domain multi-physical feature dataset, the optimal feature subset is objectively selected using tomographic imaging-spatial correlation coefficient. Algorithm-feature-task full permutation experiments are conducted to obtain the optimal combination for localization and quantification. The localization output mask is then quantitatively reconstructed using morphological dilation and Boolean constraints as spatial prior constraints, decoupling the localization and quantification tasks, effectively suppressing artifacts in healthy areas, and achieving rapid, high-fidelity ultrasonic guided wave quantitative imaging of minute defects in industrial structures.
[0010] To achieve the above objectives, the technical solution of the present invention is implemented as follows:
[0011] A quantitative imaging method for ultrasound guided waves based on deep learning and machine learning includes:
[0012] S1: The k-Wave time-domain elastic wave forward modeling is used to obtain the time-domain full matrix capture FMC data of healthy and defective samples, and the complex scattering response under multiple target frequencies is extracted to construct a dataset containing multiple frequency and physical features.
[0013] S2: Based on signal difference coefficient tomography and two-dimensional spatial correlation coefficient, the imaging quality of multi-frequency and multi-frequency domain physical features is evaluated, and the features with the best imaging performance are selected to form the optimal feature subset.
[0014] S3: Using localization and quantitative tasks as task dimensions, deep learning and machine learning as algorithm dimensions, and the optimal feature subset as feature dimension, conduct a full permutation control experiment to determine the first optimal algorithm-feature combination for localization tasks and the second optimal algorithm-feature combination for quantitative tasks.
[0015] S4: Obtain the defect location mask of the sample under test based on the first optimal algorithm - feature combination, obtain the quantitative prediction map of the wall thickness of the sample under test based on the second optimal algorithm - feature combination, process the defect location mask and the quantitative prediction map of wall thickness based on morphological dilation and Boolean constraints to construct a fusion mask, perform mask processing on the quantitative thickness map based on the fusion mask, and obtain the final quantitative imaging result.
[0016] Further, in step S1, k-Wave time-domain elastic wave forward modeling is used to obtain the time-domain full matrix capture FMC data of healthy and defective samples, including:
[0017] S1.1 Establish a two-dimensional discrete computational grid, construct a globally uniform healthy background sample, use the Monte Carlo method to generate random corrosion defect samples and obtain the remaining wall thickness label, and map the remaining wall thickness field into a spatial non-uniform elastic parameter field.
[0018] S1.2 Arrange a ring-shaped transmit-receive array, and use linear frequency modulated Chirp excitation to carry out k-Wave time-domain elastic wave forward modeling, and collect healthy background time-domain FMC data and defect total field time-domain FMC data respectively.
[0019] Furthermore, in step S1, the complex scattering response at multiple target frequencies is extracted, including:
[0020] S1.3. Perform Fourier projection of each transmit-receive channel at the specified target frequency, and combine it with source spectrum normalization to obtain the total field complex response matrix and background field complex response matrix at each target frequency.
[0021] S1.4. Inject complex Gaussian white noise into the total field complex response matrix and calculate the noisy scattering field;
[0022] S1.5. Based on the noisy scattering field, the total field complex response matrix, and the background field complex response matrix, extract multiple types of frequency domain physical features.
[0023] Furthermore, the multiple frequency domain physical features include at least: Real feature of the scattered field, Imaginary feature of the scattered field, Amp feature of the scattered field, Phase feature of the scattered field, PhaseDiff feature of the total field-background field phase difference, and Logarithmic amplitude ratio feature of the total field-background field.
[0024] Furthermore, in step S1, a dataset containing multi-frequency and multi-physical features is constructed, including: stacking multiple classes of frequency-domain physical features to form a multi-frequency and multi-physical feature tensor, and then labeling it with the remaining wall thickness. Derived positioning binary label ,in, This is a small positive threshold used to exclude numerical smoothing errors. The nominal remaining wall thickness under healthy conditions. This represents a binary indicator function, which is 1 if the condition is true and 0 otherwise.
[0025] Further, step S2 includes:
[0026] S2.1. Select a single feature matrix at the target frequency to construct the signal difference matrix;
[0027] S2.2 Input the signal difference matrix into the RAPID damage probability detection and reconstruction algorithm to perform tomographic imaging and obtain the tomographic imaging results;
[0028] S2.3 Calculate the correlation coefficient between the tomographic imaging results and the two-dimensional space of the actual physical thickness label as the imaging quality score;
[0029] S2.4 Sort all frequency domain physical features in descending order of imaging quality score, and select the top-scoring frequency domain physical features as the optimal feature subset.
[0030] Further, in step S2.1, a single feature matrix at the target frequency is selected to construct a signal difference matrix, including:
[0031] For the d-th frequency domain physical feature, the corresponding frequency domain response matrix is derived from the multi-frequency multi-physical feature tensor. Extract the first Feature slices at each frequency are processed by absolute value processing to eliminate negative interference, diagonal zeroing to eliminate spontaneous and spontaneous interference, and normalization processing is performed to construct a signal difference matrix:
[0032] ;
[0033] in, To prevent small amounts from being divided by zero;
[0034] In step S2.2, the initial tomographic imaging results obtained by the RAPID algorithm are bilinearly interpolated and aligned to the same grid as the remaining wall thickness label to obtain the final tomographic imaging results;
[0035] In step S2.3, the correlation coefficient is the two-dimensional Pearson correlation coefficient, and the absolute value is taken as the imaging quality score.
[0036] Furthermore, in step S3, the deep learning localization task uses a lightweight SegNet network for defect classification and prediction, and the loss function is a joint loss function of binary cross-entropy loss and Dice loss; the machine learning localization task uses an XGBoost model for defect classification and mapping.
[0037] The deep learning quantitative task uses the SegNet network for thickness regression prediction, with the mean squared error (MSE) as the loss function; the machine learning quantitative task uses the XGBoost model for thickness regression prediction.
[0038] Both deep learning localization tasks and machine learning localization tasks use Intersection over Union (IoU) as the localization evaluation metric.
[0039] Both deep learning quantitative tasks and machine learning quantitative tasks use mean absolute error (MAE) as the quantitative evaluation metric.
[0040] Furthermore, in step S3, the first optimal algorithm-feature combination for the localization task uses a lightweight SegNet network as the localization model and the phase difference feature of the total field-background field (PhaseDiff) as the localization feature; in the second optimal algorithm-feature combination for the quantitative task, the XGBoost model is used as the machine learning model for the quantitative task and the imaginary part feature of the scattered field (Imag) is used as the quantitative feature.
[0041] Further, step S4 includes:
[0042] S4.1 Input the PhaseDiff feature (total field-background field phase difference) of the sample to be tested into the localization model of the first optimal algorithm-feature combination, output the defect probability map, and convert it into a pixel-level defect localization mask. ;
[0043] S4.2 Input the imaginary part feature (Imag) of the scattered field of the sample to be measured into the second optimal algorithm - the quantitative model of feature combination, and output the quantitative prediction map of wall thickness. ;
[0044] S4.3 Defect localization mask Perform multiple iterations of morphological dilation to obtain a mask of the region of interest. Quantitative prediction of wall thickness Generate a quantitative threshold mask by applying wall thickness threshold constraints. ; Mask the region of interest. With quantitative threshold mask Performing a Boolean AND operation yields the fusion constraint mask. ;
[0045] S4.4 Utilizing a fusion constraint mask Quantitative prediction chart of wall thickness Masking is performed to obtain quantitative imaging output. .
[0046] The beneficial effects of this invention are as follows:
[0047] This invention employs a broadband Chirp excitation method for a single forward modeling calculation, simultaneously acquiring multiple frequency response information within the 30–90 kHz frequency range, and constructing a frequency domain feature system encompassing various physical characteristics such as real parts, imaginary parts, amplitude, phase, phase difference, and logarithmic amplitude ratio. By integrating the characterization capabilities of different physical quantities for defect scattering, propagation phase changes, and amplitude attenuation responses, compared to single-feature imaging methods, this invention improves the feature discrimination capability of defect regions, providing richer physical information for subsequent intelligent localization and quantitative inversion.
[0048] This invention proposes an objective feature selection method. By constructing a feature evaluation process of "tomographic reconstruction - spatial correlation evaluation", the imaging results corresponding to different physical features are spatially correlated with the real defect labels. The optimal combination of input features is selected based on quantitative evaluation indicators. This avoids the information redundancy and loss of effective information caused by the reliance on manual experience in feature selection in traditional methods, and improves the effectiveness and stability of the input features of the intelligent model.
[0049] This invention breaks away from the traditional approach of using a single model to simultaneously handle defect localization and size assessment. It divides the ultrasonic guided wave quantitative imaging process into two independent branches: defect spatial localization and remaining wall thickness prediction. The localization branch utilizes a SegNet network to achieve pixel-level identification of the defect region, fully leveraging the advantages of deep learning models in spatial feature extraction. The quantitative branch uses an XGBoost regression model to establish a nonlinear mapping relationship between frequency domain features and remaining wall thickness, improving the stability of wall thickness prediction under small sample conditions. This task decoupling allows different models to leverage their strengths for different tasks, improving overall imaging performance.
[0050] This invention, through experimental analysis of different model combinations with different physical features, determines the optimal model combination suitable for both localization and quantitative tasks. Specifically, it employs a deep learning localization model driven by PhaseDiff features and a machine learning quantitative model driven by Img features. This approach fully leverages the sensitivity of phase difference features to changes in defect spatial location and the stable response of Img features to changes in wall thickness, thereby improving defect localization accuracy and thickness prediction accuracy.
[0051] This invention utilizes the defect probability results output by the localization branch to generate a spatial localization mask, and obtains the region of interest containing the defect boundary region through morphological dilation. Subsequently, it is fused with the thickness threshold mask output by the quantitative branch via Boolean intersection, ensuring that the wall thickness quantitative results are retained only in regions with a high probability of defects. This spatial constraint mechanism effectively suppresses unreasonable thickness fluctuations in healthy regions, reduces background artifacts, and improves the accuracy of the final quantitative imaging results.
[0052] This invention uses an intelligent model to replace the traditional iterative full waveform inversion process. By directly establishing the mapping relationship between physical features and defect states through trained SegNet and XGBoost models, it avoids complex forward and inverse iterative calculations. While ensuring the accuracy of defect location and quantification, it improves the efficiency of single detection and is more suitable for rapid non-destructive testing of industrial structures. Attached Figure Description
[0053] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0054] Figure 1 This is an overall flowchart of an ultrasonic guided wave fusion quantitative imaging method based on deep learning and machine learning according to the present invention.
[0055] Figure 2This is a schematic diagram illustrating the acquisition of multi-frequency sound field forward modeling dataset in an embodiment of the present invention.
[0056] Figure 3 This is a schematic diagram showing the Lamb group velocity dispersion curve of a metal sheet calculated based on the Rayleigh-Lamb characteristic equation and the reference sound velocity value.
[0057] Figure 4 This is a diagram showing the physical mapping relationship between sound velocity and thickness based on the guided wave dispersion effect proposed in this invention.
[0058] Figure 5 The tomographic results and scores for the signal difference coefficients (SDC) of six features are presented.
[0059] Figure 6 A comparative bar chart showing the correlation between the spatial structure of SDC imaging for six features.
[0060] Figure 7 A bar chart comparing the performance of deep learning and machine learning.
[0061] Figure 8 A bar chart comparing the quantitative performance of deep learning and machine learning.
[0062] Figure 9 This is a diagram of the quantitative imaging process of the present invention.
[0063] Figure 10 The image results are obtained by fusing quantitative imaging methods according to the present invention.
[0064] Figure 11 This is a comparison diagram of the imaging results of this invention and the FWI imaging results.
[0065] Figure 12 This is a comparison of the performance metrics of the present invention with those of FWI. Detailed Implementation
[0066] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0067] A quantitative imaging method for ultrasound guided waves based on deep learning and machine learning, such as Figure 1 As shown, the steps include:
[0068] S1: Time-domain full-matrix capture FMC data of healthy and defective samples are obtained using k-Wave time-domain elastic wave forward modeling. Complex scattering responses at multiple target frequencies are extracted to construct a dataset containing multi-frequency and multi-physical features, such as... Figure 2 As shown.
[0069] S1.1 Establish a two-dimensional discrete computational grid, construct a globally uniform healthy background sample, use the Monte Carlo method to generate random corrosion defect samples and obtain the remaining wall thickness label, and map the remaining wall thickness field into a spatially non-uniform elastic parameter field.
[0070] In this embodiment, a two-dimensional discrete computational mesh is established on an aluminum plate detection area with dimensions of 0.5 m × 0.5 m. The spatial mesh spacing is 2 mm, therefore the computational mesh is 250 × 250. Let the nominal remaining wall thickness of the plate in its healthy state be... The remaining wall thickness field after random corrosion is denoted as A ring-shaped transmit-receive array of N elements (N=64 in this embodiment) is arranged on the plate with the geometric center as the center. The array radius is 0.2 m, and the array elements are evenly distributed. Within the range.
[0071] In this embodiment, defective samples are randomly positioned using the Monte Carlo method, a random polygon mask is applied, the corrosion texture base map is randomly rotated, and Gaussian smoothing is used to form a non-uniform corrosion field; healthy samples use a uniform background across the entire domain.
[0072] In this embodiment of the application, the remaining wall thickness label is obtained by first obtaining the equivalent guided wave characteristic group velocity label of the defect sample. The healthy area is taken as 1.878 km / s, such as Figure 3 As shown, the minimum velocity in the corrosion zone is 1.644 km / s, and it is linearly mapped to the remaining wall thickness label (true thickness value) (e.g. Figure 4 ):
[0073] ;
[0074] Based on thickness mapping, such as Figure 4 The maximum depth of the defect can be obtained as 3 mm, therefore:
[0075] ;
[0076] When performing k-Wave forward modeling, the wall thickness labels are converted to SI units (m) to obtain the residual wall thickness field:
[0077] ;
[0078] It needs to be specifically noted that It is an equivalent guided wave characteristic group velocity label used to describe the degree of corrosion and applied to subsequent intelligent inversion, and is not directly used as the longitudinal or transverse wave material sound velocity in k-Wave.
[0079] To effectively describe the effect of local thinning on wave propagation in a two-dimensional elastic medium model, this embodiment maps the remaining wall thickness field to a field of spatially non-uniform density, longitudinal wave velocity, and transverse wave velocity parameters:
[0080] ;
[0081] ;
[0082] ;
[0083] Among them, the background parameter of healthy aluminum plate can be taken as the benchmark density. Reference longitudinal wave velocity Reference transverse wave velocity The healthy sample corresponds to a uniform parameter field; the defective sample corresponds to a non-uniform elastic parameter field that varies with the remaining wall thickness after corrosion.
[0084] S1.2 Arrange a ring-shaped transmit-receive array, and use linear frequency modulated Chirp excitation to carry out k-Wave time-domain elastic wave forward modeling, and collect healthy background time-domain FMC data and defect total field time-domain FMC data respectively.
[0085] In this embodiment, the forward modeling solution uses the two-dimensional elastic wave pseudospectral time-domain solver pstdElastic2D from the k-Wave toolbox. To simultaneously cover seven target frequencies of 30–90 kHz with a step size of 10 kHz in a single time-domain forward modeling, a broadband excitation covering the target frequency band is used, preferably a 25–95 kHz linear frequency modulated signal (Chirp), and a smoothing time window is applied to reduce spectral leakage.
[0086] The stress source employs simultaneous excitation of two normal components:
[0087] ;
[0088] N array elements are used sequentially as transmitting array elements, the first... When each of the N array elements is excited, all N array elements act as receiving points, and each receiving point records the velocity components of two orthogonal particles. and .
[0089] Since the array elements are arranged along the circumference, in order to obtain the received signal that is consistent with the radial sensitive direction of the array, the two components are radially projected to obtain the projected radial particle velocity time-domain signal:
[0090] ;
[0091] in, Assigning the number to the transmitting array element, For receiving array element numbers, For the first The azimuth angle of each receiving element relative to the center of the array.
[0092] Complete in sequence The time-domain full matrix acquisition data is generated after the next transmission:
[0093] ;
[0094] Perform the above forward modeling on the healthy background model and the defective model respectively to obtain the background time-domain FMC data. Total Field Time Domain FMC Data Because the health background model is fixed, The background data only needs to be calculated once and cached, and subsequent defect samples share this background data.
[0095] S1.3. Perform Fourier projection of each transmit-receive channel at the specified target frequency, and combine it with source spectrum normalization to obtain the total field complex response matrix and background field complex response matrix at each target frequency.
[0096] In this embodiment, the complete time-domain FMC is not directly used as the input to the subsequent intelligent model. Instead, the complex response is extracted at seven target discrete frequencies.
[0097] The target frequency set is defined as: ;
[0098] Record No. The target frequency is Apply a uniform time window to any transmit-receive channel. The complex response is calculated using a Fourier projection at a specified frequency:
[0099] ;
[0100] in, This is the k-Wave time step. Since the source spectrum amplitudes of the broadband Chirp are not entirely the same at different frequencies, it is also necessary to adjust the excitation source... Projecting at the same frequency:
[0101] ;
[0102] Then, by normalizing the source spectrum, the complex frequency response matrices of the total field and the healthy background field are obtained respectively:
[0103] ;
[0104] ;
[0105] in, To prevent numerically unstable small quantities from occurring when the source spectrum amplitude is extremely small, for each target frequency, and All are 64×64 complex matrices, with each row corresponding to a receiving array element. The matrix columns correspond to the transmitting array elements. .
[0106] S1.4. Inject complex Gaussian white noise into the total field complex response matrix and calculate the noisy scattering field.
[0107] In this embodiment of the application, in order to improve the robustness of the dataset to actual measurement noise, after obtaining the noise-free frequency domain total field, a signal-to-noise ratio (SNR) of 35–60 dB is randomly selected to inject complex Gaussian white noise into the total field.
[0108] No. The total field-average power at each frequency is defined as:
[0109] ;
[0110] The corresponding target noise power is:
[0111] ;
[0112] The total field after adding complex Gaussian white noise is:
[0113] ;
[0114] in, and These are mutually independent standard Gaussian random matrices with a mean of 0 and a variance of 1:
[0115] ;
[0116] The noisy scattering field is then defined:
[0117] ;
[0118] For healthy samples, under ideal noise-free conditions, Therefore, the scattered field is close to zero; after adding random noise, only a small perturbation matching the given SNR is retained.
[0119] S1.5. Based on the noisy scattering field, the total field complex response matrix, and the background field complex response matrix, extract multiple types of frequency domain physical features.
[0120] In this embodiment of the application, after obtaining , and Then, six physical features were extracted for each target frequency. The first four features were obtained directly from the scattered field, while the fifth and sixth features were obtained through the relative changes between the total field and the healthy background field, such as... Figure 5 As shown.
[0121] The first four characteristics include:
[0122] (1) Real part characteristics of the scattered field:
[0123] ;
[0124] The real part preserves the signed component of the complex scattering response along the real axis. Its absolute value is not taken during data storage to avoid losing sign and phase-related information.
[0125] (2) Imag characteristic of the scattered field:
[0126] ;
[0127] The imaginary part describes the complex response components orthogonal to the real part and is sensitive to propagation phase shift, local wave velocity changes, and scattering disturbances caused by corrosion.
[0128] (3) Scattered field amplitude characteristics Amp:
[0129] ;
[0130] Its equivalent form is:
[0131] ;
[0132] This feature reflects the effect of defects on the intensity of scattered energy, without preserving the complex phase sign.
[0133] (4) Scattered field phase characteristics:
[0134] ;
[0135] Its calculation can be written as:
[0136] ; This represents the arctangent function in the four quadrants.
[0137] Phase describes the argument of the scattered field itself, typically located at... Its physical meaning is different from the next term, the phase difference between the total field and the background field.
[0138] (5) Phase Difference Characteristics of Total Field-Background Field:
[0139] ;
[0140] The superscript * indicates complex conjugate. This formula is equivalent to wrapping the difference between the total field phase and the background field phase within the principal value interval.
[0141] This feature directly highlights the relative phase shift of the defective state relative to the healthy state on the same propagation path, which can weaken the combined influence of the fixed propagation path and the system phase.
[0142] (6) Total field - background field logarithmic amplitude ratio feature LogAmpRatio:
[0143] ;
[0144] Equivalent land:
[0145] ;
[0146] This is to prevent numerical stability terms with zero denominators and singular logarithms. When the defect state amplitude is lower than the healthy background amplitude, this feature is usually positive and can characterize the relative amplitude loss.
[0147] S1.6 Stack multiple types of frequency domain physical features to form a multi-frequency multi-physical feature tensor, and derive a positioning binary label from the remaining wall thickness label.
[0148] In this embodiment of the application, each target frequency yields six 64×64 feature matrices:
[0149] ;
[0150] The seven frequencies are stacked sequentially in a fixed order of frequency priority and characteristic. Let... If the feature number is used, then the channel index is:
[0151] ;
[0152] And define:
[0153] ;
[0154] Final form:
[0155] ;
[0156] Specifically, channels 1–6 correspond to the real part, imaginary part, amplitude, phase, phase difference, and logarithmic amplitude ratio at 30kHz; channels 7–12 correspond to 40kHz; and so on, with channels 37–42 corresponding to 90kHz. Only NaN and Inf cleaning is performed before saving; absolute value or SDC normalization is not applied to signed features such as the real and imaginary parts.
[0157] In this embodiment, approximately 15% of the samples are healthy, and approximately 85% are defective. Each sample is saved as a separate .mat file, containing at least: a multi-frequency six-feature tensor. Remaining wall thickness label matrix Equivalent guided wave characteristic velocity label matrix Signal-to-noise ratio and health status indicators .in and The spatial dimensions are all 250×250. The binary labels required for the localization task can be derived from the remaining wall thickness map, for example:
[0158] ;
[0159] in, This is a small positive threshold used to exclude numerical smoothing errors. This represents a binary indicator function, which is 1 if the condition is true and 0 otherwise.
[0160] S2: Based on the signal difference coefficient SDC tomography and the two-dimensional spatial correlation coefficient, the imaging quality of multi-frequency and multi-frequency domain physical features is evaluated, and the features with the best imaging performance are selected to form the optimal feature subset.
[0161] S2.1 Select a single feature matrix at the target frequency to construct the signal difference matrix.
[0162] In this embodiment of the application, for the first (1 to 6 represent the real part, imaginary part, magnitude, phase, phase difference, and logarithmic magnitude ratio, respectively) These are the features. First, we examine the corresponding frequency domain response matrix from the multi-frequency, multi-physical feature tensor. Extract the first Feature slices at each frequency are processed by absolute value processing to eliminate negative interference, diagonal zeroing to eliminate spontaneous and spontaneous interference, and normalization processing is performed to construct a signal difference matrix:
[0163] ;
[0164] in To prevent small division by zero, diagonal elements are forced to zero to match the physical logic in Full Matrix Capture (FMC) that ignores spontaneously generated and received signals.
[0165] S2.2 Input the signal difference matrix into the RAPID damage probability detection and reconstruction algorithm to perform tomographic imaging and obtain the tomographic imaging results.
[0166] In this embodiment of the application, the signal difference matrix The input to the X-ray tomography engine is used to calculate the initial tomographic results under this feature using the RAPID algorithm. To eliminate evaluation bias caused by differences in imaging grids at different frequencies, Bilinear interpolation is used to align the image to the same grid as the physical label, resulting in the final tomographic image.
[0167] ;
[0168] in, Represents the bilinear interpolation function. , Define the spatial location corresponding to each wall thickness value in the coordinate grid of the actual remaining wall thickness label.
[0169] S2.3 Calculate the correlation coefficient between the tomographic imaging results and the actual physical thickness label in two-dimensional space as the imaging quality score.
[0170] In this embodiment of the application, the feature imaging result is calculated and compared with the actual physical thickness label. The two-dimensional spatial correlation coefficient is used as an indicator of image quality:
[0171] ;
[0172] in The absolute value of the Pearson correlation coefficient is used to eliminate the negative correlation interference that may be caused by the decrease in sound velocity and the increase in probability in the defect region. For healthy samples ( (If the standard deviation is zero), this indicator is meaningless. .
[0173] S2.4 Sort all frequency domain physical features in descending order of imaging quality score, and select the top-scoring frequency domain physical features as the optimal feature subset.
[0174] In this embodiment of the application, a representative frequency (such as 60 kHz) is selected. The above process is executed for each of the six-dimensional features under ( ). (According to...) Sort the features in descending order and select the top three features to form the optimal feature subset.
[0175] Specifically, the imaginary part feature can preserve the orthogonal components in the complex response of the scattered field and is relatively sensitive to local propagation phase shifts and sound velocity disturbances; the amplitude feature reflects the changes in scattering intensity and energy caused by defects and is relatively stable in the overall response of the corroded region; the phase difference feature, by comparing the relative phase change between the defect-containing total field and the healthy background field, can weaken the combined influence of the fixed propagation path and the system phase to a certain extent, and therefore is highly sensitive to the propagation delay caused by local defects. In contrast, the spatial consistency between the tomographic results of the real part, the absolute phase of the scattered field, and the logarithmic amplitude ratio in this embodiment and the true wall thickness distribution is relatively low.
[0176] Experiments have verified that, for example Figure 6 Within this frequency band, the correlation coefficients of the imaginary part, amplitude, and phase difference are significantly higher than the other three, as shown in the figure. Therefore, this subset is determined as the optimal feature subset, denoted as:
[0177] ;
[0178] S3: Using localization and quantitative tasks as task dimensions, deep learning and machine learning as algorithm dimensions, and the optimal feature subset as feature dimension, conduct a full permutation control experiment to determine the first optimal algorithm-feature combination for localization tasks and the second optimal algorithm-feature combination for quantitative tasks.
[0179] In step S2, a subset of candidate features is initially selected. Based on this, this embodiment conducts a full permutation and combination experiment on the method dimension (deep learning DL, machine learning ML), task dimension (localization Loc, quantitative quantification), and feature dimension (imaginary part, amplitude, phase difference) to determine the optimal "method + feature" combination for each of the localization and quantitative tasks.
[0180] The total number of permutation and combination experiment matrices is The group-controlled experiment was conducted with each group trained and evaluated independently, as follows:
[0181] (1) Deep Learning Localization Branch (DL-Loc): A lightweight SegNet network is used for pixel-level binary classification localization. The network input is the feature matrix. Single feature slices extracted The number of input channels is =7 (7 frequencies correspond to 7 channels), the number of output channels is 1 (defect probability map, spatial resolution is...). ).
[0182] A lightweight SegNet network is used for pixel-level binary classification and localization. The network input is derived from the optimal feature set. Extracted multi-frequency feature tensor:
[0183] ;
[0184] in, This indicates the seven input channels corresponding to different frequencies. , which represents spatial resolution.
[0185] The SegNet network outputs a defect probability map for one channel:
[0186] ;
[0187] The defect probability is obtained by applying the Sigmoid activation function:
[0188] ;
[0189] in: .
[0190] The localization loss function adopts a joint form of Dice loss and binary cross-entropy loss:
[0191] ;
[0192] in, For binary cross-entropy loss with logits, As a smoothing factor, This is a predicted defect probability map. The binary labels required for the location task. The predicted probability is the result of Sigmoid activation.
[0193] The location evaluation metric is the Intersection over Union (IoU).
[0194] ;
[0195] in This refers to the batch size. Each feature is trained with an independent U-Net model. In this example, the model is trained for 50 epochs with a learning rate of [missing information]. The optimizer is Adam, and the batch size is 32.
[0196] (2) Machine Learning Localization Branch (ML-Loc):
[0197] The XGBoost classification model is used for pixel-level binary classification localization. The input feature matrix is represented as:
[0198] ;
[0199] in: Number of frequency channels For spatial dimensions. Expand the spatial location into independent samples:
[0200] ;
[0201] get: Each row represents a multi-frequency feature vector corresponding to a spatial location:
[0202] ;
[0203] The corresponding location tags expand as follows:
[0204] ;
[0205] The classification model is built using XGBoost:
[0206] ;
[0207] in:
[0208] ;
[0209] The objective function for model training is:
[0210] ;
[0211] in:
[0212] ;
[0213] A 64×64 defect probability map was predicted and then thresholded. IoU is calculated after binarization.
[0214] (3) Quantitative Deep Learning Branch (DL-Quan): SegNet regression network is used for wall thickness prediction. The network architecture is the same as DL-Loc, but the number of output channels is 1 (wall thickness regression plot);
[0215] A lightweight SegNet regression network is used for wall thickness prediction. The network structure is the same as DL-Loc, but the number of output channels is set to 1 to output continuous wall thickness values.
[0216] ;
[0217] in:
[0218] ;
[0219] The true wall thickness label is uniformly defined as:
[0220] ;
[0221] in, The true remaining wall thickness distribution obtained from the physical model is used as the supervision label for the quantitative task. The mean squared error loss function is employed.
[0222] ;
[0223] Where: H, W are the wall thickness dimensions in the drawing space; For predicting the wall, This represents the true wall thickness.
[0224] The evaluation metric is the mean absolute error (MAE).
[0225] (4) Quantitative Machine Learning Branch (ML-Quan): The XGBoost model is used to establish a mapping from frequency domain features to wall thickness distribution. The input features are flattened into... The label is downsampled to Wall thickness diagram unfolded vector .
[0226] An XGBoost regression model is used to establish a nonlinear mapping relationship between frequency domain features and wall thickness distribution. The input feature matrix is represented as follows:
[0227] ;
[0228] in: The number of frequency features; This represents the number of spatial sampling points. In this embodiment: Therefore Expand and transpose the spatial dimensions:
[0229] ;
[0230] get:
[0231] ;
[0232] Each row corresponds to a multi-frequency Image feature for a spatial location:
[0233] ;
[0234] Corresponding wall thickness label:
[0235] ;
[0236] Using the XGBoost regression model:
[0237] ;
[0238] in:
[0239] ;
[0240] Training objectives:
[0241] ;
[0242] After prediction By bicubic interpolation:
[0243] ;
[0244] And perform Gaussian smoothing:
[0245] .
[0246] Finally, the mean absolute error (MAE) of the evaluation index is calculated.
[0247] Based on the permutation and combination experiment results in step S3, the following results can be obtained:
[0248] In location tasks, such as Figure 7 As shown, the deep learning method SegNet outperforms machine learning methods in all aspects of IoU, and achieves the highest IoU (0.872) on PhaseDiff features. Therefore, the optimal localization combination is determined to be... ;
[0249] In quantitative tasks, such as Figure 8 As shown, the machine learning method XGBoost outperforms deep learning methods in all aspects of MAE, and achieves the lowest MAE on the Imagin feature. mm), therefore the optimal quantitative combination is determined to be ;
[0250] Deep learning's SegNet has the strongest pixel-level discrimination capability for PhaseDiff features, while machine learning's XGBoost has the highest stability in global thickness mapping for Img features. The two are significantly complementary in both feature space and method space, providing a physical and algorithmic foundation for subsequent fusion.
[0251] S4: Obtain the defect location mask of the sample under test based on the first optimal algorithm - feature combination; obtain the quantitative thickness prediction map of the sample under test based on the second optimal algorithm - feature combination; construct a fusion mask by processing the defect location mask and the quantitative thickness prediction map based on morphological dilation and Boolean constraints; perform masking processing on the quantitative thickness map based on the fusion mask to obtain the final quantitative imaging result, such as... Figure 9 As shown.
[0252] S4.1 Input the PhaseDiff feature of the sample to be tested into the localization model of the first optimal algorithm - feature combination, output the defect probability map, and convert it into a pixel-level defect localization mask. .
[0253] In this embodiment, the PhaseDiff features of the sample to be tested are input into the optimal localization model. (i.e., DL-PhaseDiff localizes SegNet, output) Defect probability diagram Nearest neighbor interpolation upsamples it to Resolution, and processed by Sigmoid activation and binarization thresholding (threshold) ), obtain pixel-level positioning mask:
[0254] .
[0255] S4.2 Input the imaginary part (Imag) feature of the sample to be tested into the second optimal algorithm - the quantitative model of feature combination, and output the quantitative prediction map of wall thickness. .
[0256] In this embodiment of the application, the Immag feature of the sample to be tested is input into the optimal quantitative model. (i.e., the ML-ImagXGBoost model), output Wall thickness prediction map, after bicubic interpolation upsampling and Gaussian smoothing ( After that, we obtained Smoothing quantitative prediction plot .
[0257] S4.3 Perform multiple iterative morphological dilations on the defect localization mask to obtain a dilated region of interest mask. ; for smoothing quantitative prediction plot Generate a quantitative threshold mask by applying wall thickness threshold constraints. ; Mask the region of interest. With quantitative threshold mask Performing a Boolean AND operation yields the fusion constraint mask. .
[0258] In this embodiment of the application, the positioning mask Perform morphological dilation operations (Number of iterations) This creates a generous region of interest mask.
[0259] ;
[0260] Mask dilation and Boolean constraint fusion: Constructing the final defect region mask as the Boolean intersection of the dilation localization mask and the quantitative threshold mask:
[0261] .
[0262] S4.4 Utilizing a fusion constraint mask The smoothed quantitative prediction map is masked to obtain the quantitative imaging output. :
[0263] .
[0264] in, The nominal thickness of healthy sheet metal is specified. This fusion strategy effectively suppresses spurious wall thickness fluctuations in healthy areas through spatial prior constraints provided by the localization model; it achieves accurate quantification of defect areas through millimeter-level thickness estimation provided by the quantitative model; and it eliminates the contamination of quantitative results by deep learning edge localization errors through dual Boolean constraints of morphological dilation and thickness threshold. The final fused quantitative imaging is as follows: Figure 10 As shown.
[0265] From the quantitative assessment results, as follows: Figure 11 and Figure 12 Traditional full-waveform inversion, despite its rigorous physical equations, still represents the theoretical limit of accuracy, with a structural shrinkage property (SSIM) as high as 0.999 and a root mean square error (RMSE) of [missing value]. In comparison, while the DL+ML fusion method proposed in this paper is slightly inferior to FWI (SSIM: 0.987 mm, RMSE: 0.037 mm) in terms of limiting fractional performance indicators, this is because full waveform inversion is based on the strict physical constraints of the wave equation and achieves full information matching between the simulated and observed wave fields through iterative optimization, theoretically representing the physical limit of ultrasonic guided wave imaging accuracy. However, this invention still perfectly maintains sub-millimeter-level accuracy, with negligible deviations in the actual characterization of defects and thickness definitions. It is worth emphasizing that, while maintaining this high standard of theoretical success, the proposed method significantly reduces the single computation time from 23.0 s to 0.8095 s, achieving an improvement of nearly 28 seconds, representing a speed increase of 96.5%. This strategy of sacrificing extremely small theoretical accuracy for orders of magnitude improvement in computational efficiency not only demonstrates the importance of combining data-driven and machine learning approaches but also removes the biggest obstacle to practical application for precision and real-time online non-destructive testing in industrial settings.
[0266] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A quantitative imaging method for ultrasonic guided waves based on deep learning and machine learning, characterized in that, include: S1: The k-Wave time-domain elastic wave forward modeling is used to obtain the time-domain full matrix capture FMC data of healthy and defective samples, and the complex scattering response under multiple target frequencies is extracted to construct a dataset containing multiple frequency and physical features. S2: Based on signal difference coefficient tomography and two-dimensional spatial correlation coefficient, the imaging quality of multi-frequency and multi-frequency domain physical features is evaluated, and the features with the best imaging performance are selected to form the optimal feature subset. S3: Using localization and quantitative tasks as task dimensions, deep learning and machine learning as algorithm dimensions, and the optimal feature subset as feature dimension, conduct a full permutation control experiment to determine the first optimal algorithm-feature combination for localization tasks and the second optimal algorithm-feature combination for quantitative tasks. S4: Obtain the defect location mask of the sample under test based on the first optimal algorithm - feature combination, obtain the quantitative prediction map of the wall thickness of the sample under test based on the second optimal algorithm - feature combination, process the defect location mask and the quantitative prediction map of wall thickness based on morphological dilation and Boolean constraints to construct a fusion mask, perform mask processing on the quantitative thickness map based on the fusion mask, and obtain the final quantitative imaging result.
2. The ultrasonic guided wave fusion quantitative imaging method based on deep learning and machine learning according to claim 1, characterized in that, In step S1, k-Wave time-domain elastic wave forward modeling is used to obtain the time-domain full matrix capture FMC data of healthy and defective samples, including: S1.1 Establish a two-dimensional discrete computational grid, construct a globally uniform healthy background sample, use the Monte Carlo method to generate random corrosion defect samples and obtain the remaining wall thickness label, and map the remaining wall thickness field into a spatial non-uniform elastic parameter field. S1.2 Arrange a ring-shaped transmit-receive array, and use linear frequency modulated Chirp excitation to carry out k-Wave time-domain elastic wave forward modeling, and collect healthy background time-domain FMC data and defect total field time-domain FMC data respectively.
3. The ultrasonic guided wave fusion quantitative imaging method based on deep learning and machine learning according to claim 2, characterized in that, In step S1, the complex scattering response at multiple target frequencies is extracted, including: S1.
3. Perform Fourier projection of each transmit-receive channel at the specified target frequency, and combine it with source spectrum normalization to obtain the total field complex response matrix and background field complex response matrix at each target frequency. S1.
4. Inject complex Gaussian white noise into the total field complex response matrix and calculate the noisy scattering field; S1.
5. Based on the noisy scattering field, the total field complex response matrix, and the background field complex response matrix, extract multiple types of frequency domain physical features.
4. The ultrasonic guided wave fusion quantitative imaging method based on deep learning and machine learning according to claim 3, characterized in that, The multiple frequency domain physical features include at least: Real feature of the scattered field, Imaginary feature of the scattered field, Amp feature of the scattered field, Phase feature of the scattered field, PhaseDiff feature of the total field-background field phase difference, and Logarithmic amplitude ratio feature of the total field-background field.
5. The ultrasonic guided wave fusion quantitative imaging method based on deep learning and machine learning according to claim 3 or 4, characterized in that, In step S1, a dataset containing multi-frequency and multi-physical features is constructed, including: stacking multiple classes of frequency-domain physical features to form a multi-frequency and multi-physical feature tensor, and labeling it with the remaining wall thickness. Derived positioning binary label ,in, This is a small positive threshold used to exclude numerical smoothing errors. The nominal remaining wall thickness under healthy conditions. This represents a binary indicator function, which is 1 if the condition is true and 0 otherwise.
6. The ultrasonic guided wave fusion quantitative imaging method based on deep learning and machine learning according to claim 5, characterized in that, Step S2 includes: S2.
1. Select a single feature matrix at the target frequency to construct the signal difference matrix; S2.2 Input the signal difference matrix into the RAPID damage probability detection and reconstruction algorithm to perform tomographic imaging and obtain the tomographic imaging results; S2.3 Calculate the correlation coefficient between the tomographic imaging results and the two-dimensional space of the actual physical thickness label as the imaging quality score; S2.4 Sort all frequency domain physical features in descending order of imaging quality score, and select the top-scoring frequency domain physical features as the optimal feature subset.
7. The ultrasonic guided wave fusion quantitative imaging method based on deep learning and machine learning according to claim 6, characterized in that, In step S2.1, a single feature matrix at the target frequency is selected to construct the signal difference matrix, including: For the d-th frequency domain physical feature, the corresponding frequency domain response matrix is derived from the multi-frequency multi-physical feature tensor. Extract the first Feature slices at each frequency are processed by absolute value processing to eliminate negative interference, diagonal zeroing to eliminate spontaneous and spontaneous interference, and normalization processing is performed to construct a signal difference matrix: ; in, To prevent small amounts from being divided by zero; In step S2.2, the initial tomographic imaging results obtained by the RAPID algorithm are bilinearly interpolated and aligned to the same grid as the remaining wall thickness label to obtain the final tomographic imaging results; In step S2.3, the correlation coefficient is the two-dimensional Pearson correlation coefficient, and the absolute value is taken as the imaging quality score.
8. The ultrasonic guided wave fusion quantitative imaging method based on deep learning and machine learning according to any one of claims 1-4, 6 or 7, characterized in that, In step S3, the deep learning localization task uses a lightweight SegNet network for defect classification and prediction, and the loss function is a joint loss function of binary cross-entropy loss and Dice loss; the machine learning localization task uses the XGBoost model for defect classification and mapping. The deep learning quantitative task uses the SegNet network for thickness regression prediction, with the mean squared error (MSE) as the loss function; the machine learning quantitative task uses the XGBoost model for thickness regression prediction. Both deep learning localization tasks and machine learning localization tasks use Intersection over Union (IoU) as the localization evaluation metric. Both deep learning quantitative tasks and machine learning quantitative tasks use mean absolute error (MAE) as the quantitative evaluation metric.
9. The ultrasonic guided wave fusion quantitative imaging method based on deep learning and machine learning according to claim 8, characterized in that, In step S3, the first optimal algorithm for the localization task—feature combination—uses a lightweight SegNet network as the localization model and the total field-background field phase difference feature PhaseDiff as the localization feature. In the second optimal algorithm for the quantitative task—feature combination—the XGBoost model is used as the machine learning model for the quantitative task, and the imaginary part feature Imag of the scattering field is used as the quantitative feature.
10. The ultrasonic guided wave fusion quantitative imaging method based on deep learning and machine learning according to claim 9, characterized in that, Step S4 includes: S4.1 Input the PhaseDiff feature (total field-background field phase difference) of the sample to be tested into the localization model of the first optimal algorithm-feature combination, output the defect probability map, and convert it into a pixel-level defect localization mask. ; S4.2 Input the imaginary part feature (Imag) of the scattered field of the sample to be measured into the second optimal algorithm - the quantitative model of feature combination, and output the quantitative prediction map of wall thickness. ; S4.3 Defect localization mask Perform multiple iterations of morphological dilation to obtain a mask of the region of interest. Quantitative prediction of wall thickness Generate a quantitative threshold mask by applying wall thickness threshold constraints. ; Mask the region of interest. With quantitative threshold mask Performing a Boolean AND operation yields the fusion constraint mask. ; S4.4 Utilizing a fusion constraint mask Quantitative prediction chart of wall thickness Masking is performed to obtain quantitative imaging output. .
