Translation/rotation error compensation amount creating device

Information

  • Patent Grant
  • 9448551
  • Patent Number
    9,448,551
  • Date Filed
    Tuesday, October 1, 2013
    11 years ago
  • Date Issued
    Tuesday, September 20, 2016
    8 years ago
Abstract
A translation/rotation error compensation amount creating device creates, for a multi-axis machining apparatus having two rotation axes, a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes. The translation/rotation error compensation amount creating device calculates the translation error compensation amount and the rotation error compensation amount based on an assembly error (set value) including at least an assembly error in a table surface or an assembly error in a spindle turning centerline in a multi-axis machining apparatus as well as the positions of the two rotation axes, and inputs the calculated error compensation amounts to a numerical controller controlling the multi-axis machining apparatus.
Description
RELATED APPLICATIONS

The present application is based on Japanese Application Number 2012-220675, filed Oct. 1, 2012, the disclosure of which is hereby incorporated by reference herein in its entirety.


BACKGROUND OF THE INVENTION

1. Field of the Invention


The present invention relates to a device that creates a translation error compensation amount and a rotation error compensation amount both depending on a rotation axis, based on a preset assembly error and a rotation axis position in order to compensate an assembly error in a multi-axis machining apparatus having at least two rotation axes.


Now, the translation error compensation amount and rotation error compensation amount depending on the rotation axis will be described.


In “JIS B6190-7 FIG. 1 b) Error motion of rotation axis” of Japanese Industrial Standard, errors depending on a C shaft are represented as:


“EXC: radial motion in an X direction”,


“EYC: radial motion in a Y direction”,


“EZC: axial motion”,


“EAC: tilting motion around an X shaft”,


“EBC: tilting motion around an Y shaft”, and


“ECC: angular positioning error”.


According to the present invention, of the errors depending on a C shaft, “EXC: radial motion in the X direction”, “EYC: radial motion in the Y direction”, and “EZC: axial motion” are referred to as translation errors (specifically, translation errors depending on the C shaft). “EAC: tilting motion around the X shaft”, “EBC: tilting motion around the Y shaft”, and “ECC: angular positioning error” are referred to as rotation errors (specifically, rotation errors depending on the C axis).


For another rotation axis, for example, an A axis, the following are present: “EXA: axial motion”, “EYA: radial motion in the Y direction”, “EZA: radial motion in a Z direction axial motion”, “EAA: angular positioning error”, “EBA: tilting motion around the Y shaft”, and “ECA: tilting motion around a Z shaft”.


Thus, the translation errors and the rotation errors varying depending on the positions of the rotation axes are hereinafter referred to as translation errors and rotation errors depending on the rotation axes, and compensation amounts by which those errors are compensated are hereinafter referred to as translation error compensation amounts and rotation error compensation amounts depending on the rotation axes.


2. Description of the Related Art


Japanese Patent Application Laid-open No. 2004-272887 (JP 2004-272887 A) discloses a technique for compensating an assembly error in a rotation axis in a multi-axis machining apparatus having rotation axes. The technique uses many matrix operations using triangular functions. Thus, the technique can be partly carried out in practice, but a numerical controller that needs to perform high-speed control takes a long time for arithmetic operations, and the technique is thus difficult to carry out in practice. Moreover, the technique disadvantageously fails to take into account an assembly error in a table surface, that is, an error between a table surface centerline and a table rotation axis rotation centerline, more specifically, an error in which the table surface fails to be perpendicular to the table rotation axis (C axis described below) rotation centerline and in which the table surface centerline deviates from the table rotation axis (C axis) rotation centerline.


On the other hand, Japanese Patent Application Laid-open No. 2009-151756 (JP 2009-151756 A) discloses a technique for compensating an error based on a translation error compensation amount and a rotation error compensation amount both depending on rotation axes. The technique performs matrix operations but does not take such a long time as needed for the technique described in JP 2004-272887 A. Thus, the technique disclosed in JP 2009-151756 A allows a numerical controller to perform compensation in practice. However, to determine the compensation amount, the technique divides a two-dimensional coordinate system for two rotation axes into pieces like a grid, sets a translation error compensation amount and a rotation error compensation amount at each of the resultant grid points, and calculates a compensation amount for the position of the rotation axis based on compensation amounts for grid points enclosing the position of the rotation axis. That is, the technique is not a method for obtaining the compensation amount from the assembly error. Thus, when an attempt is made to compensate the assembly error by the technique disclosed in JP 2009-151756 A, the assembly error needs to be converted into a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes and to set the translation error compensation amount and the rotation error compensation amount. However, JP 2009-151756 A fails to disclose such a conversion technique.


Furthermore, Journal of Technical Disclosure No. 2009-505137 discloses a technique for creating the compensation amount disclosed in JP 2009-151756 A from the assembly error in a multi-axis machining apparatus (table rotating multi-axis machining apparatus) having two rotation axes for rotation of a table which is disclosed in JP 2004-272887 A. The technique fails to take an assembly error in the table surface into account. Journal of Technical Disclosure No. 2009-505137 describes a technique for creating a compensation amount from an assembly error in a rotation axis in a table rotating 5-axis machining apparatus and further states that the technique can be applied to a head rotating 5-axis machining apparatus (see FIG. 10) in which a head rotates based on two rotation axes and a mixed 5-axis machining apparatus (see FIG. 14) in which both a head and a table rotate.


However, the inventors have found that it is insufficient to apply the technique disclosed in Journal of Technical Disclosure No. 2009-505137 directly to the tool head rotating 5-axis machining apparatus or the mixed 5-axis machining apparatus. The reason is as follows.


In terms of an error in a member installed on a rotor, the assembly error in the tool head rotating multi-axis machining apparatus corresponding to the assembly error in the table surface in the table rotating multi-axis machining apparatus is an assembly error in a spindle turning centerline, that is, an error in which the spindle turning centerline fails to be orthogonal to the rotational centerline of a tool head tilting axis (an A axis described below). JP 2004-272887 A takes the assembly error in the spindle turning centerline into account while Journal of Technical Disclosure No. 2009-505137 does not take into account the assembly error in the table surface in the table rotating multi-axis machining apparatus as described above. Thus, even when the technique disclosed in Journal of Technical Disclosure No. 2009-505137 is applied to the tool head rotating multi-axis machining apparatus disclosed in JP 2004-272887 A, the assembly error in the spindle turning centerline fails to be compensated. This also applies to the mixed multi-axis machining apparatus.


SUMMARY OF THE INVENTION

Thus, an object of the present invention is to provide a translation/rotation error compensation amount creating device for a numerical controller controlling a multi-axis machining apparatus having at least two rotation axes by:


converting an assembly error including an assembly error in a table surface in a table rotating multi-axis machining apparatus having a rotary table into a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes;


converting an assembly error including an assembly error in a spindle turning centerline in a tool head rotating multi-axis machining apparatus into a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes; or


converting an assembly error including an assembly error in a table surface and an assembly error in a spindle turning centerline in a mixed multi-axis machining apparatus into a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes,


wherein the translation/rotation error compensation amount creating device enables the numerical controller to compensate the assembly error in the table surface or the assembly error in the spindle turning centerline in practice in a shorter time.


