# US 2021/0174227 A1 · Machine learning apparatus, control device, machining system, and machine learning method for learning correction amount of workpiece model

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

- Number: US 2021/0174227 A1
- Document ID: US20210174227A1
- Status: Published application
- Kind: A1
- Application number: 17/105,609
- Filed: 2020-11-26
- Published: 2021-06-10
- Earliest claimed: 2019-12-10
- Assignees: Fanuc Corporation
- Applicants: Fanuc Corporation
- Inventors: Kenichi OGAWA; Takashi NAGATOMI
- Web page: https://patentgrep.com/patent/US20210174227A1

## CPC

- G06N 3/08: Learning methods
- G06N 5/04: Inference or reasoning models
- G05B 13/0265: {the criterion being a learning criterion}
- G05B 19/4097: characterised by using design data to control NC machines, e.g. CAD/CAM (G05B19/4093 takes precedence)
- G06N 3/0499: Feedforward networks
- G06N 3/09: Supervised learning
- G06N 3/092: Reinforcement learning
- G06N 20/00: Machine learning
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- 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)

## Abstract

A machine learning apparatus capable of reducing an error between a machined workpiece and a target shape when the workpiece is machined based on a workpiece model modeling the target shape of the workpiece. A machine learning apparatus includes a state observation section configured to observe machining state data of a machine tool configured to machine the workpiece, and measurement data of an error between a shape of the workpiece machined by the machine tool based on the workpiece model and the target shape, as a state variable representing a current state of environment in which the workpiece is machined, and a learning section configured to learn the correction amount in association with the error by using the state variable.

## Claims

### Claim 1

A machine learning apparatus configured to learn a correction amount by which a workpiece model modeling a workpiece is to be corrected in order for a shape of the workpiece machined based on the workpiece model to coincide with a target shape, the machine learning apparatus comprising:
a state observation section configured to observe machining state data of a machine tool configured to machine the workpiece, and measurement data of an error between the target shape and a shape of the workpiece machined by the machine tool based on the workpiece model, as a state variable representing a current state of environment in which the workpiece is machined; and
a learning section onfigured to learn the correction amount in association with the error, using the state variable.

### Claim 2 (depends on 1)

The machine learning apparatus of claim 1, wherein the machining state data includes at least one of a dimensional error of the machine tool, a temperature of the machine tool, an ambient temperature around the machine tool, a heat amount of the machine tool, power consumption of the machine tool, a thermal displacement amount of the machine tool, and an operation parameter of the machine tool.

### Claim 3 (depends on 2)

The machine learning apparatus of claim 2, wherein the machine tool includes:
a tool configured to machine the workpiece; and
a movement mechanism configured to move the tool and the workpiece relative to each other,
wherein the operation parameter includes at least one of acceleration of the movement mechanism, a time constant that determines a time necessary for acceleration or deceleration of the movement mechanism, a control gain that determines a response speed of control for the movement mechanism, and a moment of inertia of the movement mechanism.

### Claim 4 (depends on 1)

The machine learning apparatus of claim 1, wherein the learning section includes:
a reward calculation section configured to obtain a reward relating to the error; and
a function update section configured to update a function representing a value of the correction amount, using the reward.

### Claim 5 (depends on 4)

The machine learning apparatus of claim 4, wherein the reward calculation section obtains the reward different in response to a magnitude of the error.

### Claim 6 (depends on 1)

The machine learning apparatus of claim 1, further comprising a decision section configured to output an output value of the correction amount based on a learning result by the learning section,
wherein the state observation section observes the state variable, using, as the measurement data in a next learning cycle, the error between the target shape and the shape of the workpiece machined by the machine tools based on the workpiece model corrected in accordance with the output value.

### Claim 7 (depends on 1)

A control device configured to control a machine tool, comprising:
the machine learning apparatus of claim 1; and
a state data acquisition section configured to acquire the machining state data and the measurement data.

### Claim 8 (depends on 7)

A machining system comprising:
a machine tool configured to machine a workpiece;
a measuring device configured to measure an error between a shape of the workpiece machined by the machine tool and a predetermined target shape of the workpiece; and
the control device of claim 7.

### Claim 9

A machine learning method of learning a correction amount by which a workpiece model modeling a workpiece is to be corrected in order for a shape of the workpiece machined based on the workpiece model to coincide with a target shape, the machine learning method comprising:
observing machining state data of a machine tool configured to machine the workpiece, and measurement data of an error between the target shape and a shape of the workpiece machined by the machine tool based on the workpiece model, as a state variable representing a current state of environment in which the workpiece is machined; and
learning the correction amount is association with the error, using the state variable.
