A secondary repair method for carbon loss in the surface layer of carbon-containing molybdenum alloy
By combining genetic algorithm, particle swarm algorithm and simulated annealing algorithm to optimize the carburizing and sintering process parameters, the problem of carbon element deletion on the surface of carbon-containing molybdenum alloy is solved, and its surface performance is significantly improved, and the hardness caused by carbon element deletion and The problem of reducing wear resistance improves the cost-effectiveness of the product.
Patent Information
- Application Number
- CN202411139352.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-08-20
AI Technical Summary
During the production process, carbon-containing molybdenum alloys have reduced surface hardness and wear resistance due to carbon loss, and there is a lack of effective repair methods in China, which affects its application performance.
Multiple rounds of experimental data are used to combine genetic algorithms, particle swarm algorithms and simulated annealing algorithms to optimize the carburizing and sintering process parameters, and gradually improve the carbon content and performance of carbon-containing molybdenum alloy surface through pretreatment, carburizing and secondary annealing treatment.
It effectively improves the surface performance of carbon-containing molybdenum alloys, enhances its hardness, wear resistance and lubricating properties, reduces the risk of corrosion, and improves the cost-effectiveness of the product.
Smart Images

Figure CN118658572B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of carbon-containing molybdenum alloy powder metallurgy, in particular to a secondary repair method for carbon loss in a surface layer of a carbon-containing molybdenum alloy. Background Art
[0002] Carbon-molybdenum alloy is an alloy material that performs well in harsh environments such as high temperature, high pressure, and corrosion. It has high strength and corrosion resistance in high temperature environments and can withstand erosion by extreme temperatures and chemical media. Because carbon-molybdenum alloys have excellent hardness, plasticity, and fatigue resistance, they are often used in the manufacture of various mechanical parts. Since the surface of carbon-molybdenum alloys is usually rich in carbon and has good wear resistance, they are also suitable for the manufacture of wear-resistant workpieces. In addition, carbon-molybdenum alloys are easy to weld and process, making it easy to manufacture workpieces of various complex shapes. Compared with other high-temperature alloys, carbon-molybdenum alloys have lower production costs and higher cost-effectiveness. Figure 1 As shown in the figure, during the production process of carbon-containing molybdenum alloy, the carbon element on the alloy surface will react with oxygen under high temperature environment to oxidize. The inevitable process defects will lead to the loss of carbon element, resulting in the phenomenon of gradient carbon loss from the inside to the outside of the alloy matrix. Carbon-containing molybdenum alloy with carbon loss will lead to a decrease in the surface hardness of the alloy, affecting its wear resistance. At the same time, the lack of carbon element on the surface will increase the friction coefficient and reduce the lubrication performance of the alloy surface. The carbon loss phenomenon will expose the alloy surface to the external medium, resulting in a decrease in corrosion resistance and promoting the occurrence of oxidation, corrosion and other problems.
[0003] At present, the domestic carbon-containing molybdenum alloy is affected by the carbon potential and sintering atmosphere during the production process. That is, during the medium-frequency sintering process, carbon always diffuses from high concentration to low concentration; in addition, the atmosphere in the furnace also burns the carbon, resulting in a general decrease in the carbon content from the core to the surface of the alloy body in the product, which reduces the surface performance application of the product. At present, there is no particularly effective way to solve the problem in China. Summary of the invention
[0004] Based on this, in order to solve the carbon loss problem in the production process of carbon-containing molybdenum alloy, increase the carbon content of the surface layer of the carbon-containing molybdenum alloy billet, refine the grains, repair the carbon loss defects, and enhance the surface properties of the carbon-containing molybdenum alloy, a secondary repair method for carbon loss in the surface layer of the carbon-containing molybdenum alloy is provided.
[0005] The present invention is achieved through the following technical solution: A secondary repair method for carbon loss in the surface layer of a carbon-containing molybdenum alloy, characterized in that it comprises the following steps:
[0006] S1: pretreating the carbon-containing molybdenum alloy billet to be treated;
[0007] S2: placing the pretreated carbon-containing molybdenum alloy billet into a heating device and filling the device with a carburizing atmosphere;
[0008] S3: Carburizing and sintering are performed according to preset optimal process parameters, and the processed carbon-containing molybdenum alloy billet is taken out from the heating device and cooled at a preset speed;
[0009] S4: Grinding the metal material after the secondary annealing treatment.
[0010] In one of the inventions, in step S3, the preset optimal process parameter acquisition steps are as follows:
[0011] S31: Conduct multiple rounds of carbon potential compensation sintering experiments, and record the hardness, density, carbon content of the carbon-containing molybdenum alloy billet before and after the experiment, as well as the process parameters in the experiment;
[0012] S32: determining the value range of the process parameters, constructing a process parameter optimization model 1 based on a genetic algorithm, solving the input process parameter initial population through the process parameter optimization model 1, and obtaining an initial solution 1 of the process parameters;
[0013] S33: selecting n populations with the highest fitness in the process parameter optimization model 1 as the initial particle swarm, constructing a process parameter optimization model 2 based on the particle swarm algorithm, solving the input process parameter initial particle swarm through the process parameter optimization model 2, and obtaining the initial solution 2 of the process parameter;
[0014] S34: constructing a process parameter optimization model three based on a simulated annealing algorithm, and inputting the initial solution two into the process parameter optimization model three to obtain an optimal solution for the process parameters.
[0015] The present invention is based on multiple rounds of experimental data, combined with genetic algorithm, particle swarm algorithm and simulated annealing algorithm, by constructing one, two and three optimization models of process parameters for carburizing and sintering of carbon-containing molybdenum alloy, and performs three rounds of iterative optimization on the key process parameters in the carburizing and sintering process of carbon-containing molybdenum alloy to obtain the optimal process parameters, thereby further improving the surface properties of the strengthened carbon-containing molybdenum alloy.
[0016] In one of the inventions, in step S32, the steps of constructing the process parameter optimization model 1 are as follows:
[0017] S321: Initialize genetic algorithm parameters and algebraic counters, and randomly generate an initial population of process parameters;
[0018] S322: the algebraic calculator starts counting and calculates the fitness of the initial population of each process parameter; the individual with the highest fitness is selected by the tournament selection method to join the parent population, and the process parameter is encoded into a chromosome in a binary encoding manner;
[0019] S323: performing crossover and mutation operations on the encoded process parameter population to generate new individuals; decoding the binary string generated by the encoding into decimal process parameter data, and merging the parent individual and the child individual to generate a new population;
[0020] S324: Calculate the fitness of the new population of process parameters. If the output fitness value is higher than the preset fitness threshold, output the optimal solution; otherwise, return the new population of process parameters to step S322 until the output fitness value is higher than the preset fitness threshold or the model training reaches the maximum number of iterations; output the initial solution of the process parameters.
[0021] The present invention constructs a process parameter optimization model based on a genetic algorithm, and utilizes the fast random search characteristics of the genetic algorithm to achieve a preliminary solution to the carburizing and sintering process parameters of the carbon-containing molybdenum alloy to obtain a preliminary solution.
[0022] In one of the inventions, in step S321, the specific calculation formula of the initial population size of the process parameter is as follows:
[0023]
[0024] In the formula, represents the nth process parameter population size, represents the minimum value of the nth process parameter, represents the maximum value of the nth process parameter, and Z represents a random number between (0,1).
[0025] In one of the inventions, in step S322, the process parameter encoding step is as follows:
[0026] S3221: Determine the process parameter code length, encode the first row and the first column of the process parameter population in sequence, and convert the decimal process parameter code into a binary string using a binary encoding method;
[0027] S3222: The insufficient binary string is made to reach the encoding length by adding “0” at the front end, and the binary string of the process parameter is written into the corresponding position of the binary population;
[0028] S3223: Repeat the above operation in a loop to perform binary encoding on each row and column of the process parameter population.
[0029] In one of the inventions, in step S323, the specific steps of performing crossover and mutation operations on the encoded process parameter population in all rows of the population are as follows:
[0030] S3231: Determine the crossover rate and mutation rate , randomly select the parent and parent generations for crossover operation and the crossover operation position;
[0031] S3232: Determine whether the preset crossover operation conditions are met. If yes, replace the binary code of the parent generation with the parent generation to generate a new individual of the process parameter offspring population; otherwise, use the process parameter parent generation individual as the process parameter offspring population individual.
[0032] In one of the inventions, in step S324, the experimental data is standardized; one round of experimental data is randomly selected as a test set, and other rounds of experimental data are used as training sets; a K-fold cross-validation strategy is adopted, and a part of the training set is taken as a validation set for each training, and the rest is used as the training set for that training.
[0033] The present invention adopts a K-fold cross-validation strategy. Through multiple cross-validations of the training set, the possibility of overfitting can be reduced, and the situation where the model is overfitted on the training set can be avoided. The generalization ability of the model is effectively improved, and the optimal parameter combination is helped to select, so that the model can achieve the best performance on the validation set.
[0034] In one of the inventions, in step S33, the steps of constructing the process parameter optimization model 2 are as follows:
[0035] S331: Select n populations with the highest fitness in the process parameter optimization model 1 as the initial particle population;
[0036] S332: Randomly generate the initial particle swarm position and speed, initialize the individual and overall historical best positions and extreme values, and generate a new population by iteratively updating the position and speed and performing adaptive mutation;
[0037] S333: Update the extreme values of the global and individual positions of the new population, gradually eliminate the differences through collaboration and information sharing between individuals, stop iteration when the convergence condition is reached, and obtain the initial solution 2.
[0038] The present invention constructs a second process parameter optimization model based on a particle swarm algorithm. The particle swarm algorithm efficiently searches the local area of the preliminary solution one through rapid convergence, thereby further solving the carburizing and sintering process parameters of the carbon-containing molybdenum alloy to obtain a preliminary solution two.
[0039] In one of the inventions, in step S34, the steps of constructing the process parameter optimization model three are as follows:
[0040] S341: Determine the temperature attenuation coefficient, convergence condition and iteration step, and use the initial solution 2 as the initial solution space;
[0041] S342: At each temperature, when the acceptance probability reaches a preset value, accept the new solution and update the current solution, otherwise do not accept the new solution;
[0042] S343: gradually lower the temperature according to the temperature attenuation coefficient, stop iteration when the convergence condition is reached or the temperature drops to the minimum value, and return the optimal solution as the optimal process parameters.
[0043] The present invention constructs a process parameter optimization model three based on a simulated annealing algorithm, and performs fine adjustments near the preliminary solution two through the simulated annealing algorithm, effectively avoiding the problem of local optimal solutions to obtain a global optimal solution, and obtaining the optimal solution for the carburizing and sintering process parameters of carbon-containing molybdenum alloys.
[0044] Compared with the prior art, the present invention has the following beneficial effects:
[0045] 1. Based on multiple rounds of experimental data, the present invention combines genetic algorithm, particle swarm algorithm and simulated annealing algorithm, and constructs one, two and three optimization models of process parameters for carburizing and sintering of carbon-containing molybdenum alloy. Three rounds of iterative optimization are performed on the key process parameters in the carburizing and sintering process of carbon-containing molybdenum alloy to obtain the optimal process parameters, thereby further improving the surface properties of the strengthened carbon-containing molybdenum alloy.
[0046] 2. The present invention constructs a process parameter optimization model 1 based on a genetic algorithm, and utilizes the fast random search characteristics of the genetic algorithm to achieve a preliminary solution to the carburizing and sintering process parameters of the carbon-containing molybdenum alloy to obtain a preliminary solution 1. Further, the present invention constructs a process parameter optimization model 2 based on a particle swarm algorithm, and the particle swarm algorithm efficiently searches the local area of the preliminary solution 1 through rapid convergence, thereby further solving the carburizing and sintering process parameters of the carbon-containing molybdenum alloy to obtain a preliminary solution 2. Further, the present invention constructs a process parameter optimization model 3 based on a simulated annealing algorithm, and uses a simulated annealing algorithm to perform fine adjustments near the preliminary solution 2, effectively avoiding the problem of local optimal solutions to obtain a global optimal solution, and obtaining the optimal solution for the carburizing and sintering process parameters of the carbon-containing molybdenum alloy.
[0047] 3. The present invention adopts a K-fold cross-validation strategy when inputting experimental data into the process parameter optimization model for training. Through multiple cross-validations of the training set, the possibility of overfitting can be reduced, and the situation where the model is overfitted on the training set can be avoided. The generalization ability of the model is effectively improved, and the optimal parameter combination is helped to select, so that the model can achieve the best performance on the validation set. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 The flowchart of sintering carbon-containing molybdenum alloy in the background technology;
[0049] Figure 2 This is a step diagram of a secondary repair method for carbon loss in a surface layer of a carbon-containing molybdenum alloy according to Example 1 of the present invention;
[0050] Figure 3 for Figure 2 A step diagram for obtaining the preset optimal process parameters;
[0051] Figure 4 for Figure 3 A step diagram of constructing a process parameter optimization model 1;
[0052] Figure 5 for Figure 3 The steps of constructing the process parameter optimization model 2;
[0053] Figure 6 for Figure 3 Diagram of the steps for constructing process parameter optimization model three. DETAILED DESCRIPTION
[0054] 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.
[0055] It should be noted that when a component is referred to as being "mounted on" another component, it may be directly on the other component or there may be a central component. When a component is considered to be "set on" another component, it may be directly set on the other component or there may be a central component at the same time. When a component is considered to be "fixed to" another component, it may be directly fixed on the other component or there may be a central component at the same time.
[0056] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "or / and" used herein includes any and all combinations of one or more of the related listed items.
[0057] Example 1: Please refer to Figure 2-Figure 6 This embodiment provides a secondary repair method for carbon loss on the surface layer of a carbon-containing molybdenum alloy. The steps of the method are as follows:
[0058] S1: Clean the carbon-molybdenum alloy to be treated to remove impurities such as dirt and grease on the surface for subsequent treatment.
[0059] S2: placing the pretreated carbon-containing molybdenum alloy billet into a heating device and filling the device with a carburizing atmosphere.
[0060] S3: Carburizing and sintering are performed according to preset optimal process parameters, and the processed carbon-containing molybdenum alloy billet is taken out from the heating device and cooled at a preset speed.
[0061] The steps for obtaining the preset optimal process parameters are as follows:
[0062] S31: Divide the carbon-containing molybdenum alloy billets into multiple groups according to the preset mass, and then close the heating furnace and put the multiple groups of carbon-containing molybdenum alloy billets into the heating equipment in turn to conduct multiple rounds of carbon potential compensation sintering experiments. In this embodiment, methanol is used as a carrier when preparing the carburizing atmosphere, and kerosene is dripped as a carburizing agent. Kerosene has a small carbon equivalent and is cracked more completely during the carburizing process. The cracking atmosphere mainly contains H 2 , CO and active carbon atoms. The heating equipment of this experiment adopts a gas-protected carbon potential sintering furnace. After the sample is placed in the sintering furnace, the air in the furnace body is extracted by a mechanical pump. When the vacuum degree in the furnace reaches 1Pa~10Pa, the mechanical pump is turned off and the carburizing atmosphere is introduced. The heating time in the gas-protected carbon potential sintering furnace is 11h, the insulation time is 12h, and the cooling time in the furnace is 29h. In order to avoid oxidation during annealing of carbon-containing molybdenum alloys, annealing needs to be carried out in a fully enclosed space and purged regularly.
[0063] The annealing temperature and carbon potential of the atmosphere in the sintering furnace are different in each round of experiments. In this embodiment, the carbon potential of the atmosphere in the furnace body is controlled by changing the volume of the carburizing atmosphere, and the hardness of the sample after cooling is measured by a Vickers hardness tester, the density of the sample after cooling is measured by a water displacement method, and the carbon content of the sample after cooling is measured by an infrared absorption method. The average value is taken after each sample is measured 3 times. The carbon potential of the atmosphere in the furnace is measured by an infrared analyzer every 30 minutes, and the stability of the carbon potential of the atmosphere in the furnace is ensured by introducing oxygen into the sintering furnace. Record the sample measurement data and carburizing sintering process parameters, which include: annealing temperature T and atmosphere carbon potential C.
[0064] In this study, an infrared analyzer was used to measure the carbon potential of the atmosphere in the furnace. 2 The concentration of infrared rays indirectly measures the carbon potential of the atmosphere. When infrared rays pass through the mixed gas in the furnace, they can be detected by the CO 2 Absorption, CO in mixed gas 2 The higher the concentration, the weaker the detected infrared intensity. In this embodiment, oxygen is introduced into the sintering furnace to ensure the stability of the carbon potential in the furnace atmosphere. This single parameter control method is easy to implement and simple to control, and can achieve precise control of the carbon potential in the furnace.
[0065] S32: Determine the value range of the process parameters for carburizing and sintering of the carbon-containing molybdenum alloy. This embodiment refers to the boundary values of the process parameters for carburizing and sintering of the carbon-containing molybdenum alloy of a certain enterprise: 600°C≤T≤700°C, 0.5%≤C≤1.5%.
[0066] The process parameter optimization model 1 is constructed by genetic algorithm to achieve the optimal solution of the carburizing and sintering process parameters of carbon-containing molybdenum alloy. The steps of constructing the process parameter optimization model 1 are as follows:
[0067] S321: Initialize the genetic algorithm parameters and algebraic counter, and randomly generate the initial population of process parameters for carburizing and sintering of aluminum alloy containing molybdenum. The size of the initial population of process parameters is set according to the value range of the process parameters, and the specific calculation formula is as follows:
[0068]
[0069] In the formula, represents the nth process parameter population size, represents the minimum value of the nth process parameter, represents the maximum value of the nth process parameter, and Z represents a random number between (0,1).
[0070] S322: The algebraic calculator starts counting and calculates the fitness of the initial population of each process parameter. The individual with the best fitness is selected by the tournament selection method to join the parent population, and the process parameters are encoded into a chromosome in a binary encoding manner.
[0071] In this embodiment, the population fitness calculation formula is as follows:
[0072]
[0073] In the formula, represents the pre-experimental density of individuals in the population, represents the pre-experimental hardness of individuals in the population, represents the carbon content of individuals in the population before the experiment, represents the experimentally measured value of the density of individuals in the population, represents the experimentally measured value of the hardness of individuals within the population, represents the experimentally measured carbon content of individuals within a population, Represents a random value between (0,1), i=1, 2, 3.
[0074] In this embodiment, the process parameter encoding steps are as follows:
[0075] S3221: Determine the process parameter code length, encode the first row and the first column of the process parameter population in sequence, and convert the decimal process parameter code into a binary string using binary encoding.
[0076] S3222: The insufficient binary string is made to reach the encoding length by adding “0” at the front end, and the binary string of the process parameters is written into the corresponding position of the binary population.
[0077] S3223: Repeat the above operation in a loop to perform binary encoding on each row and column of the process parameter population.
[0078] S323: Perform crossover and mutation operations on the encoded process parameter population to generate new individuals. Decode the binary string generated by the encoding into decimal process parameter data, and merge the parent individual with the child individual to generate a new population. The specific steps of performing crossover and mutation operations on the encoded process parameter population are as follows:
[0079] S3231: Determine the crossover rate and mutation rate , in this embodiment, the crossover rate and mutation rate The parent and parent generations for crossover operation and the crossover operation position are randomly selected in the first row of the coded process parameter population.
[0080] S3232: Determine whether to perform a crossover operation. If performed, a new individual of the process parameter offspring population is generated by replacing the binary code of the parent generation with the parent generation. If not performed, the process parameter parent generation individual is directly used as the process parameter offspring population individual.
[0081] S3233: Repeat the above operation for the individuals in the next column of the row until all individuals in the row complete the crossover and mutation operations.
[0082] S3234: Perform the above operations on all rows of the population until all rows and columns of the population have completed the crossover and mutation operations.
[0083] S324: Calculate the fitness of the new population of process parameters. If the output fitness value meets the requirements, output the optimal solution. If the output fitness value does not meet the requirements, return the new population of process parameters to S322 for loop processing until the model training results meet the requirements or the model training reaches the maximum number of iterations. Output the initial solution 1 of the carburizing and sintering process parameters of molybdenum-containing aluminum alloy.
[0084] The experimental data of each group of sample experiments are collected as the original data set and standardized. The experimental data of one round are randomly selected as the test set, and the experimental data of other rounds are used as the training set. The K-fold cross-validation strategy is adopted, and a part of the training set is taken as the validation set for each training, and the rest is used as the training set for this training. This embodiment adopts the K-fold cross-validation strategy. Through multiple cross-validations of the training set, the possibility of overfitting can be reduced, and the situation where the model is overfitted on the training set can be avoided. Effectively improve the generalization ability of the model, help select the optimal parameter combination, and enable the model to achieve the best performance on the validation set.
[0085] S33: Based on the particle swarm algorithm, a second process parameter optimization model is constructed, and the n populations with the highest fitness in the first process parameter optimization model are selected as the initial particle swarm, and the second process parameter initial solution is obtained by solving the second process parameter optimization model. The steps for constructing the second process parameter optimization model are as follows:
[0086] S331: Select n populations with the highest fitness in the process parameter optimization model 1 as the initial particle population.
[0087] S332: Randomly generate the initial particle swarm position and speed, initialize the individual and overall historical best position and extreme value, and generate a new population by iteratively updating the position and speed and performing adaptive mutation. In this embodiment, the particle population iteratively updates the position and speed, and the specific calculation formula is as follows:
[0088] Speed update formula:
[0089]
[0090] Position update formula:
[0091]
[0092] In the formula, represents the speed of particle i, w represents the inertia weight that controls the search range of the particle, , They represent the learning factors that control the influence of individual and global extreme values, , represent random numbers between [0,1], represents the historical optimal position of the particle, represents the historical optimal position of all particles, Indicates the current position of the particle.
[0093] In this embodiment, by setting the initial value of the inertia weight and the number of iterations, an adaptive weight calculation method is used to linearly reduce the inertia weight. The calculation formula is as follows:
[0094]
[0095] In the formula, represents the initial maximum value of the inertia weight, represents the final value of the inertia weight, Indicates the current iteration number, Indicates the total number of iterations.
[0096] S333: Update the extreme values of the new population global and individual positions, and gradually eliminate the difference through collaboration and information sharing between individuals until the initial solution 2 is found. In this embodiment, the calculation formula for updating the extreme values of the new population global and individual positions is as follows:
[0097] Individual extreme value update:
[0098]
[0099] Global extremum update:
[0100]
[0101] In the formula, represents the historical optimal position of the particle, Indicates the current position of the particle.
[0102] S34: constructing a process parameter optimization model 3 based on a simulated annealing algorithm, and inputting the initial solution 2 into the process parameter optimization model 3 to obtain the optimal solution for the process parameters. In this embodiment, the steps of constructing the process parameter optimization model 3 are as follows:
[0103] S341: Determine the temperature attenuation coefficient, convergence condition and iteration step, and use the initial solution 2 as the initial solution space. Generate a new solution and calculate the fitness of the new solution. In this embodiment, the new solution generation formula and fitness calculation formula are as follows:
[0104] New solution generation formula:
[0105]
[0106]
[0107] In the formula, represent the step size of each iteration for annealing temperature and carbon content respectively.
[0108] Fitness calculation formula:
[0109]
[0110] In the formula, represents the experimentally measured value of the density of individuals in the population, represents the experimentally measured value of the hardness of individuals within the population, represents the experimentally measured carbon content of individuals within a population, Represents a random value between (0,1), i=1, 2, 3.
[0111] S342: At each temperature, determine whether to accept the new solution by the acceptance probability, and update the current solution. The acceptance probability calculation formula in this embodiment is as follows:
[0112]
[0113] New solution update formula:
[0114]
[0115] S343: According to the temperature attenuation coefficient Gradually reduce the temperature, stop iteration when the convergence condition is reached or the temperature drops to the minimum value, and return the optimal solution as the optimal process parameters.
[0116] S4: Grind the metal material after the secondary annealing treatment to make its surface smoothness meet the requirements.
[0117] This embodiment constructs a process parameter optimization model 1 based on a genetic algorithm, and uses the characteristics of fast random search of the genetic algorithm to achieve a preliminary solution to the carburizing and sintering process parameters of carbon-containing molybdenum alloys to obtain a preliminary solution 1; a process parameter optimization model 2 is constructed based on a particle swarm algorithm, and the particle swarm algorithm efficiently searches the local area of the preliminary solution 1 through rapid convergence to obtain a preliminary solution 2; a process parameter optimization model 3 is constructed based on a simulated annealing algorithm, and a fine adjustment is made near the preliminary solution 2 through the simulated annealing algorithm to effectively avoid the local optimal solution problem and obtain a global optimal solution. This embodiment comprehensively utilizes the advantages of the three algorithms to improve the overall optimization effect and efficiency; by adjusting the weight of the fitness function at different optimization stages, the dynamic optimization goal is achieved and the applicability of the optimization results is improved. Through multiple iterations and the combination of different algorithms, the robustness and consistency of the results are improved.
[0118] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0119] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A secondary repair method for carbon loss in the surface layer of a carbon-containing molybdenum alloy, characterized in that: The following steps are involved: S1: pretreating the carbon-containing molybdenum alloy billet to be treated; S2: placing the pretreated carbon-containing molybdenum alloy billet into a heating device and filling the device with a carburizing atmosphere; S3: Carburizing and sintering are performed according to preset optimal process parameters, and the processed carbon-containing molybdenum alloy billet is taken out from the heating device and cooled at a preset speed; The steps for obtaining the preset optimal process parameters are as follows: S31: Conduct multiple rounds of carbon potential compensation sintering experiments, and record the hardness, density, carbon content of the carbon-containing molybdenum alloy billet before and after the experiment, as well as the process parameters in the experiment; S32: Determine the value range of the process parameters, construct a process parameter optimization model 1 based on a genetic algorithm, solve the input process parameter initial population through the process parameter optimization model 1, and obtain an initial solution 1 of the process parameters; the steps of constructing the process parameter optimization model 1 are as follows: S321: Initialize genetic algorithm parameters and algebraic counters, and randomly generate an initial population of process parameters; S322: the algebraic calculator starts counting and calculates the fitness of the initial population of each process parameter; the individual with the highest fitness is selected by the tournament selection method to join the parent population, and the process parameter is encoded into a chromosome in a binary encoding manner; S323: performing crossover and mutation operations on the encoded process parameter population to generate new individuals; decoding the binary string generated by the encoding into decimal process parameter data, and merging the parent individual and the child individual to generate a new population; S324: Calculate the fitness of the new population of process parameters. If the output fitness value is higher than the preset fitness threshold, output the optimal solution; otherwise, return the new population of process parameters to step S322 until the output fitness value is higher than the preset fitness threshold or the model training reaches the maximum number of iterations; output the initial solution 1 of the process parameters; S33: Select n populations with the highest fitness in the process parameter optimization model 1 as the initial particle swarm, construct a process parameter optimization model 2 based on the particle swarm algorithm, solve the input process parameter initial particle swarm through the process parameter optimization model 2, and obtain the initial solution 2 of the process parameters; the steps of constructing the process parameter optimization model 2 are as follows: S331: Select n populations with the highest fitness in the process parameter optimization model 1 as the initial particle population; S332: Randomly generate the initial particle swarm position and speed, initialize the individual and overall best historical positions and extreme values, and generate a new population by iteratively updating the position and speed and performing adaptive mutation; S333: Update the extreme values of the global and individual positions of the new population, gradually eliminate the difference through collaboration and information sharing between individuals, stop iteration when the convergence condition is reached, and obtain the initial solution 2; S34: constructing a process parameter optimization model 3 based on a simulated annealing algorithm, and inputting the initial solution 2 into the process parameter optimization model 3 to obtain an optimal solution for the process parameters; the steps of constructing the process parameter optimization model 3 are as follows: S341: Determine the temperature attenuation coefficient, convergence condition and iteration step, and use the initial solution 2 as the initial solution space; S342: At each temperature, when the acceptance probability reaches a preset value, accept the new solution and update the current solution, otherwise do not accept the new solution; S343: gradually lowering the temperature according to the temperature attenuation coefficient, stopping iteration when the convergence condition is reached or the temperature drops to the minimum value, and returning the optimal solution as the optimal process parameters; S4: Grind the metal material after the secondary annealing treatment to make its surface smoothness meet the requirements.
2. The secondary repair method for carbon loss in the surface layer of a carbon-containing molybdenum alloy according to claim 1, characterized in that: In step S321, the specific calculation formula of the initial population size of the process parameters is as follows: In the formula, represents the nth process parameter population size, represents the minimum value of the nth process parameter, represents the maximum value of the nth process parameter, and Z represents a random number between (0,1).
3. The secondary repair method for carbon loss in the surface layer of a carbon-containing molybdenum alloy according to claim 1, characterized in that: In step S322, the process parameter encoding steps are as follows: S3221: Determine the process parameter code length, encode the first row and the first column of the process parameter population in sequence, and convert the decimal process parameter code into a binary string using a binary encoding method; S3222: The insufficient binary string is made to reach the encoding length by adding "0" at the front end, and the binary string of the process parameter is written into the corresponding position of the binary population; S3223: Repeat the above operation in a loop to perform binary encoding on each row and column of the process parameter population.
4. The secondary repair method for carbon loss in the surface layer of carbon-containing molybdenum alloy according to claim 1, characterized in that: In step S323, the specific steps of performing crossover and mutation operations on the encoded process parameter populations in all rows of the population are as follows: S3231: Determine the crossover rate and mutation rate , randomly select the parent and parent generations for crossover operation and the crossover operation position; S3232: Determine whether the preset crossover operation conditions are met. If yes, replace the binary code of the parent generation with the parent generation to generate a new individual of the process parameter offspring population; otherwise, use the process parameter parent generation individual as the process parameter offspring population individual.
5. The secondary repair method for carbon loss in the surface layer of carbon-containing molybdenum alloy according to claim 1, characterized in that: In step S324, the experimental data is standardized; one round of experimental data is randomly selected as the test set, and the experimental data of other rounds are used as the training set; a K-fold cross-validation strategy is adopted, and a part of the training set is taken as the validation set for each training, and the rest is used as the training set for that training.
Citation Information
Patent Citations
Alloy flange and machining method thereof
CN107695616A
Casting melting batch planning and scheduling method based on dynamic planning algorithm and genetic algorithm
CN107832983A
Modified high-speed steel and preparation method and application thereof
CN116065119A
Carburizing gear steel with high toughness and high grain coarsening resistance and preparation method of carburizing gear steel
CN118127405A
