Identification of error causes at the command level in processes

EP4444508A1Pending Publication Date: 2024-10-16KUKA DEUT GMBH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
EP2022823038
Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-12-07
Filing Date
2022-11-29
Publication Date
2024-10-16

AI Technical Summary

Technical Problem

Conventional methods for monitoring and analyzing robotic processes are inefficient, requiring expert knowledge and being difficult to program, and cannot detect complex events or optimize robot programs based on detected defects, often relying on time-consuming trial-and-error optimization.

Method used

A method that involves acquiring data time series from robotic processes, assigning them to specific process commands, and using machine learning algorithms to determine results and intermediate results, allowing for the evaluation and optimization of process programs, identification of error causes, and prediction of command execution.

Benefits of technology

Enables efficient monitoring and optimization of robotic processes by identifying error causes and predicting command execution, improving process integrity and quality, and allowing for real-time control and visualization of process flows.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 1.1
    Figure 1.1
Patent Text Reader

Abstract

The invention relates to a method (100) for evaluating and / or monitoring a process, in particular a robotic process, comprising: detecting (102) at least one data time series (Zi), wherein the at least one data time series (Zi) describes at least one parameter of the process, and wherein the data time series (Zi) is created by the process, which executes a process program with process commands, and wherein the at least one data time series (Zi) is assigned to a part of the process program, in particular a process command or a part of the process commands of the process program; determining (106) a result (Y) by means of a first algorithm (AG) or by means of at least a part of an algorithm (AG), based on the at least one data time series (Zi), wherein the result (Y) describes a state of the process, and wherein the result (Y) can be assigned, in particular is assigned, to the part of the process program, in particular the process command or the part of the process commands of the process program.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Identification of error causes at command level in processes

[0002] The present invention relates to a method for evaluating and / or monitoring a process, in particular a robot process, as well as a system and computer program or computer program product for carrying out the method.

[0003] STATE OF THE ART

[0004] Traditionally, robot processes are monitored, and any errors that occur are analyzed using data analysis. In particular, positions, forces, or currents are recorded as time series and evaluated using data analysis methods. This usually detects errors and prevents subsequent errors.

[0005] The simplest form of time series analysis is conventional event detection. Here, time series are checked against manually set, fixed limits (logical or numerical). While these checks can be performed very quickly, they require expert knowledge of the process, are complex to program, and cannot detect complex events. Time series analyses using machine learning have so far been performed either on the entire time series of the process or on individual time periods and points in time. These do not allow any conclusions to be drawn about an underlying program or even program instructions. In such cases, trial-and-error optimization is often used, which is time-consuming. It is therefore difficult to optimize a robot program based on detected errors.

[0006] TASK

[0007] The object of the present invention is to improve processes, in particular robot processes, preferably to remedy the above problem.

[0008] 1

[0009] REPLACEMENT SHEET (RULE 26) SUMMARY

[0010] This object is achieved by a method having the features of claim 1. Claims 13 and 14 protect a system, computer program, or computer program product for implementing a method described herein. The subclaims relate to advantageous developments.

[0011] DESCRIPTION

[0012] According to one embodiment of the present invention, a method for evaluating and / or monitoring a process comprises the step of acquiring at least one data time series. The at least one data time series describes or represents at least one parameter of the process, in particular a force, a velocity, an acceleration, a pose, a current, or a voltage. The data time series is caused by the process executing a process program with process commands. The at least one data time series is assigned to a part of the process program, in particular to a process command or to a part of the process commands of the process program.

[0013] In one embodiment, a process can be a production process with one or more production or process plants, a process within one of the production or process plants, a process of an individual machine, in particular a robot, or a process of a part of a production plant, a machine or a robot. A process can in particular relate to the instantiation of a program for its execution, in particular within a computer system and / or its concrete execution. A process can in particular be carried out automatically and / or repeatedly or repeatably. A robot process can in particular be a process that comprises a robot or has a robot.

[0014] 2

[0015] REPLACEMENT SHEET (RULE 26) In one embodiment, a parameter can comprise, in particular, a geometric specification relating to a process plant, such as, in particular, a robot. This includes, in particular, a position and / or a pose of the process plant or of a part of the process plant. Additionally or alternatively, a parameter can comprise a dynamic specification, such as, in particular, a speed or an acceleration of at least one component of a process plant. Furthermore, a parameter can additionally or alternatively comprise at least one physical quantity, such as, in particular, forces, currents, or voltages.

[0016] The method further comprises determining a result by a first algorithm or by at least a portion of an algorithm based on the at least one data time series. The result describes a state of the process. The result can further be assigned to the part of the process program, in particular to the process command or to the part of the process commands of the process program. In particular, the result is assigned to the part of the process program, in particular to the process command or to the part of the process commands of the process program.

