Thermal displacement correction device and thermal displacement correction method for machine tool

The thermal displacement correction device and method enhance machining accuracy by learning temperature-displacement relationships at strategic timings, addressing overfitting and ensuring accurate correction in varying environments.

JP7580278B2Active Publication Date: 2024-11-11OKUMA CORP
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
JP2021007346
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-01-20
Publication Date
2024-11-11
Estimated Expiration
2041-01-20

AI Technical Summary

Technical Problem

Existing thermal displacement correction methods in machine tools face challenges in accurately adapting to unlearned temperature environments, leading to potential overfitting and insufficient correction, which affects machining accuracy.

Method used

A thermal displacement correction device and method that learns the relationship between temperature and displacement by comparing past and current temperature information at specific diagnostic timings, such as tool exchange or program termination, to determine when to measure displacement and update the thermal displacement estimation formula.

Benefits of technology

Improves the accuracy of thermal displacement correction by effectively learning the temperature-displacement relationship, minimizing time loss and reducing errors in unlearned environments, while ensuring minimal interference with the machine tool's original operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007580278000002
    Figure 0007580278000002
  • Figure 0007580278000003
    Figure 0007580278000003
  • Figure 0007580278000004
    Figure 0007580278000004
Patent Text Reader

Abstract

To improve accuracy of thermal displacement correction by effectively learning a relation between a temperature and displacement in thermal displacement correction of a machine tool.SOLUTION: A thermal displacement correction device 1 includes: a temperature sensor 2 for measuring temperatures of each part; a thermal displacement estimation part 3 for estimating a thermal displacement correction amount 5 on the basis of a previously set thermal displacement estimate equation 4; a position control device 6 for correcting an axis command value on the basis of the thermal displacement correction amount 5; a displacement measurement device 9 for measuring the displacement after correction of the axis command value; a thermal displacement correction learning data recording part 11 for recording temperature information 13 and displacement information 12 when the displacement is measured; a thermal displacement correction learning part 14 for determining the thermal displacement estimate equation 4 on the basis of the recorded temperature information 13 and displacement information 12; and a displacement measurement timing diagnosis part 17 for comparing the past recorded temperature information 13 at the time of the displacement measurement with the current temperature information 13 at predetermined diagnosis timing, and determining whether or not the displacement is measured by the displacement measurement device 9.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an apparatus and method for improving the accuracy of thermal displacement compensation in a machine tool that estimates thermal displacement based on temperature information by effectively learning the relationship between temperature and displacement. [Background technology]

[0002] When machining is performed using a machine tool, various parts of the machine tool undergo thermal deformation due to the effects of machine heat generated by the spindle and feed axis operations, temperature changes in the environment in which the machine tool is installed, temperature changes in the coolant, etc. Such thermal deformation changes the relative position between the tool and the workpiece, and therefore, if thermal deformation occurs in the machine tool during machining, the machining accuracy of the workpiece deteriorates. Thermal displacement compensation is an effective and widely used method for suppressing thermal displacement in machine tools. It estimates the amount of displacement based on a pre-programmed thermal displacement estimation formula from the temperature measured by temperature sensors attached to various parts of the machine tool structure, or the operating conditions of the main shaft and feed shaft, and changes the amount of axis movement accordingly. However, with thermal displacement compensation, compensation may not work well when the processing content or operating environment changes, and parameters may need to be adjusted. However, it is difficult for operators to determine how to make the adjustments.

[0003] As a solution to this problem, Patent Document 1 shows a method of acquiring a group of measurement data including the temperature of each part of the machine tool and actual values ​​of thermal displacement measured by a probe or the like, performing machine learning using a combination of these data as teacher data to obtain a thermal displacement prediction calculation formula. The machine learning method has the advantage that it is easy to realize thermal displacement correction according to the environment in which the machine tool is used, since the thermal displacement prediction calculation formula is obtained from actual measurement data. However, machine learning generally provides high accuracy for learned data, but is prone to overlearning problems in which errors become large for unlearned data. To prevent this, Patent Document 1 employs a calculation method called regularized multiple regression analysis. This is a method that adds a constraint condition that reduces the coefficient of the derived prediction formula to normal regression analysis that minimizes errors, thereby preventing the problem of large coefficients being calculated and large errors for unknown inputs. Patent Document 2 shows a method of expressing a thermal displacement estimation formula as the sum of a preset basic thermal displacement estimation formula and an adjustment thermal displacement estimation formula set based on thermal displacement adjustment data, and determining the coefficients of the adjustment thermal displacement estimation formula using a regularization parameter to reduce the thermal displacement estimation error and the coefficients of the adjustment thermal displacement estimation formula. Furthermore, the regularization parameter is determined from the magnitude of the temperature change at the time of measurement and the magnitude of the temperature change expected during actual use, and when the temperature change at the time of measurement is small, the coefficients of the derived adjustment thermal displacement estimation formula are made small to prevent overlearning. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Patent No. 6564412 [Patent Document 2] JP 2020-99982 A Summary of the Invention [Problem to be solved by the invention]

