Error correction amount creating device

Information

  • Patent Grant
  • 10054930
  • Patent Number
    10,054,930
  • Date Filed
    Friday, September 19, 2014
    10 years ago
  • Date Issued
    Tuesday, August 21, 2018
    6 years ago
  • Inventors
  • Original Assignees
  • Examiners
    • Laughlin; Nathan L
    Agents
    • Hauptman Ham, LLP
Abstract
In an error correction amount creating device that creates an error correction amount for a five-axis machine controlled by a numerical controller and having three linear axes and two rotation axes, the translation error correction amount and the rotation error correction amount for each lattice point of a lattice region into which a two-dimensional coordinate system space with the rotation axes is divided is obtained from data measured for each position of division of the respective axes and given to the numerical controller.
Description
RELATED APPLICATIONS

The present application claims priority to Japanese Application Number 2013-202358, filed Sep. 27, 2013, 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 an error correction amount creating device for a five-axis machine having three linear axes and two rotation axes, in which at least one of a rotation axis-dependent translation correction amount and a rotation axis-dependent rotation correction amount with respect to the two rotation axes is obtained from measurement data of measurement by a measuring machine to create an error correction amount.


2. Description of the Related Art


In a five-axis machine having three linear axes and two rotation axes, an error dependent on the rotation axis (i.e., an error in accordance with the rotation amount of the rotation axis) occurs when the rotation axis is moved according to a movement instruction. Therefore, in the case of performing machining with high precision, it is necessary to correct the error dependent on the rotation axis with an error correction amount dependent on the rotation axis.


In Japanese Patent Application Laid-open No. 2009-151756 and Journal of Technical Disclosure No. 2009-505137, it is disclosed that an error dependent on a rotation axis is corrected by obtaining the translation error amount and rotation error amount dependent on the rotation axis from measurement data obtained by measurement using a measuring machine and creating an error correction table.


Japanese Patent Application Laid-open No. 2009-151756 mentioned above discloses a technique for a five-axis machine in which a two-dimensional coordinate system space is divided at equal intervals or unequal intervals in each axis direction to obtain, from measurement data for each position of division, the translation error amount and rotation error amount dependent on the rotation axis for each lattice point of lattice regions into which the two-dimensional coordinate system space with the two rotation axes is divided at equal intervals or unequal intervals in each direction.


On the assumption that the error of the center of rotation of the rotation axis does not change along with rotation, Journal of Technical Disclosure No. 2009-505137 discloses a technique for a five-axis machine in which a two-dimensional coordinate system space with two rotation axes is divided into lattice regions of equal intervals or unequal intervals in each axis direction to obtain the translation error amount and rotation error amount dependent on the rotation axis for each lattice point from measurement data of position at which all angles of these two rotation axes are zero.


However, with the technique disclosed in Japanese Patent Application Laid-open No. 2009-151756 mentioned above, measurement of the error for each position of division takes time. With the technique disclosed in Journal of Technical Disclosure No. 2009-505137 mentioned above, a case where the error of the center of rotation of the rotation axis changes along with rotation cannot be dealt with.


SUMMARY OF THE INVENTION

Thus, an object of the present invention is to provide an error correction amount creating device that can deal with a case where the error of the center of rotation of a rotation axis changes along with rotation and that enables simplification of the measurement of error and an increase in speed of the calculation of the error correction amount by obtaining at least one of the translation error correction amount dependent on the rotation axis and rotation error correction amount dependent on the rotation axis from a small amount of measurement data.


An error correction amount creating device of the present invention creates an error correction amount for a five-axis machine controlled by a numerical controller and having three linear axes and two rotation axes. The error correction amount creating device includes a measurement data input unit that inputs, as arithmetic measurement data, a translation error and rotation error at respective positions divided at equal or unequal intervals for each of the two rotation axes, measured by a measuring machine, an error correction amount arithmetic unit that obtains, from the arithmetic measurement data, at least one of a rotation axis-dependent translation error correction amount that is a translation error correction amount and a rotation axis-dependent rotation error correction amount that is a rotation error correction amount, for each lattice point of lattice regions into which a two-dimensional coordinate system space with the two rotation axes is divided at the equal intervals or unequal intervals in each axis direction, and an error correction amount output unit that outputs at least one of the rotation axis-dependent translation error correction amount and the rotation axis-dependent rotation error correction amount to the numerical controller controlling the five-axis machine.


The error correction amount creating device may be independent from the numerical controller or be present within the numerical controller.


The five-axis machine may be a table rotating five-axis machine in which a table is rotated about the two rotation axes or a head rotating five-axis machine in which a head is rotated about the two rotation axes.


The present invention can provide an error correction amount creating device that can deal with a case where the error of the center of rotation of a rotation axis changes along with rotation and that enables simplification of the measurement of error and an increase in speed of the calculation of the error correction amount by obtaining at least one of the translation error correction amount dependent on the rotation axis and the rotation error correction amount dependent on the rotation axis from a small amount of measurement data.





BRIEF DESCRIPTION OF THE DRAWINGS

The above-mentioned as well as other objects and features of the present invention will become clear from the description of embodiments below with reference to the accompanying drawings. Of the drawings:



FIG. 1 is a view illustrating a table rotating five-axis machine having two rotation axes without an error;



FIGS. 2A to 2C are views illustrating the translation errors and rotation errors of the A-axis when the C-axis is fixed in an arbitrary position and the A-axis is at each of 0 degrees, 45 degrees, and 90 degrees;



FIG. 3A is a view showing each position at which a two-dimensional coordinate system space with two rotation axes is divided at equal intervals or unequal intervals in each axis direction;



FIG. 3B is a view illustrating the translation error and rotation error of the A-axis for each position of division as shown in FIG. 3A;



FIGS. 4A to 4E are views illustrating the translation error and rotation error of the C-axis;



FIGS. 5A and 5B are views respectively illustrating the definition and motion of an A-axis coordinate system;



FIG. 6 is a view illustrating that there are a translation error (EXC0,c, EYC0,c, EZC0,c) and rotation error (EAC0,c, EBC0,c, ECC0,c) dependent on the C-axis when the C-axis is fixed at an arbitrary angle c and the A-axis is at 0 degrees;



FIG. 7 is a view illustrating a case where the translation error (EXC0,c, EYC0,c, EZC0,c) and rotation error (EAC0,c, EBC0,c. ECC0,c) dependent on the C-axis that are defined with a machine coordinate system XYZ is transformed into the A-axis coordinate system;



FIG. 8 is a view illustrating a case where the C-axis is fixed at the arbitrary angle c and a change is made for the A-axis to an angle a other than 0 degrees;



FIG. 9 is a view illustrating the translation error and rotation error dependent on the C-axis when seen from the A-axis coordinate system for each position of division as shown in FIG. 3A;



FIG. 10 is a view illustrating that the translation errors and rotation errors dependent on the A-axis are the same within a column (frame in broken line), since the translation error and rotation error dependent on the A-axis do not change depending on the C-axis position but change depending on only the A-axis position a;



FIG. 11A is a view illustrating each position for measurement of error;



FIG. 11B is a view illustrating measurement data with respect to the A-axis and C-axis for the position for measurement of error;



