Application ANN for Turning Operations (1)
Application ANN for Turning Operations (1)
net/publication/257775391
CITATIONS READS
66 1,354
3 authors:
Hossein Amirabadi
University of Neyshabur
35 PUBLICATIONS 508 CITATIONS
SEE PROFILE
All content following this page was uploaded by Farshid Jafarian on 31 May 2014.
(Manuscript Received June 18, 2011; Revised March 26, 2012; Accepted January 12, 2013)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Abstract
Our goal is to propose a useful and effective method to determine optimal machining parameters in order to minimize surface rough-
ness, resultant cutting forces and maximize tool life in the turning process. At first, three separate neural networks were used to estimate
outputs of the process by varying input machining parameters. Then, these networks were used as optimization objective functions.
Moreover, the proposed algorithm, namely, GA and PSO were utilized to optimize each of the outputs, while the other outputs would
also be kept in the suitable range. The obtained results showed that by using trained neural networks with genetic algorithms as optimiza-
tion objective functions, a powerful model would be obtained with high accuracy to analyze the effect of each parameter on the output(s)
and optimally estimate machining conditions to reach minimum machining outputs.
Keywords: Neural network (ANN); Surface roughness; Genetic algorithm (GA); Cutting forces; Particle swarm optimization (PSO); Tool life
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
3. Overview of population-based algorithms where W is the inertial weight, Vnew is the particle velocity, Xcs
3.1 Genetic algorithm is the current particle (solution) of each particle, Ppb and Pgb
are pbest and gbest respectively, r is a random number between
The principle of natural evolution is the main idea of evolu- (0, 1) and C1, C2 are learning factors. Particle velocities on
tionary algorithms (EAs). According to evolution theory, par- each dimension are clamped to a maximum velocity Vmax. If
ticles of population evolve themselves to obtain more adapta- the sum of old velocity and impact of particles recorded ex-
tion with their environment. Therefore, the particles that can periences (see Eq. (1)) would cause the velocity on that di-
adapt themselves have a greater chance to survive. Such algo- mension to exceed (Vmax is a parameter specified by the user),
rithms are stochastic optimization techniques; in these tech- the velocity on that dimension will be limited to Vmax. In Fig. 2,
niques, information of each generation is transferred to the typical movement of one particle in solution space is shown.
next generation by chromosomes. Each chromosome consists To improve the performance of the basic PSO one of the
of some genes, and each of the genes illustrates a special fea- most powerful versions is presented in Ref. [19]. In this ver-
ture or behavior [17]. sion of PSO, the updating step of velocity is changed in com-
Genetic algorithm (GA) is one of the most well known evo- parison with basic PSO. To do this, a constant coefficient is
lutionary algorithms. In GA's process, first of all, an initial utilized instead of inertial weight and learning factors are re-
population is created based on the requirement of problem and placed by two random values [20]. In this approach, the updat-
after that, the objective function is evaluated in order to ing step is calculated by the following equations:
achieve the best solution. Off springs are also created from
parents in the reproduction step. In this step, some actions Vnew = χ × (Vold + ϕ1 × ( Ppb − X cs ) +
happen such as crossover and mutation. Consequently, the (3)
ϕ2 × ( Pgb − X cs ))
best solution is obtained during predetermined iterations.
Wnew = Wold + Wnew (4)
3.2 Particle swarm optimization (PSO) with constraint coef- ϕ > 4
ficient 2k (5)
χ =
PSO simulates the behavior of bird populations. In PSO,
ϕ − 2 + ϕ 2 − 4ϕ
each single solution is a ‘‘bird’’ in the search space and it’s
called a ‘‘particle’’. For all of the “p” particles, a fitness value where ϕ1 and ϕ2 are random numbers uniformly distrib-
is evaluated by the fitness function to be optimized. The p parti- uted in the range (0, ϕ2 ), and χ is the constant coefficient.
cles are ‘‘flown’’ through the problem space by following the
current optimum p particles. PSO is initialized with random p
4. Overview of artificial neural network (ANN)
particles (solutions) and then searches for optimization by up-
dating generations. In each iteration, each p particle is updated ANNs simulate the simplified model of human brain appli-
by following two ‘‘best’’ values. The first one that is obtained cation. Learning ability is the most important characteristic of
so far by any particle is called "personal best (pbest)". Another the human brain. Therefore, artificial intelligence engineers try
‘‘best’’ value is the best value among all personal bests and all to build a useful tool or software that can use experiences in
iterations. This best value is a global best which is called "gbest". features and can give the best decision in special conditions.
After finding the two best values, the particle updates its veloc- In general, ANNs based on the learning algorithm are di-
ity and positions based on Eqs. (1) and (2) [18]: vided into two major groups: supervised and unsupervised
learning. In supervised learning, the input and desired output
Vnew = W ×Vold + C1 × r ×( Ppb − X cs ) + are available as learning or pattern data and ANN is trained by
(1) using them. In unsupervised learning target, outputs are not
C2 × r × ( Pgb − X cs )
available and the network can only cluster input data, and
1472 F. Jafarian et al. / Journal of Mechanical Science and Technology 27 (5) (2013) 1469~1477
S1 = W1 ×[ I ] + b1 (8)
S 2 = log sig ( S1 ) (9)
Z1 = W2 × S 2 + b2 (10) Fig. 6. Flowchart of the proposed method for optimization of machin-
Z 2 = log sig ( Z1 ) (11) ing outputs.
Table 1. Utilized experimental data which are presented in Ref. [16]. Table 2. Mean error value obtained by trained ANN by GA, FFBPNN
and CFBPNN.
Vc f d Ra F T.L
(m/mm) (mm/rev) (mm) (µm) (N) (s) GA FFBPNN CFBPNN
135 0.08 0.6 1.24 263.0 2645 Trained Mean error Mean error Mean error
ANN (%) (%) (%)
135 0.20 0.6 5.34 403.0 2379
135 0.32 0.6 9.49 550.0 2233 Train Test Train Test Train Test
135 0.08 1.1 1.68 454.0 2604 (F) 2.98 4.36 3.81 4.06 11.13 5.08
135 0.20 1.1 1.92 704.0 2060 (T.L) 6.75 5.17 12.19 9.7 11.25 22.88
135 0.32 1.1 4.06 889.0 1870 (Ra) 2.49 6.72 13.96 27.05 17.61 30.14
Table 3. Estimating optimum value of machining process using GA Table 4. Estimating optimum value of machining process using PSO
without constraint. without constraint.
Machining Input machining parameters Optimum Machining Input machining parameters Optimum
output d (mm) f (mm/rev) Vc (m/min) value output d (mm) f (mm/rev) Vc (m/min) value
(Ra) 1.1601 0.089 278.68 0.447 (Ra) 1.192 0.086 268.31 0.4539
(F) 0.60 0.08 262.670 201.282 (F) 0.60 0.080 250.16 201.7742
(T.L) 0.701 0.081 135 2666.6 (T.L) 0.64 0.085 135.03 2665.032
7.2 Optimization of machining outputs Fig. 10. Convergence curve of cutting forces (F) using PSO.
Table 5. Obtained optimum values for machining process outputs specified output, while other outputs were kept in the desired
using GA (by employing constraint). range (see Tables 5 and 6).
Input parameters Finally, we hope that the proposed novel intelligent method
Opt in this research can be employed by other branches of manu-
Output Vc f d Lim1 Lim2
value
m/min mm/rev mm facturing processes instead of other conventional methods.
Rough- T.L
--------- ------ ------ F (N) ---------
ness (s)
Nomenclature------------------------------------------------------------------------
156.82 0.08 0.6 280 2100 1.34
Ra(µm) 206.94 0.10 1.097 600 1200 0.897 Ra : Surface roughness
235.20 0.08 1.048 800 900 0.63
T.L : Tool life
F : Resultants cutting forces
Forces --------- ------ ------ Ra (µm) T.L (s) ---------
Vc : Cutting speed
166.54 0.08 0.6 2200 1.5 235.437
f : Feed rate
F(N) 253.58 0.08 1.034 1000 0.8 332.788 d : Depth of cut
262.87 0.08 1.062 700 0.6 343.739 PSO : Particle swarm optimization
Tool life --------- ------ ------ Ra (µm) F (N) --------- GA : Genetic algorithm
236.21 0.08 1.416 0.85 450 1098.03 ANN : Artificial neural network
T.L(s) 149.07 0.08 0.6 1.5 250 2457.12 Lim : Limitation
228.69 0.08 1.048 0.9 350 1194.58 Opt : Optimum
FFBPNN : Feed forward back propagation neural network
Table 6. Obtained optimum values for machining process outputs CFBPNN : Cascade forward back propagation neural net-
using PSO (by employing constraint). work
Input parameters
Opt References
Output Vc f d Lim1 Lim2
value
m/min mm/rev mm [1] T. Childs, K. Maekawa, T. Obikawa and Y. Yamane, metal
Rough- T.L cutting theory and application, New York, USA (2000).
--------- ------ ------ F (N) ---------
ness (s) [2] A. Javidi, U. Riegger and W. Eichlseder, The effect of ma-
156.82 0.08 0.6 280 2100 1.34 chining on the surface integrity and fatigue life, Interna-
Ra(µm) 159.34 0.08 1.128 600 1200 0.903 tional journal of Fatigue, 30 (2008) 2050-2055.
170.15 0.11 1.116 800 900 0.67 [3] D. I. Lalwani, N. K. Mehta and P. K. Jain, Experimental
Force --------- ------ ------ Ra (µm) T.L (s) --------- investigations of cutting parameters influence on cutting
forces and surface roughness in finish hard turning of
165.94 0.08 0.6 1.5 2200 235.697
MDN250 steel, Journal of Materials Processing Technology,
F(N) 251.91 0.08 1.034 0.8 1000 333.561
206 (2008) 167-179.
284.06 0.08 1.0318 0.6 700 340.600
[4] I. Mukherjee and P. K. Ray, A review optimizations tech-
Tool life --------- ------ ------ Ra (µm) F (N) --------- niques in metal cutting processes, Computers & Industrial
235 0.08 1.0307 0.85 450 1136.27 Engineering, 50 (2006) 15-34.
T.L(s) 149.07 0.08 0.6 1.5 250 2457.18 [5] C. X. J. Feng and X. Wang, Development of empirical mod-
235.77 0.08 1.031 0.9 350 1129.13 els for surface roughness prediction in finish turning, inter-
national journal of Advanced Manufacturing Technology, 20
(2002) 348-356.
rithms. Comparison between predicted results of the men- [6] A. M. Zain, H. Haron and S. Sharif, Prediction of surface
tioned method by other NNs which were trained by conven- roughness in the end milling machining using artificial neu-
tional methods (FFBPNN and CFBPNN which use back ral network, journal of Expert Systems with Applications, 37
propagation method) showed that the proposed method is (2010) 1755-1768.
more suitable than other implemented methods and can be [7] V. S. Sharma, S. Dhiman, R. Sehgal and S. K. Sharma, Es-
properly utilized for predicting outputs of the turning process timation of cutting forces and surface roughness for hard
(see Table 2). Also, functions implemented by ANNs were turning using neural networks, Journal of Intelligent Manu-
employed as objective functions of evolutionary algorithms facturing, 19 (2008) 473-483.
(GA and PSO) to determine suitable input parameters (includ- [8] A. M. Zain, H. Haron and S. Sharif, Application of GA to
ing cutting speed, depth of cut and feed rate) for optimizing optimize cutting conditions for minimizing surface rough-
outputs of the process. In this regard, in addition to optimizing ness in end milling machining process, Expert Systems with
each of the aforementioned outputs separately (see Tables 3 Applications, 37 (2010) 4650-4659.
and 4), a new method was implemented for optimizing one [9] Y. Jiao, S. Lei, Z. J. Pei and E. S. Lee, Fuzzy adaptive net-
F. Jafarian et al. / Journal of Mechanical Science and Technology 27 (5) (2013) 1469~1477 1477
works in machining process modeling: surface roughness [21] Ch. M. Bishop, Pattern recognition and machine learning,
prediction for turning operations, International Journal of Springer, USA (2006).
Machine Tools & Manufacture, 44 (2004) 1643-1651. [22] M. Taghipour, A. R. Moradi and M. Yazdani-Asrami, Iden-
[10] T. Ozel, Y. Karpat, L. Figueira and J. P. Davim, Modeling tification of magnetizing inrush current in power transform-
of surface finish and tool flank wear in turning of AISI D2 ers using GSA trained ANN for educational purposes, IEEE
steel with ceramic wiper inserts, Journal of Materials Proc- Conference on Open Systems (ICOS), Kuala Lumpur, Ma-
essing Technology, 189 (2007) 192-198. laysia (2010) 23-27.
[11] I. N. Tansel, B. Ozcelik, W. Y. Bao, P. Chen, D. Rincon, S.
Y. Yang and A. Yenilmez, Selection of optimal cutting con-
ditions by using GONNS, International Journal of Machine Farshid Jafarian received his B.Sc. in
Tools & Manufacture, 46 (2006) 26-35. Manufacturing Engineering from Azad
[12] I. N. Tansel, S. Gulmez, M. Demetgul and S. Aykut, Ta- University of Najafabad, Iran, and his
guchi Method-GONNS integration: Complete procedure M.Sc. degree in Manufacturing Engi-
covering from experimental design to complex optimization, neering from University of Birjand,
Expert Systems with Applications, 38 (2011) 4780-4789. Birjand, Iran. He is pursuing the Ph.D.
[13] D. Mandal, S. K. Pal and P. Saha, Modeling of electrical in Manufacturing Engineering at Uni-
discharge machining process using back propagation neural versity of Birjand, Birjand, Iran. His
network and multi-objective optimization using non- research interests include: traditional and nontraditional ma-
dominating sorting genetic algorithm-II, Journal of Materi- chining processes, surface integrity of machined workpiece,
als Processing Technology, 186 (2007) 154-162. FE simulation of machining process and application of intelli-
[14] T. Ozel and A. Nadgir, Prediction of flank wear by using gent methods at the machining processes.
back propagation neural network modeling when cutting
hardened H-13 steel with chamfered and honed CBN tools, Mehran Taghipour-Gorjikolaie re-
International Journal of Machine Tools & Manufacture, 42 ceived his B.Sc. in Electrical Engineer-
(2002) 287-297. ing from University of Mazandaran,
[15] A. Ebrahimi and M. M. Moshksar, Evaluation of ma- Babol, Iran in 2008, and his M.Sc. de-
chinability in turning of micro-alloyed and quenched- gree in Electrical Engineering from
tempered steels: Tool wear, statistical analysis, chip mor- University of Birjand, Birjand, Iran in
phology, journal of materials processing technology, 209 2011. He is pursuing the Ph.D. in Elec-
(2009) 910-921. trical Engineering at University of Bir-
[16] B. Y. Lee and Y. S. Tarng, Cutting-parameter selection for jand, Birjand, Iran. His research interests include machine
maximization production rate or minimizing production cost learning, pattern recognition and artificial intelligence, design
in multistage turning operations, journal of materials proc- of fault detection systems and modeling and simulation of
essing technology, 105 (2000) 61-66. electrical machines.
[17] C. H. Antunes, D. F. Pires, C. Barrico, Á. Gomes and A. G.
Martins, A multi-objective evolutionary algorithm for reac- Hossein Amirabadi received his B.Sc.
tive power compensation in distribution networks, Applied in Mechanical Engineering (Solid
Energy, 86 (2009) 977-984. Mechanics) from Ferdowsi University,
[18] J. Kennedy and R. C. Eberhart, Particle swarm optimization, Mashhad, Iran in 1998, and his M.Sc. in
In Proc. IEEE International Conference on Neural Networks Manufacturing Engineering from IUT
IV (1995) 1942-1948. University, Isfahan, Iran in 2002. He
[19] M. Clerc and J. Kennedy, The particle swarm-explosion, received his Ph.D. in Manufacturing
stability, and convergence in a multidimensional complex Engineering from University of
space, IEEE Transaction on Evolutionary Computation, 6 Mazandaran, Babol, Iran in 2006. After that he joined the
(2002) 58-73. University of Birjand as an Assistant Professor. His research
[20] S. H. Zahiri, Swarm intelligence and fuzzy systems, Nova interests include Machine tools, Metal Cutting, Machining
Publisher, USA (2010). Simulation, surface Finishing, Metrology and CAD/CAM.