• 沒有找到結果。

Application of a neural network for improving the quality of five-axis machining

N/A
N/A
Protected

Academic year: 2021

Share "Application of a neural network for improving the quality of five-axis machining"

Copied!
13
0
0

加載中.... (立即查看全文)

全文

(1)

Application of a neural network for improving the

quality of ®ve-axis machining

S-L Chen*, C-C Chang and C-H Chang

Institute of Manufacturing Engineering, National Cheng-Kung University, Tainan, Taiwan

Abstract: As many operating parameters are involved in ®ve-axis machining and signi®cantly a€ect the machining results, use of either an analytical method or an experimental method can only solve the problem to a degree. Therefore, a concept for developing a database system using a neural network as the inference mechanism for the purpose of improving the quality of ®ve-axis machining was addressed in this research. A database system was constructed on the basis of the VERICUT cutting simulation and experimental data from previous literature. The simulation data were put into an intelligent database for automatic generation of the suitable tool inclination angle for each cutting point on the machined surface. The tool inclination angle was the dominating factor for improving the surface quality in ®ve-axis machining. The inclination angle was further entered into a post-processor to modify the cutter location ®le and to generate the numerical control (NC) program ®le for practical machining. The input data used in the database required for this system are basic operating parameters, quality requirements and the geometry of the designed sculptured surface. In this research, an intelligent database system for ball mills was successfully established for ®ve-axis machining.

Keywords: ®ve-axis, machining, neural network

1 INTRODUCTION

There are many advantages of using ®ve-axis machining technology for three-dimensional free surface cutting. Owing to the interaction between complicated geometry modelling of the three-dimensional free surface and the ®ve degrees of freedom (DOF) of the ®ve-axis machining system, comprehensive understanding of ®ve-axis machining for improving the cut quality or cut eciency is still lacking. Some commercial software may help to reduce the complex procedure between the design step and practical machining, but the engineer is still required to input many important operating parameters before obtaining a useable numerical control (NC) program. These operating parameters usually signi®cantly a€ect the cut quality (surface roughness, dimension accuracy) in practical application. The skilled engineer and many test trials that are usually required to obtain a good quality cut are both costly and time consuming. The development of an intelligent knowledge database

system for ®ve-axis machining that improves cut quality and cutting eciency is obviously needed.

The main purpose of this research is to investigate the feasibility of using a neural network algorithm intelligently to select one of the operating parameters (inclination angle) of ®ve-axis machining. By inputting some of the basic operating parameters, cut quality requirements and geometry information of the designed three-dimensional free surface, the developed system can generate a set of ideal yaw angles and tilt angles that may signi®cantly improve the cut quality [1]. The generated data can be further entered into a post-processor to obtain a cutter location ®le. The conceptual design of the system developed in this research is shown in Fig. 1. A neural network algorithm was adopted as the inference mechanism of the intelligent database in Fig. 1. The output of the neural network is the yaw angle and tilt angle of the cutter. A popular and simple method for three-dimensional free sculptured surface ®ve-axis machining using a ball-mill assumes that the normal direction of the surface coincides with the orientation of the ball-mill and that the cutter location on the sur-face is the contact point of the ball-mill during machin-ing. The cutter location can be represented using the orientation and location of the cutter (see Fig. 2). The The MS was received on 18 May 1998 and was accepted after revision

for publication on 26 March 1999.

*Corresponding author: Institute of Manufacturing Engineering, National Cheng-Kung University, 1 University Road, Tainan, Taiwan.

(2)

mathematical representation [2, 3] can be shown as L ˆ …MQT;MKT† …1† where MQ Tˆ ‰CXT CYT CZT 1ŠT …2† MK Tˆ ‰NXT NYT NZT 0ŠT …3†

In the above equations, L ˆ …MQ

T;MKT† represents

cutter orientation and location, MK

T represents the

components of cutter orientation (normal direction) related to each axis of the workpiece coordinate …XM; YM; ZM† and MQT represents the components of

cutter location (cut position of free surface) related to each axis of the workpiece coordinate. The advantage of the method discussed in the above section is that the cutter is always normal to the cutting surface. However, this assumes a static cutting situation with low cutting eciency (zero cutting speed) at the ball tip, which

