# US 2020/0342356 A1 · Machine learning device, numerical control system, and machine learning method

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

- Number: US 2020/0342356 A1
- Document ID: US20200342356A1
- Status: Published application
- Kind: A1
- Application number: 16/828,021
- Filed: 2020-03-24
- Published: 2020-10-29
- Earliest claimed: 2019-04-25
- Assignees: Fanuc Corporation
- Applicants: Fanuc Corporation
- Inventors: Chunyu BAO
- Web page: https://patentgrep.com/patent/US20200342356A1

## CPC

- G06N 20/00: Machine learning
- G05B 19/406: characterised by monitoring or safety (G05B19/19 takes precedence)
- G05B 19/408: characterised by data handling or data format, e.g. reading, buffering or conversion of data
- G06N 3/063: using electronic means
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 3/092: Reinforcement learning
- G06N 3/098: Distributed learning, e.g. federated learning
- G05B 19/4093: characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part program, for the NC machine
- G05B 2219/33056: Reinforcement learning, agent acts, receives reward, emotion, action selective
- G05B 2219/36125: Select out of library, beforehand only functions needed for part program
- G05B 2219/43011: Shorter time by adjusting corner speed, avoid zero speed when engage corner
- G05B 2219/49164: Corner, making corner
- Y02P 90/02: Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
- 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)
- Y02P: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS

## Abstract

A machine learning device performs machine learning on a numerical control device which, when a first command including a corner portion, composed of two blocks in the machining program, generates a second command in which the two blocks are replaced with m or more blocks. The machine learning device comprises: a state information acquisition unit for acquiring state information including the first command, coordinate values of each block in the m or more blocks, and location information of the machining path and the machining time; an action information output unit for outputting action information; a reward output unit for outputting a reward value based on the inward turning amount in the corner portion; and a value function updating unit for updating a value function based on the value of the reward outputted from the reward output unit, the state information and the action information.

## Claims

### Claim 1

A machine learning device for performing machine learning on a numerical control device which analyses a machining program, and when a first command including a corner portion, composed of two blocks in the machining program, generates a second command in which the two blocks are replaced with m or more blocks (m is a natural number) which is more than the two blocks, comprising:
a state information acquisition unit for acquiring state information including the first command, coordinate values of each block in the m or more blocks, and location information of the machining path which is obtained by performing the machining program by the numerical control device;
an action information output unit for outputting to the numerical control device, action information including adjustment information about the coordinate values of each block in the m or more blocks included in the state information;
a reward output unit for outputting a reward value in reinforcement learning based on the inward turning amount in the corner portion which is calculated by using the first command included in the state information and the location information of the machining path, and based on the machining time; and
a value function updating unit for updating a value function based on the value of the reward outputted from the reward output unit, the state information and the action information.

### Claim 2 (depends on 1)

The machine learning device according to claim 1, wherein the processing time is counted by using the position information.

### Claim 3 (depends on 1)

The machine learning device according to claim 1, comprising an optimized action information output unit for creating and outputting the coordinate values of each block in the m or more blocks based on the value function updated by the value function updating unit.

### Claim 4 (depends on 1)

A numerical control system having the machine learning device according to claim 1, and a numerical control device in which the coordinate values of each block in the m or more blocks are machine-learned by the machine learning device.

### Claim 5

A machine learning method of a machine learning device for performing machine learning on a numerical control device which analyses a machining program, and when a first command including a corner portion, composed of two blocks in the machining program, generates a second command in which the two blocks are replaced with m or more blocks (m is a natural number) which is more than the two blocks, comprising:
acquiring a state information including the first command, coordinate values of each block in the m or more blocks, and location information of the machining path which is obtained by performing the machining program by the numerical control device;
outputting to the numerical control device, action information including adjustment information about the coordinate values of each block in the m or more blocks included in the state information;
determining a reward value in reinforcement learning based on the inward turning amount in the corner portion which is calculated by using the first command included in the state information and location information on the machining path, and based on the machining time; and
updating a value function based on the reward value, the state information and the action information.
