SIMULATION APPROACH OF CUTTING TOOL MOVEMENT USING ARTIFICIAL INTELLIGENCE METHOD

Similar documents
ANANT COLONY SYSTEMFOR ROUTING IN PCB HOLES DRILLING PROCESS

Innovative Systems Design and Engineering ISSN (Paper) ISSN (Online) Vol.5, No.1, 2014

DISTANCE EVALUATED SIMULATED KALMAN FILTER FOR COMBINATORIAL OPTIMIZATION PROBLEMS

CNC Machining Path Planning Optimization for Circular Hole Patterns via a Hybrid Ant Colony Optimization Approach

Solving the Traveling Salesman Problem using Reinforced Ant Colony Optimization techniques

The movement of the dimmer firefly i towards the brighter firefly j in terms of the dimmer one s updated location is determined by the following equat

ARTIFICIAL INTELLIGENCE (CSCU9YE ) LECTURE 5: EVOLUTIONARY ALGORITHMS

MSc Robotics and Automation School of Computing, Science and Engineering

Comparison Study of Multiple Traveling Salesmen Problem using Genetic Algorithm

METAHEURISTICS. Introduction. Introduction. Nature of metaheuristics. Local improvement procedure. Example: objective function

ADVANCES in NATURAL and APPLIED SCIENCES

Solving Travelling Salesmen Problem using Ant Colony Optimization Algorithm

Job Shop Scheduling Problem (JSSP) Genetic Algorithms Critical Block and DG distance Neighbourhood Search

Fuzzy Inspired Hybrid Genetic Approach to Optimize Travelling Salesman Problem

CT79 SOFT COMPUTING ALCCS-FEB 2014

Dynamic Robot Path Planning Using Improved Max-Min Ant Colony Optimization

CHAOTIC ANT SYSTEM OPTIMIZATION FOR PATH PLANNING OF THE MOBILE ROBOTS

Using Genetic Algorithm with Triple Crossover to Solve Travelling Salesman Problem

Hybrid of Genetic Algorithm and Continuous Ant Colony Optimization for Optimum Solution

Using Genetic Algorithms to optimize ACS-TSP

Automatic Programming with Ant Colony Optimization

Hybrid Ant Colony Optimization and Cuckoo Search Algorithm for Travelling Salesman Problem

Ant Colony Optimization for dynamic Traveling Salesman Problems

Navigation of Multiple Mobile Robots Using Swarm Intelligence

Reduce Total Distance and Time Using Genetic Algorithm in Traveling Salesman Problem

A new improved ant colony algorithm with levy mutation 1

Solving ISP Problem by Using Genetic Algorithm

Image Edge Detection Using Ant Colony Optimization

An Ant System with Direct Communication for the Capacitated Vehicle Routing Problem

Ant colony optimization with genetic operations

RESEARCH OF COMBINATORIAL OPTIMIZATION PROBLEM BASED ON GENETIC ANT COLONY ALGORITHM

Research Article Path Planning Using a Hybrid Evolutionary Algorithm Based on Tree Structure Encoding

Ant Algorithms. Simulated Ant Colonies for Optimization Problems. Daniel Bauer July 6, 2006

Metaheuristic Development Methodology. Fall 2009 Instructor: Dr. Masoud Yaghini

Open Access Research on Traveling Salesman Problem Based on the Ant Colony Optimization Algorithm and Genetic Algorithm

GENETIC ALGORITHM with Hands-On exercise

LOW AND HIGH LEVEL HYBRIDIZATION OF ANT COLONY SYSTEM AND GENETIC ALGORITHM FOR JOB SCHEDULING IN GRID COMPUTING

Network Routing Protocol using Genetic Algorithms

Hybrid Bee Ant Colony Algorithm for Effective Load Balancing And Job Scheduling In Cloud Computing

Parallel Implementation of Travelling Salesman Problem using Ant Colony Optimization

Khushboo Arora, Samiksha Agarwal, Rohit Tanwar

A Study on the Traveling Salesman Problem using Genetic Algorithms

GENETIC ALGORITHM METHOD FOR COMPUTER AIDED QUALITY CONTROL

Solving a combinatorial problem using a local optimization in ant based system

A Genetic Algorithm Approach to the Group Technology Problem

The Design of Pole Placement With Integral Controllers for Gryphon Robot Using Three Evolutionary Algorithms

Self-learning Mobile Robot Navigation in Unknown Environment Using Evolutionary Learning

