Error identification method of machine tool and error identification system of the same

10357863 ยท 2019-07-23

Assignee

Inventors

Cpc classification

International classification

Abstract

An error identification method includes a tool sensor position acquisition stage, a reference block position acquisition stage, a relative position calculation stage, a reference tool position acquisition stage, a position measurement sensor measurement stage, a length compensation value calculation stage, a diameter compensation value acquisition stage, a position measurement stage, a position compensation stage, and a geometric error identification stage. The diameter compensation value acquisition stage acquires a radial direction compensation value of the position measurement sensor with the measured jig. The position measurement stage indexes the rotation axis to a plurality of any given angles and measures respective positions of the measured jig. The position compensation stage compensates the position measurement value at the position measurement stage using the length direction compensation value and the radial direction compensation value. The geometric error identification stage identifies the geometric error from the plurality of position measurement values.

Claims

1. An error identification method for measuring a position of a measured jig in a three-dimensional space and identifying a geometric error in a machine tool from a value of the measured position, in which the measured jig is secured on a table by a position measurement sensor installed to a main spindle in the machine tool, the machine tool including three or more translational axes, one or more rotation axes, the rotatable main spindle to which a tool is to be installed, the table, and a control device configured to control the respective translational axes, rotation axis, and main spindle, the error identification method comprising: a tool sensor position acquisition stage of installing a reference tool for a length reference of the tool to the main spindle and acquiring a sensing position of a distal end of the reference tool with a tool sensor; a reference block position acquisition stage of acquiring positions of the translational axes when the reference tool installed to the main spindle is directly or indirectly brought into contact with a reference block disposed at the tool sensor side; a relative position calculation stage of calculating a relative position of the reference block with respect to the sensing position from the sensing position acquired in the tool sensor position acquisition stage and the positions of the translational axes acquired in the reference block position acquisition stage; a reference tool position acquisition stage of installing the reference tool to the main spindle and acquiring a reference tool position with the tool sensor, the reference tool position being a distal end position of the reference tool; a position measurement sensor measurement stage of installing the position measurement sensor to the main spindle and measuring a position of the reference block with the position measurement sensor; a length compensation value calculation stage of calculating a length direction compensation value of the position measurement sensor from the reference tool position acquired in the reference tool position acquisition stage, the position of the reference block measured in the position measurement sensor measurement stage, the relative position calculated in the relative position calculation stage, and the length of the reference tool; a diameter compensation value acquisition stage of acquiring a radial direction compensation value of the position measurement sensor with the measured jig; a position measurement stage of indexing the rotation axis to a plurality of any given angles and measuring respective positions of the measured jig by the position measurement sensor; a position compensation stage of compensating the value of the measured position at the position measurement stage using the length direction compensation value and the radial direction compensation value; and a geometric error identification stage of identifying the geometric error from the plurality of the value of the measured position compensated in the position compensation stage.

2. The error identification method according to claim 1, wherein the tool sensor position acquisition stage to the relative position calculation stage are configured to be executed once, the reference tool position acquisition stage to the geometric error identification stage being configured to be executed several times.

3. The error identification method according to claim 1, wherein the positions measured by the position measurement sensor are positions of the translational axes when the position measurement sensor senses a contact with a measurement object.

4. The error identification method according to claim 1, wherein the positions measured by the tool sensor are positions of the translational axes when the tool installed to the main spindle moves in the translational axes and the tool sensor senses a contact with the tool or passing of the tool.

5. The error identification method according to claim 1, wherein the measured jig has a spherical shape.

6. The error identification method according to claim 5, wherein the diameter compensation value acquisition stage includes measuring an initial position of the measured jig by the position measurement sensor, the diameter compensation value acquisition stage includes acquiring a compensation value of the position measurement sensor in a radial direction.

7. An error identification system for measuring a position of a measured jig in a three-dimensional space and identifying a geometric error in a machine tool from a value of the measured position, in which the measured jig is secured on a table by a position measurement sensor installed to a main spindle in the machine tool, the machine tool including three or more translational axes, one or more rotation axes, the rotatable main spindle to which a tool is to be installed, the table, and a control device configured to control the respective translational axes, rotation axis, and main spindle, the error identification system comprising: a reference tool for a length reference of the tool; a tool sensor configured to detect a distal end position of the reference tool installed to the main spindle; a reference block installed to the tool sensor side; a tool sensor position acquisition unit configured to move the reference tool installed to the main spindle in the translational axes and acquire and store a sensing position of the distal end of the reference tool with the tool sensor; a reference block position acquisition unit configured to move the reference tool installed to the main spindle in the translational axes to directly or indirectly bring the reference tool into contact with the reference block, the reference block position acquisition unit being configured to acquire and store positions of the translational axes at the contact; a relative position calculation unit configured to calculate and store a relative position of the reference block with respect to the sensing position from the sensing position acquired in the tool sensor position acquisition unit and the positions of the translational axes acquired in the reference block position acquisition unit; a reference tool position acquisition unit configured to move the reference tool installed to the main spindle in the translational axes, the reference tool position acquisition unit being configured to acquire and store a reference tool position with the tool sensor, the reference tool position being the distal end position of the reference tool; a measurement position acquisition unit configured to measure and store a position of the reference block with the position measurement sensor installed to the main spindle; a length compensation value calculation unit configured to calculate and store a length direction compensation value of the position measurement sensor from the reference tool position acquired in the reference tool position acquisition unit, the position of the reference block acquired in the measurement position acquisition unit, the relative position acquired in the relative position calculation unit, and the length of the reference tool; a diameter compensation value acquisition unit configured to acquire and store a radial direction compensation value of the position measurement sensor with the measured jig; a position compensation unit configured to index the rotation axis to a plurality of any given angles and compensate and store the respective values of the measured position of the measured jig measured by the position measurement sensor using the length direction compensation value and the radial direction compensation value; and a geometric error identification unit configured to identify the geometric error from the plurality of the values of the measured position compensated in the position compensation unit.

