Next Article in Journal
An Agile Approach to Improve the Usability of a Physical Telerehabilitation Platform
Next Article in Special Issue
A Survey of Feature Set Reduction Approaches for Predictive Analytics Models in the Connected Manufacturing Enterprise
Previous Article in Journal
Complex Dispersion Relation Recovery from 2D Periodic Resonant Systems of Finite Size
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Cutting Insert and Parameter Optimization for Turning Based on Artificial Neural Networks and a Genetic Algorithm

1
Department of Mechanical and Electrical Engineering, National Taipei University of Technology, Taipei 10608, Taiwan
2
Department of Mechanical and Automation Engineering, National Taipei University of Technology, Taipei 10608, Taiwan
3
Department of Mechanical Engineering, National Taipei University of Technology, Taipei 10608, Taiwan
*
Author to whom correspondence should be addressed.
Appl. Sci. 2019, 9(3), 479; https://doi.org/10.3390/app9030479
Submission received: 2 January 2019 / Revised: 25 January 2019 / Accepted: 28 January 2019 / Published: 30 January 2019

Abstract

:

Featured Application

People and companies involved on the manufacturing industry will be able to save plenty of time on the selection of cutting inserts and parameters by implementing and using the optimization system developed in this research.

Abstract

The objective of this present study is to develop a system to optimize cutting insert selection and cutting parameters. The proposed approach addresses turning processes that use technical information from a tool supplier. The proposed system is based on artificial neural networks and a genetic algorithm, which define the modeling and optimization stages, respectively. For the modeling stage, two artificial neural networks are implemented to evaluate the feed rate and cutting velocity parameters. These models are defined as functions of insert features and working conditions. For the optimization problem, a genetic algorithm is implemented to search an optimal tool insert. This heuristic algorithm is evaluated using a custom objective function, which assesses the machining performance based on the given working specifications, such as the lowest power consumption, the shortest machining time or an acceptable surface roughness.

Graphical Abstract

1. Introduction

Nowadays, there is great demand in the manufacturing industry for technologies that can deal with dynamic environments and customized products. Industry 4.0 and the notion of challenging trade by globalization have pushed companies to be more competitive in both large and small batches. This progress also shows a new way for computer numerical control (CNC) manufacturing industries to profit from large productions [1]. During the last few decades, there has been significant progress in improving the efficacy of CNC machining to meet world challenges. These breakthroughs come from the implementation of automation approaches, such as adaptive control and active control. They allow companies to achieve higher operation performances [1]. Manufacturing processes, such as computer-aided process planning (CAPP), expert processes planning systems (PP), computer-aided design (CAD) and computer-aided manufacturing (CAM) are now based on intelligent machining [2,3], which allow for the simulation and evaluation of variable environments. Complex cutting models can now predict fundamental variables related to machining operations performed in the industry [4]. These approaches mainly aim to obtain suitable cutting parameters and control them within certain working conditions. Thus, this increases the efficiency during the machining process and reduces the implementation time.
Cutting parameters for machining processes have a high impact on performance and they are usually the variables that need to be tuned for optimizing models. Generally, cutting parameters refer to cutting velocity, feed rate, depth of cut, cutting forces, torque, spindle speed, etc. On the other hand, the parameters for evaluating the machining results normally include surface roughness, power consumption, machining time, production cost, tool life, production rate, etc. [5,6,7]. For machining processes, accurate performance can be defined only within a working optimal range. This optimal range is evaluated by models, which generally relate the working conditions to cutting parameters and tool features. These models can be numeric, analytic, empiric, hybrid or AI-based models [4]. Nowadays, the trend is to use AI-based models, which clearly show adaptability and high performance in machining operations. Furthermore, the advances in computer science have allowed for the wide application of these models in the manufacturing industry [8,9,10].
In general, the implementation stage for machining processes takes a considerable amount of time and sometimes requires previous machining tests to reach admissible results. Because of this, some approaches seek to embed knowledge and technical data in machining processes. This results in the development of expert systems that are capable of optimally dealing with the changing conditions in shorter setting times. Many such expert systems use information from CAD models, databases, statement rules, tool preferences, suppliers, etc. [2,3,4,11,12]. Zarkti et al. [3] presented an automatic-optimized tool selector model based on CAD information to infer milling process stages. This approach uses a database from a tool supplier to build an expert system, which is capable of choosing suitable tools and suggesting optimal milling operation planning. Benkedjouh et al. [13] developed a model, which was based on a support vector machine, to predict the life of a cutting tool. This approach uses experimental testing to obtain a nonlinear regression model to estimate and predict the level of wear in a cutting tool. Several sensors, which are installed around the machine, gather information during the machining process and create a database to infer the model. Some significant remarks were taken from Özel et al. [14]. In this present study, the effects of cutting edge geometry on surface hardness are detailed. Moreover, this paper presents the relation between the cutting conditions and the surface roughness for turning processes. In addition, Arrazola et al. [4] detailed several models for chip formation, which can be used to predict cutting forces, temperatures, stress and strain. These models are based on insert geometries and cutting parameters. The approach [12] proposes a system software to optimize cutting parameters based on genetic algorithms. This model defines an objective function, which is based on theoretical models that relate fundamental variables in the machining operation. Ganesh et al. [5] showed an optimization of cutting parameters for the turning process. This research defines the surface roughness as an objective function for turning machining of EN 8 steel. A genetic algorithm is also applied in this approach. This model can be considered to be a hybrid model. Although the study by Li et al. [9] predicts annual power load consumption, the approach also shows an interesting hybrid model based on regression neural networks and the fruit fly optimization algorithm. This research presents a significant improvement in accuracy compared with previous approaches without neural network algorithms. Other models also show important achievements after applying training-based models that use the neural network algorithm. For instance, Xiong et al. [15] used the weld bead geometry prediction; Babu et al. [16] predicted the tensile behavior of tailor weld blanks; and Özel and Karpat [17] presented a model for surface roughness and tool wear for turning operations. Additionally, Malinov et al. [18] created an artificial neural network to predict the mechanical properties of titanium alloys as a function of the alloy composition. The research by Kuo et al. [19] poses a singular model for intelligent stock trading decision support systems. This model captures the stock expert’s knowledge by a genetic-algorithm-based fuzzy neural network model.
Other important achievements for the optimization of cutting parameters have been proposed using only genetic algorithms. Although these approaches show dependency on the working conditions and the workpiece and tools, they can acquire models that can reach the optimal result with high efficiency. In the paper by Quiza Sardinas et al. [20], a multi-objective optimization of cutting parameters in turning operations is presented. This approach entails the use of an objective function based on power consumption, cutting forces and surface roughness. It also presents a qualification of chromosome population, which is inherent to genetic algorithms, based on feasible individuals. Cus and Balic [21] presents an approach for cutting parameters in turning operations. This paper also shows an experimental test for validating the model. Suresh et al. [22] proposes a model to predict surface roughness. This model uses the response surface methodology and a genetic algorithm to converge to an optimal solution. Yang and Tarng [23] showed an approach for optimization of cutting parameters using the Taguchi method and the analysis of variance (ANOVA) for a database obtained by testing surveys. Thamizhmanii et al. [24] presents a similar approach using the Taguchi method and the ANOVA analysis but for optimizing surface roughness.
Unlike other research approaches, our research considers the insert information from a tool supplier to obtain neural network models of insert before determining the optimal cutting parameters. This approach allows the selection of a tool-insert and the inference of the corresponding cutting parameters by simultaneously considering tool specifications and working conditions. To do so, the research is based on a considerable amount of information defined by the tool supplier. The proposed model is an integrated optimization system, which selects a suitable tool-insert and suggests optimal cutting parameters based on certain working conditions and a fitness function optimization, respectively. This approach models the relationships between the geometrical and mechanical features of a tool-insert and the working conditions, thus introducing a novel approach to the modeling of cutting parameters for a turning tool. The output of the proposed approach is a set of recommended cutting parameters for an optimally selected cutting tool. This approach considers the entire information defined by the tool supplier and its intrinsic relationship with the working material in a turning operation. Thus, this makes more assertive recommendations for the cutting parameters.
The objective of this research is to obtain a model for cutting insert selections and cutting parameter optimization. This model must be constrained by working conditions and evaluated by an objective function. The objective function of this approach is defined as a combination of the lowest power consumption, the shortest machining time and surface roughness within a certain range. However, this function must be customizable under external conditions. Furthermore, the cutting insert selection must be based on commercially available tools. Since this research proposes a model for cutting insert selections based on commercially available tools, it requires a database from a tool supplier. The chosen tool supplier was Sandvik Coromant and the selected tool-insert model for building the datasets was CoroTurn® 107. The information about the recommended cutting parameters and the insert feature description was referenced from the official Sandvik Coromant website [25]. The models used on this approach are two artificial neural networks. The first neural network model defines the cutting parameter feed rate as a function of macro-geometrical features and recommended cutting depths. The second model defines the cutting speed as a function of material cutting specifications, working conditions and the feed rate cutting parameter. To find optimal cutting parameters and a suitable cutting insert, a genetic algorithm optimization is proposed based on working conditions. This algorithm is defined by a heuristic search of insert features and cutting parameters, which are evaluated by the neural network models. This heuristic search is set up under a defined objective function, which is a combination of the lowest power consumption, the shortest machining time and an acceptable surface roughness. Due to the heuristic search of the genetic algorithm, the result might be a non-existent tool-insert. Thus, the last stage of this approach is to evaluate a Euclidean distance to find the closest existent tool-insert in the commercial database based on a predefined threshold.
The structure of this paper is as follows. Section 2 aims to introduce the main features that define a tool-insert and the relations of the cutting parameters with geometrical features and the working conditions. This section also defines the database based on commercial data from a tool supplier. The section ends with the proposed dataset for this research. Section 3 explains the procedure used to obtain neural network models for this research. Furthermore, this section introduces data preparation and error validation. Section 4 details the mechanism behind the genetic algorithm implementation. Some concepts, such as individual chromosomes, encoding and decoding procedures and fitness function, are introduced in this section. Section 5 aims to explain how to use this model for practical applications in more detail. Examples of applications shown in this section include light roughing machining, heavy roughing machining and finishing operations. Section 6 summarizes this paper.