Aristoteles University of Thessaloniki, GREECE.

A Meta-heuristic Approach to CVRP Problem: Search Optimization Based on GA and Ant Colony

Kyrre Glette INF3490 Evolvable Hardware Cartesian Genetic Programming

Parallel Implementation of the Max_Min Ant System for the Travelling Salesman Problem on GPU

SWARM INTELLIGENCE -I

GA is the most popular population based heuristic algorithm since it was developed by Holland in 1975 [1]. This algorithm runs faster and requires les

Robot Path Planning Method Based on Improved Genetic Algorithm

CHAPTER 6 HYBRID AI BASED IMAGE CLASSIFICATION TECHNIQUES

Intuitionistic Fuzzy Estimations of the Ant Colony Optimization

Optimization of Makespan and Mean Flow Time for Job Shop Scheduling Problem FT06 Using ACO

Solving the Shortest Path Problem in Vehicle Navigation System by Ant Colony Algorithm

Memory-Based Immigrants for Ant Colony Optimization in Changing Environments

A New Selection Operator - CSM in Genetic Algorithms for Solving the TSP

Relationship between Genetic Algorithms and Ant Colony Optimization Algorithms

Modified Greedy Methodology to Solve Travelling Salesperson Problem Using Ant Colony Optimization and Comfort Factor

Genetic.io. Genetic Algorithms in all their shapes and forms! Genetic.io Make something of your big data

A Steady-State Genetic Algorithm for Traveling Salesman Problem with Pickup and Delivery

Solving Traveling Salesman Problem for Large Spaces using Modified Meta- Optimization Genetic Algorithm

Meta- Heuristic based Optimization Algorithms: A Comparative Study of Genetic Algorithm and Particle Swarm Optimization

Genetic Algorithms and Genetic Programming Lecture 13

Comparative Analysis of Genetic Algorithm Implementations

A heuristic approach to find the global optimum of function

1. Introduction. 2. Motivation and Problem Definition. Volume 8 Issue 2, February Susmita Mohapatra

An Ant Approach to the Flow Shop Problem

An Efficient Analysis for High Dimensional Dataset Using K-Means Hybridization with Ant Colony Optimization Algorithm

Solving Traveling Salesman Problem Using Parallel Genetic. Algorithm and Simulated Annealing

A SURVEY OF COMPARISON BETWEEN VARIOUS META- HEURISTIC TECHNIQUES FOR PATH PLANNING PROBLEM

Immune Optimization Design of Diesel Engine Valve Spring Based on the Artificial Fish Swarm

OptimizationOf Straight Movement 6 Dof Robot Arm With Genetic Algorithm

Encoding Techniques in Genetic Algorithms

Ant Colony Optimization

Genetic Algorithms with Oracle for the Traveling Salesman Problem

Optimal Facility Layout Problem Solution Using Genetic Algorithm

A Real Coded Genetic Algorithm for Data Partitioning and Scheduling in Networks with Arbitrary Processor Release Time

4/22/2014. Genetic Algorithms. Diwakar Yagyasen Department of Computer Science BBDNITM. Introduction

arxiv: v1 [cs.ne] 10 Sep 2017

A NEW HEURISTIC ALGORITHM FOR MULTIPLE TRAVELING SALESMAN PROBLEM

Novel Approach for Image Edge Detection

Heuristic Search Methodologies

