1. Field of the Invention
The present invention relates to a numerically-controlled machine tool provided with a spindle error compensation function and the spindle error compensating method for the numerically-controlled machine tool.
2. Description of the Related Art
In a machine tool provided with a spindle fixed to a linear moving axis or a rotary axis and a table having one or more linear moving axes or rotary axes and also provided with a numerical controller for controlling an operation of the spindle and the table, when a vertical or parallel machining is to be performed on a machining surface of a workpiece with high accuracy, highly accurate working can be realized by installing the workpiece or the machining surface perpendicularly or parallelly with accuracy with respect to the moving axis.
However, when the workpiece is to be machined by being attached to the machine tool by using a jig such as a stock vice or a chuck, it is likely that the machining surface is inclined with respect to the moving axis and cannot be necessarily perpendicular or parallel, and manual fine adjustment is needed each time.
In response to that, a method in which the inclination of the workpiece or the machining surface is measured before machining, and a table on which the workpiece is installed is subjected to inclination compensation according to inclination acquired by the measurement for highly accurate machining of the machining surface is disclosed in Japanese Patent Application Laid-Open No. 2010-201581.
However, the technology disclosed in Japanese Patent Application Laid-Open No. 2010-201581 is only to compensate inclination of the workpiece, and if the spindle holding a machining tool is installed perpendicularly or parallelly with high accuracy with respect to the table on which the workpiece is placed, highly accurate machining is possible as illustrated in
The present invention was made in view of the above described problems of the prior-art technologies and has an object to provide a numerically-controlled machine tool provided with a spindle fixed to a linear moving axis, a table having two or more linear moving axes, a rotary table for fixing a workpiece, installed on the table and having two or more rotary axes, and a numerical controller for controlling the spindle and the tables, having a function of compensating a spindle error caused by an assembling error in a manufacturing stage of a machine tool main body or an error by deformation of the machine tool main body caused by heat generated during machining of the workpiece; and a spindle error compensating method of the numerically-controlled machine tool.
The numerically-controlled machine tool according to the present invention is provided with a linear moving axis for moving the spindle, two or more linear moving axes for moving the table, a rotary table for fixing the workpiece, installed on the table and having two or more rotary axes, and a numeral controller for controlling the spindle, the linear moving axes, and the rotary axes so as to machine the workpiece. Moreover, this numerically-controlled machine tool is provided with a spindle error measurement jig which is a member to be measured, attached to the spindle and provided with a spindle center position measurement hole having an inner surface which is a surface to be measured in parallel with a spindle axis and a spindle angular deviation measurement end-face which is a surface to be measured perpendicular to the spindle axis, a probe installed on the table and detecting the spindle center position measurement hole of the spindle error measurement jig and the end face of the spindle angular deviation measurement, a spindle angular deviation calculation unit for calculating a spindle angular deviation from a result of attaching the spindle error measurement jig to the spindle and measuring the inner surface and the end face of the spindle error measurement jig by the probe, a compensation amount calculation unit for calculating a compensation amount for compensating positions of the table and the rotary table from the calculated spindle angular deviation, and a position compensation unit for moving the linear moving axis and the rotary table on the basis of the compensation amount.
The spindle angular deviation calculation unit may acquire a spindle center position from a result of measurement by the probe of three or more points on the same plane which is the inner surface of the hole of the spindle error measurement jig and may calculate the spindle angular deviation from a result of measurement of three or more points on a circle having an arbitrary diameter around an intersection with a line obtained by lowering the end face of the spindle error measurement jig perpendicularly to the end face of the spindle error measurement jig from the spindle center position. Moreover, the spindle angular deviation calculation unit may, in addition to the spindle angular deviation, calculate a spindle attaching error of the spindle error measurement jig and may calculate a compensation amount for compensating the positions of the table and the rotary table from the spindle attaching error and the spindle angular deviation.
The position compensation unit compensates each of the rotary axes with respect to each of the two or more rotary axes of the rotary table on the basis of the compensation amount, compensates the position of the workpiece perpendicular to or parallel to the spindle and calculates a relative movement compensation amount of each of the linear moving axes on the basis of the compensation amount so that the spindle moves perpendicular to or parallel to the workpiece in accordance with a movement instruction of each of the linear moving axes, and may execute relative movement compensation on the basis of the relative movement compensation amount.
According to the present invention, the spindle error compensating method of a numerically-controlled machine tool provided with a numerical controller for controlling the linear moving axis and the rotary axis includes a step of attaching the spindle error measurement jig which is a member to be measured, provided with a spindle center position measurement hole having the inner surface which is a surface to be measured in parallel with the spindle axis of the machine tool and a spindle angular deviation measurement end-face which is a surface to be measured and perpendicular to the spindle axis to the spindle; a step of detecting the spindle center position measurement hole and the spindle angular deviation measurement end-face by the spindle error measurement jig by using the probe installed on the table for fixing the rotary table on which the workpiece is placed; a step of calculating the spindle angular deviation from a result of detection of the inner surface and the end face of the spindle error measurement jig by the probe; a step of calculating a compensation amount for compensating positions of the table and the rotary table from the calculated spindle angular deviation; and a step of moving the linear moving axis and the rotary table on the basis of the compensation amount.
The spindle angular deviation may be calculated by acquiring the spindle center position from the result of measurement of three or more points on the same plane which is the inner surface of the hole of the spindle error measurement jig by the probe and the result of measurement of three or more points on the circle having an arbitrary diameter around an intersection with a line obtained by lowering the end face of the spindle error measurement jig perpendicularly to the end face of the spindle error measurement jig from the spindle center position.
In addition to the spindle angular deviation, a spindle attaching error of the spindle error measurement jig may be calculated, and the compensation amount for compensating the positions of the table and the rotary table may be calculated from the spindle attaching error and the spindle angular deviation.
Regarding the movement, each of the rotary axes may be compensated with respect to each of the two or more rotary axes of the rotary table on the basis of the compensation amount, the position of the workpiece may be compensated perpendicular to or parallel to the spindle, the relative movement compensation amount of each of the linear moving axes may be calculated on the basis of the compensation amount so that the spindle moves perpendicular to or parallel to the workpiece in accordance with the movement instruction of each of the linear moving axes, and relative movement compensation may be made on the basis of the relative movement compensation amount.
By means of the present invention, the numerically-controlled machine tool provided with the spindle fixed to a linear moving axis, the table having two or more linear moving axes, the rotary table for fixing the workpiece, installed on the table and having two or more rotary axes, and the numerical controller for controlling the spindle and the table, having a function for compensating the spindle error caused by the assembling error in the manufacturing stage of the machine tool main body or the error by deformation of the machine tool main body caused by heat generated during machining of the workpiece; and the spindle error compensating method of the numerically-controlled machine tool can be provided.
The above described and other objects and features of the present invention will be made obvious from the following explanation of an embodiment by referring to the attached drawings, in which:
The present invention relates to a numerically-controlled machine tool provided with a spindle fixed to a linear moving axis, a table having two or more linear moving axes, and a rotary table for fixing a workpiece, installed on the table and having two or more rotary axes and also provided with a numerical controller for controlling the spindle and the table. This numerically-controlled machine tool employs the following embodiment in order to solve problems of an assembling error of the spindle fixed to the moving axis during a manufacturing stage of a machine tool main body and an error due to displacement of the spindle caused by deformation by heat generated during machining.
The machine tool will be described by using
The machine tool 1 includes a machine tool main body 2 and a numerical controller 3 (see
The machine tool main body 2 is provided with the bed 10, a rectangular solid column 12 extending vertically upward from a rear on an upper part of the bed 10, a moving axis (Z-axis) 13 provided along a front surface of the column 12, a spindle head 14 provided capable of elevation along the front surface of the column 12 by the moving axis (Z-axis) 13, a tool attaching portion 15 fixed to the spindle extended vertically downward from the lower part of the spindle head 14 and to which a tool holder is attached and replaced, and a table 11 provided on the upper part of the bed 10 and removably fixing a workpiece. In the machine tool main body 2, the spindle and each of the moving axes are controlled by a controller (not shown). The table 11 is driven by a motor (not shown) and moves in directions of the X-axis and the Y-axis.
In manufacture of a machine tool main body 2 of the machine tool 1, since it is difficult to manufacture the machine tool main body 2 with the spindle fixed to a moving axis adjusted to an accurate position and direction, an error is caused in the position and direction of the spindle. This error is caused when a spindle axis 102 has an angular deviation A (α0, β0) with respect to the moving axis (Z-axis) to which the spindle axis 102 is fixed, as illustrated in
Moreover, in addition to this “fixed error”, the machine tool main body 2 of the machine tool 1 is deformed by heat generated during machining or a change in an outside air temperature, and as illustrated in
A difference between the spindle center position P (X0, Y0, Z0) as a reference position and the spindle center position Q (Xh, Yh, Zh) as the result of deformation applied to the machine tool main body 2 is assumed to be a spindle center position error amount (ΔX, ΔY, ΔZ). The spindle center position error amount (ΔX, ΔY, ΔZ) is, as illustrated in
The spindle center position P (X0, Y0, Z0), the spindle center position Q (Xh, Yh, Zh), the angular deviation A (α0, β0), and the angular deviation B (αh, βh) can be acquired by using a specific tool (spindle error measurement jig) and a probe as will be described later.
In prior art, due to a deviation of the spindle axis from the vertical direction, caused during manufacture of the machine tool main body 2 of the machine tool 1, the machine tool 1 does not perform machining in a state where the spindle does not have any angular deviation as in
According to the machine tool 1 of one embodiment of the present invention, on the other hand, the spindle center position error amount (ΔX, ΔY, ΔZ), which is an error caused by a change in an outside air temperature around the machine tool, heat generation by the spindle rotation operation and the like in each axis, a spindle error occurrence operation after machining, after a warm-up operation and the like, is compensated to respective axes, thereby allowing to perform machining with an error caused by the spindle error occurrence operation compensated.
However, compensating such spindle center position error amount (ΔX, ΔY, ΔZ) to respective axes does not take account of an angular deviation of the spindle. As illustrated in examples in
In order to solve such problems, if the spindle is fixed to the moving axis (fixed to the Z-axis, in the case of
Thus, by fixing the spindle having the angular deviation to the moving axis and by relatively moving the workpiece so as to operate perpendicular to or parallel to the spindle axis, highly accurate and stable machining can be realized for the tool attached to the spindle (see
In order to perform highly accurate machining on the workpiece 16 by using a tool (an end mill 17, a drill 18 and the like) attached to the spindle, it is necessary to compensate the angular deviation with respect to the spindle which has undergone uneven deformation by the spindle error occurrence operation to realize the above described machining as illustrated in
Thus, first, in order to measure the spindle center position Q (Xh, Yh, Zh), a spindle error measurement jig 30 illustrated in
The spindle error measurement jig 30 is provided with the jig holder 31 for attachment to the tool attaching portion 15 of the spindle, a spindle center position measurement hole 32 that has an inner peripheral surface parallel to the spindle axis (center axis), and an spindle angular deviation measurement end-face 33 which is a surface to be measured and perpendicular to the spindle axis. A cross-section orthogonal to a depth direction of the spindle center position measurement hole 32 and the spindle angular deviation measurement end-face 33 both have a circular shape. In
The spindle error measurement jig 30 may have a disk shape or any other shapes other than the cross as long as the shape has a measurement range perpendicular to the spindle axis. Moreover, the shape of the spindle center position measurement hole 32 may be a circle or a square, for example, but the shape may be any other than a circle or a square as long as it has a measurement range parallel to the spindle axis.
At each of the moving axes (X-axis, Y-axis, Z-axis) of the machine tool main body 2 and each of the rotary axes (C-axis, A-axis) of the spindle error compensation rotary table 19, a position detector (not shown) is provided, and a feedback signal from each of the position detectors is inputted into the numerical controller 3. The numerical controller 3 controls the entire machine tool 1. The numerical controller 3 outputs a drive instruction to a motor driving each of the axes of the machine tool main body 2 by a machining program set in advance and controls a relative position of each of the moving axes (X-axis, Y-axis, Z-axis) with respect to the workpiece 16 when machining is to be performed on the workpiece 16.
The numerical controller 3 executes measurement of the spindle error measurement jig 30 attached to the tool attaching portion 15 of the machine tool main body 2 by using the probe 5 in accordance with a spindle error compensation control program set in advance. It outputs the drive instruction to the motor of each of the axes of the machine tool main body 2 and controls the relative position of each of the moving axes (X-axis, Y-axis, Z-axis) with respect to the spindle error measurement jig 30 in accordance with a program (spindle error compensation control program) set in advance. The numerical controller 3 obtains data of a required position of the spindle error measurement jig 30 by receiving the output signal from the probe 5.
The numerical controller 3 executes the spindle error compensation control program to perform a series of processing, which includes spindle error measurement, spindle error calculation using the measurement result, spindle error compensation calculation for acquiring a compensation amount for compensating the spindle error obtained by the calculation, and setting of the compensation amount as a spindle error parameter.
The <spindle error measurement>, <spindle error calculation>, <spindle error compensation>, and <spindle error parameter setting> will be described below.
As illustrated in
The following (1) to (3) will be described by referring to
(1) Measurement of Spindle Center Position
The spindle center position measurement hole 32 is measured at three or more points on a surface (inner peripheral surface of the spindle center position measurement hole 32) parallel to the spindle axis of the spindle center position measurement hole 32 by using the probe 5, and the spindle center position Q (Xh, Yh, Zh) at a start of the machine or after the spindle error occurrence operation can be calculated by using the measurement result.
More specifically, the probe 5 allowing measurement in the moving axis direction is installed on the table 11 as illustrated in
(2) Measurement of Attaching Error of Spindle Error Measurement Jig
In the measurement of the spindle angular deviation measurement end-face 33, the spindle is rotated, at a position of an arbitrary measurement diameter D around the spindle center axis position Q, between 0 and 360° by using the probe 5 as illustrated in
In
(3) Measurement of Spindle Angular Deviation
Subsequently, after the spindle is fixed (rotation angle is 0°), the table 11 on which the probe 5 is installed is operated in the X direction (the moving axis of the X-axis is driven), and by measuring the spindle angular deviation measurement end-face 33 in the spindle error measurement jig 30 at two positions on a straight line being a measurement diameter D of which (Xh, Yh, Zh) is center, the positions in the Z direction of the spindle error measurement jig 30 are measured. The spindle angular deviation on the X-axis at the two positions is assumed to be Zxh.
Subsequently, the table 11 on which the probe 5 is installed is operated in the Y direction (the moving axis of the Y-axis is driven), and by measuring the spindle angular deviation measurement end-face 33 in the spindle error measurement jig 30 at two positions on a straight line being a measurement diameter D of which (Xh, Yh, Zh) is center, the positions in the Z direction of the spindle error measurement jig 30 are measured. The spindle angular deviation on the Y-axis at the two positions is assumed to be Zyh.
Here, the spindle angular deviation is expressed as (Zxh, Zyh). The spindle angular deviation (Zxh, Zyh) includes an attaching error of the spindle error measurement jig 30 to the spindle.
(4) A true spindle angular deviation (Zx, Zy) obtained by subtracting the attaching error (Zxe, Zye) of spindle error measurement jig from the spindle angular deviation (Zxh, Zyh) is acquired by the following expression (1):
Z
x
=Z
xh
−Z
xe
Z
y
=Z
yh
−Z
ye
αh=tan−1(Zx/D)
βh=tan−1(Zy/D) (1)
From the calculation result of the true spindle angular deviation (Zx, Zy), a spindle angular deviation compensation amount (θC, θA) is calculated by the following expression (2):
θC calculation formula
Z
y≠0 θC=tan−1(Zx/Zy)
Z
y=0,Zx>0 θC=90°
Z
y=0,Zx<0 θC=−90°
θA calculation formula
Z
y≧0 θA=tan−1(r/D)
Z
y<0 θA=−tan−1(r/D)
Where
r=√{square root over (Zx2+Zy2)} (2)
D: measurement diameter
(5) The spindle error compensation rotary table 19 (see
As illustrated in
As illustrated in
In the case of X-axis movement instruction:
In the case of Y-axis movement instruction:
In the case of Z-axis movement instruction:
Table movement amount:
In the present invention, the compensation value calculated on the basis of the spindle angular deviation measured by the spindle error measurement jig 30, the probe 5, and the spindle error compensation control means (see
Here, supplementary explanation will be given to the expression (2) by using
θC is obtained by substituting the respective values of Zx and Zy with each of the X-axis and Y-axis directions which are moving axes.
In the case of Zy≠0:
θc=tan−1(Zx/Zy)
In the case of Zy=0:
Z
x>0θC=90°
Z
x<0θC=−90°
θA is obtained by r calculated from the measurement diameter D and Zx and Zy.
r=√(Zx2+Zy2)
Z
y≧0θA=tan−1(r/D)
Z
y<θA−tan−1(r/D)
Here, calculation examples of the expression (1), the expression (2), and the expression (3) are shown;
In the case of D=200.0, Zx 1=0, Zx 2=+0.01, Zy 1=0, Zy 2=−0.02:
Z
xe
=Z
x2
−Z
x1=0.01
Z
ye
=Z
y2
−Z
y1=−0.02
Subsequently,
Here, calculation examples of θC and θA are shown:
Thus,
θC=26.565°
θA=0.032°
Here, a calculation example of (X1, Y1, Z1) is shown:
If the movement instruction of each of the X, Y, and Z axes is X=300.0, Y=100.0, and Z=200.0:
thus,
X1=300.0499446
Y1=100.099896
Z1=200.1249688
Number | Date | Country | Kind |
---|---|---|---|
2013-066874 | Mar 2013 | JP | national |