# US 2021/0173375 A1 · Numerical control device and control method

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0173375 A1
- Document ID: US20210173375A1
- Status: Published application
- Kind: A1
- Application number: 17/097,155
- Filed: 2020-11-13
- Published: 2021-06-10
- Earliest claimed: 2019-12-04
- Assignees: Fanuc Corporation
- Applicants: Fanuc Corporation
- Inventors: Hiroki SAWAOKA
- Web page: https://patentgrep.com/patent/US20210173375A1

## CPC

- G05B 19/404: characterised by control arrangements for compensation, e.g. for backlash, overshoot, tool offset, tool wear, temperature, machine construction errors, load, inertia (G05B19/19, G05B19/41 take precedence)
- B23Q 15/12: Adaptive control, i.e. adjusting itself to have a performance which is optimum according to a preassigned criterion
- G05B 2219/37087: Cutting forces
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- B23Q: DETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING (tools of the kind used in lathes or boring machines B23B27/00); MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT

## Abstract

A numerical control device causes a machine tool to perform cutting with a command coordinate value indicated by a cutting command received from a command analysis unit. The numerical control device includes a dynamic compensation parameter calculation unit that calculates a dynamic compensation parameter for compensating for a dynamic error generated by a force acting on the machine tool and a velocity upon cutting, based on a command shape, and a dynamic compensation unit that compensates for the dynamic error with respect to the command coordinate value, based on the dynamic compensation parameter calculated, in which the dynamic compensation parameter calculation unit acquires only the dynamic error from a comparison of the command shape and the measurement data, and calculates the dynamic compensation parameter from the dynamic error acquired.

## Claims

### Claim 1

A numerical control device that causes a machine tool to perform cutting with a command coordinate value indicated by a cutting command received from a command analysis unit, the numerical control device comprising:
a measurement unit that causes the machine tool to measure on-machine a shape of a cut test workpiece, and acquires measurement data indicating a shape of the test workpiece measured;
a dynamic compensation parameter calculation unit that calculates a dynamic compensation parameter for compensating a dynamic error generated by a force acting on the machine tool and a velocity upon cutting, based on a command shape indicated by the cutting command and the measurement data acquired by the measurement unit; and
a dynamic compensation unit that compensates the dynamic error with respect to the command coordinate value, based on the dynamic compensation parameter calculated,
wherein the dynamic compensation parameter calculation unit acquires only the dynamic error from a comparison of the command shape and the measurement data, and calculates the dynamic compensation parameter from the dynamic error acquired.

### Claim 2 (depends on 1)

The numerical control device according to claim 1, wherein the command shape and a shape of the test workpiece are circular.

### Claim 3 (depends on 2)

The numerical control device according to claim 2, wherein
the measurement unit acquires the measurement data of a hole having a radius R0 which is cut in the test workpiece in an XY-plane, and
the dynamic compensation parameter calculation unit best-fits an ellipse to the shape of the test workpiece indicated by the measurement data and acquires radii Rx and Ry of an X-axis and a Y-axis, respectively, of the ellipse, and calculates dynamic compensation parameters Wzx and Wzy in the XY-plane with Expression 1,
Wzx=δ0/(Hz−Hw)
Wzy=δ90/(Hz−Hw) [Expression 1]
wherein Hz indicates a height from a table to an X-axis of the machine tool, Hw indicates a height from the table to the test workpiece, δ0 and δ90 respectively indicate deviation amounts in a case in which an angle θ of a machining shape position (Rx cos(θ+α), Ry sin(θ+α)) indicated by the measurement data is 0 degrees and 90 degrees, and α indicates a phase which is shifted by an inclination in a case in which the ellipse that is best-fit is inclined due to a load in a circumferential direction.

### Claim 4 (depends on 2)

The numerical control device according to claim 2, wherein
the measurement unit acquires the measurement data of the hole having the radius R0 which is cut in the test workpiece in an XY-plane, and
the dynamic compensation parameter calculation unit best-fits the shape of the test workpiece indicated by the measurement data to a circle and acquires a radius Rt of the circle, and calculates a dynamic compensation parameter Wt of a deflection amount of a tool included in the machine tool generated from a cutting load and a tool radius compensation amount rt′ with Expression 2,
Wt=(R0−Rt)/Lt cos β
rt′=rt−Lt cos βWt [Expression 2]
wherein β indicates an angle between a normal line direction of a workpiece at a time of machining of the workpiece and a cutting point load direction, rt indicates a tool radius before compensation, and Lt indicates a tool length.

### Claim 5 (depends on 1)

The numerical control device according to claim 1, further comprising a dynamic compensation parameter interpolation unit, wherein
the measurement unit acquires the measurement data of a shape of the test workpiece which is cut in each of a plurality of cutting loads which differ from each other,
the dynamic compensation parameter calculation unit calculates the dynamic compensation parameter based on the command shape and the measurement data in each of the plurality of cutting loads,
the dynamic compensation parameter interpolation unit interpolates a dynamic compensation parameter in any cutting load using a plurality of dynamic compensation parameters calculated, and
the dynamic compensation unit compensates the command coordinate value of the cutting command based on the dynamic compensation parameter in the any cutting load interpolated.

### Claim 6 (depends on 1)

The numerical control device according to claim 1, further comprising:
a relationship parameter calculation unit that acquires a load current at a time of cutting of the test workpiece, and calculates a relationship parameter indicating a relationship between a load current and a cutting point load at least in an X-axis and a Y-axis based on the load current acquired, a deviation amount between the command shape and the measurement data, and the dynamic compensation parameter, and
a cutting point load calculation unit that calculates the cutting point load based on the relationship parameter and the load current.

### Claim 7 (depends on 6)

The numerical control device according to claim 6, wherein the load current is calculated by subtracting a load current due to acceleration at a time of accelerating a tool included in the machine tool and a load current due to an axial movement at a time of axially moving the tool, from a load current of a servo motor included in the machine tool.

### Claim 8 (depends on 7)

The numerical control device according to claim 7, wherein the load current due to the acceleration and the load current due to the axial movement are calculated from a load current at a time of a movement of the tool without cutting.

### Claim 9 (depends on 8)

The numerical control device according to claim 8, wherein the movement of the tool without cutting performs both a movement to move the tool in a circular motion in a clockwise direction, and a movement to move the tool in a circular motion in an anti-clockwise direction.

### Claim 10

A control method for causing a machine tool to perform cutting with a command coordinate value indicated by a cutting command received from a command analysis unit, the control method being realized by a computer and comprising the steps of:
causing the machine tool to measure on-machine a shape of a cut test workpiece and acquiring measurement data indicating a shape of the test workpiece measured;
calculating a dynamic compensation parameter for compensating a dynamic error generated by a force acting on the machine tool and a velocity upon cutting, based on a command shape indicated by the cutting command and the measurement data acquired; and
compensating the dynamic error with respect to the command coordinate value, based on the dynamic compensation parameter calculated,
wherein the calculating a dynamic compensation parameter includes acquiring only the dynamic error from a comparison of the command shape and the measurement data, and calculating the dynamic compensation parameter from the dynamic error acquired.