[0017] In one embodiment, this makes it possible for the method to use the result to evaluate and / or monitor the process. Furthermore, the integrity of the process can be evaluated, and the process can be controlled based on the result. Advantageously, the process can be optimized based on the result, particularly advantageously the process program, in particular process commands or parts of the process commands of the process program. Furthermore, it can be made possible, in particular, to draw conclusions about dependencies in the process program.

[0018] According to one embodiment, the aim of the invention may be to use a method that can simulate the structures of a process, in particular a robot process, and thus enable statements about the entire process

[0019] 3

[0020] REPLACEMENT SHEET (RULE 26) and at the same time to assess and / or predict the execution of each instruction of the underlying process program.

[0021] According to one embodiment, the method may further comprise: determining an intermediate result by the at least one part of the algorithm or by at least one other part of the algorithm or by a second algorithm based on the at least one data time series. The at least one part of the algorithm or the at least one other part of the algorithm or the second algorithm may receive the at least one data time series to determine the intermediate result. The intermediate result may be an interpretable intermediate result or a non-interpretable intermediate result. An interpretable intermediate result is understood herein to mean an intermediate result that is readable or graspable by a user. In particular, the user can (already) derive a state of the process and / or recognize a classification of the process using the intermediate result.The intermediate result can, in particular, describe an assignment to a predetermined process label. A predetermined process label as used herein can, in particular, be a state of a part of the process chain specified by a user. In particular, a robot or a system can be assigned the state “okay” (“iO”) or “not okay” (“nO”), depending on or in accordance with the (development of the) data time series. In particular, the process labels can represent continuous states, such as values ​​between 0.0 and 1.0, or the process labels can represent states that are, in particular, binary, or correspond to a comparable discrete description system, such as discrete labels with, in particular, more than two classes, further in particular as in the case of a process with different error classes. These states can, in particular, be named as process labels, such as “iO” or “nO” or “successful”.Process labels can, in particular, describe the states in a process, such as "Product X picked up" or "Product X not picked up," "Part Y assembled" or "Part Y not assembled," or the like. States for process labels can.

[0022] 4

[0023] REPLACEMENT SHEET (RULE 26) can be identified, in particular, using machine learning and / or manually defined by a user. In embodiments, a state can be, in particular, a future state. In other words, a state can also be a prediction of a state.

[0024] In particular, an intermediate result can be assigned to the part of the process program, in particular the process instruction or the part of the process instructions of the process program, in particular the result is assigned to the part of the process program, in particular the process instruction or the part of the process instructions of the process program.

[0025] In particular, at least one part of the algorithm or at least one other part of the algorithm or the second algorithm can be trained on known pairs of process labels and data time series. The at least one part of the algorithm or at least one other part of the algorithm or the second algorithm can then determine a prediction for the process labels, particularly for unknown data time series.

[0026] According to one embodiment, this makes it possible to detect and / or mark errors in the process program or process commands. This advantageously allows for a statement to be made about the entire process.

[0027] According to one embodiment, a process program can consist of a plurality of commands, such as, in particular, for a robot process (lin, ptp, ptp, open_gripper, lin, ...), alternatively or additionally, of activating or deactivating functions of device(s) mounted on a robot by means of commands, such as, in particular, switching on a welding device or the like. The commands can, in particular, be present in any desired sorting. This sorting can take into account the nesting within the program, in particular in the case of conditional instructions (“if clauses”) or branches. Data time series are

[0028] 5

[0029] REPLACEMENT SHEET (RULE 26) recorded in particular during the execution of the process commands. Consecutive data time series can in particular result in a total data time series.

[0030] According to one embodiment of the present invention, the determination of the result by the first algorithm or by the at least one part of an algorithm may further or alternatively be based on the intermediate result. The first algorithm or the at least one part of the algorithm may further or alternatively obtain the intermediate result.

[0031] In one embodiment, the intermediate result can comprise an assignment of an (unknown) data time series to the part of the process program, in particular the process command or the part of the process commands of the process program. This makes it possible in one embodiment for the part of the process program, in particular the process command or the part of the process commands of the process program, to be displayed in particular on a user interface, which is the basis of a recorded data time series. Advantageously, the execution of the process program can be tracked in real time or at least substantially in real time via the user interface, in particular by a user.

[0032] According to one embodiment of the present invention, the second algorithm can be a machine learning algorithm. The machine learning can comprise: training the second algorithm on the process labels (y) based on the at least one data time series to determine an intermediate result. In particular, for each part of the process program, in particular each process command or each part of the process commands of the process program, a separate and / or corresponding second algorithm can be (automatically) created, which is trained on data time series associated with the execution of the part of the process program, in particular the process command or the part of the process commands of the process program.

[0033] 6

[0034] REPLACEMENT SHEET (RULE 26) This makes it possible for the second algorithm to advantageously assign the part of the process program, in particular the process command or the part of the process commands of the process program, to a process label (y) and a data time series. In one embodiment, this makes it possible for a data time series to be classified with a process label (y). Advantageously, the classification makes it possible for the data time series to be assigned to the part of the process program, in particular the process command or the part of the process commands of the process program, that are responsible for the data time series.In other words, the second algorithm can advantageously enable a (particularly successful or unsuccessful) execution of the part of the process program, in particular of the process instruction or the part of the process instructions of the process program, to be determined in particular.