FIG. 12 is a view for defining the coordinate system and the positive direction of rotation in order to obtain at least one of the translation error correction amount and rotation error correction amount dependent on the rotation axis;



FIGS. 13A to 13H are views illustrating that a work coordinate system XwYwZw when a change is made to a for the A-axis being the rotation axis and to c for the C-axis being the rotation axis is obtained by transformation of a reference coordinate system XrYrZr;



FIG. 14A is a view illustrating an error correction table of the translation error correction amount and the rotation error correction amount;



FIG. 14B is a view illustrating the translation error correction amount and rotation error correction amount for each lattice point shown in FIG. 14A;



FIG. 15 is a view illustrating that at least one of a translation error correction amount (ΔXai,cj, ΔYai,cj, ΔZai,cj) and a rotation error correction amount (ΔIai,cj, ΔJai,cj, ΔKai,cj) for (ai, cj) can be obtained to be output to and set in a numerical controller;



FIG. 16 is a view illustrating the configuration in which the numerical controller includes a translation and rotation error correction amount creating device;



FIG. 17 is a flowchart illustrating a process of an arithmetic measurement data input unit, a translation and rotation error correction amount arithmetic unit, and a translation and rotation error correction amount output unit in a first embodiment;



FIG. 18 is a view showing a tool head rotating five-axis machine having two rotation axes without an error;



FIG. 19 is a view illustrating that the tool direction of a tool head is the Z-axis direction when the two axes are without an error and A equals 0 degrees;



FIG. 20 is a view showing the translation error and rotation error of the C-axis;



FIGS. 21A and 21B are views respectively illustrating the definition and motion of a C-axis coordinate system;



FIG. 22A is a view illustrating the translation error and rotation error dependent on the A-axis when seen from the C-axis coordinate system (when the A-axis is fixed at the arbitrary angle a and a change is made for the C-axis to 0 degrees);



FIG. 22B is a view illustrating the translation error and rotation error dependent on the A-axis when seen from the C-axis coordinate system (when the A-axis is fixed at the arbitrary angle a and a change is made for the C-axis to the angle c other than 0 degrees);



FIG. 23A is a view showing each position at which a two-dimensional coordinate system space with two rotation axes is divided at equal intervals or unequal intervals in each axis direction;



FIG. 23B is a view illustrating a case where the translation error and rotation error dependent on the C-axis and the translation error and rotation error dependent on the A-axis when seen from the C-axis coordinate system for each position of division are respectively combined;



FIG. 24A is a view illustrating each position for measurement of error;



FIG. 24B is a view illustrating measurement data with respect to the C-axis and A-axis for each position for measurement of error; and



FIG. 25 is a view illustrating the definition of the coordinate system and the positive direction of rotation for obtaining at least one of the translation error correction amount and rotation error correction amount dependent on the rotation axis.





DESCRIPTION OF THE PREFERRED EMBODIMENTS
First Embodiment

<1> on Intended Machine and Error



FIG. 1 shows a table rotating five-axis machine having two rotation axes without an error. A table 2 rotates about the A-axis and the C-axis and moves along the X-axis. A tool head mounted with a tool 3 moves along the Y-axis and the Z-axis. The machine may be of other configurations as long as the table 2 rotates about two rotation axes.


When the two rotation axes are without an error and A equals 0 degrees, the table 2 is horizontal as in FIG. 1. A nominal A-axis rotation center line NA_T and a nominal C-axis rotation center line Nc_T with an intersection NO_T are orthogonal. Herein, “N” means nominal, and “M” which appears later in MA_T (misaligned A-axis rotation center line) or the like means misalignment. Also, “—T” indicates that data forms an error of the table. The position instruction with respect to the A-axis and C-axis that are rotation axes is assumed as (a, c).


When the C-axis is actually moved according to the movement instruction, an error occurs. In “JIS B6190-7, FIG. 1, b) error motion of rotation axis,” the error of the C-axis is represented by “EXC: radial direction motion in the X-direction,” “EYC: radial direction motion in the Y-direction,” “EZC: axis direction motion,” “EAC: tilt motion about the X-axis,” “EBC: tilt motion about the Y-axis,” and “ECC: angle positioning error.” In the present invention, “EXC: radial direction motion in the X-direction,” “EYC: radial direction motion in the Y-direction,” and “EZC: axis direction motion” are called translation error, and “EAC: tilt motion about the X-axis,” “EBC: tilt motion about the Y-axis,” and “ECC: angle positioning error” are called rotation error.


For the A-axis, in a similar manner, there are “EXA: radial direction motion in the X-direction,” “EYA: radial direction motion in the Y-direction,” and “EZA: axis direction motion” as the translation error of the A-axis and “EAA: tilt motion about the X-axis,” “EBA: tilt motion about the Y-axis,” and “ECA: angle positioning error” as the rotation error of the A-axis.


<2> on Translation Error and Rotation Error of A-Axis



FIGS. 2A, 2B, and 2C are views showing the translation errors and rotation errors of the A-axis when the C-axis is fixed in an arbitrary position and the A-axis is at each of 0 degrees, 45 degrees, and 90 degrees. Although the actual errors are small, the errors are depicted with an exaggeration in FIGS. 2A to 2C.


The translation error and rotation error of the A-axis are defined with a machine coordinate system XYZ. The translation error of the A-axis is the respective X, Y, and Z components of the distance to MA_T from NA_T passing through NO_T that is the intersection of the nominal A-axis rotation center line and the nominal C-axis rotation center line. The rotation error of the A-axis is the tilt about the X-axis, the Y-axis, and the Z-axis of MA_T with respect to NA_T.


As shown in FIGS. 2A, 2B, and 2C, MA_T may change depending on only an A-axis position a when the C-axis is fixed at an arbitrary angle and a change is made for the A-axis to each of 0 degrees, 45 degrees, and 90 degrees. Therefore, the translation error and rotation error of the A-axis change depending on the A-axis position a. In the present invention, the translation error and rotation error of the A-axis that change depending on the A-axis position a are as follows.


When A=a, the X component, the Y component, and the Z component of the distance to MA_T from NA_T are respectively assumed as EXA(a), EYA(a), and EZA(a).


When A=a, the tilt about the X-axis, the tilt about the Y-axis, and the tilt about the Z-axis of MA_T with respect to NA_T are respectively assumed as EAA(a), EBA(a), and ECA(a).


Hereinafter, for the sake of simplification, “EXA(a),” “EYA(a),” “EZA(a),” “EAA(a),” “EBA(a),” and “ECA(a)” that are the translation error and rotation error of the A-axis are represented as “EXAa,” “EYAa,” “EZAa,” “EAAa,” “EBAa,” and “ECAa.”



FIG. 3A shows each position at which a two-dimensional coordinate system space with two rotation axes is divided at equal intervals or unequal intervals in each axis direction. The interval in the case of division at equal intervals may be an error interval set as an error interval parameter or may be an error interval instructed by a program. As an interval that changes in correspondence with the A-axis or C-axis position, the interval in the case of division at unequal intervals may be an error interval set as a plurality of error interval parameters or may be an error interval instructed by a program.


The translation error and rotation error of the A-axis for each position of division are as in FIG. 3B. A column (frame in broken line) in FIG. 3B shows the translation errors and rotation errors dependent on the A-axis for respective positions where the A-axis positions are the same. Since the translation error and rotation error of the A-axis change depending on only the A-axis position a (a1, . . . , 0, . . . , am), the translation errors and rotation errors dependent on the A-axis are the same within a column in FIG. 3B (are not dependent on the C-axis position).