2. Datasets Description and Preparation

Turning is a process to remove material, which is mainly oriented to metal machining. Within this field, several criteria are used to establish the conditions for an acceptable turning process, including surface roughness, measurement tolerance, power consumption, machining time, forces, loads, etc. These measurement criteria are highly related to the selected cutting insert, cutting parameters, working material and working conditions [25]. A cutting insert varies according to its geometry, shape and material composition. Thus, it is possible to apply a specific group of cutting inserts to a specific turning application, working material and working conditions. In general, a tool-insert can be defined by its geometrical features and material composition, which are hereinafter referred as tool-insert features. The most notable tool-insert features are the inscribed circle (ICmm), clearance angle (AN), cutting length (LEmm), corner radius (REmm), thickness (Smm) and shape angle (SC), as shown in Figure 1.
The ICmm is a tool-insert feature that is highly related to the insert size. A large insert size increases the stability performance but oversizing can lead to high production costs. This feature must be linked with the depth of the cut, the entering angle and the cutting length to be used. The AN is the angle between the front face of the insert and the vertical axis of the workpiece [25]. This feature also defines the negative or positive quality of an insert [25]. On the other hand, the REmm feature is also related to the chip-breaking and cutting forces but it is mainly linked to finished surfaces. For a set feed rate cutting parameter, the machining yields a certain surface roughness. Furthermore, the radial forces that push away the insert in the turning machining become the axial forces as the depth of the cut increases with respect to the radius nose. As a suggestion from the supplier, the depth of cut should be greater or equal to 2/3 of the nose radius of the tool-insert [25]. The insert-shape feature is the most tangible feature, which is mainly selected by accessibility requirements. This feature defines a tool-holder and the depth of cut range in the process. The SC feature is defined by the nose angle of the tool-insert, which is related to strength and reliability issues. Large nose angles are stronger but require more machining power. They also increase the vibration tendency of the machine. On the contrary, small nose angles are weaker and have small cutting edges but are linked to better surface roughness [25].
The CTPT feature, which describes the cutting operation, is defined by three possible configurations: Finishing, Medium and Roughing operations. The WEP feature is a logical feature, which defines if the tool insert has a wiper radius. The GRADE feature describes the material composition of a tool-insert. Three features are linked to different grade features. These features describe the distribution of each grade in the range of area applications for ISO group materials. The introduced features are MC_L (machine condition low), MC_H (machine condition high) and MC_Suitability (machine condition suitability). The MC_L and MC_H features represent the low and high borders of each grade in the range of area application. The MC_Suitability feature is defined as a percentage of range for each grade that belongs to wear resistance region, which is in the upper region of the total field of application. For instance, the grade 4325 is defined as MC_L = 40, MC_H = 10 and MC_Suitability = 50%; the grade 5015 is defined as MC_L = 0, MC_H = 20 and MC_Suitability = 100%; and the grade GC30 is defined as MC_L = 35, MC_H = 45 and MC_Suitability = 0% [25]. Figure 2 graphically shows the relation between the working material (hardness feature), cutting parameters (feed rate) and cutting velocity. It is important to note that the relation varies as a function of the insert grade feature.
There are two proposed datasets for this study. The first one is a dataset for insert features with cutting parameters. The second one is for working conditions with cutting parameters. The first dataset will be used to train a neural network model that infers the feed rate while the second one will be used to model the cutting velocity. The description for each dataset is shown in Table 1 and Table 2. The main reason for using two neural network models is the nature of the dataset. The dataset for this study is based on two main sources, which are namely the data description for the tool-insert and the working conditions for a certain working material. The data description for a tool-insert relates the insert features of a tool-insert (i.e., the nose angle, thickness, cutting length and so on) and the suggested cutting parameters (depth of the cut and feed rate). The dataset, which ensues from working conditions, does not relate the insert features to the cutting parameter. It is defined by different working material specifications and their impact on the cutting parameters.

3. Artificial Neural Network Models

