在电火花加工中,加工工艺指标的结果与工艺参数的设置密切相关。一般情况下,操作者在进行实际执行之前,只能根据以往的加工规律以及经验手段对其结果进行预判,达到预先评估加工结果的目的。针对这一情况,提出一种适用于电火花加工工艺指标结果预测的模型,该模型的建立是基于支持向量回归理论的数学方法,并利用遗传算法优化该方法中的各参数。以电火花加工8418模具钢为例,结合正交试验方法和经验加工方法选取加工工艺参数,并记录工艺指标结果。为保证EDM工艺指标预测模型的准确性,将试验数据随机分成训练集和测试集,利用训练集训练EDM工艺指标预测模型,可得加工时间模型均方误差TMSE=0.95×10-4,平方相关系数TR2=0.99 1;工件去除率模型均方误差MRRMSE=1.02×10-4,平方相关系数MRRR2 =0.999 3;电极损耗率模型均方误差EWRMSE =1.11×10-4,平方相关系数EWR R2=0.998 9。再利用测试集验证该模型,可见预测结果与试验结果之间的误差在5%以内,从而证明电火花加工8418钢工艺预测模型的准确性和有效性。
The technological indexes are closely related to processing parameters in electrical discharge machining (EDM). In general, the output objectives only can be predicted with the help of the past processing laws and empirical methods before actually executing. In view of this situation, a prediction model is presented and established on the base of mathematical method of support vector regression to determine the technological indexes in EDM. The genetic algorithm (GA) is adopted as an optimization solver to seek the best variables in this model. In the case of processing 8418 steel, the proper process parameters are selected by orthogonal experimental method and empirical method, and the results are recorded. To ensure accuracy of prediction models of technological indexes in EDM, the experimental data are divided into a training set and a test set. The prediction model is trained through the training data set. The results show that the model of machining time has the mean squared error TMSE of 0.95×10-4 and the correlation coefficient TR2of 0.999 1; the model of material removal rate has the mean squared error MRRMSEof 1.02×10-4 and the correlation coefficient MRRR2 of 0.999 3; the model of electrode wear rate has the mean squared error EWRMSE of 1.11×10-4 and the correlation coefficient EWR R2of 0.998 9. Then those models are proved by the test samples, and the relative error is less than 5%. Thus the accuracy and effectiveness for the present models are verified.
[1] 刘志东. 特种加工[M]. 北京:北京大学出版社, 2013. 12-16
LIU Zhidong. Non-traditional Machining [M]. Beijing: Peking University Press,2013.
[2] SAMEH S. H. Study of the parameters in electrical discharge machining through response surface methodology approach[J]. Applied Mathematical Modelling,2009,33(12):4397-4407.
[3] TZENG C J,CHEN R Y. Optimization of electric discharge machining process using the response surface methodology and genetic algorithm approach[J]. Int. Journal of Precision Engineering and Manufacturing,2013,14(5):709-717.
[4] 杨晓冬,赵万生,刘光壮,等. 基于神经网络的型腔电火花加工工艺效果预测模型[J]. 航空制造技术,2001(3):41-43.
YANG Xiaodong,ZHAO Wansheng,LIU Guangzhuang,et al. Forecasting model of technological effect for die sinking EDM based on ANN [J]. Aeronautical Manufacturing Technology,2001(3):41-43.
[5] GAO Qing,ZHANG Qinhe,SU Shupeng,et al. Parameter optimization model in electrical discharge machining process[J]. Journal of Zhejiang University Science A,2008,9(1):104-108.
[6] 瓦普尼克. 统计学习理论的本质[M].北京:清华大学出版社,2000.
VAPNIK. The nature of statistical learning theory [M].
7 Beijing:Tsinghua University Press,2000.
[7] SMOLA A J,BERNHARD S. A tutorial on support vector regression[J]. Statistics and Computing,2004,14(3):199-222.
[8] JIANG Zhuoda. Intelligent prediction of surface roughness of milling aluminium alloy based on least square support vector machine [C]// Control and Decision Conference (CCDC),America: IEEE,2010. 2872-2876.
[9] WANG Peigong,MENG Qingfeng,ZHAO Jian,et al. Prediction of machine tool condition using support vector machine [J]. Journal of Physics:Conference Series,2011,305(1):1-9.
[10] 张玲瑄. 高效微细电火花加工若干关键技术研究[D]. 辽宁:大连理工大学,2012.
ZHANG Lingxuan. Key technology study on high efficiency micro EDM [D]. Dalian:Dalian University of Technology,2012.
[11] 雷英杰,张善文,李续武,等. MATLAB遗传算法工具箱及应用[M]. 陕西:西安电子科技大学出版社,2014.
LEI Yingjie,ZHANG Shanwen,LI Xuwu,et al. Genetic algorithm toolbox and applications [M]. Xi’an: Xidian University Press,2014.