Metal surface composition detection method, equipment, device and medium for titanium anode

By combining spectral detection, structural detection and surface feature analysis, the problem of traditional detection methods being unable to fully understand the titanium anode surface is solved, multi-dimensional detection of the titanium anode surface is achieved, the comprehensiveness and accuracy of the detection results are improved, and it is suitable for materials Performance evaluation and quality control.

CN118549617BActive Publication Date: 2024-10-22SHENZHEN IRETRON TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411013059.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-10-22
Estimated Expiration
2044-07-26

AI Technical Summary

Technical Problem

Traditional detection methods cannot take into account both depth and breadth when detecting the surface of titanium anodes, resulting in insufficient comprehensiveness and accuracy of detection results and inability to effectively ensure the quality and performance of titanium anodes.

Method used

Using a variety of detection methods, including spectral detection, structural detection and surface feature analysis, titanium anode samples are randomly collected, cleaned and then integrated and analyzed on the detection platform to generate the metal surface composition of spectral data, diffraction data and sample image data. Report.

Benefits of technology

It achieves all-round analysis of the titanium anode surface, improves the comprehensiveness and accuracy of the test results, ensures sample representativeness, shortens the test cycle, improves the test efficiency, and is suitable for material performance evaluation and quality control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118549617B_ABST
    Figure CN118549617B_ABST
Patent Text Reader

Abstract

The present invention relates to a metal surface component detection method, equipment, device and medium for titanium anode. The method comprises determining a to-be-detected area of ​​the titanium anode, collecting a specific number of titanium anode samples, performing cleaning treatment, and placing the titanium anode samples on a detection platform; performing spectral detection and structural detection respectively by a detection device to obtain spectral data and diffraction data, collecting sample image data of the titanium anode sample by an imaging device, and transmitting the spectral data, diffraction data and sample image data to a detection model; performing concentration analysis to obtain elemental component concentration data, performing spatial analysis to obtain sample structure data, performing feature analysis to obtain surface characteristic data; analyzing the elemental component concentration data, sample structure data and surface characteristic data to obtain component information, and performing comprehensive analysis and processing on all component information to obtain a metal surface component report of the titanium anode. The present invention can perform comprehensive and specific depth detection on the surface of the titanium anode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of metal surface component detection, and in particular to a metal surface component detection method, equipment, device and medium for titanium anode. Background Art

[0002] In the field of high-end manufacturing and materials science, titanium anodes play a vital role in industries such as aerospace, chemical industry, electroplating and desalination due to their excellent corrosion resistance, high strength and biocompatibility. Ensuring the quality and performance of titanium anodes, especially the precise control of their metal surface composition, is the key to improving overall equipment efficiency and extending service life. Traditional detection methods often focus on a single detection method, resulting in insufficient comprehensive understanding of the titanium anode surface, making it difficult to take into account both the depth and breadth of detection, affecting the comprehensiveness and accuracy of the test results. Summary of the invention

[0003] The main purpose of the present invention is to provide a method, equipment, device and medium for detecting the metal surface composition of titanium anode, which combines multiple detection means to perform comprehensive and specific depth detection on the surface of titanium anode.

[0004] To achieve the above object, the present invention provides a method for detecting metal surface components of a titanium anode, comprising:

[0005] Determine the area to be inspected of the titanium anode, randomly collect a specific number of titanium anode samples from the area to be inspected, clean all the titanium anode samples, and place the cleaned titanium anode samples on the inspection platform;

[0006] Perform spectral detection and structural detection on the titanium anode sample respectively through the detection equipment of the detection platform to obtain spectral data and diffraction data, collect sample image data of the titanium anode sample through the imaging equipment of the detection platform, and transmit all spectral data, diffraction data and sample image data to the detection model preset in the detection platform;

[0007] Through the detection model, the spectral data is analyzed for concentration to obtain elemental composition concentration data, the diffraction data is analyzed for space to obtain sample structure data, and the sample image is analyzed for features to obtain surface characteristic data;

[0008] The elemental composition concentration data, sample structure data and surface characteristic data are analyzed to obtain the composition information of the corresponding single titanium anode sample. All the composition information is comprehensively analyzed and processed to obtain the metal surface composition report of the titanium anode.

[0009] Furthermore, the step of determining the area to be inspected of the titanium anode, randomly collecting a specific number of titanium anode samples from the area to be inspected, cleaning all the titanium anode samples, and placing the cleaned titanium anode samples on the inspection platform includes:

[0010] Performing a usage characteristic analysis on the titanium anode to obtain usage characteristic data, determining the area to be detected based on the usage characteristic data, wherein the area to be detected includes but is not limited to a central area, an edge area, and a chemical area experiencing different electrochemical behaviors of the titanium anode, and randomly collecting a specific number of titanium anode samples from the area to be detected based on a preset sampling rule;

[0011] All the titanium anode samples collected are subjected to ultrasonic cleaning and oil removal treatments in turn, and the number of tiny particles on the surface of all titanium anode samples and the thickness of the surface oxide layer are tested to see if they meet the preset cleaning requirements. When any data does not meet the cleaning requirements, the titanium anode samples are re-cleaned accordingly. When all data meet the cleaning requirements, the surface integrity of the titanium anode samples is tested to see if it meets the cleaning requirements. When it meets the cleaning requirements, the titanium anode samples are placed in the test position on the testing platform.

[0012] Furthermore, the detection equipment of the detection platform performs spectrum detection and structure detection on the titanium anode sample to obtain spectrum data and diffraction data, and the imaging equipment of the detection platform collects sample image data of the titanium anode sample, including:

[0013] The spectral data are obtained by controlling the ray source of the detection device to emit X-rays to the titanium anode sample, collecting the fluorescence spectrum data generated by the titanium anode sample after receiving the X-rays, and controlling the synchrotron radiation light source of the detection device to emit synchrotron radiation to the titanium anode sample, collecting the radiation spectrum data generated by the titanium anode sample after receiving the synchrotron radiation, and integrating the fluorescence spectrum data and the radiation spectrum data;

[0014] Controlling the ray source of the detection device to emit X-rays to the titanium anode sample, and detecting the scattering data of the X-rays on the titanium anode sample in real time, analyzing the detected scattering data to obtain lattice spacing data, crystal phase composition data and crystallinity data, and integrating the lattice spacing data, crystal phase composition data and crystallinity data to obtain the diffraction data;