An artificial neural network model is a powerful method to deal with nonlinear functions or to model systems with unknown input–output relations [26,27,28]. In fact, the purpose of the algorithm in this research is to find two models that relate the tool-insert features and working conditions to the cutting parameters. Some important issues in the implementation of a neural network model come from the nature of a neural network model. Since a neural network model considers nonlinear combinations and often uses a gradient descent algorithm to update its parameters, the main issues revolve around the need to reach a global solution instead of a local one. Furthermore, given the fact that a neural network model is built on an available dataset, any irrelevant, non-numerical and poor representations of input features can adversely affect the final model [29]. As a machine learning algorithm, neural network models mainly focus on the validation stage. For this reason, the error validation represents proof that the embedded information in the database is well represented by the resulting model. There are some concepts regarding neural network models, which need to be understood. These include overfitting, homogeneous representation and accuracy [30].
For a neural network model, the dataset plays a crucial role. In fact, an effective preparation of the data can lead to an increase in accuracy, reduction in computing time and prevention of overfitting in the model [31]. For the research’s dataset, two scaling methods were considered to prepare the data for the training stage. The independent variables, which define the model inputs, have a scaling method called the z-score. The dependent variables, which describe the output for the neural network model, have a scaling method based on its minimum and maximum values, which has a range from 0 to 1 [31]. Equations (1) and (2) show the z-score and range scaling for inputs and outputs, respectively. It is also important to note that the output for a neural network model is highly dependent on the activation function, which is defined in the last layer (output layer). Generally, the activation function for the last layer is a hyperbolic tangent, softmax or a sigmoid function, which has an output range of 0 to 1. Other activation functions are widely used for neural network models although this research uses a linear function because it can be easily implemented with less computational burden.
x i - scaled = x i mean ( x ) σ ( x )
y i - scaled = y i min ( y ) max ( y ) min ( y )
The architecture and error validation of a neural network model are closely linked with each other. In fact, the performance of a neural network model is defined by its architecture, but this last one is selected by error validation. The architecture refers to the set of parameters that govern the complexity of the model, including the number of neurons, layers, updating and regularization algorithms among others. The error validation refers to an evaluation procedure for a certain architecture to find a balance between accuracy and error distribution without causing overfitting [32]. In practical applications, the training and testing datasets are used to achieve an architecture model that represents almost all information in the dataset. The training data are used to teach the model on the input–output relations. The testing data validate the model so it represents most of the total spectrum of possibilities in the dataset. For the present research, the databases for the feed rate and cutting velocity model, which are described in Table 1 and Table 2, are divided into a ratio of 0.5 for training and testing validation. The algorithm for converging the weights in a neural network model also plays an important role in the architecture. For this implementation, a globally convergent training scheme, based on the resilient propagation, is used. A crucial advantage of this algorithm compared to the traditional back-propagation or normal resilient propagation is the computing time. This approach shows better accuracy performance with similar datasets to be used for this research (datasets that are compounded by factors and numerical mapped values [29]).
The most important part in error validation is the definition of a good performance, which qualifies the architecture of a neural network model. For this approach, the traditional root mean square error comparison was not the only one considered to validate the models [32]. Instead, the error validation for this research is defined by the comparison of error density functions for training and testing evaluations. Error density functions are continuous functions that represent the attained errors for training and testing evaluations by a known function. The Gaussian function is used to represent these density functions. In this way, the training and testing evaluations can be represented by a Gaussian error density function. It is important to note that a Gaussian function is defined by two parameters: mean or expectation and standard deviation. For this approach, the expectation value is zero and the entire range of errors in the validation is defined by +/− 3 standard deviations by its definition. Under this premise, a certain trained model will present a certain Gaussian density function. For such an attained model, a good performance should be defined by a testing Gaussian density function that is similar to the reached model in the training stage. For instance, Figure 3 shows two models (model A and model B) that evaluate different architectures for the feed rate model as an example. Model A shows a testing evaluation with a particular density function, which is different to the one reached in the training evaluation. In contrast, model B shows a testing error density performance that is quite similar to the one reached in the training evaluations. Table 3 numerically shows the same concept shown in Figure 3. Table 3 also shows additional error comparisons, including the root mean square error (RMSE), median absolute deviation (MAD), maximum and minimum error values, etc. It is important to note that the large differences between RMSE and MAD are indicative of the error density function [30].
To achieve the best model for feed rate and cutting velocity, the following strategy was implemented to validate any possible architecture:
  • Consider random architectures with one and two hidden layers with different neurons per layer.
  • For each architecture, the training and testing error density functions are obtained. Hereinafter, these Gaussian functions are referred as m 1 , m 2
  • For each architecture, a Euclidean distance is evaluated between the functions of m 1 and m 2 . This Euclidean distance is calculated with the properties described in Table 3. Equation (3) shows the implementation of this Euclidean distance:
    d E D = ( m 1 m 2 )
  • For each architecture, the maximum distance between the mean error values is considered to be zero. Equation (4) shows the implementation of this distance as the maximum absolute value of the mean property in testing and training error functions:
    d m e a n = max ( | m e a n m 1 | , | m e a n m 2 | )
  • A maximum range of error functions must be calculated. This range is defined by the maximum and minimum properties for each error function ( m 1 , m 2 ).
    d r a n g e = max ( | max m 1 min m 1 | , | max m 2 min m 2 | )
  • To consider the skew property for m 1 and m 2 , the distance between RMSE to MAD is calculated. Equation (6) shows the implementation of this distance as the maximum absolute value for the difference between RMSE and MAD for both m 1 and m 2 :
    d s k e w = max ( | R M S E m 1 M A D m 1 | , | R M S E m 2 M A D m 2 | )
  • After this, the performance of a suggested model is given by Equation (7), which evaluates the Euclidean distance, mean distance to zero, the total error range and skew distance as a function of m 1 and m 2 . The constant k allows the function to be adjusted to a certain range of values, which is shown as follows:
    F p e r f o ( m 1 , m 2 ) = k d E D d m e a n d r a n g e d s k e w
To validate several random architectures, a heuristic optimization search was implemented by using a genetic algorithm for the feed rate and cutting velocity models. The architectures differ from each other in layer and neuron numbers. Furthermore, this genetic algorithm is defined by Equation (7) as the fitness function. Table 4 shows the reached architectures for the feed rate and cutting velocity models. For the feed rate, a neural network model was established with two hidden layers. Furthermore, this model has 15 and 4 neurons per layer. The cutting velocity model was also established with two hidden layers, which has 25 and 7 neurons per layer. The graphical performance for both models is shown in Figure 4 and Figure 5 (feed rate and cutting velocity, respectively). In these figures, it is possible to appreciate the error density function in training and testing evaluations. These figures also show the reached genetic algorithm performance used to converge both models. It is important to note that the optimization by the genetic algorithm allows the achievement of good performance for both models in fewer iterations.

4. Genetic Algorithm Optimization

A genetic algorithm (GA) is a heuristic search algorithm inspired by evolutionary mechanisms and biological natural selection. This algorithm defines a searching space of solutions and allows us to find individual solutions, which satisfy a certain condition. This condition is usually referred to as the fitness function [33]. This study aims to define a heuristic search based on GA, which allows us to find an optimal insert-tool for certain working specifications. This insert-tool search is governed by a fitness function, which is defined by a combination of the lowest power consumption, the shortest machining time and acceptable surface roughness among others. Figure 6 shows a general scheme of the proposed GA implementation for this research. Initially, it can be appreciated that the feed rate model evaluates the GA chromosome. After this, the feed rate and working conditions can be used as the inputs for the cutting velocity model. The resulting feed rate and cutting velocity are evaluated by the GA fitness function, which assess the current chromosome along with the working specifications. Finally, the GA operations transform the current population to the next generation. According to their characteristics, the individuals in the population improve with each iteration.

4.1. Working Specifications

The working specifications for the GA represent the framework, which defines the optimization problem. For this research, the working specifications consider three groups: material specifications, machine specifications and general specifications. Table 5 introduces these categories for these working specifications. The material specifications represent the conditions related to the working piece, such as the initial and final diameters, the maximum allowed surface roughness and the machining length. The mechanical properties are also added to this group, including material harness and specific cutting forces. On the other hand, the machine specifications represent the relevant information of the CNC machine in a turning operation. For this approach, the total power available and the maximum spindle speed are considered. The general specifications define additional specifications, which also define a turning operation. For instance, the machine operation is considered in this group of specifications. This specification defines the CTPT feature, which sets the algorithm and considers if the insert-tool solution should be for finishing, medium or roughing operations. Furthermore, a stability parameter is also added to this group of specifications. This stability feature is related to the suitability for the expected insert-tool solution. Finally, the tool life and threshold distances are defined as turning constants, which allow for an adjustment of the accuracy of the algorithm.