[0005] However, the regularization method used in Patent Document 1 and Patent Document 2 acts to reduce the coefficient of the derived thermal displacement prediction formula. Therefore, while it is possible to prevent the error of the thermal displacement compensation from becoming extremely large due to overlearning in an unlearned temperature environment, the amount of thermal displacement compensation may become small relative to the actual thermal displacement. Therefore, a sufficient correction effect may not be obtained, and a large thermal displacement compensation error may still remain. In learning the thermal displacement compensation, it is desirable to reduce the number of unlearned temperature environments as much as possible for the machine tool to which it is applied.

[0006] Therefore, in consideration of the above problems, the present invention aims to provide a thermal displacement compensation device and method for machine tools that can improve the accuracy of thermal displacement compensation by effectively learning the relationship between temperature and displacement in thermal displacement compensation for machine tools that estimates thermal displacement based on temperature information. [Means for solving the problem]

[0007] In order to achieve the above object, a first aspect of the present invention includes a temperature measuring means for measuring temperatures of each part of a machine tool; a thermal displacement estimation means for estimating a thermal displacement of the machine tool based on a preset thermal displacement estimation formula from the temperature; a thermal displacement correction means for correcting an axis command value based on the estimated thermal displacement; a displacement measuring means for measuring a displacement of the machine tool after the axis command value has been corrected; a data recording means for recording temperature information and the displacement when the displacement is measured by the displacement measuring means; a thermal displacement correction learning means for determining the thermal displacement estimation formula based on the temperature information and the displacement recorded in the data recording means, a displacement measurement timing diagnosis means for comparing, at a predetermined diagnosis timing, the temperature information at the time of past displacement measurement recorded in the data recording means with the current temperature information obtained from the temperature measurement means, and determining whether or not to measure a displacement by the displacement measurement means; The displacement measurement timing diagnosis means is characterized in that it compares the temperature information at two or more past displacement measurements with the current temperature information, and determines whether or not to measure the displacement by the displacement measurement means. In order to achieve the above object, the second aspect of the present invention provides a machine tool including: a thermal displacement estimation means for estimating a thermal displacement of the machine tool based on a preset thermal displacement estimation formula from the temperature; a thermal displacement correction means for correcting an axis command value based on the estimated thermal displacement; a displacement measuring means for measuring a displacement of the machine tool after the axis command value has been corrected; a data recording means for recording temperature information and the displacement when the displacement is measured by the displacement measuring means; a thermal displacement correction learning means for determining the thermal displacement estimation formula based on the temperature information and the displacement recorded in the data recording means, When a specific action is commanded or at a specified time interval Prescribed a diagnostic timing setting means for setting the timing of diagnosis of the a displacement measurement timing diagnosis means for comparing the temperature information at the time of past displacement measurement recorded in the data recording means with the current temperature information obtained from the temperature measurement means at the predetermined diagnosis timing set by the diagnosis timing setting means, and determining whether or not to perform displacement measurement by the displacement measurement means, The diagnostic timing setting means is characterized in that it sets, as the predetermined diagnostic timing, the time when at least one of a command for changing a tool, ending a program, and moving to the upper end of the Z position is executed. Another aspect of the first and second aspects of the invention is characterized in that, in the above-mentioned configuration, the temperature information includes a rate of temperature change when the displacement is measured by the displacement measuring means. Another aspect of the first and second inventions is characterized in that, in the above configuration, the temperature information includes a temperature difference between temperatures measured at multiple points when the displacement is measured by the displacement measuring means. In order to achieve the above object, a third aspect of the present invention includes a temperature measuring step of measuring temperatures of each part of a machine tool; a thermal displacement estimating step of estimating a thermal displacement of the machine tool based on a preset thermal displacement estimation formula from the temperature; a thermal displacement correction step of correcting an axis command value based on the estimated thermal displacement; a displacement measuring step of measuring a displacement of the machine tool after the axis command value has been corrected; a data recording step of recording temperature information and the displacement measured in the displacement measuring step; a thermal displacement compensation learning step of determining the thermal displacement estimation formula based on the temperature information and the displacement recorded in the data recording step, a displacement measurement timing diagnosis step is executed at a predetermined diagnosis timing before the displacement measurement step, in which the temperature information at the time of the past displacement measurement recorded in the data recording step is compared with the current temperature information obtained in the temperature measurement step to determine whether or not to measure the displacement in the displacement measurement step; The displacement measurement timing diagnosis step is characterized in that it compares the temperature information at two or more past displacement measurements with the current temperature information, and determines whether or not to measure the displacement in the displacement measurement step. In order to achieve the above object, a fourth aspect of the present invention includes a temperature measuring step of measuring temperatures of each part of a machine tool; a thermal displacement estimating step of estimating a thermal displacement of the machine tool based on a preset thermal displacement estimation formula from the temperature; a thermal displacement correction step of correcting an axis command value based on the estimated thermal displacement; a displacement measuring step of measuring a displacement of the machine tool after the axis command value has been corrected; a data recording step of recording temperature information and the displacement measured in the displacement measuring step; a thermal displacement compensation learning step of determining the thermal displacement estimation formula based on the temperature information and the displacement recorded in the data recording step, Prior to the displacement measuring step, When a specific action is commanded or at a specified time interval Prescribed a diagnosis timing setting step of setting the diagnosis timing of the a displacement measurement timing diagnosis step of comparing the temperature information at the time of past displacement measurement recorded in the data recording step with the current temperature information obtained in the temperature measurement step at the predetermined diagnosis timing set in the diagnosis timing setting step, and determining whether or not to measure displacement in the displacement measurement step; The diagnostic timing setting step is characterized in that the time when at least one of a command to change a tool, end a program, or move the Z position to the upper end is executed is set as the predetermined diagnostic timing. Effect of the Invention

