基于机器学习的4145H钢成分-淬透性预测及SHAP特征分析OA
Prediction of Hardenability Based on Chemical Composition in 4145H Steel Using Machine Learning and SHAP Feature Analysis
4145H钢因高淬透性和强韧性,广泛应用于钻铤等高载荷构件.淬透性是钢材调质过程中截面性能均匀化的关键指标,直接影响强韧性,传统中Jominy端淬试验是评估淬透性最常用的办法,但是存在试验流程复杂、成本较高、耗时较长的问题.为此基于钢材产线数据,将9种化学元素含量作为特征变量,标准Jominy端淬试样淬火端1.5、25、50 mm处硬度值作为目标变量(J1.5,J25,J50),使用4种机器学习算法进行淬透性预测,并结合十折交叉验证评估模型性能.结果表明,CatBoost模型精度最佳,J1.5、J25和J50值的R2分别为0.979、0.961和0.970,RMSE为0.383、0.459、0.621 HRC,有 98.88%、97.09%和89.26%的样本落在置信区间内.此外,采用 Shapley加性解释(Shapley Additive Explanation,SHAP)特征分析增强了模型的可解释性,确定Mn、Cr、C和Mo元素是影响淬透性的关键元素.研究结果实现了4145H钢淬透性的精确预测,并为成分优化提供参考.
4145H steel is widely used in high-load components such as drill collars due to its high hardenability and strength.Hardenability is a key indicator for the uniformity of cross-section properties during the quenching and tempering process of steel,which directly affects the strength and toughness.Traditionally,the Jominy end quenching test is the most commonly used method to evaluate hardenability.However,there are problems with the test process being complex,costly,and time-consuming.To this end,based on the steel production line data,the contents of 9 chemical elements are used as characteristic variables,and the hardness values at 1.5,25 and 50 mm at the quenching end of the standard Jominy end-quenched specimen are used as target variables(J1.5,J25,J50).Four machine learning algorithms are used to predict the hardenability,and combined with ten-fold cross-validation to evaluate the model performance.The results show that the CatBoost model has the best accuracy.The R2 of J1.5,J25 and J50 values are 0.979,0.961 and 0.970 respectively.The RMSE are 0.383,0.459 and 0.621 HRC.98.88%,97.09%and 89.26%of the samples fall within the confidence interval.In addition,Shapley additive explanation(SHAP)feature analysis is used to enhance the interpretability of the model,and it is determined that Mn,Cr,C and Mo elements are the key elements affecting hardenability.The research results achieve accurate prediction of the hardenability of 4145H steel and provide a reference for composition optimization.
屈文涛;柳云腾;李桂变;丛玉磊
西安石油大学 机械工程学院,西安 710065西安石油大学 机械工程学院,西安 710065山西风雷钻具有限公司,山西 临汾 043099中国石油西部钻探工程有限公司,乌鲁木齐 830011
矿业与冶金
4145H钢机器学习淬透性Shapley 加性解释
4145H steelmachine learninghardenabilityShapley additive explanation
《机电工程技术》 2026 (6)
65-71,107,8
评论