A translation/rotation error compensation amount creating device according to the present invention creates, for a multi-axis machining apparatus having at least two rotation axes, a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes. The translation/rotation error compensation amount creating device includes an assembly error setting section that presets an assembly error including at least an assembly error in a table surface or an assembly error in a spindle turning centerline in the multi-axis machining apparatus, a translation/rotation error compensation amount calculating section that calculates the translation error compensation amount and the rotation error compensation amount based on the assembly error set by the assembly error setting section and positions of the two rotation axes, and a translation/rotation error compensation amount input section that inputs the calculated translation error compensation amount and rotation error compensation amount to a numerical controller controlling the multi-axis machining apparatus.


The positions of the two rotation axes may be the positions of the two rotation axes obtained from the numerical controller at every interpolation period.


The two rotation axes are two rotation axes for table rotation, the multi-axis machining apparatus is a table rotating multi-axis machining apparatus, and the assembly error is the assembly error in the table surface and an assembly error in the two rotation axes for table rotation.


The two rotation axes are two rotation axes for tool head rotation, the multi-axis machining apparatus is a tool head rotating multi-axis machining apparatus, and the assembly error is the assembly error in the spindle turning centerline and an assembly error in the two rotation axes for tool head rotation.


The two rotation axes are one rotation axis for table rotation and one rotation axis for tool head rotation, the multi-axis machining apparatus is a mixed multi-axis machining apparatus with one rotation axis for table rotation and one rotation axis for tool head rotation, and the assembly error is the assembly error in the table surface, an assembly error in the one rotation axis for table rotation, an assembly error in the one rotation axis for tool head rotation, and the assembly error in the spindle turning centerline.


The numerical controller according to the present invention controls a multi-axis machining apparatus having at least two rotation axes, and has a numerical control section that analyzes a machining program to carry out interpolation and a translation/rotation error compensation amount creating device that creates a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes. Furthermore, the translation/rotation error compensation amount creating device has an assembly error setting section that presets an assembly error including at least an assembly error in a table surface or an assembly error in a spindle turning centerline in the multi-axis machining apparatus, a translation/rotation error compensation amount calculating section that calculates the translation error compensation amount and the rotation error compensation amount based on the assembly error set by the assembly error setting section and positions of the two rotation axes, and a translation/rotation error compensation amount input section that inputs the calculated translation error compensation amount and rotation error compensation amount to the numerical controller.


The positions of the two rotation axes may be the positions of the two rotation axes obtained from the numerical controller at every interpolation period.


The present invention can provide the translation/rotation error compensation amount creating device for the numerical controller controlling the multi-axis machining apparatus having at least two rotation axes by:


converting the assembly error including the assembly error in the table surface in the table rotating multi-axis machining apparatus having the rotary table into the translation error compensation amount and rotation error compensation amount depending on the rotation axes;


converting the assembly error including the assembly error in the spindle turning centerline in the tool head rotating multi-axis machining apparatus into the translation error compensation amount and rotation error compensation amount depending on the rotation axes; or


converting the assembly error including the assembly error in the table surface and the assembly error in the spindle turning centerline in the mixed multi-axis machining apparatus into the translation error compensation amount and rotation error compensation amount depending on the rotation axes, wherein the translation/rotation error compensation amount creating device enables the numerical controller to compensate the assembly error in the table surface or the assembly error in the spindle turning centerline in practice in a shorter time.


A calculation for the conversion is much more complicated than a calculation described in Journal of Technical Disclosure No. 2009-505137 in which an assembly error not including an assembly error in a table surface in a table rotating multi-axis machining apparatus is converted into a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes, as described below in an embodiment.


In accordance with notation in JP 2009-151756 A, the translation error compensation amount depending on the rotation axes is denoted by (ΔXR, ΔYR, ΔZR), and the rotation error compensation amount depending on the rotation axes is denoted by (ΔIR, ΔJR, ΔKR).


The term “compensation” as used herein refers to correct a linear-axis machine coordinate position so that a relative positional relation between a table and a tool center point in an original instruction is the same as the relative relation between the actual table (with an assembly error) and the compensated tool center point position.


The specification is intended for the conversion of an assembly error in the table surface, that is, an assembly error including a translation error and a rotation error in the table surface (table centerline described below) with respect to a table rotation axis rotation centerline, into a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes. However, an installation error (a translation error and a rotation error in a workpiece centerline described below) during workpiece installation may be considered to be an assembly error (translation error and rotation error) in the table surface. Thus, the present invention is applicable to an error during workpiece installation.





BRIEF DESCRIPTION OF THE DRAWINGS

The above-described and other objects and features of the present invention will be apparent from the description below of embodiments given with reference to the attached drawings, in which:



FIG. 1 is a diagram illustrating a table rotating multi-axis machining apparatus (5-axis machining apparatus) without any assembly error;



FIG. 2 is a diagram illustrating that an assembly error including an assembly error in a table surface is represented as an error in a rotation axis rotation centerline (A axis rotation centerline and C axis rotation centerline) and an error (translation error and rotation error) in the table surface with respect to a table rotation axis rotation centerline (C axis rotation centerline);



FIG. 3 is a diagram showing how the displaced rotation axis rotation centerline varies, focusing only on the rotation axis rotation centerline;



FIG. 4 is a diagram illustrating that a workpiece is installed on a displaced workpiece installation surface on the displaced table in FIG. 2;



FIG. 5 is a diagram illustrating a data table for a translation error compensation amount and a rotation error compensation amount;



FIG. 6 is a block diagram illustrating an embodiment of a translation/rotation error compensation amount creating device according to the present invention which inputs a translation error compensation amount and a rotation error compensation amount both depending on rotation axes to a numerical controller;



FIG. 7 is a block diagram illustrating another embodiment of the translation/rotation error compensation amount creating device according to the present invention included in the numerical controller;



FIG. 8 is a flowchart showing a flow of processing carried out by a translation error compensation amount calculating section and a translation error compensation amount input section in a first embodiment of the translation/rotation error compensation amount creating device according to the present invention;



FIG. 9 is a block diagram illustrating an embodiment of the translation/rotation error compensation amount creating device according to the present invention which obtains the positions of two rotation axes from the numerical controller and which calculates the translation error compensation amount and rotation error compensation amount depending on the rotation axes and input the calculated results to the numerical controller;



FIG. 10 is a diagram illustrating a tool head rotating multi-axis machining apparatus (5-axis machining apparatus) without any assembly error;



FIG. 11 is a diagram illustrating that, when A=0, a tool direction of a tool head is a Z axis direction in the tool head rotating multi-axis machining apparatus (5-axis machining apparatus) shown in FIG. 10;



FIG. 12 is a diagram illustrating that an assembly error including an assembly error in a spindle turning centerline is represented as an error in the rotation axis rotation centerline and an error in the spindle turning centerline (translation error and rotation error);



FIG. 13 is a diagram showing how the displaced rotation axis rotation centerline varies, focusing only on the rotation axis rotation centerline;



FIG. 14 is a diagram illustrating a mixed multi-axis machining apparatus (5-axis machining apparatus) to which the translation/rotation error compensation amount creating device according to the present invention is applied; and



FIG. 15 is a diagram illustrating one-dimensional data tables for a C axis and an A axis, respectively.





DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
First Embodiment
<1> Target Machine and Errors


FIG. 1 shows a table rotating multi-axis machining apparatus (5-axis machining apparatus) without any assembly error. In this case, a table 2 rotates with respect an A axis and a C axis, and a tool head 4 equipped with a tool 6 with a tool center point 8 moves with respect to an X axis, a Y axis, and a Z axis. Another axial configuration may be used if the machining apparatus includes a table 2 that rotates with respect to two rotation axes.