[0015] The imaging device is used to collect a microscopic morphological feature image of the titanium anode sample, and a nanoscale surface morphology scan is performed on the titanium anode sample to obtain height data and roughness data. The microscopic morphological feature image is integrated and processed based on the height data and roughness data to obtain the sample image.

[0016] Furthermore, the concentration analysis of the spectral data by the detection model to obtain elemental component concentration data includes:

[0017] The spectral data is read by the detection model to obtain the fluorescence spectral data and the radiation spectral data, baseline calibration is performed on the fluorescence spectral data and the radiation spectral data according to a preset benchmark rule, characteristic peak separation is performed on the fluorescence spectral data and the radiation spectral data to obtain corresponding fluorescence spectral characteristic lines and radiation spectral characteristic lines, element analysis is performed on the fluorescence spectral characteristic lines based on a preset spectral analysis algorithm to obtain element characteristic spectral lines of each component;

[0018] Calculate the element concentration of the element characteristic spectrum line based on the preset element standard spectrum to obtain the element relative concentration of each component, calculate the concentration of the radiation spectrum characteristic line based on the element relative concentration to obtain the element absolute concentration of each component, integrate the element absolute concentration and element relative concentration to obtain element concentration data;

[0019] All element concentration data are integrated to form an element composition concentration data matrix, and the element composition concentration data matrix and the spectral data are integrated to obtain the element composition concentration data, wherein each row in the element composition concentration data matrix represents a detected element, and each column corresponds to a detected sample.

[0020] Furthermore, the spatial analysis of the diffraction data to obtain the sample structure data includes:

[0021] The sample structure data is read and processed by the detection model to obtain the lattice spacing data, the crystal phase composition data and the crystallinity data, a diffraction analysis is performed based on the lattice spacing data, the crystal phase composition data and the crystallinity data to obtain corresponding diffraction peak data, and the diffraction peak data is calculated to obtain position data, intensity data and broadening degree data of the corresponding diffraction peak;

[0022] According to Bragg's law, the crystal plane spacing is calculated according to the position of the diffraction peak, and the lattice calculation is performed in combination with the lattice spacing data to obtain the lattice parameters of each crystal phase; quantitative analysis is performed in combination with the crystal phase composition data and the intensity data to obtain the relative content data of each crystal phase; crystallization calculation is performed according to the crystallinity data combined with the widening degree data to obtain the grain size data and the crystallization perfection data;

[0023] Corresponding spatial distribution information is generated based on the lattice spacing data, the crystal phase composition data and the crystallinity data, and the sample structure data is constructed by combining the lattice spacing data, the crystal phase composition data, the crystallinity data, lattice parameters, relative content data, grain size data, crystallization perfection data and spatial distribution information.

[0024] Furthermore, the feature analysis of the sample image to obtain surface characteristic data includes:

[0025] The sample image is read by the detection model to obtain the height data, the roughness data and the microscopic morphology feature image, surface features are extracted from the microscopic morphology feature image, and texture analysis is performed on the extracted surface features to obtain defect feature data, directional data and periodic texture data, and the defect feature data, directional data and periodic texture data are integrated to obtain corresponding texture feature data;

[0026] The roughness data is quantitatively analyzed and calculated according to preset standard parameters to obtain roughness indicators including surface average height data, root mean square height data, maximum peak-to-valley height, skewness, peak height and valley depth;

[0027] Combine the height data and the microscopic morphology feature image to obtain a three-dimensional feature image, and perform fluctuation analysis on the three-dimensional feature image to obtain three-dimensional morphology parameters;

[0028] The texture feature data, roughness index and three-dimensional morphology parameters are integrated to obtain surface characteristic data.

[0029] Furthermore, the elemental composition concentration data, sample structure data and surface characteristic data are sampled for analysis to obtain the composition information of the corresponding single titanium anode sample, and all the composition information is comprehensively analyzed to obtain the metal surface composition report of the titanium anode:

[0030] The elemental composition concentration data, the sample structure data and the surface characteristic data are matched with the corresponding titanium anode samples, and the elemental composition concentration data, the sample structure data and the surface characteristic data of the same titanium anode sample are subjected to composition-structure correlation analysis to obtain the main element information, element composition information, element content information and structure information of the metal surface composition of the titanium anode sample, and the sample performance of the titanium anode sample is predicted based on the elemental composition concentration data, the sample structure data and the surface characteristic data to obtain the electrochemical activity index, corrosion resistance index and mechanical strength index, and the main element information, element composition information, element content information, structure information, electrochemical activity index, corrosion resistance index and mechanical strength index are integrated to obtain the composition information of a single titanium anode sample;

[0031] The composition information of all the titanium anode samples is summarized, and the contents contained in the composition information are comprehensively optimized to obtain a metal surface composition report of the titanium anode.

[0032] The present invention also provides a metal surface component detection device for titanium anode, which is applied to any one of the above-mentioned metal surface component detection methods for titanium anode, comprising:

[0033] A collection module, the collection module is used to determine the area to be detected of the titanium anode, randomly collect a specific number of titanium anode samples from the area to be detected, clean all the titanium anode samples, and place the cleaned titanium anode samples on the detection platform;

[0034] An analysis module, wherein the analysis module is used to perform spectral detection and structural detection on the titanium anode sample respectively through the detection equipment of the detection platform to obtain spectral data and diffraction data, collect sample image data of the titanium anode sample through the imaging equipment of the detection platform, and transmit all spectral data, diffraction data and sample image data to the detection model preset in the detection platform;

[0035] A processing module, the processing module is used to perform concentration analysis on the spectral data through the detection model to obtain elemental composition concentration data, perform spatial analysis on the diffraction data to obtain sample structure data, and perform feature analysis on the sample image to obtain surface characteristic data;

[0036] The control module is used to perform sample analysis on element composition concentration data, sample structure data and surface characteristic data to obtain the composition information of the corresponding single titanium anode sample, and to perform comprehensive analysis and processing on all composition information to obtain a metal surface composition report of the titanium anode.

[0037] The present invention also provides a metal surface component detection device for a titanium anode, comprising:

[0038] Memory, used to store programs;

[0039] The processor is used to execute the program to implement each step of any one of the above-mentioned methods for detecting the metal surface composition of a titanium anode.

