Paper received: 04.09.2008 Paper accepted: 25.09.2008 Machining Process Optimization BY Colony Based Cooperative Search Technique Uroš Župerl* - Franci Čuš University of Maribor, Faculty of Mechanical Engineering Maribor, Slovenia Research of economics of multi-pass machining operations has significant practical importance. Non-traditional optimization techniques such genetic algorithms, neural networks and PSO optimization are increasingly used to solve optimization problems. This paper presents a new multi-objective optimization technique, based on ant colony optimization algorithm (ACO), to optimize the machining parameters in turning processes. Three conflicting objectives, production cost, operation time and cutting quality are simultaneously optimized. An objective function based on maximum profit in operation has been used. The proposed approach uses adaptive neuro-fuzzy inference system (ANFIS) system to represent the manufacturer objective function and an ant colony optimization algorithm (ACO) to obtain the optimal objective value. New evolutionary ACO is explained in detail. Also a comprehensive user-friendly software package has been developed to obtain the optimal cutting parameters using the proposed algorithm. An example has been presented to give a clear picture from the application of the system and its efficiency. The results are compared and analysed using methods of other researchers and handbook recommendations. The results indicate that the proposed ant colony paradigm is effective compared to other techniques carried out by other researchers. © 2008 Journal of Mechanical Engineering. All rights reserved. Keywords: machining, turning, optimization, cutting parameters 0 INTRODUCTION The selection of optimum cutting parameters is a very important issue for every machining process in order to enhance the quality of machining products, to reduce the machining costs and to increase the production rate. Due to machining costs of Numerical Control (NC) machines, there is an economic need to operate NC machines as efficiently as possible in order to obtain the required pay back. In workshop practice, cutting parameters are selected from machining databases or specialized handbooks, but they do not consider economic aspects of machining. The cutting conditions set by such practices are too far from optimum. Therefore, a mathematical approach has received much attention as a method for obtaining optimised machining parameters. For the optimisation of a machining process, either the minimum production time or the maximum profit rate is used as the objective function subject to the constraints. Optimization of cutting parameters is a difficult task [1], where the following aspects are required: knowledge of machining; empirical equations relating the tool life, forces, power, surface finish, etc., to develop realistic constrains; specification of machine tool capabilities; development of an effective optimization criterion; and knowledge of mathematical and numerical optimization techniques. Optimization of machining parameters is complicated when a lot of constraints are included, so it is difficult for the non-deterministic methods to solve this problem. Conventional optimization techniques are useful for specific optimization problems and leaned to find local optimum solution. Consequently, non-traditional techniques were used in the optimization problem. Researchers [2] have done comparative analysis of conventional and non-conventional optimization techniques for CNC turning process. The optimization problem in turning has been solved by genetic Algorithms (GA), Tabu search (TS), simulated annealing (SA) and particle swarm optimisation (PSO) to obtain more accurate results [3]. Milfelner et al. [4] have described the multi objective technique of optimization of cutting conditions for turning process by means of the neural networks and particle swarm optimization (PSO) [5], taking into consideration the technological, economic *Corr. Author's Address: University of Maribor, Faculty of Mechanical Engineering, Smetanova 17, Maribor, Slovenia, uros.zuperl@uni-mb.si and organization limitations. Further genetic GA and simulated annealing techniques have been applied to solve the continuous machining profile problem by [6]. They have shown that GA approach outperforms the simulated annealing based approach. In this paper, a multi-objective optimization method, based on combination of ANFIS and ACO evolutionary algorithms, is proposed to obtain the optimum parameters in turning processes. The advantage with this approach is that it can be used for solving a diverse spectre of complex optimisation problems [7] and [8]. This paper also compares the results of ANFIS-ant colony algorithm with the GA and simulated annealing (SA). The results exhibit the efficiency of the ACO over other methods. 1 THE HYBRID ANFIS-ANTS APPROACH The proposed approach consists of two main steps. Step 1 Step 2 Fig.1. Scheme of the proposed approach First, experimental data are prepared to train and test ANFIS system to represent the objective function (y). Finally, an ACO algorithm is utilized to obtain the optimum objective value. Figure 1 shows the flowchart of the approach. Detail steps for optimization of cutting parameters by ANFIS-ants approach: 1. Entering of input data. 2. Generation of random cutting conditions-initial solutions. 3. Calculation of other values (P; F; MRR; Cp; T; Ra; Tp; y). 4. Preparation of data for training and testing of ANFIS. 5. Use of ANFIS model: The purpose of ANFIS is to predict the manufacturer's value function (y) in case of randomly selected cutting conditions. 6. Training and testing of ANFIS. 7. Optimization process: The cutting conditions where the function (y) has the maximum are the optimum cutting conditions. The extreme of the function (y). Since the function (y) is expressed with ANFIS, it means that the extreme of ANFIS is searched for. 8. Survey of optimum cutting conditions and the variables relevant to them. 9. Graphic representation of results and optimization statistic. 1.1. Machining Model Formulation In CNC machine tools, the finished component is obtained through a number of rough passes and finish passes. The roughing operation is carried out to machine the part to a size that is slightly more than its desired size in preparation for the finish cut. The finish cut is called single-pass contour machining, which is machined along the profile contour. In this paper one roughing stage, and a finished stage are considered to machine the component from the bar stock. The objective of this optimization is to determine the optimum machining parameters including cutting speed, feed rate and depth of cut in order to minimize the production cost (Cp) and to maximize production rate (represented by manufacturing time (Tp)) and cutting quality (Ra). The operation of turning is defined as a multi-objective optimization problem with limitation non-equations and with three conflicting objectives (production rate, operation cost, quality of machining). All the above-mentioned objectives are represented as a function of the cutting speed, feed rate and depth of cutting. 1.1.1 Production rate [9] The production rate is measured as the entire time necessary for the manufacture of a product (Tp). It is the function of the metal removal rate (MRR) and of the tool life (T) [10]; Tp = T + V(1 + T )/MRR + T (1) where Ts, Tc, Ti and V are the tool set-up time, the tool change time, the time during which the tool does not cut and the volume of the removed metal. In some operations the Ts, Tc, Ti and V are constants so that Tp is the function of MRR and T. The metal removal rate is expressed as: MRR = 1000 ■ v • f ■ a 1.1.2 The Cost function [9] (2) The unit production cost, Cp, for turning operations can be divided into three basic cost elements: the tool cost and tool replacement cost (Ct), cutting cost by actual time in cut (Cl) and overhead cost C0, T is tool life. The formula for calculating the above cost is used as given by [9]. Finally, by using the above mathematical manipulations, the unit production cost ($/piece) can be obtained as: Cp = Tp (C,/T + Ci + Co ) 1.1.3 Cutting quality [9] (3) The most important criterion for the assessment of the surface quality is roughness calculated according to: Ra = k vx f *2 a x (4) where xb x2, x3 and k are the constants relevant to a specific tool-workpiece combination. 1.1.4 Cutting condition constraints The practical constraints imposed during the roughing and finishing operations are stated as follows [9]. Parameter bounds. The available range of cutting speed, feed rate and depth of cut are expressed in terms of lower and upper bounds. The bounds on feed rate and depth of cut is setup for the safety of the operator. The parameter bound values and constants are: vmm < v < vmax , fmrn < f < ./max, amin < a < amax . Tool-life constraint. The constraint on the tool life is taken as Tmin < T