When A=0, the rotary table is horizontally placed as shown in FIG. 1. An original A axis rotation centerline Ca−T is orthogonal to an original C axis rotation centerline Cc−T, and the original C axis rotation centerline Cc−T coincides with an original table centerline Ct−T. In this case, “C” means “Correct”, and “A” in At-T described below (displaced table centerline) and the like means “Actual”. Furthermore, “−T” means that the data forms an error in the table. A position instruction for the A axis and the C axis, which are rotation axes, is denoted by (a, c).


As shown in FIG. 2, an assembly error including an assembly error in the table surface is represented as an error in a rotation axis rotation centerline (A axis rotation centerline and C axis rotation centerline) and an assembly error (translation error and rotation error) in the table surface with respect to the table centerline (C axis rotation centerline). Errors are exaggerated in FIG. 2, though the actual errors are small.


Errors are represented as follows. The errors are pre-measured and set by an assembly error setting section.


1) An Error in a Displaced Table Centerline At−T with Respect to the Original Table Centerline Ct−T


δt−T (δtx−T, δty−T, δtz−T)T: an X component, a Y component, and a Z component of a deviation distance from Ct−T observed when A=0 and C=0 and corresponding to Co−T that is an intersecting point between the original A axis rotation centerline and the original C axis rotation centerline, to At−T. This is a translation error in the assembly error in the table surface. “T” represents transposition but will not particularly be described when the transposition is obvious.

    • (αt−T, βt−T, γt−T): this indicates that, when A=0 and C=0, At−T is tilted from Ct−T with a rotation error αt−T around an X axis, a rotation error βt−T around a Y axis, and a rotation error γt−T around a Z axis. This is a rotation error in the assembly error in the table surface and is expressed in radian. Data indicative of an angle is hereinafter expressed in radian unless otherwise specified.
    • nT-T: a direction vector of At−T. Thus, nT-T is normal to the actual (displaced) table surface.


2) An Error in the Displaced C Axis Rotation Centerline Ac−T with Respect to the Original C Axis Rotation Centerline Cc−T

    • δc−T (δcx−T, δcy−T, δcz−T): the X component, Y component, and Z component of a deviation distance from Cc−T observed when A=0 and corresponding to Co−T that is the intersecting point between the original A axis rotation centerline and the original C axis rotation centerline, to Ac−T. This is a translation error in an assembly error in the C axis.


In this case, Ac−T may vary like a top depending on the position of the C axis. Then, δc−T is δc−T(c) (δcx−T(c), δcy−T(c), δcz−T(c)) varying depending on c.


Moreover, Ac−T may be affected by the position of the other axis. If Ac−T is affected by the position of the A axis, δc−T is δc−T(a, c) (δcx−T(a, c), δcy−T(a, c), δcz−T(a, c)) varying depending on (a, c). FIG. 3 illustrates how Ac-T and Aa-T, described next, vary, focusing only on the rotation axis rotation centerline.

    • (αc−T, βc−T, γc−T): this indicates that, when A=0, Ac−T is tilted from Cc−T with a rotation error αc−T around the X axis, a rotation error βc−T around the Y axis, and a rotation error γc−T around the Z axis. This is a rotation error in the assembly error in the C axis. As is the case with δc−T, if Ac−T varies depending on the position of the C axis, (αc−T, βc−T, γc−T) is (αc−T (c), βc−T(c), γc−T(c)) varying depending on c. Moreover, if Ac−T is affected by the position of the other axis (A axis), (αc−T, βc−T, γc−T) is (αc−T(a, c), βc−T(a, c), γc−T(a, c)) varying depending on (a, c) (see FIG. 3).
    • nC-T: a direction vector of Ac−T.


3) An Error in the Displaced A Axis Rotation Centerline Aa−T with Respect to the Original a Axis Rotation Centerline Ca−T

    • δa−T (δax−T, δay−T, δaz−T): the X component, Y component, and Z component of a deviation distance from Ca−T corresponding to Co−T that is the intersecting point between the original A axis rotation centerline and the original C axis rotation centerline, to Aa−T. This is a translation error in an assembly error in the A axis. As is the case with δc−T, if Aa−T varies depending on the position of the A axis, δa−T is δa−T(a) (δax−T(a), δay−T(a), δaz−T(a)) varying depending on a (see FIG. 3).
    • (αa−T, βa−T, γa−T): this indicates that Aa−T is tilted from Ca−T with a rotation error αa−T around the X axis, a rotation error βa−T around the Y axis, and a rotation error γa−T around the Z axis. This is a rotation error in the assembly error in the A axis. As is the case with δa−T, if Aa−T varies depending on the position of the A axis, (αa−T, βa−T, γa−T) is (αa−T(a), βa−T(a), γa−T (a)) varying depending on a (see FIG. 3).
    • nA-T: a direction vector of Aa−T.


<2> Translation Error Compensation Amount and Rotation Error Compensation Amount Depending on the Rotation Axes