causes poor quality of surface ®nish. An interference cutting condition is easily encountered with complicated free surface cutting using this method [2, 3]. Using the cutter edge as the cutting point was then adopted for improving cutting eciency. Vickers and Quan [4] reported that the surface cut quality can be improved by yawing and tilting the angle of the ball-mill cutter. Their experimental results also showed that, as the inclination angle of the cutting tool decreases, the required number of tool paths decreases. The volume removal rate is increased and the tool life is increased. Similar research performed by ToÈensho€ and Hernandez-Camacho [5] discussed the e€ects of yaw angle and tilt angle on the manufacturability of ®ve-axis die surface machining. An analytical solution of cusp height based on yaw angle and tilt angle was derived by Choi et al. [6]. The path interval was used as the indicated factor for optimizing the yaw and tilt angle.

Until 1994, NC programmers were still required to input yaw angle before machining. This is very inconve-nient and dicult for users, especially when machining a

(3)

complicated sculptured surface. An investigation opti-mizing and dynamically adapting the cutter inclination angle during ®ve-axis milling of a sculptured surface was then undertaken by Kruth and Klewais [1]. The variations in cusp height, surface precision, surface roughness and machining cost with respect to yaw angle and tilt angle with di€erent kinds of tools were investigated in their work.

The application of neural network technology has expanded rapidly in the past decade and become widely accepted by industry. It simulates the transfer mechanism of human neurons and is very useful for the simulation of non-linear systems [7, 8]. As ®ve-axis machining is a very complicated machining process, it is not only very dicult to obtain a com-plete database but also the data will be very compli-cated and too numerous to use traditional database building methods. Neural network technology may overcome the diculties of non-linearity and large quantity of data. The neural network with a back-propagation algorithm is adopted in this research for generating the optimized operating parameters of the ®ve-axis machining process.

2 BASIC THEORY

To derive the cutter location using the inclination angle concept, the transfer matrix, LT

A, between the cutter

coordinate system (XT, YT, ZT) and the local coordinate system (XL, YL, ZL) was ®rst identi®ed. The coordinate system of a ball-mill with inclination angles ! and l is shown in Fig. 2. The three orthogonal unit vectors of the local coordinate system are XL, YL and ZL: XL is

the unit tangent vector, f, along the v curve (u ˆ constant) of the sculptured surface; YL is the unit

normal vector, n, of the cutting point on the sculptured surface; ZLis de®ned as fn ˆ t. Based on the workpiece

coordinate, f, n, t and CL can be further represented as

f ˆ …fX; fY; fZ†, n ˆ …nX; nY; nZ†, t ˆ …tX; tY; tZ† and

CLˆ …CLX; CLY; CLZ† (see Fig. 2). In Fig. 2, the

cutter moves along the tangential direction of the v curve and rotates by angles ! and l is relation to the XL and YL axes respectively. Here, ! is the yaw angle and l is the tilt angle. The cutting point was set at ˆ =2 ÿ in Fig. 2. Then, LA

T, the transfer matrix

between the cutter coordinate system and the local coordinate system with ball-mills, can be obtained as

(4)

follows:

LA

Tˆ rot…YL; ÿ!†rot…ZL; ÿl†trans…ÿr cos ; r sin ; 0†

ˆ

cos ! cos l cos ! sin l ÿ sin ! qX

ÿ sin l cos l 0 qY

sin ! cos l sin ! sin l cos ! qZ

0 0 0 1 2 6 6 6 6 6 4 3 7 7 7 7 7 5 …4†

where r is the diameter of the cutter and qX, qY, qZcan be further described as

qX ˆ ÿr cos ! cos l cos ‡ r cos ! sin l sin …5† qY ˆ r sin ! cos ‡ r cos l sin …6†

qZˆ ÿr sin ! cos l cos ‡ r cos ! sin l sin …7†

Therefore, the transfer matrix,MA

T, between the cutter

coordinate system and the workpiece coordinate system was obtained as MA TˆMAL LA T ˆ fX nX tX CLX fY nY tY CLY fZ nZ tZ CLZ 0 0 0 1 2 6 6 6 6 6 4 3 7 7 7 7 7 5 

cos ! cos l cos ! sin l ÿ sin ! qX

ÿ sin l cos l 0 qY

sin ! cos l sin ! sin l cos ! qZ

0 0 0 1 2 6 6 6 6 6 4 3 7 7 7 7 7 5 ˆ ? KX ? QX ? KY ? QY ? KZ ? QZ 0 0 0 1 2 6 6 6 6 6 4 3 7 7 7 7 7 5 …8†

