A nondestructive testing method for internal plating quality of an LED support

By performing cepstral transformation and time-base calibration on the ultrasonic echo signal, a set of cepstral domain characteristic peaks is generated, and the interface bonding tightness and porosity distribution characteristics are extracted. This solves the problem of pore inversion position deviation caused by sound velocity non-uniformity in existing ultrasonic testing, and realizes high-precision non-destructive evaluation and quantitative rating of coating quality.

CN123155666APending Publication Date: 2026-11-24CHANGZHI RUIEN PHOTOELECTRIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611657741.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-26
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing ultrasonic testing methods suffer from time-base mismatch due to local sound velocity variations in the coating, resulting in distorted pore inversion locations. Furthermore, the average porosity cannot measure the degree of pore aggregation, making it difficult to achieve high-precision non-destructive evaluation of coating quality.

Method used

By performing cepstral transformation, time-base calibration, and envelope analysis on ultrasonic echo signals, a set of cepstral domain characteristic peaks is generated. The interface bonding tightness coefficient and porosity distribution characteristics are extracted, and the sound velocity mismatch offset is eliminated, enabling high-precision detection and quantitative evaluation of internal defects in the coating.

Benefits of technology

It improves the positioning accuracy and detection sensitivity of pores inside the coating, can quantify the spatial distribution of pores, realize the fine classification of coating quality grades, and improve the reliability and efficiency of detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123155666A_ABST
    Figure CN123155666A_ABST
Patent Text Reader

Abstract

This invention discloses a non-destructive testing method for the internal coating quality of LED brackets, belonging to the technical field of LED bracket coating quality testing. The method includes: acquiring an initial ultrasonic echo signal sequence; performing a frequency domain cepstral transform based on the acoustic impedance difference of the coating to generate a set of cepstral characteristic peaks; extracting the time delay difference between the primary and secondary peaks to construct an interface bonding tightness coefficient; mapping the thickness fluctuation range to determine the thickness variation vector; cross-correlated with a standard coating sound velocity profile to obtain the sound velocity mismatch offset and correct the time base; generating a calibration signal and extracting the envelope attenuation slope; inverting the spatial distribution of porosity and extracting the porosity aggregation index to determine the coating quality grade. This method can compensate for the time base error caused by sound velocity changes and improve the accuracy of quantitative assessment of porosity distribution.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of LED bracket coating quality inspection technology, specifically a non-destructive testing method for the internal coating quality of LED brackets. Background Technology

[0002] The quality of the internal coating of an LED bracket directly affects the device's heat dissipation, conductivity, and reliability. Defects such as micropores and poor interfacial bonding within the coating can significantly reduce product performance, necessitating non-destructive testing and evaluation. Existing coating quality inspection methods include destructive sampling observation, which cannot cover all products; X-ray or industrial CT inspection equipment is costly and time-consuming, making it unsuitable for rapid online screening. Ultrasonic testing technology, due to its strong penetrating power and sensitivity to acoustic impedance interfaces, has been introduced into the coating evaluation field. Conventional ultrasonic testing methods determine coating thickness and the presence of significant debonding defects by analyzing echo amplitude and transit time. For the tightness of the coating interface bonding, qualitative judgment is often based on the relative change in the amplitude of a single bottom echo. This method is easily affected by factors such as probe coupling state and bracket surface roughness, lacking robust and quantitative characterization parameters. For the detection of diffuse porosity within the coating, porosity is usually fitted based on the acoustic attenuation coefficient or the root mean square value of the backscattered signal; however, these methods implicitly assume a constant acoustic velocity within the coating. In reality, coatings exhibit localized acoustic impedance variations due to microscopic porosity, compositional segregation, and residual stress, resulting in a non-uniform spatial distribution of sound velocity. The assumption of a constant sound velocity leads to a mismatch between the echo time base and the actual depth location, causing positional distortion in the pore distribution map subsequently derived from echo characteristics, and significant deviations in locating small-sized pore clusters. Regarding pore uniformity evaluation, the industry commonly uses overall average porosity as the basis for acceptance or rejection. However, average porosity fails to reflect the spatial aggregation and directional differences of pores. Two coatings with similar average porosity may have drastically different service lives due to different pore distribution morphologies, resulting in coarse quality grade determinations with weak correlation to actual performance. Therefore, it is necessary to eliminate the time base offset caused by sound velocity mismatch to improve pore location accuracy and establish an evaluation index that can quantify the degree of spatial aggregation of pores, thereby achieving a fine-grained classification of coating quality grades. Summary of the Invention

[0003] This invention provides a non-destructive testing method for the internal coating quality of LED brackets. The purpose is to solve the technical problems in existing ultrasonic testing, such as time base mismatch caused by local sound velocity changes in the coating, which leads to distortion of pore inversion position and the inability of the average porosity index to measure the degree of pore aggregation. This method enables high-precision non-destructive evaluation of interface bonding tightness, pore spatial distribution morphology and quality level.

[0004] To achieve the above objectives, this invention provides the following technical solution: This invention discloses a non-destructive testing method for the internal coating quality of an LED bracket. By performing cepstral transformation, time-base calibration, and envelope analysis on the ultrasonic echo signal, a comprehensive non-destructive evaluation of the coating's bonding tightness and internal porosity is achieved. This method acquires the initial ultrasonic echo signal sequence of the LED bracket coating interface and performs a frequency-domain cepstral transformation based on the coating's acoustic impedance difference on this signal sequence, generating a set of cepstral characteristic peaks. By converting the temporally aliased interface echoes into separated characteristic peaks in the cepstral domain through cepstral transformation, the resolution of reflection delays at multi-layer interfaces of the coating can be significantly improved, effectively enhancing the detection sensitivity for weak bonding defects. The arrival delay difference between the main peak and secondary peaks is extracted from the cepstral characteristic peak set. Based on this delay difference, an interface bonding tightness coefficient is constructed, making it possible to quantitatively characterize the bonding state between the coating and the substrate. Mapping the interface bonding tightness coefficient to the coating thickness fluctuation range, and determining the thickness variation vector within this range, allows for the constraint of coating thickness process fluctuations using bonding tightness information, resulting in thickness variation characteristics that more closely match the actual bonding state. The sound velocity mismatch offset is obtained by cross-correlation calculation between the thickness variation vector and the preset standard coating sound velocity profile. This offset reflects the degree of sound velocity deviation caused by differences in the coating's microstructure. The time base coordinates of the initial ultrasonic echo signal sequence are corrected using this offset to generate a time base-calibrated ultrasonic echo signal. This eliminates the time base error introduced by sound velocity inhomogeneity, making the time parameters of subsequent signals more accurately correspond to the true spatial position of the coating, thus improving the detection positioning accuracy and feature extraction reliability. Envelope demodulation is performed on the time base-calibrated ultrasonic echo signal to extract the envelope attenuation slope. The envelope attenuation slope is extremely sensitive to ultrasonic scattering attenuation caused by pores, and can sensitively reflect the influence of tiny pores inside the coating on the sound energy propagation characteristics. The porosity distribution characteristics inside the coating are inverted using the envelope attenuation slope to generate a porosity spatial distribution map, visually displaying the pore density and distribution morphology of each region of the coating. The porosity aggregation index is extracted from the porosity spatial distribution map, and the coating quality grade is determined based on the porosity aggregation index, so as to realize the automated quantitative rating of the degree of aggregation and uniformity of distribution of internal defects in the coating.