A workpiece is placed on the table. Here, an assembly error in the table (translation error δt−T (δtx−T, δty−T, δtz−T) and a rotation error (αt−T, βt−T, γt−T) are focused on. Then, when A=0 and C=0, a translation error compensation amount (ΔXR, ΔYR, ΔZR) and a rotation error compensation amount (ΔIR, ΔJR, ΔKR) both depending on the rotation axes (A axis and C axis) are δt−T (δtx−T, δty−T, δtz−T) and (αt−T, βt−T, γt−T), respectively.


Errors in the table are compensated so as to be traced, and are thus equal to compensation amounts.


When A=a and C=c, the translation error δt−T and the rotation error (αt−T, βt−T, γt−T) are varied as follows by rotation of the A axis and the C axis. When the table rotates so that A=a and C=c, the table itself rotates around the C axis by −c and around the A axis by −a. Thus, a translation/rotation error compensation amount calculating section 42 (see FIG. 6) carries out a calculation for a case where the table rotates around the actual C axis (displaced C axis rotation centerline, Ac−T) by −c and around the actual A axis (displaced A axis rotation centerline, Aa−T) by −a. In the calculation, square terms for an error and an error compensation amount are neglected. Furthermore, when a rotation error is denoted by e, |e|<<1, and the following approximations are carried out: sin(e)=e and cos(e)=1. This is also applicable to embodiments to be described later.


<2-1> Translation Error Compensation Amount


A translation error δt−T (δtx−T, δty−T, δtz−T) in the table is rotated around the displaced C axis rotation centerline Ac−T by −c and further around the displaced A axis rotation centerline Aa−T by −a.


A matrix that rotates, by −c, around a vector nC-T indicative of the direction of Ac−T observed when A=0 is denoted by Mc−T. A matrix that rotates, by −a, around a vector nA-T indicative of the direction of Aa−T is denoted by Ma−T.


The expression “A translation error δt−T (δtx−T, δty−T, δtz−T) in the table is rotated around Ac−T by −c and further around Aa−T by −a” means that δt−T (≡tx−T, δty−T, δtz−T) is rotated around nC-T in δc−T by −c and further around nA-T in δa−T by −a. Thus, the translation error compensation amount (ΔXR, ΔYR, ΔZR) corresponding to the position of the A axis (a) and the position of the C axis (c) (that is, depending on the rotation axes) is as expressed by:













[




Δ





XR






Δ





YR






Δ





ZR




]

=





Ma

-
T


*

{


M






c

-
T


*

(


δ






t

-
T



-

δ






c

-
T




)


+

δ






c

-
T



-

δ






a

-
T




}


+

δ






a

-
T










=




[






(


δ






tx

-
T



-

δ






cx

-
T




)



cos


(
c
)



+


(


δ






ty

-
T



-

δ






cy
T



)



sin


(
c
)



+

δ






cx

-
T












{



-

(


δ






ty

-
T



-

δ






cy

-
T




)




sin


(
c
)



+


(


δ






ty

-
T



-

δ






cy

-
T




)



cos


(
c
)



+











δ






cy

-
T



-

δ






ay

-
T




}



cos


(
a
)



+


(


δ






tz

-
T



-

δ






az

-
T




)



sin


(
a
)



+

δ






ay

-
T















-

{



-

(


δ






ty

-
T



-

δ






cy

-
T




)




sin


(
c
)



+


(


δ






ty

-
T



-

δ






cy

-
T




)



cos


(
c
)



+












δ






cy

-
T



-

δ






ay

-
T




}



sin


(
a
)



+


(


δ






tz

-
T



-

δ






az

-
T




)



cos


(
a
)



+

δ






az

-
T










]

.








(
1
)








<2-2> Rotation Error Compensation Amount


A rotation error (αt−T, βt−T, γt−T) in the table rotates around the C axis rotation centerline Ac−T by −c and further around the A axis rotation centerline Aa−T by −a. A vector in the correct table centerline direction observed when A=a and C=c is denoted by nz−T. A rotation matrix MI based on the rotation error compensation amount (ΔIR, ΔJR, ΔKR) corresponding to the position of the vector when A=a and C=c (that is, the rotation error compensation amount (ΔIR, ΔJR, ΔKR) depending on the rotation axes), is expressed by:










M
I

=


[



1




-
Δ






KR




Δ





JR






Δ





KR



1




-
Δ






JR







-
Δ






JR




Δ





IR



1



]

.





(
2
)







A direction obtained from compensation of the vector nz−T using the rotation error compensation amount (ΔIR, ΔJR, ΔKR) corresponds to a direction resulting from rotation of the vector nT-T around Ac−T by −c and further around Aa−T by −a, and thus, Formula (3) holds true.










[





β






t

-
T




cos


(
c
)



-

α






t

-
T




sin


(
c
)



+

β







c

-
T




(

1
-

cos


(
c
)



)



+

α






c

-
T




sin


(
c
)



-







β







a

-
T




(

1
-

cos


(
a
)



)



-

γ






a

-
T




sin


(
a
)









{



-
β







t

-
T




sin


(
c
)



-

α






t

-
T




cos


(
c
)



-

α







c

-
T




(

1
-

cos


(
c
)



)



+










β






c

-
T




sin


(
c
)



}



cos


(
a
)



+

sin


(
a
)











-

{



-
β







t

-
T




sin


(
c
)



-

α






t

-
T




cos


(
c
)



-

α







c

-
T




(

1
-

cos


(
c
)



)



+











β






c

-
T




sin


(
c
)



}



sin


(
a
)



+

cos


(
a
)









]

=



[






-
Δ






KR






sin


(
a
)



+

Δ





JR






cos


(
a
)










sin


(
a
)


-

Δ





IR






cos


(
a
)










Δ





IR






sin


(
a
)



+

cos


(
a
)






]






(
3
)







Formula (4) is obtained from the second and third elements of Formula (3).

ΔIR=−{−β−T sin(c)−αt−T cos(c)−αc−T(1−cos(c))+βc−T sin(c)}  (4)


ΔJR and ΔKR are determined from the first element of Formula (3) but are not uniquely determined. Thus, on the assumption that a denotes a tilting axis and is movable within the range of about −85 degrees<a<85 degrees (cos(a) does not assume a value close to 0), 0.0871<cos(a)≦1. Thus, ΔJR and ΔKR are determined as shown in Formula (5). The rotation error compensation amount (ΔIR, ΔJR, ΔKR) depending on the rotation axes is determined as described above. Of course, another solution meets Formula (3).











Δ





KR

=

γ






a

-
T











Δ





JR

=






β






t

-
T




cos


(
c
)



-

α






t

-
T




sin


(
c
)



+

β






c

-
T




(

1
-

cos


(
c
)



)


+







α






c

-
T




sin


(
c
)



-

β







a

-
T




(

1
-

cos


(
a
)



)








cos


(
a
)








(
5
)







Now, it is assumed that a workpiece is installed on the displaced table as shown in FIG. 4. More specifically, as shown in FIG. 4, it is assumed that a workpiece 10 is installed on a displaced workpiece installation surface 12 on the displaced table in FIG. 2 (the displaced workpiece 10 is placed on the displaced workpiece installation surface 12). In this case, like “1) An error in the displaced table centerline At−T with respect to the original table centerline Ct−T” in “<1> Target machine and errors”, the following error is present.


4) An Error in a Displaced Workpiece Centerline Aw−T with Respect to the Original Workpiece Centerline Cw−T:

    • δw−T (δwx−T, δwy−T, δwz−T): the X component, Y component, and Z component of a deviation distance from Cw−T observed when A=0 and C=0 and corresponding to Co−T that is an intersecting point between the original A axis rotation centerline and the original C axis rotation centerline, to Aw−T. This is a translation error in an installation assembly error during workpiece installation.
    • (αw−T, βw−T, γw−T): this indicates that, when A=0 and C=0, Aw−T is tilted from Cw−T with a rotation error αw−T around the X axis, a rotation error βw−T around the Y axis, and a rotation error γw−T around the Z axis. This is a rotation error in the installation error during workpiece installation.
    • nw-T: a direction vector of Aw−T. Thus, nw-T is normal to the actual (displaced) workpiece installation surface.


In this case, when the processing described in “<2-1> Translation error compensation amount” and “<2-2> Rotation error compensation amount” is carried out using “4) An error in a displaced workpiece centerline Aw−T with respect to the original workpiece centerline Cw−T” instead of “1) An error in the displaced table centerline At−T with respect to the original table centerline Ct−T”, the installation error (translation error and rotation error) during work installation may also be considered to be an assembly error (translation error and rotation error) in the table surface as described above. Obviously, a resultant error of the assembly error (translation error and rotation error) in the table surface and the installation error (translation error and rotation error) during work installation may also be considered to be an assembly error (translation error and rotation error) in the table surface. Thus, the assembly error in the table surface according to the present invention includes the installation error (translation error and rotation error) during workpiece installation.


<3> Input of the Translation Error Compensation Amount and the Rotation Error Compensation Amount

<3-1> Input to a Translation Error Compensation Amount and Rotation Error Compensation Amount Data Table in the Numerical Controller


As disclosed in JP 2009-151756 A, some numerical controllers contain a translation error compensation amount and rotation error compensation amount data table. The translation error compensation amount and rotation error compensation amount depending on the rotation axes calculated according to the present invention are input to such a numerical controller and set in the data table in the numerical controller.


The data table is configured like a grid as shown in FIG. 5. The translation error compensation amount (VnX, VnY, VnZ) and the rotation error compensation amount (VnI, VnJ, VnK) corresponding to each grid point (ai, cj) (i=1, 2, . . . , j=1, 2, . . . ) are input to and set in the numerical controller.