<3> on Translation Error and Rotation Error of C-Axis



FIGS. 4A, 4B, 4C, 4D, and 4E respectively show the translation errors and rotation errors of the C-axis when A equals 0 degrees and C equals 0 degrees, A equals 0 degrees and C equals 45 degrees, A equals 0 degrees and C equals 90 degrees, A equals 45 degrees and C equals 0 degrees, and A equals 90 degrees and C equals 0 degrees. Although the actual errors are small, the errors are depicted with an exaggeration in FIGS. 4A to 4E.


The translation error and rotation error of the C-axis are defined with the machine coordinate system XYZ. The translation error of the C-axis is the respective X, Y, and Z components of the distance to Mc_T from Nc_T passing through NO_T that is the intersection of the nominal A-axis rotation center line and the nominal C-axis rotation center line. The rotation error of the C-axis is the tilt about the X-axis, the Y-axis, and the Z-axis of Mc_T with respect to Nc_T.


As shown in FIGS. 4A to 4C, Mc_T may change depending on the C-axis position c when the A-axis is fixed at 0 degrees and a change is made for the C-axis to each of 0 degrees, 45 degrees, and 90 degrees. Therefore, the translation error and rotation error of the C-axis change depending on the C-axis position c. Further, as shown in FIGS. 4D and 4E, Mc_T may change depending on the A-axis position a when the C-axis position is fixed at 0 degrees and the A-axis position is changed to each of 45 degrees and 90 degrees. Therefore, the translation error and rotation error of the C-axis also change depending on the A-axis position a.


In this manner, the translation error and rotation error of the C-axis change depending on the A-axis position a and the C-axis position c. Therefore, regarding the translation error and rotation error of the C-axis that change depending on the A-axis position a and the C-axis position c in the present invention,


the X component, the Y component, and the Z component of the distance to Mc_T from Nc_T when A=a and C=c are respectively assumed as EXC(a, c), EYC(a, c), and EZC(a, c), and


the tilt about the X-axis, the tilt about the Y-axis, and the tilt about the Z-axis of Mc_T with respect to Nc_T when A=a and C=c are respectively assumed as EAC(a, c), EBC(a, c), and ECC(a, c).


Hereinafter, for the sake of simplification, “EXC(a, c),” “EYC(a, c),” “EZC(a, c),” “EAC(a, c),” “EBC(a, c),” and “ECC(a, c)” that are the translation error and rotation error of the C-axis are represented as “EXCa,c,” “EYCa,c,” “EZCa,c,” “EACa,c,” “EBCa,c,” and “ECCa,c.”


As described above, the translation errors and rotation errors of the A-axis and C-axis change depending on the A-axis position a and C-axis position c. Therefore, in the present invention, the translation error and rotation error that change depending on the rotation axis position (angle) are referred to as translation error and rotation error dependent on the rotation axis, and a correction amount for correction of the error is referred to as translation error correction amount and rotation error correction amount dependent on the rotation axis.


<4> on A-Axis Coordinate System


When two rotation axes are without an error, A equals 0 degrees, and C equals 0 degrees as shown in FIG. 5A, a coordinate system XaYaZa in which the origin is the intersection NO_T of the nominal A-axis rotation center line and the nominal C-axis rotation center line and the directions of X, Y, and Z are the same as in a machine coordinate system is assumed as the A-axis coordinate system.


The A-axis coordinate system is fixed to the A-axis that is the rotation axis. FIG. 5B shows that the A-axis coordinate system is present on the A-axis that is the rotation axis having a translation and rotation error, when there are a translation error and rotation error dependent on the A-axis, A equals 0 degrees, and C equals 0 degrees.


<5> on Translation Error and Rotation Error Dependent on C-Axis when Seen from A-Axis Coordinate System


When the C-axis is fixed at the arbitrary angle c and the A-axis is at 0 degrees, there are a translation error (EXA0, EYA0, EZA0) and rotation error (EAA0, EBA0, ECA0) dependent on the A-axis. Therefore, the A-axis coordinate system XaYaZa is present on the A-axis and is as shown in FIG. 6.


When the C-axis is fixed at the arbitrary angle c and the A-axis is at 0 degrees as shown in FIG. 6, there are a translation error (EXC0,c, EYC0,c, EZC0,c) and rotation error (EAC0,c, EBC0,c. ECC0,c) dependent on the C-axis. The errors are all defined with the machine coordinate system XYZ.


When the translation error (EXC0,c, EYC0,c, EZC0,c) and rotation error (EAC0,c, EBC0,c, ECC0,c) dependent on the C-axis that are defined with the machine coordinate system XYZ is transformed into the A-axis coordinate system as shown in FIG. 7, the translation error and rotation error dependent on the C-axis when seen from the A-axis coordinate system are as follows.


When A=0 and C=c, the Xa component, the Ya component, and the Za component of the distance to Mc_T from Za in the A-axis coordinate system XaYaZa are respectively assumed to be “EXC0,c-EXA0,” “EYC0,c-EYA0,” and “EZC0,c-EZA0.”


When A=0 and C=c, the tilt about the Xa-axis, the tilt about the Ya-axis, and the tilt about the Za-axis of Mc_T with respect to Za in the A-axis coordinate system XaYaZa are respectively assumed to be “EAC0,c-EAA0,” “EBC0,c-EBA0,” and “ECC0,c-ECA0.”


Next, as shown in FIG. 8, the C-axis is fixed at the arbitrary angle c, and a change is made for the A-axis to the angle a other than 0 degrees. Since the A-axis coordinate system XaYaZa is fixed to the A-axis that is the rotation axis, the A-axis coordinate system moves with the A-axis. Since the table that rotates about the C-axis is on the rotation axis A and the C-axis is fixed at the arbitrary angle c, the misaligned C-axis rotation center line Mc_T (see FIG. 7) when A=0 and C=c moves together with the A-axis, when a change is made for the A-axis to the angle a other than 0 degrees.


When the C-axis is fixed at the arbitrary angle c and a change is made for the A-axis to the angle a other than 0 degrees, the A-axis coordinate system XaYaZa and the misaligned C-axis rotation center line Mc_T when A=0 (degrees) and C=c (degrees) simultaneously move together with the A-axis. Accordingly, even if a change is made for the A-axis to the angle a other than 0 degrees, the translation error and rotation error dependent on the C-axis when seen from the A-axis coordinate system are the same as when A=0 and C=c. Thus, the translation error and rotation error dependent on the C-axis when seen from the A-axis coordinate system are “EXC0,c-EXA0,” “EYC0,c-EYA0,” “EZC0,c-EZA0,” “EAC0,c-EAA0,” “EBC0,c-EBA0,” and “ECC0,c-ECA0


The translation error and rotation error dependent on the C-axis when seen from the A-axis coordinate system for each position of division as shown in FIG. 3A are as shown in FIG. 9. A row (frame in dashed double-dotted line) in FIG. 9 shows the translation errors and rotation errors dependent on the C-axis when seen from the A-axis coordinate system for respective positions where the C-axis positions are the same. Since the translation error and rotation error dependent on the C-axis when seen from the A-axis coordinate system change depending on only the C-axis position c, the translation errors and rotation errors dependent on the C-axis when seen from the A-axis coordinate system are the same within a row in FIG. 9.