In the above equation, KX, KY, KZand QX, QY, QZcan

be obtained as follows:

KXˆ fXcos ! sin l ‡ nXcos l ‡ tXsin ! sin l …9† KYˆ fYcos ! sin l ‡ nYcos l ‡ tYsin ! sin l …10†

KZˆ fZcos ! sin l ‡ nZcos l ‡ tZsin ! sin l …11†

QX ˆ fXqX‡ nXqY‡ tXqZ‡ CLX …12† QY ˆ fYqX‡ nYqY‡ tYqZ‡ CLY …13†

QZˆ fZqX‡ nZqY‡ tZqZ‡ CLZ …14†

where ‰KX KY KZ 0ŠT shows the relative components

of each axis between the cutter coordinate system and the workpiece coordinate system, and ‰QX QY QZ 1ŠT

shows the axial components of the original point of the cutter coordinate system relative to the workpiece coordinate system. The cutter location of the ball-mill in this study was then de®ned as L ˆ …Q; K†. In the above discussion, the cutter location ®le L ˆ …Q; K† can be obtained from equations (9) to (14) with the yaw angle and tilt angle given. Di€erent yaw angle and tilt angles have di€erent cutter location ®les. It is obvious that a di€erent yaw angle and tilt angle will produce a di€erent machining quality. The mathematical analysis method is one way to obtain an optimized yaw angle and tilt angle. However, with the ®ve-axis machining process, a mathematical analysis method is very compli-cated and involves many operating parameters. There-fore, this research applies an algorithm automatically to generate yaw angle and tilt angle using a back-propagation neural network calculation.

3 NEURAL NETWORK

The basic architecture of the back-propagation neural network includes an input layer, hidden layers and an output layer [7]. A layer is de®ned as a group of parallel neurons without any interaction between them. In this research, the total layers of the neural network were set as a minimum of three layers and a maximum of ®ve layers. The two main calculations generally included in a neural network are forward calculation and backward calculation. The ®rst weight matrix was randomly gener-ated and applied to the forward calculation. The calcula-tion was executed layer by layer until the output results were obtained from the output layer. The di€erences between the output results and the expected values were used in the backward calculation procedure for calculating the weight matrix. The forward calculation and the backward calculation were repeated until the di€erences between output values and expected values were smaller than an allowable value. As hypertangent functions have the advantages of easy convergence and high stability during the training process, a hypertangent function was used as the action function in this research [7]. In the forward calculation, the input Xi was

multi-plied by the weight value Wij to obtain a total net

value. Using the action function, the output value of each layer was obtained from the total net value. The set of each parallel input parameter was called a pattern. Both forward and backward calculations are very essential for the training process. However, the details of the forward calculation will not be discussed here. A delta rule (gradient descent algorithm) is used to reduce the cost function and approach the right weight value Wij in the backward calculation. The de®nition of cost function is based on the least mean square error, which is E ˆ fe1; e2; e3; . . . ; ei; . . . ; ekg. In the above

(5)

equation [8] eiˆ 12 X ui …Pui ÿ Yiu†2 ˆ 12X ui  Pui ÿ g  X j Wijg  X k WjkXku 2 …15† Yiis the output value of the forward calculation at the ith

neuron and Piis the expected value of the output layer at the ith neuron. In the training mode, the expected values are the data of yaw angle and tilt angle from the cutting simulation. For the application mode, the expected values are the optimized yaw angle and tilt angle which will be further applied to the calculation of the cutter location ®le. The matrix adjustment between the output layer and the hidden layer is then obtained as

Wijˆ ÿ@W@E ijˆ 

X

u

…Pui ÿ Yiu†g…netui†Ouj …16†

where  is the learning rate of the network (increasing the learning rate will increase the training speed but also increase the divergence chance), and g…netu

i† is the

activation function which is a hypertangent function. The adjustment matrix between the input layer and the hidden layer is obtained as

Wjk ˆ ÿ @W@E jk

ˆ X

u

…Pui ÿ Yiu†g…netui†Wijg…netuj†Xku …17†

The ¯ow chart of the neural network subprogram is shown in Fig. 3. The subprogram is edited and constructed using

(6)