[0005] As a technical solution of this invention, the process of generating a cepstral characteristic peak set by performing a frequency domain cepstral transform based on the difference in acoustic impedance of the coating on the initial ultrasonic echo signal sequence specifically includes: performing a Fourier transform on the initial ultrasonic echo signal sequence to obtain a frequency domain amplitude spectrum; taking the natural logarithm of the frequency domain amplitude spectrum to obtain a logarithmic amplitude spectrum; and then performing an inverse Fourier transform on the logarithmic amplitude spectrum to obtain a cepstral signal; searching for local maxima points in the cepstral signal whose amplitudes exceed a preset amplitude threshold; sorting all local maxima points in descending order of amplitude; and selecting the top five local maxima points as the cepstral characteristic peak set. This cepstral feature extraction method can adaptively filter out the characteristic components reflecting the main interface reflections, suppress the interference of noise components on subsequent analysis, and make the characteristic peak set more representative.

[0006] Preferably, the method for extracting the arrival delay difference between the primary and secondary peaks from the cepstral characteristic peak set and constructing the interface bonding tightness coefficient is as follows: Select the characteristic peak with the largest amplitude from the cepstral characteristic peak set as the primary peak, and select the characteristic peak with the second largest amplitude as the secondary peak; extract the first arrival delay value corresponding to the primary peak and the second arrival delay value corresponding to the secondary peak, and calculate the difference between the second arrival delay value and the first arrival delay value to obtain the arrival delay difference; divide the arrival delay difference by the half-amplitude width of the primary peak to obtain the interface bonding tightness coefficient. This coefficient not only reflects the time delay characteristics of the coating interface but also integrates information on the sharpness of the primary peak, enabling more sensitive detection of subtle changes in acoustic properties at the bonding interface and enhancing the ability to identify early bonding defects.

[0007] Preferably, the specific implementation of mapping the interface bonding tightness coefficient to the coating thickness fluctuation range and determining the thickness variation vector is as follows: Obtain the nominal coating thickness value and the coating thickness process tolerance range; construct the coating thickness fluctuation range based on the nominal coating thickness value and the coating thickness process tolerance range; obtain the maximum value among the interface bonding tightness coefficients at all spatial sampling locations; divide the interface bonding tightness coefficient at each spatial sampling location by the maximum value to obtain a normalized interpolation factor; use the normalized interpolation factor as an interpolation parameter to perform linear interpolation within the coating thickness fluctuation range to obtain an initial thickness fluctuation value; perform a first-order difference operation on the initial thickness fluctuation value along the ultrasonic propagation direction to obtain the thickness variation vector. This mapping process directly correlates bonding tightness with thickness fluctuation, enabling the thickness variation vector to simultaneously carry dual information of coating bonding state and geometric parameters, providing accurate input features for subsequent acoustic mismatch analysis.

[0008] In the process of obtaining the sound velocity mismatch offset by cross-correlation calculation between the thickness variation vector and the preset standard coating sound velocity profile, the thickness variation vector is expanded into a thickness variation sequence along the spatial coordinate axis. The preset standard coating sound velocity profile is obtained and expanded into a sound velocity reference sequence along the same spatial coordinate axis. The cross-correlation function value between the thickness variation sequence and the sound velocity reference sequence at the zero-delay position is calculated. The thickness variation sequence is then translated point by point along the spatial coordinate axis, and the cross-correlation function value is calculated repeatedly. The number of translation points when the cross-correlation function value reaches its maximum value is recorded as the sound velocity mismatch offset. By finding the optimal cross-correlation matching position to determine the sound velocity offset, the systematic deviation between the standard sound velocity profile and the actual coating sound velocity can be automatically compensated, making the sound velocity calibration process more adaptable and robust.

[0009] When generating a time-base calibrated ultrasonic echo signal by correcting the time base coordinates of the initial ultrasonic echo signal sequence using the sound velocity mismatch offset, the time sampling point sequence of the initial ultrasonic echo signal sequence is used as the original time base coordinates. The total time base offset of the initial ultrasonic echo signal sequence is calculated based on the sound velocity mismatch offset, which is equal to the sound velocity mismatch offset multiplied by the sampling interval. The total time base offset is then distributed point-by-point according to the proportion of the sampling sequence number in the total sequence length, obtaining the time base correction value for each time sampling point. The original time base coordinates are subtracted point-by-point from the corresponding time base correction value to obtain the corrected time base coordinates. The amplitudes of the initial ultrasonic echo signal sequence are then re-interpolated and arranged according to the corrected time base coordinates to generate the time-base calibrated ultrasonic echo signal. This point-by-point time base correction method can precisely eliminate waveform stretching and time shift caused by sound velocity mismatch, ensuring the fidelity of the echo signal on the time axis and laying a reliable foundation for envelope analysis.

[0010] The specific process for extracting the envelope attenuation slope from the time-base calibrated ultrasonic echo signal through envelope demodulation is as follows: A Hilbert transform is performed on the time-base calibrated ultrasonic echo signal to obtain an analytic signal; the magnitude of the analytic signal is calculated to obtain the envelope signal; an envelope segment is extracted from the peak point of the envelope to the point where the envelope drops to 10% of the peak value on the time-domain curve of the envelope signal; a linear fit is performed on this envelope segment, and the slope of the fitted line is recorded as the envelope attenuation slope. Using the linear attenuation slope from the peak to the low amplitude segment as a parameter can eliminate noise at the bottom and initial excited state interference, highlight the continuous attenuation effect of porosity on ultrasonic energy, and improve the consistency and repeatability of porosity assessment.

[0011] When generating a spatial porosity distribution map by inverting the porosity distribution characteristics inside the coating using the envelope attenuation slope, multiple sets of standard coating samples with known porosity values ​​are obtained. The envelope attenuation slope of each set of standard samples is measured, and a correspondence table between porosity and envelope attenuation slope is established. Based on the correspondence table, a porosity inversion function is constructed using a piecewise linear interpolation method. The envelope attenuation slope at each spatial location of the coating to be tested is substituted into the porosity inversion function to obtain the porosity value at each spatial location. All porosity values ​​are arranged according to spatial coordinates to generate a spatial porosity distribution map. Establishing the inversion relationship through measured standard samples avoids the deviation between the theoretical model and the actual process, enabling the spatial porosity distribution map to truly reflect the actual density changes inside the coating, providing a reliable basis for defect visualization and identification.

[0012] When extracting the porosity aggregation index from the porosity spatial distribution map, the map is divided into multiple equal-sized sub-blocks. The arithmetic mean of the porosity values ​​of all pixels within each sub-block is calculated to obtain the block average porosity of that sub-block. The variance of the block average porosity of all sub-blocks is calculated to obtain the porosity spatial variance. The porosity spatial variance is multiplied by the total number of sub-blocks to obtain the porosity aggregation index. This index not only measures the overall spatial fluctuation of porosity but also enhances the characterization of local aggregation effects based on sub-block division. It can effectively distinguish coatings with poor uniformity but similar average values, avoiding misjudgments caused by a single average porosity.