[0008] According to the present invention, the temperature information and the displacement when the displacement is measured can be recorded, and at a predetermined diagnostic timing, the temperature information recorded at the time of the past displacement measurement is compared with the current temperature information to determine whether or not to measure the displacement, thereby making it possible to measure the displacement when the current temperature has not been learned. This makes it possible to effectively learn the relationship between temperature and displacement, and to improve the accuracy of thermal displacement correction. especially By comparing the temperature information from two or more previous displacement measurements with the current temperature information, the displacement is measured only when it has not been learned, thereby minimizing the time loss caused by measuring the displacement. According to another aspect of the present invention, by using the rate of temperature change as the temperature information, it becomes possible to more accurately determine whether the current temperature situation is unlearned. According to another aspect of the present invention, by using a temperature difference between temperatures measured at a plurality of locations as temperature information, it becomes possible to more accurately determine whether the current temperature situation is unlearned. The present invention In addition to the above effects, By comparing and judging the temperatures when a specific operation is commanded or at certain time intervals, it is possible to measure the displacement at a timing that interferes as little as possible with the original machining operation of the machine tool. especially By comparing and determining the temperature when at least one of the following commands is executed: tool change, program end, or moving to the top of the Z position, the displacement can be measured at a timing that interferes with the machine tool's actual machining operations as little as possible. [Brief description of the drawings]

[0009] [Figure 1] 1 is a configuration diagram of a thermal displacement compensation device for a machine tool to which the present invention is applied; [Diagram 2] 4 is a flowchart of a thermal displacement correction method. [Diagram 3] 13 is a flowchart of a process for performing displacement measurement timing diagnosis. [Figure 4] 13 is an example of a screen for setting a timing diagnosis condition. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram of a thermal displacement compensation device 1 for a machine tool to which the present invention is applied. In thermal displacement compensation device 1, a thermal displacement estimation unit 3 estimates thermal displacement based on a thermal displacement estimation formula 4 from information from temperature sensors 2 attached to multiple locations on the machine tool. A thermal displacement compensation amount 5 based on the estimated thermal displacement is output to a position control device 6, and compensation is performed by moving the axis according to the thermal displacement compensation amount 5. Normally, a thermal displacement estimation formula is set for each axis, and in the case of a three-axis machining center, a thermal displacement estimation formula is set for each of the X-axis, Y-axis and Z-axis. The above can be said to be the minimum configuration required to establish thermal displacement compensation.

