# US 2024/0310794 A1 · Method and configuration system for configuring a machine controller

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

- Number: US 2024/0310794 A1
- Document ID: US20240310794A1
- Status: Published application
- Kind: A1
- Application number: 18/578,841
- Filed: 2022-07-07
- Published: 2024-09-19
- Earliest claimed: 2021-07-21
- Assignees: Siemens Aktiengesellschaft
- Applicants: Siemens Aktiengesellschaft
- Inventors: Ferdinand Strixner; Daniel Hein; Markus Michael Geipel; Dieter Bogdoll; Axel Reitinger; Johannes Kehrer; Carlos Andres Palacios Valdes
- Web page: https://patentgrep.com/patent/US20240310794A1

## CPC

- G05B 13/0245: {not using a perturbation signal}
- G05B 19/409: characterised by using manual data input [MDI] or by using control panel, e.g. controlling functions with the panel; characterised by control panel details or by setting parameters (G05B19/408, G05B19/4093 take precedence)
- G05B 2219/36121: Tree oriented menu, go to root, scroll up down, select mode
- 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

To configure a machine controller by an action execution tree, predefined action patterns are read in. A multiplicity of action execution trees for a machine to be controlled is also generated. For a respectively generated action execution tree, a performance for controlling the machine based on the respective action execution tree is determined. The predefined action patterns are also sought in the respective action execution tree. An action pattern found in the respective action execution tree is then replaced at least in part by a reference to the predefined action pattern. A tree size of the thus modified action execution tree is furthermore determined. Based on the generated action execution trees, a numerical optimization method is then used to determine an action execution tree that is optimized with regard to better performance and smaller tree size, and this is output in order to configure the machine controller.

## Claims

### Claim 1

A computer-implemented method for configuring a machine controller by an action execution tree specifying an execution of actions by a machine, wherein:
a) reading in predefined action patterns,
b) generating a multiplicity of action execution trees for the machine,
c) for a respectively generated action execution tree:
determining a performance for controlling the machine on the basis of the respective action execution tree, and
determining the predefined action patterns are further searched for in the respective action execution tree, an action pattern found in the respective action execution tree is replaced at least in part by a reference to the predefined action pattern, and a tree size of the thus modified action execution tree, and
d) determining based on the generated action execution trees, an action execution tree that is optimized with a view to greater performance and smaller tree size by a numerical optimization method and is output in order to configure the machine controller.

### Claim 2 (depends on 1)

The method as claimed in claim 1, wherein the multiplicity of action execution trees are generated at least partially on the basis of the action patterns.

### Claim 3 (depends on 1)

The method as claimed in claim 1,
a predefined initial action execution tree is read in, and
the multiplicity of action execution trees are generated at least partially on the basis of the initial action execution tree.

### Claim 4 (depends on 1)

The method as claimed in claim 1, wherein
a predefined initial action execution tree is read in,
the initial action execution tree is executed by an interpreter, wherein a reference sequence of machine actions specified by the initial action execution tree is determined,
the generated action execution trees are executed in each case by the interpreter, wherein a respective sequence of machine actions specified by the respective generated action execution tree is determined, and
a generated action execution tree, the respective sequence of which does not match the reference sequence, is rejected.

### Claim 5 (depends on 4)

The method as claimed in claim 4, wherein predefined selection information is read in, and
the machine actions of which the respective sequence is to be determined are selected on the basis of the selection information.

### Claim 6 (depends on 1)

The method as claimed in claim 1, wherein
the numerical optimization method is a genetic optimization method, and
the multiplicity of action execution trees are generated by the genetic optimization method.

### Claim 7 (depends on 1)

The method as claimed in claim 1, wherein
a Pareto front is determined for the multiplicity of action execution trees, wherein an increase in performance and a reduction in tree size are used as Pareto objective criteria, and the optimized action execution tree is derived by action execution trees of the Pareto front.

### Claim 8 (depends on 6)

The method as claimed in claim 6, wherein action execution trees of the Pareto front are fed into the genetic optimization method and/or action execution trees not contained in the Pareto front are rejected.

### Claim 9 (depends on 1)

The method as claimed in claim 1, wherein
in order to determine the performance of a respective action execution tree, a simulation model of the machine, a data-driven model of the machine, the machine itself and/or a machine similar to it are controlled by the respective action execution tree and a performance of the machine resulting therefrom is determined.

### Claim 10 (depends on 1)

The method as claimed in claim 1, wherein
a number of edges, a number of nodes and/or a tree depth of the modified action execution tree or a weighted combination of the number of edges, the number of nodes and/or the tree depth are determined in order to determine the tree size.

### Claim 11 (depends on 1)

The method as claimed in claim 1, wherein
a respective action execution tree is a behavior tree.

### Claim 12 (depends on 1)

The method as claimed in claim 1, wherein
the machine is a robot, a motor, a machine tool, a turbine, a production plant, a motor vehicle, a 3D printer, a mechanical system, an electrical system or a different device or different plant.

### Claim 13 (depends on 1)

A configuration system for configuring a machine controller for a machine, configured to carry out a method as claimed in claim 1.

### Claim 14 (depends on 1)

A computer program product, comprising a computer readable hardware storage device having computer readable program code stored therin, said program code ececutable by a processor of a computer system to implement a method configured to carry out the method as claimed in claim 1.

### Claim 15 (depends on 14)

A computer-readable storage medium having a computer program product as claimed in claim 14.