C‡‡ language with object-oriented concepts. Yaw angle and tilt angle are the output results of the developed system. It is worth mentioning that a subprogram for curvature analysis of the designed three-dimensional surface is necessary before the neural network calculation can be made. This curvature analysis subprogram was based on C‡‡ language which can accept geometry data from any computer aided design (CAD) software (data generated by a C‡‡ based software, or data with an IGES format). The curvature of any point of interest on a three-dimensional free surface can be obtained from this subprogram. The output of the curvature analysis sub-program was arranged in a special form that can be accepted by the neural network subprogram. Part of the inputs to the neural network subprogram comes from the direct input of the user. A user interactive interface was constructed in this research which can e€ectively read the input data from the user and preprocess the relative input data into an adequate form for the neural network training process or inference process.

The cutting tool diameter and path interval are two important operating parameters that may signi®cantly

a€ect machining quality. The allowable surface average error and allowable maximum error are two important evaluation indices for surface quality evaluation. There-fore, the read-in data include diameter of cutting tool, path interval, allowable surface average error and allow-able maximum surface error. The relative subprograms were loaded and compiled together. Yaw angle and tilt angle can be automatically generated by this system. 4 PARAMETER DESIGN FOR SIMULATION A suitable range of operation parameters of ®ve-axis machining used for the neural network training calcula-tion is essential for a successful intelligent ®ve-axis machining database system. The diameter of the cutting tool, inclination angle, operating information (path interval) and quality requirements were included in each training pattern. Figure 4 shows the con®guration of the neural network used in this study. In the practical machining of a three-dimensional surface, rough machining is usually cut using a 3 or 4 DOF milling

(7)

machine ®rst. Only ®nish machining is considered to be cut on a ®ve-axis machine. Therefore, ®nish machining (not rough machining) was the main step considered in the following research. The feed rate was then set at 600 mm/min. The angular speed of spindle was set at 1200 r/min. The variation in path interval along the v direction, Fv, was considered to be 1, 3 and 5 mm with

a tool diameter of 10 mm, 1.6, 4.8 and 8 mm with a tool diameter of 16 mm, and 2, 6 and 10 mm with a tool diameter of 20 mm. The yaw angles ! and tilt angles l were set at 0, 10 and 208 [1]. Using the param-eters discussed above, the training data ®le for the neural network may have a total of 3  3  4  3  3 ˆ 324 arrays.

Both measured results and calculated results should be considered as indices for evaluating the surface cut quality and can be used as input data for the training calculation. The surface texture on a two-dimensional cross-section is normally used as one of the basic indices for evaluating surface machining quality. The three characteristics of waviness, lay and roughness are necessary for representation of the surface quality of a three-dimensional free surface. Waviness shows the

large-scale quality of the cutting surface and is usually a€ected by de¯ection or vibration of the machine struc-ture. This large-scale variation in machining quality will not be considered in this study. The lay on the machining surface is mainly generated by the tool path and will be discussed in the next section. The surface roughness is a€ected by many parameters such as feed rate, spindle speed, tool shape, chattering, etc. The experimental data will be applied for modifying the simu-lation data. The zigzag method and the pocket method are two popular methods for tool path planning in free surface machining. In these two methods, between any two adjacent tool paths, when the tool is cutting along the u or v direction, there exists a convex section of height h which is usually called the scallop height or cusp height (see Fig. 5). The variation in path interval p (distance between two adjacent tool paths) will a€ect the resulting height h. The projection of the ball-mill along the cutting direction is circular. Lin and Koren [9] and Choi et al. [6] derived the relationship of path interval, surface geometry and cusp height with a ball-mill. Using the de®nition of Fig. 5, the relationship between cusp height and path interval or surface

Fig. 5 Schematic diagram showing the relationship of the operating parameters for three-dimensional free surface machining

(8)

geometry was obtained as follows [6, 9]: p ˆjj  4 r ‡ … †2…h ‡ †2ÿ  2‡ 2r ‡ h ‡ … †22 q r ‡  … †…h ‡ † …19† h ˆ  ÿb ÿpb2ÿ 4c 2 s ÿ ;  > 0 ÿ  ÿb ‡pb2ÿ 4c 2 s ÿ ;  < 0 8 > > > > > < > > > > > : …20†

where p is the path interval of two adjacent tool paths along the v direction, h is the cusp height formed by two adjacent tool paths along the v direction,  is the radius of curvature of the surface curve along the v direction, r is the radius of the ball-mill and b and c are de®ned as

b ˆp2…r ‡ †R2 2ÿ 4…r ‡ †2‡ 4r ‡ 22 …21†