In this case, (ai, cj) denotes the positions of the A axis and the C axis pre-specified in the numerical controller and corresponding to each grid point, and n denotes a grid point number corresponding to a combination (i, j). Thus, the translation error compensation amount (ΔXR, ΔYR, ΔZR) and rotation error compensation amount (ΔIR, ΔJR, ΔKR) depending on the rotation axes (A axis and C axis) corresponding to each grid point (ai, cj) are determined, and the resultant translation error compensation amount (VnX, VnY, VnZ) and rotation error compensation amount (VnI, VnJ, VnK) are input to and set in the numerical controller. That is, with (a, c)=(ai, cj) set, the processing described in “<2-1> Translation error compensation amount” and “<2-2> Rotation error compensation amount” is carried out to determine (ΔXR, ΔYR, ΔZR) and (ΔIR, ΔJR, ΔKR). Then, the resultant translation error compensation amount (VnX, VnY, VnZ) and rotation error compensation amount (VnI, VnJ, VnK) corresponding to (ai, cj) are input to and set in the numerical controller in accordance with:











VnX
=

Δ





XR


,

VnY
=

Δ





YR


,

VnZ
=

Δ





ZR










VnI
=

Δ





IR


,

VnJ
=

Δ





JR


,

VnK
=

Δ






KR
.








(
6
)







In this case, a block diagram in FIG. 6 shows a first embodiment of a translation/rotation error compensation amount creating device according to the present invention which inputs the translation error compensation amount (ΔXR, ΔYR, ΔZR) and rotation error compensation amount (ΔIR, ΔJR, ΔKR) depending on the rotation axes to the numerical controller. That is, a numerical controller 30 analyzes an input machining program 20 by an instruction analyzing section 31 and carries out interpolation by an interpolation section 32 based on the analysis data. The interpolation section 32 further carries out compensation based on a translation error compensation amount and rotation error compensation amount data table 33 and the current position to drive respective axis servos 34X, 34Y, 34Z, 34A, and 34C. Thus, the numerical controller 30 controls a multi-axis machining apparatus having at least two rotation axes. The instruction analyzing section 31 and interpolation section 32 of the numerical controller 30 are collectively referred to as a numerical control section.


The compensation is performed by the interpolation section 32, but the compensation method carried out by the interpolation section 32 is a conventional technique also described in JP 2009-151756 A and will thus not particularly be described. An assembly error 43 including at least an assembly error in a table surface or an assembly error in a spindle turning centerline is set in the translation/rotation error compensation amount creating device 40 by an assembly error setting section 44. The translation/rotation error compensation amount calculating section 42 calculate the assembly error 43 and the translation error compensation amount (ΔXR, ΔYR, ΔZR) and rotation error compensation amount (ΔIR, ΔJR, ΔKR) depending on the rotation axes and corresponding to positions of two rotation axes (ai, cj), by setting (a, c)=(ai, cj) in the above-described processing. A translation/rotation error compensation amount input section 41 inputs these translation error compensation amount and the rotation error compensation amount to the numerical controller 30.


Furthermore, the translation/rotation error compensation amount creating device 40 may be incorporated in the numerical controller 30 as shown in FIG. 7.


<3-2> Direct Input of the Translation Error Compensation Amount and the Rotation Error Compensation Amount to the Numerical Controller


JP 2009-151756 A discloses a numerical controller that performs compensation based on the translation error compensation amount and the rotation error compensation amount. The positions (a, c) of the two rotation axes are obtained from the numerical controller, and the translation error compensation amount (ΔXR, ΔYR, ΔZR) and rotation error compensation amount (ΔIR, ΔJR, ΔKR) depending on the rotation axes, calculated according to the present invention, are input to a numerical controller 50, which then performs compensation.


In this case, a block diagram in FIG. 9 shows the first embodiment of the translation/rotation error compensation amount creating device according to the present invention which obtains the positions (a, c) of the two rotation axes and which calculates the translation error compensation amount (ΔXR, ΔYR, ΔZR) and rotation error compensation amount (ΔIR, ΔJR, ΔKR) both depending on the rotation axes and inputs the calculated result to the numerical controller. That is, a numerical controller 50 analyzes an input machining program 20 by an instruction analyzing section 51 and carries out interpolation by an interpolation section 52 based on the analysis data. The interpolation section 52 further carries out compensation based on the translation error compensation amount, the rotation error compensation amount, and the current position to drive the respective axis servos 34X, 34Y, 34Z, 34A, and 34C. The compensation method to be carried out by the interpolation section 52 is a conventional technique as described in JP 2009-151756 A mentioned above and will thus not particularly be described.


In this case, the assembly error 43 including at least the assembly error in the table surface or the assembly error in the spindle turning centerline is set in the translation/rotation error compensation amount creating device 40 by the assembly error setting section 44. The positions (a, c) of the two rotation axes are obtained from the numerical controller 50 at every interpolation period. The translation/rotation error compensation amount calculating section 42 calculates the assembly error 43 and the translation error compensation amount (ΔXR, ΔYR, ΔZR) and rotation error compensation amount (ΔIR, ΔJR, ΔKR) both depending on the rotation axes and corresponding to the positions (a, c) of the two rotation axes. The translation/rotation error compensation amount input section 41 inputs these translation error compensation amount and the rotation error compensation amount to the numerical controller 50.


Furthermore, the translation/rotation error compensation amount creating device 40 may be incorporated in the numerical controller 50 as is the case with FIG. 7.


With reference to a flowchart in FIG. 8, a flow of processing will be described which is carried out by the translation/rotation error compensation amount calculating section 42 and translation/rotation error compensation amount input section 41 in the first embodiment of the translation/rotation error compensation amount creating device according to the present invention. The flow of the processing will be described in accordance with steps of the flowchart.


[Step SA01] The translation/rotation error compensation amount calculating section 42 sets a=ai and c=cj for the positions (ai, cj) of the A axis and the C axis corresponding to each grid point and pre-specified in the numerical controller 30.


[Step SA02] In accordance with Formula (1), the translation/rotation error compensation amount calculating section 42 calculates the translation error compensation amount (ΔXR, ΔYR, ΔZR) depending on the rotation axes and corresponding to the positions (a, c) of the A axis and the C axis.


[Step SA03] In accordance with Formulae (2) to (5), the translation/rotation error compensation amount calculating section 42 calculates the rotation error compensation amount (ΔIR, ΔJR, ΔKR) depending on the rotation axes and corresponding to the positions (a, c) of the A axis and the C axis.


[Step SA04] In accordance with Formula (6), the translation/rotation error compensation amount input section 41 calculates and inputs the translation error compensation amount (VnX, VnY, VnZ) and rotation error compensation amount (VnI, VnJ, VnK) corresponding to (ai, cj), and inputs the calculated results to the numerical controller 30, and the process is ended.


Second Embodiment
<1> Target Machine and Errors


FIG. 10 shows a tool head rotating multi-axis machining apparatus (5-axis machining apparatus) without any assembly error. In this case, a tool head moves with respect to the X axis, the Y axis, and the Z axis, and rotates with respect the A axis and the C axis. Another axial configuration may be used if the machining apparatus includes a tool head that rotates with respect to two rotation axes.


