NUMERICAL CONTROLLER HAVING TAPER ANGLE COMPENSATING FUNCTION OF TAPER MACHINING IN SKIVING
20170242422 · 2017-08-24
Assignee
Inventors
Cpc classification
G05B19/404
PHYSICS
B23B1/00
PERFORMING OPERATIONS; TRANSPORTING
International classification
Abstract
A numerical controller stores tool data (including information on an inclination and length of a linear blade of a tool), reads an instruction block from a program, analyzes the instruction block, and generates instruction data indicating a movement amount of the tool on each axis instructed by the instruction block. Further, when performing taper machining, the numerical controller calculates a compensating amount for compensating an instructed path, based on the stored tool data, such that an actually-machined taper angle matches a taper angle instructed by the instruction block, compensates the generated instruction data based on the calculated compensating amount, and outputs the compensated instruction data.
Claims
1. A numerical controller that 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.
2. The numerical controller according to claim 1, wherein the compensating amount is 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.
3. The numerical controller according to claim 1, wherein the tool data includes information related to an inclination of the linear blade with respect to the plane including the first axis and the second axis.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0023] 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.
[0024]
[0025] As illustrated in
[0026] Further, as illustrated in
[0027] Furthermore, a movement path of the tool 4 is compensated by adding the compensating amount X.sub.ofs1 and subtracting the compensating amount X.sub.ofs2.
<Method for Calculating Compensating Amount X.SUB.ofs1.>
[0028]
[0029] The numerical controller according to the present invention measures an inclination a 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 X.sub.cmd and a Z axis movement amount Z.sub.cmd based on the program instruction, the compensated movement amount X.sub.ofs1 of the X axis is calculated by using following equation (1) to obtain a taper amount as instructed.
where
[0030] X.sub.ofs1: compensated movement amount of X axis for obtaining a taper amount as instructed;
[0031] Z.sub.ofs: movement amount of Z axis component accompanied by movement of Y axis;
[0032] θ.sub.cmd: inclination of a tool path based on program instruction in Y axis direction;
[0033] X.sub.cmd: X axis movement amount based on program instruction;
[0034] Z.sub.cmd: Z axis movement amount based on program instruction;
[0035] L: blade edge length of a tool;
[0036] α: inclination of the tool in a Y axis direction
[0037] 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 X.sub.ofs1 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 X.SUB.ofs2.>
[0038]
[0039] Before performing taper machining in skiving by using the turning machine, the numerical controller according to the present invention measures an inclination error Err (=X.sub.ofs2) 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
[0040] 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 X.sub.ofs2 calculated from the inclination error Err stored in the memory of the numerical controller, from the compensated movement amount X.sub.ofs1 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.
[0041]
[0050]
[0051] 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.
[0052] 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.
[0053] The tool movement amount compensating unit 11 calculates the compensating amount X.sub.ofs1 according to the above calculating method in response to the instruction from the instruction block analyzing unit 10. When calculating the compensating amount X.sub.ofs1, the tool movement amount compensating unit 11 uses data of the inclination a 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.
[0054] 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 X.sub.ofs2 based on this inclination error Err, and calculates a resultant compensating amount by subtracting the calculated compensating amount X.sub.ofs2 from the compensating amount X.sub.ofs1.
[0055] 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.
[0056] 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.
[0057] 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.
[0058] 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
[0059] 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.