[0011] In an actual configuration, in order to visualize the thermal displacement compensation result, a thermal displacement compensation result simulation unit 7 may simulate how the thermal displacement is reduced by the thermal displacement compensation and output the simulation result to a display device 8. Furthermore, a displacement measuring device 9 is provided to acquire displacement data 10 and store the data as displacement information 12 in a thermal displacement compensation learning data recording unit 11. Here, the displacement measuring device 9 may be, for example, a position measuring sensor such as a touch probe attached to the spindle of a machine tool to measure a fixed point on a table. Alternatively, a displacement sensor may be attached to the table side and the spindle may be brought close to the displacement sensor for measurement. In addition to the displacement information 12, the temperature measured by the temperature sensor 2 is stored as temperature information 13 in the thermal displacement compensation learning data recording unit 11. Based on the data stored in the thermal displacement compensation learning data recording unit 11, a new thermal displacement estimation formula 4 is learned and determined in the thermal displacement compensation learning unit 14.

[0012] As described above, there is a conventional technology that realizes more effective thermal displacement compensation by optimizing the thermal displacement estimation formula through learning. However, the conventional technology does not particularly consider the timing of measuring the displacement data 10 by the displacement measuring device 9. A general method of use is assumed to be to perform measurements at regular time intervals and accumulate displacement information. Machine tool manufacturers perform tests by changing the operating conditions of the machine and the room temperature of the environment in which the machine is placed in various ways, and measure the displacement at regular time intervals during the tests to collect learning data for thermal displacement compensation when the machine undergoes various temperature changes. If machine tool manufacturers collect learning data for thermal displacement compensation, they can obtain high-quality learning data with the conventional technology. However, if a user attempts to collect learning data for thermal displacement compensation while using a machine, there is a possibility that valid data will not be collected. For example, if a user issues a command to measure displacement at the same time every day, it is likely that data from similar temperature environments will be collected. If the thermal displacement estimation formula is learned based on such biased data, problems such as over-learning will occur, making it difficult to perform effective thermal displacement compensation.

[0013] Therefore, the present invention is characterized in that the following configuration is added to learn a thermal displacement estimation equation that is effective and highly stable. The input device 15 is capable of setting timing diagnosis conditions 16. At a timing that matches the contents set in the timing diagnosis conditions 16, the displacement measurement timing diagnosis unit 17 compares the current temperature obtained from the temperature sensor 2 with the past temperatures recorded as the temperature information 13, and diagnoses whether or not to measure the displacement. If it diagnoses that measurement is necessary, it outputs a displacement measurement command 18. This enables the displacement measuring device 9 to obtain the displacement data 10 at a more appropriate timing.

[0014] In the present invention, the thermal displacement compensation method by the thermal displacement compensation device 1 is carried out based on the flowchart of FIG. First, in S1, the temperature of each part of the machine tool is measured by the temperature sensor 2 (temperature measurement step). Next, in S2, the thermal displacement estimation unit 3 estimates the thermal displacement based on the information obtained from the temperature sensor 2 and on the thermal displacement estimation formula 4 (thermal displacement estimation step). Next, in S3, the position control device 6 corrects the command value for each axis based on the thermal displacement correction amount 5 output from the thermal displacement estimating unit 3 (thermal displacement correction step). Then, in S4, the displacement measurement timing diagnosis unit 17 determines whether or not the timing diagnosis condition is satisfied (whether or not it is the timing to measure the displacement) (displacement measurement timing diagnosis step). If it is determined in S4 that the timing diagnosis condition is met, it is determined in S5 whether or not it is necessary to measure the displacement. If it is not necessary to measure the displacement, the process returns to S4. If it is determined in S5 that it is necessary to measure the displacement, in S6 the displacement is measured by the displacement measuring device 9, displacement data 10 is obtained, and recorded as displacement information 12 in the thermal displacement correction learning data recording unit 11 (displacement measurement step). At the same time, temperature data obtained by the temperature sensor 2 is recorded as temperature information 13 in the thermal displacement correction learning data recording unit 11 (data recording step). Then, in S7, the thermal displacement correction learning unit 14 learns and determines a new thermal displacement estimation formula 4 based on the displacement information 12 and temperature information 13 stored in the thermal displacement correction learning data recording unit 11, and updates the thermal displacement estimation formula 4 in the thermal displacement estimation unit 3 (thermal displacement correction learning step).