[0040] The present invention also provides a medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute any of the above methods.

[0041] The present invention provides the following beneficial effects:

[0042] By combining spectral detection, structural detection and surface feature analysis, a comprehensive analysis of the surface composition of titanium anode metal is achieved. Spectral detection obtains the type and concentration of elements, structural detection reveals the crystal structure and microstructure of the material, and sample image data provides surface morphology and defect information. This multi-dimensional detection method greatly improves the comprehensiveness and accuracy of the detection results. By randomly collecting a specific number of titanium anode samples from the area to be detected, it is ensured that the sampled samples are well representative, avoiding misjudgment due to selective bias, and improving the applicability and reliability of the detection results for the entire batch. Integrating spectral data, diffraction data and sample image data into the detection model for comprehensive analysis and processing can not only obtain detailed composition information of a single titanium anode sample, but also obtain a metal surface composition report of the titanium anode through comprehensive analysis and processing, providing a scientific basis for subsequent material performance evaluation, process optimization and quality control. The entire detection process has a high degree of automation, from sample cleaning, data collection to data processing and analysis, all can be efficiently completed in the detection platform, greatly shortening the detection cycle, improving detection efficiency, and facilitating rapid response to production and research needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 It is a flow chart of a metal surface composition detection method for titanium anode provided by the present invention;

[0044] Figure 2 It is a structural diagram of a metal surface composition detection device for titanium anode provided by the present invention;

[0045] Figure 3 The present invention provides a structural diagram of a metal surface component detection device for a titanium anode.

[0046] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0048] The present invention is further described below in conjunction with the accompanying drawings and specific implementation methods.

[0049] Reference Figure 1 As shown, the present invention provides a method for detecting metal surface components of a titanium anode, comprising:

[0050] Step S1: determining the area to be inspected of the titanium anode, randomly collecting a specific number of titanium anode samples from the area to be inspected, cleaning all the titanium anode samples, and placing the cleaned titanium anode samples on the inspection platform;

[0051] Step S2: Perform spectral detection and structural detection on the titanium anode sample respectively through the detection equipment of the detection platform to obtain spectral data and diffraction data, collect sample image data of the titanium anode sample through the imaging equipment of the detection platform, and transmit all spectral data, diffraction data and sample image data to the detection model preset in the detection platform;

[0052] Step S3: Performing concentration analysis on the spectral data through the detection model to obtain elemental component concentration data, performing spatial analysis on the diffraction data to obtain sample structure data, and performing feature analysis on the sample image to obtain surface characteristic data;

[0053] Step S4: Perform sample analysis on the elemental composition concentration data, sample structure data and surface characteristic data to obtain the corresponding composition information of a single titanium anode sample, and perform comprehensive analysis and processing on all composition information to obtain a metal surface composition report of the titanium anode.

[0054] Based on the above steps, the detailed steps are as follows:

[0055] Step S1: According to the application requirements and quality control standards of the titanium anode, determine the surface areas that need to be focused on. The determined areas are those that are susceptible to corrosion, wear or performance-critical. In the area to be tested, a certain number of titanium anode samples are selected by random sampling to ensure the representativeness of the samples. The number of samples is determined according to statistical principles to achieve a given confidence level. Each collected titanium anode sample is thoroughly cleaned to remove surface contaminants, oxide layers, etc., and ultrasonic cleaning, pickling or mechanical polishing are used to ensure the accuracy of the test data. The cleaned samples are placed in the designated position of the test platform according to standard procedures to ensure stability and consistency during testing.

[0056] Step S2: Use X-ray fluorescence spectrometer (XRF), laser induced breakdown spectrometer (LIBS) and other equipment to perform spectral analysis on the titanium anode sample to obtain spectral data of elements on the sample surface, reflecting the type of elements and approximate concentration. Use X-ray diffraction (XRD) technology to collect diffraction data of the sample and analyze information such as lattice structure, crystal phase composition and crystallinity. Use high-resolution digital cameras or imaging equipment such as scanning electron microscopes (SEM) to capture microscopic morphology images of the surface of the titanium anode sample to provide a basis for subsequent surface property analysis. The collected spectral data, diffraction data and sample image data are transmitted to the preset detection model in the detection platform through the network or direct interface.

[0057] Step S3: The spectral data is processed by the detection model, and the precise concentration of each element in the sample is calculated by comparing with the standard spectral database. The diffraction data is analyzed by Fourier transform, peak fitting, etc. using XRD data processing software to obtain the sample's lattice parameters, crystal phase composition, crystallinity and other structural data. Image processing technology and computer vision algorithms are applied to the sample image data to analyze surface roughness, texture features, defects and other surface characteristic information.

[0058] Step S4: Perform sample analysis on the elemental composition concentration data, sample structure data and surface characteristic data to obtain the corresponding composition information of a single titanium anode sample, and perform comprehensive analysis and processing on all composition information to obtain a metal surface composition report of the titanium anode.

[0059] The metal surface component detection method for titanium anode provided by the present invention realizes a comprehensive analysis of the metal surface component of titanium anode by combining spectral detection, structural detection and surface feature analysis. The type and concentration of elements are obtained by spectral detection, the crystal structure and microstructure of the material are revealed by structural detection, and the sample image data provides surface morphology and defect information. This multi-dimensional detection method greatly improves the comprehensiveness and accuracy of the detection results. By randomly collecting a specific number of titanium anode samples from the area to be detected, it is ensured that the extracted samples have good representativeness, avoiding misjudgment caused by selective bias, and improving the applicability and reliability of the detection results for the entire batch. The spectral data, diffraction data and sample image data are integrated into the detection model for comprehensive analysis and processing, which can not only obtain detailed component information of a single titanium anode sample, but also obtain a metal surface component report of the titanium anode through comprehensive analysis and processing, providing a scientific basis for subsequent material performance evaluation, process optimization and quality control. The entire detection process has a high degree of automation, and can be efficiently completed in the detection platform from sample cleaning, data collection to data processing and analysis, which greatly shortens the detection cycle, improves detection efficiency, and is conducive to rapid response to production and research needs.

[0060] In one embodiment, determining a region of the titanium anode to be inspected, randomly collecting a specific number of titanium anode samples from the region to be inspected, cleaning all the titanium anode samples, and placing the cleaned titanium anode samples on a detection platform, including:

[0061] Through historical usage records, service environment simulation experiments or known electrochemical behavior analysis, the use characteristics of titanium anodes are comprehensively evaluated, including but not limited to parameters such as current efficiency, corrosion resistance, and potential stability, so as to obtain use characteristic data. Based on the use characteristic data, key areas that affect the performance of titanium anodes are identified, such as the central area (which may be subjected to high current density), the edge area (prone to corrosion or uneven deposition), and those special chemical areas that have undergone significant electrochemical changes. According to the geometry, use characteristics and expected inspection targets of the titanium anode, a set of sampling rules are set, such as randomly selecting sampling points according to area ratio, potential gradient or damage probability, to ensure the representativeness of the sampling.

[0062] The sampling algorithm included in the sampling rule includes: Assume that the surface of the titanium anode is divided into N small blocks, and the characteristic vector of each small block i is f i =[f i,1 , f i,2 ,......,f i,k ], where f i,j represents the performance of the jth influencing factor (such as current density, corrosion tendency, etc.) in this block, and k is the characteristic dimension. By finding a sampling strategy, the selection probability P of each sample i It not only reflects the importance of the block, but also takes into account the diversity of the current sampling status to avoid over-concentration on a certain type of area.

[0063] Introduce a weighting function w(f i ) is used to measure the importance of each block, which is obtained through training of machine learning models such as neural networks or support vector machines based on historical usage records and expected detection targets. Then, a diversity function d(S) is used to measure the diversity of the selected sample set S, such as the distance or information entropy based on the feature vector.

[0064] The final sampling probability formula is:

[0065] ;

[0066] P i : The probability that block i is selected as a sampling point. N: The total number of small blocks divided on the titanium anode surface.

[0067] w(f i ): weighting function used to evaluate the importance of the i-th block based on the feature vector f iThe calculated weights are trained through a machine learning model to reflect the criticality of the block to performance evaluation.

[0068] S: selected sample set.

[0069] d(S∪{i}): Diversity function that evaluates the diversity gain after adding block i to the selected sample set S, based on the distance, information entropy or other metrics in the feature space to ensure the broad representativeness of the sample set.

[0070] : Normalization term, ensuring that the sum of the probabilities of all sampling points is 1, making the probability distribution reasonable.

[0071] According to the preset sampling rules, a specific number of titanium anode samples are randomly selected from the above-determined areas to be tested to ensure that all key areas are covered. All collected samples are first ultrasonically cleaned, using the strong vibrations generated by ultrasound to remove loose particles and some organic pollutants attached to the surface. Then, the samples are degreased by soaking them in appropriate solvents or wiping them with special cleaning agents to remove any residual grease or organic matter.

[0072] Use the corresponding inspection equipment (such as microscope, particle size analyzer) to check the number of tiny particles on the sample surface to ensure that it is below the preset threshold. Use the corresponding measuring equipment (such as electronic thickness gauge and other non-destructive means) to measure the thickness of the surface oxide layer to ensure that it is within the allowable range. Use magnification equipment to check whether there are cracks, holes and other damage on the sample surface to ensure surface integrity.

[0073] If any cleaning index is found to be substandard during testing, the sample must be re-cleaned until all indexes meet the requirements.

[0074] When all samples have passed the cleaning inspection, all titanium anode samples are placed on the designated test positions of the test platform, ready for the next step of testing and analysis.

[0075] This embodiment determines the area to be tested by analyzing the usage characteristics of the titanium anode, and can purposefully select key areas for sampling, ensuring the pertinence of the detection work, thereby improving the accuracy and practicality of the test results. A specific number of samples are randomly collected according to the preset sampling rules to avoid sampling bias, ensure that the selected samples can represent the characteristics of the entire titanium anode, and provide a reliable basis for subsequent analysis. Through multi-step cleaning treatments such as ultrasonic cleaning and oil removal, and setting strict cleaning effect inspection standards, pollutants that may affect the test results are effectively removed, ensuring the cleanliness of the sample surface and improving the credibility of the test data. After the cleaning process, the number of tiny particles on the sample surface, the thickness and integrity of the oxide layer are strictly inspected, and re-cleaned when they do not meet the requirements, reducing the detection failure caused by improper sample handling and improving the overall detection efficiency.

[0076] In one embodiment, the detection equipment of the detection platform performs spectrum detection and structure detection on the titanium anode sample to obtain spectrum data and diffraction data, and the imaging equipment of the detection platform collects sample image data of the titanium anode sample, including:

[0077] By controlling the ray source of the detection equipment to emit X-rays to the titanium anode sample, the fluorescence spectrum data generated by the titanium anode sample after receiving the X-rays is collected, and the synchrotron radiation light source of the detection equipment is controlled to emit synchrotron radiation to the titanium anode sample, the radiation spectrum data generated by the titanium anode sample after receiving the synchrotron radiation is collected, the fluorescence spectrum data and the radiation spectrum data are integrated and processed, and the overlap and background interference are eliminated through specific algorithm processing to obtain the spectrum data.

[0078] By controlling the ray source of the detection equipment to emit X-rays to the titanium anode sample, the scattering data of the X-rays scattered back from the titanium anode sample is detected in real time, the diffraction angle and intensity information are recorded, and the scattering data is analyzed through theories such as Bragg's law, the lattice spacing is calculated, the crystal phase composition is identified, and the crystallinity is evaluated to obtain the lattice spacing data, crystal phase composition data and crystallinity data, which are then integrated and processed to obtain the diffraction data.

[0079] Configure the imaging equipment to the appropriate resolution and lighting conditions to capture the surface features of the titanium anode sample. Take a microscopic photo of the surface of the titanium anode sample and record its macroscopic and microscopic morphological features. Prepare to perform nanoscale scanning of the titanium anode sample using an atomic force microscope (AFM) or a scanning electron microscope (SEM). Perform a surface scan to collect height data and roughness data, which can reveal extremely subtle structural and texture information on the sample surface. Combine the scanned height data and roughness data with the previously captured microscopic morphological feature image, perform data alignment and fusion processing, and obtain the sample image.