<6> on Necessary Measurement Data


From FIGS. 3A, 3B, and 9, combination of the translation error and rotation error dependent on the A-axis for each position of division as shown in FIG. 3A and the translation error and rotation error dependent on the C-axis when seen from the A-axis coordinate system is shown in FIG. 10. A column (for respective positions where the A-axis positions are the same) in FIG. 10 shows the translation error and rotation error dependent on the A-axis for each position where the A-axis positions are the same and the translation error and rotation error dependent on the C-axis when seen from the A-axis coordinate system where the A-axis positions are the same. A row (for respective positions where the C-axis positions are the same) in FIG. 10 shows the translation error and rotation error dependent on the A-axis for each position where the C-axis positions are the same and the translation error and rotation error dependent on the C-axis when seen from the A-axis coordinate system where the C-axis positions are the same.


Since the translation error and rotation error dependent on the A-axis do not change depending on the C-axis position but change depending on only the A-axis position a, the translation errors and rotation errors dependent on the A-axis are the same within a column (frame in broken line) in FIG. 10. Thus, it is not necessary to measure the translation error and rotation error dependent on the A-axis for each position of division as shown in FIG. 3A.


It is necessary to fix the C-axis at an arbitrary angle and measure only the translation error and rotation error dependent on the A-axis for each position of division on the A-axis. In this embodiment, the C-axis is fixed at 0 degrees. Thus, it is necessary to measure the translation error (EXAa, EYAa, EZAa) and rotation error (EAAa, EBAa, ECAa) (within a frame in broken line in FIG. 11B) dependent on the A-axis for each position (within a frame in broken line in FIG. 11A) where C=0 and A=a among the respective positions of division as shown in FIG. 3A.


Since the translation error and rotation error dependent on the C-axis when seen from the A-axis coordinate system do not change depending on the A-axis position and change depending on only the C-axis position c, the translation errors and rotation errors dependent on the C-axis when seen from the A-axis coordinate system are the same within a row (frame in dashed double-dotted line) in FIG. 10. In order to obtain the translation error and rotation error dependent on the C-axis when seen from the A-axis coordinate system, only the translation error (EXC0,c, EYC0,c, EZC0,c) and the rotation error (EAC0,c, EBC0,c, ECC0,c) dependent on the C-axis are necessary.


Thus, as shown in FIG. 11A, it is necessary to measure only the translation error (EXC0,c, EYC0,c, EZC0,c) and the rotation error (EAC0,c, EBC0,c, ECC0,c) (within a frame in dotted line in FIG. 11B) dependent on the C-axis for each position (within the frame in dotted line) where A=0 and C=c, among the respective positions of division as shown in FIG. 3A. An arithmetic measurement data input unit 21 (see FIG. 15) inputs the necessary measurement data. The measurement of the translation error and rotation error for each lattice point shown in FIGS. 11A and 11B may be performed using a method described in Japanese Patent Application Laid-open No. 2009-151756 mentioned above, for example.


<7> on Translation Error Correction Amount and Rotation Error Correction Amount Dependent on Rotation Axis


As shown in FIGS. 11A and 11B, the translation error and rotation error dependent on the A-axis for each position at which the two-dimensional coordinate system space with the two rotation axes is divided at equal intervals or unequal intervals in each axis direction and the translation error and rotation error dependent on the C-axis when seen from the A-axis coordinate system (see FIG. 10) can be calculated from a small amount of measurement data. As already described, the interval in the case of division at equal intervals may be an error interval set as an error interval parameter or may be an error interval instructed by a program. In the case of division at unequal intervals, an interval that changes in correspondence with the A-axis or C-axis position may be an error interval set as a plurality of error interval parameters or may be an error interval instructed by a program.


By obtaining at least one of the translation error correction amount and rotation error correction amount dependent on the rotation axis from the translation error and rotation error dependent on the A-axis and the translation error and rotation error dependent on the C-axis when seen from the A-axis coordinate system, it is possible to obtain at least one of the translation error correction amount and rotation error correction amount dependent on the rotation axis from a small amount of measurement data. An error correction amount arithmetic unit 23 (see FIG. 15) performs this calculation. In the error correction amount calculation, a squared term of the error correction amount is ignored. Regarding an error, |e|<<1, where e is the error. Therefore, with approximation, sin(e)=e, and cos(e)=1. The same applies in an embodiment below.


In order to obtain at least one of the translation error correction amount and rotation error correction amount dependent on the rotation axis, the following coordinate system and positive direction of rotation are defined as in FIG. 12. A reference coordinate system XrYrZr (stationary coordinate system) of which the origin is the intersection of the nominal A-axis rotation center line and the nominal C-axis rotation center line and the X, Y, and Z directions are the same as in the machine coordinate system is defined. In the same manner as for the definition of the A-axis coordinate system, a work coordinate system X Y Z (moving coordinate system) fixed to the C-axis that is the rotation axis is defined. The counterclockwise direction of rotation when seen from the terminal side of the rotating coordinate axis is the positive direction of rotation of the rotation axis.


By performing the following transformations [1] to [6] in order with the reference coordinate system XrYrZr as shown in FIGS. 13A to 13H, the work coordinate system XwYwZw in which a change is made respectively for the A-axis and C-axis as the rotation axes to a and c is obtained.


[1] Rotation by EAAa, EBAa, and ECAa about the Xr—, Yr-, and Zr-axes, with the reference coordinate system XrYrZr set as the reference coordinate system.


[2] Translation by EXAa, EYAa, and EZAa along the Xr-, Yr-, and Zr-axes (resulting in a coordinate system X1Y1Z1 (in FIG. 13B)), with the reference coordinate system XrYrZr set as the reference coordinate system.


[3] Rotation by the angle a about the X1-axis (resulting in the A-axis coordinate system XaYaZa (in FIGS. 13C and 13D)), with the coordinate system X1Y1Z1 set as the reference coordinate system.


[4] Rotation by “EAC0,c-EAA0,” “EBC0,c-EBA0,” and “ECC0,c-ECA0” about the Xa-, Ya-, and Za-axes, with the A-axis coordinate system XaYaZa set as the reference coordinate system.


[5] Translation by “EXC0,c-EXA0,” “EYC0,c-EYA0,” and “EZC0,c-EZA0” along the Xa-, Ya-, and Za-axes (resulting in a coordinate system X2Y2Z2 (in FIG. 13F)), with the A-axis coordinate system XaYaZa set as the reference coordinate system.


[6] Rotation by the angle c about the Z2-axis (resulting in the work coordinate system XwYwZw (in FIGS. 13G and 13H)), with the coordinate system X2Y2Z2 as the reference coordinate system.


With the transformations described above, a homogenous coordinate transformation matrix rTw for the reference coordinate system XrYrZr to the work coordinate system XwYwZw is obtained by the following expression (1).

rTw=rT11TaaT22Tw  (1)



rT1: Homogenous coordinate transformation matrix for reference coordinate system XrYrZr to coordinate system X1Y1Z1



1Ta: Homogenous coordinate transformation matrix for coordinate system X1Y1Z1 to A-axis coordinate system XaYaZa