[0013] When determining the coating quality grade based on the porosity aggregation index, the projected values ​​of the average porosity of each sub-block in the porosity spatial distribution map across all spatial directions are obtained. The maximum and minimum projected values ​​are extracted from these values. The difference between the maximum and minimum projected values ​​is calculated to obtain the porosity anisotropy. The porosity anisotropy is compared one by one with a preset anisotropy grading threshold sequence to determine the grading interval in which the porosity anisotropy falls. The grade corresponding to this interval is then output as the coating quality grade. Introducing anisotropy evaluation can further reveal the potential mechanical performance hazards caused by the directional aggregation of pores within the coating, making the quality grading results closer to the reliability requirements of the coating in actual use, achieving highly reliable and efficient non-destructive quality determination.

[0014] The technical effects and advantages provided by the present invention in the above technical solution are as follows:

[0015] By acquiring the initial ultrasonic echo signal sequence of the LED bracket coating interface and performing a frequency domain cepstral transform based on the coating acoustic impedance difference, a set of cepstral characteristic peaks is generated. The arrival time delay difference between the main peak and the secondary peak is extracted from this set to construct an interface bonding tightness coefficient. This coefficient is then used to interpolate and differentiate within the coating thickness fluctuation range to obtain a thickness variation vector. The thickness variation vector is cross-correlated with a preset standard coating acoustic velocity profile, and the number of translation points corresponding to the maximum value of the cross-correlation function is searched as the acoustic velocity mismatch offset. This acoustic velocity mismatch offset is used to correct the time base coordinates of the initial ultrasonic echo signal sequence point by point, generating a time base calibrated ultrasonic echo signal. This process dynamically solves for the time delay difference based on the cepstral characteristics caused by the actual acoustic impedance difference of the coating, and correlates thickness fluctuations with the acoustic velocity profile. Optimal acoustic velocity compensation is captured through spatial translation matching, adaptively eliminating the interference of acoustic velocity inhomogeneities caused by local porosity and compositional variations on the echo arrival time. The time-base calibrated signal ensures that the echo positions of each reflecting interface within the coating accurately correspond to the actual depth, overcoming the positioning deviation caused by the pre-set constant sound velocity in conventional methods. This accurately reconstructs porosity information in spatial location, improving the geometric fidelity of porosity distribution inversion. A Hilbert transform is performed on the time-base calibrated ultrasonic echo signal to obtain the envelope signal, and the envelope attenuation slope is extracted by linear fitting from the envelope peak attenuation segment. A piecewise linear interpolation inversion function between porosity and the envelope attenuation slope is pre-established using multiple sets of standard coating samples with known porosity values. The envelope attenuation slope at each spatial location is substituted into this inversion function to generate a porosity spatial distribution map. When extracting the porosity aggregation index from the porosity spatial distribution map, the distribution map is divided into equally sized sub-blocks. The product of the variance of the average porosity of all sub-blocks and the total number of sub-blocks is calculated as the porosity aggregation index. The difference between the maximum and minimum projection values ​​of this index in all spatial directions is then calculated to obtain the porosity anisotropy, which is used to determine the coating quality grade. The envelope attenuation slope is directly related to the scattering attenuation of ultrasonic energy at the pore interface, avoiding the shortcomings of relying solely on echo amplitude which is easily affected by surface coupling conditions. It can sensitively reflect minute changes in porosity. The porosity aggregation index integrates spatial variance and scale information, amplifying the contribution of local high-porosity regions. Porosity anisotropy captures the differences in pores along different directions, quantitatively presenting the aggregation characteristics and directional preferences of pores within the coating. Compared to using only average porosity, this evaluation method can effectively distinguish between different distribution patterns such as uniform pore dispersion and local clustering, outputting a quality level that more closely reflects actual damage tolerance. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this invention. For those skilled in the art, other drawings can be obtained based on these drawings.

[0017] Figure 1 This is a flowchart of a non-destructive testing method for the internal coating quality of LED brackets;

[0018] Figure 2 This is a flowchart for calculating the anisotropy of the LED bracket coating porosity and grading its quality.

[0019] Figure 3 This is a schematic diagram of the cepstral characteristic peaks and the interface binding tightness coefficient;

[0020] Figure 4 This is a schematic diagram of the initial thickness fluctuation sequence and thickness variation vector;

[0021] Figure 5 This is a schematic diagram of the cross-correlation function between the thickness variation sequence and the sound velocity reference sequence, as well as the sound velocity mismatch offset.

[0022] Figure 6 This is a fitting graph of the envelope and envelope attenuation slope of the ultrasonic echo signal after time-base calibration.

[0023] Figure 7 This is a spatial distribution diagram of porosity. Detailed Implementation

[0024] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, 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, 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.

[0025] See Figure 1This invention provides a non-destructive testing method for the internal coating quality of an LED bracket, comprising: acquiring an initial ultrasonic echo signal sequence of the LED bracket coating interface; performing a frequency domain cepstral transform based on the acoustic impedance difference of the coating on the initial ultrasonic echo signal sequence to generate a set of cepstral characteristic peaks; extracting the arrival time delay difference between the main peak and the secondary peak from the set of cepstral characteristic peaks, and constructing an interface bonding tightness coefficient based on the arrival time delay difference; mapping the interface bonding tightness coefficient to the coating thickness fluctuation range, and determining the thickness variation vector within the coating thickness fluctuation range; performing cross-correlation calculations between the thickness variation vector and a preset standard coating sound velocity profile to obtain a sound velocity mismatch offset; correcting the time base coordinates of the initial ultrasonic echo signal sequence using the sound velocity mismatch offset to generate a time base calibrated ultrasonic echo signal; performing envelope demodulation on the time base calibrated ultrasonic echo signal to extract the envelope attenuation slope; using the envelope attenuation slope to invert the porosity distribution characteristics inside the coating to generate a porosity spatial distribution map; extracting a porosity aggregation index from the porosity spatial distribution map, and determining the coating quality grade based on the porosity aggregation index.

[0026] The initial ultrasonic echo signal sequence of the LED bracket coating interface is obtained. In specific implementations, the time interval between the first and second echoes at the coating interface is estimated based on the nominal thickness of the LED bracket coating and the sound velocity of the coating material. A center frequency capable of distinguishing adjacent interface echoes is selected based on this time interval. For example, for coatings with a thickness of 50μm to 200μm, the center frequency can be selected from the range of 10MHz to 50MHz, and a broadband ultrasonic transducer is used. The ultrasonic transducer is coupled to the LED bracket surface through a coupling medium, such as water or glycerol, to ensure effective transmission of the ultrasonic pulse. The coating area of ​​the LED bracket is scanned point-by-point according to a preset scanning path. The scanning path is a raster scan, with the row scanning direction along the length of the LED bracket and the column scanning direction along the width of the LED bracket. The row and column scanning step sizes are both no greater than 1 / 2 of the transducer beam focal diameter, typically set to 0.1mm to 0.5mm. At each scanning position, an ultrasonic pulse with a center frequency of f is emitted, and the reflected echo signal from the coating interface is received. The received echo signal is sampled by an analog-to-digital converter with a sampling frequency of not less than 5 times the center frequency of the transducer and an analog-to-digital converter bit depth of 12 bits or more. After conversion, an initial ultrasonic echo signal sequence in discrete time sequence form is obtained. At the same time, the row coordinates and column coordinates corresponding to each sampling point are recorded to establish the correspondence between spatial coordinates and echo signals.

