ERROR MEASUREMENT METHOD FOR MACHINE TOOL AND MACHINE TOOL

20210154791 · 2021-05-27

Assignee

Inventors

Cpc classification

International classification

Abstract

An error measurement method for a machine tool measures an error in a machine tool that includes two or more translational axes, a table, and a spindle head. The error measurement method includes installing a masterwork having a plurality of targets on the table and detecting a position of each of the targets using a sensor mounted to the spindle head to acquire a measured value regarding the position of each of the targets and to acquire an error value regarding the position of each of the targets using each of the acquired measured values and a preliminarily acquired calibration value regarding the position of each of the targets. The error measurement method further includes calculating at least one disturbance index value indicative of a degree of disturbance in the measurement for each of the targets, and determining whether the disturbance index value exceeds a preliminarily set threshold.

Claims

1. An error measurement method for a machine tool for measuring an error in a machine tool, wherein the machine tool includes two or more translational axes, a table configured to hold a workpiece, and a spindle head configured to hold a tool, the translational axes enable a relative motion of two degrees or more of translational freedom of the tool held onto the spindle head with respect to the workpiece, the error measurement method comprising: installing a masterwork having a plurality of targets on the table and detecting a position of each of the targets using a sensor mounted to the spindle head to acquire a measured value regarding the position of each of the targets and to acquire an error value regarding the position of each of the targets using each of the acquired measured values and a preliminarily acquired calibration value regarding the position of each of the targets; calculating at least one disturbance index value indicative of a degree of disturbance in the measurement for each of the targets; and determining whether the disturbance index value exceeds a preliminarily set threshold.

2. An error measurement method for a machine tool for measuring an error in a machine tool, wherein the machine tool includes two or more translational axes, one or more rotation axes or a translational axis different from the translational axes, a table configured to hold a workpiece, and a spindle head configured to hold a tool, the two or more translational axes enable a relative motion of two degrees or more of translational freedom of the tool held onto the spindle head with respect to the workpiece, the error measurement method comprising: installing a target on the table, positioning the two or more translational axes and the rotation axis or the different translational axis under a plurality of conditions, and detecting a position of the target using a sensor mounted to the spindle head to acquire a measured value regarding the position of the target for each of the positioning conditions and to acquire an error value regarding the position of the target based on each of the acquired measured values; calculating at least one disturbance index value indicative of a degree of disturbance in the measurement for each of the positioning conditions; and determining whether the disturbance index value exceeds a preliminarily set threshold.

3. The error measurement method for the machine tool according to claim 1, further comprising calculating at least one of the disturbance index values based on a plurality of the error values and a window function.

4. The error measurement method for the machine tool according to claim 3, further comprising calculating at least one of the disturbance index values based on a difference between the one error value and a value obtained by smoothing the plurality of error values by the window function.

5. The error measurement method for the machine tool according to claim 1, wherein in the determining, when the at least one disturbance index value exceeds the threshold, the installing is performed again on the target or the positioning condition where the error value has already been acquired.

6. The error measurement method for the machine tool according to claim 5, wherein when a count of performing the installing on the target or the positioning condition exceeds a predetermined count, the installing is not performed again.

7. The error measurement method for the machine tool according to claim 1, wherein in the determining, when the at least one disturbance index value exceeds the threshold, its situation is notified.

8. A machine tool comprising: two or more translational axes; a table configured to hold a workpiece; a spindle head configured to hold a tool, the translational axes enabling a relative motion of two degrees or more of translational freedom of the tool held onto the spindle head with respect to the workpiece; an error value acquisition unit configured to detect a position of each target using a sensor mounted to the spindle head in a state where a masterwork having a plurality of the targets is installed on the table to acquire a measured value regarding the position of each of the targets and to acquire an error value regarding the position of each of the targets using each of the acquired measured values and a preliminarily acquired calibration value regarding the position of each of the targets; a disturbance index value calculation unit configured to calculate at least one disturbance index value indicative of a degree of disturbance in the measurement for each of the targets; and a threshold determination unit configured to determine whether the disturbance index value exceeds a preliminarily set threshold.

9. A machine tool comprising: two or more translational axes; one or more rotation axes or a translational axis different from the translational axes; a table configured to hold a workpiece; a spindle head configured to hold a tool, the two or more translational axes enabling a relative motion of two degrees or more of translational freedom of the tool held onto the spindle head with respect to the workpiece; an error value acquisition unit configured to position the two or more translational axes and the rotation axis or the different translational axis under a plurality of conditions in a state where a target is installed on the table and detect a position of the target using a sensor mounted to the spindle head to acquire a measured value regarding the position of the target for each of the positioning conditions and to acquire an error value regarding the position of the target based on each of the acquired measured values; a disturbance index value calculation unit configured to calculate at least one disturbance index value indicative of a degree of disturbance in the measurement for each of the positioning conditions; and a threshold determination unit configured to determine whether the disturbance index value exceeds a preliminarily set threshold.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0021] FIG. 1 is a schematic diagram of a numerical control machine tool.