aT2: Homogenous coordinate transformation matrix for A-axis coordinate system XaYaZa to coordinate system X2Y2Z2



2Tw: Homogenous coordinate transformation matrix for coordinate system X2Y2Z2 to work coordinate system XwY Zw


When the translation errors and rotation errors dependent on the A-axis and the C-axis are taken into consideration, the actual position of the table in the reference coordinate system XrYrZr is as in the following expression (2).












r


p

=





T
w



r



(


T
~

w



r

)








-
1


r




p
~









=




[



1



-
γ



β



δ





X





γ


1



-
α




δ





Y






-
β



α


1



δ





Z





0


0


0


1



]





r



p
~











where






δ





X

=


EXA
a

+

(


EXC

0.

c


-

EXA
0


)









δ





Y

=


EYA
a

+


(


EYC

0.

c


-

EYA
0


)



cos


(
a
)



-


(


EZC

0.

c


-

EZA
0


)



sin


(
a
)











δ





Z

=


EZA
a

+


(


EZC

0.

c


-

EZA
0


)



cos


(
a
)



-


(


EYC

0.

c


-

EYA
0


)



sin


(
a
)










α
=


EAA
a

+

(


EAC

0.

c


-

EAA
0


)








β
=


EBA
a

+


(


EBC

0.

c


-

EBA
0


)



cos


(
a
)



-


(


ECC

0.

c


-

ECA
0


)



sin


(
a
)










γ
=


ECA
a

+


(


ECC

0.

c


-

ECA
0


)



cos


(
a
)



-


(


EBC

0.

c


-

EBA
0


)



sin


(
a
)











    • r{tilde over (p)}: Correct position of table in reference coordinate system XrYrZr


    • rp: Actual position of table in reference coordinate system XrYrZr


    • r{tilde over (T)}w: Homogenous coordinate transformation matrix for reference coordinate system XrYrZr to work coordinate system XrYrZr when two rotation axes are without error

      (2)





When the translation error correction amount and rotation error correction amount dependent on the rotation axis are such that


an X component ΔX2a,c, a Y component ΔY2a,c, and a Z component ΔZ2a,c of the translation error correction amount for movement of the rotation axis when A=a and C=c are sufficiently small and


a tilt ΔI2a,c about the X-axis, a tilt ΔJ2a,c about the Y-axis, and a tilt ΔK2a,c about the Z-axis of the rotation error correction amount for movement of the rotation axis when A=a and C=c are sufficiently small, a transformation matrix with the correction amounts is the following expression (3).












[



1


0


0



Δ





X






2

a
.
c







0


1


0


0




0


0


1


0




0


0


0


1



]



[



1


0


0


0




0


1


0



Δ





Y






2

a
.
c







0


0


1


0




0


0


0


1



]




[



1


0


0


0




0


1


0


0




0


0


1



Δ





Z






2

a
.
c







0


0


0


1



]







[



1


0


0


0




0



cos


(

Δ





I






2

a
.
c



)





-

sin


(

Δ





I






2

a
.
c



)





0




0



sin


(

Δ





I






2

a
.
c



)





cos


(

Δ





I






2

a
.
c



)




0




0


0


0


1



]






[




cos


(

Δ





J






2

a
.
c



)




0



sin


(

Δ





J






2

a
.
c



)




0




0


1


0


0





-

sin


(

Δ





J






2

a
.
c



)





0



cos


(

Δ





J






2

a
.
c



)




0




0


0


0


1



]






[




cos


(

Δ





K






2

a
.
c



)





-

sin


(

Δ





K






2

a
.
c



)





0


0





sin


(

Δ





K






2

a
.
c



)





cos


(

Δ





K






2

a
.
c



)




0


0




0


0


1


0




0


0


0


1



]





[



1




-
Δ






K






2

a
.
c






Δ





J






2

a
.
c






Δ





X






2

a
.
c








Δ





K






2

a
.
c





1




-
Δ






I






2

a
.
c






Δ





Y






2

a
.
c









-
Δ






J






2

a
.
c






Δ





I






2

a
.
c





1



Δ





Z






2

a
.
c







0


0


0


1



]












(
3
)







Assuming that the transformation matrix in expression (2) and expression (3) are equal, the following expression (4) is obtained.

ΔX2a.c=EXAa+(EXC0.c−EXA0)
ΔY2a.c=EYAa+(EYC0.c−EYA0)cos(a)−(EZC0.c−EZA0)sin(a)
ΔZ2a.c=EZAa+(EZC0.c−EZA0)cos(a)+(EYC0.c−EYA0)sin(a)
ΔI2a.c=EAAa+(EAC0.c−EAA0)
ΔJa.c=EBAa+(EBC0.c−EBA0)cos(a)−(ECC0.c−ECA0)sin(a)
ΔK2a.c=ECAa+(ECC0.c−ECA0)cos(a)+(EBC0.c−EBA0)sin(a)  (4)


While the translation error correction amount dependent on the rotation axis and the rotation error correction amount dependent on the rotation axis are obtained simultaneously in expression (4), only one of the translation error correction amount and rotation error correction amount dependent on the rotation axis may be obtained. That is, it may be such that only one of the translation error correction amount dependent on the rotation axis and the rotation error correction amount dependent on the rotation axis is obtained by the calculation described above.


<8> on Input of Translation Error Correction Amount and Rotation Error Correction Amount


As in the technique described in Japanese Patent Application Laid-open No. 2009-151756 mentioned above, there is a numerical controller having, within the device, an error correction table of the translation error correction amount and the rotation error correction amount as shown in FIGS. 14A and 14B. For the error correction table, a two-dimensional coordinate system space with two rotation axes is divided into lattice regions at equal intervals or unequal intervals in each axis direction (see FIG. 14A) with a method similar to the dividing method in FIG. 3A. At least one of a translation error correction amount (ΔXai,cj, ΔYai,cj, ΔZai,cj) and rotation error correction amount (ΔIai,cj, ΔJai,cj, ΔKai,cj) corresponding to each lattice point (ai, cj) (i=1, 2, . . . , m and j=1, 2, . . . , n) (see FIG. 14B) is set in the numerical controller.


The interval in the case of dividing the rotational axes into lattice regions at equal intervals may be a correction interval set as a correction interval parameter or may be a correction interval instructed by a program. In the case of dividing the rotational axes into lattice regions at unequal intervals, an interval that changes in correspondence with the A-axis or C-axis position may be a correction interval set as a plurality of correction interval parameters or may be a correction interval instructed by a program.


In contrast, in the present invention, at least one of the translation error correction amount ΔXai,cj, ΔYai,cj, ΔZai,cj) and rotation error correction amount (ΔIai,cj, ΔJai,cj, ΔKai,cj) for (ai, cj) can be obtained with expression (4) to be output to and set in the numerical controller. FIG. 15 is a block diagram in this case. In an error correction amount creating device 20, arithmetic measurement data is input from a measuring machine 10 by the arithmetic measurement data input unit, the error correction amount arithmetic unit 23 computes at least one of the translation error correction amount and rotation error correction amount dependent on the rotation axis with the measurement data, and an error correction amount output unit 25 outputs at least one of the translation error correction amount and the rotation error correction amount to a numerical controller 30. The configuration may be such that the translation and rotation error correction amount creating device 20 is present within the numerical controller 30, as in FIG. 16.