4.2. Encode-Decode Chromosomes

A binary chromosome refers to a string of zeros and ones, such as a binary number, and represents a certain bunch of features. Table 1 shows the description of the features of the chromosome structure. On the other hand, each feature has its own encoding length that allows it to be represented in the chromosome string. Table 6 shows the features used to build the GA chromosome and their binary length.
The length properties in Table 6 represent the lengths of the binary numbers used to define each feature. Furthermore, for the described numeric features, there is a specific decoding procedure called linear transformation, which is represented by Equation (8). For this equation, the binary number is evaluated by the function int(Xbinary), which returns the integer value for a binary number. This integer value is then mapped by the maximum, minimum and length values to decode the corresponding features.
X r e a l =   X m i n +   X m a x X m i n 2 l e n g t h 1   i n t ( X b i n a r y )
The logical features described in Table 6 are represented by one digit with only two possible values (1 or 0 and 5 or 7 for WEP and AN features, respectively). The stability feature has decoding and encoding procedures that differ from the rest of features. The stability feature refers to the suitability feature of an insert-tool. This feature can be set as Excellent, Good or Poor. This parameter is already given by the working specification described in Table 5. However, this information restricts the GA searching space because the grade of an insert-tool is defined under a certain range of application areas. This means that there is only a defined number of grades for a defined stability feature. Table 7 shows the stability condition associated with the insert-tool grades in the present dataset. Under this premise, a grades list (indexed list) and a binary number define the proposed encoding procedure for the features’ stability. The binary number indexes the position for each grade on such list. For instance, we considered the stability “Good” described in Table 8. Since there are only four possible grades in this condition, the binary number to encode this feature is a string of three digits (000, 001, 010, 011, 111, etc.). Thus, the number of ones in such binary number represents the index in the grade list. For two ones in the binary number, the grade is 4225 and for 0 ones in the binary number, the grade is 1125, etc.
The ap_rec cutting parameter is a special feature for the chromosome definition. The range of this parameter was defined previously as an input to the model. This range is customized by the total and minimum depth of cut values for a certain turning process. Such values are defined with respect to operation issues and specific requirements. The chromosome structure for the GA optimization is shown in Figure 7. This structure defines at least 30 defined positions. It is important to note that each feature has its binary position and length in the chromosome structure.

4.3. Fitness Function Definition

The fitness function is the main concern for the development of the GA and its definition establishes the expected output of the algorithm. For this research, this function was defined as a function that evaluates the lowest power consumption, the shortest machining time and an acceptable surface roughness among others. Equation (9) defines the fitness function for this genetic algorithm optimization. This equation is a summation of goal functions gi, which evaluate power consumption, machining time, surface roughness, etc. Furthermore, each gi function is weighted by a constant ωi, which allows the adjustment of the importance of each gi function.
f i t n e s s = i ω i g i
The goal function, g1, described in Equation (10), evaluates the power consumption ratio in the turning process. This function uses Equation (11) to evaluate the theoretical power consumption, P [20]. Furthermore, the Pnet constant is the total available power in the machine (introduced in Table 5). The constant γ allows for the consideration of the friction losses in the transmission motor [20] although this constant is equal to 1 for this research. Equation (12) shows the cutting force, Fc, as a function of the specific cutting force, Kc, related to the working material, depth of cut (ap_rec) and feed rate (fn_rec) [25]. It is important to note that the specific cutting force, Kc, is a parameter that was also introduced in Table 5.
g 1 = γ P n e t P
P = v c F c 6 × 10 4
F c = K c a p _ r e c f n _ r e c
The goal function, g2, described in Equation (13), defines the machining time ratio, which relates the tool life to the machining time. The tool life, Tlife, is a tool supplier parameter, which defines the approximate tool life for a tool-insert. The machining time is an objective variable evaluated in Equation (14). This defines the machining time in the turning process with a certain group of cutting parameters. Equation (15) presents the spindle speed, n, as a function of the cutting velocity, vc and the current machining diameter, D. It is important to note that n varies according to D. Thus, for each machining pass (diameter decreasing), the spindle speed increases.
g 2 = T l i f e T m
T m = L m f n _ r e c n
n = v c × 1000 π D
The goal function, g3, defined in Equation (16), relates the maximum surface roughness, Ra_max, to the theoretically reached surface roughness, Ra. The parameter Ra_max is a working specification of material that defines the maximum allowed roughness. Ra is an objective variable defined in Equation (17), which estimates the surface roughness for a certain finishing operation [20].
g 3 = R a _ m a x R a
R a = 125 f n _ r e c 2 R E m m
The goal function, g4, defined in Equation (18), relates the objective variable, deuclidean, to the parameter Thd (threshold distance). The variable deuclidean is obtained by Equation (19). This equation calculates the Euclidean distance between the features xi and yi, which are defined by the suggested GA tool-insert features and the nth tool-insert in the dataset, respectively.
g 4 = T h d d e u c l i d e a n
d e u c l i d e a n = i ( x i y i ) 2
The goal function, g5, shown in Equation (20), evaluates the spindle speed ratio, which is used in the turning process. This objective function relates the maximum spindle speed of the machine to the theoretical spindle speed reached in the turning process.
g 5 = n m a x n
The goal function, g6, shown in Equation (21), evaluates the suitability range for a certain insert grade. This function assesses if a suggested grade is more appropriate for a specific application area compared to other solutions. Grades that are more specific are preferred instead of the general grades.
g 6 = 1 M C _ H M C _ L
Overall, there are two fitness functions regarding the turning processes: the finishing or roughing operations. In fact, for the roughing operation, the surface roughness is not considered in the fitness function, but the power consumption, machining time, Euclidean distance, spindle speed ratio and suitability are considered. For the finishing process, the fitness function considers the surface roughness, Euclidean distance and suitability grade. Equations (22) and (23) show the proposed fitness function for the roughing and finishing operations.
f r o u g h i n g = ω 1 P n e t P + ω 2 T l i f e T m + ω 3 T h d d e u c l i d e n + ω 4 n m a x n 5 1 M C _ H M C _ L
f f i n i s h i n g = ω 1 R a _ m a x R a 2 T h d d e u c l i d e n 3 1 M C _ H M C _ L

4.4. Boundary Constraints

The boundary constraints for the GA optimization define the searching space for the algorithm. These boundary constraints allow us to control the chromosome evolution and ensure that the algorithm is converging towards a suitable solution. The first mechanism for controlling the population evolution is called the feasible solution control. This boundary control prevents infeasible individuals from appearing in the population [20]. This mechanism evaluates the goal function, g4, by the constraint mentioned in Equation (24). Thus, only similar insert-tools are chosen as part of the population. The infeasible solutions are not considered.
g 4 = T h d d e u c l i d e a n > 1
Some boundary constraints are established to prevent solutions that evaluate a parameter outside of the machine capabilities. For example, the expression mentioned in Equation (25) avoids GA individuals when evaluating power consumption, which exceeds the maximum power of the machine. The constraint mentioned in Equation (26) avoids solutions that need spindle speeds greater than the maximum defined speed for the machine.
g 1 = γ P n e t P > 1
g 5 = n m a x n

5. Application Examples

This section aims to explain some applications for the algorithm described in this research. Three application examples are used to show the performance and results of the proposed approach. These examples are defined under different working conditions and fitness functions.

5.1. Light Roughing Operation