8. An error identification method for measuring a position of a measured jig in a three-dimensional space and identifying a geometric error in a machine tool from a value of the measured position, in which the measured jig is secured on a table by a position measurement sensor installed to a main spindle in the machine tool, the machine tool including three or more translational axes, one or more rotation axes, the rotatable main spindle to which a tool is to be installed, the table, and a control device configured to control the respective translational axes, rotation axis, and main spindle, the error identification method comprising: a tool sensor position acquisition stage of installing a reference tool for a length reference of the tool to the main spindle and acquiring a sensing position of a distal end of the reference tool with a tool sensor; a reference tool measurement position acquisition stage of acquiring any given tool measurement position with the reference tool installed to the main spindle; a position measurement sensor measurement position acquisition stage of acquiring any given sensor measurement position with the position measurement sensor installed to the main spindle; a position measurement sensor length calculation stage of acquiring a difference between the tool measurement position and the sensor measurement position and acquiring a length of the position measurement sensor based on the difference and the length of the reference tool; a first reference block position acquisition stage of measuring a position of a reference block disposed at the tool sensor side with the position measurement sensor installed to the main spindle; a relative position calculation stage of calculating a relative position of the reference block with respect to the sensing position from the sensing position acquired in the tool sensor position acquisition stage, the position of the reference block acquired in the first reference block position acquisition stage, the length of the position measurement sensor calculated in the position measurement sensor length calculation stage, and the length of the reference tool; a reference tool position acquisition stage of installing the reference tool to the main spindle and acquiring a reference tool position with the tool sensor, the reference tool position being a distal end position of the reference tool; a second reference block position acquisition stage of installing the position measurement sensor to the main spindle and measuring a position of the reference block with the position measurement sensor; a length compensation value calculation stage of calculating a length direction compensation value of the position measurement sensor from the reference tool position acquired in the reference tool position acquisition stage, the position of the reference block measured in the second reference block position acquisition stage, the relative position calculated in the relative position calculation stage, and the length of the reference tool; a diameter compensation value acquisition stage of acquiring a radial direction compensation value of the position measurement sensor with the measured jig; a position measurement stage of indexing the rotation axis to a plurality of any given angles and measuring respective positions of the measured jig by the position measurement sensor; a position compensation stage of compensating the values of the measured position at the position measurement stage using the length direction compensation value and the radial direction compensation value; and a geometric error identification stage of identifying the geometric error from the plurality of the values of the measured position compensated in the position compensation stage.

9. The error identification method according to claim 8, wherein the tool sensor position acquisition stage to the relative position calculation stage are configured to be executed once, the reference tool position acquisition stage to the geometric error identification stage being configured to be executed several times.

10. The error identification method according to claim 8, wherein the positions measured by the position measurement sensor are positions of the translational axes when the position measurement sensor senses a contact with a measurement object.

11. The error identification method according to claim 8, wherein the positions measured by the tool sensor are positions of the translational axes when the tool installed to the main spindle moves in the translational axes and the tool sensor senses a contact with the tool or passing of the tool.

12. The error identification method according to claim 8, wherein the measured jig has a spherical shape.

13. The error identification method according to claim 12, wherein the diameter compensation value acquisition stage includes measuring an initial position of the measured jig by the position measurement sensor, the diameter compensation value acquisition stage including acquiring a compensation value of the position measurement sensor in a radial direction.

