1. Field of the Invention
The present invention relates to a numerical controller and, more particularly, relates to a numerical controller which includes a taper angle compensating function of taper machining in skiving.
2. Description of the Related Art
Skiving refers to a machining method for cutting a workpiece by feeding a cutting tool in a tangential direction of the workpiece when cutting the workpiece by using the turning machine (JIS Standard B0106 0.209). Skiving is performed, in a turning machine, by using a tool having a linear blade disposed diagonally with respect to an axis of rotation of a workpiece on a YZ plane and moving the tool on a Z axis and a Y axis (see, for example, JP 2003-516868 A (corresponding to WO01/043902)).
In a skiving work using a turning machine, machining of a tapered shape can be carried out in taper machining by moving an X-axis following the moving of a Z-axis and a Y-axis, making a diagonal movement instruction, as illustrated in
However, in skiving work in a turning machine, a position (cutting point 5) at which a linear blade 41 contacts a workpiece 3 changes from a point of cutting start time to a point of cutting end time. Therefore, as illustrated in
Further, as illustrated in
It is therefore an object of the present invention to provide a numerical controller which performs control so that a taper angle instructed in taper machining in skiving using a turning machine may match a taper angle produced in actual machining.
The numerical controller according to the present invention has a function of, when performing taper machining in skiving using a turning machine, compensating a tool path to achieve an instructed taper angle even if a position of a cutting point at which a linear blade contact a workpiece changes from a point of cutting start time and a point of cutting end time, and compensate a displacement of the tool in the X axis direction due to an inclination of the tool.
The numerical controller according to the present invention controls a machine according to a program, wherein the machine performs skiving in which cutting is performed by relatively moving a tool with respect to a workpiece in an axial direction of a first axis, an axial direction of a second axis orthogonal to the first axis, and an axial direction of a third axis orthogonal to the first axis and the second axis, the workpiece rotates about the first axis, and the tool has a linear blade arranged substantially parallel to a plane including the first axis and the second axis and inclined with respect to the first axis. The numerical controller comprising: a tool data storage unit that stores tool data including at least information on the inclination of the linear blade with respect to the first axis and information on a length of the linear blade; an instruction block analyzing unit that reads an instruction block from the program, analyzes the instruction block and generates and outputs instruction data indicating a movement amount of the tool on each axis instructed by the instruction block; a tool movement amount compensating unit that calculates, based on at least the tool data stored in the tool data storage unit, a compensating amount for compensating the movement amount such that an actually-machined taper angle matches a taper angle instructed by an instruction block, and outputs a compensated instruction data which is obtained by compensating the instruction data, output by the instruction block analyzing unit, based on the compensating amount, in case where the instruction block instructs taper machining in which machining is performed such that a machined surface of the workpiece takes a taper angle, formed by the first angle and the third angle, with respect to the first axis, on a plane including the first axis and the third axis; and an interpolating unit that executes interpolation processing based on the instruction data or the compensated instruction data, and generates and outputs interpolation data for every interpolation cycle.
The compensating amount may be calculated based on a movement amount of the tool in the axial direction of the first axis, a movement amount of the tool in the axial direction of the third axis, and the tool data in a block in which the taper machining is instructed.
The tool data may include information related to an inclination of the linear blade with respect to the plane including the first axis and the second axis.
According to the invention, when performing taper machining in skiving performed by using a turning machine, even if a position at which a linear blade contact a workpiece changes from a point of cutting start time and a point of cutting end time, it is possible to perform machining at an instructed taper angle. Further, it is possible to cancel a displacement of the tool in an X axis direction due to an inclination of the tool. As described above, it is possible to accurately machine a tapered portion by skiving by using the turning machine.
When performing taper machining in skiving by using a turning machine, a numerical controller according to the present invention calculates a compensating amount for compensating a displacement of a taper angle caused by a displacement between an instructed distance based on a program instruction and a cutting distance of cutting actually performed by a tool.
As illustrated in
Further, as illustrated in
Furthermore, a movement path of the tool 4 is compensated by adding the compensating amount Xofs1 and subtracting the compensating amount Xofs2.
<Method for Calculating Compensating Amount Xofs1>
The numerical controller according to the present invention measures an inclination α of the tool 4 in a Y axis direction and a blade edge length L of the tool in advance before performing taper machining in skiving by using a turning machine. Further, based on an X axis movement amount Xcmd and a Z axis movement amount Zcmd based on the program instruction, the compensated movement amount Xofs1 of the X axis is calculated by using following equation (1) to obtain a taper amount as instructed.
where
Xofs1: compensated movement amount of X axis for obtaining a taper amount as instructed;
Zofs: movement amount of Z axis component accompanied by movement of Y axis;
θcmd: inclination of a tool path based on program instruction in Y axis direction;
Xcmd: X axis movement amount based on program instruction;
Zcmd: Z axis movement amount based on program instruction;
L: blade edge length of a tool;
α: inclination of the tool in a Y axis direction
Further, for a machining block of cutting feed for which a skiving tool is selected, a compensating pulse for the X axis is created on the basis of the compensated movement amount Xofs1 of the X axis calculated by the program instruction, and the compensating pulse of the X axis is added to an instruction pulse of the X axis in a machining block of cutting feed to output the sum. Consequently, it is possible to accurately machine a tapered portion based on the compensating pulse of the X axis added to the instruction pulse.
<Method for Calculating Compensating Amount Xofs2>
Before performing taper machining in skiving by using the turning machine, the numerical controller according to the present invention measures an inclination error Err (=Xofs2) of the tool 4 at a cutting end point with respect to a cutting start point in the X axis direction in advance by using the sensor 6 such as a touch probe (see
Furthermore, for a machining block of cutting feed in which the skiving tool is selected, the numerical controller calculates a resultant compensating amount obtained by subtracting the compensating amount Xofs2 calculated from the inclination error Err stored in the memory of the numerical controller, from the compensated movement amount Xofs1 of the X axis calculated on the basis of a program instruction, creates a compensating pulse of the X axis based on this calculated resultant compensating amount, and adds this created compensating pulse to an instruction pulse of the X axis in a machining block of cutting feed to output the sum. With this compensating pulse of the X axis to be added to this instruction pulse, even when a linear blade 41 of the tool 4 is inclined in the X axis direction in skiving, it is possible to accurately machine a tapered portion based on a compensating pulse of the X axis to be added to this instruction pulse.
[Step SA01] The numerical controller reads an instruction block.
[Step SA02] The numerical controller starts executing an instruction block read in step SA01.
[Step SA03] The numerical controller determines whether or not the instruction block which starts being executed is a skiving instruction block. When the instruction block is the skiving instruction block, the processing proceeds to step SA05 and, when the instruction block is not the skiving instruction block, the processing proceeds to step SA04.
[Step SA04] The numerical controller outputs the instruction pulse calculated based on the instruction block which has started being executed in step SA02, to a motor, in accordance with the movement of the tool.
[Step SA05] The numerical controller determines whether or not a current tool position is between the cutting start point and the cutting end point. When the current tool position is between the cutting start point and the cutting end point, the processing proceeds to step SA06 and, when the current tool position is not between the cutting start point and the cutting end point, the processing proceeds to step SA04.
[Step SA06] The numerical controller calculates the compensating amount Xofs1 and the compensating amount Xofs2 based on the above calculating method, and calculates a resultant compensating pulse based on the calculated compensating amounts.
[Step SA07] The numerical controller outputs the instruction pulse calculated based on the instruction block which has started being executed in step SA02 and the compensating pulse calculated in step SA06, to the motor, in accordance with movement of the tool.
[Step SA08] The numerical controller determines whether or not executing the instruction block has been finished. In case where executing the instruction block has been finished, this processing is finished and, in case where executing the instruction block is not yet finished, the processing proceeds to step SA05.
A numerical controller 1 according to the present embodiment includes an instruction block analyzing unit 10, a tool movement amount compensating unit 11, an interpolating unit 12, a servo control unit 13 and a tool data storage unit 14.
The instruction block analyzing unit 10 sequentially reads instruction blocks from a program, and analyzes the programs. When this instruction block is determined to be a skiving instruction block, as a result of the analysis, the tool movement amount compensating unit 11 is instructed to compensate a movement amount of the tool instructed by this instruction block. Meanwhile, when this instruction block is determined to be a block other than skiving instruction block, the interpolating unit 12 is instructed to perform interpolation processing based on the movement amount of the tool instructed by this instruction block.
The tool movement amount compensating unit 11 calculates the compensating amount Xofs1 according to the above calculating method in response to the instruction from the instruction block analyzing unit 10. When calculating the compensating amount Xofs1, the tool movement amount compensating unit 11 uses data of the inclination α of the tool in the Y axis direction and a blade edge length L of the tool stored in advance in the tool data storage unit 14. The data stored in the tool data storage unit 14 may be configured to be input and stored as a value measured by an operator by using an input unit which is not illustrated, or may be configured to be input and stored as a value measured by using a sensor.
When the inclination error Err of the tool in the X axis direction at the cutting end point with respect to the cutting start point is stored in the tool data storage unit 14, the tool movement amount compensating unit 11 further calculates the compensating amount Xofs2 based on this inclination error Err, and calculates a resultant compensating amount by subtracting the calculated compensating amount Xofs2 from the compensating amount Xofs1.
Further, the tool movement amount compensating unit 11 compensates the movement amount of the tool instructed by the instruction block analyzed by the instruction block analyzing unit 10, based on the above compensating amount, and instructs the interpolating unit 12 to perform interpolation processing based on the compensated movement amount of the tool.
The interpolating unit 12 generates interpolation data obtained by interpolating and calculating points on an instructed path instructed by the instruction block at an interpolation cycle, based on the instruction from the instruction block analyzing unit 10 or the tool movement amount compensating unit 11, and outputs the generated interpolation data to the servo control unit 13.
The servo control unit 13 drives each servo motor 2 equipped to the machine, based on the interpolation data input from the interpolating unit 12, and relatively move the tool with respect to the workpiece.
Conventionally, when skiving is performed, a NC program instruction is given to realize skiving. By contrast with this, in case of a skiving instruction according to the present invention, as indicated by a flow of bold line arrows in
An embodiment according to the present invention has been described above. However, the present invention is not limited to an example of the above embodiment and can be carried out in various modes by adding optional changes.
Number | Date | Country | Kind |
---|---|---|---|
2016-032284 | Feb 2016 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
4053819 | Matsumoto | Oct 1977 | A |
4740902 | Yoneda | Apr 1988 | A |
5037248 | Heffron | Aug 1991 | A |
5076744 | Kitagawa | Dec 1991 | A |
5368425 | Mills | Nov 1994 | A |
20030089204 | Schreiber et al. | May 2003 | A1 |
20170153623 | Tsuchiya | Jun 2017 | A1 |
Number | Date | Country |
---|---|---|
2003-516868 | May 2003 | JP |
Number | Date | Country | |
---|---|---|---|
20170242422 A1 | Aug 2017 | US |