A light roughing machining application can be defined as a turning operation with a small turning depth. In fact, these turning operations could be machined with only one pass. The described algorithm allows us to find a tool-insert solution that balances both power consumption and the number of passes. On the other hand, the machining time does not have the same importance as the power consumption as the number of passes is low. Table 9 introduces the working specifications for this light roughing operation. It sets an initial and a final diameter of 50 mm and 40 mm, respectively. This means a total depth of cut of 5 mm. Additionally, the total machining length is set to 100 mm. Figure 8 illustrates this information. The workpiece material is an unalloyed steel of 180 HB. This material has a specific cutting force of 600 N/mm2. The machine specifications define a small lathe with a power capacity of 10 kW and a maximum spindle speed of 3000 rpm. Equation (27) shows the fitness function for this operation. The power consumption has been weighted to 100 times while the machining time was set to 0.5. This fitness function considers that the impact of power consumption is greater than that of the machining time during the turning process.
f i t n e s s = 100 P n e t P + 0.5 T l i f e T m + T h d d e u c l i d e n + n m a x n 100 M C _ H M C _ L
Figure 9 provides a complete description of the GA optimization. It begins with the definition of the working specifications, which are presented in Table 9. These specifications set the framework for this example. It is important to note that the working specifications are related to the GA model with respect to some stages ahead, such as the random population, feasible solution control, feed rate and cutting velocity models, boundary constraints and fitness evaluation stages. The stability condition establishes some insert grades as possible solutions since this specification was set at “Good” in Table 9. Such grade solutions were already shown in Table 8, which indexes the list for good stability. With the stability features already defined, the total chromosome length is defined as 40 for this application. On the other hand, the insert features and working specifications form the chromosome structure. Figure 10 describes the chromosome structure for this application. Given the random nature of the GA model, some infeasible individuals can be part of the population. The feasible solution control prevents infeasible solutions from being part of the GA population. The implementation of this control is introduced in Equation (24). This control evaluates a Euclidean distance by adjusting the Thd parameter. All individuals out of the range of distance are discarded from the GA population.
Figure 11 shows the flowchart for obtaining the cutting parameters when given an individual chromosome in the population. It is important to note that some working specifications are used for both the feed rate and cutting velocity neural network models. In addition, the ap_rec cutting parameter (depth of cut) is defined by the GA chromosome and it is used in the feed rate model as an input. Once the cutting parameters, which are namely ap_rec, fn_rec and vc_rec, are obtained, it is possible to evaluate the performance of the current chromosome. Equation (27) shows the proposed fitness function to evaluate the performance of each GA individual. The variables, P, Tm, deuclideanm and n define the power consumption, machining time, Euclidean distance and spindle speed, respectively.
Consistent with the flowchart for GA implementations, the boundary constraints establish population control again, which avoids individual GAs when evaluating parameters beyond the capabilities of the CNC machine. These constraints are related to the total power available and the maximum speed spindle defined in the CNC specifications. Once the entire population has been qualified by the fitness function, the GA operation crosses, selects and mutates the chromosomes to evolve them toward the next generation. In this way, after a certain number of iterations, the population is evolved enough towards a suitable insert-tool solution with its cutting parameters, as shown in Figure 12. Table 10 shows the reached non-existent insert by the GA evolution next to the defined closer tool-insert in the dataset. The reached tool-insert and its cutting parameters are presented as well. In Table 11, the evaluation for the goal variables, which define the performance for the suggested tool-insert, is introduced.

5.2. Heavy Roughing Operation

A heavy roughing application can be defined as a turning operation with a large depth turning. These turning operations cannot be machined in a single pass unlike light roughing machining. For this reason, the fitness function for these turning operations considers the machining time evaluation more than the power consumption. Table 12 introduces the working specifications for this roughing operation. It sets an initial diameter and a final diameter to 100 mm and 40 mm, respectively, which defines a total depth turning of 30 mm. Additionally, the total machining length is set to 100 mm. The geometrical information for this example is presented in Figure 13. The workpiece material is an unalloyed steel of 250 HB with a specific cutting force of 725 N/mm2. Moreover, for this operation, the stability condition is set to “Good.” The machine specifications define a small lathe with a total power capability of 10 kW and a maximum spindle speed of 3000 rpm. Equation (28) shows the fitness function for this operation. The machining time has been weighted 10 times, while the power consumption has been weighted 0.5 times. In this way, the fitness function establishes that the solution must prioritize the machining time instead of the power consumption.
f i t n e s s = 0.5 P n e t P + 10 T l i f e T m + T h d d e u c l i d e n + n m a x n 100 M C _ H M C _ L
Table 13 shows the results for the GA evolution, which are the obtained features for the GA algorithm next to the closer tool-insert in the dataset. This table also presents the suggested tool-insert and its cutting parameters for this operation. Furthermore, in Table 14, the evaluation for the goal variables, which define the performance for the reached tool-insert, is introduced.

5.3. Finishing Operation

Finishing operations differ from roughing operations mainly with regards to the fitness function. In this operation, the stability and surface roughness performance define the tool-insert solution. The stability features must be defined in such a way that the selected grade belongs to the lower ISO area application, which is related to the wear resistance performance. This area application is specified for finishing operations. Furthermore, the surface roughness performance must be lower than the maximum roughness defined by the working specifications of the process. Table 15 introduces the working specifications of this finishing operation. It sets a final diameter of 40 mm and a maximum surface roughness of ISO N8. This surface specification defines a roughness of 3 μm. The geometrical information for this example is presented in Figure 14. The workpiece material is an unalloyed steel of 180 HB with a specific cutting force of 600 N/mm2. For this operation, the stability condition is set to “Good.” The machine specifications define a medium lathe with a total power of 15 kW and a maximum spindle speed of 6000 rpm. Equation (29) sets the fitness function for this operation. This function evaluates the goal functions related to surface roughness and stability grade.
f i t n e s s = R a _ m a x R a T h d d e u c l i d e n 100 M C _ H M C _ L
Table 16 shows the results for the GA evolution, which are the obtained features of the GA algorithm next to the closer tool-insert in the dataset. The information related to the suggested tool-insert is also presented. The reached tool was VBMT 11 03 12-PF 4325. Table 17 introduces the evaluation for the goal variables, which define the performance of the suggested tool-insert.

6. Conclusions