14. An error identification system for measuring a position of a measured jig in a three-dimensional space and identifying a geometric error in a machine tool from a value of the measured position, in which the measured jig is secured on a table by a position measurement sensor installed to a main spindle in the machine tool, the machine tool including three or more translational axes, one or more rotation axes, the rotatable main spindle to which a tool is to be installed, the table, and a control device configured to control the respective translational axes, rotation axis, and main spindle, the error identification system comprising: a reference tool for a length reference of the tool; a tool sensor configured to detect a distal end position of the reference tool installed to the main spindle; a reference block installed to the tool sensor side; a tool sensor position acquisition unit configured to move the reference tool installed to the main spindle in the translational axes and acquire and store a sensing position of the distal end of the reference tool with the tool sensor; a reference tool measurement position acquisition unit configured to acquire and store any given tool measurement position with the reference tool installed to the main spindle; a position measurement sensor measurement position acquisition unit configured to acquire and store any given sensor measurement position with the position measurement sensor installed to the main spindle; a position measurement sensor length calculation unit configured to acquire a difference between the tool measurement position and the sensor measurement position, the position measurement sensor length calculation unit being configured to calculate and store a length of the position measurement sensor based on the difference and the length of the reference tool; a first reference block position acquisition unit configured to measure and store a position of the reference block with the position measurement sensor installed to the main spindle; a relative position calculation unit configured to calculate and store a relative position of the reference block with respect to the sensing position from the sensing position acquired in the tool sensor position acquisition unit, the position of the reference block acquired in the first reference block position acquisition unit, the length of the position measurement sensor calculated in the position measurement sensor length calculation unit, and the length of the reference tool; a reference tool position acquisition unit configured to move the reference tool installed to the main spindle in the translational axes, the reference tool position acquisition unit being configured to acquire and store a reference tool position with the tool sensor, the reference tool position being the distal end position of the reference tool; a second reference block position acquisition unit configured to measure and store a position of the reference block with the position measurement sensor installed to the main spindle; a length compensation value calculation unit configured to calculate and store a length direction compensation value of the position measurement sensor from the reference tool position acquired in the reference tool position acquisition unit, the position of the reference block acquired in the second reference block position acquisition unit, the relative position calculated in the relative position calculation unit, and the length of the reference tool; a diameter compensation value acquisition unit configured to acquire and store a radial direction compensation value of the position measurement sensor with the measured jig; a position compensation unit configured to index the rotation axis to a plurality of any given angles and compensate and store the respective values of the measured position of the measured jig measured by the position measurement sensor using the length direction compensation value and the radial direction compensation value; and a geometric error identification unit configured to identify the geometric error from the plurality of the values of the measured position compensated in the position compensation unit.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) FIG. 1 is a schematic diagram of a machining center.

(2) FIG. 2 is a schematic diagram illustrating one example of a laser sensor.

(3) FIG. 3 is a schematic diagram illustrating a modification example of the laser sensor.

(4) FIG. 4 is a schematic diagram of the laser sensor of the present invention mounted to the machining center.

(5) FIG. 5 is a schematic diagram illustrating one example of a touch sensor.

(6) FIG. 6 is a schematic diagram illustrating a modification example of the touch sensor.

(7) FIG. 7 is a flowchart for measurement preparation work.

(8) FIG. 8 is an explanatory view for Step SR1 in the measurement preparation work.

(9) FIG. 9 is an explanatory view for Step SR2 in the measurement preparation work.

(10) FIG. 10 is an explanatory view for Step S1-2 for an error identification method of the present invention.

(11) FIG. 11 is a flowchart for the error identification method of the present invention.

(12) FIG. 12 is a schematic diagram of a touch trigger probe and a target ball.

(13) FIG. 13 is a flowchart for S1 in the error identification method of the present invention.

(14) FIG. 14 is a flowchart for S2 in the error identification method of the present invention.

(15) FIG. 15 is a schematic diagram of a relationship between a measurement value at an initial position measurement of the target ball of the present invention and a sphere center.

(16) FIG. 16 is a schematic diagram of a relationship between the measurement values and touch trigger probe diameter compensation values at the initial position measurement of the target ball of the present invention.

(17) FIG. 17 is a flowchart for measurement preparation work of a modification example.

(18) FIG. 18 is an explanatory view for Step SQ2 in the measurement preparation work of the modification example.

(19) FIG. 19 is an explanatory view for Step SQ3 in the measurement preparation work of the modification example.

DETAILED DESCRIPTION OF THE INVENTION

(20) The following describes embodiments of the present invention based on the drawings.

(21) As described above, FIG. 1 is a schematic diagram of a machining center, which is one configuration of a machine tool that includes three translational axes orthogonal to one another and two rotation axes orthogonal to one another. A motion having two degrees of freedom for the translation of the main spindle 2 in the X-axis and the Z-axis directions, which are the translational axes and are orthogonal to one another, is possible with respect to the bed 1. A motion having one degree of freedom for the rotation of the table 3 in the C-axis direction, which is the rotation axis, is possible with respect to the cradle 4. A motion having one degree of freedom for the rotation of the cradle 4 in the A-axis direction, which is the rotation axis orthogonal to the C-axis direction, is possible with respect to the trunnion 5. A motion having one degree of freedom for the translation of the trunnion 5 in the Y-axis direction, which is the translational axis and orthogonal to the X-axis and Z-axis directions, is possible with respect to the bed 1. Accordingly, the motions of the three degrees of freedom of translation and the two degrees of freedom of rotation of the main spindle 2 are possible with respect to the table 3. Servo motors, which are controlled by a numerical control unit (not illustrated), drive respective feed axes. A workpiece is secured to the table 3, a tool is installed on the main spindle 2 and rotated, and the relative position and the relative posture between the workpiece and the tool are controlled, thus ensuring the processes of the workpiece.