When A=0, a tool direction of the tool head is a Z axis direction as shown in FIG. 11. An original A axis rotation centerline Ca−H is orthogonal to an original C axis rotation centerline Cc−H, and the original C axis rotation centerline Cc−H coincides with an original spindle turning centerline Cs−H. In this case, “−H” means the data that forms an error in the tool head. A position instruction for the A axis and the C axis is denoted by (a, c).


As shown in FIG. 12, an assembly error including an assembly error in the spindle turning centerline is represented as an error in the rotation axis rotation centerline (A axis rotation centerline and C axis rotation centerline) and an error in the spindle turning centerline (translation error and rotation error). Errors are exaggerated in FIG. 12, though the actual errors are small. In FIG. 12, δc−H and (αc−H, βc−H, γc−H) are originally separate vectors but are simplified and shown by one vector due to the lack of space.


Errors are represented as follows. The errors are pre-measured and set by an assembly error setting section.


1) An Error in a Displaced Spindle Turning Centerline As−H With Respect to the Original Spindle Turning Centerline Cs−H

    • δs−H (δsx−H, δsy−H, δsz−H): the X component, Y component, and Z component of a deviation distance from Cs−H observed when A=0 and C=0 and corresponding to Co−H that is an intersecting point between the original A axis rotation centerline and the original C axis rotation centerline, to As−H. This is a translation error in the assembly error in the spindle turning centerline.
    • (αs−H, βs−H, γs−H): this indicates that, when A=0 and C=0, As−H is tilted from Cs−H with a rotation error αs−H around the X axis, the rotation error βs−H around the Y axis, and a rotation error γs−H around the Z axis. This is a rotation error in the assembly error in the spindle turning centerline.
    • nS-H: a direction vector of As−H. Thus, nS-H is normal to the actual (displaced) spindle turning centerline direction.


2) An Error in the Displaced C Axis Rotation Centerline Ac−H WITH Respect to the Original C Axis Rotation Centerline Cc−H

    • δc−H (δcx−H, δcy−H, δcz−H): the X component, Y component, and Z component of a deviation distance from Cc−H observed when A=0 and corresponding to Co−H that is the intersecting point between the original A axis rotation centerline and the original C axis rotation centerline, to Ac−H. This is a translation error in an assembly error in the C axis. As is the case with the first embodiment, Ac−H may vary like a top depending on the position of the C axis. Then, δc−H is δc−H(c) (δcx−H(c), δcy−H(c), δcz−H (c)) varying depending on c. FIG. 13 illustrates how Ac−H and As−H, described next, varies, focusing only on the rotation axis rotation centerline.
    • (αc−H, βc−H, γc−H): this indicates that, when A=0, Ac−H is tilted from Cc−H with a rotation error αc−H around the X axis, a rotation error βc−H around the Y axis, and a rotation error γc−H around the Z axis. This is a rotation error in the assembly error in the C axis. As is the case with δc−H, if Ac−H varies depending on the position of the C axis, (αc−H, βc−H, γc−H) is (αc−H(c), βc−H(c), γc−H(c)) varying depending on c (see FIG. 13).
    • nC-H: a direction vector of Ac−H.


3) An Error in the Displaced A Axis Rotation Centerline Aa−H with Respect to the Original A Axis Rotation Centerline Ca−H

    • δa−H (δax−H, δay−H, δaz−H): the X component, Y component, and Z component of a deviation distance from Ca−H corresponding to Co−H that is the intersecting point between the original A axis rotation centerline and the original C axis rotation centerline, to Aa−H. This is a translation error in an assembly error in the A axis. As is the case with δc−H, if Aa−H varies depending on the position of the A axis, δa−H is δa−H(a) (δax−H(a), δay−H(a), δaz−H(a)) varying depending on a. Moreover, Aa−H may be affected by the position of the other axis. If As−H is affected by the position of the C axis, δa−H is δa−H (a, c) (δax−H (a, c), δay−H (a, c), δaz−H (a, c)) varying depending on (a, c) (see FIG. 13).
    • (αa−H, β−H, γa−H): this indicates that Aa−H is tilted from Ca−H with a rotation error αa−H around the X axis, a rotation error βa−H around the Y axis, and a rotation error γa−H around the Z axis. This is a rotation error in the assembly error in the A axis. As is the case with δa−H, if Aa−H varies depending on the position of the A axis, (αa−H, βa−H, γa−H) is (αa−H(a), βa−H(a), γa−H(a)) varying depending on a. If Aa−H is affected by the other axis (C axis) position, (αa−H, βa−H, γa−H) is (αa−H(a, c), βa−H(a, c), γa−H(a, c)) varying depending on (a, c) (see FIG. 13).
    • nA-H: a direction vector of Aa−H.


<2> Translation Error Compensation Amount and Rotation Error Compensation Amount Depending on the Rotation Axes