[0080] This embodiment can comprehensively evaluate the chemical composition, crystal structure and surface morphology of titanium anode samples by combining spectral detection and structural detection. This multi-dimensional analysis method can more accurately reflect the overall performance and potential problems of the material than a single detection technology. By utilizing the complementarity of X-ray fluorescence and synchrotron radiation, the sensitivity and accuracy of element detection are improved, and problems such as trace impurities or uneven element distribution can be discovered; X-ray diffraction technology goes deep into the lattice level, accurately determines the lattice parameters, crystal phase composition and crystal quality, and provides detailed information for the structural analysis of the material. Nanoscale surface scanning can not only reveal the microscopic morphological features of the material surface, such as cracks, holes, particle size, etc., but also quantify the surface roughness and unevenness, which is crucial for understanding the wear mechanism, corrosion behavior and electrochemical properties of the material. Through the above comprehensive analysis, defects in the production process, such as composition deviation, poor crystallization or improper surface treatment, can be quickly identified, thereby guiding the adjustment of production process parameters, improving product quality and yield, and achieving refined quality control.

[0081] In one embodiment, the spectral data is analyzed by the detection model to obtain elemental component concentration data, including:

[0082] The spectral data is read through the detection model to obtain fluorescence spectral data and radiation spectral data, the fluorescence spectral data and the radiation spectral data are baseline calibrated according to the preset benchmark rules, the characteristic peaks of the fluorescence spectral data and the radiation spectral data are separated to obtain the corresponding fluorescence spectral characteristic lines and radiation spectral characteristic lines, and the elemental analysis of the fluorescence spectral characteristic lines is performed based on the preset spectral analysis algorithm to obtain the elemental characteristic spectral lines of each component;

[0083] Calculate the element concentration of the element characteristic spectrum line based on the preset element standard spectrum to obtain the element relative concentration of each component, calculate the concentration of the radiation spectrum characteristic line based on the element relative concentration to obtain the element absolute concentration of each component, integrate the element absolute concentration and element relative concentration to obtain element concentration data;

[0084] All element concentration data are integrated to form an element composition concentration data matrix, and the element composition concentration data matrix and the spectral data are integrated to obtain element composition concentration data, wherein each row in the element composition concentration data matrix represents a detected element, and each column corresponds to a detected sample.

[0085] This embodiment effectively reduces noise interference through fine baseline calibration and characteristic peak separation technology, improves the accuracy of fluorescence spectrum and radiation spectrum data analysis, and makes the determination of element concentration more accurate. Automatically and quickly identify and separate characteristic peaks from spectral data, and use a preset spectral analysis algorithm to perform element analysis, which greatly shortens the analysis cycle and improves detection efficiency. By constructing an element component concentration data matrix, structured data management is achieved, which facilitates users to quickly query and compare the concentration information of different samples or elements, and is conducive to statistical analysis and pattern recognition of large-scale data.

[0086] In one embodiment, the diffraction data is spatially analyzed to obtain sample structure data, including:

[0087] The diffraction pattern of the sample is collected using X-ray diffraction (XRD), neutron diffraction or other suitable diffraction techniques. The obtained diffraction data is spatially analyzed in order to preliminarily resolve the structural characteristics of the sample.

[0088] The detection model is used to read and process the sample structure data, and the distance between the lattice planes, i.e. the lattice spacing, is analyzed. The crystal phase composition data (the ratio of different crystal phases in the sample) and crystallinity data (information reflecting the degree of crystallinity of the sample) are further extracted.

[0089] The peaks in the diffraction pattern are located to obtain the position data (θ angle), intensity data (reflecting the relative amount of the corresponding crystal plane) and broadening degree data (peak width, reflecting the grain size and defect information) of the diffraction peak. According to Bragg's law (nλ=2d·sinθ), the corresponding crystal plane spacing d is calculated using the diffraction peak position.

[0090] Combined with the lattice spacing data, the lattice constants of each crystal phase are calculated, such as the lengths of the a, b, and c axes and the α, β, and γ angles.

[0091] The relative content of each crystalline phase is calculated using the crystalline phase composition data and intensity data through appropriate quantitative analysis methods. Based on the crystallinity data and the broadening degree of the diffraction peak, the grain size is estimated and the crystallization perfection is evaluated using methods such as the Scherrer equation.

[0092] Based on information such as lattice spacing, crystal phase composition, and crystallinity, a spatial distribution information map of the sample's internal structure is generated, showing the distribution of different crystal phases, grain sizes, and crystallinity in the sample.

[0093] The corresponding spatial distribution information is generated based on the lattice spacing data, crystal phase composition data and crystallinity data, and the sample structure data is constructed by combining the lattice spacing data, crystal phase composition data, crystallinity data, lattice parameters, relative content data, grain size data, crystal perfection data and spatial distribution information.

[0094] This embodiment can deeply analyze the microstructure of the sample, not only to obtain basic parameters such as lattice spacing, but also to further analyze key information such as crystal phase composition and crystallinity, providing more detailed data support for understanding the structure of complex materials. By combining crystal phase composition data and diffraction intensity analysis, the relative content of various crystal phases in the sample can be accurately and quantitatively determined, which is particularly important for the study of multiphase materials and helps to reveal the interactions and influences between the components. The crystallinity data and diffraction peak broadening are used to analyze the grain size and crystallization perfection, which is of great value for evaluating the mechanical properties, thermal stability and optimizing the material preparation process of the material. Grain refinement can usually improve the strength and toughness of the material, while the crystallization perfection directly affects the physicochemical properties of the material. The generated spatial distribution information can intuitively display the structural heterogeneity of different regions inside the sample, which helps to identify and study the influence of local structure on overall performance, and is crucial for designing material structures with superior performance.

[0095] In one embodiment, feature analysis is performed on the sample image to obtain surface characteristic data, including:

[0096] The detection model analyzes and extracts the height information of the surface from the image, quantifies the surface ups and downs, and separates the feature image reflecting the surface microstructure. The detection model adopts a pre-trained DCNN model. The model uses a loss function with more complex penalty terms, such as a combination of the structural similarity index (SSIM) and the mean square error (MSE), or the weighted absolute difference error (WL1).

[0097] The function algorithms include:

[0098] ;

[0099] Hpred and Htrue represent the predicted and true height maps respectively, and α and β are weight factors.

[0100] Based on the microscopic morphological feature images, algorithms are used to identify and extract defect features (such as cracks, holes, etc.), directionality (texture arrangement trends) and periodic textures (repeating patterns) to form a texture feature data set.