Neural network models for the selection of cutting inserts and cutting parameters were designed. These models were applied to roughing and finishing operations. This research uses the information from a tool supplier to embed knowledge for the tool-insert selection and optimization system developed in this research. The proposed system is based on artificial neural networks (ANNs) and a genetic algorithm (GA). These represent the modeling and optimization part of this research, respectively. For the modeling, two ANNs were implemented. These ANNs are able to infer the feed rate and cutting velocity parameters. The feed rate model is defined as a function of insert features and a set depth of the cut. The insert features represent the macro-geometries of a tool-insert, which include the cutting length, thickness, nose angle, nose radius, size and grade among others. For the cutting velocity model, the inputs are the material specifications and a set feed rate. The material specifications are defined as inherent features of a working material for turning processes. They include hardness, specific cutting force and ISO material group.
For the neural network validation, an error comparison based on density functions was implemented. This approach proposed an alternative solution for the error validation of regression models based on the recommended data by a supplier. To evaluate some architectures of the ANN models, a heuristic search based on GA was used. This approach evaluated the possible architectures and evolved them toward the most feasible one. For the proposed research, a heuristic searching method for a feasible tool-insert based on its characteristics in a certain environment was also introduced. The algorithm used for this search was a GA. The introduced GA optimization searches for an optimal tool-insert, which adapts to a working specification and evaluates an acceptable performance given by a customized objective function. This objective function evaluates the performance under certain working conditions, such as the lowest power consumption, the shortest machining time and an acceptable surface roughness. In this present study, different goal functions referring to different force models or tool life models can be used when designing the fitness function in order to obtain the optimal tool-insert with specific considerations. This research presents a model to simulate knowledge and expertise, which embeds the information from a tool supplier. It returns the most suitable insert-tool as a result, given certain working conditions. This research did not use a lookup table approach in the database as it instead modeled the mechanical relations between the geometrical features of an insert-tool and its recommended cutting parameters. This tool-insert selection and optimization system can embed the data from other models, different tool suppliers, previous machining works and expertise from machine-shop workers. However, because of the inherent discrepancy among different datasets, additional factors, such as input variation and data types, must be considered when using the developed system and approaches. Furthermore, because the developed system successfully represents the complex relationship between the working condition and the cutting parameters, the developed system can be a plug-in for CAD/CAM software or can be integrated with the controller of a CNC machine tool to be an auxiliary function for the automatic selection of the cutting parameters based on the preset working conditions presented in the part program. For this research, a fully connected ANN model was used due to the representation of a multi-dimensional space using the training data obtained from a database. Other networks with diverse characteristics, such as the convolutional networks, could also be used in future researches. Moreover, methods, such as the support vector machine and probabilistic regression, could be used for regression modeling. This research has used a GA for optimization. However, methods, such as the particle swarm optimization and gradient descent technique, can also be used to carry out optimization.

Author Contributions

Investigation, B.S.-P., D.H. and S.-S.Y.; Supervision, S.-S.Y.

Funding

This research was funded in part by the Ministry of Science and Technology, Taiwan, R.O.C., under Contract MOST104-2221-E-027-132 and MOST103-2218-E-009-027-MY2.

Acknowledgments

The authors would like to thank Hao-Wei Nien (Advantech-LNC Technology Co. Ltd., Taiwan, R.O.C.) and Chao-Choung Mai (ITRI Intelligent Machinery Technology Center, Taiwan, R.O.C.) for their suggestions.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Weyer, S.; Schmitt, M.; Ohmer, M.; Gorecky, D. Towards industry 4.0—Standardization as the crucial challenge for highly modular, multi-vendor production systems. IFAC-Pap. 2015, 48, 579–584. [Google Scholar] [CrossRef]
  2. Leo Kumar, S.P. State of the art—Intense review on artificial intelligence systems application in process planning and manufacturing. Eng. Appl. Artif. Intell. 2017, 65, 294–329. [Google Scholar] [CrossRef]
  3. Zarkti, H.; El Mesbahi, A.; Rechia, A.; Jaider, O. Towards an automatic-Optimized tool selection for milling process, based on data from Sandvik Coromant. In Proceedings of the Xème Conférence Internationale: Conception et Production Intégrées, Tanger, Morocco, 3–4 December 2015. [Google Scholar]
  4. Arrazola, P.J.; Özel, T.; Umbrello, D.; Davies, M.; Jawahir, I.S. Recent advances in modelling of metal machining processes. CIRP Ann. 2013, 62, 695–718. [Google Scholar] [CrossRef]
  5. Ganesh, N.; Kumar, M.U.; Kumar, C.V.; Kumar, B.S. Optimization of cutting parameters in turning of EN 8 steel using response surface method and genetic algorithm. Int. J. Mech. Eng. Robot. Res. 2014, 3, 75–86. [Google Scholar]
  6. Yang, Y.; Li, X.; Gao, L.; Shao, X. A new approach for predicting and collaborative evaluating the cutting force in face milling based on gene expression programming. J. Netw. Comput. Appl. 2013, 36, 1540–1550. [Google Scholar] [CrossRef]
  7. Cabrera, F.M.; Beamud, E.; Hanafi, I.; Khamlichi, A.; Jabbouri, A. Fuzzy logic-based modeling of surface roughness parameters for CNC turning of PEEK CF30 by TiN-coated cutting tools. J. Thermoplast. Compos. Mater. 2011, 24, 399–413. [Google Scholar] [CrossRef]
  8. Joshi, S.R.; Ganjigatti, J.P. Application of general regression neural networks for forward and reverse modeling of aluminum alloy AA5083; H111 TIG welding process and comparison with feed forward back propagation, Elman back propagation neural networks. Int. J. Eng. Technol. Sci. Res. 2017, 4, 16–26. [Google Scholar]
  9. Li, H.Z.; Guo, S.; Li, C.J.; Sun, J.Q. A hybrid annual power load forecasting model based on generalized regression neural network with fruit fly optimization algorithm. Knowl. -Based Syst. 2013, 37, 378–387. [Google Scholar] [CrossRef]
  10. Cairns, J.; McPherson, N.; Galloway, A. Using artificial neural networks to identify and optimise the key parameters affecting geometry of a GMAW fillet weld. In Proceedings of the 18th International Conference on Joining Materials, JOM-18, Helsingor, Denmark, 26–29 April 2015. [Google Scholar]
  11. Arezoo, B.; Ridgway, K.; Al-Ahmari, A.M.A. Selection of cutting tools and conditions of machining operations using an expert system. Comput. Ind. 2000, 42, 43–58. [Google Scholar] [CrossRef]
  12. Dereli, T.; Filiz, I.H.; Baykasoglu, A. Optimizing cutting parameters in process planning of prismatic parts by using genetic algorithms. Int. J. Prod. Res. 2001, 39, 3303–3328. [Google Scholar] [CrossRef]
  13. Benkedjouh, T.; Medjaher, K.; Zerhouni, N.; Rechak, S. Health assessment and life prediction of cutting tools based on support vector regression. J. Intell. Manuf. 2015, 26, 213–223. [Google Scholar] [CrossRef]
  14. Özel, T.; Hsu, T.K.; Zeren, E. Effects of cutting edge geometry, workpiece hardness, feed rate and cutting speed on surface roughness and forces in finish turning of hardened AISI H13 steel. Int. J. Adv. Manuf. Technol. 2004, 25, 262–269. [Google Scholar] [CrossRef]
  15. Xiong, J.; Zhang, G.; Hu, J.; Wu, L. Bead geometry prediction for robotic GMAW-based rapid manufacturing through a neural network and a second-order regression analysis. J. Intell. Manuf. 2012, 25, 157–163. [Google Scholar] [CrossRef]
  16. Babu, K.V.; Narayanan, R.G.; Kumar, G.S. An expert system based on artificial neural network for predicting the tensile behavior of tailor welded blanks. Expert Syst. Appl. 2009, 36, 10683–10695. [Google Scholar] [CrossRef]
  17. Özel, T.; Karpat, Y. Predictive modeling of surface roughness and tool wear in hard turning using regression and neural networks. Int. J. Mach. Tools Manuf. 2005, 45, 467–479. [Google Scholar] [CrossRef]
  18. Malinov, S.; Sha, W.; McKeown, J.J. Modelling the correlation between processing parameters and properties in titanium alloys using artificial neural network. Comput. Mater. Sci. 2001, 21, 375–394. [Google Scholar] [CrossRef] [Green Version]
  19. Kuo, R.J.; Chen, C.H.; Hwang, Y.C. An intelligent stock trading decision support system through integration of genetic algorithm based fuzzy neural network and artificial neural network. Fuzzy Sets Syst. 2001, 118, 21–45. [Google Scholar] [CrossRef]
  20. Quiza Sardiñas, R.; Rivas Santana, M.; Alfonso Brindis, E. Genetic algorithm-based multi-objective optimization of cutting parameters in turning processes. Eng. Appl. Artif. Intell. 2006, 19, 127–133. [Google Scholar] [CrossRef]
  21. Cus, F.; Balic, J. Optimization of cutting process by GA approach. Robot. Comput. -Integr. Manuf. 2003, 19, 113–121. [Google Scholar] [CrossRef]
  22. Suresh, P.V.S.; Rao, P.V.; Deshmukh, S.G. A genetic algorithmic approach for optimization of surface roughness prediction model. Int. J. Mach. Tools Manuf. 2002, 42, 675–680. [Google Scholar] [CrossRef]
  23. Yang, W.H.; Tarng, Y.S. Design optimization of cutting parameters for turning operations based on the Taguchi method. J. Mater. Process. Technol. 1998, 84, 122–129. [Google Scholar] [CrossRef]
  24. Thamizhmanii, S.; Saparudin, S.; Hasan, S. Analyses of surface roughness by turning process using Taguchi method. J. Achiev. Mater. Manuf. Eng. 2007, 20, 503–506. [Google Scholar]
  25. Sandvik Coromant. Available online: https://www.sandvik.coromant.com/en-gb/pages/default.aspx (accessed on 9 October 2017).
  26. Murata, N.; Yoshizawa, S.; Amari, S. Network information criterion-determining the number of hidden units for an artificial neural network model. IEEE Trans. Neural Netw. 1994, 5, 865–872. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  27. Arnaiz-González, Á.; Fernández-Valdivielso, A.; Bustillo, A.; López de Lacalle, L.N. Using artificial neural networks for the prediction of dimensional error on inclined surfaces manufactured by ball-end milling. Int. J. Adv. Manuf. Technol. 2016, 83, 847–859. [Google Scholar] [CrossRef]
  28. Jain, S.P.; Ravindra, H.V.; Ugrasen, G.; Prakash, G.V.N.; Rammohan, Y.S. Study of surface roughness and AE signals while machining titanium grade-2 material using ANN in WEDM. In Materials Today: Proceedings; Elsevier: Amsterdam, The Netherlands, 2017; pp. 9557–9560. [Google Scholar]
  29. Anastasiadis, A.D.; Magoulas, G.D.; Vrahatis, M.N. New globally convergent training scheme based on the resilient propagation algorithm. Neurocomputing 2005, 64, 253–270. [Google Scholar] [CrossRef]
  30. Twomey, J.M.; Smith, A.E. Validation and verification. In Artificial Neural Networks for Civil Engineers: Fundamentals and Applications; Expert Systems and Artificial Intelligence Committee, Ed.; American Society of Civil Engineers: Reston, VA, USA, 1997; pp. 44–64. [Google Scholar]
  31. Olden, J.D.; Jackson, D.A. Illuminating the “black box”: A randomization approach for understanding variable contributions in artificial neural networks. Ecol. Model. 2002, 154, 135–150. [Google Scholar] [CrossRef]
  32. Bishop, C.M. Pattern Recognition and Machine Learning; Springer: New York, NY, USA, 2011. [Google Scholar]
  33. Scrucca, L. GA: A package for genetic algorithms in R. J. Stat. Softw. 2013, 53, 1–37. [Google Scholar] [CrossRef]