An assembly error in the spindle turning centerline (translation error δs−H (δsx−H, δsy−H, δsz−H) and a rotation error (αs−H, βs−H, γs−H) are focused on. Then, when A=0 and C=0, a translation error compensation amount (ΔXR, ΔYR, ΔZR) and a rotation error compensation amount (ΔIR, ΔJR, ΔKR) both depending on the rotation axes (A axis and C axis) are −δs−H (−δsx−H, −δsy−H, −δsz−H) and (−αs−H, −βs−H, −γs−H), respectively.


Errors in the tool head are compensated so as to be retracted, and thus, the compensation amount is equal to the error in the tool head the sign of which is inverted. When A=a and C=c, δs−H and (αs−H, δs−H, γs−H) are varied as follows by rotation of the A axis and the C axis.


When the tool head rotates so that A=a and C=c, a translation/rotation error compensation amount calculating section 42 (see FIG. 9) carries out a calculation for a case where the tool head rotates around the actual A axis (displaced A axis, Aa−H) by a and around the actual C axis (displaced C axis, Ac−H) by c.


<2-1> Translation Error Compensation Amount


A translation error δs−H (δsx−H, δsy−H, δsz−H) in the spindle turning centerline is rotated around the displaced A axis rotation centerline Aa−H by a and further around the displaced C axis rotation centerline Ac−H by c.


A matrix that rotates, by a, around a vector nA-H indicative of the direction of Aa−H is denoted by Ma−H.


A matrix that rotates, by c, around a vector nC-H indicative of the direction of Ac−H when A=0 is denoted by Mc−H. The expression “A translation error δs−H (δsx−H, δsy−H, δsz−H) in the spindle turning centerline is rotated around the displaced A axis rotation centerline Aa−H by a and further around the displaced C axis rotation centerline Ac−H by c” means that δs−H (δsx−H, δsy−H, δsz−H) is rotated around nA-H in δa−H by a and further around nC-H in δc−H by c. Moreover, the translation error compensation amount is a sign inverted value of the translation error. Thus, the translation error compensation amount (ΔXR, ΔYR, ΔZR) corresponding to the position of the A axis (a) and the position of the C axis (c) (that is, depending on the rotation axes) are as expressed by:













[




Δ





XR






Δ





YR






Δ





ZR




]

=





-
M







c

-
H


*

{



Ma

-
H


*

(


δ






s

-
H



-

δ






a

-
H




)


+

δ






a

-
H



-

δ






c

-
H




}


-

δ






c

-
H










=




[









-

(


δ






sx

-
H



-

δ






cx

-
H




)




cos


(
c
)



+

{



(


δ






sy

-
H



-

δ






ay

-
H




)



cos


(
a
)



-











(


δ






sz

-
H



-

δ






az

-
H




)



sin


(
a
)



+

(


δ






ay

-
H



-

δ






cy

-
H




)


}










sin


(
c
)


-

δ






cx

-
H

















-

(


δ






sx

-
H



-

δ






cx

-
H




)




sin


(
c
)



+

{



-

(


δ






sy

-
H



-

δ






ay

-
H




)




cos


(
a
)



+










(


δ






sz

-
H



-

δ






az

-
H




)



sin


(
a
)



-












(


δ






ay

-
H



-

δ






cy

-
H




)

}



cos


(
c
)



-

δ






cy

-
H

















-

(


δ






sy

-
H



-

δ






ay

-
H




)




sin


(
a
)



-








(


δ






sz

-
H



-

δ






az

-
H




)



cos


(
a
)



-

δ






az

-
H










]

.








(
7
)








<2-2> Rotation Error Compensation Amount


(αs−H, βs−H, γs−H) rotates around the displaced A axis rotation centerline Aa−H by a and further around the displaced C axis rotation centerline Ac−H by c. A vector obtained in the correct spindle turning centerline direction when A=a and C=c is denoted by nz−H. When A=a and C=c, a rotation matrix MI based on the rotation error compensation amount (ΔIR, ΔJR, ΔKR) corresponding to the position of the vector (that is, depending on the rotation axes) is, as with the case with the first embodiment, expressed by:










M
I

=


[



1




-
Δ






KR




Δ





JR






Δ





KR



1




-
Δ






IR







-
Δ






JR




Δ





IR



1



]

.





(
8
)







The vector nz−H corresponds to a direction obtained by compensation, using the rotation error compensation amount (ΔIR, ΔJR, ΔKR), of a direction resulting from rotation of the direction vector nS-H around the A axis rotation centerline Aa−H by a and further around the C axis rotation centerline Ac−H by c. Thus, Formula (9) holds true.










[






{






β






s

-
H



-

β







a

-
H




(

1
-

cos


(
a
)



)



+

γ






a

-
H




sin


(
a
)




}



cos


(
c
)



+











{


α






s

-
H




cos


(
a
)



+

sin


(
a
)



}



sin


(
c
)



+







{


β







c

-
H




(

1
-

cos


(
c
)



)



-

α






c

-
H




sin


(
c
)




}



cos


(
a
)













{


β






s

-
H



-

β







a

-
H




(

1
-

cos


(
a
)



)



+

γ






a

-
H




sin


(
a
)




}



sin


(
c
)



-











{


α






s

-
H




cos


(
a
)



+

sin


(
a
)



}



cos


(
c
)



+







{



-
α








c

-
H




(

1
-

cos


(
c
)



)



-

β






c

-
H




sin


(
c
)




}



cos


(
a
)













-

{



-
α








c

-
H




(

1
-

cos


(
c
)



)



+

β






c

-
H




sin


(
c
)




}




sin


(
a
)



-

α






s

-
H




sin


(
a
)



+

cos


(
a
)






]

=



[






sin


(
c
)




sin


(
a
)



-

Δ





KR






cos


(
c
)




sin


(
a
)



-

Δ





JR






cos


(
a
)











-
Δ






KR






sin


(
c
)




sin


(
a
)



-


cos


(
c
)




sin


(
a
)



+

Δ





IR






cos


(
a
)










Δ





JR






sin


(
c
)




sin


(
a
)



+

Δ





IR






cos


(
c
)




sin


(
a
)



+

cos


(
a
)






]






(
9
)







Given −85 degrees<a<85 degrees as is the case with the first embodiment, Formula (10) is obtained from Formula (9). The rotation error compensation amount (ΔIR, ΔJR, ΔKR) depending on the rotation axes is determined as described above. Of course, another solution meets Formula (9).











Δ





IR

=


β






a

-
H




sin


(
c
)



-

α






s

-
H




cos


(
c
)



-

α







c

-
H




(

1
-

cos


(
c
)



)



-

β






c

-
H




sin


(
c
)



+



(


β






s

-
H



-

β






a

-
H




)



sin


(
c
)




cos


(
a
)












Δ





JR

=



-
β







a

-
H




cos


(
c
)



-

α






s

-
H




sin


(
c
)



+

α






c

-
H




sin


(
c
)



-

β







c

-
H




(

1
-

cos


(
c
)



)



-



(


β






s

-
H



-

β






a

-
H




)



cos


(
c
)




cos


(
a
)
















Δ





KR

=


-
γ







a

-
H








(
10
)







<3> Input of the Translation Error Compensation Amount and the Rotation Error Compensation Amount

This aspect is the same as the corresponding aspect of the first embodiment and will not be described below.


Third Embodiment
<1> Target Machine and Errors


FIG. 14 shows a mixed multi-axis machining apparatus (5-axis machining apparatus) to which the translation/rotation error compensation amount creating device according to the present invention is applied. In this case, a tool head moves with respect to the X axis, the Y axis, and the Z axis, and rotates with respect the A axis, and a table rotates with respect to the C axis. Another axial configuration may be used if the machining apparatus includes a tool head that rotates with respect to one of the rotation axes and a table that rotates with respect to the other rotation axis.


The present embodiment is the same as the second embodiment except that the tool head rotates with respect to one rotation axis instead of two rotation axes, and also the same as the first embodiment except that the table rotates with respect to one axis rather than two axes. Thus, the description of the third embodiment is simplified.


In FIG. 14, for example, δa−H and (αa−H, βa−H, γa−H), like δc−H and (αc−H, βc−H, γc−H) in FIG. 12, are originally separate vectors but are simplified and shown by one vector due to the lack of space.


<2> Translation Error Compensation Amount and Rotation Error Compensation Amount Depending on the Rotation Axes

The calculation for only the C axis according to the first embodiment is carried out. That is, with a=0, αa−T=0, βa−T=0, γa−T=0, δax−T=0, δay−T=0, and δaz−T=0 set, a translation error compensation amount (ΔXC, ΔYC, ΔZC) and a rotation error compensation amount (ΔIC, ΔJC, ΔKC) both depending on the rotation axis (C axis) according to the first embodiment are determined.


The calculation for only the A axis according to the second embodiment is carried out. That is, with c=0, αc−H=0, βc−H=0, γc−H=0, δcx−H=0, δcy−H=0, and δcz−H=0 set, a translation error compensation amount (ΔXA, ΔYA, ΔZA) and a rotation error compensation amount (ΔIA, ΔJA, ΔKA) both depending on the rotation axis (A axis) according to the second embodiment are determined.


<3> Input of the Translation Error Compensation Amount and the Rotation Error Compensation Amount

<3-1> Input to a Translation Error Compensation Amount and Rotation Error Compensation Amount Data Table in the Numerical Controller


According to the conventional art, such a one-dimensional data table as shown in FIG. 15 is provided for each of the C axis and the A axis. A translation error compensation amount (ViX, ViY, ViZ) and a rotation error compensation amount (ViI, ViJ, ViK) both corresponding to each grid point (ai) (i=1, 2, . . . ) are input to and set in the data tables.


Thus, the translation error compensation amount (ΔXA, ΔYA, ΔZA) and rotation error compensation amount (ΔIA, ΔJA, ΔKA) both depending on the A axis and corresponding to each grid point (ai) are determined, and are input to and set in the numerical controller as the translation error compensation amount (ViX, ViY, ViZ) and the rotation error compensation amount (ViI, ViJ, ViK). That is, the translation/rotation error compensation amount creating device sets a equal to ai (a=ai) and determines the translation error compensation amount (ΔXA, ΔYA, ΔZA) and rotation error compensation amount (ΔIA, ΔJA, ΔKA) both depending on the rotation axis (A axis). The translation/rotation error compensation amount creating device then inputs and sets the determined (ΔXA, ΔYA, ΔZA) and (ΔIA, ΔJA, ΔKA) as translation error compensation amount (ViX, ViY, ViZ) and rotation error compensation amount (ViI, ViJ, ViK) corresponding to (ai) in the numerical controller in accordance with:











ViX
=

Δ





XA


,

ViY
=

Δ





YA


,

ViZ
=

Δ





ZA










ViI
=

Δ





IA


,

ViJ
=

Δ





JA


,

ViK
=

Δ






KA
.








(
11
)







The translation/rotation error compensation amount creating device is also configured to input and set a translation error compensation amount (VjX, VjY, VjZ) and a rotation error compensation amount (VjI, VjJ, VjK) both corresponding to each grid point (cj) (j=1, 2, . . . ) in the numerical controller. Thus, the translation/rotation error compensation amount creating device similarly determines the translation error compensation amount (ΔXC, ΔYC, ΔZC) and rotation error compensation amount (ΔIC, ΔJC, ΔKC) depending on the rotation axis (C axis) and corresponding to each grid point (cj). The translation/rotation error compensation amount creating device then inputs and sets the determined (ΔXC, ΔYC, ΔZC) and (ΔIC, ΔJC, ΔKC) as translation error compensation amount (VjX, VjY, VjZ) and rotation error compensation amount (VjI, VjJ, VjK) in the numerical controller.


In this case, a block diagram in FIG. 6 or FIG. 7 shows a third embodiment of the translation/rotation error compensation amount creating device according to the present invention which inputs the translation error compensation amount and rotation error compensation amount depending on the rotation axis to the numerical controller.


<3-2> Direct Input of the Translation Error Compensation Amount and the Rotation Error Compensation Amount to the Numerical Controller


Some numerical controllers perform compensation based on the translation error compensation amount and the rotation error compensation amount as disclosed in JP 2009-151756 A. The translation/rotation error compensation amount creating device 40 obtains the positions (a, c) of the two rotation axes from such a numerical controller 50 as described above. The translation/rotation error compensation amount creating device 40 then inputs the translation error compensation amounts (ΔXA, ΔYA, ΔZA) and (ΔXC, ΔYC, ΔZC) and rotation error compensation amounts (ΔIA, ΔJA, ΔKA) and (ΔIC, ΔJC, ΔKC) determined as described above and depending on the rotation axes to the numerical controller 50. The numerical controller 50 perform compensation based on the input values. In this case, the block diagram in FIG. 9 shows the third embodiment of the translation/rotation error compensation amount creating device according to the present invention which obtains the positions (a, c) of the two rotation axes from the numerical controller and which calculates and inputs the translation error compensation amount and rotation error compensation amount depending on the rotation axes to the numerical controller. Furthermore, the translation/rotation error compensation amount creating device 40 may be incorporated in the numerical controller 50 as is the case with the first embodiment.

Claims
  • 1. A translation/rotation error compensation amount creating device for creating, for a multi-axis machining apparatus having at least two rotation axes, a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes, the translation/rotation error compensation amount creating device comprising: an assembly error setting section configured to preset an assembly error including at least an assembly error in a table surface or an assembly error in a spindle turning centerline in the multi-axis machining apparatus;a translation/rotation error compensation amount calculating section configured to calculate the translation error compensation amount by a first arithmetic expression based on the assembly error and positions of the two rotation axes, andthe rotation error compensation amount by a second arithmetic expression for solving an equation based on a correct direction vector of the table surface or the spindle turning centerline based on the positions of the two rotation axes,the rotation error compensation amount,the assembly error, andan actual direction vector of the table surface or the spindle turning centerline based on the positions of the two rotation axes; anda translation/rotation error compensation amount input section configured to input the calculated translation error compensation amount and the rotation error compensation amount to a translation error compensation amount and rotation error compensation amount data table in a numerical controller controlling the multi-axis machining apparatus,whereinthe multi-axis machining apparatus is a table rotating multi-axis machining apparatus having a rotary table,the translation/rotation error compensation amount creating device is configured to convert the assembly error in the table surface in the table rotating multi-axis machining apparatus into the translation error compensation amount and the rotation error compensation amount both depending on the rotation axes,the two rotation axes include an A axis and a C axis,the first arithmetic expression for calculating the translation error compensation amount (ΔXR, ΔYR, ΔZR) corresponding to a position (a) of the A axis and a position (c) of the C axis is as follows:
  • 2. A translation/rotation error compensation amount creating device for creating, for a multi-axis machining apparatus having at least two rotation axes, a translation error compensation amount and a rotation error compensation amount both depending on the rotation axes, the translation/rotation error compensation amount creating device comprising: an assembly error setting section configured to preset an assembly error including at least an assembly error in a table surface or an assembly error in a spindle turning centerline in the multi-axis machining apparatus;a translation/rotation error compensation amount calculating section configured to calculate the translation error compensation amount by a first arithmetic expression based on the assembly error and positions of the two rotation axes, andthe rotation error compensation amount by a second arithmetic expression for solving an equation based on a correct direction vector of the table surface or the spindle turning centerline based on the positions of the two rotation axes,the rotation error compensation amount,the assembly error, andan actual direction vector of the table surface or the spindle turning centerline based on the positions of the two rotation axes; anda translation/rotation error compensation amount input section configured to input the calculated translation error compensation amount and the rotation error compensation amount to a translation error compensation amount and rotation error compensation amount data table in a numerical controller controlling the multi-axis machining apparatus,whereinthe multi-axis machining apparatus is a tool head rotating multi-axis machining apparatus,the translation/rotation error compensation amount creating device is configured to convert the assembly error in the spindle turning centerline in the tool head rotating multi-axis machining apparatus into the translation error compensation amount and the rotation error compensation amount both depending on the rotation axes,the two rotation axes include an A axis and a C axis,the first arithmetic expression for calculating the translation error compensation amount (ΔXR, ΔYR, ΔZR) corresponding to a position (a) of the A axis and a position (c) of the C axis is as follows:
Priority Claims (1)
Number Date Country Kind
2012-220675 Oct 2012 JP national
US Referenced Citations (3)
Number Name Date Kind
20110015877 Okita et al. Jan 2011 A1
20110234142 Otsuki Sep 2011 A1
20120001583 Otsuki Jan 2012 A1
Foreign Referenced Citations (7)
Number Date Country
10201001776 Feb 2011 DE
2004-272887 Sep 2004 JP
20099274 Jan 2009 JP
2009-151756 Jul 2009 JP
2011-209897 Oct 2011 JP
2012-14335 Jan 2012 JP
2012-104153 May 2012 JP
Non-Patent Literature Citations (4)
Entry
Office Action mailed Mar. 3, 2015, corresponding to Japanese patent application No. 2012-220675.
Office Action mailed Jun. 3, 2014, corresponds to Japanese patent application No. 2012-220675.
Journal of Technical Disclosure No. 2009-505137.
European Search Report dated Sep. 10, 2015 for corresponding German Application 10 2013 110 689.7, 16 pages.
Related Publications (1)
Number Date Country
20140094970 A1 Apr 2014 US