[0027] A Fourier transform is performed on the initial ultrasonic echo signal sequence to obtain the frequency domain amplitude spectrum. The discrete Fourier transform algorithm is then used to calculate the spectrum of the initial ultrasonic echo signal sequence, and the modulus of the complex spectrum result is taken to obtain the frequency domain amplitude spectrum.

[0028] Take the natural logarithm of the frequency domain amplitude spectrum to obtain the logarithmic amplitude spectrum. Iterate through the amplitude at each frequency point in the frequency domain amplitude spectrum, calculate the natural logarithm of the amplitude, and generate the logarithmic amplitude spectrum.

[0029] Performing an inverse Fourier transform on the logarithmic magnitude spectrum yields the cepstral domain signal. The discrete inverse Fourier transform algorithm is then used to process the logarithmic magnitude spectrum, and the real part of the inverse transform result is taken as the cepstral domain signal.

[0030] The search is performed in the cepstral domain signal to find local maxima whose amplitudes exceed a preset amplitude threshold. The preset amplitude threshold is determined by calculating the root mean square (RMS) of the amplitudes of all sampled points in the cepstral domain signal, multiplying the RMS by a preset factor (set to 3 to avoid false peaks caused by noise interference), and using the product as the preset amplitude threshold. The cepstral domain signal is scanned point by point. When the amplitude of a sampled point is greater than the preset amplitude threshold, and also greater than the amplitude of its preceding and following adjacent sampled points, that sampled point is marked as a local maximum. After scanning all sampled points, all local maxima are obtained. All local maxima are sorted from largest to smallest amplitude, and the top five local maxima in the sorted result are selected as the cepstral domain characteristic peak set.

[0031] From the set of cepstral characteristic peaks, the characteristic peak with the largest amplitude is selected as the primary peak, and the characteristic peak with the second largest amplitude is selected as the secondary peak. The time value corresponding to the primary peak on the horizontal axis of the cepstral domain is extracted as the first arrival delay value, and the time value corresponding to the secondary peak on the horizontal axis of the cepstral domain is extracted as the second arrival delay value.

[0032] Calculate the difference between the second arrival delay value and the first arrival delay value to obtain the arrival delay difference.

[0033] Extract the half-amplitude width of the main peak. The method for extracting the half-amplitude width is as follows: On both sides of the peak value of the main peak, find the positions where the amplitude drops to half of the peak value. In the discrete sampling points, use linear interpolation to determine two time positions between adjacent sampling points on both sides of the peak value where the amplitude is exactly equal to half of the peak value of the main peak. The time difference between the two time positions is the half-amplitude width of the main peak.

[0034] Based on the arrival time delay difference and the half-width of the main peak, the interface bonding tightness coefficient is calculated using the following formula:

[0035]

[0036] in, The coefficient representing the tightness of interface bonding is dimensionless. This represents the arrival delay difference, in seconds; The half-width of the main peak is represented in seconds. The interfacial bonding tightness coefficient is used to characterize the tightness of the interface between the coating and the substrate. The smaller the value of the interfacial bonding tightness coefficient, the tighter the interface bonding.

[0037] See Figure 3 In the graph, the horizontal axis represents time in microseconds (μs), and the vertical axis represents amplitude. The curve represents the cepstral domain signal, showing the trend of the cepstral domain signal amplitude over time. Two distinct local maxima exist in the curve, marked as the main peak (triangle) and the secondary peak (inverted triangle), respectively. The main peak has the highest amplitude, reaching approximately 1.2, significantly exceeding the preset amplitude threshold (dashed line, amplitude approximately 0.58), indicating a significant main peak signal intensity. The secondary peak has the second highest amplitude, also exceeding the threshold, but located later, at approximately 65 μs. The half-amplitude width of the main peak is indicated by a dotted line, approximately 1.5 μs, reflecting the temporal width characteristic of the main peak.

[0038] In practice, the nominal coating thickness and coating thickness process tolerance range are read from the production process documents. The nominal coating thickness is the design-required center thickness of the coating, and the coating thickness process tolerance range is the absolute value of the maximum allowable unidirectional deviation of the coating thickness. Subtracting the coating thickness process tolerance range from the nominal coating thickness value yields the lower boundary of the coating thickness fluctuation range, and adding the coating thickness process tolerance range to the nominal coating thickness value yields the upper boundary of the coating thickness fluctuation range. The coating thickness fluctuation range is a closed interval encompassing both the lower and upper boundaries.

[0039] For each spatial sampling location arranged along the direction of ultrasound propagation, the interface bonding tightness coefficient corresponding to that spatial sampling location is obtained. By traversing all spatial sampling locations, a sequence of interface bonding tightness coefficients is obtained, consisting of multiple interface bonding tightness coefficients.

[0040] The interface bonding tightness coefficient with the largest value is selected from the sequence of interface bonding tightness coefficients and taken as the maximum value. Each interface bonding tightness coefficient in the sequence is divided by the maximum value to obtain the corresponding normalized interpolation factor. When the maximum value of the interface bonding tightness coefficient is zero, all normalized interpolation factors are set to zero.

[0041] It should be noted that changes in the interface bonding state of the coating alter the reflection and transmission characteristics of sound waves at the interface, thus affecting the time delay characteristics of the echo signal. Simultaneously, process variations in coating thickness also cause changes in echo time delay. In ultrasonic testing, there is a coupling relationship between the interface reflection coefficient and the coating thickness, both jointly determining the time-domain characteristics of the echo signal. In this embodiment, the mapping relationship between the interface bonding tightness coefficient and thickness fluctuation is pre-established as follows: multiple sets of standard test blocks with different interface bonding states and different coating thicknesses are prepared, and the interface bonding tightness coefficient and actual thickness values ​​of each set of standard test blocks are measured. An empirical correlation curve between the two is established using the least squares fitting method. For cases where standard test block calibration conditions are unavailable, an ultrasonic propagation theory model can be used to calculate the analytical relationship between the sound pressure reflection coefficient and the coating thickness under different interface stiffness coefficients, obtaining a theoretical mapping curve. This embodiment uses linear interpolation as a simplified implementation of the mapping relationship.

[0042] Substituting the normalized interpolation factor for each spatial sampling location into the linear interpolation calculation, the initial thickness fluctuation value for that spatial sampling location is obtained. The linear interpolation calculation formula is as follows:

[0043]

[0044] in, This represents the initial thickness fluctuation value, in micrometers. This represents the lower boundary of the coating thickness fluctuation range, in micrometers. This represents the upper boundary of the coating thickness fluctuation range, in micrometers. The normalized interpolation factor is dimensionless and ranges from [0,1]. Between the lower and upper boundaries of the coating thickness fluctuation range, the initial thickness fluctuation value changes linearly with the normalized interpolation factor. The initial thickness fluctuation values ​​calculated from all spatial sampling locations are arranged in the order of their spatial sampling locations along the ultrasonic propagation direction to form an initial thickness fluctuation sequence.

[0045] A first-order difference operation along the ultrasonic propagation direction is performed on the initial thickness fluctuation sequence to generate a thickness variation vector. The specific method of the first-order difference operation is as follows: starting from the first element of the initial thickness fluctuation sequence, the value of each subsequent element is subtracted from the value of the preceding element. The difference obtained from each subtraction is used as a difference element, until the difference between the second-to-last element and the last element is reached. All difference elements are arranged in the order of generation to form the thickness variation vector. The total number of elements in the thickness variation vector is one less than the total number of elements in the initial thickness fluctuation sequence.

[0046] See Figure 4In the figure, the horizontal axis represents the spatial position along the ultrasonic propagation direction, in millimeters, ranging from 0 to 10 mm; the vertical axis represents the thickness, in micrometers. The dashed line represents the initial thickness fluctuation sequence, and the solid line represents the thickness variation vector. The initial thickness fluctuation sequence fluctuates within a range of approximately 45 to 55 micrometers, exhibiting periodic variations that reflect the spatial distribution characteristics of the coating thickness along the ultrasonic propagation direction. The fluctuation amplitude of the thickness variation vector is significantly lower than that of the initial thickness fluctuation sequence, with a fluctuation range close to zero, and it exhibits high-frequency random fluctuations in spatial location, reflecting the first-order difference characteristic of the thickness fluctuation sequence.

[0047] In a specific implementation, the thickness variation vector generated by the above embodiments is obtained. The thickness variation vector contains multiple difference elements arranged along the ultrasonic propagation direction, each difference element corresponding to the thickness change at a spatial location point. All difference elements in the thickness variation vector are sequentially mapped onto a one-dimensional spatial coordinate axis according to the order of their corresponding spatial location points along the ultrasonic propagation direction, forming a thickness variation sequence. The position number of each element in the thickness variation sequence corresponds one-to-one with its spatial location on the spatial coordinate axis.

[0048] Obtain a pre-defined standard coating sound velocity profile. This profile is obtained by pre-measuring a defect-free standard coating sample. Specifically, the ultrasonic propagation time is collected layer by layer along the coating depth direction, and the sound velocity value for each layer is calculated. The sound velocity values ​​of all layers are then arranged along the depth direction to form the standard coating sound velocity profile. The standard coating sound velocity profile is then unfolded along the same spatial coordinate axis as the thickness variation sequence to form a sound velocity reference sequence. The total number of elements in the sound velocity reference sequence is set to be equal to the total number of elements in the thickness variation sequence.

[0049] Calculate the cross-correlation function values ​​of the thickness variation sequence and the sound velocity reference sequence at the zero-delay position. The cross-correlation function value is calculated as follows: multiply each element in the thickness variation sequence with the element numbered at the same position in the sound velocity reference sequence, sum all the products, and divide the sum of the products by the total number of elements in the thickness variation sequence to obtain the zero-delay cross-correlation value.

[0050] The thickness variation sequence is translated point-by-point along the positive and negative directions of the spatial coordinate axis. After each translation of one element position, the cross-correlation function value between the translated thickness variation sequence and the sound velocity reference sequence is calculated. The calculation method for the cross-correlation function value is the same as that for zero-delay cross-correlation value. The number of translation points and the calculated cross-correlation function value corresponding to each translation are recorded until the preset translation range is completed. The preset translation range is set from the negative upper limit translation point number to the positive upper limit translation point number. The positive and negative upper limit translation point numbers are both equal to half of the total number of elements in the thickness variation sequence, rounded down. During the translation process, missing parts exceeding the sequence boundaries are padded with zeros, and the cross-correlation value is calculated only when the effective overlap length between the two sequences is not less than half of the original sequence length to ensure statistical validity.

[0051] From all translation points and their corresponding cross-correlation function values, search for the translation point number where the cross-correlation function value reaches its maximum. If multiple cross-correlation function values ​​have the same maximum value, select the translation point number with the smallest absolute value. Record the searched translation point number as the sound velocity mismatch offset, which is an integer in the number of sampling points.

[0052] An initial ultrasonic echo signal sequence is obtained, which consists of ultrasonic echo amplitudes at multiple time sampling points. The sequence of time sampling points of the initial ultrasonic echo signal sequence is used as the original time base coordinates, where each time sampling point corresponds to a sampling sequence number and sampling time.

[0053] The time base correction value for each time sampling point is calculated based on the sound speed mismatch offset. The formula for calculating the time base correction value is as follows:

[0054]

[0055] Or equivalently represented as:

[0056]

[0057] in, For the first The original sampling time of each sampling point, in seconds; The corrected sampling time is in seconds; This is the time base correction value, in seconds; This represents the total time base offset caused by sound speed mismatch, in seconds. This represents the sound speed mismatch offset, expressed in the number of sampling points. The sampling interval is in seconds. This is the sampling sequence number, dimensionless, and increments from 0; The total number of sampling points in the signal sequence is dimensionless.

[0058] The physical meaning of the above formula is: the time base shift caused by sound velocity mismatch accumulates linearly with the detection depth; the shift is small in shallow echoes and large in deep echoes, with the total shift accumulating to a certain value at the last sampling point. This processing method is consistent with the physical law that the time base deviation accumulates with depth when sound waves propagate in a non-uniform medium, thus avoiding the erroneous situation of misprocessing the time base offset as a constant overall time shift or degenerating to zero in extreme cases.

[0059] The amplitudes of the initial ultrasonic echo signal sequence are re-interpolated and arranged according to the corrected time base coordinates to generate a time-base calibrated ultrasonic echo signal. The specific method of re-interpolation and arrangement is as follows: using the time sampling points of the corrected time base coordinates as the target sampling times, the amplitude corresponding to each target sampling time is calculated through linear interpolation within the original sampling time sequence formed by the time sampling points of the original time base coordinates. The amplitudes corresponding to all target sampling times are then arranged in chronological order to form the time-base calibrated ultrasonic echo signal.

[0060] See Figure 5 In the figure, the horizontal axis represents the number of translation points (in units of sampling points) of the thickness variation sequence relative to the sound velocity reference sequence, and the vertical axis represents the cross-correlation function value between the thickness variation sequence and the sound velocity reference sequence at the corresponding number of translation points. The curves use solid lines to represent cross-correlation function values ​​and dashed lines to represent the zero-delay position reference line. The diamonds in the figure mark the points with the maximum cross-correlation function values, representing the calculated sound velocity mismatch offset.

[0061] As shown in the figure, the cross-correlation function value exhibits a distinct peak characteristic with the number of translation points, with the peak value located near the number of translation points of 0. The maximum cross-correlation function value is approximately 1.07, and the peak position deviates from the zero-delay line by one positive sampling point, indicating a slight positive shift in the thickness variation sequence compared to the sound velocity reference sequence. The number of translation points corresponding to this maximum cross-correlation peak is the sound velocity mismatch offset, used to correct the time base coordinates of the initial ultrasonic echo signal sequence.

[0062] The cross-correlation function curves in the figure rise and fall steeply near the peak, indicating that the matching degree between the thickness variation sequence and the sound velocity reference sequence is quite sensitive to changes in the number of translation points, verifying that the determination of the sound velocity mismatch offset has high accuracy and stability. When the number of translation points on both sides is large, the cross-correlation function value approaches zero, indicating poor sequence matching, further highlighting the significance at the peak.

[0063] In a specific implementation, the time-base calibrated ultrasonic echo signal generated by the above embodiments is obtained. The time-base calibrated ultrasonic echo signal is a discrete-time series containing multiple sampling points, each sampling point consisting of a sampling time and an amplitude.

[0064] A Hilbert transform is performed on the time-base calibrated ultrasonic echo signal to obtain an analytic signal. The specific implementation of the Hilbert transform is as follows: A fast Fourier transform is performed on the time-base calibrated ultrasonic echo signal to obtain a complex spectrum; a spectral shift factor sequence is constructed, where the shift factor for positive frequency components is 2, the shift factor for zero frequency components is 1, and the shift factor for negative frequency components is 0; the complex spectrum is multiplied point-by-point by the corresponding spectral shift factor to obtain the shifted spectrum; an inverse fast Fourier transform is performed on the shifted spectrum to obtain a complex analytic signal, and the imaginary part of this analytic signal is taken as the imaginary part of the Hilbert transform; the time-base calibrated ultrasonic echo signal is used as the real part, and together with this imaginary part, they constitute the complex analytic signal. Finally, the complex analytic signal is synthesized by using the time-base calibrated ultrasonic echo signal as the real part and the imaginary part of the Hilbert transform as the imaginary part.

[0065] The magnitude of the analytic signal is calculated to obtain the envelope signal. The magnitude of the analytic signal is calculated as follows: for each sampling point of the analytic signal, the sum of the squares of the real part and the imaginary part is calculated, and the square root of the sum is the amplitude of the envelope signal at that sampling point. By traversing all sampling points of the analytic signal, the envelope signal is obtained, which is a time-domain signal.

[0066] Search for the envelope peak point on the time-domain curve of the envelope signal. The envelope peak point is the sampling point with the largest amplitude in the envelope signal. Record the sampling time and the amplitude corresponding to the envelope peak point.

[0067] Determine the cutoff point on the time-domain curve of the envelope signal where the envelope drops to 10% of the peak value. Starting from the peak value of the envelope, search point by point along the positive time axis. When the amplitude of a certain sampling point is first less than or equal to the amplitude corresponding to the peak value of the envelope multiplied by 0.1, mark that sampling point as the cutoff point.

[0068] Extract the envelope segment from the peak point to the cutoff point. The envelope segment includes the sampling points corresponding to the peak point, the sampling points corresponding to the cutoff point, and all sampling points located between the sampling points corresponding to the peak point and the cuttingoff point.

[0069] Linear fitting is performed on the envelope segment. The least squares method is used for linear fitting, with the sampling time of each sampling point in the envelope segment as the independent variable and the envelope amplitude of each sampling point as the dependent variable, to fit a linear equation. The expression for the linear equation is:

[0070]

[0071] in, Represents the sampling time of the fitted straight line The envelope amplitude at that point, in volts; The slope represents the slope of the fitted line, measured in volts per second. The value of is obtained by dividing the covariance of the sampling time and the envelope amplitude of all sampling points in the envelope segment by the variance of the sampling time using the least squares method. This represents the sampling time, in seconds; The intercept of the fitted line is expressed in volts. The slope of the fitted line is also expressed. Recorded as the envelope decay slope.

[0072] Multiple sets of standard test blocks with known porosity values ​​were obtained. The standard test blocks were prepared using the same coating material and process as the LED bracket under test. Different standard test blocks had different porosity values ​​by controlling process parameters. For each standard test block, the true porosity was measured using a destructive testing method: metallographic microscopy image analysis. The measurement process involved cutting, mounting, grinding, and polishing the standard test block. Cross-sectional images of the coating were acquired under a metallographic microscope. These images were binarized, and the proportion of pore pixel area to the total area was calculated to obtain the known porosity value of the standard test block.

[0073] The envelope attenuation slope of each group of coating standard test blocks was measured. For each coating standard test block, the same ultrasonic detection parameters and signal processing procedures as the time-base calibrated ultrasonic echo signal were used to obtain the envelope attenuation slope of that coating standard test block. The known porosity value and the corresponding envelope attenuation slope of each coating standard test block were paired and recorded to establish a correspondence table between porosity and envelope attenuation slope. The correspondence table contains two columns of data: the first column is the known porosity value, and the second column is the envelope attenuation slope.

[0074] Based on the correspondence table, a piecewise linear interpolation method is used to construct the porosity inversion function. The specific construction process of the piecewise linear interpolation method is as follows: the data in the correspondence table are sorted in ascending order of envelope attenuation slope; for the point to be interpolated, the data rows in the correspondence table with the closest envelope attenuation slope and the closest envelope attenuation slope and the closest envelope attenuation slope and the closest envelope attenuation slope and the closest envelope attenuation slope and the closest envelope attenuation slope are searched, and the porosity value corresponding to the point to be interpolated is calculated using the slope connection relationship between the two rows of data; when the envelope attenuation slope of the point to be interpolated is less than the minimum envelope attenuation slope in the correspondence table, the two rows of data with the smallest envelope attenuation slope in the correspondence table are used for linear extrapolation; when the envelope attenuation slope of the point to be interpolated is greater than the maximum envelope attenuation slope in the correspondence table, the two rows of data with the largest envelope attenuation slope in the correspondence table are used for linear extrapolation, and the extrapolation result is limited to the effective porosity value range [0,1]. When it exceeds this range, the porosity value at this position is marked as an effective inversion boundary state, and a re-examination prompt message is output.

[0075] The envelope attenuation slope at each spatial location of the coating under test is substituted into the porosity inversion function. The spatial scanning scheme is determined at the initial stage of detection: according to the set row and column scanning step distance, the scanning area is delineated on the surface of the LED bracket coating and a spatial coordinate grid is established, with each grid node corresponding to a spatial sampling position. A complete signal processing chain is sequentially executed for all spatial sampling positions—after independently acquiring the initial ultrasonic echo signal at each spatial position, cepstral transformation, interface bonding tightness coefficient calculation, thickness variation vector determination, time base calibration, and envelope attenuation slope extraction are performed respectively to obtain the envelope attenuation slope corresponding to each spatial position.

[0076] The porosity values ​​calculated for all spatial locations are arranged according to spatial coordinates to generate a porosity spatial distribution map. The porosity spatial distribution map is a two-dimensional matrix, where the row index corresponds to the first dimension of the spatial coordinates, and the column index corresponds to the second dimension. Each element in the matrix stores the porosity value at that spatial location, and the size of the matrix is ​​equal to the number of row sampling points multiplied by the number of column sampling points in the spatial scan.

[0077] See Figure 6 In the figure, the horizontal axis represents time in microseconds, and the vertical axis represents the envelope amplitude in volts. The curve represents the time-base calibrated ultrasonic echo signal envelope signal as a solid line. The envelope peak point is marked with a triangle, located at approximately 2 μs, corresponding to a peak amplitude of approximately 1 volt. After the envelope peak point, the signal amplitude slowly decays until it reaches a cutoff point at approximately 5.8 μs, where the envelope amplitude drops to 10% of the peak value. This cutoff point is marked with an inverted triangle, with an amplitude of approximately 0.1 volts. The envelope segment, i.e., the signal region from the peak point to the cutoff point, is extracted. The fitted straight line, represented by a dashed line, linearly fits this envelope segment. The fitted straight line exhibits a significant negative slope, reflecting the decay trend of the envelope signal.

[0078] In specific implementation, please refer to Figure 2 Based on the porosity spatial distribution map generated in the above embodiments, the porosity aggregation index and quality grade are calculated. Specifically, this includes: obtaining the porosity spatial distribution map, which is a two-dimensional matrix, where each element stores the porosity value at the corresponding spatial location.

[0079] The porosity spatial distribution map is divided into multiple sub-blocks of equal size. The division method is as follows: The side length of each sub-block is set, with the unit being the number of pixels. The side length of each sub-block is set as the integer value (rounded down) of the total number of pixels in each row and column of the porosity spatial distribution map, divided by a preset division number. The preset division number is an integer greater than or equal to 2 and less than or equal to half the smaller of the total number of pixels in each row and column. Pixels that cannot form a complete sub-block at the edge of the porosity spatial distribution map are discarded when the total number of pixels in each row is not divisible by the side length of the sub-block in the row direction; similarly, pixels that cannot form a complete sub-block at the edge of the porosity spatial distribution map are discarded when the total number of pixels in each column is not divisible by the side length of the sub-block in the column direction. All complete sub-blocks are numbered sequentially along the row and column directions, and the total number of sub-blocks is equal to the number of sub-blocks in the row direction multiplied by the number of sub-blocks in the column direction.

[0080] Iterate through each sub-block and calculate the arithmetic mean of the porosity values ​​of all pixels within that sub-block. Extract the porosity value stored at the location of each pixel within the sub-block, sum all the porosity values, and divide the sum by the total number of pixels in the sub-block. The quotient is the block average porosity of that sub-block. Perform the same arithmetic mean calculation operation on all sub-blocks to obtain the block average porosity for each sub-block.

[0081] Obtain the average porosity of all sub-blocks and form a sequence of average porosity. The total number of elements in the average porosity sequence is equal to the total number of sub-blocks.

[0082] The variance of the average porosity of all sub-blocks is calculated to obtain the spatial variance of porosity. The variance is calculated as follows: First, calculate the arithmetic mean of all elements in the average porosity sequence to obtain the overall mean; then, iterate through each element in the average porosity sequence, calculate the difference between that element and the overall mean, and square the difference to obtain the squared difference of that element; finally, sum the squared differences of all elements, divide the sum by the total number of sub-blocks, and the quotient is the spatial variance of porosity.

[0083] Multiplying the spatial variance of porosity by the total number of sub-blocks yields the porosity aggregation index. The formula for calculating the porosity aggregation index is:

[0084]

[0085] in, It represents the porosity index and is dimensionless. Represents the total number of sub-blocks, dimensionless; The porosity spatial variance is dimensionless. The porosity aggregation index reflects the degree of spatial aggregation of pores; the higher the porosity aggregation index value, the more uneven the pore distribution.

[0086] Obtain the projection values ​​of the average porosity of each sub-block across all spatial directions, and extract the maximum projection value from all projection values. The spatial projection values ​​are calculated as follows: In the two-dimensional plane containing the porosity spatial distribution map, establish a planar polar coordinate system with the center point of the porosity spatial distribution map as the origin, and the polar angle ranges from 0 radians to... Discrete sampling is performed within the radius of curvature using a preset angle step size, where the preset angle step size is... Divide by a preset number of directions, set to 36, where each discrete polar angle corresponds to a projection direction. For each projection direction, the average porosity of the sub-block is integrally projected along that projection direction. The specific operation of the integral projection is as follows: the average porosity of all sub-blocks passing through the same projection line is accumulated to obtain a sequence of projection values ​​along that projection direction; the projection value with the largest value is extracted from the sequence and used as the projection value along that projection direction. Iterate through all projection directions corresponding to discrete polar angles, and select the projection value with the largest value from all projection directions, recording it as the maximum projection value of the porosity aggregation index across all spatial directions.

[0087] Obtain the minimum projection value of the porosity index across all spatial directions. Select the smallest projection value from all the projection values ​​in all the above projection directions and record it as the minimum projection value of the porosity index across all spatial directions.

[0088] The difference between the maximum and minimum projected values ​​is used to obtain the porosity. Porosity anisotropy reflects the degree of difference in the aggregation of pores in different spatial directions within the coating.

[0089] Obtain a preset anisotropy grading threshold sequence. The anisotropy grading threshold sequence consists of multiple incrementally arranged anisotropy grading thresholds, each corresponding to a boundary value of a coating quality grade range. The anisotropy grading threshold sequence is set based on the following: selecting no fewer than 30 representative coating samples, measuring the porosity of each sample, and conducting mechanical property tests on the same sample, including coating bonding strength, shear strength, and thermal cycling reliability; establishing a statistical regression model with anisotropy as the independent variable and the comprehensive mechanical performance score as the dependent variable, and determining the anisotropy boundary thresholds corresponding to each quality grade based on the regression analysis results. As an example, for silver-plated LED brackets, anisotropy less than 0.05 is classified as Grade 1 (Excellent), 0.05 to 0.12 as Grade 2 (Qualified), and greater than 0.12 as Grade 3 (Unqualified). For different coating materials or different application scenarios, those skilled in the art can adaptively adjust the specific values ​​of each grading threshold based on the above statistical methods.

[0090] The porosity is compared one by one with a preset anisotropy grading threshold sequence. The comparison method is as follows: starting from the first element of the anisotropy grading threshold sequence, it is determined whether the porosity is less than the current anisotropy grading threshold. If the porosity is less than the current anisotropy grading threshold, the comparison stops, and the coating quality grade interval corresponding to the current anisotropy grading threshold is determined as the grading interval where the porosity is located. If the porosity is greater than or equal to the current anisotropy grading threshold, the comparison continues with the next element of the anisotropy grading threshold sequence until the grading interval where the porosity is located is determined. The coating quality grade corresponding to the grading interval where the porosity is located is output as the LED bracket coating quality grade.

[0091] See Figure 7 This figure shows the spatial distribution of porosity. The horizontal axis represents the x-axis, ranging from 0.0 mm to 2.5 mm, and the vertical axis represents the y-axis, also ranging from 0.0 mm to 2.5 mm. The legend is labeled "Porosity Heat Map." The right side represents the numerical range of porosity values, gradually changing from near 0.0 to near 0.45 and above, with the color gradient from dark to light reflecting the magnitude of the porosity.

[0092] The porosity distribution in the image shows a clear spatial concentration trend. High porosity areas are located in the center of the image, with peak porosity values ​​between approximately 0.45 and 0.5, indicating a high degree of porosity aggregation. The central high-porosity region is elliptical, with its principal axis extending roughly along the x=y spatial coordinate direction, indicating significant spatial aggregation of pores in this direction. As the spatial coordinates move further away from the center, the porosity value drops significantly to below 0.1, and the porosity in the edge region approaches zero, indicating that the pores in the edge region are relatively sparse and uniformly distributed. The overall porosity spatial distribution map shows uniform pixel distribution with no obvious noise anomalies, consistent with the description in this embodiment of obtaining coating porosity values ​​through spatial scanning and forming a two-dimensional matrix.

[0093] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.

Claims

1. A non-destructive testing method for the internal coating quality of an LED bracket, characterized in that, include: Obtain the initial ultrasonic echo signal sequence at the LED bracket coating interface; A frequency domain cepstral transform based on the difference in acoustic impedance of the coating is performed on the initial ultrasonic echo signal sequence to generate a set of cepstral characteristic peaks; The arrival time delay difference between the main peak and the secondary peak is extracted from the cepstral domain characteristic peak set, and the interface bonding tightness coefficient is constructed based on the arrival time delay difference. The interface bonding tightness coefficient is mapped to the coating thickness fluctuation range, and the thickness variation vector is determined within the coating thickness fluctuation range. The sound velocity mismatch offset is obtained by cross-correlation calculation between the thickness variation vector and the preset standard coating sound velocity profile. The time base coordinates of the initial ultrasonic echo signal sequence are corrected by the sound speed mismatch offset to generate a time base calibrated ultrasonic echo signal. The time-base calibrated ultrasonic echo signal is envelope demodulated, and the envelope attenuation slope is extracted. The porosity distribution characteristics inside the coating are inverted using the envelope attenuation slope to generate a porosity spatial distribution map; The porosity aggregation index is extracted from the porosity spatial distribution map, and the coating quality grade is determined based on the porosity aggregation index.