(22) The machine according to the present invention is not limited to the machining center described above, and may be a machine tool such as a lathe, a multitasking machine, and a grinder. The number of axes is not limited to five axes, but may be four axes or six axes, for example. Further, the mechanism is not limited to one where the table 3 has two degrees of freedom for the rotation or more in the rotation axes, but can also be a mechanism where the main spindle 2 has two degrees of freedom for the rotation or more and a mechanism where the main spindle 2 and the table 3 each have one degree of freedom for the rotation or more may be employed.

(23) FIG. 2 is a schematic diagram of a laser sensor 40 as one example of a tool sensor of the present invention. The laser sensor 40 includes a light emitting portion 11, a light receiving portion 12, and a base portion 13. The laser sensor 40 also includes a reference block 42 between the light emitting portion 11 and the light receiving portion 12. The light emitting portion 11, the light receiving portion 12, and the reference block 42 are each secured to the base portion 13. Note that, as illustrated in FIG. 3, the reference block 42 may be separately disposed near the laser sensor 40.

(24) As illustrated in FIG. 4, the laser sensor 40 is mounted to the trunnion 5 of the machining center in FIG. 1 via the sensor mounting block 41.

(25) With the laser sensor 40, the light emitting portion 11 outputs laser light 14, and the light receiving portion 12 receives the laser light 14. When the laser light 14 is obstructed by a substance, and therefore a light-receiving rate becomes a certain rate or less, the laser sensor 40 generates a signal. A control device (not illustrated) receives this signal and determines the positions of the feed axes at the time point of the reception of the signal or at the time point considering the delay as measurement values. For example, the tool is mounted on the main spindle 2 and is caused to approach the laser light in the Z-axis direction to acquire the Z-axis position Zt at a time point when the tool cuts off the laser light. The Z-axis position Zb of the reference tool is similarly acquired. The length of the tool with respect to the reference tool is acquired from the difference between Zt and Zb. Substractions of the length Td of the reference tool as well acquires an absolute length of the tool.

(26) FIG. 5 is a schematic diagram of a touch sensor 50 as one example of the tool sensor of the present invention. The touch sensor 50 includes a base portion 51, a touch sensor portion 52, and a reference block 53. The touch sensor portion 52 and the reference block 53 are secured on the base portion 51. The touch sensor 50 is mounted to the trunnion 5 of the machining center in FIG. 1 similar to the laser sensor 40. As illustrated in FIG. 6, the reference block 53 is separately disposed near the touch sensor 50.

(27) The following describes an error identification method and an error identification system in the case of using the laser sensor 40 as the tool sensor. It should be noted that the case of the use of the touch sensor 50 differs only in a sensing method and is substantially identical.

(28) First, the procedure for measurement preparation work is described based on the flowchart in FIG. 7. The measurement preparation work needs to be performed in advance before the measurement of a target ball (measured jig) and geometric error identification by a touch trigger probe as a position measurement sensor are made, which will be described later. It is only necessary to perform the measurement preparation work at a low frequency in the cases such as the deterioration of the laser sensor and equipment exchange due to failure of the laser sensor.

(29) At Step SR1, as illustrated in FIG. 8, a reference tool 8 is installed on the main spindle 2 and is measured by the laser sensor 40. Here, the Z-axis is moved such that the reference tool 8 approaches the laser light 14 and the Z-axis position at a time point when the distal end of the reference tool 8 cuts off the laser light 14 and the light-receiving rate is the threshold, or a time point considering the signal delay is acquired. A storage unit (not illustrated) in the control device stores the acquired Z-axis position Zl (a tool sensor position acquisition stage and tool sensor position acquisition means. Here, the control device functions as means that performs respective stages of the disclosure). The storage unit also preliminarily stores the length Td of the reference tool 8. Here, the reference tool distal end position Zl is calculated from Zl and Td (=ZlTd) and stored.

(30) Next, at Step SR2, the position of the reference block 42 is acquired using the reference tool 8. Here, as illustrated in FIG. 9, with the reference tool 8 installed on the main spindle 2, the reference tool 8 is brought into contact with the reference block 42 via the block gauge 43 to acquire the Z-axis position Zb at the time. The storage unit (not illustrated) in the control device stores a value Zb found by subtracting the thickness Hb of the block gauge 43 (=ZbHb) (a reference block position acquisition stage and reference block position acquisition means). Here, the reference block top surface position Zb may be calculated and stored also using Td (=ZbHbTd). The block gauge 43 may be a block with an already-known thickness dimension or a similar block.