[0101] According to the roughness evaluation standards commonly used in industry or research, such as ISO or ANSI standards, the roughness data is calculated in detail to obtain indicators such as surface average height, root mean square height, maximum peak-to-valley height, skewness, peak height and valley depth, which are important parameters for measuring surface smoothness.

[0102] Combining the height data with the microscopic morphology feature image, a 3D view of the sample surface is generated through 3D reconstruction technology, which helps to intuitively understand the undulating morphology of the surface. The 3D feature image is analyzed to calculate parameters that reflect the fluctuations of the surface microstructure, such as curvature, wavelength distribution and other 3D morphology parameters.

[0103] The texture feature data, roughness index and three-dimensional morphology parameters obtained previously are comprehensively sorted out to form a comprehensive surface characteristic data.

[0104] This embodiment uses automated image analysis and feature extraction technology to quickly and accurately identify and measure various characteristics of chemical surfaces, greatly improving the speed and accuracy of detection compared to traditional manual detection methods. This embodiment not only provides basic parameters for surface roughness, but also deeply analyzes texture features (including defects, directional and periodic textures), as well as three-dimensional morphology parameters, making the understanding of sample surface characteristics more in-depth and comprehensive. The surface characteristic data obtained is of great value for evaluating the wear resistance, corrosion resistance, optical properties, etc. of materials, and helps researchers or engineers optimize material formulations, processing technology, and improve product quality and performance.

[0105] In one embodiment, sample analysis is performed on elemental composition concentration data, sample structure data, and surface characteristic data to obtain the composition information of a corresponding single titanium anode sample, and all composition information is comprehensively analyzed to obtain a metal surface composition report of the titanium anode:

[0106] The elemental composition concentration data, sample structure data (such as grain size, crystal structure, etc.) and surface property data (such as roughness, morphology characteristics) are exported and integrated into a unified matching data framework, and the sample identification codes of all titanium anode samples are extracted. The elemental composition concentration data, sample structure data and surface property data are matched one by one through the sample identification codes to obtain the elemental composition concentration data, sample structure data and surface property data of the same titanium anode sample.

[0107] By using a multivariate linear regression algorithm to perform composition-structure correlation analysis on the elemental composition concentration data, sample structure data and surface characteristic data of the same titanium anode sample, the main element information, element composition information, element content information and structure information of the metal surface composition of the titanium anode sample were obtained.

[0108] By pre-training the prediction sub-model generated by the detection model, the prediction sub-model input includes elemental composition concentration data and sample structure data to predict electrochemical activity, and obtain electrochemical activity indexes; the prediction sub-model inputs elemental composition concentration data and surface characteristic data to predict corrosion resistance, and obtain corrosion resistance indexes; the prediction sub-model inputs elemental composition concentration data, sample structure data and surface characteristic data to predict corrosion resistance, and obtain mechanical strength indexes;

[0109] Among them, the formula for predicting electrochemical activity of the prediction sub-model includes:

[0110] ;

[0111] y is the predicted electrochemical activity value, f is the activation function, and w i is the weight, x i are the input features, b are the bias terms, and n is the number of input features.

[0112] The corrosion resistance prediction formula of the prediction sub-model includes:

[0113] E = β0 + β1x1 + β2x2 + β3x +β4x +β5x1x2;

[0114] E is the corrosion resistance index, x1, x2 are input characteristics (such as element ratio, grain size), β i are model parameters.

[0115] The calculation formula for mechanical strength prediction of the prediction sub-model includes:

[0116] ;

[0117] ;

[0118] T i is the actual mechanical strength value, is the input feature (such as element composition, lattice structure), ω is the weight vector, b is the bias, C and ε are parameters for predicting model complexity and error tolerance, , is a slack variable.

[0119] The main element information, element composition information, element content information, structural information, electrochemical activity index, corrosion resistance index and mechanical strength index are integrated and processed to obtain the composition information of a single titanium anode sample.

[0120] The composition information of all titanium anode samples is summarized, and the contents contained in the composition information are comprehensively optimized to obtain the metal surface composition report of the titanium anode.

[0121] This embodiment not only reveals the type, content and distribution of each element in a single titanium anode sample, but also deeply explores how these elements interact with the microstructure (such as grain size, crystal phase composition, etc.) and surface morphology characteristics of the material, providing a deeper understanding. Based on the comprehensive analysis results, the embodiment further predicts the key performance indicators of the titanium anode, such as electrochemical activity, corrosion resistance and mechanical strength. This step is crucial for predicting the actual performance of the material in a specific application environment, and helps to optimize the design and performance verification before the material is put into use. By integrating various information of a single titanium anode sample, comprehensive composition information is generated, which includes a full view from microstructure to performance prediction. This integrated analysis method can provide a systematic perspective for material scientists and engineers, facilitating their evaluation of material quality and performance from multiple dimensions. The composition information of all samples is summarized and comprehensively optimized to generate a metal surface composition report of the titanium anode. This process not only improves the efficiency of data analysis, but also ensures the systematicness and consistency of the report content, which is convenient for subsequent decision support, quality control or R&D guidance.

[0122] Reference Figure 2 As shown, the present invention also provides a metal surface component detection device for titanium anode, which is applied to any one of the above-mentioned metal surface component detection methods for titanium anode, comprising:

[0123] A collection module, which is used to determine the area to be detected of the titanium anode, randomly collect a specific number of titanium anode samples from the area to be detected, clean all the titanium anode samples, and place the cleaned titanium anode samples on the detection platform;

[0124] An analysis module, which is used to perform spectral detection and structural detection on the titanium anode sample through the detection equipment of the detection platform, obtain spectral data and diffraction data, collect sample image data of the titanium anode sample through the imaging equipment of the detection platform, and transmit all spectral data, diffraction data and sample image data to the detection model preset in the detection platform;

[0125] A processing module, which is used to perform concentration analysis on the spectral data through the detection model to obtain elemental composition concentration data, perform spatial analysis on the diffraction data to obtain sample structure data, and perform feature analysis on the sample image to obtain surface characteristic data;

[0126] The control module is used to perform sample analysis on elemental composition concentration data, sample structure data and surface characteristic data to obtain the composition information of the corresponding single titanium anode sample, and to perform comprehensive analysis and processing on all composition information to obtain a metal surface composition report of the titanium anode.

