Field of the Invention
The present invention relates to a numerical controller, and more particularly, to a numerical controller for controlling a collision position of a cutter tip of a tool and a workpiece.
Description of the Related Art
In rough machining or the like in face milling, if an engage angle at which a cutter tip engages a workpiece is too large, the thickness of chips produced when the cutter tip engages the workpiece is reduced, so that the workpiece is elastically deformed. Accordingly, a large force is applied to the nose of the cutter tip, thereby easily causing chipping. If the engage angle is too small, in contrast, the thickness of chips produced when the cutter tip engages the workpiece increases, so that the cutter tip is more shocked. Thus, chipping also occurs easily. In order to extend the tool life, therefore, it is necessary to program a tool center path in consideration of the engage angle to be confined within an appropriate range in which chipping cannot easily occur.
Conventionally, some techniques have been proposed to reduce wear and damage to cutter tips of tools. In a method disclosed in Japanese Patent Application Laid-Open No. 2003-170333, for example, a feed path is formed such that the maximum chip thickness of a chip portion produced by a tool before cutting and an arc length of cutting engagement are constant throughout the feed path. Thus, according to this method, wear and damage to cutter tips are reduced by keeping the cutting resistance constant. In machining methods disclosed in Japanese Patent Applications Laid-Open Nos. 2005-050255, 2003-263208 and the like, moreover, the cutting resistance and feed rate are kept constant by forming a tool path such that the engage angle can be kept constant. Further, there are disclosed methods in which the cutting resistance is detected to control the feed rate and spindle speed (Japanese Patents Nos. 4568880, 4923175, etc.) and methods in which the feed rate and spindle speed are controlled to keep the cutting resistance constant (Japanese Patent Applications Laid-Open Nos. 2002-233930, 2004-330368, etc.).
In these disclosed conventional methods, wear and damage to the tool are suppressed by simply keeping the cutting resistance and feed rate constant. According to these conventional techniques, the tool cutter tips and the workpiece can engage (or collide) in satisfactory positions without making the above-described engage angle too large or too small.
In some cases, however, chipping of the cutter tips cannot be prevented even with use of the conventional techniques.
Accordingly, the object of the present invention is to provide a numerical controller capable of suppressing the occurrence of chipping due to concentration of a force produced by collision between a cutter tip of a tool and a workpiece at the time of rough machining or the like in face milling.
According to the present invention, a numerical controller is provided with a means for compensating a programmed tool center path based on tool information, shape information on a workpiece, and ranges and frequencies of use of a cutter tip and a means for compensating the tool center path based on a spindle load current and a pre-specified tolerance of the spindle load current.
A numerical controller according to the present invention controls a machine, which is configured so that a workpiece and a tool are relatively moved for machining by a drive mechanism and a spindle for rotating the tool, based on a machining program for specifying a movement path of the center of the tool. The numerical controller comprises a tool storage unit configured to store tool information including the diameter of the tool and the number of cutter tips attached to the tool, a cutter tip information storage unit configured to store usable ranges of the cutter tips and use frequencies in positions within the usable ranges of the cutter tips, a workpiece shape data storage unit configured to store workpiece shape data indicative of a shape of the workpiece, and a compensation unit configured to generate a compensated tool path, which is a compensated version of the tool center path, so that the number of collisions with the workpiece in positions on the cutter tips complies with the use frequencies, based on the tool information, the tool center movement path specified by the machining program, the workpiece shape data, and the cutter tip information.
The numerical controller may further comprise an engage angle information storage means for storing engage angle information including usable ranges of engage angles at which the cutter tips collide with the workpiece and use frequencies at the engage angles within the usable ranges thereof, and the compensation unit may be configured to generate a compensated tool path, which is a compensated version of the tool center path, so that the number of collisions with the workpiece at the engage angles of the cutter tips complies with the use frequencies, based on the tool information, the tool center movement path specified by the machining program, the workpiece shape data, and the engage angle information.
The numerical controller may comprise a spindle load current tolerance storage unit configured to store a spindle load current tolerance, which is a maximum allowable value of a spindle load current during cutting, and a spindle load current value during actual machining along a compensated tool path obtained by compensation by the compensation unit may be acquired such that the spindle load current value and the spindle load current tolerance are compared and the compensated tool path is further compensated based on the result of the comparison.
According to the present invention, a force produced by collision between a cutter tip of a tool and a workpiece at the time of rough machining or the like in face milling is prevented from being concentrated on a specific position on the cutter tip so that the occurrence of chipping due to force concentration can be suppressed.
The above and other objects and features of the present invention will be obvious from the ensuing description of embodiments with reference to the accompanying drawings, in which:
This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2015-193278, filed Sep. 30, 2015, the entire contents of which are incorporated herein by reference.
An embodiment of the present invention will now be described with reference to the accompanying drawings.
In face milling using a tool with a cutter tip, according to the present embodiment, the position of the tool is compensated perpendicularly relative to a programmed tool center path so that collision positions of the cutter tip and a workpiece are not concentrated to specific positions on the cutter tip, as shown in
According to the present embodiment, there is provided a numerical controller in which a tool path such that the collision positions of the cutter tip and the workpiece are not concentrated to specific positions on the cutter tip is generated based on information on the tool with the cutter tip used for face milling, shape information of the workpiece, and information on the working range of the cutter tip.
The command analysis unit 2 analyzes blocks of a machining program 10 and generates data used for the movement of the axes. The interpolation unit 3 performs interpolation processing for the data output from the command analysis unit 2, thereby generating interpolation data based on interpolation calculation of points on a command path for each axis.
The acceleration/deceleration units 4x and 4y for the axes perform acceleration/deceleration processing based on the interpolation data generated by the interpolation unit 3, calculate speeds of the axes for each interpolation period, and output the resulting data to the compensation unit 5.
The compensation unit 5 performs compensation of the interpolation data using tool information 11, cutter tip information 12, and workpiece shape data 13 according to the procedure described later.
The servos 6x and 6y for the axes control servomotors for driving the axes of a machine based on the result of the interpolation by the compensation unit 5.
Configurations of a spindle control unit for rotation control of a spindle and the like are not shown in the drawings.
The following is a description of procedure of compensation of the tool center path performed by the compensation unit 5.
The usable ranges L0 and L1 of the cutter tip are set in advance based on the specifications (material, hardness, shape, etc.) of the cutter tip. Further, the use frequency in each position within the usable ranges of the cutter tip is determined by the result of an endurance experiment previously conducted in each position on the cutter tip.
The tool information and the cutter tip information are input using input means of the numerical controller or the like and loaded into a memory of the numerical controller. Likewise, a machining program for specifying the tool center path and the workpiece shape data are input using the input means of the numerical controller or the like and loaded into the memory of the numerical controller.
Then, in the face milling based on the machining program, the numerical controller of the present embodiment stored with the above-described information obtains a collision position Pn of the cutter tip and the workpiece corresponding to a tool center Gn, which is the point of intersection of the workpiece shape data and a circle (dotted-line circle in
After the above-described calculation, the numerical controller of the present embodiment calculates parameters for a case in which a tool center position is compensated perpendicularly relative to the tool center path so as to collide with the lower end of the cutter tip (in a position at a distance (D+L0) from the tool center position) and the workpiece, as shown in
The numerical controller compensates the tool center position perpendicularly relative to the tool path within the compensation range ω. When this compensation is performed, the frequencies of use within the usable ranges of the cutter tip and the positions on the cutter tip within the compensation range ω are associated with one another. Specifically, if use frequencies for positions Cp0, Cp1 and Cpm on the cutter tip are K0, K1 and Km, respectively, the numerical controller generates the tool center path so that the ratio between frequencies of collision in positions Cp0, Cp1, . . . Cpm is K0:K1: . . . :Km. Thus, the tool center path is compensated in the manner shown in
Based on the collision frequency ratio (K0:K1: . . . :Km) in the position Cpi (i=0 to m) on the cutter tip, at this time, the numerical controller determines the position Cpi on the cutter tip used for compensation at each compensation point (tool center Gn) shown in
L
n
=D+Cdp
i, (1)
where i is i=0, . . . , n.
E=M/d+1. (2)
The compensation based on the position Cpi on the cutter tip is performed (E×Ki) times. An interval INTVALi (shown in the flowchart of
In the case of the present embodiment, the engage angles θ0 and θ1 shown in
The tolerances of the engage angles are input using input means (not shown) or the like of the numerical controller 1 and stored in a memory (not shown) of the numerical controller 1. As this is done, moreover, the use frequencies at the engage angles within the tolerances of the engage angles are also accepted through the input means (not shown) or the like of the numerical controller 1 and stored in the memory (not shown) of the numerical controller 1. The use frequency at each engage angle within the usable ranges thereof is determined in advance by the result of an endurance experiment previously conducted for each engage angle of the cutter tip.
The numerical controller 1 obtains a compensation range ω based on the engage angles θ0 and θ1 and the distance between the tool center Gn and the collision position Pn. The numerical controller 1 compensates the tool center path within the compensation range ω. When this compensation is performed, the tolerances of the engage angles and the use frequencies for positions on the cutter tip preset depending on the properties of the cutter tip are associated with one another. Specifically, if use frequencies for engage angles θp0, θp1 and θpm are K0, K1 and Km, respectively, the numerical controller 1 generates the tool center path so that the ratio between frequencies of collision at engage angles θp0, θp1, . . . θpm is K0:K1: . . . :Km. If the distance between the tool center and the collision position of the cutter tip is then Ln, the nth collision position of the workpiece and the tool cutter tip is an intersection point position Pn-1(Pxn-1, Pyn-1) between the distance Ln from the tool center, contour S of the shape of the workpiece, and tool diameter D as the tool center position is moved by a feed amount d from On-1 to On, as shown in
At this time, a compensation position O′n(O′xn, O′yn) of the tool center can be obtained according to equation (3) as follows:
O′x
n
=Ox
n,
O′y
n
=√L
n
2
−Px
n-1
−Ox
n)2. (3)
In this way, the compensation unit 5 of the numerical controller 1 of the present embodiment performs compensation of the tool center path based on the engage information 14. Other operations are performed in the same manner as in the foregoing embodiment.
The present embodiment provides a method for further compensating the tool center path generated in the numerical controller 1.
In face milling, a large force may sometimes be produced due to unevenness of the workpiece as the tool cutter tip collides with the workpiece.
According to the present embodiment, such a method is disclosed that the spindle load current value is monitored as the tool cutter tip collides with the workpiece. If the spindle load current value exceeds the pre-specified tolerance of the spindle load current, the tool center path is compensated so that the engage angle increases. Thus, the occurrence of chipping of the tool cutter tip can be suppressed by confining the force with which the tool cutter tip collides with the workpiece within the pre-specified tolerance of the spindle load current.
The numerical controller 1 of the present embodiment is designed so that a tolerance α of the spindle load current can be set by its input means (not shown) or the like. Also, the numerical controller 1 is designed so that a batch compensation width ε for the compensation of the tool center path can be set by its input means (not shown) or the like. The set tolerance α of the spindle load current and the batch compensation width ε for the compensation of the tool center path are loaded into the memory of the numerical controller (
When the face milling based on the machining program is started, the numerical controller 1 of the present embodiment monitors the spindle load current value and acquires the peak value of the spindle load current that appears periodically. Also, an average γ of the peak value of the spindle load current within a pre-specified period is calculated. Then, the calculated average γ is compared with the tolerance α of the spindle load current. If the average γ exceeds the tolerance α, the tool center path is compensated for the batch compensation width ε. If an engage angle θn as a result of the compensation exceeds the engage angle θ1 described in connection with the foregoing embodiment, however, the compensation is clamped at the engage angle θ1. If the calculated average γ is within the tolerance α, in contrast, the compensation is canceled. The numerical controller 1 periodically repeats this compensation processing during actual machining.
While embodiments of the present invention have been described herein, the invention is not limited to the above-described embodiments and may be suitably modified and embodied in various forms.
Number | Date | Country | Kind |
---|---|---|---|
2015-193278 | Sep 2015 | JP | national |