[0022] FIG. 2 is a schematic diagram of a probe and a masterwork installed on a table.

[0023] FIG. 3 is a schematic diagram of the masterwork.

[0024] FIG. 4 is a flowchart for an error measurement method of the disclosure.

DETAILED DESCRIPTION OF THE INVENTION

[0025] The following describes embodiments of the disclosure based on the drawings.

[0026] A numerical control machine tool of FIG. 1 will be described as an example of an applied machine. However, the machine related to the disclosure may be another machine tool, such as a multitasking machine, a lathe, and a grinder.

[0027] In the disclosure, as illustrated in FIG. 2, a touch probe 11 is mounted to a main spindle 2a of a spindle head 2, a masterwork 12 as a measurement object is fixed to a table 3, and a position of a target on the masterwork 12 is measured with the touch probe 11. FIG. 2 is an example in which the target on a plane of the masterwork 12 is measured and Z-direction component straightness of an X-axis is measured. The disclosure can be embodied to a case where straightness and positioning accuracy of another axis and another component are measured. Here, a numerical control device disposed in a machine tool functions as an error value acquisition unit, a disturbance index value calculation unit, and a threshold determination unit of the disclosure.

[0028] As illustrated in FIG. 3, a plurality of targets P (P.sub.1, P.sub.2, P.sub.3. . . P.sub.n-2, P.sub.n-1, P.sub.n) are present on the masterwork 12.

[0029] Relative positions of the targets P.sub.1 to P.sub.n are measured by a highly accurate measuring device or the like in advance, and the measurement results are recorded as calibration values. While FIG. 3 illustrates an example in which the target P is a point on the plane a sphere may be attached or a hole may be bored as long as the relative position is recorded.

[0030] Subsequently, an error measurement method of the disclosure will be described based on the flowchart of FIG. 4.

[0031] First, the position of the target P.sub.i, which is the target P with a target number i, is measured with the touch probe 11. A difference between a measured value Zm.sub.i obtained through the measurement and a calibration value Zc.sub.i recorded in advance is obtained to acquire an error value ΔZ.sub.i =Zm.sub.i−Zc.sub.i (S1: error value acquisition step).

[0032] A disturbance index value is calculated for the obtained error value ΔZ.sub.i (S2: disturbance index value calculation step). To calculate the disturbance index value of the i-k-th target P, the error values of the i-th target P from the i-2k-th target P are used. Accordingly, after acquiring the error value of the i-th target P, the disturbance index value of the i-k-th target P is calculated.

[0033] In comparison with the error values around the error value ΔZ.sub.i, the error value ΔZ.sub.i does not rapidly change. On the other hand, when disturbance is included in the error value ΔZ.sub.i the error value ΔZ.sub.i rapidly changes due to the disturbance. Thus, by the use of a window function, a change component d.sub.i−k of the error value is calculated, and a disturbance index value D.sub.i-k is calculated based on the change component d.sub.i−k of the error value.

[0034] The change component d.sub.i−k of the error value is calculated by multiplying ΔZ.sub.i-2k to ΔZ.sub.i by window functions w.sub.i-2k to w.sub.i and summing the values as in the following Math. 1.


d.sub.i−k=w.sub.i-2k+ΔZ.sub.i-2k+w.sub.i-2k*ΔZ.sub.i-2k+1+ . . . +w.sub.i-2*ΔZ.sub.i-2+w.sub.i-1*ΔZ.sub.i-1+w.sub.i*ΔZ.sub.1 [Math. 1]

[0035] An example of the window function w.sub.i will be described. Here, the case of k=2 will be described. The error values ΔZ.sub.i-4 to ΔZ.sub.i of the i-4-th to the i-th targets P as the targets are smoothed, and a smoothed error ΔZ.sub.Si-2 of the i-2-th target P is obtained. For example, with the use of a Savitzky-Golay filter as a smoothing filter, the error value ΔZ.sub.Si-2 after the smoothing can be expressed like the following Math. 2.


ΔZ.sub.Si-2=(−3*ΔZ.sub.i-4+12*ΔZ.sub.i-3+17*ΔZ.sub.i-2+12*ΔZ.sub.i-1−3*ΔZ.sub.i)/35   [Math. 2]