[0035] According to one embodiment of the present invention, the first algorithm can be based on machine learning. The machine learning can comprise training the first algorithm with the intermediate result of at least one part of the algorithm or of at least one other part of the algorithm or of the second algorithm on the process labels (y).

[0036] This makes it possible, in one embodiment, for a data time series to be associated with the part of the process program, in particular the process command or the part of the process commands of the process program, particularly across the algorithm and / or algorithms. Furthermore, a result can be associated with the part of the process program, in particular the process command or the part of the process commands of the process program. This means that the first algorithm can, in particular, determine a result that is traceable to the part of the process program, in particular the process command or the part of the process commands of the process program. In particular

[0037] 7

[0038] REPLACEMENT SHEET (RULE 26) the result can therefore advantageously provide a statement about the quality of the process programming.

[0039] According to one embodiment of the present invention, the at least one data time series can be selected from an overall data time series of the process. In particular, the overall data time series can comprise one or more data time series of the process. A data time series selected from an overall data time series can, in particular, be a data time series from the plurality of data time series of the overall data time series and / or a data time series that corresponds to a (temporal) part of the overall data time series.

[0040] In particular, in certain cases, data time series cannot be recorded for one part of the process program, in particular for one process command or one part of the process commands of the process program. However, in these cases, it may be possible to obtain a data time series for several parts of the process program, in particular for several consecutive process commands or for several consecutive parts of process commands of the process program. These data time series (like the data time series obtained for one part of the process program, in particular for one process command or one part of the process commands of the process program) can be included in an overall data time series. A corresponding data time series can therefore be selected from an overall data time series.

[0041] In one embodiment, parts of a process that were recorded (or obtained) in a total data time series can advantageously be associated with one part of the process program, in particular one process command or one part of the process commands of the process program, so that an error in one part of the process program, in particular one process command or one part of the process commands of the process program, can be determined. This advantageously enables the optimization of a process program.

[0042] 8

[0043] REPLACEMENT SHEET (RULE 26) According to an embodiment of the present invention, the method may further comprise: analyzing the intermediate result by a

[0044] Anomaly detection algorithm. The method can further comprise determining an anomaly result (by the anomaly detection algorithm), wherein the anomaly result describes an error in the execution of the part of the process program, in particular in the execution of the process instruction or the part of the process instructions of the process program. In particular, the anomaly detection algorithm can enable deviations from the training data of the anomaly detection method to be detected for each intermediate result, particularly in the case of unsupervised learning or self-supervised learning. In particular, if training was carried out exclusively with "OK" data, the hypothesis can be made that a deviation or deviations are "not OK" cases. This can enable "not OK" cases to be predicted for an individual process instruction.This is particularly not possible with methods using supervised learning, since in these cases with supervised learning there are generally no labels for process instructions, only global labels. Accordingly, with global labels, it can be concluded from a global IO label that all process instructions were IO. However, with a global "noO" label, it is not possible to conclude that a single "noO" process instruction was OK. In particular, the anomaly detection algorithm can make a prediction about the process based on the process labels (y). In particular, the anomaly result can be a process label (y), in particular a prediction for a process label (y), in particular for a data time series or a plurality of data time series. The anomaly detection algorithm can be designed in particular as a neural network, as a principal component analysis (PCA)), and / or a k-means algorithm (or the like).The anomaly detection algorithm can be trained in particular with autoencoders (“unsupervised learning”).

[0045] 9

[0046] REPLACEMENT SHEET (RULE 26) In one embodiment, this allows, in particular, an anomaly in the process flow to be detected and / or predicted at an early stage. Advantageously, the anomaly result can be associated with one part of the process program, in particular with one process command or one part of the process commands of the process program. The (additional) anomaly result can, in particular, enable a more comprehensive prediction about the (particular) process than, for example, a prediction with (only) intermediate result(s) or result.

[0047] According to one embodiment of the present invention, the method further comprises outputting the result and / or the intermediate result via a user interface. Alternatively or additionally, the method may comprise evaluating the process based on the intermediate result and / or the result. Further alternatively or additionally, the method may comprise controlling the process, in particular the robot process, based on the intermediate result and / or the result.

[0048] In particular, the output of the result and / or the intermediate result can be performed via a user interface, particularly acoustically, haptically, graphically (optically), or in a combination. In particular, output can be performed via all common user interfaces. This includes, in particular, graphical representation(s) on a screen, in augmented reality, or in virtual reality.

[0049] The evaluation can be an evaluation that classifies the process into predefined categories, particularly outside of the (defined) process label (y). Controlling the process can be based on the intermediate result and / or the result. Additionally or alternatively, controlling the process can be based on evaluating the process.

[0050] 10

[0051] REPLACEMENT SHEET (RULE 26) According to one embodiment of the present invention, outputting comprises: displaying the result, in particular with a graphical representation, in a flow chart of the process. A flow chart can, in particular, be created automatically for the part of the process program or the part of the process commands of the process program.

[0052] According to one embodiment, this makes it possible for a user to more quickly identify where an error in the process program can occur or has occurred. Advantageously, this makes it possible to improve the process program more easily.

[0053] According to one embodiment of the present invention, the acquisition and / or analysis (determination of an intermediate result and / or a result and / or an anomaly result) of the at least one data time series can be carried out centrally and / or decentrally.

[0054] In particular, according to one embodiment, the computing load of the individual steps can be distributed centrally and / or decentrally. In particular, according to one embodiment, a process controller can take over individual steps of the method and, in particular, the intermediate result and / or the result can be published on an Open Platform Communications Unified Architecture (OPC UA) server or the like. In particular, these steps or other steps of the method can be executed on an edge controller, in particular decentralized, or in the cloud, in particular centrally. Decentralized and / or centralized processing of the method steps can depend in particular on the process architecture and / or the process components. In particular, processing can be dynamically distributed across central and / or decentralized computing units and / or executed in parallel.

[0055] In particular, according to one embodiment, the algorithms for determining an intermediate result and the algorithms for determining a result

[0056] 11

[0057] REPLACEMENT SHEET (RULE 26) can be and / or be located on different systems. In particular, the evaluation of the individual commands, i.e., in particular, the determination of an intermediate result, can be performed on a process controller, in particular a robot controller. This intermediate result(s) can be published, in particular, on an OPC UA server. In particular, a higher-level system, such as, in particular, a system on an edge controller or in a cloud, can then aggregate the intermediate results in order to then determine, in particular, a result.

[0058] According to one embodiment of the present invention, the method may further comprise: acquiring a total data time series if acquiring the data time series with an assignment to a process command or process commands is not possible. Furthermore, the method may comprise decomposing a total data time series into data time series using a decomposition algorithm. In particular, the total data time series may describe at least one parameter of the process. Furthermore, the total data time series may be caused, in particular, by the process that executes a process program with process commands.

[0059] According to one embodiment of the present invention, the decomposition algorithm is a machine learning algorithm.

[0060] In particular, the decomposition algorithm can decompose a total data time series into data time series in such a way that an assignment of the data time series to the part of the process program, in particular the process command or the part of the process commands of the process program, can be made possible.

[0061] According to one embodiment of the present invention, a system for identifying causes of errors in a process, in particular in a robot process, for carrying out a method as described in embodiments above is set up and / or comprises:

[0062] 12

[0063] REPLACEMENT SHEET (RULE 26) Means for acquiring at least one data time series, wherein the at least one data time series describes at least one parameter of the process, and wherein the data time series is caused by the process executing a process program with process instructions, and wherein the at least one data time series is assigned to a part of the process program, in particular to a process instruction or to a part of the process instructions of the process program;

[0064] Means for determining a result by a first algorithm or by at least a part of an algorithm based on the at least one data time series, wherein the result describes a state of the process and wherein the result can be assigned to the part of the process program, in particular the process instruction or the part of the process instructions of the process program.

[0065] In one embodiment, the system or its means comprises: means for determining an intermediate result by the at least one part of the algorithm or by at least one other part of the algorithm or by a second algorithm, based on the at least one data time series, wherein the at least one part of the algorithm or the at least one other part of the algorithm or the second algorithm receives the at least one data time series, and wherein the intermediate result is an interpretable intermediate result or a non-interpretable intermediate result and wherein the intermediate result describes an assignment to a predetermined process label.

[0066] In one embodiment, the system or its means may be configured such that the determination of the result by the first algorithm or by the at least one part of an algorithm is further or alternatively based on the intermediate result, and wherein the first algorithm or the at least one part of an algorithm further or alternatively receives the intermediate result.

[0067] In one embodiment, the system or its means may be configured such that the second algorithm is a machine learning algorithm.

[0068] 13

[0069] REPLACEMENT SHEET (RULE 26) In one embodiment, the system or its means comprises: means for training the second algorithm on the process labels (y) based on the at least one data time series to determine an intermediate result.

[0070] In one embodiment, the system or its means may be configured such that the first algorithm is a machine learning algorithm.

[0071] In one embodiment, the system or its means comprises: means for training the first algorithm with the intermediate result of the at least one other part of the algorithm or the second algorithm on the process labels (y).

[0072] In one embodiment, the system or its means may be configured to select the at least one data time series from a total data time series of the process.

[0073] In one embodiment, the system or its means comprises: means for analyzing the intermediate result by an anomaly detection algorithm, and means for determining an anomaly result, wherein the anomaly result describes an error in the execution of the part of the process program, in particular in the execution of the process instruction or the part of the process instructions of the process program.

[0074] In one embodiment, the system or its means comprises: means for outputting the result and / or the intermediate result via a user interface; and / or means for evaluating the process based on the intermediate result and / or the result; and / or means for controlling the process, in particular the robot process, based on the intermediate result and / or the result.

[0075] 14

[0076] REPLACEMENT SHEET (RULE 26) In one embodiment, the system or its means comprises: means for displaying the result, in particular with a graphical representation, in a flow chart of the process.

[0077] In one embodiment, the system or its means can be configured to detect and / or determine the result and / or the intermediate result and / or the anomaly result of the at least one data time series centrally and / or decentrally.

[0078] In one embodiment, the system or its means comprises: means for acquiring a total data time series if acquiring the data time series with an assignment to a process command or process commands is not possible; and means for decomposing a total data time series into data time series using a decomposition algorithm, wherein the total data time series describes at least one parameter of the process, and wherein the total data time series is caused by the process that executes a process program with process commands.

[0079] In one embodiment, the system or its means may be configured such that the decomposition algorithm is a machine learning algorithm.

[0080] In one embodiment, one or more, in particular all, steps of the method are carried out fully or partially automatically, in particular by the system or its means.

[0081] A system and / or means within the meaning of the present invention can be implemented in hardware and / or software, in particular at least one, preferably data- or signal-connected, especially digital, processing unit, especially a microprocessor unit (CPU), graphics card (GPU) or the like, and / or one or more programs or program modules. The processing unit can be configured to execute commands implemented as a program stored in a memory system.

[0082] 15

[0083] REPLACEMENT LEAF (RULE 26) to process input signals from a data bus and / or to output output signals to a data bus. A storage system can have one or more, in particular different, storage media, in particular optical, magnetic, solid-state and / or other non-volatile media. The program can be such that it embodies or is capable of carrying out the methods described here, so that the processing unit can carry out the steps of such methods and thus in particular can operate the robot. In particular, a means within the meaning of the present invention can have, in particular be, a programming language and / or program library. In one embodiment, a computer program product can be a, in particular computer-readable and / or non-volatile, storage medium for storing a program or instructions or with a program or instructions stored thereon.In one embodiment, execution of this program or these instructions by a system or a controller, in particular a computer or an arrangement of several computers, causes the system or the controller, in particular the computer(s), and / or a computing unit, to carry out a method described here or one or more of its steps, or the program or the instructions are configured to do so.

[0084] According to one embodiment of the invention, a computer program or computer program product is provided, wherein the computer program or computer program product contains instructions, in particular stored on a computer-readable and / or non-volatile storage medium, which, when executed by one or more computers or a system according to claim 12, cause the computer(s) or the system to carry out a method according to one of claims 1 to 11.

[0085] According to one embodiment, one part of an algorithm may determine a result. Furthermore, another part of the algorithm may determine an intermediate result.

[0086] 16

[0087] REPLACEMENT SHEET (RULE 26) Alternatively, according to one embodiment, a first algorithm may determine a result and a second algorithm may determine an intermediate result.

[0088] Alternatively, according to one embodiment, a result can be determined by an algorithm, in particular without determining an intermediate result.

[0089] The terms “first algorithm” and “second algorithm” used herein do not refer to a chronological sequence of the algorithms.

[0090] Further advantages and features emerge from the subclaims and the exemplary embodiments. The following shows, partly schematically:

[0091] Fig. 1 : a flow diagram of a method according to an embodiment of the invention;

[0092] Fig. 2: exemplary data time series of a process with exemplary labels; and Fig. 3: a method according to an embodiment of the present invention.

[0093] Fig. 1 schematically illustrates a method 100 for evaluating and / or monitoring a process, in particular a robotic process. Processes are usually subject to a flow chart and can generally be monitored, in particular, using sensors. Such monitoring, or even an evaluation derived, in particular, from the sensor data, generally does not allow any conclusions to be drawn about the programming of the process.

[0094] With the method 100 shown schematically in Figure 1, conclusions can advantageously be drawn about the programming of a process, in particular about the quality of the programming of a process.

[0095] In Figure 1, B1, B2 to Bn are examples of instructions in a process program or in a part of a process program. Each instruction B1 to Bn is assigned a first algorithm or at least a part of a first algorithm or a second algorithm A1, A2 to An. The instructions executed by the first algorithm or the

[0096] 17

[0097] REPLACEMENT SHEET (RULE 26) at least part of the first algorithm or the second algorithm determined intermediate results O1 , O2 to On therefore result, as shown by way of example for the data time series Z1 , Z2 to Zn and can be assigned (in particular from an algorithm A1 to An) to an instruction B1 , B2 to Bn.

[0098] AG schematically represents at least one part of an algorithm or the first algorithm, which determines a result, in particular based on the intermediate result. The result Y can, in particular, be an assignment to at least one process label (y) that evaluates a process and / or serves to monitor the process. Z refers here, for example, to a total data time series Z, to which a process label (y) can be assigned as result Y or to which a process label (y) is assigned as result Y.

[0099] In particular, it can be assumed that the instructions are in any order B1, B2, ... Bn. If the incorrect execution of an instruction Bi (i stands for any of the instructions B1 to Bn) is detected or predicted, the method can mark the incorrect execution of the instruction Bi, particularly on a user interface, in particular in a process flow chart.

[0100] This can advantageously make it possible for the user to find an error in a more targeted manner. Another advantage is that the structure of the algorithm (first algorithm and second algorithm, one part of the algorithm and another part of the algorithm, or one algorithm) enables distributed acquisition (recording) of data time series and / or distributed determination of the result and / or intermediate result (evaluation).

[0101] Data time series Z1 to Zn can be generated, in particular, by a robot executing a robot program. In particular, several robots or (also) other types of machines can be involved in generating data time series Zi.

[0102] 18

[0103] REPLACEMENT SHEET (RULE 26) or whose parameters can be recorded as data time series using sensors in particular.

[0104] A robot program can, in particular, consist of a plurality of commands B1 to Bn. These can, in particular, be arranged in any order. The order can, in particular, take into account the nesting within the program, particularly through the use of a flow chart. Based on the flow chart, conclusions can be drawn about dependencies within the program, particularly after an intermediate result and / or a result has been determined.

[0105] In particular, data time series can be captured or recorded during the execution of an instruction Bi. The captured data time series, when arranged in sequence, form a complete data time series Z of the (observed) process.

[0106] If the separate recording of data time series Zi per instruction Bi is not possible, but a total data time series Z is available for the process, a further machine learning algorithm can be used to decompose the total data time series Z into the data time series Zi. This algorithm can be trained, in particular, with total data time series Z (and data time series Zi) from multiple processes.

[0107] In particular, an algorithm Ai can be created for each instruction Bi, as shown by way of example in Figure 1. The algorithms Ai can in particular form the first layer of a hierarchy. Each algorithm Ai can receive a data time series Zi as input and, based on the Zi, determine or generate an intermediate result (output) Oi. This intermediate result (output) Oi can take several forms, in particular an interpretable or a non-interpretable one. A second layer can in particular represent a further algorithm AG, whose inputs in particular

[0108] 19

[0109] REPLACEMENT SHEET (RULE 26) the outputs Oi of the first layer can be. From this, AG can, in particular, determine a prediction Y for the (considered) total data time series Z.

[0110] In particular, the following options may arise for training the hierarchy shown as an example. The AIs can be trained individually on process labels (y) using supervised learning. Subsequently, the AGs, in particular, can also be trained on the process labels (y). The AIs can be pre-trained on the process labels (y), and then the entire hierarchy can be trained together.

[0111] Alternatively or additionally, the AIs can be trained using their own process labels for each data time series Zi, for example. AGs can be trained, in particular, on the process labels (y).

[0112] Alternatively or additionally, the AIs can be trained, in particular, with autoencoders ("unsupervised learning"). In particular, if AIs and AGs are configured as a joint neural network, especially during supervised training, an additional condition can be imposed, particularly via the loss function of the neural network, which requires that the intermediate results be normally distributed (variational autoencoder). In one embodiment, this can be used, in particular, to generate a code for the intermediate layer, which can subsequently be used by AG.

[0113] According to one embodiment, a hierarchy may be particularly dependent on the choice of algorithms and / or the (selected) outputs Oi. In particular, additional layers may be used.

[0114] Intermediate results (outputs) Oi can be interpretable outputs Oi. This can be especially the case when the algorithms Ai are regression and / or classification in the context of supervised learning.

[0115] 20

[0116] REPLACEMENT SHEET (RULE 26) In addition, confidence intervals for the intermediate results (outputs) Oi can be estimated or determined, in particular by dropout sampling, with in particular mean and standard deviation.

[0117] Intermediate results (outputs) Oi can in particular be vectors that are in particular not interpretable, but can contain more information for in particular the second layer, compared to in particular interpretable intermediate results Oi.

[0118] The intermediate results (outputs) Oi can be published on an OPC UA server, in particular for other (adjacent) systems to access. In particular, the process label "OK" can be assigned to a data time series Z1, the process label "NOK" can be assigned to a second data time series Z2, and the process label "NOK" can be assigned to the overall process Z. These process labels can be traced back to commands B1 and B2, in particular. For B2, it can therefore be recognized, in particular, that the command was not executed correctly or not at all, or that the process result to be achieved by command B2 was not achieved or not sufficiently achieved. A user can be enabled, in particular, to identify B2 more easily as the cause of an overall process that does not meet the requirements (in particular those defined by the user).Furthermore, it can be made possible in particular that the command B2 can be optimized and thus a process as a whole can be optimized so that requirements in particular can be met.

