Multi Objective Optimization of End Milling Parameters Using Firefly and Particle Swarm Algorithm
Multi Objective Optimization of End Milling Parameters Using Firefly and Particle Swarm Algorithm
Multi Objective Optimization of End Milling Parameters Using Firefly and Particle Swarm Algorithm
algorithm.
Abstract
Al/SiC metal matrix composites are non homogeneous and hence while end milling of these
composites, prediction of vibration amplitude is challenging. Proper selection of input parameter
may suppress vibration amplitude which in turn increases tool life and surface finish. In this
study main objective is to optimize machining and geometrical parameters for minimum
vibration using recently developed firefly algorithm and compare the results by particle swarm
algorithm. End milling operations are carried out on Al/SiC metal matrix composites using L27
orthogonal design and vibration at two positions (spindle and work piece holder) are measured
using twin channel piezoelectric accelerometer. Two polynomial regression equations
established between six input and two output variables. Minimizing these two values are two
objectives of optimization algorithms used in this study namely firefly and PSO and constraints
are minimum and maximum values of each controllable input parameters. Confirmation
experiments are conducted using optimized values exhibit that both the methods are suitable for
machining parameter optimization for minimum vibration in spindle as well as work piece
holder.
1. Introduction
End milling operation is versatile and efficient metal cutting operation. Hence it is widely used in
aerospace and automobile industries for producing any complex geometrical shapes. In end
milling process the interaction between cutter and work piece is continuously changing, and
hence subjected to varying impact load and cutting force. This makes milling process prone to
vibration and chatter. Chatter is self exited vibration which derives energy to start and grow from
the interaction between cutting tool and work piece. This type of vibration makes the cutting
system instable and it is undesirable. Chatter leads to poor surface quality, uneven tool wear and
reduced material removal rate. To enhance performance of machining process, controlling
vibration is one of the important factors.
Now a days aluminum silicon carbide metal matrix composites are replacing aluminum alloy in
aircraft and automobile industries due to its superior mechanical properties. Metal matrix
composites are non homogeneous in nature due to the presence of reinforcement. When the
cutting tool hit these small perturbations the relative vibration between cutting tool and work
piece increased and it leads to regenerative chatter. Regenerative chatter is the most common
form of chatter occurs while machining metal matrix composites. Proper selection of input
parameters may reduce chatter vibration. Researchers used design of experiments, ANOVA, grey
analysis etc to analyze, predict optimal input parameters for minimum vibration during end
milling operation. (1-5).In recent years for machining parameter optimization several
evolutionary algorithms were used to optimize the input parameters in order to improve the
quality and efficiency of machining.
Several investigations were carried out to optimize machining parameters using different
evolutionary algorithms on different machines with single or multi objectives such as minimize
roughness, tool wear, cutting force , vibration ,machining time etc or maximize metal removal
rate ,cost etc. The Literature survey related to the work of other researchers is given below.
Z.G.Wang (6) optimized milling parameters such as feed rate and speed using GA and hybrid of
GA and SA (GSA) algorithm with the objective of minimizing production time of a component
and concluded that GSA gave better results compared with GA and GP.Saravanan (7) conduct
experiments on turning machine to produce finished product from cylindrical block with cutting
speed, feed and depth of cut as input variables to be optimized. Objective function used is to
minimize production cost and constraints are cutting force, power and tool tip temperature. The
author used six different optimization techniques such as GA,SA, AC, TS,MA and PSO and
conclude that the performance of PSO good compared with other methods.Yanming (8) conduct
experiments on milling machine to optimize machining parameters with the objective of
minimizing machining time and maximizing production rate using modified genetic algorithm
(MGA) and proved that the convergence rate is faster than that of GA.Uros (9) developed cutting
force model using an adaptive neuro-fuzzy inference system based on design of experiments and
then using TLBO algorithm and optimized cutting parameters with an objective of maximizing
cutting force surface area in milling with different constraints and verified the effectiveness of
this algorithm. Palanisamy (10) employed artificial neural network technique to predict the
chatter vibration while milling AISI 1020 steel. The occurrence of chatter vibration for a
particular combination of machining parameter was predicted using a stability lobe diagram and
dynamic stability were analyzed using Nyquist criterion. Palanisamy (11) conducted end milling
operations on mild steel using HSS cutter with the objective of minimizing machining time with
tool life, surface roughness, vibration, cutting force as constraints to optimize the machining
parameter. The author used GA and concludes that the optimized parameters obtained improved
surface finish and efficiency of machining. Babur (12) conduct experiments on Inconel718 to
optimize end milling parameters for minimum surface roughness by integrating neural network
and GA and concluded that GA when coupled with neural network give better results. Recently
firefly algorithm is used by scientists for optimizing complex non linear problem.Bharathi(13)
optimized electrical discharge machining parameters such as current and pulse on time on
hardened die steel using firefly algorithm and studied the effect on surface roughness and
machining time and conclude that FA is more suitable for machining parameter
optimization.Rajkamal (14) applied FA to improve performance of electrical discharge
machining(EDM) and abrasive water jet machining(AWJM).The author conclude that in EDM
metal removal rate , finish increased and AWJM kerf and roughness decreased by using FA
compared with other methods. Dilip kumar (15) applied FA to design shell and tube heat
exchanger with the objective of reducing total cost and compared the results with other non
traditional methods such as GA, PSO, ABC, BBO and CSA and proved that present method is
the most effective method of design optimization of shell and tube heat exchanger. Basker (16)
optimize the machining parameter in milling operation with the objective of maximizing the
profit using different non conventional methods such as GA, CACO, TS and PSO and suggest to
use PSO for optimizing milling parameters.Norfadzlan (17) reviewed the application of PSO for
machining parameter optimization from 2007-2011 and conclude that most machining processes
considered in PSO are Multipass turning followed by end milling. The author also concludes that
the most machining performance measured was different costs followed by surface roughness
and machining time. From the above literature it was concluded that most of the researchers used
GA and PSO to optimize machining parameters of conventional and non conventional machines.
Most of the research work was conducted to improve surface quality, machining time and cost.
Researchers mostly used conventional optimization methods to minimize vibration in end
milling operation. End milling is commonly used machining process and the end mill cuter
geometry is also complex in nature. While end milling non homogeneous materials such as metal
matrix composite the chatter vibration is unpredictable and difficult to control. Some efficient
technique should be implemented to optimize both machining and geometrical parameters to
reduce vibration in both axial and feed direction.
In this study machining and geometrical parameters of end milling operation are optimized
with multi objective of reducing acceleration amplitude in both feed and axial direction. In this
Al/SiC metal matrix composite is prepared using stir casting route. Experiments are conducted
0n prepared composite material using CNC vertical machining centre with high speed end mill
cutter. L 27 Tauguchi orthogonal design is used to conduct experiments with. Helix angle (α),
Nose radius (R), Rake angle (γ), Cutting speed (N), Feed (F), Depth of cut (Y) as input
independent variable and acceleration amplitude measured at two positions (Spindle and work
piece holder) using piezoelectric accelerometer as output performance measure. Two polynomial
regression equations are generated using Minitab software relating input and output variables.
Optimization is done by using two most powerful nontraditional optimization techniques FA and
PSO.The multiple objectives for both the optimization methods are the generated two
polynomial equations. Constraints are selected minimum and maximum values of machining and
geometrical parameters.
2. Experimental Procedure
Work piece material used for experimental work is Al 356+5% SiC metal matrix composite. The
required work piece material is prepared by most commonly used stir casting method as in this
method the distribution of SiC particles are more uniform compared with other methods. The
Prepared composite material is sized into 50mm x 50mm x 50mm cube. Tool material selected
for experimental work is 12mm diameter high speed steel end mill cutter with four flutes.
27 experiments are conducted on CNC vertical machining center with six input parameters at
three levels based on Taghuchi orthogonal design. The range and the level of machining
parameters are selected based on literature as well as by conducting pilot experiments. The six
input independent variables selected in this problem are helix angle, nose radius, and rake angle,
cutting speed, feed and depth of cut. The two performance measures, acceleration amplitude in
spindle (channel-I ) and in work piece holder (channel-II) are measured for all 27 experiments.
The level and the range of input parameters are shown in table1.
levels
Units
Parameter 1 2 3
Helix angle (α) 0
40 45 50
Nose radius (R) mm 0.4 0.8 1.2
Rake angle (γ) 0
8 12 16
Cutting speed (N) m/min 30 60 90
Feed rate (F) mm/rev 0.03 0.04 0.05
Depth of cut (Y) mm 0.5 1 1.5
End milling operation is subjected to two types of chatter primary and regenerative chatter.
Former ocuurs due to friction between tool and the work piece which is easily controlled. The
regenerative chatter is the common type of self exited vibration which is uncontrollable. In this
the cutting tool vibration generates wavy surface which is regenerated on the work piece. This
regenerative chatter is particularly more in the case of machining non homogeneous work piece
materials for example composites.
In this work vibration in terms of acceleration amplitude is measured at two places using twin
channel piezoelectric accelerometer. One terminal is connected to spindle holder (channel-I)
another terminal is connected to work piece holder (channel-II).The data acquisition system used
is FFT analyzer which uses lab view software. From the captured images peak values are noted
down and are tabulated in table2 .steps involved in experimental procedure is explained in fig1.
(a) (b)
Figure 1. Experimental set up – (a) accelerometer (b) Data acquisition system to acquire
vibration signals
Output performance
Input process and Geometrical parameters measures
Second order polynomial regression equation relating six input variables such as helix angle,
nose radius, rake angle, cutting speed, feed and depth of cut. and two output performance
measures as vibration at channel-I and channel-II are generated using MINITAB software.
Minimize the value of these two equations are multi objectives in the present problem. These two
equations are shown in equation (1) and (2)
0.5884N2+0.9883F2-0.6333Y2-0.5930αF+1.4974αY+1.9301RF-
2.5 Constraints
The maximum and minimum levels of six input independent variables are taken as constraints
for the optimization problem. Helix angle (α), Nose radius (R), Rake angle (γ), Cutting speed
(N), Feed (F), Depth of cut (Y).The above end milling parameters are optimized with following
six constraints.
3. Methodology
Fire fly algorithm (FA) is recent swarm intelligence based algorithm developed by Yang (18) in
2008 and is meta heuristic nature-inspired algorithm. Fireflies are one of the families of insects
which are nature’s gift whose behavior differs from other creature. Fireflies emit cold light
flashes with unique pattern from their bodies. This process of producing light from living things
due to chemical reaction is called bioluminescence. Two functions of such flashes are to
communicate with matting partners and to attract potential prey. Fireflies are unisex so that one
firefly will be attracted by other fireflies regardless of their sex.Becasuse of absorption of light
by air, the intensity of light decreases as distance increases. This phenomenon of light intensity
with respect to distance is associated with the objective function to be moved towards better
solution and finally the best solution. This algorithm has been applied in almost all areas of
optimization including continuous, combinational and multi objective optimization in any noisy
environments. In recent years FA is used by the researchers in various fields of engineering such
as industrial optimization,robotics,image processing etc.A comprehensive review of firefly
algorithm by Fister (19) concluded that FA is simple, flexible and versatile and can solve wide
range of real world problems in an efficient way and the convergence rate is very fast compared
with other metaheuristic algorithms such as PSO and GA.In this present study FA is effectively
utilized to optimize machining and geometrical parameters for multiple objectives as, to reduce
vibration amplitude in axial and feed direction while end milling of prepared MMC..Steps
involved in the firefly algorithm are summarized as follows.
1. Firefly position is initialized randomly within the limits of variables of the problem.
2. Controlling factors of the FA algorithm such as randomness factor (α), Randomness reduction
factor (β), absorption coefficient (ᵧ) are defined.
6. If the intensity of firefly for current iteration is better than previous result, replace it otherwise
keep the previous solution.
7. Update the result till the iterations reach the maximum limit of generation.
8. The intensity of firefly obtained at the end of last iteration is the optimum best solution for the
given problem.
Application of Firefly algorithm for the optimization of end milling parameters. The following
control parameters are selected based on trial run of the algorithm.
Initialize the input parameters randomly within the limits are done by the following equations
6
rij = 2
X
k 1
ik Xjk (15)
The attractiveness of firefly depends on intensity of light (objective function) which decreases as
= 0e-γr2 (16)
Where 0 is the attractiveness at distance r=0 and is assumed as 1 and γ is absorption coefficient and is
taken as 0 .01.
The relationship for movement of firefly from present position to new position for helix angle is
e calculated using the following equation
Similarly new position for other input variables such as R, γ, N, F and Y are calculated. These
values are substituted in the objective function equation (1) and (2) to get the minimum values of
vibration in channel I and channel II respectively.
PSO algorithm
PSO algorithm is population based stochastic algorithm. The concept behind the PSO as follows
There are group of birds randomly searching for their foods. Food is available at only one place
only. They have no idea where the food is available but they got idea how for it is from their
place. So the strategy they are adopting is simply following the bird which is nearer to the food.
In optimization each bird is represented by a particle in space and is evaluated by objective
function. Each particle moves with velocity and follows the current optimum particle The
optimization procedure is initialized with a population of random solution and updating the
generation till reaches optimum solution. It can able to maintain multiple potential solutions at a
time. Each potential solution is represented by a particle in space. In all the iterations each
particle is updated by two best values. Among the particles the best solution arrived so far is
called particle best pbest. A best solution arrived among the population so far is called global
best gbest.After arriving best values the position and velocities are updated. The steps, evaluate
fitness of each particle, update best values, update position and velocity are repeated until
termination condition is reached. The steps involved in PSO are summarized as follows.
1. Initialize the population of N particles with random position and velocity vector.
2. Calculate the fitness value of each particle, if the fitness value is better than pbest, set the
current fitness value as new pbest.
2. Choose the particle with best pbest value of all particles as gbest.
4.Particle velocity on each dimension is fixed to a maximum velocity V max .If the sum of
acceleration would cause the velocity on that dimension to exceed V max the velocity on that
dimension is limited to V max .
Application of PSO for the optimization of end milling parameters. The following control
parameters are selected based on trial run of the algorithm.
Initialize the input parameters randomly within the limits are done by the equations 9-14.
The above values are substituted in equation (1) and (2) to find the fitness value.
Minimum value of acceleration amplitude obtained in channel I and Channel II for current
iteration is considered as the pbest value for that particular solution only.
Minimum value of acceleration amplitude obtained in channel I and Channel II for entire
iteration executed is considered as the gbest value.
Velocity (V) and position (p) of helix angle (α) is updated using the following equation
V(α) =( w) present(α)+ C1 rand( )(pbest(α) -present (α))+ C2 rand( ) (gbest( α) -present (α) (18)
Similarly velocity and position for other input parameters such as nose radius(R), rake angle (γ),
cutting speed (N), feed (F) and depth of cut(Y) are updated. These values are substituted in the
objective function equation (1) and (2) to get the minimum values of vibration in channel I and
channel II respectively.
End milling operations are carried out on CNC vertical machining centre on Al/SiC metal matrix
composites using high speed steel end mill cutter. L27 Taghuchi orthogonal design is used to
conduct experiments with six input variables and vibration at channel-I is measured as output
performance measure. In this study recently developed firefly algorithm is used to optimize input
variables for minimum vibration. Polynomial regression equation, equation (1) is derived
between six input controllable variable and output performance measure (vibration at channel-I)
Minimize the value of equation (1) with constraints given in equation (3-8) is the objective for
this optimization.MATLAB software is used to do the optimization. The firefly convergence
graph for vibration in channel-I is shown in Figure2. From Figure 2 it is observed that it
converged at 36th iteration and the corresponding minimum value of acceleration is 2.5630
m/sec2.The corresponding optimum input parameters are helix angle (α) 46.030 , nose radius (R)
0.41mm, rake angle (γ) 8.20, cutting speed (N) 32m/min, feed (F) 0.0488mm/rev, and depth of
cut (Y) 0.512mm.
Polynomial regression equation, equation (2) is derived between six input controllable variable
and output performance measure (vibration at channel-II) Minimize the value of equation (2)
with constraints given in equation (3-8) is the objective for this optimization. MATLAB software
is used to to do the optimization. The firefly convergence graph for vibration in channel-II is
st
shown in Figure3. From Figure 3 it is observed that it is converged at 41 iteration and the
corresponding minimum value of acceleration is 0.0785m/sec2.The corresponding optimum input
parameters are helix angle (α) 41.10 , nose radius (R) 0.412mm, rake angle (γ)15.90, cutting
speed (N) 45.4m/min, feed (F) 0.0312mm/rev, and depth of cut (Y) 1.42mm.
The same problem optimized by firefly algorithm is optimized by PSO algorithm in order to
compare the result and performance of both the algorithms. Minimize the value of equation (1)
with constraints given in equation (3-8) is the objective for this optimization also.MATLAB
software is used to do the optimization. The PSO convergence graph for vibration in channel-I is
shown in Figure4. From Figure 4 it is observed that it converged at 18th iteration and the
corresponding minimum value of acceleration is 2.5052m/sec2.The corresponding optimum input
parameters are helix angle (α) 470 , nose radius (R) 0.434mm, rake angle (γ) 8.40, cutting speed
(N) 33m/min, feed (F) 0.049mm/rev, and depth of cut (Y) 0.524mm.
Minimize the value of equation (2) with constraints given in equation (3-8) is the objective for
this optimization also. MATLAB software is used to to do the optimization. The PSO
convergence graph for vibration in channel-II is shown in Figure5. From Figure5. it is observed
nd
that it is converged at 26 iteration and the corresponding minimum value of acceleration is
0.0788m/sec2.The corresponding optimum input parameters are helix angle (α) 41.540, nose
radius (R), 0.415mm, rake angle (γ) 15.860, cutting speed (N) 43.68m/min, feed (F)
0.0342mm/rev, and depth of cut (Y) 1.42mm.
Figure4.PSO convergence graph for vibration at Channel-I
In our study the work piece material used is composite which is non homogeneous. While end
milling such type of materials the regenerative chatter vibration is continuous and non linear. To
optimize such type of problems the performance and convergence of PSO is better compared
with FA. The reasons might be PSO generating completely different random number for entire
iterations compared with FA. The wrong selection of randomness factor in FA also (α) diverts
the problem and trapped into several local optima. FA does not memorize the previous better
solution and so each firefly move regardless of previous better situation randomly. Therefore
convergence is slow compared with PSO. This is proved in our study by comparing the figure
2,3,4 and 5
Conclusion
Following conclusions are arrived from the above multi objective optimization study carried out
using bio inspired optimization methods.
Both firefly and PSO are suitable for multi objective optimization of milling parameters
Convergence rate is better for PSO to minimize vibration at channel –I and channel-II
compared with firefly algorithm. It indicates PSO is most suitable for optimizing milling
parameters effectively for complex problems with noisy atmosphere.
In FA by carefully selecting randomness factor α better results can be obtained.
Minimum value of vibration obtained by both the optimization methods is almost similar.
From the above results obtained it is concluded that both the methods are suitable for
multi objective optimization of milling parameters for reduced vibration. By means of
optimization vibration is reduced considerably compared with experimental results.