[0015] Next, the process from the displacement measurement timing diagnosis to the recording of displacement and temperature information in FIG. 2 (the process from S4 to S6) will be described in detail with reference to the flowchart in FIG. First, the timing diagnostic conditions determined in S101 (S4 in FIG. 2) can be set by the input device 15 on a screen such as that shown in FIG. 4. In the example of FIG. 4, during operation, specific operation commands such as "when changing tools," "when the main program ends," and "when the Z position is at the top end" can be selected as conditions. On the other hand, during standby, a fixed time interval can be set. In the example of FIG. 4, it is set to every 15 minutes. When such timing diagnostic conditions are met, a diagnostic process is started to determine whether or not to measure displacement. This makes it possible to measure displacement at a timing that interferes as little as possible with the original machining operation of the machine tool. Next, in S102, the current temperature data θ n =(θ 1,n ,θ 2,n , ,θ k、n ) is obtained. In the following, k pieces of temperature data are obtained as θ=(θ1, θ2, θ k ) and the temperature data acquired at the nth time from the start of processing is expressed as θ n =(θ 1,n ,θ 2,n , ,θ k、n ) shall be expressed as Next, in S103, the current temperature index Θ is n =(Θ 1,n ,Θ 2,n ,··Θ l,n) is calculated. A temperature index is obtained by adding calculations to the acquired temperature data, and is represented by Θ (uppercase theta) as opposed to the original temperature data θ (lowercase theta). The calculations may involve, for example, taking the average of multiple temperatures or determining the difference between two temperatures. Furthermore, the rate of change may be calculated by differential processing, or delay processing may be performed using a filter. Multiple temperature indexes may also be calculated. For example, if there are l temperature indexes, then Θ n =(Θ 1,n ,Θ 2,n ,··Θ l,n ) is expressed as

[0016] Next, in S104, the past temperature index Θ n-m is called from the database (the thermal displacement correction learning data recording unit 11 in FIG. 1), and then in S105, Θ n and Θ n-m The difference between each component is calculated as the threshold A as shown in the following formula 1. l Determine whether there is a component that is greater than or equal to Θ. n-m represents the temperature index m times before, assuming that the current processing is the nth processing. When m=1, processing may be performed only for the previous processing, or when m=1,2,...,n-1, comparison may be performed for all past temperature indexes. Also, comparison may be performed for all l temperature indexes.

[0017]

number

[0018] Satisfying the condition of formula 1 means that the acquired current temperature is different from the recorded past temperature, that is, it is a temperature that has not been learned by the thermal displacement compensation device 1 of the machine tool. If the difference in any one of formulas 1 is greater than or equal to the threshold value A l If any of the threshold values ​​is greater than the threshold value A, the process proceeds to S107, where it is determined that the displacement should be measured. l If there is no value larger than , the process proceeds to S106, where it is determined that no displacement measurement is to be performed. S102 to S107 correspond to S5 in FIG. Threshold A used in the judgment in Equation 1 l It is also possible to set this from a screen, as shown in FIG. Equation 1 is an example of a method for comparing the current temperature information with the past temperature information, and the comparison may be performed based on other equations. For example, instead of taking the difference between each component of the temperature index, the magnitude of each difference may be summed up to make a judgment. If it is determined in S107 that the displacement is to be measured, the process proceeds to S108, where the displacement is measured and recorded in the database. n =(θ 1,n ,θ 2,n , ,θ k、n ) is recorded in the database, and the current temperature index Θ is recorded in S110. n =(Θ 1,n ,Θ 2,n ,··Θ l,n ) is recorded. S108 to S110 correspond to S6 in FIG. 2.