[0119] Algorithms Ai can in particular be machine learning algorithms. In particular, all types of machine learning algorithms can be used (conceivably). Depending on the selection of algorithms, the types of intermediate results Oi can be restricted. In particular, if each algorithm Ai receives the data time series for a known robot command, the type and size of the data time series can be estimated in advance. In particular, in one embodiment, neural networks can thereby enable the algorithms Ai to be used for a new command in a

[0120] 21

[0121] REPLACEMENT SHEET (RULE 26) new processes only need to be retrained. This can, in particular, reduce the data load of the (overall) algorithm.

[0122] In particular, the same type of algorithm can be used for all Ai and in particular can only be fixed to (certain) sizes of data time series and / or to certain instruction classes, which can in particular be pre-trained.

[0123] In particular, the task of the AI ​​can be similar in each case, especially when the instructions Bi are identical. This can, in one embodiment, make it possible to use weight sharing for the neural networks. In particular, dependencies between the instructions can also be learned using a recurrent neural network.

[0124] In particular, all machine learning methods can be used for AG. By applying preprocessing in the first layer, such as determining an intermediate result Oi, methods can be used for the second layer that model less complex relationships but offer more interpretable results, such as decision trees or Bayesian learning methods.

[0125] If neural networks are used, in particular, for the algorithms Ai and AG, especially for (Ai + AG) with (i = 1 to n) at least one neural network is used, these can be trained jointly, particularly through backpropagation, particularly via the intermediate results Oi. This can enable the entire hierarchy to be trained jointly. However, transfer learning can also be enabled, particularly through pretraining and / or fine-tuning of the algorithms Ai or through other processes.

[0126] Fig. 2 shows a schematic representation of a result based on exemplary data time series Zi. In the lower part, various data time series are shown as examples

[0127] 22

[0128] REPLACEMENT SHEET (RULE 26) for various parameters, here with position and force data time series as an example. The middle section of Figure 2 shows an example of anomaly detection, and the upper third of Figure 2 shows an example result for an estimation (assessment) for the data time series Zi. Fig. 2 lists examples of process labels, such as “successful,” “not clipped,” “component missing,” “cabinet occupied,” “box occupied,” “angle diverting,” “rail missing,” and “wrong part.” Other process labels are possible, or other process labels can be predetermined. The process shown here as an example has the result “successful.”

[0129] Fig. 3 schematically shows a method 100 for evaluating and / or monitoring a process, in particular a robot process. 102 represents, in particular, the acquisition of at least one data time series. 104 represents, in particular, the determination of an intermediate result. 106 represents, in particular, the determination of a result. 108 schematically represents, in particular, the analysis of an intermediate result and the determination of an anomaly result. 110 relates, in particular, to the decomposition of an overall data time series into data time series. The method steps shown in dashed lines are, in particular, optional method steps that are applied as needed. If, in particular, data time series can be acquired for each command, there is no need to decompose the data time series or the overall data time series into data time series that are assigned to a process command.Furthermore, an algorithm can use an intermediate result "internally," especially in a way that does not allow interpretation or publication of the intermediate result. In this case, the intermediate result is not "passed on" to another algorithm or to a first algorithm. Furthermore, anomaly detection can be a useful addition to the method, but a result can be determined, especially without anomaly detection.

[0130] 23

[0131] REPLACEMENT SHEET (RULE 26) An instruction Bi, as described in the examples, can in particular also refer to a sequence of instructions for which a data time series Zi is acquired.

[0132] Although exemplary embodiments have been explained in the preceding description, it should be noted that numerous modifications are possible. Furthermore, it should be noted that the exemplary embodiments are merely examples and are not intended to limit the scope of protection, applications, or structure in any way. Rather, the preceding description provides the skilled person with a guide for implementing at least one exemplary embodiment, whereby various modifications, particularly with regard to the function and arrangement of the described components, can be made without departing from the scope of protection as it results from the claims and equivalent combinations of features.

[0133] 24

[0134] REPLACEMENT SHEET (RULE 26) List of reference symbols

[0135] 100 procedures

[0136] 110 Decomposing a total data time series

[0137] 102 Collecting at least one data time series

[0138] 104 Determining an intermediate result

[0139] 106 Determining a result

[0140] 108 Determining an Anomaly Result

[0141] AG Part of an algorithm or first algorithm

[0142] Ai: A1 to An other part of an algorithm or second algorithm

[0143] Adi: Ad1 to Adn anomaly detection algorithm

[0144] Bi: B1 to Bn commands

[0145] Oi: 01 to On Intermediate result

[0146] Zi: Z1 to Zn data time series

[0147] Z Total data time series y Process label

[0148] Y Result

[0149] 25

[0150] REPLACEMENT SHEET (RULE 26)

Claims

CLAIMS . Method (100) for evaluating and / or monitoring a process, in particular a robot process, comprising: Acquiring (102) at least one data time series (Zi), wherein the at least one data time series (Zi) describes at least one parameter of the process, and wherein the data time series (Zi) is caused by the process executing a process program with process instructions, and wherein the at least one data time series (Zi) is associated with a part of the process program, in particular a process instruction or a part of the process instructions of the process program; Determining (106) a result (Y) by a first algorithm (AG) or by at least a part of an algorithm (AG), based on the at least one data time series (Zi), wherein the result (Y) describes a state of the process and wherein the result (Y) can be assigned to, and in particular is assigned to, the part of the process program, in particular the process instruction or the part of the process instructions of the process program. Method (100) according to claim 1, characterized in that the method (100) further comprises: Determining (104) an intermediate result (Oi) by at least one part of the algorithm (AG) or by at least one other part of the 26 REPLACEMENT SHEET (RULE 26) The method (100) according to claim 2 is characterized in that the determination (106) of the result by the first algorithm (AG) or by the at least one part of an algorithm (AG) is further or alternatively based on the intermediate result (Oi), and wherein the at least one part (AG) of the algorithm or the at least one other part of the algorithm (Ai) or the second algorithm (Ai) receives the at least one data time series (Zi), and wherein the intermediate result (Oi) is an interpretable intermediate result (Oi) or a non-interpretable intermediate result (Oi), and wherein the intermediate result (Oi) describes an assignment to a predetermined process label.Method (100) according to one of the preceding claims, characterized in that the second algorithm (Ai) is a machine learning algorithm and wherein the machine learning comprises:. 27 REPLACEMENT SHEET (RULE 26) Training the second algorithm (Ai) on the process labels (y), based on the at least one data time series (Zi) to determine an intermediate result (Oi). Method (100) according to one of the preceding claims 2 or 3, characterized in that the first algorithm (AG) is based on machine learning, wherein the machine learning comprises: Training the first algorithm (AG) with the intermediate result (Oi) of at least one other part of the algorithm (Ai) or of the second algorithm (Ai) on the process labels (y). Method (100) according to any one of the preceding claims, characterized in that the at least one data time series (Zi) is selected from a total data time series (Z) of the process. Method (100) according to any one of the preceding claims, characterized in that the method (100) further comprises: Analyzing the intermediate result (Oi) by a Anomaly detection algorithm (Adi), and Determining (108) an anomaly result, wherein the The anomaly result indicates an error in the execution of part of the 28 REPLACEMENT SHEET (RULE 26) process program, in particular during the execution of the process instruction or part of the process instructions of the process program, describes. Method (100) according to one of the preceding claims, characterized in that the method (100) further comprises: Output of the result (Y) and / or the intermediate result (Oi) via a user interface and / or Evaluating the process based on the intermediate result (Oi) and / or the result (Y) and / or Controlling the process, in particular the robot process, based on the intermediate result (Oi) and / or the result (Y). Method (100) according to one of the preceding claims, characterized in that the output comprises: Presenting the result (Y), in particular with a graphical representation, in a process flowchart. 29 REPLACEMENT SHEET (RULE 26) 0. Method (100) according to any one of the preceding claims, characterized in that the acquisition (102) and / or the determination (104, 106) of the result (Y) and / or the intermediate result (Oi) and / or the anomaly result (108) of the at least one data time series (Zi) is carried out centrally and / or decentrally.

1. Method (100) according to any one of the preceding claims, characterized in that the method (100) further comprises: Capturing a total data time series (Z) when capturing the data time series (Zi) with an assignment to a process instruction or process instructions is not possible; and Decomposition of a total data time series (Z) into data time series (Zi) by a decomposition algorithm, wherein the total data time series (Z) describes at least one parameter of the process, and wherein the total data time series (Z) is caused by the process executing a process program with process instructions.

2. Method (100) according to claim 10, characterized in that the decomposition algorithm is a machine learning algorithm.

3. System for identifying root causes of errors in a process, in particular in a robot process, which is configured and / or comprises: 30 REPLACEMENT SHEET (RULE 26) Means for recording at least one data time series (Zi), wherein the at least one data time series (Zi) describes at least one parameter of the process, and wherein the data time series (Zi) is caused by the process executing a process program with process instructions, and wherein the at least one data time series (Zi) is assigned to a part of the process program, in particular a process instruction or a part of the process instructions of the process program; Means for determining a result (Y) by a first algorithm (AG) or by at least a part of an algorithm (AG), based on the at least one data time series (Zi), wherein the result (Y) describes a state of the process and wherein the result (Y) can be assigned to the part of the process program, in particular the process instruction or the part of the process instructions of the process program.

4. Computer program or computer program product, wherein the computer program or computer program product, in particular stored on a computer-readable and / or non-volatile storage medium, contains instructions which, when executed by one or more computers or a system according to claim 12, cause the computer(s) or system to perform a method (100) according to any one of claims 1 to 11. 31 REPLACEMENT SHEET (RULE 26)