# US 2025/0164942 A1 · Method for controlling a machine by means of a learning-based control agent, and controller

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

- Number: US 2025/0164942 A1
- Document ID: US20250164942A1
- Status: Published application
- Kind: A1
- Application number: 18/839,631
- Filed: 2023-01-30
- Published: 2025-05-22
- Earliest claimed: 2022-02-28
- Assignees: Siemens Aktiengesellschaft
- Applicants: Siemens Aktiengesellschaft
- Inventors: Phillip Swazinna; Steffen Udluft; Thomas Runkler
- Web page: https://patentgrep.com/patent/US20250164942A1

## CPC

- G05B 13/027: {using neural networks only}
- G05B 19/41875: {characterised by quality surveillance of production}
- G05B 13/0265: {the criterion being a learning criterion}
- G05B 13/04: involving the use of models or simulators
- G05B 2219/32194: Quality prediction
- 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 method for controlling a machine, a performance evaluator and an action evaluator are provided. The performance evaluator ascertains the performance of the machine using a control signal while the action evaluator ascertains a deviation from a specified control sequence. Weighting values are generated in order to weight the performance with respect to the deviation. The weighting values and a plurality of states signals are fed into the control agent, and a respective resulting output signal of the control agent is fed into the performance evaluator and the action evaluator as a control signal. In accordance with the respective weighting value, a performance ascertained by the performance evaluator is weighted using a target function with respect to a deviation ascertained by the action evaluator. The control agent is thus trained to output a control signal which optimizes the target function using a state signal and a weighting value.

## Claims

### Claim 1

A computer-implemented method for controlling a machine by a learning-based control agent, comprising:
a) providing a performance evaluator and using a control signal to determine a performance for controlling the machine by the control signal,
b) providing an action evaluator and using the control signal to determine a deviation from a predefined control sequence,
c) weighting a multiplicity of weight values for the performance with respect to the deviation are generated,
d) feeding a multiplicity of state signals and the weight values into the control agent, wherein
feeding a respectively resulting output signal from the control agent as a control signal into the performance evaluator and into the action evaluator,
weighting a performance respectively determined by the performance evaluator with respect to a deviation respectively determined by the action evaluator by a target function according to the respective weight value, and
outputting the control agent is trained to use a state signal and a weight value a control signal optimizing the target function, and
e) in order to control the machine
feeding an operating weight value and an operating state signal from the machine into the trained control agent, and
supplying a resulting output signal from the trained control agent to the machine.

### Claim 2 (depends on 1)

The method as claimed in claim 1, wherein
the weight value is gradually changed when controlling the machine in such a manner that the performance is increasingly given a higher weighting with respect to the deviation.

### Claim 3 (depends on 1)

The method as claimed claim 1,
wherein a respective performance is determined by the performance evaluator and/or a respective deviation is determined by the action evaluator on the basis of a respective state signal.

### Claim 4 (depends on 1)

The method as claimed in
claim 1 wherein a performance value is respectively read in for a multiplicity of state signals and control signals and quantifies a performance resulting from application of a respective control signal to a state of the machine specified by a respective state signal, in that the performance evaluator is trained to reproduce an associated performance value on the basis of a state signal and a control signal.

### Claim 5 (depends on 1)

The method as claimed in claim 1, wherein the performance evaluator is trained to determine a performance accumulated over a future period of time by a Q-learning method and/or another Q-function-based reinforcement learning method.

### Claim 6 (depends on 1)

The method as claimed in claim 1,
wherein a multiplicity of state signals and control signals are read in,
in that the action evaluator is trained to use a state signal and a control signal to reproduce the control signal following information reduction, wherein a reproduction error is determined, and
in that the deviation is determined on the basis of the reproduction error.

### Claim 7 (depends on 1)

The method as claimed in claim 1,
wherein the deviation is determined by the action evaluator by a variational autoencoder, by an autoencoder, by generative adversarial networks and/or by a comparison, a state-signal-dependent comparison, with predefined control signals.

### Claim 8 (depends on 1)

The method as claimed in claim 1,
wherein the weight values are generated in a randomized manner.

### Claim 9 (depends on 1)

The method as claimed in claim 1, wherein
a gradient-based optimization method, a stochastic optimization method, particle swarm optimization and/or a genetic optimization method is/are used to train the control agent, the performance evaluator and/or the action evaluator.

### Claim 10 (depends on 1)

The method as claimed in claim 1,
wherein the control agent, the performance evaluator and/or the action evaluator comprise an artificial neural network, a recurrent neural network, a convolutional neural network, a multilayer perceptron, a Bayesian neural network, an autoencoder, a variational autoencoder, a deep learning architecture, a support vector machine, a data-driven trainable regression model, a k-nearest neighbor classifier, a physical model and/or a decision tree.

### Claim 11 (depends on 1)

The method as claimed in claim 1,
wherein the machine is a robot, a motor, a manufacturing plant, a factory, an energy supply device, a gas turbine, a wind turbine, a steam turbine, a milling machine or another device or another installation.

### Claim 12 (depends on 1)

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

### Claim 13 (depends on 1)

A computer program product, comprising a computer readable hardware storage device having computer readable program code stored therein, said program code executable by a processor of a computer system to implement a method as claimed in claim 1.

### Claim 14 (depends on 13)

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