[0036] The change component d.sub.i−2 of the error value can be calculated by subtracting the error value ΔZ.sub.Si-2 after the smoothing from the error value ΔZ.sub.i-2 as in the following Math. 3.


d.sub.i−2=ΔZ.sub.i-2−Z.sub.Si-2=(3*ΔZ.sub.i-4−12*ΔZ.sub.i-3+18*Z.sub.i-2−12*ΔZ.sub.i-1+3*ΔZ.sub.i)/35   [Math. 3]

[0037] Subsequently, a calculation method of the disturbance index value D.sub.i-k will be described. The disturbance index value D.sub.i-k is calculated by obtaining an absolute value of the change component d.sub.i−k of the error value. Alternatively, as shown in the following Math. 4, the disturbance index value D.sub.i-k may be calculated by obtaining a difference between the maximum value and the minimum value of the change components d.sub.k+1 to d.sub.i−k of the error values from the k+1-th to the i-k-th targets P.


D.sub.i-k=max{d.sub.k+1, . . . , d.sub.i−k}−min{d.sub.k+1, . . . , d.sub.i−k}[Math. 4]

[0038] Next, it is determined at S3 whether the calculated disturbance index value D.sub.i-k is within a threshold D.sub.th (threshold determination step). When the disturbance index value D.sub.i-k is within the threshold (D.sub.i−k≤D.sub.th) in the determination, the target number i is counted up at S4, and the process transitions to the next, which is the measurement of the target P. On the other hand, when the disturbance index value D.sub.i-k is larger than the threshold (D.sub.i-k>D.sub.th), determination on a retry measurement count N.sub.i-k for the same target is performed at S5.

[0039] When the retry measurement count N.sub.i-k is within the retry threshold N.sub.th, the target number i is reset to i-k at S6, the retry measurement count N.sub.i-k is counted up at S7, and the process returns to S1 to acquire the error value of the target P.sub.i-k again. On the other hand, when the retry measurement count exceeds the retry threshold at S5, the retry is not performed, the target number i is counted up at S4, and the process transitions to the next, which is the measurement of the target P. Then, the measurement may be halted and the fact may be notified without transition to the next, which is the measurement of the target P.

[0040] Finally, it is determined at S8 whether the measurements of all of the targets P have been completed, and the measurement is terminated when completed.

[0041] After the termination of the measurement, the compensation parameter is calculated using only the error values of the targets P having the disturbance index values within the threshold, and the numerical control device compensates the respective control parameters based on the calculated compensation parameter.

[0042] As described above, the error measurement method and the numerical control machine tool of the configurations perform the error value acquisition step, the disturbance index value calculation step, and the threshold determination step. The error value acquisition step is a step of installing the masterwork 12 having the plurality of targets P on the table 3 and detecting the position of each target P using the touch probe 11 (sensor) mounted to the spindle head 2 to acquire each measured value of the position of each target P and to acquire the error value related to the position of each target P using each acquired measured value and the preliminarily acquired calibration value related to the position of each target P. The disturbance index value calculation step is a step of calculating at least one disturbance index value indicative of the degree of the disturbance in the measurement for each target P. The threshold determination step is a step of determining whether the disturbance index value exceeds the preliminarily set threshold.

[0043] The configuration allows automatically sensing the measurement result with the large disturbance regardless of the shape of the target P of the masterwork 12 and performing the measurement again or halting the measurement. Accordingly, the accurate measurement result can be obtained, and the deterioration of the processing accuracy can be reduced.

[0044] In the configuration, when the disturbance index value exceeds the threshold in the determination at S3, the retry (re-acquisition of the error value and calculation of the disturbance index value) is performed by the retry measurement count within the retry threshold. However, when the disturbance index value exceeds the threshold, the re-acquisition of the error value may be halted without performing the retry, and the fact may be notified.

[0045] In the configuration, the positions of the plurality of targets are measured and the respective error values to the calibration values are acquired to calculate the disturbance index values. The disclosure is applicable to a machine tool having one or more rotation axis or another redundant translational axis, in addition to the two or more translational axes. In this case, it is only necessary to install one target on the table, position the rotation axis and the translational axis under a plurality of conditions, measure the position of the target for each positioning condition, and acquire the plurality of error values under each positioning condition similarly to the above-described configuration.

[0046] In this case as well, the accurate measurement result can be obtained by calculating the disturbance index value under each positioning condition and comparing the disturbance index value with the threshold.

[0047] 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.