NUMERICAL CONTROLLER FOR CONTROLLING COLLISION POSITION OF CUTTER TIP OF TOOL AND WORKPIECE
20170090453 ยท 2017-03-30
Assignee
Inventors
Cpc classification
G05B19/404
PHYSICS
B23C3/00
PERFORMING OPERATIONS; TRANSPORTING
G05B2219/49172
PHYSICS
International classification
Abstract
A tool center path is compensated so that the number of collisions with a workpiece in positions on cutter tips complies with use frequencies in cutter tip information, based on tool information including the diameter of a tool and the number of cutter tips attached to the tool, a tool center movement path specified by a machining program, workpiece shape data, and cutter tip information.
Claims
1. A numerical controller which 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 comprising: 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.
2. The numerical controller according to claim 1, further comprising 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, wherein the compensation unit is 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.
3. The numerical controller according to claim 1, comprising 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, wherein a spindle load current value during actual machining along a compensated tool path obtained by compensation by the compensation unit is 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.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0014] 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:
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0034] 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.
[0035] An embodiment of the present invention will now be described with reference to the accompanying drawings.
[0036] 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
[0037] 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.
[0038]
[0039] 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.
[0040] 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.
[0041] 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.
[0042] 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.
[0043] Configurations of a spindle control unit for rotation control of a spindle and the like are not shown in the drawings.
[0044] The following is a description of procedure of compensation of the tool center path performed by the compensation unit 5.
[0045]
[0046] The usable ranges L.sub.0 and L.sub.1 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.
[0047] 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.
[0048] 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 P.sub.n of the cutter tip and the workpiece corresponding to a tool center G.sub.n, which is the point of intersection of the workpiece shape data and a circle (dotted-line circle in
[0049] 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+L.sub.0) from the tool center position) and the workpiece, as shown in
[0050] 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 Cp.sub.0, Cp.sub.1 and Cp.sub.m on the cutter tip are K.sub.0, K.sub.1 and K.sub.m, respectively, the numerical controller generates the tool center path so that the ratio between frequencies of collision in positions Cp.sub.0, Cp.sub.1, . . . Cp.sub.m is K.sub.0:K.sub.1: . . . :K.sub.m. Thus, the tool center path is compensated in the manner shown in
[0051] Based on the collision frequency ratio (K.sub.0:K.sub.1: . . . :K.sub.m) in the position Cp.sub.i (i=0 to m) on the cutter tip, at this time, the numerical controller determines the position Cp.sub.i on the cutter tip used for compensation at each compensation point (tool center G.sub.n) shown in
L.sub.n=D+Cdp.sub.i,(1)
where i is i=0, . . . , n.
[0052]
[0057]
E=M/d+1.(2)
[0058] The compensation based on the position Cp.sub.i on the cutter tip is performed (EK.sub.i) times. An interval INTVAL.sub.i (shown in the flowchart of
[0069] In the case of the present embodiment, the engage angles .sub.0 and .sub.1 shown in
[0070]
[0071] 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.
[0072] The numerical controller 1 obtains a compensation range based on the engage angles .sub.0 and .sub.1 and the distance between the tool center G.sub.n and the collision position P.sub.n. 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 p.sub.0, p.sub.1 and p.sub.m are K.sub.0, K.sub.1 and K.sub.m, respectively, the numerical controller 1 generates the tool center path so that the ratio between frequencies of collision at engage angles p.sub.0, p.sub.1, . . . p.sub.m is K.sub.0:K.sub.1: . . . :K.sub.m. If the distance between the tool center and the collision position of the cutter tip is then L.sub.n, the nth collision position of the workpiece and the tool cutter tip is an intersection point position P.sub.n-1(Px.sub.n-1, Py.sub.n-1) between the distance L.sub.n 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 O.sub.n-1 to O.sub.n, as shown in
[0073] At this time, a compensation position O.sub.n(Ox.sub.n, Oy.sub.n) of the tool center can be obtained according to equation (3) as follows:
Ox.sub.n=Ox.sub.n,
Oy.sub.n=L.sub.n.sup.2Px.sub.n-1Ox.sub.n).sup.2.(3)
[0074] 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.
[0075] The present embodiment provides a method for further compensating the tool center path generated in the numerical controller 1.
[0076] 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.
[0077]
[0078] 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.
[0079] 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 (
[0080] 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 .sub.n as a result of the compensation exceeds the engage angle .sub.1 described in connection with the foregoing embodiment, however, the compensation is clamped at the engage angle .sub.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.
[0081]
[0093] 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.