NUMERICAL CONTROL
Patent Information
- Application Number
- DE102018007643
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2017-10-04
- Filing Date
- 2018-09-27
- Publication Date
- 2024-10-31
- Estimated Expiration
- 2038-09-27
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
BACKGROUND OF THE INVENTION Field of the invention The invention relates to a numerical controller, and more particularly to a numerical controller capable of automatically determining a transmission destination of a deviation amount. General state of the art A difference (hereinafter referred to as a deviation amount) may sometimes occur between a measured value (generally, a measurement result by a measuring program) and a theoretical value (a theoretical dimension previously set in the measuring program, generally, a design value of a workpiece) of a workpiece after machining. That is, the workpiece after machining may have a shape that the designer did not intend. In this case, a position where the deviation amount occurs is identified as an offset number at the time of machining, the deviation amount is transferred to an offset value associated with the offset number, and additional machining is performed, thereby forming the intended workpiece shape. JP 2016-162 265 A and JP 2010-277 425 A disclose a numerical controller capable of performing machining using a corrected offset value by an operator inputting a correction amount (corresponding to the aforementioned deviation amount), which is a difference between a design value and a measured value of a workpiece, in conjunction with a correction number (corresponding to the aforementioned offset number). However, in the embodiments described in JP 2016-162265 A and JP 2010-277425 A, the operator must manually input a relationship between the offset number and the deviation amount. This requires the operator to detect an effective offset value at the time of machining a certain position, which is very difficult. US Pat. No. 6,571,145 B1 describes a machine tool for machining a workpiece in accordance with a process program that includes a process condition. A measuring device is used to measure the workpiece machined by the machine tool, and a computer modifies the process condition of the process program based on a measurement result from the measuring device. SUMMARY OF THE INVENTION The invention was conceived to solve such a problem, and one object of the invention is to provide a numerical controller capable of automatically determining an offset number corresponding to a transfer target of a deviation amount. This object is achieved by a numerical controller having the features of claim 1. A numerical controller according to one embodiment is a numerical controller for correcting a deviation amount corresponding to a difference between a theoretical value and a measured value of a workpiece. The numerical controller includes: a processing unit for storing a machining path of the workpiece and an effective offset number during machining of the machining path in association with each other; a measuring unit for storing a deviation amount applied to the workpiece and a measurement point at which the deviation amount is detected in association with each other; and a correction unit for transferring the deviation amount to the offset number corresponding to the machining path around the measurement point. The machining unit may store a machining path of the workpiece and an effective workpiece coordinate system in association with each other during machining of the machining path, and the correction unit may transfer the deviation amount to the workpiece coordinate system corresponding to the machining path around the measurement point. According to the embodiments, it is possible to provide a numerical controller capable of automatically determining a transmission destination of a deviation amount. BRIEF DESCRIPTION OF THE DRAWINGS The above-described object and features of the embodiments, as well as other objects and features, will become apparent from the following description of the embodiments with reference to the accompanying drawings. Fig. 1 is a block diagram illustrating an operative configuration of a numerical controller; Fig. 2 is a diagram for describing one embodiment of the numerical controller; and Fig. 3 is a diagram for describing another embodiment of the numerical controller. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments will be described below with reference to the drawings. Fig. 1 is a block diagram illustrating an operational configuration of a numerical controller 100 according to an embodiment. The numerical controller 100 includes a machining unit 110 for machining a workpiece, a measuring unit 120 for measuring the workpiece after machining, and a correction unit 130 for automatically performing a correction based on a deviation amount. A typical numerical controller 100 includes a central processing unit (CPU), a storage device, an input / output device, etc., and the processing unit 110, the measuring unit 120, and the correction unit 130 are logically implemented by the CPU executing a program stored in the storage device. The machining unit 110 machines a workpiece according to a machining program. Alternatively, the machining unit 110 performs a machining simulation of the workpiece according to the machining program. The machining unit 110 contains an offset number and an offset value in association with each other. When a certain offset number is declared valid, the machining unit 110 corrects the coordinates of a machining point identified from the machining program based on an offset value corresponding to the offset number. For example, the machining unit 110 has an offset table and stores one or more offset numbers, an offset value corresponding to it(s), and a flag indicating validity or invalidity. Furthermore, the machining unit 110 sequentially records a relationship between a tool path and an offset number during machining or machining simulation. For example, the machining unit 110 has a path-offset number correspondence table and links one or more paths designated by the machining program with an offset number validated during the execution of the path machining, to store the one or more paths and the offset number in the path-offset number correspondence table in a linked manner. The offset number validated during the execution of the processing can be obtained by referring to the offset table. The measuring unit 120 measures a shape of the workpiece after machining according to a measurement program. A theoretical value of the workpiece (generally, a design value of the workpiece) is set in advance in the measurement program. If there is a difference between a measured value and the theoretical value of the workpiece, the measuring unit 120 detects the difference as a deviation amount. In this case, the measuring unit 120 sequentially records a relationship between the coordinates of a measurement point where the deviation amount is detected and the deviation amount. For example, the measuring unit 120 has a measurement point deviation amount correspondence table and links the coordinates of the measurement point where the deviation amount is detected with the deviation amount to record the coordinates and the deviation amount that are related to each other in the measurement point deviation amount correspondence table. The correction unit 130 identifies an offset number at the time of processing the vicinity of the measurement point where the deviation amount is detected. For example, the correction unit 130 obtains the coordinates of the measurement point where the deviation amount is detected by referring to the measurement point-deviation amount correspondence table. Then, one or more stored trajectories are obtained by referring to the trajectory-offset number correspondence table. The correction unit 130 calculates the distances between the coordinates of the measurement point where the deviation amount is detected and the obtained trajectories in order and identifies a trajectory at a closest distance. The correction unit 130 obtains an offset number associated with the trajectory closest to the measurement point where the deviation amount is detected by referring to the trajectory-offset number correspondence table. Furthermore, the correction unit 130 corrects an offset value corresponding to the offset number at the time of processing the vicinity of the measurement point where the deviation amount is detected. For example, the correction unit 130 identifies a record having the offset number associated with the trajectory closest to the measurement point where the deviation amount is detected, referring to the offset table. Then, the offset value of the record is corrected based on the deviation amount, and the contents of the record are updated with the offset value after the correction. Thus, the numerical controller 100 of the present embodiment can automatically determine an offset number that is to be the transfer target of the deviation amount based on a relationship between the coordinates of the measurement point where the deviation amount is detected and the tool path, and a relationship between the tool path and the offset number. Thus, it is possible to automate the work of identifying the offset number corresponding to the transfer target of the deviation amount, which was conventionally performed by the operator analyzing the program, etc. Embodiment 1 An embodiment will be described with reference to Fig. 2 and Fig. 3. Fig. 2 depicts an actual shape (solid line) of a workpiece after machining and an ideal shape (dashed line) based on a design value. The black dots indicate measurement points. The machining unit 110 machines the workpiece based on the machining program. Here, it is assumed that a workpiece shape defined by the machining program is a circle with a radius of 10 and a center point at coordinates (100, 100). As indicated by the dashed line in Fig. 3, the machining unit 110 sequentially performs a cutting operation along three paths to machine into a final workpiece shape. During machining, a machining path commanded by the machining program and an offset number used therein are recorded in the path-offset number correspondence table. The measuring unit 120 measures the workpiece after machining based on the measuring program. It is assumed here that the measuring program is set to measure a circle having a radius of 10 and a center point at coordinates (100, 100) at four measuring points. A measurement result by the measuring unit 120 corresponds to (89.9, 100.0), (100.0, 110.1), (110.1, 100.0), (100.0, 89.9). This measurement result indicates that the workpiece shape after machining corresponds to a circle having a radius of 10.1 and a center point at coordinates (100, 100). That is, a deviation amount of the center point is 0, and a deviation amount of the radius is 0.1. The measuring unit 120 records the deviation amount of 0.1 and the coordinates of the four measurement points in the measurement point deviation amount agreement table. To correct this deviation amount, the deviation amount of 0.1 must be transferred to the offset value used at the time of processing the surroundings of this measurement point. Therefore, the correction unit 130 identifies an offset number to which the deviation amount must be transferred. The measuring unit 120 identifies a path that is closest to each of the four measurement points from the paths stored in the path-offset number correspondence table. In the present embodiment, as shown in Fig. 3, an innermost path among three machining paths is closest to any one of the four measurement points (the black dots). Therefore, it is sufficient to transfer the deviation amount during machining of this path to the offset value. The correction unit 130 obtains an offset number corresponding to the path by referring to the path-offset number correspondence table. Then, an offset value corresponding to the offset number is corrected based on the deviation amount with reference to the offset table. Generally, the offset number and offset value are set for each tool. Typically, an offset value is set according to the size or length of a cutting edge of the tool. However, in the present embodiment, a deviation amount of 0.1 is applied to this offset value. As shown in Figure 3, when a cutting tool traverses a circular path and cuts the workpiece from the outside, it is possible to increase the cutting depth of the tool by subtracting the deviation amount of 0.1 from the offset value. Embodiment 2 In Embodiment 1, a case where there is no deviation in the center coordinates was described as an example. However, when there is a deviation in the center coordinates, a transfer destination of a deviation amount thereof corresponds to a workpiece coordinate system. In Embodiment 2, a description will be given of a method for transferring the deviation amount to the workpiece coordinate system. The machining unit 110 machines a workpiece based on a machining program. Here, it is assumed that a workpiece shape defined by the machining program is a circle having a radius of 10 and a center point at coordinates (100, 100). In Embodiment 2, the machining unit 110 sequentially records a relationship between a trajectory of a tool and a workpiece coordinate system during machining or machining simulation. For example, the machining unit 110 has a workpiece coordinate system table for defining a workpiece coordinate system used during machining, and stores information defining one or more workpiece coordinate systems and a flag indicating validity or invalidity.Furthermore, the machining unit 110 includes a path-workpiece coordinate system correspondence table, and links one or more paths designated by the machining program and a workpiece coordinate system validated during execution of the path machining, to record the one or more paths and the workpiece coordinate system in a linked manner in the path-workpiece coordinate system correspondence table. The workpiece coordinate system validated during execution of the machining can be obtained by referring to the table with the workpiece coordinate system. The measuring unit 120 measures a workpiece after machining based on a measuring program. Here, it is assumed that the measuring program is set to measure a circle with a radius of 10 and a center point at coordinates (100, 100) at four measuring points. A measurement result by the measuring unit 120 corresponds to a center point deviation amount of 0.1 and a radius deviation amount of 0. The measuring unit 120 records the center point deviation amount of 0.1 and the coordinates of the four measuring points in the measurement point deviation amount correspondence table. To correct this deviation amount, the center point deviation amount of 0.1 must be transferred to a workpiece coordinate system used at the time of machining the vicinity of this measurement point. Therefore, the correction unit 130 identifies the workpiece coordinate system to which the deviation amount must be transferred. The measuring unit 120 identifies a path that is closest to each of the four measurement points from the paths stored in the path-workpiece coordinate system correspondence table. In the present embodiment, as shown in Fig. 3, an innermost path among three machining paths is closest to any one of the four measurement points (the black dots). Therefore, it is sufficient to transfer the deviation amount to the workpiece coordinate system during machining of this path.The correction unit 130 obtains a workpiece coordinate system corresponding to the trajectory by referring to the trajectory-workpiece coordinate system correspondence table. Then, the workpiece coordinate system is corrected based on the amount of deviation of the center point by referring to the workpiece coordinate system table. The embodiments have been described above, but the embodiments are not limited to only the above-described embodiments or examples and can be implemented variously by making appropriate changes. For example, when a plurality of paths are found in the vicinity of a measurement point (that is, when there are a plurality of candidates for a transfer target of an offset amount), it is possible to determine an offset number to which a deviation amount needs to be transferred using one of the following methods. The plurality of paths corresponding to the candidates are presented to the operator, and a path selected by the operator is designated as the transfer target. Alternatively, a path on which machining is finally performed is designated as the transfer target from among the plurality of paths corresponding to the candidates. Alternatively, when the machining includes a roughing cycle and a finishing cycle, a path belonging to the finishing cycle is selected as the transfer target. Furthermore, in the above-described embodiments, a method for transferring a deviation amount to an offset number and a workpiece coordinate system was described as Embodiment 1 and Embodiment 2. However, the embodiments are not limited to this. For example, it is possible to automatically determine a transfer destination for a program coordinate system, etc. Furthermore, Embodiment 1 (automatically determining an offset number corresponding to a transfer target of a deviation amount), Embodiment 2 (automatically determining a workpiece coordinate system corresponding to a transfer target of a deviation amount), and other processes of automatically determining a transfer target of a deviation amount can be performed simultaneously or sequentially. In this case, for example, the transfer target of the deviation amount can be determined using a method of presenting the operator with a plurality of transfer targets corresponding to candidates and allowing the operator to select a transfer target, etc. Although the embodiments have been described above, the embodiments are not limited to the examples of the above-described embodiments and can be implemented differently by making appropriate changes.
Claims
A numerical controller (100) for correcting a deviation amount corresponding to a difference between a theoretical value and a measured value of a workpiece, the numerical controller (100) comprising: a machining unit (110) for storing a machining trajectory of the workpiece and an effective offset number during machining of the machining trajectory in association with each other; a measuring unit (120) for storing a deviation amount applied to the workpiece and a measuring point at which the deviation amount is detected in association with each other; and a correction unit (130) for transferring the deviation amount to the offset number corresponding to the machining trajectory around the measuring point. The numerical controller (100) according to claim 1, wherein the machining unit (110) stores a machining path of the workpiece and an effective workpiece coordinate system during machining of the machining path in association with each other, and the correction unit (130) transfers the deviation amount to the workpiece coordinate system corresponding to the machining path around the measurement point.
Citation Information
Patent Citations
Robot control apparatus for controlling robot that supplies and dismounts work to and from machine tool
JP2010277425A
Correction value input device
JP2016162265A
Manufacturing system and method
US6571145B1
JP002010277425A
JP002016162265A