FIG. 17 is view showing a flowchart for the arithmetic measurement data input unit, the translation and rotation error correction amount arithmetic unit, and the translation and rotation error correction amount output unit in the first embodiment. Each step will be described below.


[Step ST01] Arithmetic measurement data (EXAai, EYAai, EZAai, EAAai, EBAai, ECAai) and (EXC0,cj, EYC0,cj, EZC0,cj, EAC0,cj, EBC0,cj, ECC0,cj) are input from the measuring machine 10.


[Step ST02] At least one of the translation error correction amount (ΔXai,cj, ΔYai,cj, ΔZai,cj) and the rotation error correction amount (ΔIai,cj, ΔJai,cj, ΔKai,cj) is computed with expression (4).


[Step ST03] At least one of the translation error correction amount (ΔXai,cj, ΔYai,cj, ΔZai,cj) and the rotation error correction amount (ΔIai,cj, ΔJai,cj, ΔKai,cj) is input to the numerical controller 30, and the process is terminated.


Herein, step ST01 corresponds to the arithmetic measurement data input unit 21, step ST02 to the error correction amount arithmetic unit 23, and step ST03 to the error correction amount output unit 25.


Second Embodiment

<1> on Intended Machine and Error



FIG. 18 shows a tool head rotating five-axis machine having two rotation axes without an error. A tool head rotates about the C-axis and A-axis and moves along the X-axis and the Z-axis. A table moves along the Y-axis. The machine may be of other configurations as long as the tool head rotates about two rotation axes.


When the two rotation axes are without an error and A=0 (degrees), the tool direction of the tool head is the Z-axis direction, as in FIG. 19. A nominal A-axis rotation center line NA_H and a nominal C-axis rotation center line Nc_H are orthogonal at an intersection NO_H to each other. Herein, “—H” indicates data that forms an error of the tool head. The position instruction with respect to the A-axis and C-axis that are the rotation axes is assumed as (c, a).


As the translation error of the C-axis, there are the radial direction motion EXC in the X-direction, the radial direction motion EYC in the Y-direction, and the axis direction motion EZC. As the rotation error of the C-axis, there are the tilt motion EAC about the X-axis, the tilt motion EBC about the Y-axis, and the angle positioning error ECC. As the translation error of the A-axis, there are the radial direction motion EXA in the X-direction, the radial direction motion EYA in the Y-direction, and the axis direction motion EZA. As the rotation error of the A-axis, there are the tilt motion EAA about the X-axis, the tilt motion about EBA about the Y-axis, and the angle positioning error ECA.


<2> on Translation Error and Rotation Error of C-Axis



FIG. 20 shows the translation error and rotation error of the C-axis. Although the actual errors are small, the errors are depicted with an exaggeration in FIG. 20. The translation error and rotation error of the C-axis are defined with the machine coordinate system XYZ. The translation error of the C-axis is the respective X, Y, and Z components of the distance to Mc_H from Nc_H at NO_H that is the intersection of the nominal C-axis rotation center line and the nominal A-axis rotation center line. The rotation error of the C-axis is the tilt about the X-axis, the Y-axis, and the Z-axis of Mc_H with respect to Nc_H.


The translation error and rotation error of the C-axis change depending on the C-axis position c. Therefore, regarding the translation error and rotation error of the C-axis that change depending on the C-axis position c in the present invention,


the X component, the Y component, and the Z component of the distance to Mc_H from Nc_H are respectively assumed as EXC(c), EYC(c), and EZC(c) when C=c, and


the tilt about the X-axis, the tilt about the Y-axis, and the tilt about the Z-axis of Mc_H with respect to Nc_H are respectively assumed as EAC(c), EBC(c), and ECC(c) when C=c.


Hereinafter, for the sake of simplification, “EXC(c),” “EYC(c),” “EZC(c),” “EAC(c),” “EBC(c),” and “ECC(c)” that are the translation error and rotation error of the C-axis are represented as “EXCc,” “EYCc,” “EZCc,” “EACc,” “EBCc,” and “ECCc.”


<3> on Translation Error and Rotation Error of A-Axis



FIG. 20 shows the translation error and rotation error of the A-axis. Although the actual errors are small, the errors are depicted with an exaggeration in FIG. 20. The translation error and rotation error of the A-axis are defined with the machine coordinate system XYZ. The translation error of the A-axis is the respective X, Y, and Z components of the distance to MA_H from NA_H at NO_H that is the intersection of the nominal C-axis rotation center line and the nominal A-axis rotation center line. The rotation error of the A-axis is the tilt about the X-axis, the Y-axis, and the Z-axis of MA_H with respect to NA_H.


The translation error and rotation error of the A-axis change depending on the C-axis position c and the A-axis position a. Therefore, regarding the translation error and rotation error of the A-axis that change depending on c and a in the present invention,


the X component, the Y component, and the Z component of the distance to MA_H from NA_H are respectively assumed as EXA(c, a), EYA(c, a), and EZA(c, a) when C=c and A=a, and


the tilt about the X-axis, the tilt about the Y-axis, and the tilt about the Z-axis of MA_H with respect to NA_H are respectively assumed as EAA(c, a), EBA(c, a), and ECA(c, a) when C=c an A=a.


Hereinafter, for the sake of simplification, “EXA(c, a),” “EYA(c, a),” “EZA(c, a),” “EAA(c, a),” “EBA(c, a),” and “ECA(c, a)” that are the translation error and rotation error of the A-axis are represented as “EXAc,a,” “EYAc,a,” “EZAc,a,” “BAAc,a,” “EBAc,a,” and “ECAc,a.”


<4> on C-Axis Coordinate System


When two rotation axes are without an error, C=0, and A=0 as shown in FIG. 21A, a coordinate system XcYcZc in which the origin is the intersection NO_H of the nominal C-axis rotation center line and the nominal A-axis rotation center line and the directions of X, Y, and Z are the same as in a machine coordinate system is assumed as the C-axis coordinate system.


The C-axis coordinate system is fixed to the C-axis that is the rotation axis. FIG. 21B shows that the C-axis coordinate system is present on the C-axis that is the rotation axis having a translation and rotation error, when there are a translation error and rotation error dependent on the C-axis, C=0, and A=0.


<5> on Translation Error and Rotation Error Dependent on A-Axis when Seen from C-Axis Coordinate System


When the A-axis is fixed at an arbitrary angle a and the C-axis is at 0 degrees as shown in FIG. 22A and a translation error (EXA0,a, EYA0,a, EZA0,a) and rotation error (EAA0,a, EBA0,a, ECA0,a) dependent on the A-axis that are defined with the machine coordinate system XYZ are transformed into the C-axis coordinate system, the translation error and rotation error dependent on the A-axis when seen from the C-axis coordinate system are such that


the Xc component, the Yc component, and the Zc component of the distance to MA_H from Z0 in the C-axis coordinate system XcYcZc are respectively “EXA0,a-EXC0,” “EYA0,a-EYC0,” and “EZA0,a-EZC0” when C=0 and A=a, and