(31) At Step SR3, as shown in FIG. 10, a relative position dZb (=ZlZb) of the reference block 42 with respect to a sensing position of the laser sensor 40 is calculated from the Z-axis position Zl, which is stored at Step SR1, and the Z-axis position Zb, which is stored at Step SR2, and is stored in the storage unit in the control device (a relative position calculation stage and relative position calculation means). Here, the storage unit also stores the block gauge thickness Hb, and dZb may be calculated from Zl, Zb, and Hb (dZb=ZlZbHb). Note that, the storage of Zl and Zb values allows the calculation of dZb=ZlZb.

(32) The following describes a procedure of the geometric error identification of the disclosure based on a flowchart in FIG. 11.

(33) First, at Step S1, the calibration of the length compensation value of the touch trigger probe 30 is performed. The details are described later.

(34) Next, at Step S2, as illustrated in FIG. 12, the initial position of the target ball 32 secured on the table 3 is measured. A diameter compensation value calibration of the touch trigger probe 30 is performed with the target ball 32 (the diameter compensation value acquisition stage and the diameter compensation value acquisition means). The details are described later.

(35) At Step S3, the respective expected center positions of the target ball and the touch trigger probe distal end positions, after a movement by a rotation and an inclination of the rotation axes under preset measurement conditions (such as index angles of the respective rotation axes), are calculated using the target ball initial position measured at Step S2 and the length of the touch trigger probe 30 (length compensation value) (the position measurement stage and position compensation means).

(36) Furthermore, three-dimensional position coordinate values calculated in the respective index angles are set as instruction values of the respective X-, Y-, and Z-axes. An instruction value list that sets the respective index angles as the instruction values of the rotation axes is created.

(37) At Step S4, the touch trigger probe 30 is brought into contact with a surface of the target ball 32 at four points or more on the basis of the respective feed axis instruction values in the instruction value list created at Step S3. Compensation is performed using the length compensation value acquired at Step S1 and the diameter compensation value acquired at Step S2 to acquire the center position and the diameter of the target ball 32 (a position compensation stage and position compensation means). Here, the use of a diameter calibration value of the target ball 32 preliminarily measured by a coordinate measuring machine or a similar machine allows acquiring the center position of the target ball 32 through the measurement at the three-point contact.

(38) At Step S5, the identification calculation of the geometric error in the machine is performed on the basis of the acquired center position coordinate values of the target ball 32 and the instruction values at the respective positions (the geometric error identification stage and geometric error identification means). The details will be described later.

(39) The following describes the length compensation value calibration at Step S1 based on the flowchart in FIG. 13.

(40) First, at Step S1-1, similar to Step SR1 described in connection with FIG. 8, the reference tool 8 is installed on the main spindle 2, and the laser sensor 40 performs the measurement. The storage unit in the control device (not illustrated) stores a Z-axis position Zd (the reference tool position acquisition stage and reference tool position acquisition means). Using Td, Zd=ZdTd may be stored.

(41) Next, at Step S1-2, as illustrated in FIG. 10, the touch trigger probe 30 is installed on the main spindle 2 to measure the reference block 42 by the touch trigger probe 30. Here, the Z-axis is moved such that the touch trigger probe 30 approaches the reference block 42, and the Z-axis position Zp is acquires at a time point when the stylus at a distal end of the touch trigger probe 30 contacts the reference block 42 and the touch trigger probe 30 transmits the trigger signal or a time point considers the signal delay. The storage unit in the control device (not illustrated) stores the acquired Z-axis position Zp (the position measurement sensor measurement stage and measurement position acquisition means).

(42) At Step S1-3, the length of the touch trigger probe 30 in contact, which is the length direction compensation value of the touch trigger probe 30, is calculated. That is, the length direction compensation value (length in contact) Tp (=ZpZd+dZb+Td) is acquired from Zd stored at Step S1-1, Zp stored at Step S1-2, and the relative position dZb of the reference block 42 and the reference tool length Td, which are stored in the storage unit in the control device. The storage unit stores the length direction compensation value Tp (a length compensation value calculation stage and length compensation value calculation means). Here, Tp (=ZpZddZb) may be acquired from Zd, Zp, and dZb.

(43) The following describes details of Step S2 based on the flowchart in FIG. 14.

(44) First, before executing Step S2, as illustrated in FIG. 12, the touch trigger probe 30 with the stylus ball at the distal end is mounted on the main spindle 2 of the five-axis-control machining center, and the target ball 32 is installed and secured on the table 3.

(45) At Step S2-1, the touch trigger probe 30 is moved in the Z-direction to bring the touch trigger probe 30 into contact with a site near an apex in the +Z-direction of the target ball 32, and a Z-axis coordinate value zm1 in contact is stored.

(46) Next, at Step S2-2, a temporary Z-center position zt is acquired from the following formula 1 using a diameter d0 of the target ball 32 preliminarily measured by the coordinate measuring machine or a similar machine and a preliminarily acquired touch trigger probe diameter compensation value t1:
zt=zm1d0/2t1.Formula 1