c ˆ 4‡ 4r3‡ 4r22 …22†

In this research, the calculation of the cusp height using equations (19) to (22) is based on the parameters given in Table 1. The cusp height obtained was considered to be the average error of the machined surface. The average error is one of the important factors for evaluating machining quality. It is worth mentioning that equations (19) to (22) do not account for the e€ects of inclination angle on the calculation of cusp height. The e€ects of tool vibration and tool chattering on the accuracy of the NC table will also be encountered in practical machining. Inclusion of all the e€ects would make the theory very complicated. To simplify the explanation and make the implementation easier, only yaw angle and tilt angle will be considered in this research. For di€erent ®ve-axis machining systems and machining environments, it is suggested that data from practical machining be used and measured by the surface rough-ness measuring machine. Considering the situation of

practical machining, a modi®cation of the theoretical cusp height in equation (20) may then be meaningful.

The experimental results of Kruth and Klewais were used in this research to modify the theoretical cusp height. The experimental results of surface roughness and surface deviation versus ball-mill yaw angle with variation in the tilt angle from 0 to 208 were shown in Fig. 6 [1].

As the amount of experimental data was limited, not all digital values required for the input data in the neural network calculation were included. Therefore, a second-order linear regression method was used to inter-polate the experimental results. The regression results were also shown in Fig. 6. The regression results from the experimental data were coupled with the theoretical cusp height in equation (20) to enhance the reality of the surface quality. The coupled result was obtained as follows:

h0ˆ h ‡ f …l† ‡ g…!†

ˆ h ‡ …1:9174l2ÿ 7:6987l ‡ 5†

‡ …ÿ0:2937!2‡ 2:4591! ÿ 2:085† …23†

where h0is the modi®ed cusp height and the yaw angle, !,

and tilt angle, l, are in degrees. Now, the modi®ed cusp height, h0, represents the average error of the machined

surface and will be included in the input data in the train-ing data ®le for the simulation calculation of the neural network. Figure 7 shows the variation in the modi®ed average error with a 20 mm ball-mill. The ratio of path interval to tool radius, p=r, the curvature of the sculp-tured surface, , the yaw angle, !, and the tilt angle, l, were included in Fig. 7. In Fig. 7, the modi®ed average error, h0, increased as the p=r ratio increased. With the same surface curvature, error h0increased slightly when the yaw angle increased but increased very signi®cantly when the tilt angle increased. For di€erent tool dia-meters, a similar tendency was also found. This result is reasonable as the error caused by yaw angle is mainly generated in the u direction. The h0 value

obtained by equation (23) or equation (20) only takes into consideration the v direction. To obtain the

Table 1 Parameter design for neural network calculation

Input layer Output layer

Operation parameters parameterTool informationGeometry Cut quality Inclination angle v direction path interval p (mm) u feed rate F (mm/min) Depth of cut D (mm) Spindle speed N

(/min) Tool diameter' (mm)

Radius of curvature

 (mm) Averageerror  Maximumerror  Yaw angle ! (deg) Tilt angle l (deg) Contact angle (deg) 1, 3, 5 600 0.2 1200 10 200 Equation (23) VERICUT 0 0 80 1.6, 4.8, 8 16 ÿ100100 10 10 2, 6, 10 20 ÿ200 20 20

(9)

maximum overcut and undercut, a full understanding of the coupled e€ects of yaw angle and tilt angle on machin-ing error is necessary. Therefore, a machinmachin-ing simulation using VERICUT was performed and is described below. Using the parameters given in Table 1, The machining simulation was performed by VERICUT simulation software [10]. Both the overcut and undercut were examined using the AUTO-DIFF function [10]. The results of maximum overcut, OCmax, and maximum

undercut, UCmax, were then obtained from the report of cutting simulations. The simulation data of maximum overcut and maximum undercut of each cutting simula-tion were recorded and used for the training data of neural network calculation in this research.

The OCmax and UCmax values obtained from the

AUTO-DIFF checking report were considered as the maximum errors of the machined surface. Figure 8 shows the maximum error of VERICUT cutting

Fig. 6 Experimental results showing the relationship between the ball-mill inclination angle and the dimen-sional o€set error