the tilt about the Xc-axis, the tilt about the Yc-axis, and the tilt about the Zn-axis of MA_H with respect to Zc in the C-axis coordinate system XcYcZc are respectively “EAA0,a-EAC0,” “EBA0,a-EBCO,” and “ECA0,a-ECC0” when C=0 and A=a.


When the A-axis is fixed at the angle a and a change is made for the C-axis to the angle c other than 0 degrees as shown in FIG. 22B, the C-axis coordinate system XcYcZc and the misaligned A-axis rotation center line MA_H when C=0 and A=a move simultaneously together with the C-axis. Therefore, even if a change is made for the C-axis to the angle c other than 0 degrees, the translation error and rotation error dependent on the A-axis when seen from the C-axis coordinate system are the same as when C=0 and A=a at “EXA0,a-EXC0,” “EYA0,a-EYC0,” “EZA0,a-EZC0,” “EAA0,a-EAC0,” “EBA0,a-EBC0,” and “ECA0,a-ECC0.”


<6> on Necessary Measurement Data



FIG. 23A shows each position at which a two-dimensional coordinate system space with two rotation axes is divided at equal intervals or unequal intervals in each axis direction. Combination of the translation error and rotation error dependent on the C-axis for each position of division and the translation error and rotation error dependent on the A-axis when seen from the C-axis coordinate system is shown in FIG. 23B. A column (for respective positions where the C-axis positions are the same) in FIG. 23B shows the translation error and rotation error dependent on the C-axis for each position where the C-axis positions are the same and the translation error and rotation error dependent on the A-axis when seen from the C-axis coordinate system where the C-axis positions are the same. A row (for respective positions where the A-axis positions are the same) in FIG. 23B shows the translation error and rotation error dependent on the C-axis for each position where the A-axis positions are the same and the translation error and rotation error dependent on the A-axis when seen from the C-axis coordinate system where the A-axis positions are the same.


From FIGS. 23A and 23B, necessary measurement data as shown in FIGS. 24A and 24B is obtained. It is necessary to measure the translation error (EXCc, EYCc, EZCc) and rotation error (EACc, EBCc, ECCc) (within a frame in broken line in FIG. 24B) dependent on the C-axis for the respective positions (within a frame in broken line in FIG. 24A) where A=0 and C=c, and it is necessary to measure the translation error (EXA0,a, EYA0,a, EZA0,a) and the rotation error (EAA0,a, EBA0,a, ECA0,a) (within a frame in dotted line in FIG. 24B) dependent on the A-axis for the respective positions (within a frame in dotted line in FIG. 24A) where C=0 and A=a, among the respective positions of division as shown in FIG. 23A. The arithmetic measurement data input unit 21 (see FIG. 15) performs input of the necessary measurement data.


<7> on Translation Error Correction Amount and Rotation Error Correction Amount Dependent on Rotation Axis


In order to obtain at least one of the translation error correction amount and rotation error correction amount dependent on the rotation axis, the following coordinate system and positive direction of rotation are defined as in FIG. 25. The reference coordinate system XrYrZr (stationary coordinate system) of which the origin is the intersection of the nominal A-axis rotation center line and the nominal C-axis rotation center line and the X, Y, and Z directions are the same as in the machine coordinate system is defined. In the same manner as for the definition of the C-axis coordinate system, a tool coordinate system XtYtZt (moving coordinate system) fixed to the A-axis that is the rotation axis is defined. The counterclockwise direction of rotation when seen from the terminal side of the rotating coordinate axis is the positive direction of rotation of the rotation axis.


By performing the following transformations [1] to [6] in order with the reference coordinate system XrYrZr, the tool coordinate system XtYtZt in which a change is made to c for the C-axis as the rotation axis and to a for the A-axis as the rotation axis is obtained.


[1] Rotation by EACc, EBCc, and ECC0 about the Xr-, Yr-, and Zr-axes, with the reference coordinate system XrYrZr set as the reference coordinate system.


[2] Translation by EXCc, EYCc, and EZCc along the Xr-, Yr-, and Zr-axes (resulting in the coordinate system X1Y1Z1), with the reference coordinate system XrYrZr set as the reference coordinate system.


[3] Rotation by c about Z1 (resulting in the C-axis coordinate system XcYcZc), with the coordinate system X1Y1Z1 set as the reference coordinate system.


[4] Rotation by EAA0,a-EAC0, EBA0,a-EBC0, and ECA0,a-ECC0 about the Xc-axis, the Yc-axis, and the Zc-axis, with the C-axis coordinate system XcYcZc set as the reference coordinate system.


[5] Translation by EXA0,a-EXC0, EYA0,a-EYC0, and EZA0,a-EZC0 along the Xc-axis, the Yc-axis, and the Zc-axis (resulting in the coordinate system X2Y2Z2), with the C-axis coordinate system XcYcZc set as the reference coordinate system.


[6] Rotation by a about the X2-axis (resulting in the tool coordinate system XtYtZt), with the coordinate system X2Y2Z2 set as the reference coordinate system.


With the transformations described above, a homogenous coordinate transformation matrix rTt for the reference coordinate system XrYrZr to the tool coordinate system XtYtZt is obtained by the following expression (5).

rTt=rT11TccT22Tt  (5)



rT1: Homogenous coordinate transformation matrix for reference coordinate system XrYrZr to coordinate system X1Y1Z1



1Tc: Homogenous coordinate transformation matrix for coordinate system X1Y1Z1 to C-axis coordinate system XcYcZc



cT2: Homogenous coordinate transformation matrix for C-axis coordinate system XcYcZc to coordinate system X2Y2Z2



2Tt: Homogenous coordinate transformation matrix for coordinate system X2Y2Z2 to tool coordinate system XtYtZt


When the translation errors and rotation errors dependent on the C- and A-axes are taken into consideration, the actual position of the tool in the reference coordinate system XrYrZr is as in expression (6).












r


p

=





T
t



r



(


T
~

t



r

)








-
1


r




p
~









=




[



1



-
γ



β



δ





X





γ


1



-
α




δ





Y






-
β



α


1



δ





Z





0


0


0


1



]





r



p
~













δ





X

=


EXC
c

+


(


EXA

0.

a


-

EXC
0


)



cos


(
c
)



-


(


EYA

0.

a


-

EYC
0


)


sin






(
c
)










δ





Y

=


EYC
c

+


(


EYA

0.

a


-

EYC
0


)



cos


(
c
)



+


(


EXA

0.

a


-

EXC
0


)



sin


(
c
)











δ





Z

=


EZC
c

+

(


EZA

0.

a


-

EZC
0


)








α
=


EAC
c

+


(


EAA

0.

a


-

EAC
0


)



cos


(
c
)



-


(


EBA

0.

a


-

EBC
0


)



sin


(
c
)










β
=


EBC
c

+


(


EBA

0.

a


-

EBC
0


)



cos


(
c
)



+


(


EAA

0.

a


-

EAC
0


)



sin


(
c
)










γ
=


ECC
c

+

(


ECA

0.

a


-

ECC
0


)









    • r{tilde over (p)}: Correct position of tool head in reference coordinate system XrYrZr


    • rp: Actual position of tool head in reference coordinate system XrYrZr


    • r{tilde over (T)}t: Homogenous coordinate transformation matrix for reference coordinate system XrYrZr to tool coordinate system XtYtZt when two rotation axes are without error

      (6)





