A metallographic structure identification method based on multi-source data fusion
By employing a multi-source data fusion method for metallographic structure identification, combining visual and non-visual data, an AI model is trained to perform feature fusion, solving the problems of recognition accuracy and stability of a single visual solution, and achieving high-precision industrial inspection and real-time safety early warning.
Patent Information
- Application Number
- CN202611309316.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-27
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies for automatic identification of metallographic structures in metallic materials rely on a single vision-driven approach, which is susceptible to interference from sample preparation processes and lighting conditions. This makes it difficult to accurately distinguish between different structures and fails to fully utilize the metallurgical correlation of multi-source data, resulting in low identification accuracy and poor stability, thus failing to meet the high-precision testing requirements of industrial sites.
A multi-source data fusion method is adopted, combining visual and non-visual data to establish a comprehensive database of metallic materials. An AI recognition model is trained to perform feature fusion and prediction, including metallographic images, chemical composition, heat treatment process and mechanical property data. Through multimodal fusion and attention weighting, metallographic structure recognition and material mechanical property prediction are achieved.
It improves the accuracy and robustness of metallographic structure identification, meets the high-precision online inspection needs of industrial sites, realizes real-time detection and safety early warning without cloud computing power, adapts to changes in working conditions, and extends the system life cycle.
Smart Images

