Heat treatment control technology of high-strength steel gears based on support vector machine
Tehnologija kontrole termičke obrade zupčanika od visokočvrstog čelika zasnovana na metodi potpornih vektora (SVM)
Wang Y, Zhang L, Su Y, Liu H, Yang H, Chen Y.
2025 · Scientific reports · CC BY-NC-ND
Prevod na srpski je mašinski (Claude) i prikazan je radi čitljivosti; original je merodavan.
Abstract In the actual production process of gears often because of the selection of heat treatment parameters is unreasonable and can not accurately achieve the small deformation, high precision, less grinding machining allowance heat treatment sample requirements, there are uneven distribution of carburized layer, surface hardness, hardness of the heart can not meet the requirements of the indicators. At the present stage, the method of multi-parameter multi-level combination test block trial production is often used, but its production cycle is long, and the waste of human and material resources is serious. In this study, with the help of machine learning, a support vector machine prediction model of gear tissue distribution is constructed based on heat treatment parameters, and the radial basis functions kernel function is selected as the kernel function of the support vector machine to improve the accuracy of model prediction by optimizing the kernel parameters. The root mean square error value of the final model is 3.16%, and the coefficient of determination is 0.993. The results show that the method of this paper can accurately and efficiently predict the heat treatment results of gears, and save the manufacturing cycle and cost. The precise control of hardness, carburization layer distribution pattern and metallographic organization of ultra-high-strength steel gears can be realized in actual production. Keywords: Support vector machine, High-strength steel gears, Carburizing-quenching, Machine learning, Precise control Subject terms: Mechanical engineering, Mechanical properties
Introduction In recent years, with the more demanding requirements of space volume and fatigue life of transmission systems such as aircraft, transmission system power components are required to have the advantages of small volume, high load bearing, impact resistance and high wear resistance. At the same time, gears are subject to more complex meshing impacts, the role of alternating loads under different operating conditions, aircraft on the mechanical properties of gears including hardness gradient distribution (i.e., gear tooth toughness) put forward higher requirements. Existing methods to improve the strength of gear teeth include carburizing quenching, shot peening, etc. Among them, carburizing quenching, as one of the most commonly used means to improve the overall mechanical properties of gear materials, has a direct impact on the process parameters of the subsequent processes. Therefore, if the heat treatment results can be obtained quickly and accurately under different combinations of process parameters, it will be helpful to improve the overall mechanical properties of gears and appropriately reduce the machining difficulty of subsequent processes. In general, heat treatment enhances the performance of gears. During the preheating treatment, specifically the normalizing phase, the internal grain structure of the gear is refined. This is followed by carburizing and quenching processes, which collectively improve the mechanical properties of the gear. In the heat treatment of gears, Sugimoto et al. 1 measured the heat transfer coefficients at different locations of helical gears, analyzed the quenching process by using finite element software, and simulated the microstructure transformation, deformation, and residual stress changes. Li et al. 2 simulated the carburizing quenching process of helical gears. The model predicted the deformation mechanism of gear carburizing quenching process, which provided a basis for gear carburizing quenching. Kim et al. 3 established a numerical model of the quenching process integrating temperature, phase transformation and stress–strain, and used the model to calculate the internal stress of 60-NCD11 steel quenching and cooling, which ensured a higher coincidence between the calculated results and the measured values. Sun et al. 4 researched and studied the effects of heat treatment deformation on the normal, tooth shape, involute, helix, tooth shape, tooth shape, tooth shape, tooth shape, tooth shape, tooth shape, tooth shape, tooth shape and tooth shape. The influence law of heat treatment deformation on the male normal, tooth shape, involute, helix and tooth pitch, and use it to carry out reverse trimming, which improves the accuracy of gears. Shao et al. 5 for gears with large end face runout after heat treatment, proposed a method of increasing the compensation ring and rod structure support, and verified the feasibility of the proposed method by simulation and experiment. Scholzen et al. 6 from the gear load carrying capacity, studied a quantitative model to simulate the heat treatment of Scholzen et al. studied a quantitative model to simulate the residual stress and hardness distribution after heat treatment, and analyzed that the main influence on the load carrying capacity is surface hardening. Zhao et al. 7 carried out a study on dual-frequency induction heating, and investigated the effect of the number of iterations on the uniformity of the temperature distribution of bevel gears along the tooth width and tooth profile. Morgano et al. 8 found that the change of chemical composition would lead to the degradation of mechanical properties during the quenching process through the Jominy experiment, therefore, with the help of simulation and analysis software, they predicted the microstructure and mechanical properties of the Jominy experiment, and verified the simulation results through the experiment. Kim et al. 9 carried out a relevant study on the effect of heating and rapid cooling on thermal deformation during the heat treatment process based on the coupled thermal—mechanical simulation analysis, and accurately predicted the effect of preheat treatment on the core area of the gear steel. Based on thermal–mechanical coupling simulation analysis, the thermal deformation and residual stress were accurately predicted. Liu et al. 10 investigated the influence of each cutting parameter on tooth shape in order to minimize the influence of tooth shape error during heat treatment, and adjusted the cutting parameters inversely, and verified the feasibility of the method through experiments. Kang et al. 11 investigated the influence of normalizing on the microstructure of bevel gears before and after, and obtained the results of the effect of the two normalizing treatment on gear material and mechanical properties of gears before and after. Both before and after normalizing treatments play a positive role in the refinement of the gear material and the improvement of hardness. Banerjee et al. 12 carried out a predictive analysis of the heat treatment and machining of bevel gears by using finite element analysis software and compared the experimental values. Kim et al. 13 carried out a related study on the heat treatment of helical gears of SCM415H steel by using the finite element method, and in particular, investigated the effect of the diffusion time and the quenching temperature on the gear’s deformation. The effect of diffusion time and quenching temperature on gear deformation was particularly investigated. In terms of SVM, Olatunji et al. 14 developed a SVM regression model based on a hybrid genetic algorithm using 200 different material-doped spinel-type iron oxide nanomaterials as samples. The support vector regression (SVR) model based on genetic algorithm was further validated using 18 different spinel nanoferrite materials, and the predicted energy gaps were in good agreement with the experimental values. Alade et al. 15 In order to investigate the relationship between the structural properties of pyrochlore compounds and their lattice constants, a SVR analysis and an artificial neural network were proposed to predict the lattice constants of the pyrochlore materials, which were analyzed to show that Ma et al. 16 summarized the algorithmic characteristics of machine learning methods such as SVM in the field of material corrosion and the application scenarios of corrosion prediction, and looked forward to the development trend of machine learning methods such as SVM in the field of material corrosion. Covarrubias-Martinez et al. 17 proposed a method to detect the dielectric properties of plastics using a sensor, and the data were used to predict the lattice constants of burnt chlorite materials with the help of SVM. Covarrubias-Martinez et al. 18 proposed a method of using sensors to detect the dielectric properties of plastics, and using this data to classify plastic materials with the help of SVM, and proved the correctness of classifying different plastics according to their dielectric properties through experiments. Sharma et al. used SVM to predict the compressive and flexural strengths of concrete mixtures based on the experimental data that had already been obtained from the tests, and the results showed that SVM could be used to predict the compressive and flexural strengths of concrete reliably. compressive strength and flexural strength, and can reduce the experimental work time. Lu et al. 19 proposed a hybrid model combining multi-objective optimization and SVM based on the experimental data already obtained from the composites performance test, which realized the prediction of composites performance within 6% of the prediction error. Alhammad et al. 20 addressed the problem of composites’ impact damage by applying the SVM to the composite materials. The detection results of thermal images improved the prediction accuracy of composite material damage classification determination. Despite the significant advancements in gear manufacturing, there is limited literature on the application of machine learning techniques to accurately control gear hardness, carburizing layer depth, and metallographic structure. This gap is particularly evident in the context of mass production and the introduction of new tooth shapes, where rigorous control of these factors remains challenging. To address this, our study focuses on high-quality carburized quenched steel 20Cr2Ni4, commonly used for high-speed and heavy-duty gears. We aim to control the hardness distribution, carburizing layer depth, and metallographic structure in gears with new tooth profiles. Given the complexity of heat treatment processes, the small sample size, and the nonlinear relationships between process parameters and resulting gear properties, we utilize the SVM method. SVM is well-suited for handling data with these characteristics and allows for a detailed analysis of the impact of key heat treatment parameters on microstructure and mechanical properties. By identifying these critical parameters, we can achieve precise control over the hardness distribution, carburizing layer depth, and metallographic structure in gears with new tooth designs. The heat treatment process is influenced by various parameters, which are interconnected, leading to a complex and time-consuming modeling and analysis of existing heat treatment tests. However, machine learning offers a solution by efficiently mapping the relationships between these parameters and the resulting heat treatment outcomes, significantly enhancing computational efficiency. In this paper, based on the existing heat treatment process program and data, with the help of machine learning method, 96 groups of heat treatment condition parameters and result parameters are trained as samples, and the remaining 24 groups of heat treatment process parameters are predicted by the model obtained from the training, and the experimental results are compared with the predicted results to verify the accuracy of the machine learning results. Building on this foundation, we obtained a set of optimized heat treatment parameters for a specific gear index through predictions made by our machine learning model. We then conducted finite element simulations of the gear heat treatment process to further validate the efficacy of the parameters derived from the model. Subsequently, we performed experimental tests on gear samples to achieve precise control over the surface hardness, core hardness, and depth of the carburized layer in ultra-high-strength steel gears. This approach is versatile and can be applied to various materials, moduli, and tooth shapes, enabling rapid establishment of heat treatment processes while effectively utilizing existing equipment. As a result, this method significantly reduces the required manpower, material resources, and testing cycle time. SVM based model training for heat treatment parameter prediction Preparation of heat treatment training sample 20Cr2Ni4 steel material composition, grain size and mechanical properties test calibration 20Cr2Ni4 steel material composition analysis For each batch of steel, the carbon content and the content of each element is within the range of national standards, but the specific value is not necessarily the same. In order to exclude the influence of elemental content on the results of heat treatment test and accurate measurement of the percentage content of each element, first of all, the 20Cr2Ni4 material chips, for different elements using different methods for testing 21 . Si element using photometric method, C element using carbon and sulfur meter method, Mn, Cr, Ni elements using Electron-coupled plasma atomic emission spectrometry (ICPAES) method, Table 1 for the elemental content of the measured test results. Table 1 Chemical compositions of the high-strength steels (wt%). Steel C Si Mn Cr Ni S P Cu 20Cr2Ni4 0.22 0.26 0.47 1.47 3.42 0.002 0.010 0.028 Metallographic test Perform metallographic analysis on the 20Cr2Ni4 material sample, observe the metallographic structure, grain structure, and existing defects of the 20Cr2Ni4 material 22 . The metallographic structure picture and grain size picture are shown in Figs. 1 and 2 . In accordance with GB 6394-2017 “Method for Determining the Average Grain Size of Metals”, the austenite grain size and other indicators were measured as shown in Table 2 . Fig. 1 Metallographic structure picture: ( a ) Type A—sulfide, ( b ) Type B—oxide. Fig. 2 Grain size picture. Table 2 Metallographic examination results of 20Cr2Ni4 steel material. Low multiplication Non-metallic inclusions (grade) Grain size (grade) Generally loose (grade) Center sparse (grade) Ingot shape deviation (grade) General punctiform deviation (level) Marginal punctate segregation (grade) Type A Type B lineage coarseness lineage coarseness 1 1 1 0 0 0.5 – 0.5 – 8.0 Tensile and impact tests The use of microcomputer-controlled electronic universal testing machine for 20Cr2Ni4 steel material samples, sample size and tolerance requirements as shown in Fig. 3 below, according to the standard GB/T228.1-2021 “metal materials Tensile Test Part 1: Room Temperature Test Methods,” Method B for loading. The test was conducted at room temperature of 21 °C and humidity of 35% RH, and the data of loading (stress) and elongation (strain) of 20Cr2Ni4 steel material were recorded. The mechanical properties of 20Cr2Ni4 steel material, such as yield strength, breaking strength, elongation section shrinkage, etc., were obtained from the stress–strain curve. Fig. 3 Dimensions and tolerances of tensile test specimen of 20Cr2Ni4 steel material. The use of impact testing machine according to the standard GB/T229-2020 “metal materials Charpy pendulum impact test method” to apply the impact energy, the pendulum applied energy size of 450 J, the test sample for the 10 × 10 × 55 mm U-shaped notched impact specimen, the pendulum blade for 2 mm, through the measurement of the pendulum falling before and after breaking the sample of the absorbed energy, to obtain the 20Cr2Ni4 steel material The impact performance parameters of 20Cr2Ni4 steel were obtained by measuring the absorbed energy before and after the sample was broken by the pendulum fall and observing the fracture condition at the sample fracture. The final mechanical properties of 20Cr2Ni4 steel material testing results are shown in Table 3 . Table 3 20Cr2Ni4 steel material mechanical properties test results. Tensile test Impact test R eL (MPa) R m (MPa) A (%) Z (%) KU 2 (J)(21.0) °C 10 × 10 × 55 (mm) 1437 1543 14.5 51 90 KU 2 —the impact absorption energy of the U-shaped notch specimen measured using a 2 mm pendulum hammer blade. Heat treatment prediction model training parameter programming First of all, in the process of parameter selection, heat treatment results are affected by a number of process parameters, but should be selected on the heat treatment results of the greatest impact of several parameters. From the existing literature and the actual production found that the strong seepage stage can directly affect the carburization rate, the diffusion stage can directly affect the organization after quenching, hardness gradient, oil quenching temperature can directly affect the surface hardness, organization, so choose the above three stages directly related to the control parameters. Secondly, in the heat treatment process parameter level selection, for 20Cr2Ni4 material, 890 °C catalytic quenching process, although the deformation is small, but its production process is longer, catalytic agent price is high, the cost is higher, suitable for some of the deformation requirements of higher parts 23 . Gear parts subsequent organic process grinding teeth, grinding bore, etc., suitable for high-temperature carburizing to improve production efficiency, so the choice of the prevailing strong seepage temperature and diffusion temperature are 930 °C, so keep 930 °C unchanged. The boost carburizing potential selected from 1.0 to 1.3%, boost carburizing time is selected from 160 to 400 min, diffusion carbon potential is selected from 0.6 to 0.9%, diffusion time is selected from 75 to 400 min, oil quenching temperature is selected from 780 to 850 °C. The experimental design was carried out at different levels in each of the above parameters to form an experimental program with 120 sets of data. Sample blocks were randomly selected from the 20Cr2Ni4 material test blocks and numbered and grouped for testing according to the designed test program. During the test, at least 2 test blocks were used for each group of parameters in order to ensure the accuracy of the test. At the beginning of heat treatment, the test blocks were first sent to the preheating furnace for preheating at 500 °C and holding time of 120 min. Subsequently, carburizing quenching is carried out, and the specimens in the preheating furnace are transferred to the multi-purpose furnace, where the furnace temperature, carbon potential and duration control parameters are carried out according to the preset values. After the end of carburization of the test pieces with different levels of carbon potential parameters, they were centrally sent to the high-temperature tempering furnace for tempering. According to the set quenching temperature is different, according to different levels of parameters into the multi-purpose furnace for quenching respectively. After quenching, because of the presence of quenching oil, the test block needs to be cleaned before low temperature tempering. After cleaning, the test block is tempered according to the requirement of 170 °C temperature and 3 h holding time. The test block, gear heat treatment and testing process is shown in Fig. 4 . Fig. 4 Flow chart of test block, gear heat treatment and inspection. In accordance with the Chinese National Standard GB/T230.1-2018 (Metallic materials-Rockwell hardness test-Part 1:Test method), Rockwell hardness (HRC) was measured with a 5 kg load, and the hardness results represent the average of at least three measurements for each specimen 24 . The carburizing–quenching process of the gear is shown in Table 4 (Detailed data are provided in Supplementary Table 1 ). The process parameters, such as boost carburizing temperature (BCTemp), boost carburization potential (BCP), boost carburizing time (BCTime), diffusion carbon potential (DCP), boost carburizing temperature (DCTemp), boost carburizing time (DCTime), oil quenching temperature (OQT). Table 4 The heat treatment processes of the tested steels. Samples Process parameters BCTemp/°C BCP/% BCTime/min DCTemp/°C DCP/% DCTime/min OQT/°C 1 930 1.2 400 930 0.70 400 780 2 930 1.2 280 930 0.70 180 800 3 930 1.2 280 930 0.85 180 830 4 930 1.2 280 930 0.85 280 800 5 930 1.2 400 930 0.90 400 800 6 930 1.2 160 930 0.70 75 780 7 930 1.2 190 930 0.85 90 830 8 930 1.2 160 930 0.70 100 800 … … … … … … … … 120 930 1.0 350 930 0.85 200 800 At the end of the test, Rockwell hardness tester, Vickers hardness tester were used to measure to determine the distribution of the hardness gradient, and the Rockwell hardness value of the heart can be converted to the Vickers hardness value. And the use of metallurgical microscopy to observe carbide, martensite, residual austenite, ferrite in the heart, respectively. The determination of the level is based on the national standard GB/T 25744-2010, the finer the organization, the smaller the level number. The results of the 120 sets of heat-treated specimen block tests are detailed in Appendix 1. Sample test results, such as depth of carburized case(DCC), surface hardness (SH), center hardness (CH), carbide level (CL), martensite level(ML), residual austenite level (RAL) and heart ferrite level (HFL) were selected for analysis. Heat treatment parameter prediction model training and validation Based on the support vector machine to write the related Matlab R2020a program, 96 groups of heat treatment process parameters and results in the aforementioned test scheme were randomly selected for model training, and the remaining 24 groups of heat treatment process data were subjected to result prediction, i.e., training model test, and the prediction results of the 24 groups were compared with the actual test results. SVM based model training for heat treatment parameter prediction SVM is a model for supervised learning based on a structural risk minimization criterion, and (SVR) is a specific form of SVM in the field of prediction 25 . The core idea of SVR is to map a low-dimensional nonlinear space to a high-dimensional linear space, and realize the approximation of the original space object problem by constructing a regression function in the high-dimensional linear space: 1 where ⟨∙⟩ denotes the inner product of vectors and Φ( x , xi ) is the kernel function. The hyperparameter ω of the SVR model is determined by solving the following quadratic convex programming problem: 2 3 where is a penalty function that is some is taken first, , are slack variables, and ε is the insensitivity coefficient. The solution of Eqs. ( 2 )–( 3 ) is obtained, and the regression function of Eq. ( 1 ) can be constructed. Solve the problem to be optimized to obtain the approximation function: 4 where is the kernel function. The commonly used kernel functions are polynomial form kernel functions and Gaussian type radial basis functions (RBF): 5 6 Based on Matlab R2020a programming, the input features are mapped to a high-dimensional space by constructing a support vector machine. Because the Gaussian radial basis kernel function has only one kernel parameter σ, which is simple to construct and able to represent arbitrary functions, has strong generalization and fitting ability, is suitable for samples with arbitrary distribution forms, and has wide applications in engineering practice, the Gaussian radial basis function is chosen as the kernel function of SVM in this study, as shown in Eq. ( 6 ). According to the research shows that the kernel parameter and the penalty parameter have the greatest impact on the performance of the support vector machine, while the insensitive parameter ε has a smaller impact. Therefore, the grid search method is used to find the optimal penalty factor C and kernel function factor g in order to achieve a better fitting effect of the support vector machine model. After the grid search, the model reaches the optimization when the penalty factor C = 0.5 and the kernel function factor g are 45.0514, 50.3685, 50.3685, 50.3695, 47.7117, 50.3684 and 45.0532, respectively. Through the above process, the heat treatment parameter training model is constructed and the model training is completed based on the selected 96 sets of training data. Meanwhile, the fitting accuracy of the model was evaluated by regression model analysis on the test set with a root mean square error (RMSE) of 3.16% and (coefficient of determination) R 2 of 0.993. Validation of heat treatment parameter prediction models The training process of the heat treatment parameter prediction model actually finds a function f(x) for the SVM in the high-dimensional feature space, Eq. ( 4 ) above, such that all actual observations do not deviate from the predicted values by more than ε(epsilon). This function is a hyperplane in the high-dimensional feature space. The SVM is trained to find this hyperplane by training the training set. Regression predictions can then be made at test time based on the mapping function determined by the input features through this hyperplane. The accuracy of the constructed model was tested by using the trained completed model for the remaining 24 groups. Due to space constraints, we present the test results for 4 of the groups in detail and summarize the results for the remaining 20 groups. A prediction model was constructed for 96 of the above 120 groups of data, and the constructed model was used to predict the heat treatment results of the remaining 24 groups of test data, and the prediction results are shown in Table 5 . The comparison of the prediction results with the test results is shown in Table 6 , which shows that the predicted values are very close to the results obtained from the test, with the error controlled below 1%, and the prediction results and the actual test results are shown in Fig. 5 , indicating that the prediction model is relatively reliable. Table 5 Heat treatment condition parameters and prediction results: (a) Heat treatment condition parameters, (b) prediction results. Samples Process parameters BCTemp/°C BCP/% BCTime/min DCTemp/°C DCP/% DCTime/min OQT/°C (a) 1 930 1.2 280 930 0.85 180 830 2 930 1.2 280 930 0.85 280 800 3 930 1.2 150 930 0.85 100 800 4 930 1.2 240 930 0.60 200 780 Samples Sample test results DCC/mm SH/HRC CH/HRC CL ML RAL HFL (b) 1 1.2540 60.2225 46.7214 1 2 2 1 2 1.3385 59.9451 46.3706 1 2 3 1 3 0.9814 60.6377 46.5885 1 2 2 1 4 1.2050 60.1821 46.3314 1 2 2 1 Table 6 Comparison of model predictions with real test results for the four sample groups. Samples 1 DCC/mm SH/HRC CH/HRC CL ML RAL HFL Sample value 1.26 60.2 46.7 1 2 2 1 Approximate model prediction results 1.2540 60.2225 46.7214 1 2 2 1 Error as a percentage of sample size (%) 0.48 0.04 0.05 0 0 0 0 Samples 2 DCC/mm SH/HRC CH/HRC CL ML RAL HFL Sample value 1.34 59.9 46.5 1 2 3 1 Approximate model prediction results 1.3385 59.9451 46.3706 1 2 3 1 Error as a percentage of sample size (%) 0.11 0.08 0.28 0 0 0 0 Samples 3 DCC/mm SH/HRC CH/HRC CL ML RAL HFL Sample value 0.98 60.6 46.6 1 2 2 1 Approximate model prediction results 0.9814 60.6377 46.5885 1 2 2 1 Error as a percentage of sample size (%) 0.14 0.06 0.02 0 0 0 0 Samples 4 DCC/mm SH/HRC CH/HRC CL ML RAL HFL Sample value 1.21 60.3 46.3 1 2 2 1 Approximate model prediction results 1.2050 60.1821 46.3314 1 2 2 1 Error as a percentage of sample size (%) 0.41 0.20 0.07 0 0 0 0 Fig. 5 Comparison between prediction results and real test results. Predictive analysis of heat treatment parameters of target gears by SVM based training model In order to further validate the reasonableness of the regression analysis model constructed by using SVM on heat treatment parameters, the validation test is carried out by taking a certain parameter gear faced in actual production as the object. Before carrying out the formal validation test, the gear heat treatment process is first analyzed theoretically and simulatively. Prediction of heat treatment results of target gears based on support vector machine After completing the training and validation of the above heat treatment parameter prediction model, this validated model was used to predict the heat treatment results of gears made of 20Cr2Ni4 material with a tooth number of 41 and a module of 2. Factory after a long time of meeting discussions and based on experience, the initial selection of heat treatment parameters shown in Fig. 6 , strong osmosis temperature of 930 °C, strong osmosis time of 120 min, diffusion carbon potential of 0.85, diffusion temperature of 930 °C, diffusion time of 60 min, oil quenching temperature of 800 °C. At the same time, we hope that the heat treatment performance of the gear to achieve the depth of the carburized layer in 0.7 mm, surface hardness ≥ 60HRC, heart hardness ≥ 45HRC, carbide level and heart ferrite level of 1, martensite level and residual austenite level is better than 2. Fig. 6 Heat treatment parameters for factory priming. Theoretical analysis and verification based on existing theoretical foundation and simulation test For the prediction of the optimal heat treatment parameter combination given by the above SVM training model, this paper analyzes it based on the existing heat treatment theoretical foundation and simulation test. Numerical theoretical modeling for heat treatment Heat treatment is theoretically a multidisciplinary interdisciplinary scientific problem of heat transfer, mechanics, phase change kinetics, etc., which is manifested as a nonlinear problem of deformation, temperature and phase change coupled with each other, and the deformation is caused by the process of temperature increase and sharp decrease, which induces the phase change. The deformation process also generates heat, leading to changes in the latent heat of phase transition. Plastic deformation occurs during tissue transformation. Therefore, the numerical simulation of heat treatment process should adopt the algorithm of deformation-temperature-phase change coupling. Carbon diffusion model According to the relevant research literature, the carbon flux on the surface of the workpiece is determined by the external conditions of temperature and pressure. When the external conditions are kept constant, the carbon flux can be solved by the carbon diffusion rate, external carbon concentration and other parameters 26 : 7 In the formula: , , and respectively represent carbon diffusion rate, external carbon concentration, surface pressure, and carbon solubility. The formula for the effect of temperature on carbon atom diffusion during carburization is as follows: 8 In the formula: is the influence factor of temperature on diffusion rate. The formula for the effect of pressure on carbon atom diffusion during carburization is as follows: 9 In the formula: is the influence factor of pressure on diffusion rate. Temperature calculation model During the heat treatment process, the exchange of heat between the material itself and with the external medium determines its temperature distribution, and the energy exchange process is closely related to time. According to the law of conservation of energy and Fourier’s law, considering the latent heat of phase transition, the partial differential equation in the right-angle coordinate system of the transient temperature field can be obtained as 27 : 10 In the formula: is the temperature, For heat transfer rate, is the specific pressure and volume, is the strength of the internal heat source, that is, the latent heat of phase change during the heat treatment process, is time, , , and are the directions of heat conduction. can be calculated from the following equation 28 : 11 In the formula, and are the phase variables and enthalpies for generating new phases. Kinetic model of phase transition The heat treatment quenching process is a continuous cooling process that can be transformed from a continuous cooling curve to a step cooling form by the time discretization principle 29 . The Scheil superposition principle is utilized to carry out the calculation of the gestation period of diffusion type phase transition: 12 In the formula: is the incubation period on the TTT curve at temperature , is the isothermal residence time at temperature . When the incubation period is equal to 1, phase transition begins, and the amount of phase transition can be calculated using the Avrami equation 30 : 13 In the formula, b and n are constants related to the type of steel. The phase variables of martensite can be calculated using the Koistinen Marburger equation: 14 In the formula: is the temperature at which martensite begins to transform, is a constant, determined by the composition of the steel. In this study . At the same time, the effects of stress, temperature, and carbon content should be considered, and an improved Johnson–Mehl–Avrami equation should be used. The specific formula is as follows 31 : 15 Among them, , , are functions of temperature, stress, and carbon content, respectively. For diffusive and non-diffusive phase transitions, the difference is whether the latent heat of phase transition with increasing temperature can affect the phase transition volume fraction 32 . In order to avoid the decrease in phase change volume due to the increase in temperature, the following modeling equations are used: 16 Among them, represents the volume fraction of K phase transformation, while F, P, B, and M represent ferrite, pearlite, bainite, and martensite, respectively. Mechanical model For the heat treatment quenching simulation analysis, the constitutive model for the strain decomposition solution is shown in the following equations, and from the top of the equation structure, it can be seen that the total strain increment is decomposed into thermal and mechanical strain increments 33 : 17 Thermal strain increments include both thermal and phase strain increments: 18 Mechanical strain components include elastic and plastic strain components 34 : 19 Finite element modeling of carburizing quenching of gears in 20Cr2Ni4 material Carburizing quenching model parameters for gears made of 20Cr2Ni4 material In order to improve the computational efficiency of the finite element software, any 1 tooth of it is taken as the finite element analysis object for meshing without affecting the solution results 35 . Therefore, a tetrahedral mesh is used to divide the single tooth model, and the result is 27,154 cells and 6134 nodes. The finite element meshing of the gear is shown in Fig. 7 . Fig. 7 Finite element modeling of gear heat treatment. Heat treatment boundary conditions The heat treatment boundary conditions mainly include the setting of linear boundary conditions and nonlinear boundary conditions, and the heat treatment process mainly involves the given temperature, the given concentrated heat flow, surface convection and thermal radiation conditions 36 . The initial reference temperature is set to 20 °C. The emissivity is set to a constant of 0.7, and the hot melt is set to “temperature dependent” with the values shown in Table 7 . Table 7 Relationship between hot melt value and temperature. Temperature Thermal conductivity 27 20.7 169 21.5 579 24.3 1014 28.1 Preheating stage: The medium thermal conductivity is set to 0.01 N/sec/mm/C. Carburizing stage: The medium thermal conductivity is set to 0.05 N/sec/mm/C, and the surface reaction coefficient of carbon atom diffusion is set to 0.0001 mm/sec 37 . Quenching stage: The surface portion of the gear in direct contact with the quenching oil is set to region I, and its heat conduction rate is set to 0.05 N/sec/mm/C. For the side of the gear obtained by manual splitting, it is set to region II, as shown in Fig. 8 , and its heat conduction rate is set to “Variation with Temperature”, and its value is specified as shown in Table 8 : Fig. 8 Region 1 and Region 2. Table 8 Oil quenching region 2-thermal conductivity versus temperature. Temperature/°C Convection coefficient 20 2.1 250 2.8 500 6.8 750 4.0 1000 2.5 Air-cooling stage: The medium heat transfer rate is set to 0.02 N/sec/mm/C. The relationship between the martensitic hardness value generated by the phase transformation and the carbon content is added as a function of the carbon content shown in Fig. 9 38 . Fig. 9 Maximum hardness of hardened steel as a function of carbon content. Gear heat treatment parameter optimization results validation simulation test The CCT(Continuous Cooling Transformation) and TTT(Time, Temperature, Transformation) analyses of 20Cr2Ni4 steel material were carried out to obtain the CCT and TTT curves of 20Cr2Ni4 steel material, as shown in Fig. 10 , which provide the basic material parameters for the subsequent heat treatment simulation analysis 39 . Fig. 10 ( a ) CCT diagram; ( b ) TTT diagram. As shown in Table 1 , the content of proeutectoid ferrite and pearlite in the microstructure of 20Cr2Ni4 steel can be calculated using the formula: 20 The content of pearlite is . For each heat treatment process in the heat treatment process route of ultra-high-strength steel gears, set the environmental medium, in order of heating, carburizing, oil cooling and air cooling 40 . For different media, set the heat transfer coefficient and surface deformation coefficient. According to the heat treatment process route of ultra-high-strength steel gear, set the time and temperature of each process. The final hardness gradient simulation results of the gear are shown in Fig. 11 , the surface hardness is 61.9HRC, the heart hardness is 46.3HRC, the depth of the carburized layer is 0.73 mm, the carbide level and the ferrite level of the heart have reached level 1, and the martensite level and the residual austenite level have reached level 2. In order to prevent the number of grids from having an effect on the test results, the grids were refined and solved many times between 10,000 and 50,000 different numbers of grids, and the test results with 30,000 numbers of grids were used as a benchmark to compare and analyze the effect of the number of grids on the test results, and the maximum value of the change was 1.52%, which is less than the specified 5%, which verifies that there is no dependence on the number of grids in the test results. The heat treatment simulation results are consistent with the prediction results of the SVM prediction model, which proves the reliability of machine learning given the prediction parameters (e.g., Table 9 ). Fig. 11 Heat treatment simulation analysis results. Table 9 Comparison of predicted, theoretical simulation analysis and experimental results. Projected results Error in pre-diction results Theoretical analysis results Theoretical analysis result error Experimental results DCC/mm 0.7156 0.79% 0.73 2.83% 0.71 SH/HRC 61.4586 0.23% 61.9 0.49% 61.6 CH/HRC 46.0254 0.16% 46.3 0.43% 46.1 CL 1 0 1 0 1 ML 2 0 2 0 2 RAL 2 0 2 0 2 HFL 1 0 1 0 1 Gear sample test In order to ensure rigor, this paper carries out heat treatment tests on gear samples to further test the prediction results of the SVM. The gear sample test trials are as follows: After the gear blank is rolled and machined, a rough machining sample is obtained, and then heat-treated with exactly the same process as the results of the preferred parameters of the support vector machine and the simulation scheduling, which will not be repeated here. The heat-treated gear and the block to be tested obtained by wire-cut sampling are shown in Fig. 12 . Fig. 12 Gear sample test. After testing, the surface hardness of the gear sample is 61.6HRC, the hardness of the heart is 46.1HRC, the depth of the carburized layer reaches 0.71 mm, the carbide level and the ferrite level of the heart reaches grade 1, the martensite level and the level of residual austenite reaches more than grade 2, as shown in Table 9 . The results of the gear physical samples of the heat treatment have also proved that the prediction of the given parameters through the SVM is reliable. Results Temperature change and microstructure transformation The heat treatment parameters and process outlined by the machine learning model were carefully analyzed. Initially, the gears were preheated to 500 °C, which served to reduce thermal stress deformation caused by the significant temperature difference between room temperature and the carburizing temperature. This preheating step also effectively removed any residual moisture left on the gear surfaces after cleaning, which is essential before carburizing. Prior to preheating and carburizing, the microstructure of the gears consisted of ferrite and pearlite (normalized). As the temperature was raised to 930 °C, the gear samples gradually underwent austenitization. During this phase, carbon atoms from the carburizing atmosphere began to diffuse into the surface, forming a carburized layer on the gears. After the carburization at 930 °C, the samples were air-cooled, resulting in a microstructure composed of martensite, bainite, and residual austenite. To further reduce the content of residual austenite after quenching, the gears underwent high-temperature tempering at 650 °C. During this process, chromium and nickel elements precipitated at the grain boundaries, lowering the alloying elements within the grains and thereby decreasing the stability of the austenite, which reduced the residual austenite content post-quenching. The gears were then reheated to 800 °C, leading to the formation of austenite. Upon quenching and cooling, the surface layer consisted of acicular martensite, residual austenite, and carbide. Finally, after tempering at 170 °C, the microstructure was refined to tempered martensite, residual austenite, and carbide, with the core transforming into lath martensite. Variation of surface hardness and core hardness The gear’s hardness before carburization, following preparatory heat treatment, is typically around 18 HRC. After carburization and air cooling, the surface hardness increases to approximately 35 HRC, while the core hardness remains around 20 HRC. High-temperature tempering then slightly reduces the surface hardness to about 30 HRC, with the core hardness remaining unchanged at 20 HRC. Following quenching, the surface hardness significantly increases to around 63 HRC, and the core hardness rises to about 46 HRC. Finally, after low-temperature tempering, the surface hardness slightly decreases to approximately 62 HRC, while the core hardness remains stable at 46 HRC. This process ultimately results in a gear with a hard, wear-resistant surface and a tougher, more ductile core. Effect of quenching temperature on resultant parameters The impact of quenching temperature on martensite formation was studied using a single-variable control method. Figure 13 illustrates the martensite conversion rates at different temperatures after a 2.5-h holding period followed by 1 h of oil quenching. The data indicates that when the quenching temperature is below 780 °C, martensite conversion increases as the temperature rises. At lower quenching temperatures, due to the slower transformation of austenite, extending the holding time may be necessary. However, caution must be exercised to avoid excessive grain growth, which can negatively affect material performance. Once the temperature exceeds 780 °C, martensite conversion reaches over 95%, indicating that the transformation is nearly complete. Fig. 13 The influence of quenching temperature on the formation of martensite. The effect of quenching temperature on gear hardness was also examined. As illustrated in Fig. 14 , the hardness of the gear increases steadily with rising quenching temperatures, reaching a peak surface hardness of 64.5 HRC at 800 °C. Beyond this point, the hardness levels off. This pattern occurs because, as the quenching temperature rises, the carbides of alloying elements within the material dissolve progressively, enhancing the uniform distribution of carbon in the austenite. Consequently, after quenching, the carbon saturation in martensite also increases, leading to a corresponding rise in gear hardness. However, once the carbon in the martensite becomes nearly saturated, further increases in temperature result in minimal changes in hardness. Fig. 14 The effect of quenching temperature on hardness. Comparison of SVM methods with simulation test methods and traditional test methods for predicting outcome scenarios When faced with the same heat treatment input parameters, accurate results can be predicted in less than 10 s using a trained support vector machine heat treatment model. Simulation tests, on the other hand, take about 3 days, while based on the number of meshes and a large number of materials modeled correctly. The traditional test method based on the heat treatment mechanism takes about 5 days, while consuming a lot of human and material resources. Therefore, SVM has obvious advantages in the efficiency and accuracy of heat treatment results prediction. Conclusion In this paper, we utilize Support Vector Machine (SVM) for the model training and prediction of heat treatment conditions and their resulting parameters. The prediction model undergoes rigorous testing, which is grounded in theoretical analyses of carburizing and quenching processes. This includes the development of a mathematical model for heat treatment, simulation tests, and evaluations using gear samples. Additionally, we perform a comprehensive validation of the training model’s accuracy through SVM. The conclusions drawn from this study are as follows: The prediction results of the support vector machine are accurate and reliable, and 96 groups of different levels of 7 input combination parameters (strong carburizing temperature, strong carburizing potential, strong carburizing time, diffusion temperature, diffusion carbon potential, diffusion time, and oil quenching temperature) corresponding to different heat treatment results of 7 output parameters (depth of carburizing layer, surface hardness, heart hardness, carbide level, martensite level, residual austenite level, and heart ferrite level) are used for training and learning, and the results of the remaining 24 groups of test parameters were predicted and examined, and the error was controlled to be less than 1%, and the prediction results obtained were more accurate. The testing conducted on the test blocks does not influence the outcomes of the gear sample tests. The results from the heat treatment of the test blocks align closely with those obtained from the gear samples. Additionally, utilizing SVM analysis further reduces testing costs and minimizes the use of manpower and materials. Furthermore, the training model demonstrates an improved predictive capability for gears of various specifications and sizes. Supplementary Information Supplementary Information. Acknowledgements The authors would like to thank the Innovative Achievement Transformation and Application Program (Grant No. 62502010204). Author contributions Yanzhong Wang: Conceptualization, methodology, writing (review and editing), project administration, funding acquisition. Libin Zhang: writing(original draft), software, methodology, data curation. Yulu Su: investigation, formal analysis. Hai Liu: investigation, validation, data curation. Hailong Yang: material preparation, validation. Yanyan Chen: writing (review and editing), supervision. All authors have read and agreed to the published version of the manuscript. Data availability Data is provided within the manuscript or supplementary information files. Declarations Competing interests The authors declare no competing interests. Footnotes Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Yanzhong Wang and Libin Zhang contributed equally to this work. Contributor Information Libin Zhang, Email: by2007112@buaa.edu.cn. Yanyan Chen, Email: besthouniao@foxmail.com. Supplementary Information The online version contains supplementary material available at 10.1038/s41598-025-92312-1. References 1. Sugimoto, T. & Ju, D. Y. Influence of thermal boundary conditions on the results of heat treatment simulation. Mater. Trans. 59 (6), 950–956 (2018). 2. Li, J. et al. A bootstrap-based tooth surface errors statistics methodology for batch hypoid gears after heat treatment. Processes 11 (4), 1128 (2023). 3. Kim, D. W. et al. A numerical model for vacuum carburization of an automotive gear ring. Met. Mater. Int. 17 , 885–890 (2011). 4. Sun, P., Pang, D., Qi, X., & Luo, N. The heat treatment deformation law and the improvement of accuracy of the transmission gear. In Proceedings of China SAE Congress 2018: Selected Papers 647–661. (Springer, 2020). 5. Shao, W., Yi, M., Tang, J. & Sun, S. Prediction and minimization of the heat treatment induced distortion in 8620H steel gear: Simulation and experimental verification. Chin. J. Mech. Eng. 35 (1), 126 (2022). 6. Scholzen, P. et al. Influence of heat treatment and densification on the load capacity of sintered gears. Powder Metall. 66 (2), 86–93 (2023). 7. Zhao, Y. Q., Han, Y. & Xiao, Y. An asynchronous dual-frequency induction heating process for bevel gears. Appl. Therm. Eng. 169 , 114981 (2020). 8. Morgano, E., Viscardi, C. & Valente, L. Simulation of heat treatment of jominy specimen to improve quality of automotive gear components. Metall. Ital. 112 (1), 52–58 (2020). 9. Kim, J. R., Yoon, S. H., Jung, Y. C., Suh, C. H. & Kwon, T. H. A study on the thermal deformation simulation of spur gear according to the heat zones in heat treatment process. J. Korean Soc. Mech. Process. 19 (7), 60–66 (2020). 10. Liu, H., Zhao, J., Tang, J., Shao, W. & Sun, B. Simulation and experimental verification of die quenching deformation of aviation carburized face gear. Materials 16 (2), 690 (2023). 11. Gears, A. B. A study on the distortion induced by heat treatment. J. Korean Soc. Plast. Process. 12 (3), 227 (2003). 12. Banerjee, M. K. Fundamentals of heat treating metals and alloys. Comp. Mater. Finish. 2 (1), 1–49 (2017). 13. Kim, N. K. & Bae, K. Y. Analysis of deformation in the carburizing-quenching heat treatment of helical gears made of SCM415H steel. Int. J. Precis. Eng. Manuf. 16 , 73–79 (2015). 14. Olatunji, S. O. & Owolabi, T. O. Modeling the band gap of spinel nano-ferrite material using a genetic algorithm based support vector regression computational method. Int. J. Mater. Res. 114 (3), 161–174 (2023). 15. Alade, I. O., Oyedeji, M. O., Rahman, M. A. A. & Saleh, T. A. Prediction of the lattice constants of pyrochlore compounds using machine learning. Soft Comput. 26 (17), 8307–8315 (2022). 16. Ma, S., Du, Y., Wang, S. & Su, Y. Application of machine learning in material corrosion research. Corros. Rev. 41 (4), 417–426 (2023). 17. Covarrubias-Martínez, D., Martínez-Rodríguez, O. A., Lobato-Morales, H., & Medina-Monroy, J. L. Classification of plastic materials using a microwave negative-order-resonance sensor and support-vector-machine. In 2021 96th ARFTG Microwave Measurement Conference (ARFTG) 1–4. (IEEE, 2021). 18. Sharma, N. et al. Machine learning techniques for evaluating concrete strength with waste marble powder. Materials 15 (17), 5811 (2022). 19. Lu, H., Behbahani, S., Ma, X. & Iseley, T. A multi-objective optimizer-based model for predicting composite material properties. Constr. Build. Mater. 284 , 122746 (2021). 20. Alhammad, M. et al. Automated impact damage detection technique for composites based on thermographic image processing and machine learning classification. Sensors 22 (23), 9031 (2022). 21. Cho, J. R. et al. Distortions induced by heat treatment of automotive bevel gears. J. Mater. Process. Technol. 153 , 476–481 (2004). 22. Guterres, N. F., Rusnaldy, R. & Widodo, A. Gear distortion analysis due to heat treatment process. AIP Conf. Proc. 1788 , 1 (2017). 23. Lee, S. J. & Lee, Y. K. Finite element simulation of quench distortion in a low-alloy steel incorporating transformation kinetics. Acta Mater. 56 (7), 1482–1490 (2008). 24. Lim, J., Kang, S. & Lee, Y. S. Dimensional changes by heat treatment of helical gear. Key Eng. Mater. 535 , 271–274 (2013). 25. Huimin, Y. Research on parallel support vector machine based on spark big data platform. Sci. Program. 2021 (1), 7998417 (2021). 26. Lin, J., Liu, Y., Farrugia, D. C. J. & Zhou, M. Development of dislocation-based unified material model for simulating microstructure evolution in multipass hot rolling. Philos. Mag. 85 (18), 1967–1987 (2005). 27. Maláková, S., Guzanová, A., Draganovská, D., Fedorko, G. & Molnár, V. A case study of gear wheel material and heat treatment effect on gearbox strength calculation. J. Mech. Sci. Technol. 33 , 5817–5827 (2019). 28. Xiao, N., Zhang, C., Hui, W., Che, H. & Yang, Z. Study of an economical and effective heat treatment method to improve the performance of gear steels. Steel Res. Int. 94 (8), 2300030 (2023). 29. Mittemeijer, E. J. Steel Heat Treating Fundamentals and Processes Vol. 4 (ASM Handbook A, 2013). 30. Wang, X., Li, D. & Li, P. Analysis and optimization of carburizing-quenching distortion on locomotive gear ring. JOM 75 (7), 2441–2450 (2023). 31. Nallathambi, A. K., Kaymak, Y., Specht, E. & Bertram, A. Sensitivity of material properties on distortion and residual stresses during metal quenching processes. J. Mater. Process. Technol. 210 (2), 204–211 (2010). 32. Pang, Z., Yu, S. & Xu, J. Study of effect of quenching deformation influenced by 17CrNiMo6 gear shaft of carburization. Phys. Proc. 50 , 103–112 (2013). 33. Lee, P. U. et al. Load capacity simulation of an agricultural gear reducer by surface heat treatment. Korean J. Agric. Sci. 43 (4), 656–664 (2016). 34. Srinivasan, V., Moon, K.-M., Greif, D., Wang, D. M. & Kim, M.-H. Numerical simulation of immersion quenching process of an engine cylinder head. Appl. Math. Model. 34 (8), 2111–2128 (2010). 35. Qiu, J. L., Zhao, R. R., Wang, Y. J., Zhao, W. & Li, J. C. Research on the V/H inspection of spiral bevel gear before heat treatment. Appl. Mech. Mater. 483 , 166–169 (2013). 36. Fernandes, F. M. B., Denis, S. & Simon, A. Mathematical model coupling phase transformation and temperature evolution during quenching of steels. Mater. Sci. Technol. 1 (10), 838–844 (1985). 37. Sheng, J. S. & Dai, S. J. Factor analysis of cracks generated in 22CrMoH steel gear. Adv. Mater. Res. 150–151 , 1039–1042 (2011). 38. Rakhit, A. K. Heat Treatment of Gears: A Practical Guide for Engineers (ASM International, 2000). 39. Reardon, A. C. Press quenching and effects of prior thermal history on distortion during heat treatment. Gear Technol. 31 (2), 50–53 (2014). 40. Rommel, S., Fuchs, D., Blum, T., Tobie, T. & Stahl, K. Influence of different pre-heat treatments on the grain size in the core region of ultra-clean gear steels. HTM J. Heat Treat. Mater. 77 (4), 284–297 (2022). Associated Data Supplementary Materials Supplementary Information. Data Availability Statement Data is provided within the manuscript or supplementary information files.