[0127] The metal surface component detection device for titanium anode provided by the present invention realizes a comprehensive analysis of the metal surface component of titanium anode by combining spectral detection, structural detection and surface feature analysis. The type and concentration of elements are obtained by spectral detection, the crystal structure and microstructure of the material are revealed by structural detection, and the sample image data provides surface morphology and defect information. This multi-dimensional detection method greatly improves the comprehensiveness and accuracy of the detection results. By randomly collecting a specific number of titanium anode samples from the area to be detected, it is ensured that the extracted samples have good representativeness, avoiding misjudgment caused by selective bias, and improving the applicability and reliability of the detection results for the entire batch. The spectral data, diffraction data and sample image data are integrated into the detection model for comprehensive analysis and processing, which can not only obtain detailed component information of a single titanium anode sample, but also obtain a metal surface component report of the titanium anode through comprehensive analysis and processing, providing a scientific basis for subsequent material performance evaluation, process optimization and quality control. The entire detection process has a high degree of automation, and can be efficiently completed in the detection platform from sample cleaning, data collection to data processing and analysis, which greatly shortens the detection cycle, improves detection efficiency, and is conducive to rapid response to production and research needs.

[0128] Reference Figure 3 As shown, the present invention also provides a metal surface component detection device for a titanium anode, comprising:

[0129] Memory, used to store programs;

[0130] The processor is used to execute the program to implement each step of any one of the above-mentioned methods for detecting the metal surface composition of the titanium anode.

[0131] In this embodiment, the processor and the memory may be connected via a bus or other means. The memory may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk, or a solid-state drive. The processor may be a general-purpose processor, such as a central processing unit, a digital signal processor, an application-specific integrated circuit, or one or more integrated circuits configured to implement the embodiments of the present invention.

[0132] The present invention also provides a medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute any of the above methods.

[0133] It should be noted that technicians in the relevant technical field can clearly understand that for the convenience and conciseness of description, the specific working process of the system and each module described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0134] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for detecting metal surface composition of titanium anode, characterized in that: include: Determine the area to be inspected of the titanium anode, randomly collect a specific number of titanium anode samples from the area to be inspected, clean all the titanium anode samples, and place the cleaned titanium anode samples on the inspection platform; Perform spectral detection and structural detection on the titanium anode sample respectively through the detection equipment of the detection platform to obtain spectral data and diffraction data, collect sample image data of the titanium anode sample through the imaging equipment of the detection platform, and transmit all spectral data, diffraction data and sample image data to the detection model preset in the detection platform; Through the detection model, the spectral data is analyzed for concentration to obtain elemental composition concentration data, the diffraction data is analyzed for space to obtain sample structure data, and the sample image is analyzed for features to obtain surface characteristic data; Perform sample analysis on elemental composition concentration data, sample structure data and surface characteristic data to obtain the corresponding composition information of a single titanium anode sample, and perform comprehensive analysis and processing on all composition information to obtain a metal surface composition report of the titanium anode; The detection equipment of the detection platform performs spectrum detection and structure detection on the titanium anode sample to obtain spectrum data and diffraction data. The imaging equipment of the detection platform collects sample image data of the titanium anode sample, including: The spectral data are obtained by controlling the ray source of the detection device to emit X-rays to the titanium anode sample, collecting the fluorescence spectrum data generated by the titanium anode sample after receiving the X-rays, and controlling the synchrotron radiation light source of the detection device to emit synchrotron radiation to the titanium anode sample, collecting the radiation spectrum data generated by the titanium anode sample after receiving the synchrotron radiation, and integrating the fluorescence spectrum data and the radiation spectrum data; Controlling the ray source of the detection device to emit X-rays to the titanium anode sample, and detecting the scattering data of the X-rays on the titanium anode sample in real time, analyzing the detected scattering data to obtain lattice spacing data, crystal phase composition data and crystallinity data, and integrating the lattice spacing data, crystal phase composition data and crystallinity data to obtain the diffraction data; The imaging device is used to collect a microscopic morphological feature image of the titanium anode sample, and a nanoscale surface morphology scan is performed on the titanium anode sample to obtain height data and roughness data. The microscopic morphological feature image is integrated and processed based on the height data and roughness data to obtain the sample image.

2. The metal surface component detection method for titanium anode according to claim 1, characterized in that: The method of determining the area to be inspected of the titanium anode, randomly collecting a specific number of titanium anode samples from the area to be inspected, cleaning all the titanium anode samples, and placing the cleaned titanium anode samples on the inspection platform includes: Performing a usage characteristic analysis on the titanium anode to obtain usage characteristic data, determining the area to be detected based on the usage characteristic data, wherein the area to be detected includes but is not limited to a central area, an edge area, and a chemical area experiencing different electrochemical behaviors of the titanium anode, and randomly collecting a specific number of titanium anode samples from the area to be detected based on a preset sampling rule; All the titanium anode samples collected are subjected to ultrasonic cleaning and oil removal treatments in turn, and the number of tiny particles on the surface of all titanium anode samples and the thickness of the surface oxide layer are tested to see if they meet the preset cleaning requirements. When any data does not meet the cleaning requirements, the titanium anode samples are re-cleaned accordingly. When all data meet the cleaning requirements, the surface integrity of the titanium anode samples is tested to see if it meets the cleaning requirements. When it meets the cleaning requirements, the titanium anode samples are placed in the test position on the testing platform.

3. The metal surface composition detection method for titanium anode according to claim 1, characterized in that: The method of performing concentration analysis on the spectral data through the detection model to obtain elemental component concentration data includes: The spectral data is read by the detection model to obtain the fluorescence spectral data and the radiation spectral data, baseline calibration is performed on the fluorescence spectral data and the radiation spectral data according to a preset benchmark rule, characteristic peak separation is performed on the fluorescence spectral data and the radiation spectral data to obtain corresponding fluorescence spectral characteristic lines and radiation spectral characteristic lines, element analysis is performed on the fluorescence spectral characteristic lines based on a preset spectral analysis algorithm to obtain element characteristic spectral lines of each component; Calculate the element concentration of the element characteristic spectrum line based on the preset element standard spectrum to obtain the element relative concentration of each component, calculate the concentration of the radiation spectrum characteristic line based on the element relative concentration to obtain the element absolute concentration of each component, integrate the element absolute concentration and element relative concentration to obtain element concentration data; All element concentration data are integrated to form an element composition concentration data matrix, and the element composition concentration data matrix and the spectral data are integrated to obtain the element composition concentration data, wherein each row in the element composition concentration data matrix represents a detected element, and each column corresponds to a detected sample.