Figure CN123182828A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the interdisciplinary field of materials science, artificial intelligence and intelligent manufacturing, and specifically relates to a metallographic structure identification method based on multi-source data fusion. Background Technology
[0002] Currently, in the field of automatic identification of metallographic structures in metallic materials, existing technologies typically employ deep learning-based image processing schemes, using only a single metallographic image as input for feature extraction and classification. However, this single-vision-driven approach has significant technical limitations: on the one hand, the quality of metallographic image acquisition is easily affected by factors such as sample preparation processes, lighting conditions, and shooting environment, leading to feature distortion; on the other hand, different metallographic structures often exhibit visual morphological similarities, making accurate differentiation difficult based solely on image features. Furthermore, this approach severs the inherent physical and metallurgical correlation between material composition, processing, structure, and properties, failing to utilize non-visual prior knowledge such as chemical composition and heat treatment regimes to aid judgment. This results in large fluctuations in recognition accuracy and weak generalization ability under uneven sample distribution or complex working conditions, making it difficult to meet the demands of high-precision, high-reliability online detection in industrial settings.
[0003] Furthermore, existing identification schemes for multi-source information fusion are still not mature enough. Most of them can only simply splice features from different dimensions, without fully exploring the inherent metallurgical correlation between visual features and non-visual prior information. They cannot effectively leverage the role of multi-source data in improving identification accuracy, and still cannot solve the technical problems of low accuracy and poor stability in metallographic structure identification under complex working conditions. They cannot meet the actual application needs of high-precision online detection in industrial sites.
[0004] Therefore, we propose a metallographic structure identification method based on multi-source data fusion. Summary of the Invention
[0005] The present invention aims to at least solve one of the technical problems existing in the prior art, and to provide a metallographic structure identification method based on multi-source data fusion.
[0006] This invention provides a metallographic structure identification method based on multi-source data fusion, comprising the following steps: S1. Conduct metallographic microstructure tests on metal material samples with different strength levels and under different heat treatment conditions. Collect multi-source sample data for the same metal material sample. The multi-source sample data includes visual sample data and non-visual sample data. Obtain the metallographic microstructure category label and material mechanical property sample data that cannot be directly tested on-site corresponding to the multi-source sample data. Bind the visual sample data, the non-visual sample data, the metallographic microstructure category label, and the material mechanical property sample data to establish a comprehensive metal material database. S2. Using the visual sample data and the non-visual sample data as model inputs, and the metallographic structure category label and the material mechanical property sample data as supervision labels, train an AI recognition model based on the metal material full-element association database. This enables the AI recognition model to learn the multi-level nonlinear mapping law from the visual sample data and the non-visual sample data to the metallographic structure category, and from the visual sample data, the non-visual sample data, and the metallographic structure category to the material mechanical property prediction data. S3. Preprocess the visual feature data and non-visual feature data collected from the metal material to be tested on site, and input the preprocessed visual feature data and non-visual feature data into the trained AI recognition model; perform feature projection, feature stitching and attention weighted fusion on the visual feature data and non-visual feature data through the AI recognition model to obtain multimodal fusion recognition features; S4. Output metallographic structure identification results through the AI recognition model; based on the multimodal fusion recognition features and the metallographic structure identification results, output the material mechanical property prediction data; compare the material mechanical property prediction data with the preset safety threshold range corresponding to the metal material to be tested on site, determine and output the operation safety warning level according to the degree of deviation of the material mechanical property prediction data from the corresponding preset safety threshold range, and generate an evaluation report including the metallographic structure identification results and the material mechanical property prediction data.
[0007] Furthermore, the visual sample data includes metallographic image sample data; the non-visual sample data includes at least two of the following: chemical composition sample data, heat treatment process sample data, and material mechanical property sample data that can be directly detected on-site.
[0008] Furthermore, the visual feature data includes metallographic image feature data; the non-visual feature data includes at least two of the following: chemical composition feature data, heat treatment process feature data, and material mechanical property feature data that can be directly measured on-site.
[0009] Furthermore, the acquisition of the chemical composition characteristic data includes the following steps: Spectral images of different metal materials to be tested are acquired, and feature extraction is performed on the spectral images using a convolutional neural network to obtain spectral features. Based on the differences in spectral features between different metal materials, a chemical composition spectral line classification model is constructed using a machine learning algorithm. The chemical composition spectral line classification model is then used to analyze the spectral images of the metal materials to be tested in the field to obtain the chemical composition feature data.
[0010] Furthermore, in step S3, normalization processing is performed on the visual feature data and the non-visual feature data respectively.
[0011] Furthermore, in step S2, the training of the AI recognition model includes the following steps: The AI recognition model adopts a multi-branch feature extraction architecture, setting independent feature extraction branches corresponding to different modal data; the features output by each branch are merged into a common multimodal fusion layer; the output of the multimodal fusion layer is input to the metallographic structure classification and recognition head, and the output of the metallographic structure classification and recognition head and the output of the multimodal fusion layer are jointly input to the mechanical property prediction head; the AI recognition model uses a joint loss function to simultaneously constrain the metallographic structure classification task and the mechanical property prediction task.
[0012] Furthermore, the identification method also includes: exporting the trained AI identification model as a model file, deploying it to a local computing device, and building a localized deployment system; establishing a data communication interface between the localized deployment system and multiple sets of on-site detection equipment to receive the visual feature data and the non-visual feature data collected on-site.
[0013] Furthermore, the localized deployment system outputs the evaluation report based on the collected visual feature data and non-visual feature data, and outputs the corresponding level of operational safety warning according to the difference between the mechanical performance prediction data and the corresponding preset safety threshold range.
[0014] Furthermore, the identification method also includes: setting up a test bench, conducting tests on metal samples of known materials and evaluating the AI identification model, comparing the results with the dissection test, and verifying the accuracy of the metallographic structure identification results and material mechanical property prediction data output by the AI identification model.
[0015] Furthermore, the identification method further includes: acquiring the true metallographic structure category and true mechanical property value of the tested metallic material through dissection experiments or laboratory tests; comparing the true metallographic structure category with the metallographic structure identification result, and comparing the true mechanical property value with the predicted mechanical property data of the material, and calculating the mechanical property prediction deviation; when the metallographic structure identification result is inconsistent with the true metallographic structure category, or the mechanical property prediction deviation exceeds a preset threshold, expanding the corresponding labeled sample to the full-element association database of the metallic material, and fine-tuning the AI identification model; using an independent validation set to perform performance verification on the trained AI identification model, and replacing the locally deployed AI identification model after passing the verification.
[0016] The beneficial effects of this invention are as follows: 1. By integrating multi-source detection data from metallographic images, chemical composition, heat treatment processes, and mechanical properties, a correlation and correspondence relationship was established between the sample data of metallographic images, chemical composition, heat treatment processes, and mechanical properties, thus constructing a comprehensive and standardized database of all elements related to metallic materials. This database effectively compensates for the information loss caused by single visual sample data in cases of sample preparation defects, uneven illumination, or similar microstructures, by utilizing the prior physical metallurgical knowledge provided by non-visual sample data. It improves the accuracy and robustness of metallographic structure identification from a mechanistic perspective, overcoming the technical bottleneck of weak generalization ability in traditional pure visual solutions. 2. By constructing a standardized, all-element correlation database of metallic materials covering all aspects of "composition, process, microstructure, and properties," and training an AI recognition model based on this database, the model can learn the complex nonlinear coupling mapping relationships within the material. This not only enables accurate prediction of mechanical properties from on-site measurable data, but also ensures the security of industrial data and the real-time nature of detection through localized deployment, meeting the urgent needs of the petrochemical, energy, and power industries for online non-destructive testing and immediate safety early warning. 3. By introducing a laboratory dissection verification and on-site data feedback iteration mechanism, a closed-loop technical system of "verification-optimization-application" has been formed. This system ensures that the AI recognition model has a quantifiable accuracy benchmark before being put into practical application, and can continuously adapt to changes in working conditions and data drift during long-term operation, significantly extending the system's life cycle and engineering practical value; 4. By exporting the trained AI recognition model as a model file and deploying it to a local computing device, a localized deployment system is formed. This system enables an integrated approach that requires no cloud computing power, can run offline, provides real-time inference of on-site data, automatically generates performance reports, and provides intelligent early warning of abnormal operating conditions, thereby ensuring the security of industrial on-site data and the timeliness of detection. Attached Figure Description
[0017] Figure 1 This is a flowchart illustrating the steps of a metallographic structure identification method based on multi-source data fusion, according to a specific embodiment of the present invention. Detailed Implementation
[0018] To enable those skilled in the art to better understand the technical solution of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0019] like Figure 1As shown in the figure, a metallographic structure identification method based on multi-source data fusion provided by a specific embodiment of the present invention includes the following steps: S1, conducting metallographic structure tests on metal material samples with different strength levels and different heat treatment states, collecting multi-source sample data for the same metal material sample, the multi-source sample data including visual sample data and non-visual sample data, and obtaining metallographic structure category labels and material mechanical property sample data that cannot be directly detected on-site corresponding to the multi-source sample data; binding the visual sample data, the non-visual sample data, the metallographic structure category labels and the material mechanical property sample data accordingly to establish a metal material full-element association database; S2, using the visual sample data and the non-visual sample data as model input, and the metallographic structure category labels and the material mechanical property sample data as supervision labels, training an AI recognition model based on the metal material full-element association database, so that the AI recognition model learns to map the visual sample data and the non-visual sample data to the metallographic structure category, and to map the visual sample data and the non-visual sample data to the metallographic structure category, and to map the visual sample data and the non-visual sample data to the metallographic structure category, and to learn ... The non-visual sample data and the metallographic structure category are mapped to the material mechanical property prediction data through a multi-level nonlinear mapping law; S3, the visual feature data and non-visual feature data collected from the metal material to be tested on site are preprocessed, and the preprocessed visual feature data and non-visual feature data are input into the trained AI recognition model; the AI recognition model performs feature projection, feature stitching and attention weighted fusion on the visual feature data and non-visual feature data to obtain multimodal fusion recognition features; S4, the metallographic structure recognition result is output through the AI recognition model; based on the multimodal fusion recognition features and the metallographic structure recognition result, the material mechanical property prediction data is output; the material mechanical property prediction data is compared with the preset safety threshold range corresponding to the metal material to be tested on site, and the operational safety warning level is determined and output according to the degree of deviation of the material mechanical property prediction data from the corresponding preset safety threshold range, and an evaluation report including the metallographic structure recognition result and the material mechanical property prediction data is generated.
[0020] Furthermore, the visual sample data includes metallographic image sample data; the non-visual sample data includes at least two of the following: chemical composition sample data, heat treatment process sample data, and material mechanical property sample data that can be directly detected on-site.
[0021] Furthermore, the visual feature data includes metallographic image feature data; the non-visual feature data includes at least two of the following: chemical composition feature data, heat treatment process feature data, and material mechanical property feature data that can be directly measured on-site.
[0022] Based on the above basic implementation method, multi-source data, including both visual and non-visual data, are collected simultaneously. Metallographic structure category labels and material mechanical property sample data that cannot be directly tested on-site are obtained corresponding to the multi-source sample data. Visual sample data, non-visual sample data, metallographic structure category labels, and material mechanical property sample data are bound together to construct an associated database. Simultaneously, using visual and non-visual sample data as model input and metallographic structure category labels and material mechanical property sample data as supervision labels, an AI recognition model is trained based on the comprehensive metal material associated database. This enables the AI recognition model to learn multi-level nonlinear mapping laws of "composition-process-structure-property" that transcend a single image dimension. Therefore, during on-site recognition, the multi-modal fusion mechanism effectively suppresses interference caused by image acquisition deviations, significantly improving the accuracy of the recognition results. The visual sample data and visual feature data are specifically carried by metallographic images, providing the model with a direct input source for core visual information such as the microstructure morphology, grain size, and phase distribution of the material. The material mechanical property related data in the non-visual sample data and non-visual feature data adopt key physical parameters that determine the evolution of the microstructure in materials science. Among them, the material mechanical property sample data that cannot be directly detected on site includes tensile strength and impact toughness, while the material mechanical property sample data and material mechanical property feature data that can be directly measured on site include hardness, which serve as auxiliary features to make up for the shortcomings of the pure visual scheme in distinguishing similar microstructures and enhance the model's ability to perceive the essential properties of materials.
[0023] Furthermore, the acquisition of the chemical composition feature data includes the following steps: acquiring spectral images of different metal materials to be tested, extracting features from the spectral images using a convolutional neural network to obtain spectral features; constructing a chemical composition spectral line classification model using a machine learning algorithm based on the differences in spectral features between different metal materials; and analyzing the spectral images of the metal materials to be tested on-site using the chemical composition spectral line classification model to obtain the chemical composition feature data.
[0024] In one specific implementation, the ability of deep learning to automatically mine spectral features was utilized to establish a high-precision component analysis channel, providing a reliable chemical component input basis for multi-source data fusion.
[0025] Furthermore, in step S3, normalization processing is performed on the visual feature data and the non-visual feature data respectively.
[0026] In one specific implementation, normalization eliminates the dimensional differences between multi-source heterogeneous data, ensuring the balance of feature weights and the convergence stability of model training during subsequent multimodal fusion.
[0027] Further, in step S2, the training of the AI recognition model includes the following steps: the AI recognition model adopts a multi-branch feature extraction architecture, setting independent feature extraction branches corresponding to different modal data; the features output by each branch are merged into a common multimodal fusion layer; the output of the multimodal fusion layer is input to the metallographic structure classification and recognition head, and the output of the metallographic structure classification and recognition head and the output of the multimodal fusion layer are jointly input to the mechanical property prediction head; the AI recognition model uses a joint loss function to simultaneously constrain the metallographic structure classification task and the mechanical property prediction task.
[0028] In another specific embodiment, a model architecture based on multi-branch feature extraction and dual-task collaborative reasoning is used to drive the AI recognition model to complete end-to-end deep training using a comprehensive metal material database. Leveraging the structural advantages of multimodal independent branch feature extraction, feature interaction in the multimodal fusion layer, and dual-task joint loss constraints, the model can actively learn and internalize the multi-level nonlinear mapping law between "composition-process-structure-property" of metal materials, overcoming the shortcomings of traditional metallographic recognition models that rely solely on surface visual features of images and have poor generalization. Through dual-task linkage constraints, the metallographic structure classification results are used to assist in the regression prediction of mechanical properties, achieving accurate extrapolation of the mechanical properties of unknown materials from multi-source data including measurable images, composition, and processes. Meanwhile, addressing the common problems of high noise interference, few labeled samples, and uneven sample distribution in industrial field data, data augmentation, transfer learning, and few-shot learning optimization strategies are integrated into the multi-branch model training process. Adaptive corrections are made to the feature extraction process and fusion weights of each modality, effectively improving the model's feature expression ability, recognition accuracy, and prediction robustness under complex working conditions. This breaks through the technical bottlenecks of traditional material mechanical property testing, which relies heavily on destructive dissection tests, has long testing cycles, high testing costs, and makes it difficult to achieve online safety assessment.
[0029] Furthermore, the identification method also includes: exporting the trained AI identification model as a model file, deploying it to a local computing device, and building a localized deployment system; establishing a data communication interface between the localized deployment system and multiple sets of on-site detection equipment to receive the visual feature data and the non-visual feature data collected on-site.
[0030] Furthermore, the localized deployment system outputs the evaluation report based on the collected visual feature data and non-visual feature data, and outputs the corresponding level of operational safety warning according to the difference between the mechanical performance prediction data and the corresponding preset safety threshold range.
[0031] In another specific embodiment, localized deployment addresses the issues of data privacy and security, as well as network latency, in industrial settings. This ensures real-time inference tasks can be completed even without cloud computing support, achieving a closed-loop function from organization identification to performance evaluation to security alerts. It directly serves operational decisions in industrial settings. When the difference between the predicted mechanical performance data and the corresponding preset safety threshold range meets different conditions, the system outputs corresponding levels of alert information: Specifically, when the difference exceeds the preset first-level alert threshold, it indicates that the mechanical performance of the component can no longer meet the requirements for safe operation on-site. The system will output the highest-level operational safety alert, reminding on-site maintenance personnel to immediately stop equipment operation and conduct defect investigation and component replacement. When the difference is between the preset safety threshold range and the first-level alert threshold, the system outputs a medium-level alert, reminding maintenance personnel to arrange special testing within a preset period to track performance change trends. When the difference does not exceed the preset safety threshold range, the system determines that the equipment is operating normally, only generates a mechanical performance evaluation report for archiving, and does not trigger alert pushes, ensuring on-site operational efficiency.
[0032] Furthermore, the identification method also includes: setting up a test bench, conducting tests on metal samples of known materials and evaluating the AI identification model, comparing the results with the dissection test, and verifying the accuracy of the metallographic structure identification results and material mechanical property prediction data output by the AI identification model.
[0033] In another specific embodiment, a dual verification mechanism of laboratory standard samples and destructive dissection tests provides a quantifiable confidence basis for the prediction accuracy of the AI recognition model, ensuring the reliability of the model before it goes online.
[0034] Furthermore, the identification method further includes: acquiring the true metallographic structure category and true mechanical property value of the tested metallic material through dissection or laboratory testing; comparing the true metallographic structure category with the metallographic structure identification result, and comparing the true mechanical property value with the predicted mechanical property data of the material, and calculating the mechanical property prediction deviation; when the metallographic structure identification result is inconsistent with the true metallographic structure category, or the mechanical property prediction deviation exceeds a preset threshold, expanding the corresponding labeled sample to the full-element association database of the metallic material, and fine-tuning the AI identification model; using an independent validation set to perform performance verification on the trained AI identification model, and replacing the locally deployed AI identification model after passing the verification.
[0035] In another specific embodiment, a continuous learning and updating mechanism for the model is constructed based on the closed-loop iterative process of sample expansion, bias correction, and fine-tuning updates described above. Leveraging the advantages of dynamic database expansion and offline ground truth correction, the locally deployed AI recognition model can adaptively iterate and evolve with the continuous accumulation of on-site working condition data and new material batch data. This effectively adapts to data distribution drift caused by batch fluctuations in metal materials, adjustments in heat treatment processes, and changes in service environment. It continuously corrects the model's multimodal fusion weights and dual-task mapping rules, constantly reducing prediction bias and steadily improving the model's generalization performance. This ensures the accuracy of metallographic recognition and the reliability of mechanical property prediction for different material grades, different process conditions, and different service environments, guaranteeing the long-term stable industrial application of the algorithm.
[0036] To aid in a better understanding of the present invention, a more comprehensive and specific embodiment is described. This embodiment uses online metallographic hardness testing of weld seams in heat-resistant steel for oil and gas pipelines as an application scenario. In this embodiment, the present invention provides a metallographic structure identification method based on multi-source data fusion, comprising the following steps: S1. Develop a localized deployment system based on DeepSeek for the trained AI recognition model; S2. Acquiring multi-source testing data for the metal material to be tested. At the online testing station after pipeline welding is completed, testing personnel simultaneously acquire four types of core data for the same testing area to ensure the spatiotemporal homogeneity and matching degree of the multi-source data. Specifically, visual feature data acquisition utilizes a portable on-site metallographic microscope. After on-site machine sample preparation, polishing, and etching, high-resolution metallographic images with a resolution of no less than 2000×1600 pixels are acquired at 500x magnification, providing visual feature input reflecting the microstructure morphology of the model. Non-visual feature data acquisition includes simultaneously determining the content of key alloying elements such as carbon, silicon, manganese, chromium, molybdenum, and vanadium in the same testing area using an on-site direct-reading spectrometer, serving as chemical composition feature data; automatically retrieving the entire post-weld heat treatment process parameters (such as heating rate, holding temperature, holding time, and cooling rate) of the weld joint through the welding process data management system, serving as heat treatment process feature data; and conducting multi-point Brinell hardness tests in the same area using a portable on-site hardness tester to obtain HBW values as mechanical property feature data.
[0037] S3. After preprocessing the visual and non-visual feature data collected on-site, perform multimodal fusion and input the data into the localized deployment system. Then, output an evaluation report and operational safety warning.
[0038] In step S1, this localized deployment system can receive multi-source data uploaded by on-site intelligent equipment in real time on the edge computing terminal without relying on cloud computing power or external network connections, and complete inference calculations within seconds. This localized deployment method not only completely eliminates the risk of leakage of sensitive industrial data, but also effectively avoids detection delays or interruptions caused by unstable on-site network signals, perfectly adapting to the actual working conditions where oil and gas pipeline laying or maintenance sites are often located in remote, network-free environments.
[0039] The evaluation report in step S3 not only includes the precise classification results of the metallographic structure (such as the proportion of tempered martensite and grain size grade), but also quantitatively predicts key mechanical properties such as tensile strength and impact toughness, and provides the prediction confidence level. Simultaneously, the system compares the prediction results with the safety threshold of the material under design conditions. If an abnormally high hardness indicates a risk of embrittlement, or a significant decrease in strength indicates overheating damage, a corresponding level of safety warning information is immediately generated.
[0040] Through the complete process described above, this embodiment demonstrates the ability of the technical solution of this application to be implemented in real industrial scenarios, proving that the multi-source data fusion method has significant advantages over a single visual recognition solution in terms of anti-interference capability, physical interpretability, and engineering practicality, and can effectively support online quality control and safe operation and maintenance decisions for critical pressure equipment such as oil and gas pipelines.
[0041] This multi-dimensional data synchronous acquisition mechanism fundamentally solves the problem of data fragmentation leading to the failure of correlation analysis in traditional methods, and provides a high-quality data foundation for subsequent multimodal fusion.
[0042] To ensure the reliability of multi-source data fusion, this embodiment rigorously verified the accuracy of the on-site hardness test data. Specifically, a standard heat-resistant steel test block with known hardness was selected as a benchmark. The test block was repeatedly tested at no fewer than 10 effective points under actual on-site working conditions, and the verification results were calculated using the relative error formula. The measured data showed that the relative hardness error at all test points was controlled within ±13%. This verification result demonstrates that even in complex industrial environments lacking constant temperature and humidity conditions in a laboratory, the collected mechanical property characteristic data still possesses sufficient confidence to meet the input data quality requirements of the multimodal fusion model. It avoids introducing systematic biases due to excessive errors from a single sensor, thereby ensuring the accuracy of subsequent AI recognition model inference results.
[0043] In summary, the embodiments disclosed herein have at least the following technical effects: 1. By integrating multi-source detection data from metallographic images, chemical composition, heat treatment processes, and mechanical properties, a correlation and correspondence relationship was established between the sample data of metallographic images, chemical composition, heat treatment processes, and mechanical properties, thus constructing a comprehensive and standardized database of all elements related to metallic materials. This database effectively compensates for the information loss caused by single visual sample data in cases of sample preparation defects, uneven illumination, or similar microstructures, by utilizing the prior physical metallurgical knowledge provided by non-visual sample data. It improves the accuracy and robustness of metallographic structure identification from a mechanistic perspective, overcoming the technical bottleneck of weak generalization ability in traditional pure visual solutions. 2. By constructing a standardized, all-element correlation database of metallic materials covering all aspects of "composition, process, microstructure, and properties," and training an AI recognition model based on this database, the model can learn the complex nonlinear coupling mapping relationships within the material. This not only enables accurate prediction of mechanical properties from on-site measurable data, but also ensures the security of industrial data and the real-time nature of detection through localized deployment, meeting the urgent needs of the petrochemical, energy, and power industries for online non-destructive testing and immediate safety early warning. 3. By introducing a laboratory dissection verification and on-site data feedback iteration mechanism, a closed-loop technical system of "verification-optimization-application" has been formed. This system ensures that the AI recognition model has a quantifiable accuracy benchmark before being put into practical application, and can continuously adapt to changes in working conditions and data drift during long-term operation, significantly extending the system's life cycle and engineering practical value; 4. By exporting the trained AI recognition model as a model file and deploying it to a local computing device, a localized deployment system is formed. This system enables an integrated approach that requires no cloud computing power, can run offline, provides real-time inference of on-site data, automatically generates performance reports, and provides intelligent early warning of abnormal operating conditions, thereby ensuring the security of industrial on-site data and the timeliness of detection.
[0044] It is understood that the above embodiments are merely exemplary implementations used to illustrate the principles of the present invention, and the present invention is not limited thereto. For those skilled in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.
Claims
1. A method for metallographic structure identification based on multi-source data fusion, characterized in that, Includes the following steps: S1. Conduct metallographic microstructure tests on metal material samples with different strength levels and under different heat treatment conditions. Collect multi-source sample data for the same metal material sample. The multi-source sample data includes visual sample data and non-visual sample data. Obtain the metallographic microstructure category label and material mechanical property sample data that cannot be directly tested on-site corresponding to the multi-source sample data. Bind the visual sample data, the non-visual sample data, the metallographic microstructure category label, and the material mechanical property sample data to establish a comprehensive metal material database. S2. Using the visual sample data and the non-visual sample data as model inputs, and the metallographic structure category label and the material mechanical property sample data as supervision labels, train an AI recognition model based on the metal material full-element association database. This enables the AI recognition model to learn the multi-level nonlinear mapping law from the visual sample data and the non-visual sample data to the metallographic structure category, and from the visual sample data, the non-visual sample data, and the metallographic structure category to the material mechanical property prediction data. S3. Preprocess the visual feature data and non-visual feature data collected from the metal material to be tested on site, and input the preprocessed visual feature data and non-visual feature data into the trained AI recognition model; perform feature projection, feature stitching and attention weighted fusion on the visual feature data and non-visual feature data through the AI recognition model to obtain multimodal fusion recognition features; S4. Output the metallographic structure identification result through the AI recognition model; based on the multimodal fusion recognition features and the metallographic structure identification result, output the predicted data of the material mechanical properties; The predicted mechanical properties of the material are compared with the preset safety threshold range corresponding to the metal material to be tested on site. The operational safety warning level is determined and output based on the degree of deviation of the predicted mechanical properties of the material from the corresponding preset safety threshold range. At the same time, an evaluation report including the metallographic structure identification results and the predicted mechanical properties of the material is generated.
2. The metallographic structure identification method based on multi-source data fusion according to claim 1, characterized in that, The visual sample data includes metallographic image sample data; the non-visual sample data includes at least two of the following: chemical composition sample data, heat treatment process sample data, and material mechanical property sample data that can be directly detected on-site.
3. The metallographic structure identification method based on multi-source data fusion according to claim 1, characterized in that, The visual feature data includes metallographic image feature data; the non-visual feature data includes at least two of the following: chemical composition feature data, heat treatment process feature data, and material mechanical property feature data that can be directly measured on-site.
4. The metallographic structure identification method based on multi-source data fusion according to claim 3, characterized in that, The acquisition of the chemical composition characteristic data includes the following steps: Spectral images of different metal material samples are collected, and feature extraction is performed on the spectral images using a convolutional neural network to obtain spectral features. Based on the differences in spectral features between different metal materials, a chemical composition spectral line classification model is constructed using a machine learning algorithm. The chemical composition spectral line classification model is then used to analyze the spectral images of the metal material samples in the field to obtain the chemical composition feature data.
5. The metallographic structure identification method based on multi-source data fusion according to claim 1, characterized in that, In step S3, normalization processing is performed on the visual feature data and the non-visual feature data respectively.
6. The metallographic structure identification method based on multi-source data fusion according to claim 1, characterized in that, In step S2, the training of the AI recognition model includes the following steps: The AI recognition model adopts a multi-branch feature extraction architecture, setting independent feature extraction branches corresponding to different modal data; The features output from each branch are merged into a common multimodal fusion layer; the output of the multimodal fusion layer is input to the metallographic structure classification and recognition head, and the output of the metallographic structure classification and recognition head and the output of the multimodal fusion layer are jointly input to the mechanical property prediction head; the AI recognition model uses a joint loss function to simultaneously constrain the metallographic structure classification task and the mechanical property prediction task.
7. The metallographic structure identification method based on multi-source data fusion according to claim 1, characterized in that, The identification method further includes: exporting the trained AI identification model as a model file, deploying it to a local computing device, and building a localized deployment system; establishing a data communication interface between the localized deployment system and multiple sets of on-site detection equipment to receive the visual feature data and the non-visual feature data collected on-site.
8. The metallographic structure identification method based on multi-source data fusion according to claim 7, characterized in that, The localized deployment system outputs the evaluation report based on the collected visual feature data and non-visual feature data, and outputs the corresponding level of operational safety warning according to the difference between the mechanical performance prediction data and the corresponding preset safety threshold range.
9. The metallographic structure identification method based on multi-source data fusion according to claim 1, characterized in that, The identification method further includes: setting up a test bench, conducting tests on metal samples of known materials and evaluating the AI identification model, comparing the results with the dissection test, and verifying the accuracy of the metallographic structure identification results and material mechanical property prediction data output by the AI identification model.
10. The metallographic structure identification method based on multi-source data fusion according to claim 9, characterized in that, The identification method further includes: acquiring the true metallographic structure category and true mechanical property value of the tested metallic material through dissection or laboratory testing; comparing the true metallographic structure category with the metallographic structure identification result, and comparing the true mechanical property value with the predicted mechanical property data of the material, and calculating the mechanical property prediction deviation; when the metallographic structure identification result is inconsistent with the true metallographic structure category, or the mechanical property prediction deviation exceeds a preset threshold, expanding the corresponding labeled sample to the full-element association database of the metallic material, and fine-tuning the AI identification model; using an independent validation set to perform performance verification on the trained AI identification model, and replacing the locally deployed AI identification model after passing the verification.