Introduction (7.1) Genetic Algorithms (GA) (7.2) Simulated Annealing (SA) (7.3) Random Search (7.4) Downhill Simplex Search (DSS) (7.

[Kaur, 5(8): August 2018] ISSN DOI /zenodo Impact Factor

Modified Order Crossover (OX) Operator

ACCELERATING THE ANT COLONY OPTIMIZATION

International Journal of Digital Application & Contemporary research Website: (Volume 1, Issue 7, February 2013)

Hybrid approach for solving TSP by using DPX Cross-over operator

Using Genetic Algorithms to Solve the Box Stacking Problem

Ant Colony Optimization: The Traveling Salesman Problem

LECTURE 20: SWARM INTELLIGENCE 6 / ANT COLONY OPTIMIZATION 2

PATH PLANNING OF ROBOT IN STATIC ENVIRONMENT USING GENETIC ALGORITHM (GA) TECHNIQUE

Comparison of Genetic Algorithm and Hill Climbing for Shortest Path Optimization Mapping

ABSTRACT I. INTRODUCTION II. METHODS AND MATERIAL

Swarm Intelligence (Ant Colony Optimization)

A Comparative Study on Nature Inspired Algorithms with Firefly Algorithm

Transcription:

Journal of Engineering Science and Technology Special Issue on 4th International Technical Conference 2014, June (2015) 35-44 School of Engineering, Taylor s University SIMULATION APPROACH OF CUTTING TOOL MOVEMENT USING ARTIFICIAL INTELLIGENCE METHOD H. ABDULLAH 1, *, R. RAMLI 1, D. A. WAHAB 1, J. A. QUDEIRI 2 1 Department of Mechanical and Material Engineering, Faculty of Engineering and Built Environment, Universiti Kebangsaan Malaysia, 43600 Bangi, Selangor, Malaysia 2 Advanced Manufacturing Institute, Industrial Engineering Department, College of Engineering, King Saud University- Riyadh, Saudi Arabia *Corresponding Author: haslinaa@uthm.edu.my Abstract In recent years, the productivity of machine tools has been significantly improved by using computer-based CAD/CAM systems for Computer Numerical Control (CNC). Various types of CAM software in the market that provide tool path programming and can be applied for different types of the machining process such as drilling, milling, and turning. However, sometimes the default tool path generated in the CAD/CAM system is not the optimal tool path which produces longer distance and increase the machining time. In this paper, we present cutting tools movement by Genetic Algorithm (GA) and Ant Colony Optimization (ACO) method in generation of shortest tool path. For observation of the performance of both methods, comparisons with conventional method have been carried out. The shortest path of drilling tool path adapts Travelling Salesman Problem (TSP) in determining the distance during machining. The simulation result shows that ACO and GA based tool path optimization is useful to find a lower distance of tool path generation for holes drilling process. Keywords: Genetic Algorithm, Ant Colony Optimization, Tool path, Simulation. 1. Introduction Today, the productivity and efficiency of Computer Numerical Control (CNC) machine has been significantly improved by using Computer Aided Design and Computer Aided Manufacturing (CAD/CAM) programming systems. With computer-based CAD/CAM systems, the generation of the G-code file for each cutting and machining process has become easier compared to manual 35

36 H. Abdullah et al. programming. However, the tool path generated from the CAD/CAM systems is not the guaranteed as optimal tool path and there is possibilities that the tool path distance is longer in order to complete each drilling process. Therefore, optimization of the CNC machine tool path should be done before starting a machining process to ensure the tool path taken will produce the shortest path of cutting tool travel. Realizing on the disadvantage, many researchers are tempted to do research on tool path optimization in order to obtain the optimal cutting tool path. For instance, in printed circuit board (PCB), Ancau optimized the tool path by focusing on tool path length and processing time [1]. The original hybrid heuristic algorithm was presented to solve the Travelling Salesman Problem (TSP). The algorithm adopted the structure of a general optimization procedure and applied for tool path length. Numerical tests were performed to establish the performance of the heuristic hybrid algorithm. Furthermore, due to tool path planning from commercial CAD software was not fully optimized in terms of tool travel distance, Abbas investigated optimal path planning for CNC drilling machine by Ant Colony Optimization (ACO) [2]. The ACO algorithm was applied to solve the TSP for searching shortest distance of the tool path. However, they focused only for products that involved a large number of holes arranged in a rectangular matrix, such as boiler plates, drum, etc. By using Genetic Algorithm (GA) method, Kumar and Pacahauri [3] and Nabeel et al. [4] also used the Traveling Salesman Problem (TSP) to reduced total time and distance of tool travel for drilling sequence. Furthermore, due to the G-code generated through CAD/CAM software cannot be considered as route optimization, similar study by Othman et al. [5] has been carried out on tool path optimization by modelling a binary particle swarm optimization (BPSO) algorithm to search an optimized route in PCB holes drilling. In BPSO, each particle represented as possible route of tool path drilling process. The result of BPSO was compared with others previous study done by Zhu [6] and Zhu [7] which focused on Global Convergence Particle Swarm Optimization (GCPSO) and Particle Swarm Optimization. In this paper, artificial intelligence (AI) methods namely GA and ACO are adapted to determine the optimal tool path and shortest length for drilling process. In addition, comparisons have been done to investigate the method for shorter tool path. Finally, the result of GA and ACO is compared with simulation of conventional CAD/CAM method. 2. Geometrical Model In this study, we used model of PCB which consist of 76 holes as shown in Fig. 1. The model has a dimension of work piece 8 cm 10 cm 2 cm. Each holes with diameter of 0.5 cm and 1.0 cm depth to be drilled. The clearance height is 0.5cm from the work piece. After the drilling of each hole, the tool will rise up from the work piece in z-axis to avoid any contact with the work piece when the tool is moved to the next hole drilling process.

Simulation Approach of Cutting Tool Movement Using Artificial Intelligence.... 37 2.1. Genetic algorithm Fig. 1. Models of a printed circuit board. In the GA method, four steps are taken which are initialization, selection, reproduction and termination. The GA starts with initialization whereby initial populations are generated by randomly creating a path from the points to be drilled. The populations with the lowest cost will be selected as the parent population in selection step. The obective function in our tool path optimization is to minimize the travel distance as shown in Eq. (1): n 2 2 ( x xi) + ( y yi) + zk dn n 1 n = do+ i= 1 = 2 k= 1 f x, y, z) + ( (1) where d 0 is distance from origin to first point, z k is the value of height from the work piece, d n is distance from last point to origin, formulated as: n 2 2 ( x xi) + ( y yi) + zk d 2 = (2) where, x and y are absolute coordinates, and z is the z-axis tool drilling movement at each point. The reproduction is carried out to create new child populations by using crossover and mutation on the parent populations. Figure 2 shows a single-point crossover for six drilling holes. Each hole represents the number of chromosome. Single-point crossover is performed by randomly selecting a crossover point within a chromosome, and then interchanges the two parent chromosomes at the point to produce child population. TSP is applied in order to prevent same chromosome in child population. Hence, the repeated chromosome is swapped among the two populations. Then, mutation is performed to avoid fast convergence of the solution and create the new path to be explored by randomly selecting a few points in the child population. After the reproduction, the convergence of the obective function is checked for stopping criteria and if the criteria are met, GA will undergo termination. However, if the criteria are not met, GA will repeat the selection and reproduction steps until the stopping criteria are to be met. Flow chart of genetic algorithm is illustrated in Fig. 3.

38 H. Abdullah et al. Fig. 2. Single crossover of genetic algorithm. Fig. 3. Flowchart of genetic algorithm.

Simulation Approach of Cutting Tool Movement Using Artificial Intelligence.... 39 2.2. Ant colony optimization In the ACO method, we applied the ant system in the TSP for searching the shortest tool path. Initially, ants are placed on n cities, and it moves from city i to city using a formula called the rule arbitrary probability as follows: ( t) α [ τ i, ( t) ] ηi, ( t) α k τ ( t) η t Ni β [ ] [ ] [ ( t) ] k k Pi = N (3), β i where k N i i, ( t) i, i, = list of nodes, which were not visited by the ant τ = intensity of trail on edge (i,) at time t α = weight of the trail η t = 1/di is called the visibility β i, ( ) = weight of the visibility In this study, the adapted ACO is used to determine the shortest distance of cutting tool movement for holes drilling. Each hole is represented by the cities visited by the salesman in TSP. The fitness function used in ACO method is equivalent with the fitness function of GA as shown in Eq. (1). The flowchart of the process in ACO is shown in Fig. 4. Once all ants completed their own loop, the pheromone will be updated on all the vertices according to the global updating rule as shown in Eq. (4). The maor of this rule is to reward the vertices belongs to the shortest loop. m ( i, ) = ( 1 ρτ ) ( i, ) + = ( i ) 1 τ, τ (4) k k, = 1, 0 h where = evaporation rate = number of ant = quantity of pheromone laid on the edge = length of the tour constructed by ant k (5) 3. Results and Discussions The simulations of tool path generation were performed in MATLAB. The location of holes of PCB is shown in Fig. 5(a). In GA simulation, 250 populations were chosen. The crossover rate and mutation rate was 0.8 and 0.08, respectively. Meanwhile for ACO simulation, the number of ants was 100, and the value of α and β is 3. Figure 5(b) shows the best route obtains by the GA method. The shortest distance obtain is 2580 mm. On the other hand, the best routes obtained by the ACO method are 1019 mm as shown in Fig. 5(c). From the results, the ACO method is produce better result compared to GA in finding the shortest distance of tool path.

40 H. Abdullah et al. Fig. 4. Single crossover of genetic algorithm. In our drilling case, the tool path is classified as TSP in which the hole can only be drilled once by the cutting tool. In ACO method, the shortest path is determined based on the pheromone left by ants. The first ants leave a pheromone trail and the next ants will follow the trail which has stronger pheromones. If the number of ants through the shorter path increases, the effect of the pheromone trail left behind will stronger. Thus, the number of ants must also consider in producing a shorter travel distance. The more ants, the more the solution is formed. In the case of drilling, each ant will be required to form a sequence in drill holes that need to generate the shortest path. Besides that, the value of α and β also give significant role in influencing the decision. While, in GA the parameters involved are number of population, crossover rate and mutation rate. The selection of these parameters should be suitable with the problem. According to Randy and Haupt [8], if a problem which required a large space of solution, it is suggested to choose a set of parameters i.e., number of

Simulation Approach of Cutting Tool Movement Using Artificial Intelligence.... 41 population, crossover rate and mutation rate as 50, 0.6, and 0.001, respectively. However, the number of population should not be less than 30, for arbitrary types of problems. If the population size is small, genetic algorithms will have a slight variation of the possibility to do a crossover and mutation. Meanwhile, if population size is too higher, the genetic algorithms require more time to finding a solution. (a) (b)

42 H. Abdullah et al. (c) Fig. 5. Simulation of tool path in PCB (a) The holes, (b) Tool path by GA, (c) Tool path by ACO Based on our comparison of both GA and ACO simulation, ACO gave better solution compared to GA. We also compared our simulation with commercialize CAD/CAM software. Figure 6 shows an example of tool path generation by commercial CAD/CAM software. Fig. 6. The simulation of tool path using MasterCAM.

Simulation Approach of Cutting Tool Movement Using Artificial Intelligence.... 43 The result of this comparison is shown in Table 1. 4. Conclusions Table 1. Comparison of tool path length. Method Tool path length(mm) GA 2580 ACO 1019 MasterCAM 2883.66 This paper presented a comparison of artificial intelligence (AI) optimization algorithm methods which is ACO and GA. The ACO utilised the process used by ants to search for food source which used pheromone trail deposition/evaporation technique to map their way. On the other hand, the GA is an optimization technique, inspired by the law of biological reproduction and survival of fittest theory. Based on simulation results, it can be ascertained that our optimization method performed better performance compared to the conventional CAD/CAM simulation software in generating tool path. However, these techniques need to be further explored to find their suitability to certain applications. Also, there is a need to combine two or more techniques so that they complement each other and accomplish their respective limitations. As conclusion, our heuristic tool path optimization method provides shorter path compared to commercial tool path simulated by MasterCAM. Acknowledgment The authors are thankful to Ministry of Education Malaysia for supporting this study under grant FRGS/2/2014/TK01/UKM/02/1. References 1. Ancau, M. (2008). The optimization of printed circuit board manufacturing by improving the drilling process productivity. Computer & Industrial Engineering, 55(2), 279-284. 2. Abbas, A.T.; Aly, M.F.; and Hamza, K. (2010). Optimum drilling path planning for a rectangular matrix of holes using ant colony optimization. International Journal of Production Research, 44(19), 5877-8991. 3. Kumar, A.; and Pachauri, P. (2012). Optimization drilling sequence by Genetic Algorithm. International Journal of Scientific and Research Publications, 2(9), 1-7. 4. Nabeel, A.K.; and Abdulrazzaq, H.F. (2014). Tool path optimization of drilling sequence in CNC machine using Genetic Algorithm. Innovative Systems Design and Engineering, 5(1), 15-26. 5. Othman, M.H.; Zainal Abidin, A.F.; Adam, A.; Md Yusof, Z.; Ibrahim, Z.; Mustaza, S.M.; and Yang, L.Y. (2011). A binary Particle Swarm Optimization approach for routing in PCB drilling process. International Conference on Robotic Automation System (ICORAS), 201-206.

44 H. Abdullah et al. 6. Zhu, G.Y. (2006). Drilling path optimization based on Swarm Inteligent Algorithm. Proceeding of the 2006 IEEE International Conference on Robotics and Biomimetics, 193-196. 7. Zhu, G.Y.; and Zhang, W.B. (2008). Drilling path optimization by the Particle Swarm Optimization algorithm with global convergence characteristics. International Journal of Production Research, 46(8), 2299-2311. 8. Randy, L.H.; and Sue, E.H. (2004). Practical genetic algorithms. John Wiley & Sons Inc.