[0019] The thermal displacement compensation device 1 and the thermal displacement compensation method of the above-mentioned form include a temperature sensor 2 (temperature measuring means) for measuring the temperature of each part of the machine tool, a thermal displacement estimation unit 3 (thermal displacement estimation means) for estimating a thermal displacement compensation amount 5 (thermal displacement) of the machine tool based on a thermal displacement estimation formula 4 set in advance from the temperature, a position control device 6 (thermal displacement compensation means) for correcting an axis command value based on the estimated thermal displacement compensation amount 5, a displacement measuring device 9 (displacement measuring means) for measuring the displacement of the machine tool after the axis command value has been corrected, a thermal displacement compensation learning data recording unit 11 (data recording means) for recording temperature information 13 and displacement information 12 (displacement) when the displacement is measured by the displacement measuring device 9, and a thermal displacement compensation learning unit 14 (thermal displacement compensation learning means) for determining the thermal displacement estimation formula 4 based on the temperature information 13 and the displacement information 12 recorded in the thermal displacement compensation learning data recording unit 11, and executes the processes of S1 to S7. The device is provided with a displacement measurement timing diagnosis unit 17 (displacement measurement timing diagnosis means) that, at a predetermined diagnosis timing determined in S4, compares temperature information 13 at the time of past displacement measurement recorded in the thermal displacement correction learning data recording unit 11 with current temperature information 13 obtained from the temperature sensor 2 to determine whether or not to measure displacement in the displacement measuring device 9.

[0020] In this way, according to the present invention, the temperature information 13 and the displacement information 12 at the time of measuring the displacement can be recorded, and at a predetermined diagnostic timing, the temperature information 13 at the time of the past displacement measurement that has been recorded is compared with the current temperature information 13 to determine whether or not to measure the displacement, thereby making it possible to measure the displacement when the current temperature has not yet been learned. This makes it possible to effectively learn the relationship between temperature and displacement, and to improve the accuracy of thermal displacement correction.

[0021] In particular, when determining whether or not to measure the displacement, if the temperature information at the time of the immediately previous displacement measurement is compared with the current temperature information (S104), it is possible to determine by simple processing whether or not to measure. Furthermore, by comparing the temperature information at two or more previous displacement measurements with the current temperature information (S104), the displacement can be measured only when it has not been learned, minimizing the time loss caused by measuring the displacement. Furthermore, if the rate of temperature change is used as the temperature information (S103), it becomes possible to more accurately determine whether the current temperature situation is unlearned. Furthermore, if a temperature difference between temperatures measured at a plurality of locations is used as the temperature information (S103), it becomes possible to more accurately determine whether the current temperature situation is unlearned.

[0022] On the other hand, by providing an input device 15 (diagnosis timing setting means) that sets the time of a specific operation command or a certain time interval as the specified diagnosis timing, it is possible to measure the displacement at a timing that does not interfere with the original machining operation of the machine tool as much as possible. In particular, by comparing and judging the temperature when at least one of the commands for tool change, program end, and moving to the upper end of the Z position is executed (FIG. 4), it is possible to measure the displacement at a timing that does not interfere with the original machining operation of the machine tool as much as possible. [Explanation of symbols]

[0023] Reference Signs List 1··thermal displacement compensation device, 2··temperature sensor, 3··thermal displacement estimation section, 4··thermal displacement estimation formula, 5··thermal displacement compensation amount, 6··position control device, 7··thermal displacement compensation result simulation section, 8··display device, 9··displacement measuring device, 10··displacement data, 11··thermal displacement compensation learning data recording section, 12··displacement information, 13··temperature information, 14··thermal displacement compensation learning section, 15··input device, 16··timing diagnosis condition, 17··displacement measurement timing diagnosis section, 18··displacement measurement command.

Claims

1. A temperature measuring means for measuring the temperature of each part of the machine tool; a thermal displacement estimation means for estimating a thermal displacement of the machine tool based on a preset thermal displacement estimation formula from the temperature; a thermal displacement correction means for correcting an axis command value based on the estimated thermal displacement; a displacement measuring means for measuring a displacement of the machine tool after the axis command value has been corrected; a data recording means for recording temperature information and the displacement when the displacement is measured by the displacement measuring means; a thermal displacement correction learning means for determining the thermal displacement estimation formula based on the temperature information and the displacement recorded in the data recording means, a displacement measurement timing diagnosis means for comparing, at a predetermined diagnosis timing, the temperature information at the time of past displacement measurement recorded in the data recording means with the current temperature information obtained from the temperature measurement means, and determining whether or not to measure a displacement by the displacement measurement means; The thermal displacement compensation device for a machine tool, characterized in that the displacement measurement timing diagnosis means compares the temperature information at two or more past displacement measurements with the current temperature information, and determines whether or not to measure a displacement by the displacement measurement means.