When the translation error correction amount and rotation error correction amount dependent on the rotation axis are such that


an X component ΔX2c,a, a Y component ΔY2c,a, and a Z component ΔZ2c,a of the translation error correction amount for movement of the rotation axis when C=c and A=a are sufficiently small and


a tilt ΔI2c,a about the X-axis, a tilt ΔJ2c,a about the Y-axis, and a tilt ΔK2c,a about the Z-axis of the rotation error correction amount for movement of the rotation axis when C=c and A=a are sufficiently small, a transformation matrix with the correction amounts is expression (7).












[



1


0


0



Δ





X






2

c
.
a







0


1


0


0




0


0


1


0




0


0


0


1



]



[



1


0


0


0




0


1


0



Δ





Y






2

c
.
a







0


0


1


0




0


0


0


1



]




[



1


0


0


0




0


1


0


0




0


0


1



Δ





Z






2

c
.
a







0


0


0


1



]







[



1


0


0


0




0



cos


(

Δ





I






2

c
.
a



)





-

sin


(

Δ





I






2

c
.
a



)





0




0



sin


(

Δ





I






2

c
.
a



)





cos


(

Δ





I






2

c
.
a



)




0




0


0


0


1



]






[




cos


(

Δ





J






2

c
.
a



)




0



sin


(

Δ





J






2

c
.
a



)




0




0


1


0


0





-

sin


(

Δ





J






2

c
.
a



)





0



cos


(

Δ





J






2

c
.
a



)




0




0


0


0


1



]






[




cos


(

Δ





K






2

c
.
a



)





-

sin


(

Δ





K






2

c
.
a



)





0


0





sin


(

Δ





K






2

c
.
a



)





cos


(

Δ





K






2

c
.
a



)




0


0




0


0


1


0




0


0


0


1



]





[



1




-
Δ






K






2

c
.
a






Δ





J






2

c
.
a






Δ





X






2

c
.
a








Δ





K






2

c
.
a





1




-
Δ






I






2

c
.
a






Δ





Y






2

c
.
a









-
Δ






J






2

c
.
a






Δ





I






2

c
.
a





1



Δ





Z






2

c
.
a







0


0


0


1



]












(
7
)







Assuming that the transformation matrix in expression (6) and expression (7) are equal, the following expression (8) is obtained.

ΔX2c.a=EXCc+(EXA0.a−EXC0)cos(c)−(EYA0.a−EYC0)sin(c)
ΔY2c.a=EYCc+(EZC0.c−EYC0)cos(c)+(EXA0.c−EXC0)sin(c)
ΔZ2c.a=EZCc+(EZA0.a−EZC0)
ΔI2c.a=EACc+(EAA0.a−EAC0)cos(c)−(EBA0.a−EBC0)sin(c)
ΔJ2c.a=EBCc+(EBA0.a−EBC0)cos(c)+(EAA0.a−EAC0)sin(c)
ΔK2c.a=ECCc+(ECA0.a−ECC0)  (8)


Since correction is performed to compensate for an error in the tool head, a value of the error in the tool head with an inverted sign from expression (8) is the correction amount (see the following expression (9)).

ΔX2c.a=−EXCc−(EXA0.a−EXC0)cos(c)+(EYA0.a−EYC0)sin(c)
ΔY2c.a=−EYCc−(EZA0.a−EYC0)cos(c)−(EXA0.a−EXC0)sin(c)
ΔZ2c.a=−EZCc−(EZA0.a−EZC0)
ΔI2c.a=−EACc−(EAA0.a−EAC0)cos(c)+(EBA0.a−EBC0)sin(c)
ΔJ2c.a=−EBCc−(EBA0.a−EBC0)cos(c)−(EAA0.a−EAC0)sin(c)
ΔK2c.a=−ECCc−(ECA0.a−ECC0)  (9)


While the translation error correction amount and rotation error correction amount dependent on the rotation axis are obtained simultaneously in expression (9), only one of the translation error correction amount and rotation error correction amount dependent on the rotation axis may be obtained. That is, it may be such that only one of the translation error correction amount dependent on the rotation axis and the rotation error correction amount dependent on the rotation axis is obtained by the calculation described above.


For “<8> On input of translation error correction amount and rotation error correction amount” and thereafter, it is similar to the first embodiment, and therefore description is omitted.

Claims
  • 1. An error correction amount creating device that creates an error correction amount for a five-axis machine controlled by a numerical controller and having three linear axes and two rotation axes, the error correction amount creating device comprising: for said two rotation axes of a first axis and a second axis, a measurement data input unit that inputs, as arithmetic measurement data, a translation error and rotation error at respective positions divided at equal or unequal intervals for the second rotation axis, measured by a measuring machine, when the first axis is fixed at an arbitrary angle, anda translation error and rotation error at respective positions divided at equal or unequal intervals for the first rotation axis, measured by the measuring machine, when the second axis is fixed at an arbitrary angle,wherein, when one of said two rotation axes is fixed at an arbitrary angle, the translation error and rotation errors at the respective positions in the fixed axis are all the same, andan error correction amount arithmetic unit that obtains, from the arithmetic measurement data, at least one of a rotation axis-dependent translation error correction amount that is a translation error correction amount and a rotation axis-dependent rotation error correction amount that is a rotation error correction amount, for each lattice point of a lattice region into which a two-dimensional coordinate system space with the two rotation axes is divided at the equal intervals or unequal intervals in each axis direction; andan error correction amount output unit that outputs at least one of the rotation axis-dependent translation error correction amount and the rotation axis-dependent rotation error correction amount to the numerical controller controlling the five-axis machine.
  • 2. The error correction amount creating device according to claim 1, which is a device independent from the numerical controller.
  • 3. The error correction amount creating device according to claim 1, which is a device present within the numerical controller.
  • 4. The error correction amount creating device according to claim 1, wherein the five-axis machine is a table rotating five-axis machine in which a table is rotated about the two rotation axes.
  • 5. The error correction amount creating device according to claim 1, wherein the five-axis machine is a head rotating five-axis machine in which a head is rotated about the two rotation axes.
Priority Claims (1)
Number Date Country Kind
2013-202358 Sep 2013 JP national
US Referenced Citations (7)
Number Name Date Kind
20090140684 Otsuki et al. Jun 2009 A1
20100244762 Mori et al. Sep 2010 A1
20110234142 Otsuki et al. Sep 2011 A1
20120001583 Otsuki Jan 2012 A1
20120191238 Sakai et al. Jul 2012 A1
20120191411 Iwasaki Jul 2012 A1
20120323373 Sato et al. Dec 2012 A1
Foreign Referenced Citations (5)
Number Date Country
102608955 Jul 2012 CN
102011012385 Sep 2011 DE
2009-151756 Jul 2009 JP
2010-105117 May 2010 JP
2011104757 Sep 2011 WO
Non-Patent Literature Citations (3)
Entry
Office Action dated Feb. 17, 2015, corresponding to Japanese patent application No. 2013-202358.
Journal of Technical Disclosure issued Aug. 10, 2009, corresponding to Japanese technical disclosure No. 2009-505137, 7 pages.
Office Action in DE Application No. 102014113705.1, dated Nov. 30, 2016.
Related Publications (1)
Number Date Country
20150094847 A1 Apr 2015 US