Fig. 7 Relationship between the dimensional error, h0, and the operating parameters (ball-mill diameter

(10)

simulation results with a  ˆ 100 mm ruled surface. The results of VERICUT cutting simulation show that the maximum error on the free surface is inversely propor-tional to the tool diameter. Therefore, the larger the tool diameter, the smaller is the cutting error. Also, the maximum error has a similar tendency regardless of the variation in curvature of the three-dimensional free surface.

In Fig. 8, some of the simulation results are irregular. The simulation was repeated several times to examine the irregularity, as irregular data may a€ect the training results of the neural network. The data irregularity may be due to software ¯oating point calculation error or the singular point on the cutting boundary. However, results of the neural network simulation proved this irregularity to be within the acceptable range.

5 INFERENCE RESULTS AND DISCUSSIONS The data obtained from the above were applied to the inference mechanism of the knowledge database system for learning purposes. Some pilot studies were designed and performed to examine the learning performance or convergence speed of the neural network with di€erent network parameters. Here, the network parameters include the learning rate, the number of layers and the number of neurons on each layer. The learning rate was substantially decreased from 0.05 to 0.001 during the numerical calculation. The decreasing rate depended on the convergence rate. The noise factor and momen-tum term were set at 0.01 and 0.001 respectively and ®xed through the analysis process. The setting values

were obtained from practical experience of the pilot study. Figure 9 shows the convergence speed comparison of three-, four- and ®ve-layer networks with the same training data. In Fig. 9, the training cycle number is shown on the horizontal axis and the error of the last training cycle is shown on the vertical axis. The error of the last cycle in Fig. 9 shows that a three-layer archi-tecture is much less accurate than a four- or ®ve-layer architecture. Several kinds of neuron arrangement for the three-layer network (6±18±2, 6±8±2, 6±4±2) were also designed and tested in the pilot study. The results show that the convergence speed was similar and no signi®cant improvement could be achieved by varying the neuron arrangement for three-layer architecture. Therefore only four- and ®ve-layer architectures were further considered to investigate the inference perfor-mance of a neural network in this research.

For the four-layer network, the example neuron arrangement design was 6±12±10±2. Six neurons were used in the input because there were six parameters used for the training process. The parameters for neural network calculation are summarized in Table 1. The average error in Table 1 was calculated using equa-tion (23) with di€erent parameters. The maximum error in Table 1 was obtained from the AUTO-DIFF function of VERICUT simulation. The two neurons in the output layer represent the yaw angle and tilt angle of the cutter. As discussed in the above sections, yaw angle and tilt angle were the parameters expected to be important for improving the quality of ®ve-axis machining.

For the ®ve-layer network, the example neuron arrangement design was 6±12±10±8±2. A typical training result of the neural network is summarized in

(11)

Table 2. In Table 2, the results of the ®ve-layer network show better convergence speed than the four-layer network, with the same allowable error of 0.001. This implies that the neuron arrangement of a ®ve-layer network has better inference performance when repre-senting the non-linear interaction between the input parameters. With the same required allowable error, the required training times are more for a four-layer network than for a ®ve-layer network. The converging condition during the learning procedure is shown in Fig. 10. For the inference performance, both the four-and ®ve-layer networks have a predicted output with an average error lower than 1 per cent (see Table 2).

A very interesting result worth mentioning is that the predicted error of tilt angle in both four- and ®ve-layer networks is lower than 0.2 per cent, which is much better than the predicted error for yaw angle output (see Fig. 11). From the discussion of modi®ed cusp height [average error in equation (23)], the average dimension error increased proportionally with an increase in tilt angle or yaw angle (see Fig. 7). However, the relationship between the maximum error and the inclination angle is highly non-linear (see Fig. 8). For a tool diameter of 10 mm with a path interval of 3 or 5 mm in Fig. 8, the

maximum error was very similar for some cases. This may be why the test result of the yaw angle has a slightly larger error. This error did not cause any diculties in the application of a neural network in the intelligent database system. The allowable error of the neural network calcula-tion can approach less than 1 per cent (even for yaw angle calculation), with very good inference ability. The ! and l angles obtained can be further applied to equations (9) to (14) to obtain a cutter location ®le to be used for practical machining.

6 SUMMARY

The neural network algorithm was used as an inference mechanism in the system developed in this research for improving the cut quality of ®ve-axis machining. The system developed in this research can intelligently generate improved digital values of yaw angle and tilt angle for ®ve-axis machining. The input data included path interval (operating parameters), dimension average error and max-imum error (quality) and curvature at cutting point (geo-metry of the designed three-dimensional free surface). The results obtained can be entered into the post-processor

Fig. 9 Comparison of convergence speed for three-, four- and ®ve-layer network architecture with the same training data

Table 2 Two study cases showing neural network training results

Number of layers 4 5

Architecture of network 6±12±10±2 6±12±10±8±2

Allowable error 0.001 0.001

Training times when allowable error (%) reached 37 002  5 13 503  5

(12)

Fig. 10 Converging condition for four-layer (6±12±10±2) and ®ve-layer (6±12±10±8±2) architecture

(13)

to generate the cutter location ®le and the NC ®le for prac-tical machining. The VERICUT cutting simulation is also used in this research to supply part of the simulation data used for the database system veri®cation. The ball-mill database was successfully established in this research. The veri®cation shows the feasibility of using a neural net-work as the inference mechanism e€ectively to generate the inclination angle for ®ve-axis machining.

ACKNOWLEDGEMENTS

The authors are grateful to the ITRI and NSC of Taiwan for ®nancial support (NSC 87-2218-E-006-031). Special thanks are due to Professor Rong-Seng Lee, Dr Chen-Hua She and Mr Jeng-Nan Lee for their constructive comments and advice.

REFERENCES

1 Kruth, J. P. and Klewais, P. Optimization and dynamic adaptation of the cutter inclination during ®ve-axis milling

of sculptured surface. Ann. CIRP, 1994, 43(1), 443±448. 2 Marciniak, K. In¯uence of surface shape on admissible tool position in 5-axis face milling. Computer-Aided Des., 1987, 19(5), 233±236.

3 Takeuchi, Y. and Takahiro, W. Generation of 5-axis control collision-free tool path and postprocessing for NC data. Ann. CIRP, 1992, 41, 539±542.

4 Vickers, G. W. and Quan, K. W. Ball-mills versus end-mills for curved surface machining. Trans. ASME, J. Engng for Industry, 1989, 111, 22±26.

5 ToÈensho€, H. K. and Hernandez-Camacho, J. Die manufac-turing by 5 and 3-axes milling. J. Mech. Working Technol., 1989, 20, 105±109.

6 Choi, B. K., Lee, C. S., Hwang, J. S. and Jun, C. S. Compound surface modelling and machining. Computer-Aided Des., 1988, 20(3), 127±136.

7 Bart, K. Neural Networks and Fuzzy Systems, 1992 (Prentice-Hall, New York).

8 Welstead, S. T. Neural Network and Fuzzy Logic Applica-tions in C=C ‡ ‡, 1994 (John Wiley).

9 Lin, R. S. and Koren, Y. Ecient tool-path planning for machining free-form surfaces. Trans. ASME, J. Engng for Industry, February 1996, 33(1), 20±28.

10 VERICUT User Manual, 1994 (CGTech Corporation, California).

數據

Fig. 4 Con®guration of the neural network
Fig. 5 Schematic diagram showing the relationship of the operating parameters for three-dimensional free surface machining
Fig. 7 Relationship between the dimensional error, h 0 , and the operating parameters (ball-mill diameter 10 mm)
Table 2. In Table 2, the results of the ®ve-layer network show better convergence speed than the four-layer network, with the same allowable error of 0.001
+2

參考文獻

相關文件

• to develop a culture of learning to learn through self-evaluation and self-improvement, and to develop a research culture for improving the quality of learning and teaching

The research proposes a data oriented approach for choosing the type of clustering algorithms and a new cluster validity index for choosing their input parameters.. The

Wang, Solving pseudomonotone variational inequalities and pseudocon- vex optimization problems using the projection neural network, IEEE Transactions on Neural Networks 17

If the bootstrap distribution of a statistic shows a normal shape and small bias, we can get a confidence interval for the parameter by using the boot- strap standard error and

Define instead the imaginary.. potential, magnetic field, lattice…) Dirac-BdG Hamiltonian:. with small, and matrix

Akira Hirakawa, A History of Indian Buddhism: From Śākyamuni to Early Mahāyāna, translated by Paul Groner, Honolulu: University of Hawaii Press, 1990. Dhivan Jones, “The Five

In case of non UPnP AV scenario, any application (acting as a Control Point) can invoke the QosManager service for setting up the Quality of Service for a particular traffic..

“Big data is high-volume, high-velocity and high-variety information assets that demand cost-effective, innovative forms of information processing for enhanced?. insight and