Figure 1. Tool-insert features considered in this study [25]; cutting length (LEmm); corner radius (REmm); thickness (Smm); and shape angle (SC).
Figure 1. Tool-insert features considered in this study [25]; cutting length (LEmm); corner radius (REmm); thickness (Smm); and shape angle (SC).
Applsci 09 00479 g001
Figure 2. Cutting velocity, hardness and feed rate scatter.
Figure 2. Cutting velocity, hardness and feed rate scatter.
Applsci 09 00479 g002
Figure 3. Example of error density function comparison.
Figure 3. Example of error density function comparison.
Applsci 09 00479 g003
Figure 4. Feed rate model performance; (a) Error density function comparison; and (b) Genetic algorithm performance.
Figure 4. Feed rate model performance; (a) Error density function comparison; and (b) Genetic algorithm performance.
Applsci 09 00479 g004
Figure 5. Cutting velocity model performance; (a) Error density function comparison; (b) Genetic algorithm performance.
Figure 5. Cutting velocity model performance; (a) Error density function comparison; (b) Genetic algorithm performance.
Applsci 09 00479 g005
Figure 6. GA (genetic algorithm) working scheme.
Figure 6. GA (genetic algorithm) working scheme.
Applsci 09 00479 g006
Figure 7. Chromosome structure.
Figure 7. Chromosome structure.
Applsci 09 00479 g007
Figure 8. Example of a light roughing operation.
Figure 8. Example of a light roughing operation.
Applsci 09 00479 g008
Figure 9. Flowchart of the GA implementation.
Figure 9. Flowchart of the GA implementation.
Applsci 09 00479 g009
Figure 10. The GA chromosome structure.
Figure 10. The GA chromosome structure.
Applsci 09 00479 g010
Figure 11. Neural network models in GA optimization.
Figure 11. Neural network models in GA optimization.
Applsci 09 00479 g011
Figure 12. Example of GA performance for light roughing operation.
Figure 12. Example of GA performance for light roughing operation.
Applsci 09 00479 g012
Figure 13. Example of heavy roughing operation.
Figure 13. Example of heavy roughing operation.
Applsci 09 00479 g013
Figure 14. Example of a finishing operation.
Figure 14. Example of a finishing operation.
Applsci 09 00479 g014
Table 1. Feed rate dataset–feature descriptions; CTPT: finishing, medium and roughing operations.
Table 1. Feed rate dataset–feature descriptions; CTPT: finishing, medium and roughing operations.
Feature NameData TypeDescription
ICmmNumericInscribed circle
ANLogicalClarence angle
LEmmNumericCutting length
REmmNumericNose radius
SmmNumericThickness
SCNumericInsert shape angle
FinishingLogicalCTPT finishing operation
MediumLogicalCTPT medium operation
RoughingLogicalCTPT roughing operation
WEPLogicalWiper property
MC_LNumericLow machine condition
MC_HNumericHigh machine condition
MC_SuitabilityNumericSuitability machine condition
ap_recNumericRecommended depth of cut
Table 2. Cutting velocity dataset–feature descriptions.
Table 2. Cutting velocity dataset–feature descriptions.
Feature NameData TypeDescription
MC_LNumericLow machine condition
MC_HNumericHigh machine condition
MC_SuitabilityNumericSuitability machine condition
HBNumericHardness material
fn_recNumericRecommended feed rate
Table 3. Error validation example.
Table 3. Error validation example.
PropertiesModel AModel B
Training DataTesting DataTraining DataTesting Data
Mean square error11.9 × 10−45.8 × 10−47.8 × 10−46.7 × 10−4
Root mean square error34.5 × 10−324.2 × 10−328.0 × 10−325.9 × 10−3
Median absolute deviation22.4 × 10−316.7 × 10−318.2 × 10−316.7 × 10−3
Max. value0.12750.08110.06980.0675
Min. value−0.1167−0.0791−0.0828−0.0828
Mean19.4 × 10−587.0 × 10−5−8.0 × 10−4−1.8 × 10−4
Standard deviation34.5 × 10−324.2 × 10−328.0 × 10−326.0 × 10−3
Table 4. Error validation for feed rate and cutting velocity models.
Table 4. Error validation for feed rate and cutting velocity models.
ModelsFeed RateCutting Velocity
DatasetsTrainingTestingTrainingTesting
Architecture15–415–5
Mean square error4.95 × 10−43.45 × 10−457.7166.66
Root mean square error2.22 × 10−21.8 × 10−27.598.16
Median absolute deviation1.41 × 10−21.10 × 10−23.843.91
Max. value5.82 × 10−25.82 × 10−2102.8295.51
Min. value−6.97 × 10−2−6.71 × 10−2−52.76−75.10
Mean−1.73 × 10−41.24 × 10−4−3.60 × 10-2−3.61 × 10-2
Standard deviation2.22 × 10−21.86 × 10−27.598.16
dED6.55 × 10−325.16
dmean1.73 × 10−33.61 × 10−2
drange1.28 × 10−1170.61
dskew8.14 × 10−34.25
k1 × 10−51 × 105
Fperfo845.26151.68
Table 5. Working specifications.
Table 5. Working specifications.
Material specifications
Initial diameterDiNumeric values
Final diameterDfNumeric values
Machining lengthLmNumeric values
HardnessHBNumeric values
Specific cutting forceKcNumeric values
Max. surface roughnessRa_maxNumeric values
Machine specifications
Main motor powerPnetNumeric values
Max. spindle speednmaxNumeric values
General specifications
Machine operationCTPTFinishing–Medium–Roughing
Stability/Excellent–Good–Poor
Toot lifeTlifeNumeric values
Threshold distanceThdNumeric values
Table 6. Insert features descriptions for the decoding procedure.
Table 6. Insert features descriptions for the decoding procedure.
NameTypeRangeLength of Binary Numbers
ICmmNumeric15.875–3.9704
LEmmNumeric21.20–5.654
REmmNumeric1.19–0.027
WEPLogical1 or 01
SmmNumeric5.56–1.987
ANLogical7 or 51
AngleNumeric90–356
StabilityFactornot definednot defined
ap_recNumericnot defined7
Table 7. Grade stability.
Table 7. Grade stability.
GRADESuitabilityStabilityGRADESuitabilityStability
112575%Good4305100%Excellent
151575%Good431583.3%Excellent
1525100%Excellent432550%Good
2350%Poor433516.6%Poor
421583.3%Excellent5015100%Excellent
422550%GoodGC15100%Excellent
423520%PoorGC300%Poor
Table 8. Indexed list for good stability.
Table 8. Indexed list for good stability.
IndexGradeStability
01125Good
11515Good
24225Good
34325Good
Table 9. Working specifications of the light roughing operation example.
Table 9. Working specifications of the light roughing operation example.
Material Specifications
Initial diameterDi50 mm
Final diameterDf40 mm
Machining lengthLm100 mm
HardnessHB180 HB
Specific cutting forceHc600 N/mm2
Machine Specifications
Main motor powerPnet10 kW
Maximum spindle speednmax3000 rpm
General Specifications
Machine operationCTPTRoughing
Stability/Good
Toot lifeTlife15 min
Threshold distanceThd10
Range ap_recap_rec0.01 mm–5 mm
Table 10. Results of the light roughing operation example.
Table 10. Results of the light roughing operation example.
FeaturesGA ResultsCloser Insert
ICmm8.736.35
LEmm10.510.3
REmm0.680.39
WEPfalsefalse
Smm2.372.38
AN
Angle65°60°
GRADE43254325
Cutting Parameters
Closer insertTCMT 11 02 04-UR 4325
Depth of cut5 mm
Feed rate0.288 mm/r
Cutting velocity346 m/min
Table 11. Goal variables evaluation for light roughing operation example.
Table 11. Goal variables evaluation for light roughing operation example.
Goal VariableVariableEvaluation
Power consumptionP5 kW
Machining timeTm0.34 min
Euclidean distancedeuclidean6.307
Spindle speedn2761 rpm
High machining conditionMC_H40
Low machining conditionMC_L10
Fitness functionfitness225.69
Table 12. Working specifications of the heavy roughing operation example.
Table 12. Working specifications of the heavy roughing operation example.
Material Specifications
Initial diameterDi100 mm
Final diameterDf40 mm
Machining lengthLm100 mm
HardnessHB250 HB
Specific cutting forceKc725 N/mm2
Machine Specifications
Main motor powerPnet10 kW
Maximum spindle speednmax3000 rpm
General Specifications
Machine operationCTPTRoughing
Stability/Good
Toot lifeTlife15 min
Threshold distanceThd10
Range ap_recap_rec0.01–5 mm
Table 13. Results of the heavy roughing operation example.
Table 13. Results of the heavy roughing operation example.
FeaturesGA ResultsCloser Insert
ICmm15.8712.07
LEmm21.211.7
REmm0.6091.19
WEPfalsefalse
Smm5.564.76
AN
Angle90°90°
GRADE43254325
Cutting Parameters
Closer insertCCMT 12 04 12-PR 4325
Number of passes6
Depth of cut5 mm
Feed rate0.325 mm/r
Cutting velocity261 m/min
Table 14. Goal variables evaluation of the heavy roughing operation example.
Table 14. Goal variables evaluation of the heavy roughing operation example.
Goal variableVariableEvaluation
Power consumptionP5.13 kW
Total power consumption passes × P 30.83 kW
Machining timeTm1.84 min
Euclidean distancedeuclidean4.7830
Spindle speed n 2080 rpm
High machining conditionMC_H40
Low machining conditionMC_L10
Fitness functionFitness86.261
Table 15. Working specifications of the finishing operation example.
Table 15. Working specifications of the finishing operation example.
Material Specifications
Final diameterDf40 mm
Machining lengthLm50 mm
HardnessHB180 HB
Specific cutting forceKc600 N/mm2
Max. surface roughnessRa_max3 μm
Machine Specifications
Main motor powerPnet15 kW
Maximum spindle speednmax6000 rpm
General Specifications
Machine operationCTPTFinishing
Stability/Good
Toot lifeTlife15 min
Threshold distanceThd20
Range ap_recap_rec0.01–5 mm
Table 16. Results of the finishing operation example.
Table 16. Results of the finishing operation example.
FeaturesGA ResultsCloser Insert
ICmm5.556.35
LEmm5.659.87
REmm0.991.19
WEPFalsefalse
Smm1.983.18
AN
Angle35°35°
GRADE43254325
Cutting Parameters
Closer insertVBMT 11 03 12-PF 4325
Depth of cut0.3 mm
Feed rate0.14 mm/r
Cutting velocity434 m/min
Table 17. Goal variables evaluation of the finishing operation example.
Table 17. Goal variables evaluation of the finishing operation example.
Goal VariableVariableEvaluation
Power consumptionP0.189 kW
Machining timeTm0.343 min
Euclidean distancedeuclidean6.48
Spindle speed n 3456 rpm
Surface roughnessRa2.22 μm
High machining conditionMC_H40
Low machining conditionMC_L10
Fitness functionfitness48.33

Share and Cite

MDPI and ACS Style

Solarte-Pardo, B.; Hidalgo, D.; Yeh, S.-S. Cutting Insert and Parameter Optimization for Turning Based on Artificial Neural Networks and a Genetic Algorithm. Appl. Sci. 2019, 9, 479. https://doi.org/10.3390/app9030479

AMA Style

Solarte-Pardo B, Hidalgo D, Yeh S-S. Cutting Insert and Parameter Optimization for Turning Based on Artificial Neural Networks and a Genetic Algorithm. Applied Sciences. 2019; 9(3):479. https://doi.org/10.3390/app9030479

Chicago/Turabian Style

Solarte-Pardo, Bolivar, Diego Hidalgo, and Syh-Shiuh Yeh. 2019. "Cutting Insert and Parameter Optimization for Turning Based on Artificial Neural Networks and a Genetic Algorithm" Applied Sciences 9, no. 3: 479. https://doi.org/10.3390/app9030479

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop