Method and apparatus for training a machine learning system

The use of a machine learning system to approximate the solution to optimization problems in model predictive control addresses the challenge of real-time solution determination, ensuring safe and precise control by characterizing state quality and relaxing constraints, thus improving the robustness and performance of technical system control.

WO2024223492A1PCT designated stage expired Publication Date: 2024-10-31ROBERT BOSCH GMBH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2024/060948
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-24
Filing Date
2024-04-22
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Existing model predictive control methods for technical systems face challenges in determining exact solutions to optimization problems in real-time, leading to suboptimal control signals that may compromise safety, especially in safety-critical systems, due to insufficient iterations in solving optimization problems.

Method used

A machine learning system is trained using supervised learning to approximate the solution to the optimization problem, allowing for precise determination of control signals by characterizing the quality of states and incorporating slack variables to relax constraints, ensuring adherence to secondary conditions and improving robustness.

Benefits of technology

This approach enables exact and safe control of technical systems by providing a precise solution to the optimization problem offline, ensuring that secondary conditions are met, even with low computational resources, thereby enhancing the performance and robustness of model predictive control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2024060948_31102024_PF_FP_ABST
    Figure EP2024060948_31102024_PF_FP_ABST
Patent Text Reader

Abstract

The invention relates to a computer-implemented method (300) for training a machine learning system (60) for use in a model-predictive control of a technical system (100, 200), wherein the machine learning system (60) is designed to determine, with respect to an operating state and / or an environmental state of the technical system (100, 200) to be controlled, a value that characterises a quality of said state, wherein the method comprises the following steps: • determining (301) a plurality of operating states and / or environmental states of the technical system to be controlled; • determining (302) a quality value (Vi) of one state (xi) of the plurality of operating states and / or environmental states, wherein the quality value (Vi) characterises a quality of the state (xi) with respect to a model-predictive control; • training (303) the machine learning system (60) through supervised training of the machine learning system (60), wherein the state (xi) is used as input to the machine learning system (60) and the determined quality value (Vi) is used as desired output of the machine learning system (60).
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Description

[0002] title

[0003] Method and apparatus for training a machine learning system

[0004] Technical area

[0005] The invention relates to a method for training a machine learning system, a method for model-predictive control of a technical system, a training system, a control system, a computer program and a machine-readable storage medium.

[0006] State of the art

[0007] Zeilinger et al., “Soft Constrained Model Predictive Control With Robust Stability Guarantees”, 2014, https: / / ieeexplore.ieee.org / abstraci / document / 6730917 / , discloses a method for model-predictive control of a technical system.

[0008] Advantages of the invention

[0009] Model predictive control (MPC) is a key method for controlling technical systems. In well-known approaches to model predictive control, an optimal control problem is formulated and solved at each sampling time. In this optimization problem, the future behavior of the system is predicted over a finite time horizon, starting from a current state measurement of the system and using a model of the system. An advantage of model predictive control over other advanced control methods is that it can optimally handle systems with multiple inputs and outputs and that system constraints can be systematically incorporated. Both advantages are used, for example, in the motion control of vehicles.For example, the vehicle must adhere to road limits, and steering, acceleration, and braking must be coordinated to ensure safe and efficient operation. Model predictive control has proven its high performance in numerous studies while offering strict safety guarantees.

[0010] When using model predictive control, an optimal control problem is typically defined for a current time and state. This optimal control problem determines an optimal sequence of control signals for a finite number of future states using a model of the system to be controlled. For this purpose, an optimization problem is typically solved at each time and thus for each state, with optimization being performed via (or with respect to) the control signals. The main challenge arises from the requirement that the optimization problem for controlling technical systems must be solved in real time to ensure sufficiently accurate control.

[0011] Known approaches to solving the optimization problem work iteratively. A disadvantage of these approaches is that the number of available iterations is typically insufficient to determine an exact solution to the optimization problem while maintaining real-time capability. The effects of applying a control signal determined based on such a suboptimal solution to the optimization problem generally make it impossible to estimate how the system to be controlled will behave, especially with regard to safety-critical behavior.

[0012] The inventors were able to surprisingly discover that the solution to the optimization problem for a model-predictive control system can be approximated extremely accurately using machine learning methods. This enables the precise determination of the solution during the runtime of a model-predictive control system. The inventors were also able to determine that by approximating an adapted optimization problem with slack variables, the stability of the control signal to the state of a technical system can be ensured and that the constraints of the model-predictive control system defined in the original optimization problem are met.

[0013] Disclosure of the invention

[0014] In a first aspect, the invention relates to a computer-implemented method for training a machine learning system for use in a model-predictive control of a technical system, wherein the machine learning system is designed to determine a value characterizing a quality of the state with respect to an operating state and / or an environmental state of the technical system to be controlled, the value comprising the following steps:

[0015] • Determining a plurality of operating states and / or environmental states of the technical system to be controlled;

[0016] • Determining a quality value of a state of the plurality of operating states and / or environmental states, wherein the quality value characterizes a quality of the state with respect to a model predictive control;

[0017] • Training the machine learning system through supervised training of the machine learning system, using the state as input to the machine learning system and using the determined quality value as the desired output of the machine learning system.

[0018] Operating states and / or system states are also simply referred to as states below. In the context of control engineering, a state of a technical system can be understood as being completely measurable or at least observable. For example, it is possible for at least parts of a state to be measured using sensors of the system to be controlled or to be derived based on sensor recordings (also referred to as indirect measurement). For example, it is possible to control a mobile robot that records images of its surroundings using a camera. Based on these images, it can be determined as at least part of a state of the robot how far the robot deviates from a travel trajectory defined in the robot's surroundings.

[0019] After training, the machine learning system can be used, particularly within a control policy, to evaluate the quality of a future state. Based on this evaluation, a control signal for the technical system can then be selected that exhibits the best quality among a plurality of possible control signals.

[0020] The training method can be understood as first collecting training data, which is then used to train the machine learning system under supervision. Supervised training generally uses data sets of tuples, where each tuple comprises an input signal and a desired output signal. During supervised training, the machine learning system is adapted such that it produces an output signal that is as close as possible to the desired output signal when the machine learning system receives the input signal as input. For the training method, a state can be understood as the input signal that is used for training. Such an input signal can be determined in particular by recording states of the system during operation of the system.Alternatively, it is also possible that the states are generated synthetically, for example based on a rasterization of physically meaningful values ​​of a state.

[0021] For training, a quality measure is then determined for at least one state. The quality measure can be understood as an annotation or the desired output signal in the context of supervised training. The quality measure is determined with respect to a model predictive control.

[0022] In particular, the quality value can be determined based on a value function of the model predictive control, wherein the value function determines a quality of the state with respect to a state and the value function further comprises constraints, wherein a constraint characterizes a physical limitation of the state and / or a constraint characterizes a limitation of a control signal which the model predictive control can select.

[0023] For example, a condition can characterize the acceleration of the system, where the acceleration cannot exceed a certain value due to the motors used in the system. In this case, the constraint can characterize this value.

[0024] The states used for the method can, in particular, be determined by the system that is to be controlled predictively based on the machine learning system. For example, the system can be put into test mode using a different control system, and typical states can be determined using the test mode. The system can also be placed under unusual operating conditions in order to determine states that simulate the peripheral areas of a typical control system. Alternatively or additionally, it is also possible to determine possible states of the system by simulation, e.g., using a computer simulation of the system. The options for determining the states mentioned here can also be applied to identical or similar systems.For example, it is possible to use a prototype or a system that is identical or similar to the system to be controlled in order to determine conditions that are likely to occur in the system in a similar way.

[0025] In particular, a state can be understood as a set of values ​​that describe physical parameters of the system and / or an environment of the system.

[0026] Preferably, a state of the system can be characterized by a vector of real numbers. Thus, the expression "determining a plurality of operating states and / or environmental states of the technical system to be controlled" can also be equivalently replaced by "determining a plurality of states of the technical system to be controlled." Each state of the plurality of states can be understood as a vector of values, with each value characterizing an operating state or environmental state of the system.

[0027] The value function can in particular characterize the solution of an optimization of a convex function, where the function characterizes the costs of controlling the technical problem, so the function can be understood as a cost function.

[0028] Advantageously, the optimization solution can be determined offline before the system's model-predictive control is applied. This makes it possible to determine the quality value very precisely, since there are no time constraints on the real-time capability of the optimization.

[0029] The machine learning method is then advantageously trained to predict a quality value with respect to a state. This prediction can be understood as an approximate solution to the optimization problem. The inventors were able to determine that even when using machine learning systems with low resource and computing capacity requirements, the prediction of the quality value is still accurate enough to implement model-predictive control.

[0030] In particular, optimization can be a minimization, where a quality value determined by minimization can be understood as meaning that a lower value has a higher quality. The quality value can therefore be understood as a cost value, where lower costs have a higher quality; in other words, a state with lower costs is better than a second state with higher costs.

[0031] In various embodiments of the invention, the value function may comprise a constraint that allows a numerical deviation of a state from a physical constraint by means of a slack variable.

[0032] Using slack variables, the constraints of the optimization problem are relaxed in the sense of mathematical optimization. This advantageously allows a sufficiently accurate solution to the optimization problem to be determined, even for complex control tasks. The inventors were able to determine that this improves the performance of the machine learning system, since the relaxation of the slack variables enables the machine learning system to achieve greater generalization capability. In particular, it is also possible to have multiple constraints with slack variables.

[0033] In particular, it is advantageous that the cost function includes a term that characterizes a sum of the slack variables.

[0034] Advantageously, the solution to the optimization problem can thus take into account the fact that slack variables cannot be arbitrarily large, thus determining solutions that lie far outside the permissible constraints of the constraints. In particular, the term can be multiplied by a factor that can be understood as a hyperparameter of the optimization problem and controls the influence of the slack variables.

[0035] In vector states, the constraints and the slack variables can also be in the form of vectors. In these cases, the term of the cost function can, in particular, comprise a sum of the lengths or squared lengths of the slack variables.

[0036] In particular, it is possible that a constraint of the optimization problem further provides a factor that reinforces the physical constraint of the state.

[0037] The inventors were able to advantageously determine that strengthening the constraint results in the subsequent model predictive control, for which the machine learning system is used, becoming more robust against errors that arise from the approximation of the optimization problem by the machine learning system.

[0038] In particular, using the factor used for the slack variables and the factor used for the physical constraint, it can be shown that the constraints are met even under errors that occur when the machine learning system approximates the quality value if the machine learning system is used to determine the quality value in the model predictive control instead of an exact solution to the optimization problem.

[0039] In the various embodiments of the training method, it is possible that in the training step, the machine learning system is trained at least until an approximation quality criterion is met, wherein the approximation quality criterion characterizes an amount of a difference between a value determined for a state by the value function and a value determined for the state by the machine learning system.

[0040] The approximation quality criterion can be understood as evaluating the machine learning system's ability to determine the same values ​​for a state as those determined using the value function. As long as the approximation is not yet sufficiently good, the machine learning system can be further trained.

[0041] If the quality criterion has not been met after a predefined number of iterations, it is also possible to collect additional training data for the procedure or to increase the number of degrees of freedom of the machine learning system, for example, by increasing the number of parameters of the machine learning system. If a neural network is used as the machine learning system, the architecture of the neural network can be modified in such a way that the neural network becomes deeper and / or layers of the neural network have more parameters.

[0042] Advantageously, the inventors were able to determine that, if the approximation quality criterion is met, it can be ensured that the constraints of the value function are met when using the machine learning system, despite approximation errors. This means that the approximation found by the machine learning system enables provably reliable control of the technical system. In a further aspect, the invention relates to a computer-implemented method for model-predictive control of a technical system, comprising the steps:

[0043] • Determining an operating state and / or environmental state of the system;

[0044] • Determining a control signal for the system, wherein the control signal is determined based on a control law, wherein the control law has a term N MPC f(x,u)'), where V MPCcharacterizes an output of a machine learning system when it receives the input f(x,u), where f is a model, preferably a linear model, of the system and predicts a next operating state and / or system state of the system based on the determined operating state and / or environmental state x and a control signal u, wherein the machine learning system has been further trained according to the method for training;

[0045] • Controlling the system using the determined control signal.

[0046] The concept of a control law is generally better known by its English term policy. Essentially, the policy can be understood as a function that determines a control signal with regard to a state of the system to be controlled, by means of which the system is to be controlled.

[0047] In model predictive control, the policy can be formulated as a further optimization problem. The control signal selected can be the one that, when applied to the current state, leads to a state with the highest possible quality.

[0048] To determine the next state to which a control signal leads based on a current state, a linear model of the form can be used, where x( / c) is a state at a time k, u( / c) is a control signal at time k, and A and B are matrices. Advantageously, the use of the machine learning system can significantly accelerate the execution of the method, since optimization under constraints no longer needs to be performed to determine the quality of a state; instead, the quality can be determined using the machine learning system.

[0049] The optimization problem in the model predictive control method may further include a term that characterizes a magnitude of the control signal.

[0050] This advantageously allows the quality of the desired state to be balanced against the influence of the control system on the system, if both terms appear in the optimization problem. This prevents any system oscillation caused by excessively large control signals, but can also lead to smoother control, for example in the control of motors, which contributes to less stress and wear on the motors and thus on the system being controlled.

[0051] In the methods described above, the machine learning system may in particular be or comprise a neural network.

[0052] The inventors were able to determine that the use of neural networks leads to the best approximation of the quality of a state. However, other machine learning methods can also be used. Especially for simpler control tasks with few constraints or a small state space, or when used on embedded hardware, even more resource-efficient methods such as linear regression or support vector machines can be used.

[0053] Embodiments of the invention are explained in more detail below with reference to the accompanying drawings. In the drawings: Figure 1 schematically shows a method for training a machine learning system;

[0054] Figure 2 shows a schematic diagram of a training system;

[0055] Figure 3 shows schematically a structure of a control system for controlling a technical system;

[0056] Figure 4 schematically shows an embodiment for controlling an at least partially autonomous robot;

[0057] Figure 5 schematically shows an embodiment for controlling a manufacturing system.

[0058] Description of the embodiments

[0059] Figure 1 schematically shows the sequence of a method (300) for training a machine learning system, wherein the machine learning system can be used after training in a model predictive control of a technical system.

[0060] In a first step (301), a plurality of states of the technical system to be controlled are determined. The states can preferably be determined by operating the technical system, in which at least one state of the system is determined at different times during operation, preferably at regular intervals. A state can be understood in particular as an operating state and / or as an environmental state of the system. The plurality of states is preferably determined by means of a sensor; thus, a state is preferably in each case a result of a measurement by means of a sensor. Alternatively, a state can be determined based on an indirect measurement. An indirect measurement can be understood as a measurement that is determined from a physical measurement by means of a sensor or a previous indirect measurement and that is not directly recognizable from the numerical values ​​of the measurement in the original measurement.For example, an environmental state of the system can characterize the position of an object in the system's environment. The object can be recorded as an image using a camera, for example, and the object's position can be determined based on object detection within the image and intrinsic and extrinsic camera parameters. In this case, the image can be understood as a direct measurement whose values ​​are the pixel values ​​of the image, and the object's position as an indirect measurement derived from the pixel values ​​(of the direct measurement).

[0061] In particular, a state can also characterize multiple physical properties. For example, a state can characterize the positions of various objects in the system's environment and / or the position of the system.

[0062] The majority of states can also be determined based on simulation. For example, a physical model of the system can be provided, which then simulates the progression of the system's states. Alternatively or additionally, it is also possible to scan a state space using a grid and use the states thus determined in the majority of states.

[0063] Alternatively or additionally, it is also possible that states of the majority of states are determined based on a prototype of the system, a system of the same construction or a system of a similar construction.

[0064] For determined states, preferably for all determined states, quality values ​​are determined in a second step (302), wherein a quality value characterizes a quality of a state with respect to a model-predictive control. The quality values ​​are preferably determined based on an optimization problem, wherein the optimization problem characterizes an optimal model-predictive control. The optimization problem is preferably defined by the formula

[0065] The optimization variables are based on a current state x: the sequence of control signals of the system u determined by the model predictive control.\ k = {ut| fe}._ o , the sequence of subsequent states x predicted from the sequence of control signals.\ k and a sequence of optional but preferred slack variables with which the

[0066] Constraints of the optimization problem can be relaxed. The cost function J is preferably defined by the formula The matrices H u , H x , Q and R are hyperparameters of the optimization problem. The index \k indicates that the value refers to a point in time starting from a point in time k. For example, x^ k the predicted state for time i, predicted at time k. The constraint H u Ui\ k < h u characterizes a restriction of the control signal at any time i from time k. The constraint represents a preferred constraint that, via the factor p, imposes a restriction h x a state x^ kfurther enhanced. The factors p and p can be understood as interacting hyperparameters that trade off the degree of relaxation of the optimization problem (over p) against robustness to the approximation error (over p). The formula %i +1 | fe = ÄXi k + Buj| fe characterizes a linear model of the system to be controlled, which represents a state transition from a time i to a subsequent time i + 1 based on a current state x^ k and a control signal u^ kpredicts, i.e. predicts the subsequent state. The variable N characterizes the prediction horizon of the model predictive control, in other words, how far the model predictive control looks into the future. In the exemplary embodiment, the states are normalized such that a state can each characterize a deviation from a desired state. In other words, the goal of the optimization can be, in particular, to achieve a state that corresponds to the zero vector. It is also possible to control to other states. For example, with a suitable transformation, a desired state can be transformed such that the transformed state is controlled to the zero vector and thus the overall control point is determined by the transformation.

[0067] For each of the determined states, a quality value can be determined using the optimization problem as the result of the optimization with respect to a state. Preferably, a quality value is determined for all determined states, thereby creating a data set that includes pairs of states and their corresponding quality values.

[0068] This dataset can be used in a third step (303) for supervised training of the machine learning system.

[0069] Optionally, it is also possible for the machine learning system (60) to be trained in batches using an iterative process (batch training). In this case, a subset of states can be determined from the set of states, and a quality value can be determined for each state for the subset thus determined (this optional embodiment is indicated by dashed lines in Figure 1).

[0070] Preferably, the machine learning system (60) is trained at least until an approximation quality criterion is met, wherein the approximation quality criterion characterizes an amount of a difference between a value determined for a state by the value function and a value determined for the state by the machine learning system. In particular, the approximation quality criterion can be determined by the formulas is characterized by, where V(x) is the prediction of the machine learning system (60) for state x. Preferably, the quality criterion can also be simplified, and instead of considering all states (characterized by the expression Vx), a subset of states of the state space can be selected. For example, the subset can be determined by rasterizing the state space.

[0071] Figure 2 shows an embodiment of a training system (140) configured to execute the third step (303) of the method (300) shown in Figure 1. The machine learning system (60) is trained using a training data set (T) that includes tuples of states (x) and associated quality values ​​(l^).

[0072] For training, a training data unit (150) accesses a computer-implemented database (Stj), wherein the database (Stj) provides the training data set (T). The training data unit (150) preferably randomly determines at least one state (x) and the quality value (l^) corresponding to the state (x) from the training data set (T) and transmits the state (x) to the machine learning system (60). The machine learning system (60) determines a prediction (Vt) of the quality value (l^) based on the state (x).

[0073] The quality value (l^) and the prediction (t^) are transmitted to a change unit (180).

[0074] Based on the quality value (l^) and the prediction (t^), the change unit (180) then determines new parameters (O') for the machine learning system (60). For this purpose, the change unit (180) compares the quality value (l^) and the prediction by means of a loss function. The loss function determines a first loss value that characterizes how far the quality value (l^) deviates from the prediction (t^). In the exemplary embodiment, a function is selected as the loss function that characterizes a squared distance of the quality value (l^) from the prediction (t^). In alternative exemplary embodiments, other loss functions are also conceivable. The change unit (180) determines the new parameters (O') on the basis of the first loss value. In the exemplary embodiment, this is done using a gradient descent method, preferably Stochastic Gradient Descent, Adam, or AdamW. In further exemplary embodiments, the training can also be based on an evolutionary algorithm or second-order optimization.

[0075] The determined new parameters (O') are stored in a model parameter memory (Sti). Preferably, the determined new parameters (O') are provided to the machine learning system (60) as parameters ( ).

[0076] In further preferred embodiments, the described training is repeated iteratively for a predefined number of iteration steps or iteratively repeated until the first loss value falls below a predefined threshold. Alternatively or additionally, it is also conceivable for the training to be terminated when an average first loss value with respect to a test or validation data set falls below a predefined threshold. In at least one of the iterations, the new parameters (O') determined in a previous iteration are used as parameters ( ) of the machine learning system (60).

[0077] Furthermore, the training system (140) may comprise at least one processor (145) and at least one machine-readable storage medium (146) containing instructions which, when executed by the processor (145), cause the training system (140) to carry out a training method according to one of the aspects of the invention.

[0078] Figure 3 shows a control system (40) which determines control signals (u) of a system by means of the machine learning system (60). In the exemplary embodiment, the control signal (u) represents a control signal of an actuator (10) or a display device (10a) of the technical system. At preferably regular time intervals, at least one operating state and / or ambient state of the technical system is detected in a sensor (30), which can also be provided by a plurality of sensors. The sensor signal (S) - or, in the case of multiple sensors, one sensor signal (S) each - of the sensor (30) is transmitted to the control system (40). The control system (40) thus receives a sequence of sensor signals (S). The control system (40) determines control signals (u) from these, which are transmitted to the actuator (10).

[0079] The control system (40) receives the sequence of sensor signals (S) from the sensor (30) in an optional receiving unit (50), which converts the sequence of sensor signals (S) into a sequence of states (x) (alternatively, the sensor signal (S) can also be adopted directly as state (x)). The state (x) can, for example, be an excerpt or further processing of the sensor signal (S) or can determine the state (x) based on the sensor signal (S) by means of an indirect measurement. In other words, the state (x) is determined depending on the sensor signal (S). The state (x) is transmitted to a control law module (n).

[0080] The control law module (n) determines the control signal (u) based on the state (x) and the machine learning system (60). The control module determines the control signal (u) preferably based on a control law, which is preferably defined by the formula 7r(x) = argmin u TRu + y( (x, u)) ueu. The term y(f(x,u)) characterizes a prediction (7) of a quality value (7) of the state that is reached when the control signal u is executed in state x, in other words, the quality of a state that is reached when a control signal u is executed in state x. The state that is reached is preferably described by the same model which was already used to determine the quality value (l^). The prediction V is performed by the machine learning system (60). In other words, a quality value is predicted for the subsequent state predicted by the linear model using the machine learning system (60).

[0081] The regulatory law includes a preferred term u TRu, which additionally ensures that reaching a subsequent state with the highest quality value is balanced against the control signal (u) to be applied. The matrix R represents a hyperparameter that can preferably be omitted or set to the identity matrix. The optimization problem can be solved, for example, using derivative-free and / or parallelizable methods such as sampling or rasterizing the search space U of possible control signals (u). A solution to the optimization problem is then provided as a control signal (u) to the actuator (10) and / or the display device (10a).

[0082] The machine learning system (60) is preferably parameterized by parameters (O) that are stored in a parameter memory (P) and provided by the latter.

[0083] The actuator (10) receives the control signals (A), is controlled accordingly, and performs a corresponding action. The actuator (10) can comprise a control logic (not necessarily structurally integrated) that determines a second control signal from the control signal (A), which is then used to control the actuator (10).

[0084] In further embodiments, the control system (40) comprises the sensor (30). In yet further embodiments, the control system (40) alternatively or additionally also comprises the actuator (10).

[0085] In further preferred embodiments, the control system (40) comprises at least one processor (45) and at least one machine-readable storage medium (46) on which instructions are stored which, when executed on the at least one processor (45), cause the control system (40) to carry out the method according to the invention.

[0086] Figure 4 shows how the control system (40) can be used to control an at least partially autonomous robot, here an at least partially autonomous motor vehicle (100).

[0087] The sensor (30) can, for example, be a video sensor, preferably arranged in the motor vehicle (100). The conversion unit (50) can, in particular, be configured to determine a drivable area, for example, a road or a lane of a multi-lane road. The state (x) can then, in particular, characterize a deviation of the robot (100) from a desired position in the drivable area, for example, a deviation of a center point of the robot from a center point of the drivable area. The state (x) can additionally include longitudinal and lateral accelerations of the robot. The state can additionally characterize a slippage of a means of locomotion of the robot, e.g., a tire or a chain of the robot. Furthermore, it is possible for the state to include a position of other objects, such as road users, in the environment of the robot (100).The optimization problem, which was solved for training the machine learning system (60), can then in particular contain constraints that characterize a minimum distance of the robot to other objects.

[0088] The actuator (10), preferably arranged in the robot (100), can be, for example, a brake, a drive, or a steering system of the robot (100). The control signal (A) can then be determined such that the actuator(s) (10) are controlled such that the robot (100) moves, for example, along the centerline of the traversable area. It is also possible for the actuator(s) (10) to be controlled such that a collision with other objects in the environment of the robot (100) is avoided.

[0089] Alternatively or additionally, the control signal (A) can be used to control the display unit (10a) and, for example, to display the identified objects and / or to display the planned travel trajectory of the robot (100).

[0090] Alternatively, the at least partially autonomous robot can also be another mobile robot (not shown), for example one that moves by flying, swimming, diving, or walking. The mobile robot can also be, for example, an at least partially autonomous lawnmower or an at least partially autonomous cleaning robot. In these cases, too, the control signal (A) can be determined such that the drive and / or steering of the mobile robot are controlled such that the at least partially autonomous robot prevents, for example, a collision with objects identified by the machine learning system (60).

[0091] Figure 5 shows an embodiment in which the control system (40) is used to control a production machine (11) of a production system (200) by controlling an actuator (10) controlling the production machine (11). The production machine (11) can be, for example, a machine for punching, sawing, drilling, and / or cutting. Furthermore, it is conceivable that the production machine (11) is designed to grip a manufactured product (12a, 12b) by means of a gripper.

[0092] The sensor (30) can then be, for example, a video sensor that detects, for example, the conveying surface of a conveyor belt (13), wherein manufactured products (12a, 12b) can be located on the conveyor belt (13). The state (x) can in particular comprise a position of a manufactured product (12a, 12b) and a position of a processing tool of the production machine (11), e.g. a position of a gripper. The actuator (10) controlling the production machine (11) can then be controlled depending on the determined positions of the manufactured products (12a, 12b). For example, the actuator (10) can be controlled such that it punches, saws, drills and / or cuts a manufactured product (12a, 12b) at a predetermined location on the manufactured product (12a, 12b).

[0093] Furthermore, it is conceivable that the machine learning system (60) is designed to determine further properties of a manufactured product (12a, 12b) as an alternative to or in addition to the position. In particular, it is conceivable that the machine learning system (60) determines whether a manufactured product (12a, 12b) is defective and / or damaged. In this case, the actuator (10) can be controlled such that the production machine (11) sorts out a defective and / or damaged manufactured product (12a, 12b). The term "computer" encompasses any device for processing predeterminable calculation instructions. These calculation instructions can be in the form of software, in the form of hardware, or even in a hybrid form of software and hardware.

[0094] In general, a plurality can be understood as indexed, meaning that each element of the plurality is assigned a unique index, preferably by assigning consecutive integers to the elements included in the plurality. Preferably, when a plurality comprises N elements, where N is the number of elements in the plurality, the elements are assigned integers from 1 to N.

Claims

Claims 1. A computer-implemented method (300) for training a machine learning system (60) for use in a model-predictive control of a technical system (100, 200), wherein the machine learning system (60) is designed to determine a value characterizing a quality of the state with respect to an operating state and / or an environmental state of the technical system (100, 200) to be controlled, the value comprising the following steps: • Determining (301) a plurality of operating states and / or environmental states of the technical system to be controlled; • Determining (302) a quality value (l^) of a state (x) of the plurality of operating states and / or environmental states, wherein the quality value (l^) characterizes a quality of the state (x) with respect to a model predictive control; • Training (303) the machine learning system (60) by supervised training of the machine learning system (60), wherein the state (x) is used as input of the machine learning system (60) and the determined quality value (l^) is used as the desired output of the machine learning system (60).

2. The method (300) according to claim 1, wherein the quality value (l^) is determined based on a value function of the model predictive control, wherein the value function determines a quality of the state (x) with respect to a state (x) and the value function further comprises constraints, wherein a constraint characterizes a physical limitation of the state and / or a constraint characterizes a limitation of a control signal which the model predictive control can select.

3. The method (300) of claim 2, wherein the value function characterizes the result of an optimization of a cost function under the constraints.

4. The method (300) according to claim 2 or 3, wherein the value function comprises a constraint that allows a numerical deviation of a state (%j) from a physical constraint by means of a slack variable 5. The method (300) of claim 4, wherein the constraint further provides a factor that reinforces the physical constraint of the state.

6. The method (300) according to any one of claims 2 to 5, wherein in the training step (303) the machine learning system (60) is trained at least until an approximation quality criterion is met, wherein the approximation quality criterion characterizes an amount of a difference between a value determined for a state by the value function and a value determined for the state by the machine learning system.

7. Computer-implemented method for model-predictive control of a technical system (100, 200) comprising the steps: • Determining an operating state and / or environmental state of the system (100, 200); • Determining a control signal (A) for the system (100, 200), wherein the control signal (A) is determined based on a control law (n), wherein the control law (n) comprises a term V( (x, u)), wherein V characterizes an output of a machine learning system (60) when it receives the input f(x, u), wherein f is a model, preferably a linear model, of the system (100, 200) and predicts a next operating state and / or system state of the system (100, 200) based on the determined operating state and / or environmental state x and a control signal u, wherein the machine learning system (60) has been further trained according to the method according to one of claims 1 to 5; Controlling the system (100, 200) by means of the determined control signal.

8. The method of claim 7, wherein the control law further comprises a term characterizing a magnitude of the drive signal.

9. The method according to any one of the preceding claims, wherein the machine learning system (60) is or comprises a neural network.

10. Training device (140) which is configured to carry out the method according to one of claims 1 to 6.

11. Control system (40) which is arranged to carry out the method according to one of claims 7 to 9.

12. A computer program configured to execute the method according to any one of claims 1 to 9 when executed by a processor (45, 145).

13. A machine-readable storage medium (46, 146) on which the computer program according to claim 12 is stored.

Citation Information

Patent Citations

  • Automated control of circumferential variability of blast furnace

    US20190095816A1

  • Controller training based on historical data

    US20190236447A1

  • Apparatus And Methods To Build Deep Learning Controller Using Non-Invasive Closed Loop Exploration

    US20210034023A1