Method and device for identifying welding defects of dissimilar materials, electronic equipment and storage medium
By combining multimodal sensing modules and design models with process archives, the sensitivity and accuracy issues of identifying welding defects in dissimilar materials in single-modal detection technology have been resolved. This enables high-precision identification and online monitoring of thermal stress cracks and interface bonding failure defects in dissimilar material welding.
Patent Information
- Application Number
- CN202611150203.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-31
- Publication Date
- 2026-11-27
AI Technical Summary
Existing single-modal detection technology is difficult to effectively identify early thermal stress cracks and interface bonding failure defects that are highly concealed in the welding of dissimilar materials, and suffers from problems such as low detection sensitivity, poor positioning accuracy, and high false judgment rate.
Data acquisition is performed using a multimodal sensing module to construct a multimodal fusion detection dataset. Through heterogeneous registration and denoising preprocessing, the detection area is divided by combining design model and process archive information. Independent defect detection items are configured, thermal stress anomaly feature extraction is performed from the multimodal data, benchmark defect samples are configured and defect matching analysis is performed, and the results are verified by combining independent detection items to output the recognition results.
It achieves high-precision and robust automated detection of thermal stress-induced cracks and interface bonding failure defects in the welding of dissimilar materials, improves the detection rate and identification accuracy of weak defects, and is suitable for online quality monitoring under complex working conditions.
Smart Images

Figure CN123179156A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of materials welding technology, and in particular to a method, apparatus, electronic device and storage medium for identifying welding defects in dissimilar materials. Background Technology
[0002] With the development of advanced manufacturing technologies, dissimilar material welding technology has been widely applied in aerospace, new energy vehicles, rail transportation, and energy equipment. Due to significant differences in physical properties such as thermal expansion coefficients, elastic moduli, and thermal conductivity between dissimilar materials, interfacial bonding failures, such as microcracks, interface debonding, and interlayer peeling, are easily induced by thermal stress concentration during welding and subsequent service. These defects often originate at the microscale, are initially highly concealed, and gradually expand with the continuous action of thermal cycling and mechanical loads, eventually potentially leading to overall structural failure and severely impacting product reliability and safety.
[0003] Currently, the detection of welding defects mainly relies on single-modal non-destructive testing techniques, such as ultrasonic testing, X-ray imaging, or infrared thermography. While these methods are effective in specific scenarios, they generally suffer from low detection sensitivity, poor positioning accuracy, and high false positive rates when dealing with complex interfaces between dissimilar materials, diverse defect morphologies, and weak signal responses. Especially for thermal stress-induced microcracks and early-stage weak interface defects, single-modal testing struggles to achieve high signal-to-noise ratio feature extraction and accurate identification. Summary of the Invention
[0004] This application provides a method, apparatus, electronic device, and storage medium for identifying welding defects in dissimilar materials. It aims to address the technical problem that existing single-modal detection technologies are insufficient to effectively identify early thermal stress cracks and interfacial bonding failure defects in dissimilar material welding, which are often difficult to detect due to their strong concealment and weak signals.
[0005] According to a first aspect of this application, a method for identifying welding defects in dissimilar materials is provided, comprising:
[0006] Call the design model and process file of the dissimilar material welded component, divide the inspection area according to the design model, configure M sub-areas to be inspected, and configure independent defect detection items for the M sub-areas to be inspected based on the process file; Activate the multimodal sensing module configured at the inspection station. When any dissimilar welded component to be inspected is transmitted to the target inspection station, multimodal data sampling is performed to construct a multimodal fusion inspection dataset. After performing heterogeneous registration and denoising preprocessing on the multimodal fusion inspection dataset, defect candidate area localization is performed in M sub-regions to be inspected, and crack skeleton and interface failure contour are fitted respectively. Perform thermal stress anomaly feature extraction on multimodal data, and configure benchmark defect samples based on the feature extraction results. The benchmark defect samples are marked with confidence weight labels. Perform defect matching analysis based on the benchmark defect samples, the fitted crack skeleton and interface failure contour, and establish the main defect identification results. The system performs anomaly candidate point localization based on feature extraction results and benchmark defect samples. It establishes auxiliary defect identification results based on the anomaly localization results and the fitted crack skeleton and interface failure contour. Based on independent defect detection items, it performs defect verification of the main defect identification results and auxiliary defect identification results, and outputs the detection and identification results of thermal stress induced cracks and interface bonding failure defects.
[0007] According to a second aspect of this application, a device for identifying welding defects in dissimilar materials is provided, comprising: The configuration module is configured to call the design model and process file of the dissimilar material welded component, perform the detection area division according to the design model, configure M sub-areas to be detected, and configure independent defect detection items for the M sub-areas to be detected based on the process file; The execution module is configured to activate the multimodal sensing module configured at the inspection station. When any dissimilar welded component to be inspected is transmitted to the target inspection station, multimodal data sampling is performed to construct a multimodal fusion inspection dataset. After performing heterogeneous registration and denoising preprocessing on the multimodal fusion inspection dataset, defect candidate area localization is performed in M sub-regions to be inspected, and crack skeleton and interface failure contour are fitted respectively. A module is established and configured to perform thermal stress anomaly feature extraction from multimodal data, and to configure a benchmark defect sample based on the feature extraction results. The benchmark defect sample is assigned a confidence weight label. Based on the benchmark defect sample, the fitted crack skeleton and interface failure contour, a defect matching analysis is performed to establish the main defect identification result. The output module is configured to perform anomaly candidate point localization based on feature extraction results and benchmark defect samples, establish auxiliary defect identification results based on the anomaly localization results and fitted crack skeleton and interface failure contours, perform defect verification based on independent defect detection items for the main defect identification results and auxiliary defect identification results, and output the detection and identification results of thermal stress induced cracks and interface bonding failure defects.
[0008] According to a third aspect of this application, an electronic device is provided, comprising: At least one processor; and memory that is communicatively connected to at least one processor; The memory stores instructions that can be executed by at least one processor, which enables the at least one processor to perform the aforementioned method for identifying welding defects in dissimilar materials in the first aspect.
[0009] According to a fourth aspect of this application, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to cause a computer to execute the dissimilar material welding defect identification method of the first aspect described above.
[0010] According to a fifth aspect of this application, a computer program product is provided, including a computer program that, when executed by a processor, implements the dissimilar material welding defect identification method as described in the first aspect above.
[0011] This application provides a method for identifying welding defects in dissimilar materials. This method integrates the design model and process archive information of dissimilar material welded components to achieve intelligent division of the detection area and differentiated configuration of defect detection items, improving the targeting and adaptability of the detection process. It employs a multimodal sensing module for data acquisition and constructs a fused detection dataset, effectively overcoming the limitations of single detection methods in complex welded structures, such as signal limitations and low signal-to-noise ratio, significantly enhancing the perception of weak defects such as thermal stress-induced cracks and interface bonding failures. Through heterogeneous data registration and denoising preprocessing, the spatial consistency and data reliability of multimodal information are ensured. Combining defect candidate area localization with crack skeleton and interface failure contour fitting techniques, accurate modeling of defect geometric features is achieved. A benchmark defect sample with confidence weight labels is innovatively constructed, and a dual-channel identification mechanism combining main defect matching analysis and abnormal candidate point supplementary localization ensures accurate identification of high-confidence defects while improving the detection rate of potential weak or early defects. Finally, classification verification based on independent detection items further improves the scientific rigor and reliability of defect discrimination. The overall solution achieves high-precision, robust, and interpretable automated detection and identification of typical heat-induced defects in dissimilar material welding, and is suitable for online quality monitoring under complex working conditions.
[0012] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this application, nor is it intended to limit the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description
[0013] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0014] Figure 1 A flowchart illustrating a method for identifying welding defects in dissimilar materials provided in an embodiment of this application; Figure 2This is a schematic diagram of the structure of a dissimilar material welding defect identification device provided in an embodiment of this application. Detailed Implementation
[0015] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of this application, including various details to aid understanding. These should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of this application. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0016] The following description, with reference to the accompanying drawings, outlines a method, apparatus, electronic device, and storage medium for identifying welding defects in dissimilar materials according to embodiments of this application.
[0017] Figure 1 This is a flowchart illustrating a method for identifying welding defects in dissimilar materials provided in an embodiment of this application.
[0018] like Figure 1 As shown, the method includes the following steps: Step 101: Call the design model and process file of the dissimilar material welded component, divide the inspection area according to the design model, configure M sub-areas to be inspected, and configure independent defect detection items for the M sub-areas to be inspected based on the process file.
[0019] In some embodiments, by calling the design model and process file of the dissimilar material welded component, the design model file and associated process file data of the corresponding component can be read from the storage system, providing structural and process basis for subsequent detection area division and detection item configuration.
[0020] The design model of dissimilar material welded components is a digital three-dimensional model describing the component's geometry and material distribution. It can be generated by a computer-aided design system or obtained through reverse engineering. It covers parametric geometric models, assembly structure models, multi-material topology models, etc. It can provide spatial structural basis for the division of inspection areas and align the inspection strategy with the actual configuration of the component.
[0021] Process files are structured data sets that record process parameters, thermal history, and operating procedures during the welding of dissimilar materials. They can be extracted from manufacturing execution systems or process databases and include welding thermal cycle records, joint pretreatment logs, and lists of filler materials used. They can reflect process sensitivity and potential failure modes and are used to guide the differentiated configuration of defect detection items in each sub-area.
[0022] The inspection area is divided according to the design model. Based on the component's geometric features, material interfaces, and stress concentration areas, the overall inspection range is divided into multiple local areas. This division can be automatically completed using a surface segmentation algorithm based on the CAD model, or engineers can manually annotate key areas in a visual interface, thus achieving refined spatial management of the inspection task. M sub-regions to be inspected are configured, each assigned a unique identifier and indexed, supporting subsequent independent processing and result aggregation by region. Each of the M sub-regions corresponds one-to-one with an independent defect detection item, together forming a region-level inspection configuration unit.
[0023] Based on the process archive, independent defect detection items are configured for M sub-regions to be inspected. Information such as thermal history and material composition in the process archive is mapped to the defect types that should be the focus of attention in each sub-region. The system can automatically match process parameters with the defect database via a rule engine, or it can recommend detection items through an expert system and take effect after manual confirmation, ensuring precise alignment between the inspection strategy and risk points in the manufacturing process. Each independent defect detection item is a description of the inspection task based on preset defect types, morphologies, and judgment rules for a specific sub-region. It is used to define the defect categories and judgment criteria to be identified in that sub-region, specifically including microcrack detection items, interface debonding detection items, and interlayer peeling detection items.
[0024] This step integrates component design models and process archive information to achieve intelligent division of inspection areas and configuration of differentiated defect inspection items. Therefore, it can solve the problem of insufficient generalization and specificity of inspection strategies in related technologies, thereby improving the specificity and adaptability of the inspection process and achieving the technical effect of accurately matching inspection resources with component risk areas.
[0025] Step 102: Activate the multimodal sensing module configured at the inspection station. When any dissimilar welded component to be inspected is transmitted to the target inspection station, multimodal data sampling is performed to construct a multimodal fusion inspection dataset. After performing heterogeneous registration and denoising preprocessing on the multimodal fusion inspection dataset, defect candidate area localization is performed for M sub-regions to be inspected, and crack skeleton and interface failure contour are fitted respectively.
[0026] In some embodiments, the multimodal sensing module configured at the inspection station is activated, and a start command is sent to the sensing module to put it into data acquisition mode, preparing to synchronously acquire multi-physics response signals. The inspection station is a fixed physical location for deploying multimodal sensing equipment, providing a standardized inspection environment and ensuring the stability of the relative position between the sensing module and the component. The multimodal sensing module is a combination of synchronous acquisition devices integrating multiple physical quantity sensing capabilities. It is composed of an ultrasonic probe, an infrared thermal imager, an X-ray source, and a detector integrated in a spatially coaxial or temporally synchronized manner. It includes various combination forms such as acoustic-thermal fusion sensing groups, X-ray-optical composite sensing groups, and electromagnetic-thermal coupling sensing groups, which can synchronously acquire response signals of dissimilar material welding areas under different physical fields, enriching the dimensions of defect characterization.
[0027] Once any dissimilar welded component to be inspected is transmitted to the target detection position, multimodal data sampling is performed. The target detection position is the precise spatial location where the dissimilar welded component and the multimodal sensing module are aligned, ensuring that the component is within the optimal working distance and field of view of the sensing module. The sampling process triggers each modal sensor through time synchronization, or uses hardware synchronization signals to ensure consistent sampling times, thereby acquiring multi-source observation data under the same physical state. After sampling, a multimodal fusion detection dataset is constructed, organizing the original sampled data into a unified data structure according to timestamps or spatial locations, forming high-dimensional input data that can be used for joint analysis. The multimodal fusion detection dataset is a joint data set composed of multi-source heterogeneous detection signals after spatiotemporal alignment, providing high-dimensional, complementary defect feature inputs and overcoming the limitations of missing information in single modalities.
[0028] Heterogeneous registration and denoising preprocessing are performed on the multimodal fusion detection dataset. Spatial coordinate alignment is completed first, followed by noise filtering. The processing can utilize the iterative nearest-point algorithm to register point cloud data combined with nonlocal means denoising, or a convolutional neural network can be used to jointly optimize the registration and denoising process. This improves the spatial consistency and signal-to-noise ratio of different modalities, laying a reliable data foundation for subsequent defect analysis. Heterogeneous registration ensures the correspondence between different modalities in the same spatial reference frame, while denoising preprocessing suppresses environmental noise and equipment interference signals during the acquisition process.
[0029] After preprocessing, defect candidate region localization is performed in M sub-regions to be detected. Within each sub-region, an anomaly detection algorithm is applied to identify potential defect areas. The localization process can be achieved through initial screening of candidate regions based on threshold segmentation, or by utilizing unsupervised clustering to discover outlier regions, thereby narrowing the search space for fine-grained defect identification and improving overall detection computational efficiency. Defect candidate regions are sets of local regions that may contain defects, initially identified in multimodal fusion data, including various types such as low-reflectivity ultrasonic regions, anomalous thermal diffusion patches, and X-ray absorption mutation regions.
[0030] Crack skeletons and interface failure contours are fitted separately, and centerlines are extracted and boundaries are depicted for defect morphologies within candidate regions. The fitting process can be achieved by performing morphological thinning on binary images to obtain the crack skeleton, using the Canny operator to extract the interface contour, or by using a segmentation network to output crack and interface masks for post-processing, thus achieving structured analysis of defect geometric features. The crack skeleton is a one-dimensional topological representation of the crack morphology after centerline abstraction. It can be generated using the Zhang-Suen thinning algorithm and includes morphologies such as linear skeletons, bifurcation skeletons, and mesh skeletons. It can quantify crack direction, length, and branching characteristics, supporting subsequent geometric modeling and evolution analysis. The interface failure contour is a set of curves describing the boundaries of the interface debonding or peeling region. It can be extracted from multimodal fusion images using edge detection or level set methods and includes morphologies such as ring contours, irregular polygonal contours, and diffuse boundary contours. It can characterize the spatial range and shape features of interface failure and is used for calculating geometric parameters such as area and perimeter.
[0031] This step, by using a multimodal sensing module to collect data and construct a fusion detection dataset, locates the candidate defect area after heterogeneous registration and denoising, and completes the fitting of the crack skeleton and interface failure contour, can solve the problems of signal limitation, low signal-to-noise ratio, and insufficient precision of defect geometric representation in related technologies using single detection methods. It achieves the technical effects of enhancing the perception of weak defects, ensuring the spatial consistency of multimodal information, and realizing accurate modeling of defect geometric features.
[0032] Step 103: Perform thermal stress anomaly feature extraction from multimodal data, and configure benchmark defect samples based on the feature extraction results. The benchmark defect samples are marked with confidence weights. Perform defect matching analysis based on the benchmark defect samples, the fitted crack skeleton and interface failure contour, and establish the main defect identification results.
[0033] In some embodiments, thermal stress anomaly feature extraction is performed from multimodal data. Thermal stress anomaly features are measurable physical response patterns generated during the welding of dissimilar materials due to localized stress concentration caused by thermal cycling and differences in material properties. These features can serve as indirect characterizations of early micro-defects, providing a basis for benchmark sample construction and anomaly identification. These features specifically include various types such as thermal relaxation time anomalies, acoustic velocity gradient distortion, and localized decreases in thermal conductivity. The extraction process calculates statistical or physical features related to thermal stress from the preprocessed multimodal data, such as extracting cooling rate anomaly indicators from thermal imaging sequences or calculating the transmission attenuation gradient of ultrasonic signals at the interface, thereby obtaining highly discriminative feature data to support subsequent benchmark sample construction and defect matching analysis.
[0034] Based on feature extraction results, benchmark defect samples are configured, each with a confidence weight label. Benchmark defect samples are a set of standard reference samples with typical defect geometric morphology and physical response characteristics. They serve as comparison templates for defect matching analysis, providing a unified basis for defect discrimination. Benchmark defect samples can be generated through historical defect data clustering or finite element simulation and manually labeled, specifically including categories such as microcrack benchmark samples, weak bonding interface benchmark samples, and mixed failure benchmark samples. The confidence weight label is a numerical confidence tag attached to the benchmark defect sample. It can adjust the contribution ratio of samples during the matching process, giving higher priority to the discrimination results of high-confidence samples. It can be divided into three levels according to confidence: high, medium, and low. Typical defect samples verified by a large number of engineering projects can have a weight of up to 0.92. When configuring benchmark defect samples, the feature vectors of typical defects are associated with geometric models to form a labeled sample library. Simultaneously, a corresponding confidence weight label is matched to each sample, establishing a reference system that can be used for standardized matching analysis.
[0035] Defect matching analysis is performed based on benchmark defect samples, fitted crack skeletons, and interface failure profiles. The core of defect matching analysis is to measure the multi-dimensional similarity between the currently detected defect's geometric morphology and physical characteristics and the benchmark defect samples. The analysis proceeds simultaneously from two dimensions: geometric morphology and physical characteristics. For the geometric dimension, a dynamic time warping algorithm is used to match the shape and topology of the crack skeleton. For the physical characteristics dimension, cosine similarity is used to compare the fit of multi-modal feature vectors. This multi-dimensional comparison quantifies the degree of matching between the current defect and the benchmark samples, providing a quantifiable basis for the final defect determination.
[0036] Establish the main defect identification results. The main defect identification results are the output of the main defect judgment based on the matching analysis of the benchmark defect samples. They provide highly reliable defect identification conclusions, covering various typical known defect patterns. The process involves summarizing the defect types and locations with the highest matching analysis scores, combining them with confidence weight labels to complete the weighted verification of the results, and finally outputting reliable identification conclusions covering typical defect patterns.
[0037] This step involves extracting thermal stress anomaly features to construct benchmark defect samples with confidence weights, and generating main defect identification results through multi-dimensional matching analysis. This addresses the issues of lack of standard references for defect identification and insufficient reliability in identifying weak defects in related technologies, thereby improving the accuracy and reliability of typical defect identification.
[0038] Step 104: Perform abnormal candidate point localization based on feature extraction results and benchmark defect samples; establish auxiliary defect identification results based on abnormal localization results and fitted crack skeleton and interface failure contours; perform defect verification of main defect identification results and auxiliary defect identification results based on independent defect detection items; and output detection and identification results of thermal stress induced crack and interface bonding failure defects.
[0039] In some embodiments, anomaly candidate point localization is performed based on feature extraction results and benchmark defect samples. Anomaly candidate points are potential defect locations in the feature space that deviate from the normal pattern and are not covered by the main recognition channel. They can serve as the input basis for auxiliary recognition channels to capture early or weak anomalous signals. Specific types include thermal response outliers, acoustic scattering anomalies, and multimodal feature inconsistencies. The localization process searches for points in areas where the main channel has not identified defects, where feature behavior deviates from the normal distribution. Outliers in the feature space can be detected using the isolated forest algorithm, or the reconstruction error of the autoencoder can be used to locate anomalous regions, thereby discovering potential weak or early defect signals and supplementing the coverage of the main recognition channel.
[0040] An auxiliary defect identification result is established based on the anomaly localization results and the fitted crack skeleton and interface failure contour. The auxiliary defect identification result is a supplementary defect judgment output generated based on the anomaly candidate point localization, which is used to improve the detection capability of atypical or early-stage defects and reduce the overall false negative rate.
[0041] The process begins by calculating the offset distance between each candidate anomaly feature point and the fitted contour or skeleton, thus constructing an offset score. The offset distance is the shortest Euclidean distance from each candidate anomaly feature point to the nearest crack skeleton line segment or interface failure contour boundary. This distance can be calculated point-to-point using the point-to-line distance formula or quickly looked up using a distance transformation map. The evaluation features of the offset score include average offset and maximum offset. The average offset is the arithmetic mean of the offset distances of all candidate anomaly feature points, characterizing the overall offset trend of the anomaly region and suppressing the interference of individual noise points. The maximum offset is the maximum value among the offset distances of all candidate anomaly feature points, capturing the most significant local anomalies and reflecting the location of potentially serious defects. A comprehensive offset score is generated based on these two types of offset features, quantifying the overall deviation of the anomaly region in geometric space.
[0042] Subsequently, the proportion of candidate anomaly feature points to the total number of feature points is obtained, and an anomaly contribution score is established based on this proportion. The total number of feature points is the total number of all feature points used for geometric modeling and anomaly analysis within the current sub-region to be detected, serving as the benchmark for calculating the anomaly proportion. The proportion reflects the density and systematic nature of the anomaly's spatial distribution. The anomaly contribution score generated based on this proportion can reflect whether the anomaly possesses regional characteristics, avoiding misjudgments caused by isolated noise points.
[0043] Finally, the offset score and the abnormal contribution score are fused to generate auxiliary defect identification results. The fusion process can be carried out by weighted summation combined with threshold judgment, or a lightweight classifier can be built to complete the fusion judgment, thereby achieving effective identification of weak or early defects not captured by the main channel.
[0044] Based on the independent defect detection items, the main defect identification results and auxiliary defect identification results are verified, and the detection and identification results of thermal stress-induced cracks and interface bonding failure defects are output.
[0045] The verification process first merges the primary defect identification results with the auxiliary defect identification results to obtain the true defect results. During fusion, primary and auxiliary defects with spatial overlap are weighted and merged based on confidence level, while non-overlapping parts retain their respective output results. Alternatively, a rule engine can be used to prioritize the primary identification results and supplement auxiliary identification results in areas not covered by the primary identification results. This approach balances the accuracy of identifying typical defects with the sensitivity of detecting early anomalies, resulting in a more complete defect characterization.
[0046] Subsequently, using the independent detection items of each sub-region to be inspected, the corresponding defect judgment indicators are invoked to classify and verify the actual defect results. Each sub-region is bound to different independent detection items corresponding to different defect judgment indicators. These indicators are a set of pre-defined quantitative criteria based on the material combination, process history, and geometric characteristics of a specific sub-region, specifically including crack length threshold indicators, interface debonding area ratio indicators, and thermal response anomaly duration indicators. During verification, based on the detection item type of the sub-region, the associated judgment indicators are retrieved and verified item by item. Results that do not conform to the region's defect type are filtered out through rule matching, and threshold comparison is used to determine whether the defect meets the valid standard. This achieves region-customized verification logic, avoiding misjudgment and omission of general criteria in heterogeneous material interface scenarios.
[0047] After verification, the system outputs the detection and identification results of thermal stress-induced cracks and interface bonding failure defects. The actual defect results that pass the verification are classified according to defect type, forming a structured inspection report containing defect type, location, geometric parameters and confidence information, providing standardized data support for quality assessment, rework decision-making and process feedback.
[0048] By using abnormal candidate point supplementation to establish auxiliary identification results and combining independent detection items to classify and verify the main and auxiliary identification results, this step can solve the problems of high early-stage weak defect miss rate and lack of regional specificity in defect judgment in related technologies, thereby achieving the technical effect of improving the completeness of defect detection and enhancing the scientificity and credibility of the judgment results.
[0049] Compared with related technologies, in this embodiment, by calling the design model and process file of the dissimilar material welded component, the detection area is divided according to the design model, and M sub-regions to be detected are configured. Independent defect detection items are configured for each of the M sub-regions based on the process file. The multimodal sensing module configured at the detection station is activated. When any dissimilar welded component to be detected is transmitted to the target detection position, multimodal data sampling is performed to construct a multimodal fusion detection dataset. After performing heterogeneous registration and denoising preprocessing on the multimodal fusion detection dataset, defect candidate area localization is performed for the M sub-regions to be detected, and crack skeletons and interface failure contours are fitted respectively. This method extracts thermal stress anomaly features from multimodal data and configures benchmark defect samples based on the feature extraction results. The benchmark defect samples are assigned confidence weights. Defect matching analysis is performed based on the benchmark defect samples, the fitted crack skeleton, and the interface failure contour to establish the main defect identification result. Anomaly candidate point localization is performed based on the feature extraction results and the benchmark defect samples. Auxiliary defect identification results are established based on the anomaly localization results and the fitted crack skeleton and interface failure contour. Defect verification is performed on the main defect identification result and the auxiliary defect identification result based on independent defect detection items. The detection and identification results of thermal stress-induced cracks and interface bonding failure defects are then output. This method can solve problems in related technologies and has technical effectiveness.
[0050] As a specific implementation of this application, based on the basic scheme, it further specifies the configuration of benchmark defect samples based on feature extraction results, including: Using the fitted initial crack skeleton and interface failure contour as the search center, the feature extraction results are matched and located to establish the feature matching results; Select any three feature points from the feature matching results as reference sample points and perform defect contour / skeleton fitting; Based on the defect fitting results, the distribution of endogenous defect points and exogenous abnormal points is evaluated. The baseline sample points are iteratively updated based on the distribution evaluation. When any evaluation result meets the preset fitting confidence threshold, a baseline defect sample is established. Based on the baseline defect sample, the distribution of feature points in the feature matching results is analyzed, and a confidence weight label is established.
[0051] Specifically, using the fitted initial crack skeleton and interface failure contour as the search center, the feature extraction results are matched and located to establish the feature matching results. The initial crack skeleton is the crack centerline topology first fitted in the defect candidate region. It can be generated by using the Zhang-Suen thinning algorithm on the binary image of the defect candidate region, providing a preliminary geometric prior to the crack morphology and limiting the spatial range of feature matching. The interface failure contour is the boundary curve of the interface debonding or peeling region first extracted in the defect candidate region. It can be extracted from the multimodal fusion image through edge detection or level set methods, providing the initial geometric boundary of the interface failure region and constraining the feature matching region. The search center is a local spatial region jointly determined by the initial crack skeleton and the interface failure contour, specifically including the crack neighborhood search region, the interface boundary buffer, and the joint geometric guidance region. It can limit feature matching to physically reasonable potential defect regions and avoid global noise interference. The matching and localization process searches for local areas or points within the search center that are highly similar to the defect feature pattern. This can be achieved through template matching and sliding window scanning, or through local matching using SIFT feature descriptors. Finally, all successfully matched feature points and their corresponding feature vectors are summarized to form the feature matching results, providing a candidate set for subsequent selection of benchmark sample points.
[0052] Three feature points from the feature matching results are selected as baseline sample points for defect contour and skeleton fitting. The feature matching results are a set of matching points obtained by aligning the feature extraction results with the potential defect pattern within the search center, providing candidate feature locations for constructing baseline sample points. Baseline sample points are representative feature points selected from the feature matching results to initialize defect geometry fitting. They can serve as initial control points for defect contour or skeleton fitting, driving subsequent iterative optimization processes. The point selection process can choose the three points with the strongest feature response or the three points with the most dispersed spatial distribution to enhance fitting stability. Defect geometry reconstruction is initiated using a minimum sufficient set. Defect contour and skeleton fitting is based on fitting a continuous crack skeleton or interface failure contour curve using the baseline sample points. B-spline curves can be used to fit the interface contour, or graph neural networks can be used to optimize the crack skeleton topology, generating a structured defect geometry model that can be used for distribution evaluation.
[0053] Based on the defect fitting results, the distribution of intrinsic defect points and extrinsic anomalies is evaluated, and the baseline sample points are iteratively updated based on the distribution evaluation. Intrinsic defect points are feature points located within the fitted contour or skeleton that conform to the physical laws of defect evolution. They reflect the inherent structural consistency of real defects and are used to assess the fitting quality. Specifically, they include thermo-mechanical coupling response points, material interface continuity failure points, and stress concentration-derived points. Extrinsic anomalies are outliers located outside the fitted contour or skeleton or deviating from physical laws. They characterize abnormal signals caused by noise, artifacts, or non-defect factors. Specifically, they include sensor noise points, surface reflection artifact points, and assembly gap interference points. The distribution evaluation statistically analyzes the types and distribution density of feature points inside and outside the fitted model, and calculates evaluation indicators. This can be achieved by calculating the proportion of intrinsic points and the dispersion of extrinsic points, or by assessing the difference between the KL divergence of the point distribution and the ideal defect model, quantifying the current fitted model's ability to represent real defects. The iterative update process adjusts the combination of benchmark sample points based on the distribution evaluation results. If the evaluation does not meet the standard, sample points that lead to an increase in exogenous points are removed and endogenous feature points are added. The defect fitting is then re-executed to gradually approximate the geometric and statistical characteristics of the real defect.
[0054] If any evaluation result meets the preset fitting confidence threshold, a baseline defect sample is established. Based on this baseline defect sample, feature point distribution analysis is performed on the feature matching results to establish confidence weights. The preset fitting confidence threshold is a criterion used to determine whether the distribution evaluation results meet the conditions for establishing the baseline defect sample. It includes a geometric consistency threshold, a feature clustering density threshold, and an inside-outside point ratio threshold. This controls the reliability threshold of the baseline sample generation, preventing low-quality models from being adopted. Once the evaluation results meet the criteria, the final fitted contour or skeleton and its associated features are solidified as the baseline defect sample, stored in the sample library, and its feature vector is bound to ensure sufficient reliability. Feature point distribution analysis evaluates the consistency between each matching point and the baseline sample in spatial and feature dimensions. This can be achieved by calculating local point clustering based on kernel density estimation, or by using a graph attention mechanism to evaluate the strength of inter-point associations, assigning differentiated confidence to different matching points. The confidence weights are converted from the distribution analysis results into numerical weights and attached to the corresponding feature points. The weights can be generated in the range of 0 to 1 using softmax normalization, or they can be assigned based on the distance decay function. The weights of feature points close to the fitted contour can be higher than 0.8, while the weights of outliers on the edge can be lower than 0.3, which supports the priority adoption of high-confidence matches in the subsequent recognition process.
[0055] By using the initial geometric model as the search center to limit the matching range, and by iteratively optimizing the benchmark sample through three-point fitting combined with the distribution evaluation of inner and outer points, and generating an identifier with confidence weight, the problem of benchmark sample construction being susceptible to noise interference and uneven matching confidence in related technologies can be solved, thereby achieving the technical effect of improving the accuracy of benchmark defective samples and the anti-interference ability of the matching process.
[0056] As a specific implementation of this application, based on the basic scheme, it further limits the selection of any three feature points within the feature matching result as reference sample points, and performs defect contour / skeleton fitting, including: The fitted initial crack skeleton and interface failure contour are adaptively expanded in space, and the proportion of feature points in the feature matching results within the adaptive space expansion window is recorded. When the proportion of feature points meets the preset threshold, spatial expansion stops, and benchmark sample points are selected according to the current adaptive spatial expansion window. Defect contour / skeleton fitting is then performed based on the selected benchmark sample points.
[0057] Specifically, the fitted initial crack skeleton and interface failure contour undergo adaptive spatial expansion. Adaptive spatial expansion is a dynamic process of gradually expanding the search area outward from the initial crack skeleton and interface failure contour as the center. It dynamically adjusts the modeling area range based on local feature density, avoiding insufficient coverage or noise overload problems caused by a fixed window. The expansion process can employ morphological dilation operations to expand the binary skeleton and contour in multiple rounds, or it can expand layer by layer along the skeleton normal to generate a buffer zone, or perform anisotropic expansion based on the geodesic distance of the interface contour. In high-curvature regions, the expansion step size is reduced to preserve details, dynamically constructing an analysis area that matches the actual impact range of the defect. In actual detection, the analysis range can be gradually expanded by 0.2 mm per round along the skeleton normal. The adaptive spatial expansion window is a dynamic spatial region formed during the expansion process, containing the initial geometric model and its neighborhood. It serves as an effective domain for feature point statistics and benchmark sample point selection, ensuring that features within the region have physical relevance. Specifically, it can be divided into skeleton normal expansion windows, interface equidistant buffer windows, and joint geometric expansion windows.
[0058] The feature point percentage of the feature matching results within the adaptive spatial expansion window is recorded. This percentage represents the proportion of points belonging to the feature matching results within the adaptive spatial expansion window relative to the total number of sampling points or candidate points in that window. It quantifies the density of effective signals within the current expansion area and serves as a basis for stopping expansion. The percentage can be calculated by comparing the number of matching points in the current window with the total number of grid samples within the window, or by evaluating the coverage density of matching points in the local feature map. This allows for real-time assessment of the information effectiveness in the current area, providing a quantitative basis for terminating expansion. For example, in the detection scenario of aluminum alloy-carbon steel dissimilar welded joints in rail transit, the feature matching point percentage in the first round of expansion window is 45%, and the percentage of effective feature points gradually increases as the expansion range expands.
[0059] When the proportion of feature points meets the preset threshold, spatial expansion stops, and benchmark sample points are selected based on the current adaptive spatial expansion window. Defect contour and skeleton fitting are then performed based on the selected benchmark sample points. The preset threshold is a standard used to determine whether the proportion of feature points reaches an acceptable level. It can be adjusted according to the application scenario, including a low-density threshold suitable for high-noise scenarios, a medium-density threshold for general operating conditions, and a high-density threshold for scenarios requiring high precision. The current feature point proportion is compared with the preset threshold; if the threshold is met, the window boundary is frozen to prevent over-expansion from introducing irrelevant noise and ensure sufficient signal-to-noise ratio in the subsequent selected area. During the selection of benchmark sample points, points located in areas with high feature response intensity can be prioritized, or a combination of three points with the most dispersed spatial distribution and satisfying the minimum angle constraint can be selected to improve the spatial coverage and physical consistency of the benchmark sample points. Based on the optimized benchmark sample points, the crack skeleton or interface failure contour is reconstructed. B-spline curves can be used to fit the interface contour, or a refinement algorithm can be used to optimize the crack skeleton morphology, resulting in a geometric model that more closely matches the actual defect morphology, providing a reliable geometric basis for subsequent analysis. Using the aforementioned detection scenario example, when expanding to the second round, the proportion of feature points rises to 68%. Once the preset threshold of 60% is met, the expansion stops. In the final window, the optimal three points are selected from 32 matching points to complete the fitting. The resulting crack skeleton can more accurately reflect the actual microcrack direction and avoid the deviation caused by local noise in the initial point selection.
[0060] By adopting adaptive spatial expansion to dynamically adjust the modeling area, controlling the expansion boundary by combining the proportion of feature points, and selecting benchmark sample points within the optimization window to perform defect geometric fitting, this embodiment can solve the problems in related technologies where fixed search windows are prone to insufficient coverage or noise overload, and initial point selection is easily affected by local noise, leading to fitting deviations. This achieves the technical effect of improving the accuracy of defect geometric fitting and the reliability of benchmark sample modeling.
[0061] As a specific implementation of this application, based on the basic scheme, it further specifies that the distribution evaluation of endogenous defect points and exogenous anomaly points is performed according to the defect fitting results, and the baseline sample points are iteratively updated according to the distribution evaluation, including: Establish the reference direction vector of the reference defect profile / skeleton based on the defect fitting results; Distance and orientation constraints are used to update sample points using distributed evaluation configuration; Based on the reference direction vector, distance constraints, and direction constraints, iterative selection of reference sample points is performed within the current adaptive space expansion window.
[0062] Specifically, a reference direction vector is established for the baseline defect profile and skeleton based on the defect fitting results. The baseline defect profile and skeleton are reference geometric structures reconstructed from the current optimal baseline sample points using a curve fitting algorithm. They can characterize the geometric shape of the real defect and provide a structured basis for direction vector extraction. Commonly used fitting algorithms include B-spline curve fitting and graph topology optimization. The reference direction vector is a unit vector extracted from the defect profile or skeleton. It is used to characterize the main expansion direction of the defect or the interface failure path. It can provide geometric guidance for the iterative selection of baseline sample points and constrain the distribution of candidate points along physically reasonable directions. The reference direction vector can be obtained by performing principal component analysis on the profile or skeleton and taking the direction of the first principal component, or by performing integral averaging on the tangent direction of the skeleton. Specifically, it can be divided into types such as crack main expansion vector, interface peeling main vector, and local curvature weighted direction vector. For example, in the inspection of aluminum-copper laser welded joints in new energy vehicle battery trays, a slightly curved interface failure profile is initially fitted. Through principal component analysis, its reference direction vector is calculated to be deflected by 8° along the weld length direction.
[0063] Distance and directional constraints are used to update configuration sample points based on distribution evaluation. Distance constraints are geometric boundary conditions that limit the maximum permissible radial offset between candidate reference sample points and the current reference defect profile or skeleton. This prevents selected points from deviating excessively from the actual defect area and suppresses interference from exogenous anomalies. A fixed Euclidean distance upper limit can be used, or the permissible offset radius can be dynamically adjusted based on local curvature. Directional constraints are azimuthal constraints that limit the maximum permissible angular deviation of candidate reference sample points relative to the reference direction vector. This ensures that newly selected points are distributed along the main direction of defect evolution, avoiding the misadoption of lateral noise points. A fixed acceptable angle range can be set, or the directional tolerance zone can be dynamically adjusted based on thermal stress field simulation results. The configuration process sets constraint parameters based on the statistical results of the dispersion of endogenous defect point clusters and exogenous anomalies. If exogenous anomalies are concentrated in distant regions, the distance constraint is tightened; if endogenous defect points exhibit strong directionality, the directional constraint angle is reduced. Using the aforementioned aluminum-copper welding inspection scenario, the distribution evaluation showed that exogenous anomalies mostly appeared in areas where the distance from the contour was greater than 0.5 mm and the direction angle exceeded ±40°. Therefore, the distance constraint was set to 0.4 mm and the direction constraint to ±30° to filter feature points in high interference areas.
[0064] Iterative selection of benchmark sample points is performed within the current adaptive spatial expansion window based on the reference direction vector, distance constraints, and orientation constraints. The current adaptive spatial expansion window is the converged optimization space region determined in the previous steps, providing a spatial boundary for the iterative selection of benchmark sample points and ensuring that all candidate points are within a high signal-to-noise ratio region. The point selection process can employ a sector-ring intersection region in polar coordinates with the reference direction as the polar axis to filter candidate points, or it can construct an orientation-distance joint mask, perform Boolean filtering on the feature matching results, and then retain only feature matching points that simultaneously satisfy both distance and orientation constraints. From these, three points are selected as new benchmark sample points. Through controlled and directional iterative point selection, the newly fitted contour more closely fits the real weakly bound region, avoiding interference from lateral artifacts such as surface oxide spots. The final generated confidence weight label can assign lower weights to low-response edge points, significantly reducing the false alarm rate.
[0065] By establishing a benchmark direction vector based on the defect fitting results and combining it with distribution evaluation to generate dual constraints of distance and direction, the benchmark sample points are iteratively optimized within a limited window. This solves the problems in related technologies where the benchmark sample point update lacks geometric guidance and is easily affected by external anomalies, leading to fitting deviations. It achieves the technical effect of improving the fitting accuracy of the defect geometric model and enhancing the noise resistance of the benchmark samples.
[0066] As a specific implementation of this application, based on the basic scheme, it further specifies that defect matching analysis is performed based on the benchmark defect sample, the fitted crack skeleton and the interface failure contour to establish the main defect identification result, including: The feature vectors of the benchmark defect sample, the fitted crack skeleton and the interface failure contour are obtained respectively. Calculate feature similarity based on feature vectors to generate feature consistency scores; Project all feature points of the benchmark defect sample onto the direction vector of the fitted contour / skeleton, and calculate the spatial offset distance for each feature point; A spatial distribution consistency score is generated based on the calculation results of all spatial offset distances using the defect scoring channel; Confidence weights are constructed based on confidence weight identifiers, and main defect identification results are established based on confidence weights, feature consistency scores, and spatial distribution consistency scores.
[0067] Specifically, feature vectors are obtained for the baseline defect sample, the fitted crack skeleton, and the interface failure contour. The fitted crack skeleton is a one-dimensional topological structure obtained after extracting the centerline of the detected crack region. It serves as a geometric reference in the main defect matching analysis and is used to compare its morphological and spatial consistency with the baseline sample. Feature vectors are multi-dimensional numerical representations obtained by quantifying the three types of objects. They can characterize the computable features of defects in terms of morphology, texture, or physical response, supporting similarity measurement. Specifically, they cover categories such as geometric shape feature vectors, multimodal response feature vectors, and topological structure feature vectors. The acquisition process uses Fourier descriptors to extract contour shape features and uses a graph neural network to encode the crack skeleton topological structure, providing a unified and comparable feature representation for subsequent similarity calculations.
[0068] Feature similarity is calculated based on feature vectors to generate a feature consistency score. The feature consistency score is a quantitative indicator reflecting semantic or morphological consistency, calculated based on feature vector similarity. It measures the closeness between the currently detected defect and the benchmark sample in the feature space, serving as one of the criteria for defect discrimination. The calculation process can use cosine similarity to generate the corresponding score, or it can use Mahalanobis distance to consider the feature covariance structure for measurement, ultimately obtaining a quantitative criterion reflecting semantic or morphological consistency.
[0069] The process involves projecting all feature points of the baseline defect sample onto the direction vector of the fitted contour or skeleton, and calculating the spatial offset distance for each feature point. The direction vector is a set of unit vectors defined along the local tangent direction of the fitted crack skeleton or interface failure contour, providing a local coordinate reference for feature point projection. Specifically, it includes the skeleton tangent vector, contour normal vector, and local principal direction vector. The feature points of the baseline defect sample include key location points such as endpoints, inflection points, and bifurcation nodes, reflecting typical defect morphology. The projection process involves orthogonally projecting each feature point along the local direction vector to determine its corresponding position on the fitted structure. Then, the Euclidean distance between the projected point and the original position of the baseline feature point is calculated to quantify local geometric deviations and reveal minute but structurally significant deformations.
[0070] A spatial distribution consistency score is generated using a defect scoring channel based on the calculation results of all spatial offset distances. This channel maps multiple spatial offset distances to a single consistency score, achieving a transformation from local bias to global score, supporting robust geometric matching. It can employ a weighted average combined with outlier suppression strategies, or eliminate large offset interference by truncating the mean and then averaging, or construct a Gaussian process model to evaluate the overall distribution fit. The spatial distribution consistency score is an overall geometric matching index generated based on the aggregation of all spatial offset distances. It reflects the consistency of the overall defect morphology in spatial distribution with the benchmark sample, capturing systematic deformation.
[0071] Confidence weights are constructed based on confidence weight identifiers. The main defect identification result is then established based on these confidence weights, feature consistency scores, and spatial distribution consistency scores. The confidence weights, derived from the confidence weight identifiers, map the confidence labels attached to baseline defect samples to numerical weights within the range of 0 to 1. This allows adjustment of the contribution of baseline defect samples when fusing multiple scores, ensuring that high-confidence samples have a greater weight in the final decision. The result establishment process involves weighted fusion of the three scores. If the comprehensive score exceeds a preset threshold, the existence of the defect is confirmed, and its type and location are output. Alternatively, a logistic regression model can be used to integrate the three scores for binary classification, achieving multi-dimensional evidence fusion. For example, in the scenario of inspecting welds of titanium-steel dissimilar joints in aerospace, the benchmark defect sample is a high-confidence bifurcated crack sample with a confidence weight of 0.92. The calculated feature consistency score is 0.85, and the spatial offset distance of each feature point is less than 0.15mm. The spatial distribution consistency score generated by the defect scoring channel is 0.88. Finally, the weighted fusion results in a comprehensive score of 0.86, which exceeds the judgment threshold of 0.8. The system confirms that there are typical thermal stress-induced microcracks in this area.
[0072] By conducting defect matching analysis from two dimensions—feature similarity and spatial distribution consistency—and combining the confidence level weighted fusion to generate the main defect identification result, this approach can solve the problems of single defect matching dimension and indiscriminate discrimination weights for samples with different confidence levels in related technologies. This achieves the technical effect of improving the accuracy and robustness of the main defect identification result.
[0073] As a specific embodiment of this application, based on the basic scheme, it further defines the auxiliary defect identification results based on the anomaly localization results and the fitted crack skeleton and interface failure contour, including: Using the anomaly localization results, the offset distance between the anomaly candidate feature points and the fitted contour / skeleton is calculated, and an offset score is established. The evaluation features of the offset score include average offset and maximum offset. Obtain the proportion of abnormal candidate feature points to the total number of feature points, and establish an anomaly contribution score based on the proportion. Auxiliary defect identification results are established based on offset scores and abnormal contribution scores.
[0074] Specifically, the offset distances between candidate anomaly features and the fitted contour or skeleton are calculated using the anomaly localization results to establish an offset score. Candidate anomaly features, generated from the anomaly localization results, are local key points in the feature space or physical space that deviate from the normal pattern. These include thermal response outliers, acoustic scattering anomalies, and multimodal inconsistencies, which can serve as input for auxiliary identification channels to quantify the degree of anomaly in potential defect areas. The offset distance is the shortest Euclidean distance from the candidate anomaly feature to the nearest fitted crack skeleton line segment or interface failure contour boundary. The calculation can be performed point-to-point using the point-to-line distance formula or by quickly querying the nearest boundary distance using a distance transformation map, thus obtaining spatial deviation data of the anomaly point relative to the modeled defect structure. The offset score is constructed based on offset distance statistics, and the evaluation features include average offset and maximum offset. The average offset is the arithmetic mean of the offset distances of all candidate anomaly features, which characterizes the overall offset trend of the anomaly region and suppresses the interference of individual noise points. The maximum offset is the maximum value among the offset distances of all candidate anomaly features, which captures the most significant local anomalies and reflects the location of potentially serious defects. The two types of features are combined linearly or mapped nonlinearly to generate a comprehensive offset score, which quantifies the overall severity of the deviation of the abnormal area in geometric space. For example, in the scenario of inspecting the weld of the aluminum alloy-carbon steel dissimilar joint in rail transit, the average offset of 12 candidate abnormal feature points is 0.18 mm, the maximum offset is 0.35 mm, and the offset score generated based on this is 0.72.
[0075] The proportion of candidate anomaly feature points to the total number of feature points is obtained, and an anomaly contribution score is established based on this proportion. The total number of feature points is the total number of all feature points used for geometric modeling and anomaly analysis within the current sub-region to be detected, serving as the benchmark for calculating the anomaly proportion and supporting the assessment of anomaly coverage breadth. The proportion is the ratio of the number of candidate anomaly feature points to the total number of feature points, which measures the density and systematic nature of anomalies in spatial distribution. The anomaly contribution score is generated based on the proportion mapping, ranging from 0 to 1, reflecting whether the anomaly possesses regional characteristics, avoiding false alarms caused by isolated noise points, and enhancing sensitivity to diffuse early failures. Using the aforementioned detection scenario, the total number of feature points in this region is 60, the proportion of candidate anomaly feature points is 20%, corresponding to an anomaly contribution score of 0.68.
[0076] The system establishes auxiliary defect identification results based on offset scores and abnormal contribution scores. The fusion process can employ a weighted summation combined with a preset threshold for judgment, or a lightweight classifier can be constructed to complete the fusion judgment. If the overall score exceeds the preset threshold, an auxiliary defect is confirmed, and the corresponding location and type are output. Using the aforementioned detection scenario, the weighted fusion score of the two scores is 0.70, exceeding the preset threshold of 0.65 for the auxiliary channel. The system outputs the auxiliary defect identification result of potential weak interface bonding and marks it as an item requiring re-inspection, successfully providing an early warning of an early debonding region that has not yet expanded but has the risk of evolution.
[0077] By constructing a quantitative scoring system based on two dimensions—geometric offset degree and anomaly coverage breadth—and integrating it to generate auxiliary defect identification results, this approach can solve the problems of high early-stage weak defect false alarm rate and high false alarm rate of single judgment index in related technologies. This achieves the technical effect of improving the detection capability of atypical and early-stage defects and reducing the false alarm rate.
[0078] As a specific implementation of this application, based on the basic scheme, it further defines the defect verification based on the main defect identification results and auxiliary defect identification results according to independent defect detection items, and outputs the detection and identification results of thermal stress-induced cracks and interface bonding failure defects, including: The true defect result is obtained by fusing the main defect identification result and the auxiliary defect identification result. The system utilizes the independent detection items of each sub-region to be detected to call the corresponding defect judgment index for the classification and verification of the actual defect results, and outputs the detection and identification results of thermal stress-induced cracks and interface bonding failure defects.
[0079] Specifically, the true defect result is obtained by fusing the primary defect identification result and the auxiliary defect identification result. The true defect result is a comprehensive defect judgment output generated by fusing the primary defect identification result and the auxiliary defect identification result. It can integrate high-confidence typical defects and potential weak anomaly information to form a more complete and robust defect characterization, including consistent fusion results, complementary fusion results, and conflict arbitration results. During the fusion process, the primary and auxiliary defects with spatial overlap are merged by confidence weighting, while the non-overlapping parts retain their respective output results. Alternatively, a rule engine can be used to prioritize the primary defect identification result and supplement the auxiliary defect identification result in the areas not covered by it, thereby balancing the accuracy of typical defect identification and the sensitivity of early anomaly detection and improving the completeness of defect coverage.
[0080] The system utilizes independent detection items for each sub-region to be inspected, calling corresponding defect judgment indicators to classify and verify the actual defect results. Each sub-region is mapped one-to-one with an independent defect detection item and its corresponding defect judgment indicator. The defect judgment indicator is a pre-defined set of quantitative criteria for the material combination, process history, and geometric characteristics of a specific sub-region. These criteria can be extracted from a process knowledge base or historical quality data and structured and encapsulated. Specific indicators include crack length threshold indicators, interface debonding area ratio indicators, and thermal response anomaly duration indicators. The verification process, based on the independent defect detection items bound to the sub-region, retrieves and applies their associated defect judgment indicators to verify the actual defect results item by item. Results that do not conform to the region's defect type are filtered through rule matching, and threshold comparison is used to determine whether the defect meets the valid standard. For example, in the inspection of aluminum alloy-steel dissimilar joints in rail transit bogies, the fusion zone is configured with an interface debonding detection item, with a corresponding interface debonding area ratio threshold of 5%; the transition zone is configured with a microcrack detection item, with a corresponding crack equivalent length threshold of 0.3mm. After verification, it was found that the debonding area of the fusion zone interface reached 7%, which was judged as a failure defect. The abnormal points in the transition zone were directly filtered out because the geometric fitting showed that there was no complete crack skeleton and the equivalent length was less than the threshold. This achieves regional customized verification and avoids misjudgment and omission of general criteria in the case of dissimilar material interfaces.
[0081] After classification and verification, the system outputs the detection and identification results of thermal stress-induced cracks and interface bonding failure defects. The verified actual defect results are categorized by defect type and output in a structured manner, forming a standardized inspection report containing defect type, location, geometric parameters, and confidence level information. This report provides data support for quality assessment, rework decisions, and process feedback.
[0082] By integrating the primary and secondary identification results to obtain a complete and accurate defect result, and then combining the independent detection items of each sub-region with the corresponding judgment indicators to perform classification verification, this approach can solve the problems of lack of regional specificity in defect judgment and the tendency of general judgment criteria to cause misjudgment or omission in related technologies. This achieves the technical effect of improving the scientific nature of defect judgment and the reliability of output results.
[0083] Figure 2 This is a schematic diagram of the structure of a dissimilar material welding defect identification device provided in an embodiment of this application, as shown below. Figure 2 As shown, it includes: Configuration module 201 is configured to call the design model and process file of the dissimilar material welded component, perform inspection area division according to the design model, configure M sub-areas to be inspected, and configure independent defect detection items for the M sub-areas to be inspected based on the process file; The execution module 202 is configured to activate the multimodal sensing module configured at the inspection station. When any dissimilar welded component to be inspected is transmitted to the target inspection station, multimodal data sampling is performed to construct a multimodal fusion inspection dataset. After performing heterogeneous registration and denoising preprocessing on the multimodal fusion inspection dataset, defect candidate area localization is performed on M sub-regions to be inspected, and crack skeleton and interface failure contour are fitted respectively. Module 203 is configured to perform thermal stress anomaly feature extraction from multimodal data and configure benchmark defect samples based on the feature extraction results. The benchmark defect samples are assigned confidence weight labels. Defect matching analysis is performed based on the benchmark defect samples, the fitted crack skeleton and interface failure contour to establish the main defect identification results. Output module 204 is configured to perform anomaly candidate point supplementation and localization based on feature extraction results and benchmark defect samples, establish auxiliary defect identification results based on anomaly supplementation and localization results and fitted crack skeleton and interface failure contours, perform defect verification based on independent defect detection items for main defect identification results and auxiliary defect identification results, and output detection and identification results of thermal stress induced cracks and interface bonding failure defects.
[0084] It should be noted that other corresponding descriptions of the functional units involved in the dissimilar material welding defect identification device provided in this embodiment can be found in [reference needed]. Figure 1 The corresponding descriptions in [the document] will not be repeated here.
[0085] Based on the above, Figure 1 The method for identifying welding defects in dissimilar materials is illustrated. Correspondingly, this embodiment also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described method. Figure 1 This paper presents a method for identifying welding defects in dissimilar materials.
[0086] Based on the above, Figure 1 The embodiment illustrates a method for identifying welding defects in dissimilar materials. Correspondingly, this embodiment also provides a computer program product storing a computer program that, when executed by a processor, implements the aforementioned method. Figure 1 This paper presents a method for identifying welding defects in dissimilar materials.
[0087] Based on this understanding, the technical solution of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as CD-ROM, USB flash drive, mobile hard drive, etc.) and includes several instructions to cause a computer device (such as personal computer, server, or network device, etc.) to execute the methods of various implementation scenarios of this application.
[0088] Based on the above, Figure 1 A method for identifying welding defects in dissimilar materials is shown, and Figure 2 To achieve the above objectives, the present application also provides an electronic device, such as a personal computer or a server, in the illustrated virtual device embodiment. This device includes a storage medium and a processor; the storage medium stores a computer program; the processor executes the computer program to implement the above-described virtual device. Figure 1 This paper presents a method for identifying welding defects in dissimilar materials.
[0089] In some embodiments, the aforementioned physical device may further include a user interface, a network interface, a camera, radio frequency (RF) circuitry, sensors, audio circuitry, a Wi-Fi module, etc. The user interface may include a display screen, an input unit such as a keyboard, etc., and optionally, a USB interface, a card reader interface, etc. In some embodiments, the network interface may include a standard wired interface, a wireless interface (such as a Wi-Fi interface), etc.
[0090] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the aforementioned physical device, supporting the operation of information processing programs and other software and / or programs. The network communication module is used to enable communication between the various components within the storage medium, as well as communication with other hardware and software in the information processing physical device.
[0091] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.
[0092] The above are merely specific embodiments of this application, enabling those skilled in the art to understand or implement this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to these embodiments, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for identifying welding defects in dissimilar materials, characterized in that, include: The design model and process file of the dissimilar material welded component are called, the inspection area is divided according to the design model, M sub-areas to be inspected are configured, and independent defect detection items of the M sub-areas to be inspected are configured based on the process file. Activate the multimodal sensing module configured at the inspection station. When any dissimilar welded component to be inspected is transmitted to the target inspection station, perform multimodal data sampling to construct a multimodal fusion inspection dataset. After performing heterogeneous registration and denoising preprocessing on the multimodal fusion inspection dataset, perform defect candidate area localization for the M sub-regions to be inspected, and fit the crack skeleton and interface failure contour respectively. Perform thermal stress anomaly feature extraction on multimodal data, and configure benchmark defect samples based on the feature extraction results. The benchmark defect samples are set with confidence weight labels. Perform defect matching analysis based on the benchmark defect samples, the fitted crack skeleton and interface failure contour, and establish the main defect identification result. Perform anomaly candidate point localization based on the feature extraction results and the benchmark defect sample, establish auxiliary defect identification results based on the anomaly localization results and the fitted crack skeleton and interface failure contour; perform defect verification of the main defect identification results and the auxiliary defect identification results based on the independent defect detection items, and output the detection and identification results of thermal stress induced cracks and interface bonding failure defects.
2. The method for identifying welding defects in dissimilar materials according to claim 1, characterized in that, The configuration of benchmark defect samples based on feature extraction results includes: Using the fitted initial crack skeleton and interface failure contour as the search center, the feature extraction results are matched and located to establish the feature matching results; Select any three feature points from the feature matching results as reference sample points and perform defect contour / skeleton fitting; Based on the defect fitting results, the distribution of endogenous defect points and exogenous abnormal points is evaluated. The baseline sample points are iteratively updated based on the distribution evaluation. When any evaluation result meets the preset fitting confidence threshold, the baseline defect sample is established. Based on the baseline defect sample, the feature point distribution analysis in the feature matching results is performed, and a confidence weight label is established.
3. The method for identifying welding defects of dissimilar materials according to claim 2, characterized in that, The selected feature matching results are used as any three feature points as reference sample points to perform defect contour / skeleton fitting, including: The fitted initial crack skeleton and the interface failure contour are adaptively expanded in space, and the proportion of feature points in the feature matching result within the adaptive space expansion window is recorded. When the proportion of feature points meets the preset threshold, spatial expansion stops, and benchmark sample points are selected according to the current adaptive spatial expansion window. Defect contour / skeleton fitting is then performed based on the selected benchmark sample points.
4. The method for identifying welding defects in dissimilar materials according to claim 2, characterized in that, The step of evaluating the distribution of endogenous defect points and exogenous anomaly points based on the defect fitting results, and iteratively updating the baseline sample points based on the distribution evaluation, includes: A reference direction vector for the reference defect profile / skeleton is established based on the defect fitting results; The distribution is used to evaluate the distance and direction constraints for updating sample points; Based on the reference direction vector, the distance constraint, and the direction constraint, iterative selection of reference sample points is performed within the current adaptive space expansion window.
5. The method for identifying welding defects in dissimilar materials according to claim 1, characterized in that, The step of performing defect matching analysis based on the benchmark defect sample, the fitted crack skeleton, and the interface failure contour to establish the main defect identification result includes: The feature vectors of the benchmark defect sample, the fitted crack skeleton, and the interface failure contour are obtained respectively. Calculate feature similarity based on the feature vectors to generate feature consistency scores; Project all feature points of the benchmark defect sample onto the direction vector of the fitted contour / skeleton, and calculate the spatial offset distance for each feature point; A spatial distribution consistency score is generated based on the calculation results of all spatial offset distances using the defect scoring channel; A confidence weight is constructed based on the confidence weight identifier, and the main defect identification result is established based on the confidence weight, the feature consistency score, and the spatial distribution consistency score.
6. The method for identifying welding defects in dissimilar materials according to claim 1, characterized in that, The process of establishing auxiliary defect identification results based on anomaly localization results and fitted crack skeleton and interface failure contours includes: Using the anomaly localization results, the offset distance between the anomaly candidate feature points and the fitted contour / skeleton is calculated respectively, and an offset score is established. The evaluation features of the offset score include average offset and maximum offset. Obtain the proportion of abnormal candidate feature points to the total number of feature points, and establish an anomaly contribution score based on the proportion. The auxiliary defect identification result is established based on the offset score and the abnormal contribution score.
7. The method for identifying welding defects in dissimilar materials according to claim 1, characterized in that, The defect verification based on the independent defect detection items, including the main defect identification result and the auxiliary defect identification result, outputs the detection and identification result of thermal stress-induced cracks and interface bonding failure defects, including: The true defect result is obtained by fusing the main defect identification result and the auxiliary defect identification result. The independent detection items of each sub-region to be detected are used to call the corresponding defect judgment index to classify and verify the actual defect results, and output the detection and identification results of thermal stress induced cracks and interface bonding failure defects.
8. A device for identifying welding defects in dissimilar materials, characterized in that, include: The configuration module is configured to call the design model and process file of the dissimilar material welded component, perform the detection area division according to the design model, configure M sub-regions to be detected, and configure independent defect detection items for the M sub-regions to be detected based on the process file; The execution module is configured to activate the multimodal sensing module configured at the inspection station. When any dissimilar welded component to be inspected is transmitted to the target inspection station, multimodal data sampling is performed to construct a multimodal fusion inspection dataset. After performing heterogeneous registration and denoising preprocessing on the multimodal fusion inspection dataset, defect candidate area localization is performed in M sub-regions to be inspected, and crack skeleton and interface failure contour are fitted respectively. A module is configured to perform thermal stress anomaly feature extraction from multimodal data and configure a benchmark defect sample based on the feature extraction results. The benchmark defect sample is assigned a confidence weight label. Defect matching analysis is performed based on the benchmark defect sample, the fitted crack skeleton and interface failure contour to establish the main defect identification result. The output module is configured to perform anomaly candidate point localization based on feature extraction results and the benchmark defect sample, establish auxiliary defect identification results based on the anomaly localization results and the fitted crack skeleton and interface failure contour, perform defect verification of the main defect identification results and the auxiliary defect identification results based on the independent defect detection items, and output the detection and identification results of thermal stress induced cracks and interface bonding failure defects.
9. An electronic device, characterized in that, include: At least one processor; and a memory communicatively connected to the at least one processor; The memory stores instructions that can be executed by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the dissimilar material welding defect identification method according to any one of claims 1-7.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, The computer instructions are used to cause the computer to execute the method for identifying welding defects in dissimilar materials according to any one of claims 1-7.
