NONE

ADSENSE

# Modeling of EDM responses by support vector machine regression with parameters selected by particle swarm optimization

30

lượt xem 1

download

lượt xem 1

download

Download
Vui lòng tải xuống để xem tài liệu đầy đủ

(BQ) Electrical discharge machining (EDM) is inherently a stochastic process. Predicting the output of such a process with reasonable accuracy is rather difficult.

AMBIENT/

Chủ đề:

Bình luận(0) Đăng nhập để gửi bình luận!

##
Nội dung Text: Modeling of EDM responses by support vector machine regression with parameters selected by particle swarm optimization

Applied Mathematical Modelling 38 (2014) 2800–2818<br />
<br />
Contents lists available at ScienceDirect<br />
<br />
Applied Mathematical Modelling<br />
journal homepage: www.elsevier.com/locate/apm<br />
<br />
Modeling of EDM responses by support vector machine<br />
regression with parameters selected by particle swarm<br />
optimization<br />
High speed steel of<br />
Ushasta Aich ⇑, Simul Banerjee<br />
Mechanical Engineering Department, Jadavpur University, Kolkata 700032, India<br />
<br />
a r t i c l e<br />
<br />
i n f o<br />
<br />
Article history:<br />
Received 25 October 2012<br />
Received in revised form 3 July 2013<br />
Accepted 11 October 2013<br />
Available online 23 November 2013<br />
Keywords:<br />
Electrical discharge machining (EDM)<br />
Support vector machine (SVM)<br />
Particle swarm optimization (PSO)<br />
<br />
specimen C-0.80%,<br />
W-6%,<br />
Mo-5%, Cr-4%, V-2%<br />
<br />
a b s t r a c t<br />
Electrical discharge machining (EDM) is inherently a stochastic process. Predicting the<br />
output of such a process with reasonable accuracy is rather difﬁcult. Modern learning<br />
based methodologies, being capable of reading the underlying unseen effect of control factors on responses, appear to be effective in this regard. In the present work, support vector<br />
machine (SVM), one of the supervised learning methods, is applied for developing the<br />
model of EDM process. Gaussian radial basis function and e-insensitive loss function are<br />
used as kernel function and loss function respectively. Separate models of material removal<br />
rate (MRR) and average surface roughness parameter (Ra) are developed by minimizing the<br />
mean absolute percentage error (MAPE) of training data obtained for different set of SVM<br />
parameter combinations. Particle swarm optimization (PSO) is employed for the purpose of<br />
optimizing SVM parameter combinations. Models thus developed are then tested with<br />
disjoint testing data sets. Optimum parameter settings for maximum MRR and minimum<br />
Ra are further investigated applying PSO on the developed models.<br />
Crown Copyright Ó 2013 Published by Elsevier Inc. All rights reserved.<br />
<br />
1. Introduction<br />
Electrical discharge machining (EDM) is a potential process of developing complex surface geometry and integral angles<br />
in mold, die, aerospace, surgical components, etc. [1]. The process is applicable to any conductive material (resistivity should<br />
not exceed 100 ohm-cm) regardless of its hardness, toughness and strength [2]. Material is eroded by series of spatially<br />
discrete and chaotic [3] high frequency electrical discharges (sparks) of high power density between tool electrode and work<br />
piece separated by a ﬁne gap of dielectric ﬂuid. The working zone is completely immersed into dielectric ﬂuid medium for<br />
enhancing electron ﬂow in the gap, cooling after each spark and easy ﬂushing of eroded particles. Basic scheme of EDM is<br />
shown in Fig. 1.<br />
Electrical discharge machining process can be well characterized by two responses – material removal rate (MRR) and<br />
average surface roughness (Ra). From quantitative and qualitative point of view, higher MRR and lower Ra are always<br />
preferred. Search for accurate prediction of these responses in EDM-like complex and stochastic process is still persuaded<br />
by the process engineers. Accurate predictions of MRR and Ra are prerequisite for modern precision engineering.<br />
Several researchers proposed various methodologies for predicting the performance of EDM process [4]. Thermo-electric<br />
model of material removal was developed by Singh et al. [5]. Panda et al. [6] introduced ANN based prediction of MRR during<br />
EDM process. Surface ﬁnish modeling by multi-parameter analysis was given by Petropoulos et al. [7]. Tsai et al. developed<br />
<br />
⇑ Corresponding author. Tel.: +91 9433736906; fax: +91 3324146890.<br />
E-mail addresses: ushasta@yahoo.co.in (U. Aich), simul_b@hotmail.com (S. Banerjee).<br />
0307-904X/$ - see front matter Crown Copyright Ó 2013 Published by Elsevier Inc. All rights reserved.<br />
http://dx.doi.org/10.1016/j.apm.2013.10.073<br />
<br />
U. Aich, S. Banerjee / Applied Mathematical Modelling 38 (2014) 2800–2818<br />
<br />
2801<br />
<br />
Nomenclature<br />
acc<br />
accuracy level<br />
b<br />
bias<br />
c1,initial, c1,ﬁnal limits of cognitive acceleration coefﬁcient<br />
c2,initial, c2,ﬁnal limits of social acceleration coefﬁcient<br />
cur<br />
current setting (A)<br />
d<br />
training input space dimension<br />
f(x)<br />
target function<br />
gbest<br />
global best position of swarm<br />
itermax maximum iteration<br />
n<br />
number of particles in swarm<br />
pibest<br />
best position of ith particle<br />
rand<br />
random number within range ð0; 1Þ<br />
toff<br />
pulse off time (ls)<br />
ton<br />
pulse on time (ls)<br />
vk<br />
velocity of kth particle in iterth iteration<br />
iter<br />
w<br />
weight vector<br />
x<br />
training input vector<br />
xk<br />
velocity corrected position of kth particle in iterth iteration<br />
iter<br />
y<br />
training output vector<br />
ybar<br />
mean of training output set<br />
z<br />
number of attributes<br />
C<br />
regularization parameter<br />
CV<br />
coefﬁcient of variation<br />
Kðxi ; xÞ kernel function<br />
MAPE<br />
mean absolute percentage error<br />
MRR<br />
material removal rate (mm3/min)<br />
N<br />
number of training data<br />
Ra<br />
average surface roughness (lm)<br />
e<br />
radius of loss insensitive hyper-tube<br />
gi , gÃ , ai , aÃ Lagrange multipliers<br />
i<br />
i<br />
ni , nÃ<br />
slack variables<br />
i<br />
r<br />
standard deviation of radial basis function (kernel function)<br />
rt<br />
standard deviation of training output set<br />
U(x)<br />
feature space<br />
Winitial, Wﬁnal limits of constriction factor<br />
xinitial, xﬁnal limits of inertia factor<br />
<br />
semi-empirical model of surface ﬁnish [8]. Neural network based prediction of surface ﬁnish was also proposed by them [9].<br />
Cathode erosion model based on theoretical analysis was introduced by DiBitonto et al. [10]. Perez et al. [11] suggested<br />
theoretical modeling of energy balance in electro erosion. Saha et al. [12] developed soft computing based prediction model<br />
of cutting speed and surface ﬁnish in WEDM process.<br />
Habib [13] applied response surface methodology (RSM) to study the parametric inﬂuence on process outputs of EDM by<br />
developing individual model for several responses like MRR, Ra, gap size (GS) and electrode wear ratio (EWR) with pulse on<br />
time, peak current, average gap voltage and percentage volume fraction of SiC present in aluminum matrix as process<br />
<br />
Fig. 1. Scheme of electrical discharge machining process.<br />
<br />
2802<br />
<br />
U. Aich, S. Banerjee / Applied Mathematical Modelling 38 (2014) 2800–2818<br />
<br />
variables. Optimum combination of process variables for each individual response was also determined. However, there was<br />
no clear description of optimization procedure used for ﬁnding the results.<br />
Thus multivariable regression analysis, response surface methodology and artiﬁcial neural network (mostly back propagation neural network) are the three main data based procedures applied for modeling EDM process. Compared to artiﬁcial<br />
neural network, support vector machine (a powerful learning system), is devoid of the four problems of efﬁciency of training,<br />
efﬁciency of testing, over-ﬁtting and algorithm parameter tuning [14]. Besides, the insensitive zone of SVM absorbs the small<br />
scale random ﬂuctuations appeared in stochastic type responses which is beneﬁcial for other researchers to apply these<br />
models on different products obtained in different batches.<br />
There are a few application of SVM learning system on manufacturing processes is found. Surface roughness in CNC turning of AISI 304 austenitic stainless steel was modeled with high correlation coefﬁcient through three SVM learning systems<br />
(LS-SVM, Spider SVM and SVM-KM) and ANN [15]. Internal parameters of SVM (C and r) were set by grid search method.<br />
Though it is reported that for model development SVM learning systems consume less time than ANN but no such clear<br />
explanation about those speciﬁc choices of searching region of SVM parameters was stated. Also, the SVM parameters’ value<br />
obtained through grid search method depends on the choice of jumping interval. Ramesh et al. [16] conducted CNC end<br />
milling operation on 6061 aluminum varying feed rate, spindle speed and depth of cut. They employed SVM for modeling<br />
of surface ﬁnish in milling operation. Though their estimated model can predict with 8.34% error which is better compared<br />
to 9.71% in prediction through regression model, but the procedure of their iterative choice of internal parameters of SVM<br />
(error, global basis function width and upper bound) was not reported anywhere. Models of surface ﬁnish in face milling of<br />
steel St 52-3 were also developed using multivariable regression analysis, SVM learning system and Bayesian neural network<br />
by Lela et al. [17]. It was reported that SVM learned model estimated better than regression model. All three internal parameters of SVM were chosen by leave-one-out cross validation procedure keeping two parameters ﬁxed at particular values and<br />
other one is searched minimizing the mean square error. A continuous optimization technique which simultaneously<br />
searches the three parameters should be used to get better result for a newly developed system. Zhang et al. [18] developed<br />
separate hybrid models of processing time and electrode wear in micro-EDM through SVM. They also employed discrete<br />
level leave-one-out cross-validation for choosing C and e. Though they used Gaussian kernel function but no such choice<br />
of r is reported. However, such predictive models of MRR and average surface roughness in EDM like complex and stochastic<br />
process in particular are not found yet in the literature. Therefore, modeling of responses through SVM and optimization of<br />
those representative models by PSO are proposed in the present work.<br />
In this study, therefore, two conﬂicting type responses – MRR and Ra are chosen for modeling EDM process by support<br />
vector regression with current, pulse on time and pulse off time as control parameters. Models for MRR and Ra are ﬁtted<br />
based on structural risk minimization principle [19]. For accurate model ﬁtting, three internal parameters of SVM, namely<br />
regularization parameter (C), radius of loss insensitive hyper tube (e) and standard deviation (r) of kernel function are to<br />
be correctly set. Particle swarm optimization is employed for the selection of optimum combination of these three internal<br />
parameters. Models thus developed, are then tested for accuracy through follow up experiments. Further, optimum process<br />
parameter (current setting, pulse on time and pulse off time) settings for maximum MRR and minimum Ra are estimated<br />
separately by applying PSO on the respective representative SVM learned models. Literature survey made so far reveals that<br />
no such work is reported till now.<br />
2. Support vector machine (SVM)<br />
Support vector machine, a supervised batch learning system, is ﬁrmly grounded in the framework of statistical learning<br />
theory. Vapnik [19] introduced structural risk minimization (SRM) principle instead of empirical risk minimization (ERM),<br />
implemented by most of the traditional artiﬁcial intelligence based modeling technologies. Neural network approaches<br />
may have suffered with generalization, producing over ﬁtted models but SRM minimizes upper bound on the expected risk,<br />
as opposed to ERM, that minimizes error on the training data. This difference equips SVM with a greater ability to generalize<br />
[20].<br />
Ultimate goal in modeling of empirical data is to choose a model from hypothesis space, which is closest to the underlying<br />
target function. Suppose, a set of training data fðx1 ; y1 Þ; ðx2 ; y2 Þ; . . . ; ðxN ; yN Þg is used for model developing in d dimensional<br />
input space (i.e. x 2 Rd ). Key assumption in model developing is that training and testing data set are disjoint, independent<br />
and identically distributed according to the unseen but ﬁxed underlying function [14]. The linear target function may be<br />
represented in the form [21]<br />
<br />
f ðxÞ ¼ hw; xi þ b<br />
<br />
ð1Þ<br />
<br />
where h; i indicates dot product in vector space. If the input pattern does not hold any linear relation to output, (non linear<br />
SVM regression model is shown in Fig. 2) then they are mapped to feature space U(x) from high dimensional input space via<br />
kernel functions. So, optimal choice of weight factor w and threshold b (bias term) is prerequisite of accurate modeling. Flatness of the model is controlled by minimizing Euclidean norm ||w||. Besides, empirical risk of training error should also be<br />
minimized [22]. So, regularized risk minimization problem for model developing can be written as follows.<br />
<br />
Rreg ðf Þ ¼ jjwjj2 =2 þ C Ri¼1ð1ÞN Lðyi ; f ðxi ÞÞ<br />
<br />
ð2Þ<br />
<br />
U. Aich, S. Banerjee / Applied Mathematical Modelling 38 (2014) 2800–2818<br />
<br />
2803<br />
<br />
Fig. 2. Non-linear SVM regression model.<br />
<br />
Fig. 3. e-Insensitive loss function.<br />
<br />
Weight vector w and the bias term b can be estimated by optimizing this function (Eq. (2)), which minimizes not only empirical risks but also reduces generalization error i.e. over ﬁtting of model simultaneously. Here, L(y), a loss function is introduced to penalize over ﬁtting of model with training points. A number of loss functions are already developed for<br />
handling different types of problem [20]. e-insensitive loss function (Fig. 3) is mostly used for process modeling problems.<br />
This function may be deﬁned as<br />
<br />
Lðyi ; f ðxi ÞÞ ¼ jyi;experimental À f ðxi Þj À e;<br />
¼ 0;<br />
<br />
if jyi;experimental À f ðxi Þj ! e<br />
<br />
if jyi;experimental À f ðxi Þj < e<br />
<br />
ð3Þ<br />
<br />
Here points inside the e-tube are considered as zero loss, otherwise a penalization is calculated by introducing C, which is a<br />
trade-off between ﬂatness and complexity of the model. Practical signiﬁcance of this insensitive zone is that the points inside<br />
the hyper-tube i.e. close enough to estimated model are deemed to be well estimated and those outside the tube contribute<br />
training error loss. These outsiders of the insensitive zone belong to support vector group. So, the size of e-insensitive zone<br />
controls number of support vectors. As radius of insensitive hyper-tube increases, number of support vector reduces and ﬂexibility of the model diminishes. This behavior may be advantageous for eliminating the effect of small random noise in output,<br />
but larger value of e will not completely extract the unseen target function. Besides, higher value of C makes the model more<br />
complex with the chance of over ﬁtting, but too small value may increase training errors. So, optimum choice of this regularization parameter is necessary for better modeling. Two positive slack variables ni and nÃ are introduced [19,21] to cope with<br />
i<br />
infeasible constraints of the optimization problem. Hence the constrained problem can be reformulated as<br />
<br />
minimize :<br />
<br />
jjwjj2 =2 þ C Ri¼1ð1ÞN ðni þ nÃ Þ<br />
i<br />
yi;exp À hw; xii À b<br />
<br />
subject to :<br />
<br />
hw; xii þ b À yi;exp<br />
<br />
e þ ni<br />
e þ nÃ<br />
i<br />
<br />
ni ; nÃ ! 0 i ¼ 1ð1ÞN<br />
i<br />
<br />
ð4Þ<br />
<br />
2804<br />
<br />
U. Aich, S. Banerjee / Applied Mathematical Modelling 38 (2014) 2800–2818<br />
<br />
This problem can be efﬁciently solved by standard dualization principle utilizing Lagrange multiplier. A dual set of variables are introduced for developing Lagrange function. It is found that this function has a saddle point with respect to both<br />
primal and dual variables at the solution. Lagrange function can be stated as<br />
<br />
L ¼ jjwjj2 =2 þ C Ri ¼ 1ð1ÞNðni þ nÃ Þ À Ri¼1ð1ÞN ðgi ni þ gÃ nÃ Þ À Ri¼1ð1ÞN ai ðe þ ni À yi þ hw; xii þ bÞ<br />
i<br />
i i<br />
À Ri¼1ð1ÞN aÃ ðe þ nÃ þ yi À hw; xii À bÞ<br />
i<br />
i<br />
<br />
ð5Þ<br />
<br />
where L is the Lagrangian and gi , g ai , a are Lagrange multipliers satisfying<br />
Ã<br />
i,<br />
<br />
Ã<br />
i<br />
<br />
gi ; gÃ ; ai ; aÃ ! 0<br />
i<br />
i<br />
So, partial derivatives of L with respect to w, b, ni , nÃ will give the estimates of w and b. The present problem is solved by<br />
i<br />
using LibSVM MATLAB Toolbox.<br />
Support vectors can be easily identiﬁed from the value of difference between Lagrange multipliers (ai , aÃ ). Very small vali<br />
ues (close to zero) indicate the points inside the insensitive hyper-tube but non-zero values belong to support vector group<br />
[23]. The w can be calculated by [21]<br />
<br />
w ¼ Ri¼1ð1ÞN ðai À aÃ ÞUðxi Þ<br />
i<br />
<br />
ð6Þ<br />
<br />
The idea of kernel function Kðxi ; xÞ gives a way of addressing the curse of dimensionality [20]. It helps to enable the operations to be performed in the feature space rather than potentially high dimensional input space. A number of kernel functions satisfying Mercer’s condition were suggested by researchers [23,24]. Each of these functions has its own specialized<br />
applicability. Gaussian radial basis function with r standard deviation (given in Eq. (7)) is commonly used for its better<br />
potentiality to handle higher dimensional input space.<br />
<br />
Kðxi ; xÞ ¼ expðÀjjxi À xjj2 =2r2 Þ<br />
<br />
ð7Þ<br />
<br />
Thus the ﬁnal model with optimum choice of C, e and r may be presented as [21]<br />
<br />
f ðxÞ ¼ Ri¼1ð1ÞN ðai À aÃ ÞKðxi ; xÞ þ b<br />
i<br />
<br />
<br />
C<br />
optimum<br />
<br />
eoptimum<br />
<br />
r<br />
<br />
ð8Þ<br />
<br />
optimum<br />
<br />
3. Particle swarm optimization (PSO)<br />
Particle swarm optimization (PSO) technique is one of the most advanced evolutionary computational intelligence based<br />
optimization methodologies for optimizing real world multimodal problems. PSO mimics natural behavior found in ﬂock of<br />
birds or school of ﬁsh seeking their best food sources [25]. In this population based swarm intelligence technique a set of<br />
randomly initialized particles (swarm) are always updated in position and velocity by gathering information from themselves. Effect of each particle as well as the whole swarm’s experience modiﬁes position of the population forwarding to optimum zone. Rate of convergence is purposefully controlled by different factors. Position of global optimum is not affected by<br />
the choice of these factors, but convergence is delayed due to improper choice or may lead to entrapping in local optima. For<br />
multi variable problem in high dimensional space, time and memory space needed for reaching optimum solution by PSO is<br />
very important.<br />
Number of particles (n) in swarm should be within the range (10, 40) [26]. Lower choice may not gather information from<br />
whole space but higher value of n will take longer time to converge in optimum zone.<br />
Inertia factor (x) controls the effect of previous velocity of individual particle on current velocity. To modify the rate of<br />
convergence another control on simulation was done by introducing constriction factor (W) [27]. This term bounds the<br />
velocity effect of particle on their position avoiding clamping of particles to one end of search space [28]. So, higher values<br />
of inertia and constriction factor ensure wide searching which is necessary at initial stage but gradual convergence is enhanced at moderately lower value.<br />
Another two important factors are cognitive acceleration coefﬁcient (c1) and social acceleration coefﬁcient (c2) which<br />
greatly control the inﬂuence of individual’s and whole swarm’s experience respectively on particle’s new velocity. Inﬂuence<br />
of particle’s individual best (pibest of ith particle) experience favors good exploration in the search space but swarm’s best<br />
position (gbest) always guide to converge near optimum zone. So, choice of these factors becomes important for converging<br />
to global optimum zone quickly avoiding premature entrapping in local optima.<br />
Several researchers use different values of these control factors for their different type of problem deﬁnitions. However, in<br />
general for most of the cases nearly a same range is suggested irrespective of the nature of problem [29]. Shi and Eberhart<br />
[30] suggested linearly decreasing inertia factor from 0.9 to 0.4. Cognitive acceleration coefﬁcient should vary linearly with<br />
iterations from 2.5 to 0.5 while the variation of social acceleration coefﬁcient would occur just in reverse order [31]. Since<br />
constriction factor directly control the optimization time, it may be considered as linearly time varying from 0.9 to 0.4.<br />
<br />

ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

Thêm tài liệu vào bộ sưu tập có sẵn:

Báo xấu

YOMEDIA

TRỢ GIÚP

HỖ TRỢ KHÁCH HÀNG

**Chịu trách nhiệm nội dung:**

Nguyễn Công Hà - Giám đốc Công ty TNHH TÀI LIỆU TRỰC TUYẾN VI NA

**LIÊN HỆ**

Địa chỉ: P402, 54A Nơ Trang Long, Phường 14, Q.Bình Thạnh, TP.HCM

Hotline: 093 303 0098

Email: support@tailieu.vn