4. The metal surface component detection method for titanium anode according to claim 1, characterized in that: The spatial analysis of the diffraction data to obtain the sample structure data includes: The sample structure data is read and processed by the detection model to obtain the lattice spacing data, the crystal phase composition data and the crystallinity data, a diffraction analysis is performed based on the lattice spacing data, the crystal phase composition data and the crystallinity data to obtain corresponding diffraction peak data, and the diffraction peak data is calculated to obtain position data, intensity data and broadening degree data of the corresponding diffraction peak; According to Bragg's law, the crystal plane spacing is calculated according to the position of the diffraction peak, and the lattice calculation is performed in combination with the lattice spacing data to obtain the lattice parameters of each crystal phase; quantitative analysis is performed in combination with the crystal phase composition data and the intensity data to obtain the relative content data of each crystal phase; crystallization calculation is performed according to the crystallinity data combined with the widening degree data to obtain the grain size data and the crystallization perfection data; Corresponding spatial distribution information is generated based on the lattice spacing data, the crystal phase composition data and the crystallinity data, and the sample structure data is constructed by combining the lattice spacing data, the crystal phase composition data, the crystallinity data, lattice parameters, relative content data, grain size data, crystallization perfection data and spatial distribution information.

5. The metal surface component detection method for titanium anode according to claim 1, characterized in that: The feature analysis of the sample image to obtain surface characteristic data includes: The sample image is read by the detection model to obtain the height data, the roughness data and the microscopic morphology feature image, surface features are extracted from the microscopic morphology feature image, and texture analysis is performed on the extracted surface features to obtain defect feature data, directional data and periodic texture data, and the defect feature data, directional data and periodic texture data are integrated to obtain corresponding texture feature data; The roughness data is quantitatively analyzed and calculated according to preset standard parameters to obtain roughness indicators including surface average height data, root mean square height data, maximum peak-to-valley height, skewness, peak height and valley depth; Combine the height data and the microscopic morphology feature image to obtain a three-dimensional feature image, and perform fluctuation analysis on the three-dimensional feature image to obtain three-dimensional morphology parameters; The texture feature data, roughness index and three-dimensional morphology parameters are integrated to obtain surface characteristic data.

6. The metal surface component detection method for titanium anode according to claim 1, characterized in that: The elemental composition concentration data, sample structure data and surface characteristic data are analyzed to obtain the composition information of the corresponding single titanium anode sample, and all the composition information is comprehensively analyzed to obtain the metal surface composition report of the titanium anode: The elemental composition concentration data, the sample structure data and the surface characteristic data are matched with the corresponding titanium anode samples, and the elemental composition concentration data, the sample structure data and the surface characteristic data of the same titanium anode sample are subjected to composition-structure correlation analysis to obtain the main element information, element composition information, element content information and structure information of the metal surface composition of the titanium anode sample, and the sample performance of the titanium anode sample is predicted based on the elemental composition concentration data, the sample structure data and the surface characteristic data to obtain the electrochemical activity index, corrosion resistance index and mechanical strength index, and the main element information, element composition information, element content information, structure information, electrochemical activity index, corrosion resistance index and mechanical strength index are integrated to obtain the composition information of a single titanium anode sample; The composition information of all the titanium anode samples is summarized, and the contents contained in the composition information are comprehensively optimized to obtain a metal surface composition report of the titanium anode.

7. A metal surface component detection device for titanium anode, applied to a metal surface component detection method for titanium anode according to any one of claims 1 to 6, characterized in that: include: A collection module, the collection module is used to determine the area to be detected of the titanium anode, randomly collect a specific number of titanium anode samples from the area to be detected, clean all the titanium anode samples, and place the cleaned titanium anode samples on the detection platform; An analysis module, wherein the analysis module is used to perform spectral detection and structural detection on the titanium anode sample respectively through the detection equipment of the detection platform to obtain spectral data and diffraction data, collect sample image data of the titanium anode sample through the imaging equipment of the detection platform, and transmit all spectral data, diffraction data and sample image data to the detection model preset in the detection platform; A processing module, the processing module is used to perform concentration analysis on the spectral data through the detection model to obtain elemental composition concentration data, perform spatial analysis on the diffraction data to obtain sample structure data, and perform feature analysis on the sample image to obtain surface characteristic data; A control module, the control module is used to perform sample analysis on element composition concentration data, sample structure data and surface characteristic data to obtain the composition information of a corresponding single titanium anode sample, and to perform comprehensive analysis and processing on all composition information to obtain a metal surface composition report of the titanium anode; The detection equipment of the detection platform performs spectrum detection and structure detection on the titanium anode sample to obtain spectrum data and diffraction data. The imaging equipment of the detection platform collects sample image data of the titanium anode sample, including: The spectral data are obtained by controlling the ray source of the detection device to emit X-rays to the titanium anode sample, collecting the fluorescence spectrum data generated by the titanium anode sample after receiving the X-rays, and controlling the synchrotron radiation light source of the detection device to emit synchrotron radiation to the titanium anode sample, collecting the radiation spectrum data generated by the titanium anode sample after receiving the synchrotron radiation, and integrating the fluorescence spectrum data and the radiation spectrum data; Controlling the ray source of the detection device to emit X-rays to the titanium anode sample, and detecting the scattering data of the X-rays on the titanium anode sample in real time, analyzing the detected scattering data to obtain lattice spacing data, crystal phase composition data and crystallinity data, and integrating the lattice spacing data, crystal phase composition data and crystallinity data to obtain the diffraction data; The imaging device is used to collect a microscopic morphological feature image of the titanium anode sample, and a nanoscale surface morphology scan is performed on the titanium anode sample to obtain height data and roughness data. The microscopic morphological feature image is integrated and processed based on the height data and roughness data to obtain the sample image.

8. A metal surface component detection device for titanium anode, characterized in that: include: Memory, used to store programs; A processor is used to execute the program to implement the various steps of a metal surface composition detection method for a titanium anode as described in any one of claims 1 to 6.

9. A medium, characterized in that Computer instructions are stored, and the computer instructions are used to make a computer execute the method according to any one of claims 1 to 6.