(a) Field of the Invention
The present invention relates to CNC (computer numerically controlled) machining technology, and more particularly, to off-line feed rate scheduling for reduction of machining time and enhancement of machining accuracy in CNC machining.
(b) Description of the Related Art
Research into metal machining technologies has taken on increasing importance as design and production cycles of a product become shorter in response to changing consumer demand. This is particularly true in the present-day industrial situation where a company's survival is closely linked to its ability to remain economically competitive. Modern production workers perform machining by relying upon empirical machining conditions even after a tool path is generated using CAM (computer aided manufacturing) software. Production workers depend mainly on stable machining conditions such that production time is reduced. Further, in transient cut regions such as a corner section where a tool path is encountered, machined surface errors occur severely because production workers randomly adjust a feed rate in these regions. In addition, many processes are required to remove these machined surface errors generated during NC machining.
These problems may be overcome through the systematic selection of machining conditions. Since a feed rate scheduling system gives a manufacturing machine user optimum machining conditions that take into consideration ease of machining, machining stability, and machined surface errors, it can be a useful tool in many respects (e.g., to reduce production costs and to make more various kinds of small production).
In CNC machining, although the need to optimize feed rate, which is related to productivity improvement, is becoming increasingly important, it has not yet become a common technology that can be used for the manufacture of a wide variety of products. This is a result of the fact that analysis is not definitely performed with respect to the cutting process such that it is difficult to anticipate machining results of various cutting conditions. In order to determine optimum cutting conditions for CNC machining, a process of trial and error is undertaken. Since it is difficult to format this knowledge for input to a database, a new production worker must start anew until he or she becomes familiar with the processes.
CAM software companies are introducing feed rate optimization methods to improve their competitiveness. However, feed rate optimization methods used in most CAM software available today uniformly maintain an MRR (material removal rate) in consideration of a geometric relation between a workpiece and a tool. However, in methods utilizing MRR, it is not possible to put precision adjustment of a cutting force and a cutting force coefficient in database form. Since the intensity of the cutting force may vary greatly according to changes in spindle speed even with the same MRR, such methods result in reducing competitiveness. Accordingly, a feed rate scheduling method that is based on a cutting force model is needed. If accurate, the cutting force model would be able to be effectively applied to feed rate scheduling.
In one exemplary embodiment of the present invention, there is provided an off-line feed rate scheduling method that improves machining precision and productivity during CNC machining by developing an off-line feed rate scheduling model that optimizes feed rate in CNC machining based on a cutting force model and a surface error model.
In an exemplary embodiment of the present invention, an off-line feed rate scheduling method of a CNC machining process includes selecting a constraint variable and inputting a reference value related to the constraint variable; estimating a cutting configuration where a maximum constraint variable value (CVV) occurs through ME Z-map modeling; receiving the estimated cutting configuration and estimating a specific rotation angle (q s) where the maximum constraint variable value occurs through constraint variable modeling; calculating a feed rate that satisfies the reference value of the constraint variable at the estimated specific rotation angle; and applying the calculated feed rate to the NC code.
The cutting force or machined surface error may be selected as the constraint variable depending on machining conditions.
Calculating the feed rate includes inputting specific feed rates f1 and f2 (f1<f2); calculating maximum constraint variable values CVV1 and CVV2 corresponding to the feed rates f1 and f2, respectively, at the specific rotation angle; approximating a feed rate fnext that corresponds to a reference value RV of a constraint variable value using the formula
The computing a cutting configuration through ME Z-map modeling includes searching for node points located in cutting area; identifying whether a target node is the edge node (the node closest to cutter edge) or not; calculating and updating a height value of each node in cutting area; moving a target node if it is an edge node and storing movement direction angles; and computing the cutting configurations using the stored angles.
If a difference between a distance from a tool center to a target node and a tool radius is smaller than a movement limit, this node is designated as an edge node. Also, the cutting configurations computed through ME Z-map modeling include an entry angle, an exit angle, an axial depth of cut, and so on.
The accompanying drawings, which together with the specification, illustrate exemplary embodiments of the present invention, and, together with the description, serve to explain the principles of the present invention.
Exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
An off-line feed rate scheduling system includes a cutting force model, a machined surface error model, an ME (moving edge node) Z-map model, and an optimum feed rate scheduling algorithm.
As shown in
Further, cutting configurations such as a tool traveling direction, a tool entry/exit angle, an axial depth of cut, etc. are calculated from the ME Z-map and transmitted to the cutting force model and the machined surface error model. Next, cutting force, tool deflection, and machined surface errors are calculated from the cutting force model and the machined surface error model. So that these values satisfy reference values, the feed rate scheduling algorithm is used to find the desired feed rate and provide an optimized feed rate to the NC code.
The method of performing feed rate scheduling varies depending on the constraint variable. In this exemplary embodiment, cutting force or machined surface errors may be selected as the constraint variable. That is, in the case where the user intends to adjust cutting force or machined surface errors, a feed rate scheduling method according to the selection of each constraint variable may be used. The user may select cutting force or machined surface error as the constraint variable according to the step of rough cutting, semi-finish cutting, and finish cutting. Typically, cutting force is selected as the constraint variable in rough cutting and semi-finish cutting, and machined surface error is selected as the constraint variable in finish cutting.
In the following, a method of calculating and obtaining models of each of the cutting force and machined surface error, and of calculating a cutting configuration through the ME Z-map model, is presented. Also, a method is described in which these constraint variable (cutting force and machined surface error) models and the ME Z-map model are used to calculate an optimum feed rate according to allowed reference values.
In the case where cutting force is selected as the constraint variable, a cutting force model is required to estimate the cutting force. In this exemplary embodiment, cutting force models with respect to flat end milling and ball end milling have been calculated.
[Flat End Milling Cutting Force Model]
The end milling cutter, as usual, is divided into a finite number of disk elements and the total x-, y-, and z-force components acting on a flute at a particular instant are obtained by summing up the force components acting on each individual disk element.
In
In Formula 1, an angle position of a cutter edge is obtained using Formula 2.
φ(i,j,k)=α(i,k)+θ(j)
θ(j)=−jΔθ [Formula 2]
If the cutting force components on rake surface is divided into a normal pressure force dFn(φ) and a frictional force dFf(φ), Formulas 3 and 4 are obtained.
dFn(α, θ)=KnA(θ){right arrow over (n)}(α)dAc [Formula 3]
In the above conditions, αr is a rake angle and tc(φ)) is uncut chip thickness, which are calculated considering tool deflection and run out.
If the cutting force is shown in a rectangular coordinate system using the normal pressure force and the frictional force, Formula 5 is obtained.
Fx(i,j,k)=[C1Kn cos(φ−ar)+KfKnC3 cos θ−KfKnC4 sin(φ−ar)]tc(φ)B1
Fy(i,j,k)=[C1Kn sin(φ−ar)+KfKnC3 sin φ+KfKnC4 cos(φ−ar)]tc(φ)B1
Fz(i,j,k)=[−C2Kn+KfKnC5]tc(φ)B1 [Formula 5
Accordingly, cutting force components of each direction according to the rotation angle of the cutter are obtained by Formula 6. Kn, Kf, and θc according to cutter rotation angle can be obtained using Fx, Fy, and Fz measured through experimentation.
The cutting force coefficient may be obtained using an instantaneous cutting force generated by a cutting edge of a tool disk element obtained by the method as shown in
With reference to
An uncut chip thickness model is needed to calculate cutting force in Formula 5.
Formula 10 is used to model uncut chip thickness using the cutter geometry. This model has the advantage of requiring only a minimal time to calculate uncut chip thickness, but it is limited in its precision as it simply reflects a geometric state.
tc(φ)=ft sin φ [Formula 10]
In this exemplary embodiment, uncut chip thickness is calculated while following the movement of the tool. That is, a difference between a track of a previous edge left on a surface of the workpiece and a present position of the tool is used to obtain the uncut chip thickness. As shown in
ytm=(−1/tan φ)·xtm
(xtm−xam)2+(ytm−yam)2=R2 [Formula 11]
From Formula 11, the uncut chip thickness may be calculated using Formula 12.
tcm(i,j,k)=R−{square root}{square root over (x2tm+y2tm)}
tc=Max[0, Min(tcm(i,j,k))] [Formula 12]
In the following, cutting force model, cutting force coefficients, and uncut chip thickness model in the case where a ball end milling tool is used are presented.
[Ball End Milling Cutting Force Model]
The envelope of the ball part of the ball-end mill can be expressed by Formulae 13 and 14 below:
R(z)2+(z−R0)2=R02 [Formula 13]
R(z)2=x2+y2 [Formula 14]
A local helical angle is determined by Formula 15 below.
In
{right arrow over (n)}=cos αr{right arrow over (i)}−sin αr{right arrow over (j)} [Formula 16]
The unit vectors tangent to the cutting edge are obtained by Formula 17 below.
The unit vector {right arrow over (b)} that is normal to the tangential direction of the cutting edge and on the rake surface is as shown in Formula 18 below.
Accordingly, the chip flow vector is obtained by Formula 19 below.
The cutting force on the rake surface is determined by two orthogonal components, that is, a normal pressure force and a frictional force as shown in Formulae 20 and 21 below.
dFn(i,j,k)=KnT(φ, θhl){right arrow over (n)}dAc [Formula 20]
dFf(i,j,k)=KfKnT(φ, θhl){right arrow over (T)}cdAc [Formula 21]
The transformation matrix resulting from the cutter rotation angle θ and the helical angle θh is obtained using Formula 22 below.
If the normal pressure force and the frictional force on the rake surface are converted into a cutting force of three axial directions, the following Formulae 23, 24, and 25 result.
Each directional cutting force component according to the rotation angle of the cutter can be obtained using Formula 26 below. Using the cutting force Fj measured from experiment, the cutting force coefficient according to cutter rotation angle, Kn, Kf, and θc can be obtained.
If Formula 26 is put in matrix form, Formula 27 is obtained.
K1, K2, and K3 can be obtained from the measured cutting force, and the cutting force coefficient can be calculated using Formula 28 as follows.
In ball end milling, after obtaining a cutting force generated by disk elements by the method shown in
Since Kf and θc are not affected by the length of each disk edge, they are obtained using the instantaneous uncut chip thickness tcr. [Formula 30]
Kf=B.-(B.-B2)e-3′
In the 3D machining shown in
tc(z)=ft·sin φ·cos ψ+DR(z) [Formula 32]
In the 3D machining shown in
Accordingly, uncut chip thickness is calculated using the following Formula 34 in
tcm(i,j,k,m)=R(z)−{square root}{square root over (xtm(m)2+ytm(m)2)}
tc(z)=Max[0, Min(tcm(i,j,k,m))] [Formula 34]
[Machined Surface Error Model]
In the following, a machined surface error model is described. This model is used to estimate surface errors when machined surface errors are selected as the constraint variable.
As shown in
Surface Error Estimation in First Case (
Cusp errors (or cutter marks) that may develop by flat end milling and ball end milling are generated by feed per tooth ft and tool radius R as shown in
Surface Error Estimation in Second Case (
Tool runout generated during tool set up may be determined by offset and its angle term as shown in
xρ(j)=−ρ sin(αrun−θ(j))
yρ(j)=−ρ cos(αrun−θ(j)) [Formula 36]
Using the cutting edge coordinates obtained while determining uncut chip thickness according to tool movement, machined surface errors are more easily estimated. In the case of actual machining, machined surface errors may be obtained using cutting edge position (px,k, py,k)i at the instant when the cutting edge position angle, which passes the machined surface, is 0. Further, using (px,k, py,k)i coordinates at each disk element, three-dimensional machined errors may be formed. The (px,k, py,k)i coordinates show the passed positions of the actual tool edge, that is, the positions including machined surface errors. These machined surface errors may be calculated using the following Formula 38.
E(j,k)=yρ(j)+Yd(j,k) [Formula 38]
Surface Error Estimation in Third Case (
[ME Z-Map Model]
As illustrated in
x=i·g+ax
y=j·g+ay [Formula 40]
In the simulation process, every node position is calculated one after another and the node located in edge area is defined as the edge node as illustrated in
The procedure of moving an edge node consists of the next two steps. The first step is to identify whether a target node is located in the edge area or not. If the difference between the cutter radius and the distance between the target node and cutter center is smaller than the movement limit of an edge node as illustrated in
Io is the movement limit of the initial node position (when ax and ay are 0), and Ip and In are the movement limit for positive and negative directions, respectively. The second step is moving the target node if it is located in edge area. The moving of node can be realized by adjustment of ax and ay values. Then, the updated values, ax′ and ay′, can be described in Formula 42.
ax′=ax+(rd−dn)·cos θm
ay′=ay+(rd−dn)·sin θm [Formula 42]
In order to estimate the cutting force of the milling process, it is necessary to calculate a cutting configuration through simulation. The cutting configuration generally includes entry angle, exit angle, and axial depth of cut. The computing process of entry/exit angle for each node is as follows:
First, it is determined if a target node is located in the cutting area. Second, if the target node is the edge node, it is moved and a height value of node is changed. Third, if the target node is the edge node, an angle of movement direction is stored. Fourth, the entry angle and the exit angle are calculated using the stored angle of movement.
In a cutting condition where only one of each of an entry angle and an exit angle are existed, the largest value of the stored movement direction angles is set as the entry angle, and the smallest value is decided on the exit angle. However, as illustrated in
In the case of flat end milling, all disk elements have the same entry and exit angles. However, in ball end milling, each disk element has a different radius as shown in
rg(n)−rg(n−1)>{square root}{square root over (2)}g [Formula 44]
A flowchart for computing the cutting configuration is illustrated in
In
In this calculation process of the cutting configuration, an analytical method (CSS calculation method) was used to find the height value (z-value) of cutter swept surface in a specific node. The z-value is used to determine whether the target node is located in machining region or not (if a height of the target node is lower than the height of cutter swept surface in the target node, the target node is located in the machining region.)
Based on the developed cutting force model, surface error model, and the ME Z-map model, an optimum feed rate can be calculated through a feed rate scheduling algorithm, which will be described below.
When cutting force is selected as a constraint variable, it is necessary to obtain an optimum feed rate for adjusting a maximum resultant force of the cutting force using the cutting force model. Two reference cutting forces as shown in Formula 45 below are considered using a tool transverse rupture strength presented by tool manufacturers.
RF1=SF·TRS·S1
RF2=SF·TRS·S2 [Formula 45]
RL2 indicates the distance between E1(x1,y1) and E2(x2,y2). E1 is calculated as (Fc·tan a,−Fc) and E2 is determined as the intersection point between RL2 and the 1st flank plane or between RL2 and the 2nd flank plane.
If RL2 meets the 1st flank plane, that is,
E2 can be calculated as follows:
If RL2 meets the 2st flank plane, that is,
E2 can be calculated as follows:
Since the reference cutting force is given as the resultant cutting force in the XY plane, RF2, the normal force on the rake force should be transformed as follows:
RF21=Nd·R1·{square root}{square root over ((1+B12))} [Formula 49]
where B1 is the parameter of Kf used in Formula 30, and Nd means the number of disk elements engaged in a workpiece.
Finally, the minimum value between RF1 and RF2′ is selected as a reference cutting force as follows:
Reference cutting force=Min(RF1, RF2′) [Formula 50]
If the reference cutting force is determined using such a method, a feed rate that satisfies the reference cutting force can be obtained using a feed rate scheduling method based on the cutting force model.
In the case where surface errors are selected as the constraint variable, the optimum feed rate for adjusting a maximum value of surface errors can be obtained using the machined surface error model. The feed rate that satisfies the given allowable error is calculated from the machined surface error model.
[Feed Rate Scheduling Algorithm]
In the present invention, there is proposed a simulation time reduction method for feed rate scheduling. This algorithm first determines a position of a tool path that generates a maximum value of a constraint variable (cutting force/surface error) during one rotation in the given simulation interval, then provides a maximum feed rate at that position for adjusting a maximum constraint variable value as a standard value. When the constraint variable value is estimated, it takes a significant amount of time to calculate tool deflection always from 0 degrees to 360 degrees. To prevent an increase in the simulation time occurring as the calculation is repeated, feed rate scheduling is performed only at a position of a specific tool path.
The actual uncut chip thickness in the cutting force model and the surface error model of the present invention is calculated considering tool deflection and run out, and positions passed by previous edges. Although this method increases the precision in estimating cutting force and surface error, since it uses an algorithm that repeats computations to converge on a correct solution when calculating tool deflection, the time required for calculation is increased. Accordingly, when estimating a position where a maximum value of a constraint variable in a tool path occurs and a position angle where a maximum value of a constraint variable in one rotation occurs, a geometric uncut chip thickness is calculated as shown in Formulae 10 and 32. As shown in
The maximum value of the constraint variable has a tendency to increase as a feed rate increases in the given axial depth of cut and cutting speed. Using this relation, a feed rate corresponding to a reference cutting force can be obtained through a linear search. With reference to
With reference to
That is, following calculation of a constraint variable CVVnext of when the feed rate is fnext, it is determined using Formula 52 below if the constraint variable value CVVnext when compared to the reference value RV is less than the error limit. When it is less than the error limit, the feed rate fnext is applied to the NC code. However, when this value is not less than the error limit and the reference value RV is greater than the constraint variable value CVVnext, the feed rate f2 is replaced by fnext. Further, when this value is not less than the error limit and the reference value is not greater than the constraint variable value CVVnext, the feed rate f1 is replaced by fnext, then the process of obtaining fnext is repeated.
Since the feed rate is a natural number, an optimum feed rate can be quickly obtained through such a method.
Automatic acceleration and deceleration by a controller is realized in exponential function form in an A, C interval as shown in
If a look-ahead function is not supported in a controller, it is not possible to obtain a desired feed rate in a block that is smaller than the acceleration and deceleration time of the manufacturing machine. Therefore, when the NC code is divided to optimize feed rate, it is necessary that the block size be greater than the acceleration and deceleration time. In order to perform machining of a block to a predetermined feed rate, the size of the block must be at least two to three times greater than the acceleration and deceleration time, and the greater the block size the longer the predetermined interval of the feed rate becomes. Accordingly, in the present invention, although an NC code block is divided when the amount of change in a constraint variable value surpasses a reference value, when the size of the divided block is smaller than a size determined by considering acceleration and deceleration, the NC code block is divided at the position where the block starts to be greater than the limited size.
In the off-line feed rate scheduling method of the present invention described above, a feed rate scheduling method is developed based on a cutting force model and a surface error model. Therefore, machining precision and productivity can be improved during CNC machining using the proposed feed rate scheduling model.
Although embodiments of the present invention have been described in detail hereinabove in connection with certain exemplary embodiments, it should be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary is intended to cover various modifications and/or equivalent arrangements included within the spirit and scope of the present invention, as defined in the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
10-2003-0082695 | Nov 2003 | KR | national |