2. A temperature measuring means for measuring the temperature of each part of the machine tool; a thermal displacement estimation means for estimating a thermal displacement of the machine tool based on a preset thermal displacement estimation formula from the temperature; a thermal displacement correction means for correcting an axis command value based on the estimated thermal displacement; a displacement measuring means for measuring a displacement of the machine tool after the axis command value has been corrected; a data recording means for recording temperature information and the displacement when the displacement is measured by the displacement measuring means; a thermal displacement correction learning means for determining the thermal displacement estimation formula based on the temperature information and the displacement recorded in the data recording means, a diagnostic timing setting means for setting a time when a specific operation is commanded or a predetermined time interval as a predetermined diagnostic timing; a displacement measurement timing diagnosis means for comparing the temperature information at the time of past displacement measurement recorded in the data recording means with the current temperature information obtained from the temperature measurement means at the predetermined diagnosis timing set by the diagnosis timing setting means, and determining whether or not to perform displacement measurement by the displacement measurement means, A thermal displacement compensation device for a machine tool, characterized in that the diagnostic timing setting means sets the specified diagnostic timing to be when at least one of the following commands is executed: tool change, end of program, or movement to the upper end of the Z position.

3. 3. The thermal displacement compensation device for a machine tool according to claim 1, wherein the temperature information includes a rate of temperature change when the displacement is measured by the displacement measuring means.

4. 4. A thermal displacement compensation device for a machine tool according to claim 1, wherein the temperature information includes a temperature difference between temperatures measured at a plurality of points when the displacement is measured by the displacement measuring means.

5. a temperature measuring step for measuring temperatures of each part of the machine tool; a thermal displacement estimating step of estimating a thermal displacement of the machine tool based on a preset thermal displacement estimation formula from the temperature; a thermal displacement correction step of correcting an axis command value based on the estimated thermal displacement; a displacement measuring step of measuring a displacement of the machine tool after the axis command value has been corrected; a data recording step of recording temperature information and the displacement measured in the displacement measuring step; a thermal displacement compensation learning step of determining the thermal displacement estimation formula based on the temperature information and the displacement recorded in the data recording step, a displacement measurement timing diagnosis step is executed at a predetermined diagnosis timing before the displacement measurement step, in which the temperature information at the time of the past displacement measurement recorded in the data recording step is compared with the current temperature information obtained in the temperature measurement step to determine whether or not to measure the displacement in the displacement measurement step; A thermal displacement compensation method for a machine tool, characterized in that in the displacement measurement timing diagnosis step, the temperature information at two or more past displacement measurements is compared with the current temperature information, and it is determined whether or not to measure displacement in the displacement measurement step.

6. a temperature measuring step for measuring temperatures of each part of the machine tool; a thermal displacement estimating step of estimating a thermal displacement of the machine tool based on a preset thermal displacement estimation formula from the temperature; a thermal displacement correction step of correcting an axis command value based on the estimated thermal displacement; a displacement measuring step of measuring a displacement of the machine tool after the axis command value has been corrected; a data recording step of recording temperature information and the displacement measured in the displacement measuring step; a thermal displacement compensation learning step of determining the thermal displacement estimation formula based on the temperature information and the displacement recorded in the data recording step, Prior to the displacement measuring step, a diagnosis timing setting step of setting a time when a specific operation is commanded or a predetermined time interval as a predetermined diagnosis timing; a displacement measurement timing diagnosis step of comparing the temperature information at the time of past displacement measurement recorded in the data recording step with the current temperature information obtained in the temperature measurement step at the predetermined diagnosis timing set in the diagnosis timing setting step, and determining whether or not to measure displacement in the displacement measurement step; A method for compensating thermal displacement for a machine tool, characterized in that in the diagnostic timing setting step, the time when at least one of the commands for tool replacement, end of a program, and moving to the upper end of the Z position is executed is set as the specified diagnostic timing.

Citation Information

Patent Citations

  • Numerical control

    DE102018005858A1

  • Displacement correcting device for nc machine tool

    JP1994055410A

  • Thermal displacement compensation method for machine tool

    JP2002326141A

  • Machine tool

    JP2004034187A

  • Method and device for measuring position of cutting edge in tool, work machining method, and machine tool

    JP2007245342A