2. The method for non-destructive testing of the internal coating quality of an LED bracket according to claim 1, characterized in that, Perform a frequency-domain cepstral transform based on the difference in acoustic impedance of the coating on the initial ultrasonic echo signal sequence to generate a set of cepstral characteristic peaks, specifically: The initial ultrasonic echo signal sequence is subjected to Fourier transform to obtain the frequency domain amplitude spectrum; Taking the natural logarithm of the frequency domain amplitude spectrum yields the logarithmic amplitude spectrum; Perform an inverse Fourier transform on the logarithmic amplitude spectrum to obtain the cepstral domain signal; In the cepstral domain signal, search for local maxima points whose amplitudes exceed a preset amplitude threshold. After sorting all the local maxima points in descending order of amplitude, select the top five local maxima points as the cepstral domain feature peak set.

3. The method for non-destructive testing of the internal coating quality of an LED bracket according to claim 2, characterized in that, The arrival time delay difference between the main peak and the secondary peak is extracted from the cepstral domain characteristic peak set, and the interface binding tightness coefficient is constructed based on the arrival time delay difference, specifically as follows: From the set of cepstral characteristic peaks, the characteristic peak with the largest amplitude is selected as the main peak, and the characteristic peak with the second largest amplitude is selected as the secondary peak. Extract the first arrival delay value corresponding to the main peak and the second arrival delay value corresponding to the secondary peak; Calculate the difference between the second arrival delay value and the first arrival delay value to obtain the arrival delay difference; Dividing the arrival delay difference by the half-amplitude width of the main peak yields the interface bonding tightness coefficient.

4. The method for non-destructive testing of the internal coating quality of an LED bracket according to claim 3, characterized in that, The interface bonding tightness coefficient is mapped to the coating thickness fluctuation range, and the thickness variation vector is determined within the coating thickness fluctuation range, specifically as follows: Obtain the nominal thickness value of the coating and the process tolerance range of the coating thickness, and construct the coating thickness fluctuation range based on the nominal thickness value of the coating and the process tolerance range of the coating thickness; Obtain the maximum value among the interface bonding density coefficients of all spatial sampling locations, and divide the interface bonding density coefficient of each spatial sampling location by the maximum value to obtain the normalized interpolation factor. Using the normalized interpolation factor as the interpolation parameter, linear interpolation is performed within the coating thickness fluctuation range to obtain the initial thickness fluctuation value. The initial thickness fluctuation value is subjected to a first-order difference operation along the ultrasonic propagation direction to obtain the thickness variation vector.

5. The method for non-destructive testing of the internal coating quality of an LED bracket according to claim 4, characterized in that, The sound velocity mismatch offset is obtained by cross-correlation calculation between the thickness variation vector and the preset standard coating sound velocity profile. Specifically: The thickness variation vector is expanded into a thickness variation sequence along the spatial coordinate axes; Obtain a preset standard coating sound velocity profile, and unfold the standard coating sound velocity profile along the same spatial coordinate axis into a sound velocity reference sequence; Calculate the cross-correlation function value between the thickness variation sequence and the sound velocity reference sequence at the zero-delay position to obtain the zero-delay cross-correlation value; The thickness variation sequence is translated point by point along the spatial coordinate axis, and the cross-correlation function value is calculated repeatedly. The number of translation points when the cross-correlation function value reaches its maximum value is recorded as the sound speed mismatch offset.

6. The method for non-destructive testing of the internal coating quality of an LED bracket according to claim 5, characterized in that, The time base coordinates of the initial ultrasonic echo signal sequence are corrected by the sound velocity mismatch offset to generate a time base calibrated ultrasonic echo signal, specifically as follows: The time sampling point sequence of the initial ultrasonic echo signal sequence is used as the original time base coordinates; The total time base offset of the initial ultrasonic echo signal sequence is calculated based on the sound speed mismatch offset, and the total time base offset is equal to the sound speed mismatch offset multiplied by the sampling interval; The total time base offset is distributed point by point according to the proportion of the sampling number in the total length of the sequence, so as to obtain the time base correction value for each time sampling point; The original time base coordinates are subtracted point by point from the corresponding time base correction value to obtain the corrected time base coordinates; The amplitudes of the initial ultrasonic echo signal sequence are re-interpolated and arranged according to the corrected time base coordinates to generate a time base calibrated ultrasonic echo signal.

7. The method for non-destructive testing of the internal coating quality of an LED bracket according to claim 6, characterized in that, The time-base calibrated ultrasonic echo signal is envelope demodulated, and the envelope attenuation slope is extracted, specifically as follows: Perform a Hilbert transform on the time-base calibrated ultrasonic echo signal to obtain an analytical signal; Calculate the magnitude of the analytic signal to obtain the envelope signal; Extract the envelope segment from the peak point of the envelope to the point where the envelope drops to 10% of the peak value on the time-domain curve of the envelope signal; The envelope segment is linearly fitted, and the slope of the fitted line is recorded as the envelope decay slope.

8. The method for non-destructive testing of the internal coating quality of an LED bracket according to claim 7, characterized in that, By inverting the porosity distribution characteristics inside the coating using the envelope attenuation slope, a porosity spatial distribution map is generated, specifically as follows: Multiple sets of coating standard test blocks with known porosity values ​​were obtained, and the envelope attenuation slope of each set of coating standard test blocks was measured to establish a correspondence table between porosity and envelope attenuation slope. Based on the corresponding table, a porosity inversion function is constructed using a piecewise linear interpolation method. Substitute the envelope attenuation slope of the coating at each spatial location into the porosity inversion function to obtain the porosity value at each spatial location. Arrange all the porosity values ​​according to spatial coordinates to generate a porosity spatial distribution map.

9. A non-destructive testing method for the internal coating quality of an LED bracket according to claim 8, characterized in that, The porosity aggregation index is extracted from the porosity spatial distribution map, specifically as follows: The porosity spatial distribution map is divided into multiple sub-blocks of equal size; Calculate the arithmetic mean of the porosity values ​​of all pixels in each sub-block to obtain the block average porosity of that sub-block; Calculate the variance of the block average porosity of all the sub-blocks to obtain the porosity spatial variance; Multiplying the spatial variance of porosity by the total number of sub-blocks yields the porosity aggregation index.

10. A non-destructive testing method for the internal coating quality of an LED bracket according to claim 9, characterized in that, The coating quality grade is determined based on the porosity index, specifically as follows: Obtain the projection values ​​of the block average porosity of each sub-block in the porosity spatial distribution map in all spatial directions, and extract the maximum and minimum projection values ​​from the projection values; The difference between the maximum projection value and the minimum projection value is calculated to obtain the porosity. The porosity is compared one by one with the preset anisotropy grading threshold sequence to determine the grading interval in which the porosity is located, and the grade corresponding to the grading interval is output as the coating quality grade.