Thermal displacement correction device for working machine
09869992 ยท 2018-01-16
Assignee
Inventors
Cpc classification
G05B19/404
PHYSICS
International classification
Abstract
Provided is a thermal displacement correction device for a working machine that includes a thermal displacement correction amount calculation unit for calculating a thermal displacement correction amount and configured to correct a thermal displacement amount caused by heat generated and radiated from the working machine and changing with time by the thermal displacement correction amount, the thermal displacement correction device for the working machine including: a correction error coefficient storage memory; a correction precision calculation unit configured to calculate the correction precision of the thermal displacement correction amount based on the thermal displacement correction amount and the correction error coefficient; and a correction precision degradation notification unit.
Claims
1. A thermal displacement correction device for a working machine that includes a thermal displacement correction amount calculation unit for calculating a thermal displacement correction amount and configured to correct a thermal displacement amount caused by heat generated and radiated from the working machine and changing with time by the thermal displacement correction amount, the thermal displacement correction device for the working machine comprising: a correction error coefficient storage memory configured to store a correction error coefficient in response to the thermal displacement correction amount obtained in advance; and a processor configured to: calculate the correction precision of the thermal displacement correction amount based on the thermal displacement correction amount calculated by the thermal displacement correction amount calculation unit and the correction error coefficient stored in the correction error coefficient storage memory; check whether a processing operation is performed at predetermined correction precision by comparing the correction precision with a threshold value of predetermined correction precision; notify degradation in correction precision in response to a determination that the predetermined correction precision is not satisfied; and automatically stop a processing operation when the processor determines that the predetermined correction precision is not satisfied, wherein in response to a determination that the predetermined correction precision is satisfied, the processor is further configured to: skip the operation of notifying degradation in correction precision and the operation of automatically stopping the processing operation, and continue the processing operation by using the calculated thermal displacement correction amount.
2. The thermal displacement correction device for the working machine according to claim 1, wherein the processor is further configured to: measure a thermal displacement amount by using a touch probe or a position sensor in response to a determination that the predetermined correction precision is not satisfied; and calculate a new thermal displacement correction amount based on the measured thermal displacement amount.
3. The thermal displacement correction device for the working machine according to claim 1, wherein the correction error coefficient storage memory is further configured to store a first correction error coefficient when a change in thermal displacement amount is in a steady state; and a second correction error coefficient when the change in thermal displacement amount is in an unsteady state, and wherein the processor is further configured to calculate correction precision based on the thermal displacement correction amount and the first or the second correction error coefficient stored in the memory.
4. The thermal displacement correction device for the working machine according to claim 1, wherein the predetermined correction precision is set prior to beginning the processing operation.
5. The thermal displacement correction device for the working machine according to claim 1, wherein the processor is further configured to monitor the variation of the correction precision at a predetermined interval, and check whether the monitored variation of the correction precision falls within a predetermined variation.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The above-described object, the other object, and the feature of the invention will be proved from the description of embodiments below with reference to the accompanying drawings. In these drawings:
(2)
(3)
(4)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(5) In the embodiment, a thermal displacement correction device corresponds to a numerical control device.
(6)
(7) A SRAM 14 is configured as a non-volatile memory which is backed up by a battery (not illustrated) so that a storage state is maintained even when the power of the numerical control device 10 is turned off. Thus, the SRAM stores a program of measuring an initial position, a program of correcting a thermal displacement of a working machine, a processing program read via an interface 15, which will be described below, and a processing program input via the LCD/MDI unit 70. Further, the ROM 12 previously stores various system programs for performing a process of an automatic operation or a process of an editing mode necessary to create and edit the processing program.
(8) The interface 15 is an interface for an external device that is connectable to the numerical control device 10, and is connected to an external device 72 such as an external storage device. A processing program, a thermal displacement correction amount calculation program, a thermal displacement correction precision estimation program, and the like are read from the external storage device. A PMC (programmable machine controller) 16 controls an auxiliary device in a working machine by the sequence program stored in the numerical control device 10. That is, a signal necessary for the auxiliary device is converted by the sequence program in accordance with the functions M, S, and T instructed by the processing program, and is output from the I/O unit 17 to the auxiliary device. By the output signal, an auxiliary device such as various actuators is operated. Further, signals for various switches of an operation panel disposed on a body of the working machine are subject to necessary processes, and are transmitted to the processor 11.
(9) Image signals such as a current position, an alarm, a parameter, and an image data item for each shaft of the working machine are transmitted to the LCD/MDI unit 70, and are displayed on a display. The LCD/MDI unit 70 is a manual input data input device that includes a display or a keyboard, and an interface 18 receives a data item from the keyboard of the LCD/MDI unit 70 and transmits the data item to the processor 11.
(10) The interface 19 is connected to a manual pulse generator 71. Here, the manual pulse generator 71 is mounted on the operation panel of the working machine, and is used to precisely position the movable unit of the working machine by the control of each shaft using a distribution pulse based on a manual operation.
(11) Control circuits 30 to 32 which move a table T of the working machine in the X, Y, and Z axes receive a movement instruction for each axis from the processor 11 and output an instruction for each axis to servo amplifiers 40 to 42. The servo amplifiers 40 to 42 receive this instruction and drive the servomotors 50 to 52 for the shafts of the working machine. A position detecting pulse coder is provided in each of the servo motors 50 to 52 for the shafts, and the position signals generated from the pulse coders are fed back as a pulse train to the numerical control device 10.
(12) A spindle control circuit 60 receives a main shaft rotation instruction to the working machine and outputs a spindle speed signal to a spindle amplifier 61. The spindle amplifier 61 receives the spindle speed signal, and drives a tool by rotating the tool at a rotation speed instructed by a spindle motor 62 of the working machine.
(13) A position coder 63 is coupled to the spindle motor 62 through a gear or a belt. The position coder 63 outputs a feedback pulse in synchronization with the rotation of the main shaft. The feedback pulse is read by the processor 11 via the interface 20. Reference Numeral 65 indicates a clock circuit which is adjusted to be synchronized with the current time.
(14) Hereinafter, in the embodiment, a method will be described which estimates correction precision for a thermal displacement correction amount and notifies degradation in correction precision.
(15) In the thermal displacement amount monitoring method of the embodiment, a thermal displacement correction amount reference value h.sub.N is used as an index value for monitoring the thermal displacement amount. The thermal displacement correction amount reference value h.sub.N is a numerical value group used to determine a thermal displacement correction degree. The subscript N is a numerical value which is used as the index value of the correction amount and is an integer value. The values of the thermal displacement correction amount reference value h.sub.N are set so as to satisfy a relation of h.sub.N1<h.sub.N<h.sub.N+1 in order from the small degree of the numerical values of the thermal displacement correction amount.
(16) In the case of h.sub.Nx<h.sub.N+1 when a thermal displacement correction amount x is estimated by a thermal displacement correction program during the operation of the working machine based on the thermal displacement correction amount reference value h.sub.N defined in this way, the correction amount index of the thermal displacement correction amount x may be set as N.
(17) In the embodiment, a correction error coefficient is further used. The correction error coefficient is a coefficient that indicates a degree of an allowable error of the thermal displacement correction amount in the correction amount index N, and is set to a different value in a state where a change in thermal displacement amount is steady or unsteady. When a change amount in the thermal displacement amount (a difference between the precedent thermal displacement amount and the current thermal displacement amount) is equal to or larger than a predetermined threshold value d and is equal to or smaller than a predetermined threshold value d+, the steady state is set. Otherwise, the unsteady state is set. A correction error coefficient a.sub.N in the steady state and a correction error coefficient b.sub.N in the unsteady state are respectively defined by the following equations.
(18)
(19) In the equation (1), the SE.sub.Na indicates a standard error between an actual thermal displacement amount and a thermal displacement correction amount obtained by the thermal displacement correction program in the case where the thermal displacement amount is equal to or larger than h.sub.N and equal to or smaller than h.sub.N+1, that is, the correction amount index is N when a change amount in the thermal displacement amount is under steady state. Then SE.sub.Na is calculated in advance by the repeated test in the steady state, and is stored in the SRAM 14 of the numerical control device 10. The SE.sub.Nb indicates a standard error between an actual thermal displacement amount and a thermal displacement correction amount obtained by the thermal displacement correction program when a change amount in the thermal displacement amount is abnormal. The SE.sub.Nb is calculated in advance by the repeated test in the abnormal state as in the normal state, and is stored in the SRAM 14 of the numerical control device 10.
(20) The algorithm of the correction precision calculation process during an actual processing operation using the values defined in this way will be described in detail with reference to the flowchart of
(21) When this process is started, a thermal displacement correction amount x(t) is first calculated (S201). A thermal displacement correction amount calculation program is used in the calculation of the thermal displacement correction amount. Next, a correction amount index N that satisfies the relation of h.sub.Nx(t)<h.sub.N+1 is calculated (S202).
(22) When the correction amount index N of the thermal displacement correction amount x(t) is calculated, it is determined whether a change amount in the thermal displacement correction amount is under steady state or under unsteady state (S203). More specifically, a difference between the thermal displacement correction amount x(t1) and the thermal displacement correction amount x(t) stored in the memory during the execution of the process is obtained. Then, it is determined whether the relation of d.sub.x(t)x(t1)d.sub.+ is satisfied.
(23) In S203, when it is determined that a change amount in the thermal displacement correction amount is under steady state, the correction error coefficient a.sub.N in the steady state of the correction amount index N is read from the memory (S204), and the equation of the correction precision E=x(t)a.sub.N is calculated by using the read value (S205). Meanwhile, in S203, when it is determined that a change amount in the thermal displacement correction amount is under unsteady state, the correction error coefficient b.sub.N in the unsteady state of the correction amount index N is read from the memory (S206), and the equation of the correction precision E=x(t)b.sub.N is calculated by using the read value (S207).
(24) Finally, the thermal displacement correction amount x(t) is stored in the memory, and the process ends.
(25)
(26) When this process is started, a process of calculating the correction precision E is first performed (S301). When the correction precision E is calculated, it is determined whether the value of the calculated correction precision E is equal to or larger than a predetermined threshold value E.sub.th (S302). In S302, when the value of the correction precision E is smaller than a predetermined threshold value E.sub.th, it is estimated that the precision of the thermal displacement correction amount is sufficiently maintained. Accordingly, the process ends, and the processing operation is continued by using the calculated thermal displacement correction amount.
(27) In S302, when the value of the correction precision E is equal to or larger than a predetermined threshold value E.sub.th, it is estimated that the precision of the thermal displacement correction amount is not sufficiently maintained. Accordingly, a notice for degradation in correction precision is displayed on the LCD/MDI unit 70 of the numerical control device 10 (S303).
(28) When degradation in correction precision is notified, it is determined whether to stop the processing operation by reading a setting value for the stop of the processing operation stored in the memory (S304). The setting value may be set in advance by an operator before the processing operation starts.
(29) In S304, when the setting value for the stop of the processing operation is set so as to stop the processing operation, a control of stopping the processing operation is performed (S305), and the process ends. In S304, when the setting value for the stop of the processing operation is set so as not to stop the processing operation, it is determined whether to measure the thermal displacement amount by reading a setting value for the measurement of the thermal displacement amount stored in the memory (S306). The setting value may be set in advance by an operator before the processing operation starts.
(30) In S306, when the setting value for the measurement of the thermal displacement amount becomes a value of instructing the measurement, the offset value is automatically adjusted by measuring the thermal displacement amount using a touch probe or a position sensor provided in the working machine in advance (S307). In S306, when the setting value for the measurement of the thermal displacement amount becomes a value of not instructing the measurement, the process ends.
(31) As described above, the thermal displacement correction device of the embodiment may improve the reliability of the thermal displacement correction function by estimating the correction precision and automatically determining whether the precision is within predetermined precision.
(32) Further, since the processing operation is automatically stopped when the thermal displacement correction precision is degraded, the processing operation which does not fall within the predetermined precision may not be performed.
(33) Furthermore, when the touch probe or the position sensor is used, the automatic adjustment of the offset value and the measurement may be performed only when the correction is not sufficient in the thermal displacement correction function, and hence the number of times of measuring the position may be decreased.