Method and system for preparing gradient coating by synchronous arc surfacing and cold spraying
Gradient coatings are prepared by synchronous arc cladding and cold spraying, combined with simulated annealing algorithms and machine learning models, to solve the technical deficiencies of arc cladding and cold spraying, achieve efficient and low-cost coating preparation, and significantly improve improve the performance and life of the base metal.
Patent Information
- Application Number
- CN202410987443.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-23
AI Technical Summary
In the existing technology, arc cladding and cold spraying each have problems with insufficient wear resistance and density, resulting in insufficient coating performance and life, low process efficiency, and high cost.
A gradient coating method is prepared by combining synchronous arc cladding and cold spraying. By detecting coating defects and performance in real time, simulated annealing algorithms and machine learning models are used to accurately match process parameters and automatically adjust process parameters to improve coating quality and performance.
It achieves the complementarity of wear resistance and density, significantly improves the performance and service life of the base metal, improves process efficiency, and reduces production costs.
Smart Images

Figure CN118513637B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of composite coating preparation, and more specifically, to a method and system for composite preparation of gradient coatings by synchronous arc surfacing and cold spraying. Background Art
[0002] In many industries today, such as aerospace, automotive manufacturing, and energy, the performance and life of equipment are critical. In order to protect the working parts in the equipment, many different coating technologies have been developed, such as arc surfacing, cold spraying, etc. Among them, arc surfacing can form a wear-resistant surfacing layer, and the high heat input will have an impact on the base metal, which may cause the metal's performance to deteriorate. On the other hand, cold spraying can form a dense surface layer on the base metal, but because the particles are not melted, its coating density and bonding strength are poor.
[0003] In the prior art, arc surfacing or cold spraying is usually used alone to prepare the coating. For example, Chinese patent No. CN114277367A discloses a coating preparation method based on cold spraying, a cold spraying device and a cold spraying coating; the method comprises: the coating powder entrained in high temperature and high pressure gas collides with the substrate under the action of acceleration, and strong plastic deformation and mechanical bite occur on the surface of the substrate to form a fresh coating; the forging material powder entrained in the high temperature and high pressure gas performs targeted forging on the fresh coating under the action of acceleration; by using the forging material powder, the fresh coating is subjected to targeted micro-forging while the cold spray coating is prepared, so that the high strength preparation of the cold spray coating is achieved, and the porosity of the coating is greatly reduced;
[0004] However, since arc surfacing and cold spraying have different disadvantages, in order to avoid the disadvantages of each when used alone, the two processes can be integrated to prepare gradient coatings in a composite manner to achieve complementary advantages of the two processes.
[0005] In view of this, the present invention proposes a method and system for preparing a gradient coating by composite synchronous arc surfacing and cold spraying to solve the above problems. Summary of the invention
[0006] In order to overcome the above-mentioned defects of the prior art and to achieve the above-mentioned purpose, the present invention provides the following technical solution: a method for preparing a gradient coating by composite synchronous arc surfacing and cold spraying, comprising:
[0007] Collect process impact data of base metal;
[0008] According to the process influence data, the corresponding process parameters are matched; according to the process parameters, the gradient coating is prepared by compounding the base metal;
[0009] Real-time detection of coating defects during coating preparation on base metal;
[0010] Predict coating quality based on coating defects and adjust process parameters based on coating quality;
[0011] During the coating preparation process of the base metal, the coating performance is monitored in real time and the coating preparation is automatically stopped according to the coating performance.
[0012] Furthermore, the process influencing data are all physical property data of the base metal; the process influencing data include arc influencing data and cold spray influencing data; the arc influencing data include conductivity and common influencing data; the cold spray influencing data include roughness and common influencing data; the common influencing data include hardness, thermal conductivity and melting point;
[0013] The method for acquiring process impact data is as follows: using an optical identifier to identify the unique code marked on the edge of the base metal, obtaining the corresponding ID mark, sending the ID mark to a base metal database, and obtaining a set of process impact data corresponding to the ID mark, wherein the unique code corresponds to the ID mark one-to-one, and the ID mark corresponds to the process impact data one-to-one; the base metal database records the process impact data corresponding to each base metal ID mark.
[0014] Further, the process parameters include arc surfacing parameters and cold spraying parameters;
[0015] The arc welding parameters include arc current, arc voltage and arc time, and the arc time is the duration from arc formation to arc extinction; the cold spraying parameters include spraying pressure, spraying speed, spraying amount and spraying time;
[0016] The method for matching corresponding process parameters includes:
[0017] The corresponding arc surfacing parameters are matched according to the arc influence data; under the obtained arc surfacing parameter conditions, the new cold spray influence data is predicted, and the new cold spray influence data is the cold spray influence data after the arc surfacing is completed; and then the corresponding cold spray parameters are matched according to the new cold spray influence data.
[0018] Furthermore, the step of matching corresponding arc surfacing parameters according to the arc influence data includes:
[0019] Step a: Preset initialization temperature , minimum temperature , Temperature reduction coefficient and the maximum number of iterations , and let the current temperature ;
[0020] Step b: Randomly set a feasible solution , a feasible solution The arc surfacing parameters are preset to group Q arc surfacing parameters, where Q is an integer greater than 1. The arc surfacing parameter range is the group Q arc surfacing parameters. The range is the arc surfacing parameter range;
[0021] Step c: determining the first fitness function;
[0022] The expression of the first fitness function is: ;
[0023] In the formula, is the first fitness, The coating quality refers to the quality of the coating formed after arc surfacing of the base metal.
[0024] Methods for obtaining coating quality include:
[0025] The feasible solution The corresponding arc cladding parameters and arc influence data are used as analysis data; the analysis data are input into the trained coating quality prediction model to predict the corresponding coating quality;
[0026] The training process of the coating quality prediction model includes:
[0027] Pre-collecting a set of analysis data corresponding to coating qualities, where a is an integer greater than 1, and converting the analysis data and the corresponding coating qualities into a set of corresponding feature vectors;
[0028] Each set of feature vectors is used as input of a coating quality prediction model. The coating quality prediction model uses a set of coating qualities corresponding to each set of analysis data as output, and uses the actual coating quality corresponding to each set of analysis data as a prediction target, where the actual coating quality is the coating quality corresponding to the analysis data collected in advance; minimizing the sum of prediction errors of all analysis data is used as a training target; the coating quality prediction model is trained until the sum of prediction errors reaches convergence and training is stopped; the coating quality prediction model is a deep neural network model;
[0029] Step d: Calculate feasible solutions The corresponding first fitness ; with feasible solutions For the current point, perform random perturbations in the neighborhood of the current point to obtain a new feasible solution , and calculate the new feasible solution The corresponding first fitness ;
[0030] Step e: Calculate the first fitness difference , the first fitness difference The expression is ;
[0031] If the first fitness difference , then let , the new feasible solution The value of is given to the feasible solution ; If the first fitness difference , then calculate the probability , according to the probability make ; Probability The expression is: ; In the formula, e is a natural constant;
[0032] Step f: Repeat steps d to e until the number of loops reaches the maximum number of iterations. When , the loop ends and enters step g;
[0033] Step g: Set the current temperature , that is, cool down the current temperature in step a, and assign the value after cooling to the current temperature; let the maximum number of iterations , that is, assign the value of the reduced maximum number of iterations to the maximum number of iterations;
[0034] Step h: Repeat steps d to g until the current temperature reaches When , the loop ends and a feasible solution is obtained Corresponding arc surfacing parameters.
[0035] Furthermore, the method for predicting the new cold spraying impact data includes:
[0036] The new cold spraying impact data include roughness, new hardness, new thermal conductivity and new melting point;
[0037] The arc surfacing parameters and cold spraying influence data are used as test data, and the test data are input into the trained first parameter prediction model to predict the new roughness; the test data are input into the trained second parameter prediction model to predict the new hardness; the test data are input into the trained third parameter prediction model to predict the new thermal conductivity; the test data are input into the trained fourth parameter prediction model to predict the new melting point; wherein, the training process of the first parameter prediction model, the second parameter prediction model, the third parameter prediction model and the fourth parameter prediction model are all consistent with the training process of the coating quality prediction model, and all are deep neural network models;
[0038] The step of matching corresponding cold spray parameters according to the new cold spray influence data is consistent with the step of matching corresponding arc surfacing parameters according to the arc influence data.
[0039] Furthermore, the coating defects include defect types and defect quantities; the defect types include crack defects, hole defects and pitting defects; the defect quantities include the number of crack defects, the number of hole defects and the number of pitting defects;
[0040] Methods for real-time detection of coating defects during arc cladding processes include:
[0041] A three-dimensional coordinate system is established for the coating in real time, and m coordinate points corresponding to the coating surface are obtained; a laser sensor aligned with the coating is used to scan the coating surface at multiple coordinate points, that is, all m coordinate points are scanned; the laser sensor includes a laser transmitter and a laser receiver, the laser transmitter transmits a laser beam, and the laser receiver receives the laser beam reflected from the coating surface; the reflection time of each coordinate point is obtained, and the reflection time is the duration from laser emission to laser reception; then the emission angle and receiving angle of each coordinate point are obtained, the emission angle is the angle between the laser transmitter and the horizontal plane when the laser is emitted, and the receiving angle is the angle between the laser receiver and the horizontal plane when the laser is received;
[0042] According to the reflection time and light speed of each coordinate point, the laser distance of each coordinate point is calculated. The laser distance is the distance traveled by the laser from laser emission to laser reception. The expression of laser distance is: ; In the formula, is the laser path, is the reflection time, is the speed of light; according to the laser distance, emission angle, and receiving angle of each coordinate point, the straight-line distance of each coordinate point is calculated. The straight-line distance is the vertical distance between each coordinate point and the laser sensor; the expression of the straight-line distance is: ; In the formula, is the straight-line distance, is the emission angle, is the reflection angle, sin is the sine function;
[0043] Point cloud data is formed according to the straight-line distances corresponding to the m coordinate points, and the point cloud data is meshed using a polygonal mesh method to obtain a three-dimensional image of the coating;
[0044] Grayscale the three-dimensional image of the coating; collect the grayscale values of Y pixels corresponding to the three-dimensional image of the coating, where Y is the number of all pixels in the three-dimensional image of the coating;
[0045] Preset gray value threshold , ; The grayscale values of Y pixels corresponding to the three-dimensional image of the coating are compared with the grayscale value threshold For comparative analysis, if , then mark the pixel as a normal point. , then mark the pixel as a defect point. is the gray value of the e-th pixel in the coating 3D image, ; Multiple adjacent defect points in the coating 3D image are regarded as a defect area, and the defect area in the coating 3D image is obtained. defective areas;
[0046] According to the coating 3D image defect area, cut out M 3D defect images from the coating 3D image, ; Input M three-dimensional defect images into the trained defect analysis model respectively, and output the recognition result corresponding to each three-dimensional defect image, and the recognition result is the defect type;
[0047] The defect analysis model training process includes:
[0048] Collect c defect images in advance, where c is an integer greater than 1, and the defect images include three-dimensional defect images and two-dimensional defect images. Annotate the defects in each defect image, including crack defects, hole defects and pit defects; convert the crack defects, hole defects and pit defects into digital annotations respectively; divide the annotated defect images into a training set and a test set; use the training set to train the defect analysis model, and use the test set to test the defect analysis model; preset an error threshold, and when the mean of the prediction errors of all defect images in the test set is less than the error threshold, output the defect analysis model; the defect analysis model is a convolutional neural network model;
[0049] Count the number of crack defects, hole defects and pit defects in the three-dimensional image of the coating.
[0050] Further, the method for real-time detection of coating defects during the cold spraying process includes:
[0051] Collect coating 2D images in real time; obtain defect area, according to the coating 2D image defect area, cut out N two-dimensional defect images from the coating two-dimensional image, ; Input N two-dimensional defect images into the trained defect analysis model respectively, and output the defect type corresponding to each two-dimensional defect image; count the number of crack defects, hole defects and pit defects in the two-dimensional image of the coating; wherein, obtain the two-dimensional image of the coating Method for obtaining defect areas in coating three-dimensional images The method is consistent with that for each defect area.
[0052] Further, the method for calculating the coating quality includes:
[0053] ;
[0054] ;
[0055] In the formula, is the coating quality of arc coating, which is the coating prepared during the arc cladding process. is the preset constant, is the number of crack defects in the three-dimensional image of the coating, is the number of hole defects in the three-dimensional image of the coating, is the number of pitting defects in the coating 3D image, The coating quality of the spray coating is the coating prepared during the cold spray process. is the number of crack defects in the two-dimensional image of the coating, is the number of hole defects in the two-dimensional image of the coating, is the number of pitting defects in the two-dimensional image of the coating, , , , , , All are preset weight coefficients.
[0056] Further, the step of adjusting arc surfacing parameters according to the coating quality of the arc coating includes:
[0057] Step 1: Randomly generate an initial antibody population of size q ; Preset iteration threshold, which is preset according to the algorithm accuracy;
[0058] Step 2: Determine the second fitness function;
[0059] Step 3: Calculate the initial antibody population The second fitness of each antibody in , select r antibodies with the largest second fitness, and construct a memory population ;
[0060] Step 4: Memory population Each antibody in the cloning is cloned according to the calculated clone size to generate a clonal antibody population ,in The first cloned antibodies;
[0061] Step 5: Cloning of Antibody Populations Each antibody in the cloud uses a cloud adaptive mutation operator to perform cloud adaptive mutation to generate a mutant antibody group ;
[0062] Step 6: Cloning antibody populations Randomly select w antibodies as parent antibodies for antibody recombination to generate offspring antibodies , until the clonal antibody population When the number of unselected antibodies is less than w, antibody recombination is stopped and a recombinant antibody group is generated. ;
[0063] Step 7: Merge the variant antibody groups and recombinant antibody groups , generating a pooled antibody population ;
[0064] Step 8: Randomly generate d new antibodies and merge the antibody groups The d antibodies with the second smallest fitness are replaced by d randomly generated new antibodies;
[0065] Step 9: If the number of cycles t is less than the iteration threshold, let , and select the combined antibody group The r antibodies with the second largest fitness form a new memory population , loop steps 3 to 8; if the number of iterations t is equal to the iteration threshold, the loop ends and the combined antibody group is obtained Arc surfacing parameters corresponding to the antibody with the second largest fitness;
[0066] In step 1, the initial antibody population The antibody in the middle corresponds to the arc surfacing parameters one by one. The range of the antibody is the range of the arc surfacing parameters. The range of the arc surfacing parameters is still the preset Q group of arc surfacing parameters.
[0067] In step 2, the expression of the second fitness function is: ;
[0068] In the formula, is the second fitness of the ith antibody, is the regulation quality of the ith antibody, ; The adjustment quality is the coating quality of the arc coating prepared after the arc surfacing parameters are adjusted;
[0069] The method for obtaining the adjustment quality is as follows: the arc cladding parameters, arc influence data and coating quality of the arc coating corresponding to the antibody are used as evaluation data, and the evaluation model is input into the trained quality analysis model to predict the corresponding adjustment quality; the training process of the quality analysis model is consistent with the training process of the coating quality prediction model, and it is also a deep neural network model;
[0070] In step 4, the method for calculating the clone size includes:
[0071] ;
[0072] ;
[0073] In the formula, is the clone size of the ith antibody, Int is the rounding function, q is the size of the antibody group, is the affinity of the ith antibody, min is the minimum function, exp is the natural exponential function, is the Euclidean distance between the ith antibody and the jth antibody, , ;
[0074] In step 6, the progeny antibody The calculation methods include:
[0075] ;
[0076] In the formula, is the w-th parent antibody, is the wth scale factor, the scale factor is a randomly generated real number and the w scale factors are not all 0;
[0077] The step of adjusting the cold spraying parameters according to the coating quality of the sprayed coating is consistent with the step of adjusting the arc cladding parameters according to the coating quality of the arc coating.
[0078] Furthermore, the method for automatically stopping coating preparation according to coating performance includes:
[0079] Real-time collection of coating data, including coating temperature and coating thickness;
[0080] The method for obtaining the coating thickness is as follows: obtaining the straight-line distances corresponding to m coordinate points on the surface of the base metal before the coating preparation begins, and marking them as the distance before preparation; obtaining the straight-line distances corresponding to the m coordinate points on the coating surface in real time during the coating preparation process of the base metal; subtracting the corresponding distance before preparation from the straight-line distances corresponding to the m coordinate points on the coating surface to obtain the distance difference, and taking the average of the distance differences corresponding to the m coordinate points as the coating thickness;
[0081] The coating data and the corresponding coating defects are used as diagnostic data, and the diagnostic data are input into the trained performance prediction model to predict the corresponding bonding strength; the training process of the performance prediction model is consistent with the training process of the coating quality prediction model, and it is also a deep neural network model; the coating data and coating defects in the diagnostic data are collected at the same time;
[0082] Preset strength thresholds, the strength thresholds include arc strength thresholds and spraying strength thresholds, the arc strength threshold is a threshold of the bonding strength of the coating prepared during the arc surfacing process, and the spraying strength threshold is a threshold of the bonding strength of the coating prepared during the cold spraying process;
[0083] According to the process stage corresponding to the diagnostic data, the corresponding intensity threshold is determined, and the process stage includes arc surfacing process and cold spraying process;
[0084] The predicted bonding strength is compared with the corresponding strength threshold. If the bonding strength is less than the strength threshold, the coating preparation continues; if the bonding strength is greater than or equal to the strength threshold, the coating preparation stops.
[0085] A system for preparing a gradient coating by combining synchronous arc surfacing welding and cold spraying, and a method for preparing a gradient coating by combining synchronous arc surfacing welding and cold spraying, comprising:
[0086] Data acquisition module, used to collect process-influencing data of base metal;
[0087] The process parameter matching module is used to match the corresponding process parameters according to the process influencing data; the gradient coating is prepared by compositely preparing the base metal according to the process parameters;
[0088] A coating defect detection module is used to detect coating defects in real time during the coating preparation process of the base metal;
[0089] Coating quality control module, used to predict coating quality based on coating defects and adjust process parameters according to coating quality;
[0090] The coating performance monitoring module is used to monitor the coating performance in real time during the coating preparation process of the base metal and automatically stop the coating preparation according to the coating performance.
[0091] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for preparing a gradient coating by composite synchronous arc surfacing and cold spraying is implemented.
[0092] A computer-readable storage medium stores a computer program, and when the computer program is executed, the method for preparing a gradient coating by combining synchronous arc surfacing and cold spraying is implemented.
[0093] Technical effects and advantages of the method and system for preparing gradient coating by synchronous arc surfacing and cold spraying of the present invention:
[0094] By integrating the two processes, the respective technical advantages of arc surfacing and cold spraying are complemented, which can not only form a wear-resistant surfacing layer, but also prepare a densely bonded surface coating, realizing the composite preparation of a gradient coating; combining the simulated annealing algorithm and the machine learning model, the process parameters are accurately matched, and the coating quality and coating performance are monitored in real time throughout the entire process, and the process parameter adjustment and coating preparation stop are automatically controlled, thereby improving the controllability of the coating quality and coating performance; it can significantly improve the performance and service life of the base metal, and effectively improve the process efficiency, while also significantly reducing production costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0095] Figure 1 A schematic diagram of a system for preparing a gradient coating by composite synchronous arc surfacing and cold spraying according to Example 1 of the present invention;
[0096] Figure 2 This is a schematic diagram of the straight-line distance acquisition principle of Embodiment 1 of the present invention;
[0097] Figure 3 This is a flow chart of a method for preparing a gradient coating by composite synchronous arc surfacing welding and cold spraying according to Example 2 of the present invention;
[0098] Figure 4 This is a schematic diagram of an electronic device according to Embodiment 3 of the present invention;
[0099] Figure 5 This is a schematic diagram of a storage medium according to Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0100] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0101] Example 1
[0102] See also Figure 1 As shown, the system for preparing gradient coating by synchronous arc surfacing and cold spraying described in this embodiment includes a data acquisition module, a process parameter matching module, a coating defect detection module, a coating quality control module and a coating performance monitoring module; each module is connected by wired and / or wireless means to realize data transmission between modules;
[0103] A data acquisition module is used to collect process influence data of base metal; the process influence data includes arc influence data and cold spray influence data;
[0104] The process influence data are all physical property data of base metal; arc influence data include conductivity and common influence data; cold spray influence data include roughness and common influence data; common influence data include hardness, thermal conductivity and melting point;
[0105] Among them, for the arc surfacing process, the lower the conductivity, the worse the conductivity of the base metal, the more difficult it is to form a stable plasma, and a larger arc voltage is required to start the arc, and vice versa; the greater the hardness, the more heat is required to melt the base metal, and a larger arc current is required, and the melting speed of the base metal is slower, and the arc time needs to be extended, and vice versa; the higher the thermal conductivity, the smaller the range of the base metal affected by the arc heat, and the arc time needs to be reduced to avoid overheating the base metal, and the heat dissipates faster, requiring a larger arc voltage and arc current to ensure sufficient melting, and vice versa; the higher the melting point, the larger the arc voltage and arc current are required to melt the base metal, and vice versa;
[0106] As for the cold spraying process, the greater the roughness, the easier it is for the powder to adhere to the surface of the base metal, and the less spraying amount is needed, which will affect the bonding uniformity and require a greater spraying pressure, and vice versa; the greater the hardness and melting point, the more difficult it is for the powder to adhere to the surface of the base metal, and the spraying pressure needs to be increased, and the base metal dissipates heat faster, and the spraying time needs to be extended to prevent the base metal surface from being too cold and affecting the bonding, and vice versa; the greater the thermal conductivity, in order to prevent the base metal surface from being too cold and solidified, the spraying speed needs to be reduced, and the base metal is difficult to conduct heat quickly, and the spraying amount needs to be increased to provide sufficient bonding heat, and vice versa;
[0107] The method for obtaining process influence data is as follows: using an optical identifier to identify the unique code marked on the edge of the base metal, obtaining the corresponding ID mark, sending the ID mark to the base metal database, and obtaining a set of process influence data corresponding to the ID mark, wherein the unique code corresponds to the ID mark one-to-one, and the ID mark corresponds to the process influence data one-to-one; the optical identifier is installed above the coating preparation platform, and the coating preparation platform is a platform for preparing the base metal gradient coating; the unique code of the base metal is, for example, an alphanumeric combination code (such as A2B3C4, X7Y8Z9, G2H4K6, etc.), a serial number code (such as 037693, 012345, 145232, etc.); the base metal database records the process influence data corresponding to each base metal ID mark, and when the base metal is produced, the unique code corresponding to each base metal surface edge mark is recorded;
[0108] The process parameter matching module is used to match the corresponding process parameters according to the process influencing data; the gradient coating is prepared by compositely preparing the base metal according to the process parameters;
[0109] The process parameters include arc surfacing parameters and cold spraying parameters;
[0110] Arc surfacing parameters include arc current, arc voltage and arc time, where arc time is the duration from arc formation to arc extinction; cold spraying parameters include spraying pressure, spraying speed, spraying amount and spraying time;
[0111] Methods for matching corresponding process parameters include:
[0112] Match the corresponding arc surfacing parameters according to the arc influence data; predict the new cold spray influence data under the acquired arc surfacing parameters, the new cold spray influence data is the cold spray influence data after the arc surfacing is completed; then match the corresponding cold spray parameters according to the new cold spray influence data;
[0113] The steps of matching corresponding arc surfacing parameters according to arc influence data include:
[0114] Step a: Preset initialization temperature , minimum temperature , Temperature reduction coefficient and the maximum number of iterations , and let the current temperature ;
[0115] Step b: Randomly set a feasible solution , a feasible solution The arc surfacing parameters are preset to group Q arc surfacing parameters, where Q is an integer greater than 1. The arc surfacing parameter range is the group Q arc surfacing parameters. The range is the arc surfacing parameter range; wherein the arc surfacing parameters of group Q are arc surfacing parameters collected by technicians in the historical process of successfully completing arc surfacing of base metal;
[0116] Step c: determining the first fitness function;
[0117] The expression of the first fitness function is: ;
[0118] In the formula, is the first fitness, The coating quality refers to the quality of the coating formed after arc surfacing of the base metal.
[0119] Methods for obtaining coating quality include:
[0120] The feasible solution The corresponding arc cladding parameters and arc influence data are used as analysis data; the analysis data are input into the trained coating quality prediction model to predict the corresponding coating quality;
[0121] The specific training process of the coating quality prediction model includes:
[0122] Pre-collecting a set of analysis data corresponding to coating qualities, where a is an integer greater than 1, and converting the analysis data and the corresponding coating qualities into a set of corresponding feature vectors;
[0123] Each set of feature vectors is used as the input of the coating quality prediction model. The coating quality prediction model uses a set of coating qualities corresponding to each set of analysis data as output, and the actual coating quality corresponding to each set of analysis data as the prediction target. The actual coating quality is the coating quality corresponding to the analysis data collected in advance; the training target is to minimize the sum of the prediction errors of all analysis data; wherein, the calculation formula of the prediction error is: ,in is the prediction error, is the group number of the eigenvector corresponding to the analyzed data, For the The coating quality corresponding to the group analysis data, For the The actual coating quality corresponding to the group analysis data; the coating quality prediction model is trained until the sum of the prediction errors reaches convergence and the training is stopped;
[0124] The above-mentioned coating quality prediction model is specifically a deep neural network model;
[0125] It should be noted that the coating quality corresponding to the analysis data is obtained by a technician in the field who collects multiple sets of different analysis data during the arc surfacing process of the historical base metal and analyzes the quality of the coating formed under each set of analysis data based on actual experience;
[0126] Step d: Calculate feasible solutions The corresponding first fitness ; with feasible solutions For the current point, perform random perturbations in the neighborhood of the current point to obtain a new feasible solution , and calculate the new feasible solution The corresponding first fitness ;
[0127] Step e: Calculate the first fitness difference , the first fitness difference The expression is ;
[0128] If the first fitness difference , then let , the new feasible solution The value of is given to the feasible solution ; If the first fitness difference , then calculate the probability , according to the probability make ; Probability The expression is: ; In the formula, e is a natural constant;
[0129] Step f: Repeat steps d to e until the number of loops reaches the maximum number of iterations. When , the loop ends and enters step g;
[0130] Step g: Set the current temperature , that is, cool down the current temperature in step a, and assign the value after cooling to the current temperature; let the maximum number of iterations , that is, assign the value of the reduced maximum number of iterations to the maximum number of iterations; if the reduced maximum number of iterations is not an integer, the reduced maximum number of iterations is rounded up to make it an integer;
[0131] Step h: Repeat steps d to g until the current temperature reaches When , the loop ends and a feasible solution is obtained Corresponding arc surfacing parameters;
[0132] It should be noted that the initialization temperature , minimum temperature , Temperature reduction coefficient and the maximum number of iterations As preset parameters, the preset parameters are collected by a technician in this field during the arc surfacing process of the historical base metal, b groups of different arc influence data are collected, multiple groups of different preset parameters are pre-set for a group of arc influence data in turn, the arc surfacing parameters are obtained by the simulated annealing algorithm in turn, the corresponding coating quality is calculated according to the obtained multiple groups of arc surfacing parameters, the preset parameters corresponding to the maximum coating quality are used as the preset parameters corresponding to the group of arc influence data, and the preset parameters corresponding to b groups of arc influence data are obtained by analogy, and the mean values of multiple preset parameters (i.e., the initialization temperature mean, the minimum temperature mean, the temperature reduction coefficient mean, and the maximum number of iterations mean) are used as the initialization temperature preset in step a. , minimum temperature , Temperature reduction coefficient and the maximum number of iterations ;
[0133] Methods for predicting the impact of new cold spray data include:
[0134] New cold spray impact data include roughness, new hardness, new thermal conductivity and new melting point;
[0135] The arc surfacing parameters and cold spraying influence data are used as test data, and the test data are input into the trained first parameter prediction model to predict the new roughness; the test data are input into the trained second parameter prediction model to predict the new hardness; the test data are input into the trained third parameter prediction model to predict the new thermal conductivity; the test data are input into the trained fourth parameter prediction model to predict the new melting point; wherein, the specific training processes of the first parameter prediction model, the second parameter prediction model, the third parameter prediction model and the fourth parameter prediction model are consistent with the training process of the coating quality prediction model, and all of them are deep neural network models;
[0136] The step of matching the corresponding cold spray parameters according to the new cold spray influence data is consistent with the step of matching the corresponding arc surfacing parameters according to the arc influence data;
[0137] It should be noted that the purpose of obtaining new cold spraying influence data is that when preparing gradient coatings on base metal composites, arc surfacing should be performed first, and then cold spraying should be performed after arc surfacing. After arc surfacing, the cold spraying influence data of the base metal will change, so it is necessary to obtain the cold spraying data of the base metal after arc surfacing to ensure accurate cold spraying parameters.
[0138] A coating defect detection module is used to detect coating defects in real time during the coating preparation process of the base metal;
[0139] Coating defects include defect types and defect quantities; defect types include crack defects, hole defects and pitting defects; defect quantities include the number of crack defects, the number of hole defects and the number of pitting defects;
[0140] Methods for real-time detection of coating defects during arc cladding processes include:
[0141] A three-dimensional coordinate system is established for the coating in real time, and m coordinate points corresponding to the coating surface are obtained; a laser sensor aligned with the coating is used to scan the coating surface at multiple coordinate points, that is, all m coordinate points are scanned; the laser sensor includes a laser transmitter and a laser receiver, the laser transmitter transmits a laser beam, the laser beam is a short-pulse laser beam, and the laser receiver receives the laser beam reflected from the coating surface; the reflection time of each coordinate point is obtained, the reflection time is the duration from laser emission to laser reception, and the reflection time is obtained by the built-in timer of the laser transmitter, when the laser transmitter emits the laser beam, the timer starts timing, when the laser receiver receives the laser beam, the timer stops timing, and the data collected by the timer is the reflection time; then the emission angle and receiving angle of each coordinate point are obtained, the emission angle is the angle between the laser transmitter and the horizontal plane when the laser is emitted, and the receiving angle is the angle between the laser receiver and the horizontal plane when the laser is received, the emission angle is obtained by the built-in absolute encoder of the laser transmitter, and the receiving angle is obtained by the built-in absolute encoder of the laser receiver;
[0142] According to the reflection time and light speed of each coordinate point, the laser distance of each coordinate point is calculated. The laser distance is the distance traveled by the laser from laser emission to laser reception. The expression of laser distance is: ; In the formula, is the laser path, is the reflection time, is the speed of light, which is defined as ; According to the laser distance, emission angle, and receiving angle of each coordinate point, the straight-line distance of each coordinate point is calculated. The straight-line distance is the vertical distance between each coordinate point and the laser sensor. The expression of the straight-line distance is: ; In the formula, is the straight-line distance, is the emission angle, is the reflection angle, sin is the sine function, please refer to Figure 2 As shown;
[0143] Point cloud data is formed according to the straight-line distances corresponding to the m coordinate points, and the point cloud data is meshed and reproduced using a polygonal mesh method to obtain a three-dimensional image of the coating; the polygonal mesh method is an existing technology and will not be described in detail here;
[0144] Grayscale the three-dimensional image of the coating; collect the grayscale values of Y pixels corresponding to the three-dimensional image of the coating, where Y is the number of all pixels in the three-dimensional image of the coating;
[0145] Preset gray value threshold , ; The grayscale values of Y pixels corresponding to the three-dimensional image of the coating are compared with the grayscale value threshold For comparative analysis, if , then mark the pixel as a normal point. , then mark the pixel as a defect point. is the gray value of the e-th pixel in the coating 3D image, ; Multiple adjacent defect points in the coating 3D image are regarded as a defect area, and the defect area in the coating 3D image is obtained. defective areas;
[0146] It should be noted that the gray value threshold A technician in this field obtains multiple defective three-dimensional images of coatings during arc surfacing of base metals, performs grayscale processing on the multiple three-dimensional images of coatings, collects the grayscale values of pixels corresponding to defective areas in each three-dimensional image of coatings, obtains the maximum grayscale value in each three-dimensional image of coatings, and uses the average of multiple maximum grayscale values as the grayscale value threshold. ;
[0147] It should be understood that coating defects are three-dimensional concave areas that absorb and reflect less light than the smooth coating surface around the defect; the grayscale value is the intensity of light received and reflected by the pixel to the camera, and the larger the grayscale value, the greater the light intensity; since the defect area absorbs and reflects less light, the corresponding grayscale value is lower than the smooth coating surface around the defect, so the grayscale value corresponding to the defect area will be smaller than the grayscale value corresponding to the remaining smooth areas of the coating surface;
[0148] According to the coating 3D image defect area, cut out M 3D defect images from the coating 3D image, ; Input M three-dimensional defect images into the trained defect analysis model respectively, and output the recognition result corresponding to each three-dimensional defect image, and the recognition result is the defect type;
[0149] The specific training process of the defect analysis model includes:
[0150] Collect c defect images in advance, where c is an integer greater than 1, and the defect images include three-dimensional defect images and two-dimensional defect images. Annotate the defects in each defect image, including crack defects, hole defects and pit defects; convert the crack defects, hole defects and pit defects into digital annotations, for example, convert the crack defect into 1, the hole defect into 2, and the pit defect into 3; divide the annotated defect images into a training set and a test set, using 70% of the defect images as the training set and 30% of the defect images as the test set; use the training set to train the defect analysis model, and use the test set to test the defect analysis model; preset an error threshold, and when the mean of the prediction errors of all defect images in the test set is less than the error threshold, output the defect analysis model; wherein the calculation formula for the mean prediction error is: ,in is the prediction error, is the number of the defect image, For the The predicted annotations corresponding to the defect images of the group, For the The actual annotation corresponding to the group defect image, U is the number of defect images in the test set; the error threshold is preset according to the accuracy required by the defect analysis model;
[0151] The above-mentioned defect analysis model is specifically a convolutional neural network model;
[0152] Count the number of crack defects, hole defects and pit defects in the three-dimensional image of the coating;
[0153] Methods for real-time detection of coating defects during cold spray processes include:
[0154] Collect the coating two-dimensional image in real time, the coating two-dimensional image is obtained by the image sensor installed in the coating formation area; obtain the coating two-dimensional image defect area, according to the coating 2D image defect area, cut out N two-dimensional defect images from the coating two-dimensional image, ; Input N two-dimensional defect images into the trained defect analysis model respectively, and output the defect type corresponding to each two-dimensional defect image; count the number of crack defects, hole defects and pit defects in the two-dimensional image of the coating; wherein, obtain the two-dimensional image of the coating Method for obtaining defect areas in coating three-dimensional images The method is consistent for each defect area;
[0155] It should be noted that the reason why the 2D image of the coating is collected during the cold spraying process and the 3D image of the coating is collected during the arc surfacing process is that the temperature during the arc surfacing process is relatively high, and the quality of the 2D image of the coating collected by optical transmission and other methods is poor, making it difficult to directly collect the 2D image of the coating in the welding area; while the temperature during the cold spraying process is relatively low, the 2D image of the coating can be directly obtained in real time through the image sensor;
[0156] The coating quality control module is used to calculate the coating quality according to the coating defects and adjust the process parameters according to the coating quality;
[0157] Methods for calculating coating quality include:
[0158] ;
[0159] ;
[0160] In the formula, is the coating quality of arc coating, which is the coating prepared during the arc cladding process. is the preset constant, is the number of crack defects in the three-dimensional image of the coating, is the number of hole defects in the three-dimensional image of the coating, is the number of pitting defects in the coating 3D image, The coating quality of the spray coating is the coating prepared during the cold spray process. is the number of crack defects in the two-dimensional image of the coating, is the number of hole defects in the two-dimensional image of the coating, is the number of pitting defects in the two-dimensional image of the coating, , , , , , All are preset weight coefficients;
[0161] The specific value of the weight coefficient in the formula can be set according to the actual situation. The weight coefficient reflects the influence of the number of crack defects, the number of hole defects and the number of pit defects on the coating quality. The technicians in this field can preset the corresponding weight coefficient according to the actual influence of the number of crack defects, the number of hole defects and the number of pit defects on the coating quality, so as to accurately evaluate the coating quality of the arc coating or the spray coating; the specific value of the constant in the formula is set by the technicians in this field according to the actual situation to ensure that the calculated and All are not negative;
[0162] The steps to adjust arc cladding parameters according to the coating quality of the arc coating include:
[0163] Step 1: Randomly generate an initial antibody population of size q ; Preset iteration threshold, which is preset according to the algorithm accuracy;
[0164] Step 2: Determine the second fitness function;
[0165] Step 3: Calculate the initial antibody population The second fitness of each antibody in , select r antibodies with the largest second fitness, and construct a memory population ;
[0166] Step 4: Memory population Each antibody in the cloning is cloned according to the calculated clone size to generate a clonal antibody population ,in The first cloned antibodies;
[0167] Step 5: Cloning of Antibody Populations Each antibody in the cloud uses a cloud adaptive mutation operator to perform cloud adaptive mutation to generate a mutant antibody group ; The cloud adaptive mutation operator is an existing technology and will not be described in detail here;
[0168] Step 6: Cloning antibody populations Randomly select w antibodies as parent antibodies for antibody recombination to generate offspring antibodies , until the clonal antibody population When the number of unselected antibodies is less than w, antibody recombination is stopped and a recombinant antibody group is generated. ; In this embodiment, w is preferably 3; recombinant antibody group Multiple progeny antibodies ;
[0169] Step 7: Merge the variant antibody groups and recombinant antibody groups , generating a pooled antibody population ;
[0170] Step 8: Randomly generate d new antibodies and merge the antibody groups The d antibodies with the second smallest fitness are replaced by d randomly generated new antibodies;
[0171] Step 9: If the number of cycles t is less than the iteration threshold, let , and select the combined antibody group The r antibodies with the second largest fitness form a new memory population , loop steps 3 to 8; if the number of iterations t is equal to the iteration threshold, the loop ends and the combined antibody group is obtained Arc surfacing parameters corresponding to the antibody with the second largest fitness; For computer languages, the value of the number of iterations t is added by 1 and then assigned to the number of iterations t;
[0172] In step 1 above, the initial antibody population The antibody in the middle corresponds to the arc surfacing parameters one by one. The range of the antibody is the range of the arc surfacing parameters. The range of the arc surfacing parameters is still the preset Q group of arc surfacing parameters.
[0173] In the above step 2, the expression of the second fitness function is: ;
[0174] In the formula, is the second fitness of the ith antibody, is the regulation quality of the ith antibody, ; The adjustment quality is the coating quality of the arc coating prepared after the arc surfacing parameters are adjusted;
[0175] The method for obtaining the adjustment quality is as follows: the arc cladding parameters, arc influence data and coating quality of the arc coating corresponding to the antibody are used as evaluation data, and the evaluation model is input into the trained quality analysis model to predict the corresponding adjustment quality; the specific training process of the quality analysis model is consistent with the training process of the coating quality prediction model, and it is also a deep neural network model;
[0176] In the above step 4, the calculation method of the clone size includes:
[0177] ;
[0178] ;
[0179] In the formula, is the clone size of the ith antibody, Int is the rounding function, q is the size of the antibody group, is the affinity of the ith antibody, min is the minimum function, exp is the natural exponential function, is the Euclidean distance between the ith antibody and the jth antibody, , ;
[0180] It should be noted that when calculating the Euclidean distance between the ith antibody and the jth antibody, normalization is performed so that ;
[0181] In step 6 above, the progeny antibody The calculation methods include:
[0182] ;
[0183] In the formula, is the w-th parent antibody, is the wth scale factor, the scale factor is a randomly generated real number and the w scale factors are not all 0;
[0184] The step of adjusting the cold spraying parameters according to the coating quality of the sprayed coating is consistent with the step of adjusting the arc surfacing parameters according to the coating quality of the arc coating;
[0185] The coating performance monitoring module is used to monitor the coating performance in real time during the coating preparation process of the base metal and automatically stop the coating preparation according to the coating performance;
[0186] Methods for automatically stopping coating preparation based on coating performance include:
[0187] Real-time collection of coating data, including coating temperature and coating thickness;
[0188] The coating temperature is obtained by a two-color thermometer installed in the coating forming area; the coating thickness is obtained by: obtaining the straight-line distance corresponding to m coordinate points on the surface of the base metal before the coating preparation begins, and marking it as the distance before preparation; during the coating preparation process of the base metal, obtaining the straight-line distance corresponding to the m coordinate points on the coating surface in real time; subtracting the corresponding distance before preparation from the straight-line distance corresponding to the m coordinate points on the coating surface to obtain the distance difference, and taking the average of the distance differences corresponding to the m coordinate points as the coating thickness;
[0189] The coating data and the corresponding coating defects are used as diagnostic data, and the diagnostic data are input into the trained performance prediction model to predict the corresponding bonding strength; the specific training process of the performance prediction model is consistent with the training process of the coating quality prediction model, and it is also a deep neural network model; the coating data and coating defects in the diagnostic data are collected at the same time;
[0190] Preset strength thresholds, which include arc strength thresholds and spraying strength thresholds. The arc strength threshold is the threshold of the bonding strength of the coating prepared during the arc surfacing process, and the spraying strength threshold is the threshold of the bonding strength of the coating prepared during the cold spraying process. The arc strength threshold and the spraying strength threshold are both preset by technicians in this field based on the bonding strength of the arc coating and the bonding strength of the spray coating actually required by the base metal.
[0191] According to the process stage corresponding to the diagnostic data, the corresponding intensity threshold is determined, and the process stage includes arc surfacing process and cold spraying process;
[0192] The predicted bonding strength is compared with the corresponding strength threshold, if the bonding strength is less than the strength threshold, the coating preparation continues; if the bonding strength is greater than or equal to the strength threshold, the coating preparation stops;
[0193] This embodiment integrates two processes to achieve the complementary technical advantages of arc surfacing and cold spraying, which can not only form a wear-resistant surfacing layer, but also prepare a densely bonded surface coating, thereby realizing the composite preparation of a gradient coating; combining a simulated annealing algorithm and a machine learning model, the process parameters are accurately matched, and the coating quality and coating performance are monitored in real time throughout the entire process, and the process parameter adjustment and coating preparation stop are automatically controlled, thereby improving the controllability of the coating quality and coating performance; it can significantly improve the performance and service life of the base metal, and effectively improve the process efficiency, while also significantly reducing the production cost.
[0194] Example 2
[0195] See also Figure 3As shown, the part not described in detail in this embodiment is described in Example 1, and a method for preparing a gradient coating by synchronous arc surfacing and cold spraying is provided, the method comprising:
[0196] Collect process impact data of base metal;
[0197] According to the process influence data, the corresponding process parameters are matched; according to the process parameters, the gradient coating is prepared by compounding the base metal;
[0198] Real-time detection of coating defects during coating preparation on base metal;
[0199] Predict coating quality based on coating defects and adjust process parameters based on coating quality;
[0200] During the coating preparation process of the base metal, the coating performance is monitored in real time and the coating preparation is automatically stopped according to the coating performance.
[0201] Furthermore, the process influencing data are all physical property data of the base metal; the process influencing data include arc influencing data and cold spray influencing data; the arc influencing data include conductivity and common influencing data; the cold spray influencing data include roughness and common influencing data; the common influencing data include hardness, thermal conductivity and melting point;
[0202] The method for acquiring process impact data is as follows: using an optical identifier to identify the unique code marked on the edge of the base metal, obtaining the corresponding ID mark, sending the ID mark to a base metal database, and obtaining a set of process impact data corresponding to the ID mark, wherein the unique code corresponds to the ID mark one-to-one, and the ID mark corresponds to the process impact data one-to-one; the base metal database records the process impact data corresponding to each base metal ID mark.
[0203] Further, the process parameters include arc surfacing parameters and cold spraying parameters;
[0204] The arc welding parameters include arc current, arc voltage and arc time, and the arc time is the duration from arc formation to arc extinction; the cold spraying parameters include spraying pressure, spraying speed, spraying amount and spraying time;
[0205] The method for matching corresponding process parameters includes:
[0206] The corresponding arc surfacing parameters are matched according to the arc influence data; under the obtained arc surfacing parameter conditions, the new cold spray influence data is predicted, and the new cold spray influence data is the cold spray influence data after the arc surfacing is completed; and then the corresponding cold spray parameters are matched according to the new cold spray influence data.
[0207] Furthermore, the step of matching corresponding arc surfacing parameters according to the arc influence data includes:
[0208] Step a: Preset initialization temperature , minimum temperature , Temperature reduction coefficient And the maximum number of iterations , and let the current temperature ;
[0209] Step b: Randomly set a feasible solution , a feasible solution The arc surfacing parameters are preset to group Q arc surfacing parameters, where Q is an integer greater than 1. The arc surfacing parameter range is the group Q arc surfacing parameters. The range is the arc surfacing parameter range;
[0210] Step c: determining the first fitness function;
[0211] The expression of the first fitness function is: ;
[0212] In the formula, is the first fitness, The coating quality refers to the quality of the coating formed after arc surfacing of the base metal.
[0213] Methods for obtaining coating quality include:
[0214] The feasible solution The corresponding arc cladding parameters and arc influence data are used as analysis data; the analysis data are input into the trained coating quality prediction model to predict the corresponding coating quality;
[0215] The training process of the coating quality prediction model includes:
[0216] Pre-collecting a set of analysis data corresponding to coating qualities, where a is an integer greater than 1, and converting the analysis data and the corresponding coating qualities into a set of corresponding feature vectors;
[0217] Each set of feature vectors is used as input of a coating quality prediction model. The coating quality prediction model uses a set of coating qualities corresponding to each set of analysis data as output, and uses the actual coating quality corresponding to each set of analysis data as a prediction target, where the actual coating quality is the coating quality corresponding to the analysis data collected in advance; minimizing the sum of prediction errors of all analysis data is used as a training target; the coating quality prediction model is trained until the sum of prediction errors reaches convergence and training is stopped; the coating quality prediction model is a deep neural network model;
[0218] Step d: Calculate feasible solutions The corresponding first fitness ; with feasible solutions For the current point, perform random perturbations in the neighborhood of the current point to obtain a new feasible solution , and calculate the new feasible solution The corresponding first fitness ;
[0219] Step e: Calculate the first fitness difference , the first fitness difference The expression is ;
[0220] If the first fitness difference , then let , the new feasible solution The value of is given to the feasible solution ; If the first fitness difference , then calculate the probability , according to the probability make ; Probability The expression is: ; In the formula, e is a natural constant;
[0221] Step f: Repeat steps d to e until the number of loops reaches the maximum number of iterations. When , the loop ends and enters step g;
[0222] Step g: Set the current temperature , that is, cool down the current temperature in step a, and assign the value after cooling to the current temperature; let the maximum number of iterations , that is, assign the value of the reduced maximum number of iterations to the maximum number of iterations;
[0223] Step h: Repeat steps d to g until the current temperature reaches When , the loop ends and a feasible solution is obtained Corresponding arc surfacing parameters.
[0224] Furthermore, the method for predicting the new cold spraying impact data includes:
[0225] The new cold spraying impact data include roughness, new hardness, new thermal conductivity and new melting point;
[0226] The arc surfacing parameters and cold spraying influence data are used as test data, and the test data are input into the trained first parameter prediction model to predict the new roughness; the test data are input into the trained second parameter prediction model to predict the new hardness; the test data are input into the trained third parameter prediction model to predict the new thermal conductivity; the test data are input into the trained fourth parameter prediction model to predict the new melting point; wherein, the training process of the first parameter prediction model, the second parameter prediction model, the third parameter prediction model and the fourth parameter prediction model are all consistent with the training process of the coating quality prediction model, and all are deep neural network models;
[0227] The step of matching corresponding cold spray parameters according to the new cold spray influence data is consistent with the step of matching corresponding arc surfacing parameters according to the arc influence data.
[0228] Furthermore, the coating defects include defect types and defect quantities; the defect types include crack defects, hole defects and pitting defects; the defect quantities include the number of crack defects, the number of hole defects and the number of pitting defects;
[0229] Methods for real-time detection of coating defects during arc cladding processes include:
[0230] A three-dimensional coordinate system is established for the coating in real time, and m coordinate points corresponding to the coating surface are obtained; a laser sensor aligned with the coating is used to scan the coating surface at multiple coordinate points, that is, all m coordinate points are scanned; the laser sensor includes a laser transmitter and a laser receiver, the laser transmitter transmits a laser beam, and the laser receiver receives the laser beam reflected from the coating surface; the reflection time of each coordinate point is obtained, and the reflection time is the duration from laser emission to laser reception; then the emission angle and receiving angle of each coordinate point are obtained, the emission angle is the angle between the laser transmitter and the horizontal plane when the laser is emitted, and the receiving angle is the angle between the laser receiver and the horizontal plane when the laser is received;
[0231] According to the reflection time and light speed of each coordinate point, the laser distance of each coordinate point is calculated. The laser distance is the distance traveled by the laser from laser emission to laser reception. The expression of laser distance is: ; In the formula, is the laser path, is the reflection time, is the speed of light; according to the laser distance, emission angle, and receiving angle of each coordinate point, the straight-line distance of each coordinate point is calculated. The straight-line distance is the vertical distance between each coordinate point and the laser sensor; the expression of the straight-line distance is: ; In the formula, is the straight-line distance, is the emission angle, is the reflection angle, sin is the sine function;
[0232] Point cloud data is formed according to the straight-line distances corresponding to the m coordinate points, and the point cloud data is meshed using a polygonal mesh method to obtain a three-dimensional image of the coating;
[0233] Grayscale the three-dimensional image of the coating; collect the grayscale values of Y pixels corresponding to the three-dimensional image of the coating, where Y is the number of all pixels in the three-dimensional image of the coating;
[0234] Preset gray value threshold , ; The grayscale values of Y pixels corresponding to the three-dimensional image of the coating are compared with the grayscale value threshold For comparative analysis, if , then mark the pixel as a normal point. , then mark the pixel as a defect point. is the gray value of the e-th pixel in the coating 3D image, ; Multiple adjacent defect points in the coating 3D image are regarded as a defect area, and the defect area in the coating 3D image is obtained. defective areas;
[0235] According to the coating 3D image defect area, cut out M 3D defect images from the coating 3D image, ; Input M three-dimensional defect images into the trained defect analysis model respectively, and output the recognition result corresponding to each three-dimensional defect image, and the recognition result is the defect type;
[0236] The defect analysis model training process includes:
[0237] Collect c defect images in advance, where c is an integer greater than 1, and the defect images include three-dimensional defect images and two-dimensional defect images. Annotate the defects in each defect image, including crack defects, hole defects and pit defects; convert the crack defects, hole defects and pit defects into digital annotations respectively; divide the annotated defect images into a training set and a test set; use the training set to train the defect analysis model, and use the test set to test the defect analysis model; preset an error threshold, and when the mean of the prediction errors of all defect images in the test set is less than the error threshold, output the defect analysis model; the defect analysis model is a convolutional neural network model;
[0238] Count the number of crack defects, hole defects and pit defects in the three-dimensional image of the coating.
[0239] Further, the method for real-time detection of coating defects during the cold spraying process includes:
[0240] Collect coating 2D images in real time; obtain defect area, according to the coating 2D image defect area, cut out N two-dimensional defect images from the coating two-dimensional image, ; Input N two-dimensional defect images into the trained defect analysis model respectively, and output the defect type corresponding to each two-dimensional defect image; count the number of crack defects, hole defects and pit defects in the two-dimensional image of the coating; wherein, obtain the two-dimensional image of the coating Method for obtaining defect areas in coating three-dimensional images The method is consistent with that for each defect area.
[0241] Further, the method for calculating the coating quality includes:
[0242] ;
[0243] ;
[0244] In the formula, is the coating quality of arc coating, which is the coating prepared during the arc cladding process. is the preset constant, is the number of crack defects in the three-dimensional image of the coating, is the number of hole defects in the three-dimensional image of the coating, is the number of pitting defects in the coating 3D image, The coating quality of the spray coating is the coating prepared during the cold spray process. is the number of crack defects in the two-dimensional image of the coating, is the number of hole defects in the two-dimensional image of the coating, is the number of pitting defects in the two-dimensional image of the coating, , , , , , All are preset weight coefficients.
[0245] Further, the step of adjusting arc surfacing parameters according to the coating quality of the arc coating includes:
[0246] Step 1: Randomly generate an initial antibody population of size q ; Preset iteration threshold, which is preset according to the algorithm accuracy;
[0247] Step 2: Determine the second fitness function;
[0248] Step 3: Calculate the initial antibody population The second fitness of each antibody in , select r antibodies with the largest second fitness, and construct a memory population ;
[0249] Step 4: Memory population Each antibody in the cloning is cloned according to the calculated clone size to generate a clonal antibody population ,in The first cloned antibodies;
[0250] Step 5: Cloning of Antibody Populations Each antibody in the cloud uses a cloud adaptive mutation operator to perform cloud adaptive mutation to generate a mutant antibody group ;
[0251] Step 6: Cloning antibody populations Randomly select w antibodies as parent antibodies for antibody recombination to generate offspring antibodies , until the clonal antibody population When the number of unselected antibodies is less than w, antibody recombination is stopped and a recombinant antibody group is generated. ;
[0252] Step 7: Merge the variant antibody groups and recombinant antibody groups , generating a pooled antibody population ;
[0253] Step 8: Randomly generate d new antibodies and merge the antibody groups The d antibodies with the second smallest fitness are replaced by d randomly generated new antibodies;
[0254] Step 9: If the number of cycles t is less than the iteration threshold, let , and select the combined antibody group The r antibodies with the second largest fitness form a new memory population , loop steps 3 to 8; if the number of iterations t is equal to the iteration threshold, the loop ends and the combined antibody group is obtained Arc surfacing parameters corresponding to the antibody with the second largest fitness;
[0255] In step 1, the initial antibody population The antibody in the middle corresponds to the arc surfacing parameters one by one. The range of the antibody is the range of the arc surfacing parameters. The range of the arc surfacing parameters is still the preset Q group of arc surfacing parameters.
[0256] In step 2, the expression of the second fitness function is: ;
[0257] In the formula, is the second fitness of the ith antibody, is the regulation quality of the ith antibody, ; The adjustment quality is the coating quality of the arc coating prepared after the arc surfacing parameters are adjusted;
[0258] The method for obtaining the adjustment quality is as follows: the arc cladding parameters, arc influence data and coating quality of the arc coating corresponding to the antibody are used as evaluation data, and the evaluation model is input into the trained quality analysis model to predict the corresponding adjustment quality; the training process of the quality analysis model is consistent with the training process of the coating quality prediction model, and it is also a deep neural network model;
[0259] In step 4, the method for calculating the clone size includes:
[0260] ;
[0261] ;
[0262] In the formula, is the clone size of the ith antibody, Int is the rounding function, q is the size of the antibody group, is the affinity of the ith antibody, min is the minimum function, exp is the natural exponential function, is the Euclidean distance between the ith antibody and the jth antibody, , ;
[0263] In step 6, the progeny antibody The calculation methods include:
[0264] ;
[0265] In the formula, is the w-th parent antibody, is the wth scale factor, the scale factor is a randomly generated real number and the w scale factors are not all 0;
[0266] The step of adjusting the cold spraying parameters according to the coating quality of the sprayed coating is consistent with the step of adjusting the arc cladding parameters according to the coating quality of the arc coating.
[0267] Furthermore, the method for automatically stopping coating preparation according to coating performance includes:
[0268] Real-time collection of coating data, including coating temperature and coating thickness;
[0269] The method for obtaining the coating thickness is as follows: obtaining the straight-line distances corresponding to m coordinate points on the surface of the base metal before the coating preparation begins, and marking them as the distance before preparation; obtaining the straight-line distances corresponding to the m coordinate points on the coating surface in real time during the coating preparation process of the base metal; subtracting the corresponding distance before preparation from the straight-line distances corresponding to the m coordinate points on the coating surface to obtain the distance difference, and taking the average of the distance differences corresponding to the m coordinate points as the coating thickness;
[0270] The coating data and the corresponding coating defects are used as diagnostic data, and the diagnostic data are input into the trained performance prediction model to predict the corresponding bonding strength; the training process of the performance prediction model is consistent with the training process of the coating quality prediction model, and it is also a deep neural network model; the coating data and coating defects in the diagnostic data are collected at the same time;
[0271] Preset strength thresholds, the strength thresholds include arc strength thresholds and spraying strength thresholds, the arc strength threshold is a threshold of the bonding strength of the coating prepared during the arc surfacing process, and the spraying strength threshold is a threshold of the bonding strength of the coating prepared during the cold spraying process;
[0272] According to the process stage corresponding to the diagnostic data, the corresponding intensity threshold is determined, and the process stage includes arc surfacing process and cold spraying process;
[0273] The predicted bonding strength is compared with the corresponding strength threshold. If the bonding strength is less than the strength threshold, the coating preparation continues; if the bonding strength is greater than or equal to the strength threshold, the coating preparation stops.
[0274] Example 3
[0275] See also Figure 4 As shown, according to another aspect of the present application, an electronic device 500 is also provided. The electronic device 500 may include one or more processors and one or more memories. The memories store computer readable codes, and when the computer readable codes are run by one or more processors, the method for preparing a gradient coating by combining synchronous arc surfacing and cold spraying as described above can be executed.
[0276] The method or system according to the embodiment of the present application can also be Figure 4 The electronic device architecture shown in FIG. Figure 4As shown, the electronic device 500 may include a bus 501, one or more CPUs 502, ROM 503, RAM 504, a communication port 505 connected to a network, an input / output 506, a hard disk 507, etc. The storage device in the electronic device 500, such as ROM 503 or hard disk 507, may store the method for preparing a gradient coating by combining synchronous arc surfacing and cold spraying provided in the present application. Furthermore, the electronic device 500 may also include a user interface 508. Of course, Figure 4 The architecture shown is only exemplary and can be omitted according to actual needs when implementing different devices. Figure 4 One or more components of an electronic device are shown.
[0277] Example 4
[0278] See also Figure 5 As shown, a computer-readable storage medium 600 according to an embodiment of the present application is shown. Computer-readable instructions are stored on the computer-readable storage medium 600. When the computer-readable instructions are executed by the processor, the method for preparing a gradient coating by synchronous arc surfacing and cold spraying according to an embodiment of the present application described with reference to the above figures can be executed. The storage medium 600 includes, but is not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.
[0279] In addition, according to the embodiments of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the present application provides a non-transitory machine-readable storage medium, which stores machine-readable instructions, and the machine-readable instructions can be executed by a processor to execute instructions corresponding to the method steps provided in the present application, for example: a method for preparing a gradient coating by combining synchronous arc surfacing and cold spraying. When the computer program is executed by a central processing unit (CPU), the above functions defined in the method of the present application are executed.
[0280] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
[0281] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for preparing a gradient coating by combining synchronous arc surfacing and cold spraying, characterized in that: include: Collect process impact data of base metal; The process influence data include arc influence data and cold spray influence data; Match the corresponding process parameters according to the process impact data; Composite the base metal to prepare the gradient coating according to the process parameters; The process parameters include arc surfacing parameters and cold spraying parameters; The method for matching corresponding process parameters includes: Match the corresponding arc surfacing parameters according to the arc influence data; predict the new cold spray influence data under the acquired arc surfacing parameters, the new cold spray influence data is the cold spray influence data after the arc surfacing is completed; then match the corresponding cold spray parameters according to the new cold spray influence data; The step of matching corresponding arc surfacing parameters according to arc influence data comprises: Step a: Preset initialization temperature , minimum temperature , Temperature reduction coefficient and the maximum number of iterations , and let the current temperature ; Step b: Randomly set a feasible solution , a feasible solution The arc surfacing parameters are preset to group Q arc surfacing parameters, where Q is an integer greater than 1. The arc surfacing parameter range is the group Q arc surfacing parameters. The range is the arc surfacing parameter range; Step c: determining the first fitness function; The expression of the first fitness function is: ; In the formula, is the first fitness, The coating quality refers to the quality of the coating formed after arc surfacing of the base metal. Methods for obtaining coating quality include: The feasible solution The corresponding arc cladding parameters and arc influence data are used as analysis data; the analysis data are input into the trained coating quality prediction model to predict the corresponding coating quality; The training process of the coating quality prediction model includes: Pre-collecting a set of analysis data corresponding to coating qualities, where a is an integer greater than 1, and converting the analysis data and the corresponding coating qualities into a set of corresponding feature vectors; Each set of feature vectors is used as input of a coating quality prediction model. The coating quality prediction model uses a set of coating qualities corresponding to each set of analysis data as output, and uses the actual coating quality corresponding to each set of analysis data as a prediction target, where the actual coating quality is the coating quality corresponding to the analysis data collected in advance; minimizing the sum of prediction errors of all analysis data is used as a training target; the coating quality prediction model is trained until the sum of prediction errors reaches convergence and training is stopped; the coating quality prediction model is a deep neural network model; Step d: Calculate feasible solutions The corresponding first fitness ; with feasible solutions For the current point, perform random perturbations in the neighborhood of the current point to obtain a new feasible solution , and calculate the new feasible solution The corresponding first fitness ; Step e: Calculate the first fitness difference , the first fitness difference The expression is ; If the first fitness difference , then let , the new feasible solution The value of is given to the feasible solution ; If the first fitness difference , then calculate the probability , according to the probability make ; Probability The expression is: ; In the formula, e is a natural constant; Step f: Repeat steps d to e until the number of loops reaches the maximum number of iterations. When , the loop ends and enters step g; Step g: Set the current temperature , that is, cool down the current temperature in step a, and assign the value after cooling to the current temperature; let the maximum number of iterations , that is, assign the value of the reduced maximum number of iterations to the maximum number of iterations; Step h: Repeat steps d to g until the current temperature reaches When , the loop ends and a feasible solution is obtained Corresponding arc surfacing parameters; The step of matching the corresponding cold spray parameters according to the new cold spray influence data is consistent with the step of matching the corresponding arc surfacing parameters according to the arc influence data; Real-time detection of coating defects during coating preparation on base metal; According to coating defects, the coating quality is predicted, and the process parameters are adjusted according to the coating quality; the steps of adjusting arc surfacing parameters according to the coating quality of the arc coating include: Step 1: Randomly generate an initial antibody population of size q ; Preset iteration threshold, which is preset according to the algorithm accuracy; Step 2: Determine the second fitness function; Step 3: Calculate the initial antibody population The second fitness of each antibody in , select r antibodies with the largest second fitness, and construct a memory population ; Step 4: Memory population Each antibody in the cloning is cloned according to the calculated clone size to generate a clonal antibody population ,in The first cloned antibodies; Step 5: Cloning of Antibody Populations Each antibody in the cloud uses a cloud adaptive mutation operator to perform cloud adaptive mutation to generate a mutant antibody group ; Step 6: Cloning antibody populations Randomly select w antibodies as parent antibodies for antibody recombination to generate offspring antibodies , until the clonal antibody population When the number of unselected antibodies is less than w, antibody recombination is stopped and a recombinant antibody group is generated. ; Step 7: Merge the variant antibody groups and recombinant antibody groups , generating a pooled antibody population ; Step 8: Randomly generate d new antibodies and merge the antibody groups The d antibodies with the second smallest fitness are replaced by d randomly generated new antibodies; Step 9: If the number of cycles t is less than the iteration threshold, let , and select the combined antibody group The r antibodies with the second largest fitness form a new memory population , loop steps 3 to 8; if the number of iterations t is equal to the iteration threshold, the loop ends and the combined antibody group is obtained Arc surfacing parameters corresponding to the antibody with the second largest fitness; In step 1, the initial antibody population The antibody in the middle corresponds to the arc surfacing parameters one by one. The range of the antibody is the range of the arc surfacing parameters. The range of the arc surfacing parameters is still the preset Q group of arc surfacing parameters. In step 2, the expression of the second fitness function is: ; In the formula, is the second fitness of the ith antibody, is the regulation quality of the ith antibody, ; The adjustment quality is the coating quality of the arc coating prepared after the arc surfacing parameters are adjusted; The method for obtaining the adjustment quality is as follows: the arc cladding parameters, arc influence data and coating quality of the arc coating corresponding to the antibody are used as evaluation data, and the evaluation model is input into the trained quality analysis model to predict the corresponding adjustment quality; the training process of the quality analysis model is consistent with the training process of the coating quality prediction model, and it is also a deep neural network model; In step 4, the method for calculating the clone size includes: ; ; In the formula, is the clone size of the ith antibody, Int is the rounding function, q is the size of the antibody group, is the affinity of the ith antibody, min is the minimum function, exp is the natural exponential function, is the Euclidean distance between the ith antibody and the jth antibody, , ; In step 6, the progeny antibody The calculation methods include: ; In the formula, is the w-th parent antibody, is the wth scale factor, the scale factor is a randomly generated real number and the w scale factors are not all 0; The step of adjusting the cold spraying parameters according to the coating quality of the sprayed coating is consistent with the step of adjusting the arc surfacing parameters according to the coating quality of the arc coating; During the coating preparation process of the base metal, the coating performance is monitored in real time and the coating preparation is automatically stopped according to the coating performance.
2. The method for preparing a gradient coating by combining synchronous arc surfacing and cold spraying according to claim 1, characterized in that: The process influence data are all physical property data of the base metal; the arc influence data include conductivity and common influence data; the cold spray influence data include roughness and common influence data; the common influence data include hardness, thermal conductivity and melting point; The method for acquiring process impact data is as follows: using an optical identifier to identify the unique code marked on the edge of the base metal, obtaining the corresponding ID mark, sending the ID mark to a base metal database, and obtaining a set of process impact data corresponding to the ID mark, wherein the unique code corresponds to the ID mark one-to-one, and the ID mark corresponds to the process impact data one-to-one; the base metal database records the process impact data corresponding to each base metal ID mark.
3. The method for preparing a gradient coating by combining synchronous arc surfacing and cold spraying according to claim 2, characterized in that: The arc surfacing parameters include arc current, arc voltage and arc time, where arc time is the duration from arc formation to arc extinction; the cold spraying parameters include spraying pressure, spraying speed, spraying amount and spraying time.
4. The method for preparing a gradient coating by combining synchronous arc surfacing and cold spraying according to claim 3, characterized in that: The method for predicting the new cold spraying impact data includes: The new cold spraying impact data include roughness, new hardness, new thermal conductivity and new melting point; The arc surfacing parameters and cold spraying influencing data are used as test data, and the test data are input into the trained first parameter prediction model to predict the new roughness; the test data are input into the trained second parameter prediction model to predict the new hardness; the test data are input into the trained third parameter prediction model to predict the new thermal conductivity; the test data are input into the trained fourth parameter prediction model to predict the new melting point; among them, the training process of the first parameter prediction model, the second parameter prediction model, the third parameter prediction model and the fourth parameter prediction model are consistent with the training process of the coating quality prediction model, and they are all deep neural network models.
5. The method for preparing a gradient coating by combining synchronous arc surfacing and cold spraying according to claim 4, characterized in that: The coating defects include defect types and defect quantities; the defect types include crack defects, hole defects and pitting defects; The number of defects includes the number of crack defects, the number of hole defects and the number of pit defects; Methods for real-time detection of coating defects during arc cladding processes include: A three-dimensional coordinate system is established for the coating in real time, and m coordinate points corresponding to the coating surface are obtained; a laser sensor aligned with the coating is used to scan the coating surface at multiple coordinate points, that is, all m coordinate points are scanned; the laser sensor includes a laser transmitter and a laser receiver, the laser transmitter transmits a laser beam, and the laser receiver receives the laser beam reflected from the coating surface; the reflection time of each coordinate point is obtained, and the reflection time is the duration from laser emission to laser reception; then the emission angle and receiving angle of each coordinate point are obtained, the emission angle is the angle between the laser transmitter and the horizontal plane when the laser is emitted, and the receiving angle is the angle between the laser receiver and the horizontal plane when the laser is received; According to the reflection time and light speed of each coordinate point, the laser distance of each coordinate point is calculated. The laser distance is the distance traveled by the laser from laser emission to laser reception. The expression of laser distance is: ; In the formula, is the laser path, is the reflection time, is the speed of light; according to the laser distance, emission angle, and receiving angle of each coordinate point, the straight-line distance of each coordinate point is calculated. The straight-line distance is the vertical distance between each coordinate point and the laser sensor; the expression of the straight-line distance is: ; In the formula, is the straight-line distance, is the emission angle, is the reflection angle, sin is the sine function; Point cloud data is formed according to the straight-line distances corresponding to the m coordinate points, and the point cloud data is meshed using a polygonal mesh method to obtain a three-dimensional image of the coating; Grayscale the three-dimensional image of the coating; collect the grayscale values of Y pixels corresponding to the three-dimensional image of the coating, where Y is the number of all pixels in the three-dimensional image of the coating; Preset gray value threshold , ; The grayscale values of Y pixels corresponding to the three-dimensional image of the coating are compared with the grayscale value threshold For comparative analysis, if , then mark the pixel as a normal point. , then mark the pixel as a defect point. is the gray value of the e-th pixel in the coating 3D image, ; Multiple adjacent defect points in the coating 3D image are regarded as a defect area, and the defect area in the coating 3D image is obtained. defective areas; According to the coating 3D image defect area, cut out M 3D defect images from the coating 3D image, ; Input M three-dimensional defect images into the trained defect analysis model respectively, and output the recognition result corresponding to each three-dimensional defect image, and the recognition result is the defect type; The defect analysis model training process includes: Collect c defect images in advance, where c is an integer greater than 1, and the defect images include three-dimensional defect images and two-dimensional defect images. Annotate the defects in each defect image, including crack defects, hole defects and pit defects; convert the crack defects, hole defects and pit defects into digital annotations respectively; divide the annotated defect images into a training set and a test set; use the training set to train the defect analysis model, and use the test set to test the defect analysis model; preset an error threshold, and when the mean of the prediction errors of all defect images in the test set is less than the error threshold, output the defect analysis model; the defect analysis model is a convolutional neural network model; Count the number of crack defects, hole defects and pit defects in the three-dimensional image of the coating.
6. The method for preparing a gradient coating by combining synchronous arc surfacing and cold spraying according to claim 5, characterized in that: Methods for real-time detection of coating defects during cold spray processes include: Collect coating 2D images in real time; obtain defect area, according to the coating 2D image defect area, cut out N two-dimensional defect images from the coating two-dimensional image, ; Input N two-dimensional defect images into the trained defect analysis model respectively, and output the defect type corresponding to each two-dimensional defect image; count the number of crack defects, hole defects and pit defects in the two-dimensional image of the coating; wherein, obtain the two-dimensional image of the coating Method for obtaining defect areas in coating three-dimensional images The method is consistent with that for each defect area.
7. The method for preparing a gradient coating by combining synchronous arc surfacing and cold spraying according to claim 6, characterized in that: Methods for calculating coating quality include: ; ; In the formula, is the coating quality of arc coating, which is the coating prepared during the arc cladding process. is the preset constant, is the number of crack defects in the three-dimensional image of the coating, is the number of hole defects in the three-dimensional image of the coating, is the number of pitting defects in the coating 3D image, The coating quality of the spray coating is the coating prepared during the cold spray process. is the number of crack defects in the two-dimensional image of the coating, is the number of hole defects in the two-dimensional image of the coating, is the number of pitting defects in the two-dimensional image of the coating, , , , , , All are preset weight coefficients.
8. The method for preparing a gradient coating by combining synchronous arc surfacing and cold spraying according to claim 7, characterized in that: The method for automatically stopping coating preparation according to coating performance comprises: Real-time collection of coating data, including coating temperature and coating thickness; The method for obtaining the coating thickness is as follows: obtaining the straight-line distances corresponding to m coordinate points on the surface of the base metal before the coating preparation begins, and marking them as the distance before preparation; obtaining the straight-line distances corresponding to the m coordinate points on the coating surface in real time during the coating preparation process of the base metal; subtracting the corresponding distance before preparation from the straight-line distances corresponding to the m coordinate points on the coating surface to obtain the distance difference, and taking the average of the distance differences corresponding to the m coordinate points as the coating thickness; The coating data and the corresponding coating defects are used as diagnostic data, and the diagnostic data are input into the trained performance prediction model to predict the corresponding bonding strength; the training process of the performance prediction model is consistent with the training process of the coating quality prediction model, and it is also a deep neural network model; the coating data and coating defects in the diagnostic data are collected at the same time; Preset strength thresholds, the strength thresholds include arc strength thresholds and spraying strength thresholds, the arc strength threshold is a threshold of the bonding strength of the coating prepared during the arc surfacing process, and the spraying strength threshold is a threshold of the bonding strength of the coating prepared during the cold spraying process; According to the process stage corresponding to the diagnostic data, the corresponding intensity threshold is determined, and the process stage includes arc surfacing process and cold spraying process; The predicted bonding strength is compared with the corresponding strength threshold. If the bonding strength is less than the strength threshold, the coating preparation continues; if the bonding strength is greater than or equal to the strength threshold, the coating preparation stops.
9. A system for preparing gradient coating by composite synchronous arc surfacing welding and cold spraying, implementing the method for preparing gradient coating by composite synchronous arc surfacing welding and cold spraying as claimed in any one of claims 1 to 8, characterized in that: include: Data acquisition module, used to collect process-influencing data of base metal; A process parameter matching module is used to match corresponding process parameters according to process influencing data; Composite the base metal to prepare the gradient coating according to the process parameters; A coating defect detection module is used to detect coating defects in real time during the coating preparation process of the base metal; Coating quality control module, used to predict coating quality based on coating defects and adjust process parameters according to coating quality; The coating performance monitoring module is used to monitor the coating performance in real time during the coating preparation process of the base metal and automatically stop the coating preparation according to the coating performance.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for preparing a gradient coating by composite synchronous arc surfacing and cold spraying as described in any one of claims 1 to 8 is implemented.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method for preparing a gradient coating by composite synchronous arc surfacing and cold spraying as described in any one of claims 1 to 8 is implemented.