(47) At Step S2-3, the main spindle 2 is indexed to 0, and the touch trigger probe 30 is moved to a site near the apex on the +X-side of the target ball 32. After that, the touch trigger probe 30 is moved in the X-direction to bring the touch trigger probe 30 into contact with a site near the apex on the +X-side of the target ball 32, and an X-axis coordinate value xm1 in contact is stored.

(48) At Step S2-4, the main spindle 2 is indexed to 180 such that the touch trigger probe 30 contacts the target ball 32 at a point identical to the point on the stylus ball in contact at Step S2-3. After the touch trigger probe 30 is moved to the site near the apex on the X-side of the target ball 32, the touch trigger probe 30 is moved in the +X-direction to bring the touch trigger probe 30 into contact with the site near the apex on the X-side of the target ball 32, and an X-axis coordinate value xp1 in contact in stored.

(49) At Step S2-5, an X-center position xo is acquired from the following formula 2 using the stored xm1 and xp1:
xo=(xp1+xm1)/2.Formula 2

(50) At Step S2-3 and Step S2-4, as illustrated in FIG. 15, the touch trigger probe 30 contacts the target ball 32 at the identical point on the stylus ball of the touch trigger probe 30. This ensures accurately acquiring xo without being affected by the property difference due to the difference in the contact direction of the touch trigger probe 30 and the swing of the touch trigger probe 30 and the main spindle 2.

(51) At Step S2-6, similar to the above-described operations, the main spindle 2 is indexed to 270 and the touch trigger probe 30 is moved to the site near the apex on the +Y-side of the target ball 32. After that, the touch trigger probe 30 is moved in the Y-direction to bring the touch trigger probe 30 into contact with the site near the apex on the +Y-side of the target ball 32, and a Y-axis coordinate value ym1 in contact is stored.

(52) At Step S2-7, similar to the above-described operations, the main spindle 2 is indexed to 90 and the touch trigger probe 30 is moved to the site near the apex on the Y-side of the target ball 32. After that, the touch trigger probe 30 is moved in the +Y-direction to bring the touch trigger probe 30 into contact with the site near the apex on the Y-side of the target ball 32, and a Y-axis coordinate value yp1 in contact is stored.

(53) At Step S2-8, a Y-center position yo is acquired from the following formula 3 using the stored ym1 and yp1:
yo=(yp1+ym1)/2.Formula 3

(54) At Step S2-9, similar to Step S2-3, the main spindle 2 is indexed to 0. The apex on the +X-side of the target ball 32 is measured to update the X-axis coordinate value xm1.

(55) At Step S2-10, similar to Step S2-4, the main spindle 2 is indexed to 180. The apex on the X-side of the target ball 32 is measured to update the X-axis coordinate value xp1.

(56) At Step S2-11, the X-center position xo is calculated again from the formula 2 using the updated xm1 and xp1.

(57) At Step S2-12, the main spindle 2 is indexed to 0 (an angle indexed at the usual measurement).

(58) At Step S2-13, the touch trigger probe 30 is positioned at the X-coordinate xo, the Y-coordinate yo, and the right above the apex of the target ball 32 in the Z-axis direction. The touch trigger probe 30 in moved in the Z-direction to bring the touch trigger probe 30 into contact with a site near the apex in the positive direction of +Z of the target ball 32 and a Z-axis coordinate value zm2 in contact is stored.

(59) At Step S2-14, a Z-center position zo is acquired from the following formula 4:
zo=zm2d0/2t1.Formula 4

(60) At Step S2-15, the touch trigger probe 30 is moved to the site near the apex on the +X-side of the target ball 32. After that, the touch trigger probe 30 is moved in the X-direction to bring the touch trigger probe 30 into contact with the site near the apex on the +X-side of the target ball 32, and an X-axis coordinate value xm2 in contact is stored.

(61) At Step S2-16, the touch trigger probe 30 is moved to the site near the apex on the X-side of the target ball 32. After that, the touch trigger probe 30 is moved in the +X-direction to bring the touch trigger probe 30 into contact with the site near the apex on the X-side of the target ball 32, and an X-axis coordinate value xp2 in contact is stored.

(62) At Step S2-17, the touch trigger probe 30 is moved to the site near the apex on the +Y-side of the target ball 32. After that, the touch trigger probe 30 is moved in the Y-direction to bring the touch trigger probe 30 into contact with the site near the apex on the +Y-side of the target ball 32, and a Y-axis coordinate value ym2 in contact is stored.

(63) At Step S2-18, the touch trigger probe 30 is moved to the site near the apex on the Y-side of the target ball 32. After that, the touch trigger probe 30 is moved in the +Y-direction to bring the touch trigger probe 30 into contact with the site near the apex on the Y-side of the target ball 32, and a Y-axis coordinate value yp2 in contact is stored.

(64) At Step S2-19, contact touch trigger probe diameter compensation values tc1, tc2, tc3, and tc4 in the +X, X, +Y, and Y-directions are acquired using the following formula 5. Here, the main spindle center when the target ball 32 is positioned at the position (xo, yo) matches the target ball center. Therefore, as illustrated in FIG. 16, the respective compensation values can be acquired from a movement distance from the center position and the target ball diameter.
tc=xoxp2d0/2;
tc2=xoxm2+d0/2;
tc3=yoyp2d0/2; and
tc4=yoym2+d0/2.Formula 5:

(65) As described above, at Step S2, the center position (xo, yo, zo) of the target ball 32 is measured together with the acquisition of the touch trigger probe diameter compensation values tc1, tc2, tc3, and tc4.

(66) The touch trigger probe is moved toward the center of the target ball 32, such that the touch trigger probe is brought into contact with the target ball 32. Assume that the measurement values of the respective axes at any given point on the surface of the target ball 32 as (xs, ys, zs). Then, the following formula 6 can also be used to acquire touch trigger probe compensation values (tax, tay, taz) at the any given point.
tax=xoxsd0/2;
tay=yoys+d0/2; and
taz=zozs+d0/2.Formula 6:

(67) Next, the following describes details of Step S5.

(68) In one measurement condition, one of the rotation axes is secured and the other is indexed to a plurality of angles, and the center position of the target ball is measured. Difference vectors of the measurement values at the ball center position with respect to the instruction values under the measurement condition can be distributed to radial direction, axial direction, and tangent direction components of an index axis. These respective components can be approximated as Fourier series of a zero-order component (radius error), a first-order component (a center deviation), and a second-order component (elliptical shape), namely, an arc with error by, for example, least-square method.

(69) A radial direction component dRr.sub.i, an axial direction component dRa.sub.i, and a radial direction component dRt.sub.i of the measurement values at a k-th index angle .sub.ijk of a j-th rotation axis under a measurement condition i can be expressed as the following formula 7:
dRr.sub.i=ra0.sub.i+ra1.sub.i*cos(.sub.ijk)+rb1.sub.i*cos(.sub.ijk)+ra2.sub.i cos(2.sub.ijk)+rb2.sub.i sin(2.sub.ijk);
dRa.sub.i=aa0.sub.i+aa1.sub.i*cos(.sub.ijk)+ab1.sub.i*cos(.sub.ijk)+aa2.sub.i cos(2.sub.ijk)+ab2.sub.i sin(2.sub.ijk); and
dRt.sub.i=ta0.sub.i+ta1.sub.i*cos(.sub.ijk)+tb1.sub.i*cos(.sub.ijk)+ta2.sub.i cos(2.sub.ijk)+tb2.sub.i sin(2.sub.ijk).Formula 7

(70) As the geometric error in the five-axis-control machining center in FIG. 1, the squareness between the X and Y axes is denoted as dCyx, the squareness between the Y and Z axes as dAxz, the squareness between the Z and X axes as dBxz, the X-direction error of the C-axis center position as dXca, the offset error between the C and A axes as dYca, the angular offset error of the A-axis as dAca, the squareness between the C and A axes as dBca, the Y-direction error of the A-axis center position as dYay, the Z-direction error of the A-axis center position as dZay, the squareness between the A and Z axes as dBay, and the squareness between the A and Y axes as dCay.

(71) When a first measurement condition is determined as the A-axis of 0 and the C-axis of 0 to 360, a second measurement condition is determined as the C-axis of 90 and the A-axis of 90 to +90, and a third measurement condition is determined as the A-axis of 90 and the C-axis of 0 to 180, relationships between the respective coefficients in the formula 7 and the geometric errors are the following formula 8. Here, each of R.sub.1, R.sub.2, and R.sub.3 are distances from a rotational center to a ball center position on a plane where all the ball center positions instructed under the first, second and third measurement conditions are placed, namely, a radius of an arc trajectory. A modification of the formula 8 can acquire the respective geometric errors.
ra1.sub.1=dXca(dBca+dBay+dBxz)*H;
rb1.sub.i=dYca+dYay(dAca+dAxz)*H;
rb2.sub.1=dCyx*R.sub.1/2;
aa1.sub.1=dBca+dBay;
ab1.sub.1=dAca;
ra1.sub.2=dYay;
rb1.sub.2=dZay;
rb2.sub.2=dAxz*R.sub.2/2;
aa1.sub.2=dCay;
ab1.sub.2=(dBay+dBxz); and
rb2.sub.3=dBxz*R.sub.3/2Formula 8

(72) The error identification method and the error identification system with the above-described configuration allows the calibration of the length and diameter compensation values of the touch trigger probe 30 during a sequence of respective measurements for the geometric error identification. The need for manual work, except for the preparation work in advance, is eliminated. Accordingly, the preparation of an additional jig or a similar preparation is not required, ensuring a reduction in the machine operator load and reliable performance of the calibration of the touch trigger probe 30 during the geometric error identification. This does not deteriorate the measurement accuracy of the touch trigger probe 30, even if the state of the touch trigger probe 30 changes due to heat displacement, ensuring a high degree of accuracy in identifying the geometric error.

(73) Further, the measurement system with the CCD camera or a similar system is not required, thus achieving a comparatively low price.

