15-SE512381-Zhao_TOMEJ Send Orders for Reprints to reprints@benthamscience.ae 892 The Open Mechanical Engineering Journal, 2014, 8, 892-898 1874-155X/14 2014 Bentham Open Open Access Modularized Cutting Tool Selection Expert System Chen Wang1, Wu Zhao,*1, Ling Chen2, Kai Zhang1 and Xin Guo1 1School of Manufacturing Science and Engineering, Sichuan University, Cheng Du 610065. China 2Division of Production and Materials Engineering, Lund University, Lund, 999027, Sweden Abstract: This paper is to present a rule-based cutting tool selecting expert system which has knowledge modules and rule bases. Besides, according to different process targets, the selection progress will apply corresponding constraints and rule modules. The logic of tool selection follows a decision-making procedure as an experienced engineers. The strategy of system is to guide the user through several standard steps: information input; feature recognition; selection of machining method; selection of tool material and type; calculation of process parameter and solving cutting problem. This system also has a modularized structure which allows adding new functions and new modules to expand knowledge base and data base. Modules involves in this system are composed of the user interface, knowledge acquisition facility, explanation facility, the knowledge base module, the inference engine and the database module. Keywords: Tool selection, expert system, modularization, process optimization. 1. INTRODUCTION In mechanical manufacture industry, process planning involves scheduling resources, such as machine tools, work piece, cutting tools, operation sequence, processing parameters and the choice of auxiliary functions [1]. During the last 30 years some process planning expert systems have been developed to select tools and cutting parameters for specific operations. In early stage, process engineers selected adequate cutting parameters with their experience. Obviously, this kind of parameters were selected intuitively considering safety factor. In order to computerize and achieve more accurate cutting process solutions, automation techniques were applied. Then, engineers tried to apply intelligent techniques to optimize of the cutting parameters. Those intelligent techniques includes several optimization methods, such as: genetic algorithms [2] (Cus & Milfelner 2005), neural networks [3] (Abellan, Romeros, Siller, Estrud, & Vila, 2008) and bio-inspired techniques [4] (Zain, A. M., Haron, H., & Sharif, S. 2010). However, these methods provide intrinsic mathematical nonlinear function, hidden in a "black box" giving solutions, on the other hand, it decreases the transparency of process. In the field of manufacturing process planning, expert system involves two steps. First of all, knowledge base system extracts knowledge or experience and then applies fuzzy logic to deduce solutions. As commonly discussed in scientific literature, an online expert system which selecting process information applies fuzzy logic as reasoning mechanism to acquire the knowledge of mechanical engineers [5] (Wong and Hamouda 2003). On the other hand, in order to calculate the cutting parameters and manufacturing route in cutting process, a new computer aided process planning is developed [6] (Vidal, A., Alberti, M., Ciurana, J., & Casadesus, M. 2005). Moreover, in order to acquire optimal process parameters subject to specific precision and surface quality, tool life expectancy and production time sunder different processing conditions, some theoretical and experimental work has been carried out by organizations in several countries [7-9] (Chien&Chou, 2001; Vivanco, Luis, Costa, & Ortiz 2004 and references therein). These expert systems mainly dealt with the geometrical matters and selection of cutting tools [10]. Most of them concentrated on specific components and realize part function. Some expert systems took the component material and geometric features into consideration, however, ignored the selecting process of the cutting tool type and material. The main aim of this research is to help designers and manufacturing planners to select optimal cutting tools and optimum cutting conditions to reduce cost and time, as well as to solve some technical problems in cutting process with the aid of innovation strategy. The proposed modularized muti-objective cutting process expert system implements the following features, such as component feature recognition; selecting tool material; selecting tool type and optimum cutting conditions and innovative design. 2 COMPONENTS OF CPES Expert system use a large number specific domain knowledge of experts to solve problem [11]. And essentially evolves two kind of terms. One type is constructed with specific kinds of programming languages and tools such as rule-based systems, frame-based systems, and programming languages such as Prolog and LISP [12]. Another type is more appropriate for expert system, because expert system can reasons problem as human expert [13]. This paper tries to propose a classical optimization method integrating innovation strategy, and the design of expert system is based Modularized Cutting Tool Selection Expert System The Open Mechanical Engineering Journal, 2014, Volume 8 893 on modularize method. This system also applied theoretical models and semantic method. The proposed expert system involves user interface, inference engine, explanation facility, knowledge acquisition facility, knowledgebase, and working memory and other executable programs. The structure of the proposed expert system is illustrated as Fig. (1). 2.1. Inference Engine The inference engine which manipulates the stored knowledge to reach solutions is one of the basic components of expert system. The inference engine could search knowledge base, and provide answers to user by applying rules to the solution of a particular problem [14]. The scanning process of knowledge will continue until these antecedents match the assertions in database, then user will get the deduced results. Besides, the interpreter provides explanations and can be updated by adding a new separate knowledge base module. 2.2. Modularized Knowledge Base The knowledge of cutting process expert system mainly comes from two sources: experience of domain experts and technical documents [15]. Owning an expandable structure is important for the expansibility of knowledge base, just like domain experts learns new knowledge and applies this knowledge in the future. An independent and modularized knowledge base is proposed, this makes it possible to update the knowledge base by simply input data and editing the knowledge information. The modularized knowledgebase mainly involves factual statements, frames, objects, cases, tables, IF-THEN rules and equations [16]. Knowledge representation technology and rules are the key components of knowledge base. Relevant information about component characteristics and cutting tools in machining process are included in the hierarchy shown as Fig. (2). Elements called ‘objects’ were presented as frames in hierarchy model. The framework consists of a set of slot which contains a description for the attribute of object. Characteristics of the components, cutting tools and machining process are also expressed as objects which can be classes. The objects relation of the expert system is composed together in a hierarchy building. System identify the characteristics of objects and then apply the appropriate rules to perform the task. Rules in each module will deduce a serious of corresponding conclusions according to correlated conditions. This procedure reflects the logic of knowledge base. What we want is a knowledge base with fine structure rather than a huge plant knowledge base which includes all the rules. The relevant knowledge in expert system is represented in the terms of the formal logic. The knowledge base contains a sequence of rules in a modular approach. Thus, expert system can be used in modularized way to adapting to different conditions. The proposed knowledge base here includes rules which can be divided into several modules. In each module, rules will be applied according to the proposed approach. These rules can be split into the modules shown as Table 1. 2.3. Database Database systems mainly involves two main aspects: data and mathematical model [17]. The cutting tool data about Fig. (1). Structure of the proposed system. 894 The Open Mechanical Engineering Journal, 2014, Volume 8 Wang et al. cutting tool materials, machine tools and work piece materials in catalogues are mainly obtained from the several cutting tool manufactures, large factories and handbooks. The recommended data are put into forms in the database. Mathematical model can be used to calculate the cutting parameters based on the database. The database of system consists of several independent groups of data, shown as Table 2, involving materials, cutting tools, tool materials, cutting parameters, processing method and equations, respectively. 3. SYSTEM LOGIC The cutting process expert system run under an interactive operation environment. Users can describe the characteristic of component with the information integrated into the database. In the process of the operating the software, expert system will guide user through these main steps, including: Inputting information, feature recognition, selecting machining process; selecting tool material; selecting tool type; optimizing cutting conditions and solving problems. The scenario of cutting process expert system is shown as Fig. (3). 3.1. Process Information Input and Feature Recognition The detail information about work piece is the foundation of reasoning process. Under the current technical level, characters identified by engineers have more efficient and Fig. (2). Hierarchy tree of system. Table 1. Knowledge modules. No. Module Function I Stability robustness and allowable Gives robustness to the system and presents the rough allowable input cutting parameters. II control of cutting forces Keeping the forces of the system under prescribed upper limit in spite of variations in system parameters. III Drives constraints Covers the spindle and feed drive motors constraints. IV Initial cutting parameter selection Gives initial computational input parameters subjected potential initial spindle speed candidates. V Cost function definition and rules to inference with it A novel multi-objective cost function to evaluate the performance of the system. VI Automatic feedback and monitoring Automatic feedback to the system. VII Expert human machine interface Monitor key parameters to better inter-actuation with expert engineers and operators. Types D rills Twist drill Flat drill Deep hole drill Reaming drill Center drill Hollow drill M ill cutters Face milling cutter Vertical milling Side milling cutter Angle cutter Saw blade milling T cutter E lectrodes Graphite Electrodes T urning tools Boring Threading Ext. Machining Param eters Cutting speed Tool life Metal removalrate M achining type Milling Drilling Turning EDM Working  piece M etals Alloy Steel ALuminum PLastics ... D im ensions Three high Geometrical feature Precision Roughness ... M aterial properties Hardness Toughness Machinability Thermal Properties ... Status Feature Holes Pockets Threading Surface and side machining Slots Tool  material U ltrahard PCBN CBN PCD C eram ics Al2O3 mix Si3N4-sialon C em ented carbide WC-C0 Coated carbides H SS M type T type Coated C erm ets Coated Uncoated Knowledge  base Modularized Cutting Tool Selection Expert System The Open Mechanical Engineering Journal, 2014, Volume 8 895 accurate compare to characters identified by computer programs. The identification of piece involves feature specification and dimensions, which need to be entered to system by user. This system provide standardized typical characteristics for user to select. In this stage, system also offer 3D model with typical geometric features for referring. For example, turning surfaces has some of the following characteristics such as face, diameter, arc, recess, grooving and taper, etc. And these characteristics are also be divided as two groups according to the importance, shown as Fig. (4). 3.3. Selecting Machining Process The above information about work piece enables expert system to select the appropriate cutting process and cutting material. The selection machining method need to consider the these factors such as the type, size and precision, surface finishing, dimensional tolerance of the feature. In this stage, system will select the processing methods including Fig. (4). Feature recognition. Primary features 1-Cylinder 2-Face 3-Taper 4-Concave 5-Convex 6-Chamfer 7-Radius Secondary features 1-Nicked radius 2-Groove 3-Recess 4-Thread 5-Axial recess Fig. (3). The scenario of cutting process expert system. 896 The Open Mechanical Engineering Journal, 2014, Volume 8 Wang et al. traditional processing methods such as drilling, turning, milling, etc. and special working technology such as Laser, EDM, etc. The relationship between the aspect ratio and the machining type is shown as Fig. (5). Taking the typical surface finishing process for example, once the feature of curved surface is identified and the parameter is defined, then the system will make judgment. Fig. (5). Corresponding processing method to features. 3.4. Selecting the Cutting Tool The tool selection is the progress of information determination about tool holder, insert, cutting conditions, and coolant. Cutting tools are mainly composed of two parts: tool holder and indexable insert. The selecting sequence is first to select tool holder and then suiting insert. System offer two approaches for selecting cutting tools, manual searching based on the database and automatic selection by system. Manual searching which has more reliability was performed by the user owing abundant of tacit knowledge. The required information for tool selection includes: tool holder (type, clamping system, hand of cut, point angle, size, etc.), insert (size, shape, nose radius, grade, etc.), processing conditions, and coolant. What’s more, system will recommend reference case and relevant parameter to user, according to machinability data, feature. The parameters of cutting tools are included as ISO code in table contain the information about the parameters, carbide grades and functions. Selecting tool are carried out through a series of IF-THEN structures to choose the suitable tool holder and insert from the tool library. The material of cutting tools relies on the material of component to be machined. So it is needed to select the material of component firstly, then CPES will deduce the corresponding tool material. There are three way for use to select component material in this system. One option is that user selects material from the databases stored in expert system. Another way is to browse and select the material from the Cambridge Engineering Selector (CES) linked to expert system. The last option allows users input the material by themselves depending on own experiment and knowledge. Besides, this system provides a serious of rules for selecting suitable tool material corresponding to the selected material of component. 3.5. Calculating Process Parameters The system offers extra function to calculate process parameters such as machining cost and time. The data put in by user can be processed through these equations and rules to calculate parameters. Mathematical stored as rules in knowledge modules are shown in Table 1. Taking the module V for example, this module is designed to calculate cost and includes serious of equations and rules. Inference engine can use this cost function to calculate the parameters. For example, the formula (1) can be applied CylindricalPocketsSlots Feature types Feature specification Surfaces EMD Laser Turning Drilling Milling ... Rules Parameter   Fig. (6). Selection of tool type. Modularized Cutting Tool Selection Expert System The Open Mechanical Engineering Journal, 2014, Volume 8 897 to calculate the tool cost of milling, which contains other subfunction, such as TOL: life of the tool; MRR: material remove rate; SURF: surface finish; ROS: robustness of the system. They are defined as following: J(TOL,MRR,TES,R,Ci(i=1,...4)) = c1 ⋅NF1 ⋅TOL + C2 ⋅NF2 ⋅MRR + C3 ⋅ NF3 SURF + C4 ⋅NF4 ⋅ROS (1) where ci is weighting factor, NF1 represents normalisation factor. TOL = Ktol ⋅V −α1 ⋅αdc −α2 ⋅ ft −α3 (2) where Ktol is model constant, V is cutting speed (m/min), αi is model parameter, adc represents axial depth of cut (mm)and ft represents feed per tooth (mm/tooth). MRR = adc ⋅r dc⋅fc (3) where rdc represents radial depth of cut (mm) and fc represents feed velocity (mm/s). SURF = Ksurf ⋅V β1 ⋅ fc β2 ⋅αdc β3 (4) where Ksurf is a model constant and, bi represents surface roughness. ROS = min sqrt αdc,ROS( ) 2 + SS,ROS( ) 2}{( ) (5) where Ss, ROS is the length of the spindle speed. NFi = Ji − Jmax Jmax − Jmiin (6) J = Ci ⋅NFi ⋅Ji j=1 4 ∑ (7) Besides, there are some more simple rules to estimate process time and cost. Pt = Vf Rmr (8) where Pt (min) is process time, Vf (mm3) is form feature volume, Rmr (mm3/min) is material removal rate. The equations and rules of estimated cutting time and feature cost are shown as below: Set Value ((Processing: RPMd), 256.4* Processing: SPd mmmin- 1/Features: Di mm); Set Value ((Processing: FRdmmin-1); Processing: frdmmrev-1* Processing: RPMd); Set Value ((Processing: CTD min., Features: De mm/ Machining: FRd mmmin-1); Set Value ((Processing: Cost M¥), Processing: CTM min *18); Set Value ((Processing: Cost D¥), Processing: CTD min*18); Set Value ((Processing: Cost T¥), Processing: CTT min*18); IF (Processing cost: drilling