(74) To acquire the reference block position, the configuration indirectly brings the reference tool into contact with the reference block using the block gauge. However, the reference tool may be directly brought into contact with the reference block without the block gauge.

(75) Furthermore, the tool sensor position acquisition stage to the geometric error identification stage are executed once in the configuration. However, the tool sensor position acquisition stage to the relative position calculation stage may be executed once, and the reference tool position acquisition stage to the geometric error identification stage may be executed several times.

(76) The following describes the error identification method and the error identification system according to another aspect of the present invention. It should be noted that, since the configurations are identical to the above-described configurations, other than the measurement preparation work, the following describes the measurement preparation work based on the flowchart in FIG. 17.

(77) First, Step SQ1 is identical to Step SR1 in FIG. 7. That is, as illustrated in FIG. 8, the reference tool 8 is installed on the main spindle 2 and is measured by the laser sensor 40. Here, the Z-axis is moved such that the reference tool 8 approaches the laser light 14 and the Z-axis position at the time point of the distal end of the reference tool 8 cutting off the laser light 14 and the light-receiving rate being the threshold or less or the time point considering the signal delay is acquired. The storage unit (not illustrated) in the control device stores the acquired Z-axis position Zl (the tool sensor position acquisition stage and the tool sensor position acquisition means). The storage unit also preliminarily stores the length Td of the reference tool 8.

(78) Next, at Step SQ2, the position of any given reference surface such as the top surface of the table or the jig is acquired with the reference tool 8 (a reference tool measurement position acquisition stage and reference tool measurement position acquisition means). For example, as illustrated in FIG. 18, with the reference tool 8 installed on the main spindle 2, the reference tool 8 is brought into contact with the top surface of the table 3 via the block gauge 43 to acquire a Z-axis position Za at the time. The storage unit (not illustrated) in the control device stores a value Za found by subtracting the thickness Hb of the block gauge 43 from the Z-axis position Za (=ZaHb). The block gauge 43 may not be a block gauge but may be a block with already-known thickness dimension or a similar block.

(79) At Step SQ3, the touch trigger probe 30 is installed on the main spindle 2 to measure the position of the any given reference surface identical to Step SQ2 by the touch trigger probe 30 (a position measurement sensor measurement position acquisition stage and position measurement sensor measurement position acquisition means). For example, as illustrated in FIG. 19, the Z-axis is moved such that the touch trigger probe 30 approaches the top surface of the table 3. The Z-axis position Zp at the time point of the stylus of the touch trigger probe 30 contacting the top surface and the touch trigger probe 30 transmitting the trigger signal or the time point considering the signal delay is acquired. The storage unit (not illustrated) in the control device stores the acquired Z-axis position Zp.

(80) At Step SQ4, the length of the touch trigger probe in contact is calculated. A touch trigger probe length in contact Tp (=ZqZa+Td) is acquired from Za, which is stored at Step SQ2, Zq, which is stored at Step SQ3, and the reference tool length Td, and the storage unit stores the touch trigger probe length in contact Tp (a position measurement sensor length calculation stage and position measurement sensor length calculation means).

(81) At Step SQ5, the reference block 42 is measured by the touch trigger probe 30 (a first reference block position acquisition stage and first reference block position acquisition means). That is, as illustrated in FIG. 10, the Z-axis is moved such that the touch trigger probe 30 approaches the reference block 42, and the Z-axis position Zp at the time point of the stylus of the touch trigger probe 30 contacting the reference block 42 and the touch trigger probe 30 transmitting the trigger signal or the time point considering the signal delay is acquired. The storage unit in the control device (not illustrated) stores the acquired Z-axis position Zp.

(82) At Step SQ6, the relative position dZb (=ZlTdZp+Tp) of the reference block 42 with respect to the laser sensor 40 is calculated from the Z-axis position Zl, which is stored at Step SQ1, the touch trigger probe 30 length in contact Tp, which is calculated at Step SQ4, the Z-axis position Zp, which is stored at Step SQ5, and the reference tool length Td, and is stored in the storage unit in the control device (the relative position calculation stage and the relative position calculation means).

(83) While the procedure of the geometric error identification after this is identical to the above-described configurations described in FIG. 11 to FIG. 16, Step S1-2 in FIG. 13 becomes a second reference block position acquisition stage and second reference block position acquisition means.

(84) Furthermore, in the modification example as well, the tool sensor position acquisition stage at Step SQ1 to the relative position calculation stage at Step SQ6 may be executed once, and the subsequent reference tool position acquisition stage to the geometric error identification stage may be executed several times.

(85) It is explicitly stated that all features disclosed in the description and/or the claims are intended to be disclosed separately and independently from each other for the purpose of original disclosure as well as for the purpose of restricting the claimed invention independent of the composition of the features in the embodiments and/or the claims. It is explicitly stated that all value ranges or indications of groups of entities disclose every possible intermediate value or intermediate entity for the purpose of original disclosure as well as for the purpose of restricting the claimed invention, in particular as limits of value ranges.