Method for optimizing motion control using reinforcement learning, corresponding computer program product, and corresponding apparatus

The method employs reinforcement learning with a weighted reward system to optimize robot task allocation, addressing uneven workload and wear issues, resulting in improved efficiency and reduced costs by balancing multiple optimization goals in automation systems.

WO2024179994A1PCT designated stage expired Publication Date: 2024-09-06SIEMENS AG
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2024/054821
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-28
Filing Date
2024-02-26
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Current automation systems face challenges in optimizing the allocation of tasks among multiple robots in industrial settings, leading to uneven workload distribution, increased downtimes, and higher operating costs due to uneven wear and tear on machines, as well as inefficiencies in pick-and-place operations.

Method used

A method utilizing reinforcement learning with a weighted sum of reward functions to optimize movement control, where a reinforcement learning agent is trained to balance multiple optimization goals such as successful object placement, even workload distribution, and machine wear minimization, using a surrogate simulation to accelerate training and adjust behavior dynamically.

Benefits of technology

This approach enables improved coordination among robots, ensuring even workload distribution, reduced downtimes, and uniform machine wear, leading to more efficient and cost-effective operation by optimizing the pick-and-place process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2024054821_06092024_PF_FP
    Figure EP2024054821_06092024_PF_FP
Patent Text Reader

Abstract

In order to find an optimum strategy for assigning a receiving device to an object on a transport apparatus, a system based substantially on reinforcement learning (RL) is proposed. While it is generally known to train the agent against the digital twin of the system, the approach in the present method also involves training the agent in a surrogate simulation, that is to say in an artificially generated environment, since the training process can therefore be considerably accelerated.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] 2022P17483WO Foreign Version 1 Description Method for optimizing motion control using reinforcement learning, computer program product, and device. Automation systems involve a wide variety of tasks that involve the picking up and moving of objects. Manufacturing systems, including packaging systems, in a wide variety of industrial automation sectors, for example, use conveyor belts on which objects, products, or parts of products are usually unsorted or irregularly arranged. Examples can be found in the primary and secondary packaging sectors, such as the food and beverage industry. The number and arrangement of products per conveying surface can vary greatly.For a packaging process, several industrial robots, so-called delta pickers or articulated-arm robots, are often used in series to carry out a "pick and place" operation, i.e. picking up the product from the conveyor belt and repositioning it. A handling machine, also referred to below as a device, is understood to be, for example, a so-called delta kinematics system or a robot used in automation; however, the procedure described is not limited to these examples. In addition to pick-and-place operations, applications include the packaging (e.g., palletizing) of products and much more. When operating a series of more or less similar devices (e.g.With multiple robots (e.g., the robots or delta kinematics listed above) that can perform more or less the same task, the challenge arises of deciding which machine will perform the task at a given time. For example, if you imagine a series of pick-and-place machines filling a box or crate with products transported on a conveyor belt, a decision must be made as to which object will be picked by which machine—i.e., which object will be picked by a conveyor belt or other transport device, processed if necessary, and placed in another location. In many configurations, any product can be picked by any picking device, which leads to a very high degree of flexibility in solving the tasks.However, a device may not be able to select all objects in a timely manner if they are, for example, very close to one another, so that after a pass through, objects are not picked and, for example, remain on the conveyor belt. Several pickers will therefore usually take over the picking and solve this task in a distributed manner. In addition, different so-called picking lines are usually set up for different tasks, which require different optimization criteria. In one application, it may be important that all objects are successfully selected and picked (e.g., when filtering out certain materials such as recyclables or contaminants from a waste stream). In other application cases, the task must be solved to completely fill a packaging unit (e.g.,A box of chocolates with the correct type and number of predetermined chocolate pieces is less problematic, while it is less problematic if some units on the conveyor belt are not picked at the end, i.e., picked and placed. Another scenario would be to place yogurt cups on pallets so that the flavors are evenly distributed within a pallet. 2022P17483WO Foreign Version 3 In addition to these optimization goals, there is another problem: current deployment strategies do not take into account the resulting wear and tear on the machines.If the workload is uneven—for example, if the first device on the route is always considered first—the devices wear out at different rates, leading to different maintenance intervals, longer downtimes, and ultimately more frequent system downtimes and increased operating costs. Furthermore, the wear on individual delta pickers can be minimized by intelligently controlling speed, acceleration, and jerk. Likewise, optimizing the travel paths (e.g., no sharp curves) can reduce the wear on a delta picker. EP 3456485A1 already discloses a method for optimizing an automated process for selecting and gripping an object by a robot. An optimization criterion is defined and taken into account when determining a priority identifier.The capacity of the various robots in the arrangement is included in the calculation. The priority identifier regulates the priority of those objects that are assigned to a robot together. US 2018 / 0089589A1 describes a machine learning device that learns the operating state of a robot. The robot grasps a large number of objects arranged on a carrier device and places them in a container. The goal is to reduce the robot's utilization and minimize the time required for placement. 2022P17483WO Foreign Version 4 US 2023 / 0040623A1 discloses a reinforcement learning system for a pick-and-place system, wherein the training generates decisions for a real-time environment by determining a motion path that meets various hardware and real-time requirements.While known allocation strategies can fulfill the main task in most scenarios, they do not take into account the challenges mentioned above. This is because the known allocation strategies do not yet take into account coordination between multiple machines that should or can fulfill the same task. Instead, each machine (picker) is equipped with an individual policy that decides which objects should be selected and picked in its work zone. What is needed, for example, is - an assignment of the objects to the target positions, as well as - a sequence of transport, idle, and pick-and-place operations by the pickers. In practice, different configurations arise: - The devices can move continuously or abruptly. - The picking operations can be carried out from moving or temporary stop belts.- The transport devices can be arranged parallel (running in the same or opposite directions) or orthogonal to each other. - The devices can accommodate one or more components simultaneously. - The target positions can accommodate one or more objects. 2022P17483WO Foreign Version 5 Different requirements can also exist with regard to the logistical constraints: - There may be restrictions on which object is placed in which target position, or there may be conditions for classes on objects and classes of target positions, e.g., a green object in every field.Known strategies for determining the next action, and thus in the example cited above the selection of the next device to remove an object from the conveyor belt, include: - selecting the object that is spatially closest to the machine arm, - selecting the object that is furthest forward or furthest back on the conveyor belt. However, these individual allocation strategies often lead to the problem that the workload is distributed individually and thus unevenly among the machines in a work line. This means, for example, that the machines at the beginning of a conveyor belt have a much higher workload than the machines at the end of the conveyor belt. However, none of the methods described above allows the user to weigh up different optimization criteria against each other in order to arrive at an improved control and selection process.It is therefore an object of the invention to provide an improved method that overcomes the above-mentioned disadvantages. It is also an object of the invention to provide a device. 2022P17483WO Foreign Version 6 This object is achieved by a method having the features of independent patent claim 1 and a computer program product having the features of patent claim 9. Furthermore, the object is achieved by a device having the features of independent patent claim 10. Further embodiments of the invention are covered by the subclaims.The method for optimizing the motion control of a device using reinforcement learning comprises a training phase, which is carried out using generated training data, with a first optimization goal and at least one second optimization goal, different from the first optimization goal, each with a reward function, and wherein the training phase directs a training portion towards the first optimization goal and a training portion towards the at least second optimization goal, using a weighted sum of the reward functions of the respective optimization goal. More specifically, a reward function can be set up for each desired optimization goal. Multiple optimization goals can then be supplied to an RL agent during training via a priority-weighted sum of the individual rewards.For the training of only one optimization objective, the weighting for the other optimization objective(s) is then 0. Further embodiments are set out in the subclaims. The invention is illustrated below by way of example with the figures, in which: Figure 1 shows an architectural concept, Figure 2 shows a temporal sequence of the control flow, divided into two phases, and Figure 3 shows an exemplary simulation of a pick & place situation with recording devices in a top view. In order to find an optimal strategy for assigning a recording device to an object on a transport device, a system essentially based on reinforcement learning (RL) is proposed. Reinforcement learning RL, also called reinforcement learning, stands for a series of methods of so-called machine learning in which an agent independently learns a strategy (policy) in order to maximize received rewards.The agent is not shown which action is best in which situation, but rather receives a reward through interaction with its environment at specific times, which indicates how well it has solved a task. This reward can also be negative. The mathematical foundations of reinforcement learning are the following concepts: the agent, the environment, the states, the actions, and the rewards. The methods of reinforcement learning consider the interaction of the learning agent with its environment. The environment consists of a set of states and a set of actions, as well as dynamics and a starting distribution. The agent's interaction with the environment takes place at discrete times. At each time, the agent is in a state, selects an action, and receives a reward for it, as described above.2022P17483WO Foreign Version 8 The components used for the method are shown (among others) in Figure 1. The components located outside the dashed boxes 146, 167, camera 11, object recognition 12, and PLC 13, are system components required for the executing system, but are not a direct part of the described invention. The components located within the dashed boxes 146, 167 are described in more detail below. Box 167 schematically describes the essential components of the reinforcement learning RL agent 16, which learns the motion control method in a training phase based on training data 17 in order to then influence the controller 13 in a productive phase. The constellation 146 as shown in Figure 1 corresponds to an implementation on an edge device, using a proxy server 14 and a Rest API 15. However, other constellations are also conceivable.Figure 2 shows a control flow of the proposed method based on the architecture presented in Figure 1. The components involved in the method are, where possible, provided with the same reference numerals as in Figure 1. In the first phase, the training phase P1 of the method, the RL agent is trained in a so-called surrogate simulation. The surrogate simulation is characterized by the fact that it can run significantly faster than real time and depicts the environment to be simulated with sufficient accuracy. This is achieved, for example, by a simplified representation of the device's control in the simulation compared to reality. During training, the RL agent continuously interacts with the environment, i.e.Each performed action 256 is evaluated based on the desired result, with a reward (positive or negative) 265, and leads to reinforcement of the behavior (in the case of a positive evaluation) or to a change in the behavior (in the case of a negative evaluation). In the previously mentioned example of motion control for a recording device, the RL agent receives an observation from the environment for training and performs an action, for example, assigning a new object located on a conveyor device to a machine that is supposed to pick up the object. This training loop can be run any number of times. The scenarios used in the example are shown in more detail below in Figure 3.The RL agent's observation space – i.e., the environmental properties available to the RL agent for decision-making – is designed to contain all relevant information required for optimal decision-making regarding the selection of the appropriate device. In the example mentioned, this includes, for example: • A list of the coordinates of each object on the transport device (conveyor belt) or the transport devices (transport robot, AGV, etc.), • Existing assignments of additional objects to be picked up to one of the picking devices, • A list of the coordinates of the target / placement positions, and / or • A variable for each picking device that indicates the respective wear of the device.In a second phase P2 in Figure 2, the productive or online phase of the method is described in application to the above example, i.e., when the system is used integrated into a plant. A camera with object recognition 1112 detects a new object, including the location information for this object, and delivers this information 212 to the controller 13. The controller 13 serializes a product register (i.e., the data is converted into a byte stream in order to store the object or transfer it to the main memory, a database, or a file. The main purpose is to save the state of the object so that it can be recreated if necessary) and sends it 223 (for example, using the TCP transmission protocol) to a proxy server 14.The product register represents a memory module that describes the status of a picking line and, in particular, contains the location of the detected products on the transport device, as well as any other information such as orientation, size, weight, or the desired storage location. In the example discussed, a section of the product register forms the observation space of the RL agent. In the example shown, the data is processed in an edge configuration via the proxy 14 and the REST API interface: Product register (from the controller) 223 Observation status 234 Query to the agent (forward request), 245 Response from the agent (forward response), 254 Assignment of object (product assignment), 243, 232 to the controller that triggered the request. Figure 3 shows the prepared training data for the surrogate simulation, including the optimal travel paths calculated from it for the motion control.Various variances 31 of the position (arrangement, frequency) of objects 331, 332, ... on a transport device 33 are simulated and used as a basis for training an RL agent. For example, a conveyor belt 33 contains a number of objects 331, 332, ... 33x, which are to be picked up by a picking device (not shown in the figure) and each placed at a target location 321, 322, ... 32n, for example, on another conveyor belt. The respective movement track of the picking devices is shown. In the present example, there are three picking devices with the respective movement tracks 341, 342, 343.A track represents the sequential picking up of objects from the transport device, for example, object 333 is moved from the picking device G1, G2 to location 322, the track changes from pick-up to storage location and then back to pick-up again. The direction of movement of the conveyor belt is from right to left in the illustration, 35. Possible examples are food items such as chocolate bars or pralines, which are to be placed in a suitable box for packaging. During placement, certain boundary conditions must also be observed, for example, only exactly one object should be placed at each location. It may also happen that the objects are not all of the same type and that only a predetermined number of each type is to be placed in possibly predefined picking locations. It must also be ensured that all the picking locations should be occupied at the end of the process.If there is a very large number of (possibly different) objects on the conveyor belt, the resulting observation space can become very large, which negatively impacts the learning complexity during training. In such cases, it is advisable to consider only a portion of all 2022P17483WO Foreign Version 12 objects, e.g., the most recent n objects, on the conveyor belt for the training phase. A suitable value for n can be found using hyperparameter optimization. A hyperparameter is a parameter used to control the training algorithm and, unlike other parameters, its value must be determined before the actual training of the model. There are various approaches to this, such as grid search, random search, Bayesian optimization, gradient-based optimization, or evolutionary optimization.An RL agent learns to maximize the reward signal provided by the environment; therefore, the reward function must match the optimization goal. In a further embodiment of the invention, the reward can be a weighted sum of rewards for achieving the various optimization goals. This enables very fine-grained behavior tuning by the user. For example, to learn a policy in which all objects are successfully picked, i.e., picked up and placed at a desired destination, and the workload of each picker is kept uniform, a suitable reward function could be: • The agent receives a large negative reward as soon as an object falls off the end of the conveyor belt because it was not selected or picked up. • The agent receives a negative reward that corresponds to the variance of the workload of each picker, i.e.,depending on how evenly the workload is distributed across the individual recording devices. While it is generally known to train the agent against the system's digital twin, the approach in the present method is to train the agent in a surrogate simulation, i.e., in an artificially generated environment, as this can significantly accelerate the training process. This is advantageous because the computational effort in the digital twin simulation (physics, 3D rendering, etc.) is considerable, but completely irrelevant for the described learning problem. Therefore, this computational effort can easily be omitted in a surrogate simulation. Furthermore, in an advantageous embodiment, a configurator enables the automatic creation of such a surrogate simulation.In this configurator, the user can import a physical description of a picking line (number of pickers, position of the pickers, conveyor belt speed, etc.) or enter this required information manually. Optionally, the configurator includes sliders where the user can specify the importance of various optimization criteria. Depending on the configuration of these sliders, a suitable reward function can be automatically deactivated. Furthermore, it is possible, for example, to integrate a so-called slider configuration into the observation space of the RL agent. Confronting the agent with various combinations of optimization criteria during the training phase allows the user to adapt the agent's behavior with immediate effect during deployment, without the need for retraining the agent.The training of the RL agent generates a set of rules in the form of a parameterized model, e.g., a neural network. The lower part P2 of the sequence diagram in Figure 2 shows how this learned set of rules is integrated into an actual online decision-making system. As soon as a new object is detected by the camera 1121, the controller 13 serializes the product register and sends it (e.g., via TCP) to a proxy server 14. The product register contains the product positions (see Figure 3, 321, 322, 32n on the conveyor belt 33) as well as the other information that constitutes the agent's status. The proxy server deserializes the received data and extracts the information that the neural network policy expects as input. The neural network policy itself is packaged as a microservice that provides a REST API. https: / / en.wikipedia.org / wiki / Microservicesorg / wiki / Representational_State_Transfer The proxy server requests an assignment for the new product from the neural network policy and returns the assignment to the PLC. The aforementioned proxy server 14 and the agent microservice, which provides a programming interface, for example, designed as a REST API 15, are advantageously executed on an external computer, such as an industrial PC or an edge box. However, it is also conceivable to integrate the agent behavior directly into the PLC 13 itself. The fact that the agent is implemented as a microservice, or can run on an IPC or in the PLC, is merely an example implementation. The approach described makes it possible to improve the utilization of recording devices while taking various optimization goals into account.While current solutions focus only on achieving the core task of a picking line, the proposed solution (2022P17483WO Foreign Version 15) allows for the consideration of additional criteria such as the uniform wear of all machines in a line / on a conveyor belt. This has the major advantage, for example, that all machines have a single maintenance interval, which is more predictable, reduces downtime, and lowers costs.

[0002] 2022P17483WO Foreign version 16 List of reference symbols: 11 Camera 12 Object recognition 1112 Camera / object recognition 13 Controller, PLC, SPS 14 Proxy server 15 Programming interface, REST API 16 Reinforcement learning agent 17 Simulation 146 Deployment on edge devices 167 Training (high-performance computer) 212 Object localization 223 Object (product?) registration 232, 243 Object (product?) assignment 234 Observation status 245 Forward request 254 Forward response 31 Schematic view, training data 32, 33 Conveyor belt 331, 33x Object 321, 32n Space for picking up objects 341, 342 Route from machine to pick-up and deposit G1, G2 Device (robot, machine) P1 Training phase P2 Productive phase

Claims

2022P17483WO Foreign version 17 Patent claims 1. Method for optimizing a motion control of a device (G1, G2) using reinforcement learning, wherein the reinforcement learning comprises a training phase (P1) which trains in a surrogate simulation using generated training data (17) that represent a simplified representation of the control of the device, wherein the training phase (P1) of the reinforcement learning comprises a first optimization objective with a first reward function, and wherein the training phase (P1) of the reinforcement learning comprises at least one second optimization objective different from the first optimization objective with a second reward function, wherein the training phase (P1) directs a training portion toward the first optimization objective and a training portion toward the at least second optimization objective,by means of a weighted sum of the reward functions of the respective optimization goals and in the training of the motion control, the first optimization goal of the device (G1) is determined as a function of the optimization goal of a second device (G2).

2. Method according to claim 1, characterized in that the device (G1) is a recording device which is suitable for performing a pick & place action of an object (331, 332, ...).

3. Method according to claim 2, characterized in that, 2022P17483WO Foreign Version 18 the object (331, 332, ...) is picked up by the device (G1, G2) from a transport device (33) and placed on a receiving device (32).

4. Method according to one of the preceding claims, characterized in that the movement control for the device (G1, G2) comprises the following method steps: - selection of the object (331, 332, ...) on the transport device (33), - selection of the device from a set of devices (G1, G2), - picking up the selected object (331, 332, ...) by the selected device (G1, G2), - selection of a storage location (321, 322) for the object, and - storage of the object (331, 332, ...) by the device at the selected storage location (321, 322, ...). 5.Method according to one of the preceding claims, characterized in that the first optimization objective and the second optimization objective each relate to one of the following aspects: - transport time of the object (331, 332, ...) to the deposit, - travel path of the device (341, 342, ...), - pick-up rate of the objects to be transported, - wear of the device (G1, G2), - correct assignment of the object (331, 332, ...) to the deposit location (321, 322, ...), - energy consumption of the device (G1, G2), - throughput.

6. Method according to one of the preceding claims, characterized in that the generation of the training data is configurable and. 2022P17483WO Foreign Version 19 is automated.

7. Method according to one of the preceding claims, characterized in that, to simplify a simulation, only a number n of test cases or objects (331, 332, ...), in particular the last n objects, are considered during the training phase.

8. Method according to claim 7, characterized in that the number n is determined by means of hyperparameter optimization.

9. Computer program product for optimizing a motion control system using reinforcement learning for implementing the method according to one of claims 1 to 8. 10.Device for optimizing the movement control of a device (G1, G2) using reinforcement learning (146), comprising an agent (16) suitable for carrying out training by means of reinforcement learning, wherein a training phase (P1) takes place as a surrogate simulation using generated training data (17), wherein the generated training data simulate a simplified representation of the control of the device, wherein the training phase (P1) of the reinforcement learning comprises a first optimization objective with a first reward function, and wherein the training phase (P1) of the reinforcement learning comprises at least one second optimization objective, different from the first optimization objective, with a second reward function, and. 2022P17483WO Foreign Version 20 wherein the training phase (P1) directs a training portion toward the first optimization goal and a training portion toward at least the second optimization goal, by means of a weighted sum of the reward functions of the respective optimization goals, an interface (14, 15) for outputting control signals to the device (G1), and the agent (16) is trained to optimize the motion control for the optimization goal of the device (G1) as a function of the optimization goal of a second device (G2).

11. Device according to claim 10, characterized in that the device (G1, G2) is a recording device suitable for performing a pick & place action of an object (331, 332, ...). 12.Device according to claim 10, characterized in that the object (331, 332, ...) is picked up by the device (G1, G2) from a transport device (33) and placed on a receiving device (32), wherein the movement control for the device (G1, G2) is designed to carry out the following method steps: - selection of the object (331, 332, ...) on the transport device (33), - selection of the device from a set of devices (G1, G2), - picking up the selected object (331, 332, ...) by the selected device (G1, G2), - selection of a deposit location (321, 322) for the object, and - depositing the object (331, 332, ...) by the device at the selected deposit location (321, 322, ...). 2022P17483WO Foreign Version 21 13. Device according to one of the preceding claims 10 to 12, characterized in that the first optimization objective and the second optimization objective each relate to one of the following aspects: - transport time of the object (331, 332, ...) to the deposit location, - travel path of the device (341, 342, ...), - pick-up rate of the objects to be transported, - wear of the device (G1, G2), - correct assignment of the object (331, 332, ...) to the deposit location (321, 322, ...), - energy consumption of the device (G1, G2), - throughput.

14. Device according to one of the preceding claims 10 to 13, characterized in that the generation of the training data is configurable and automated.

15. Device according to one of the preceding claims 10 to 14, characterized in that during the training phase, only a number n of test cases or objects (331, 332, ...), in particular the last n objects, are considered. 16.Device according to one of the preceding claims 10 to 15, characterized in that the number n is found by means of hyperparameter optimization.

17. Device according to one of the preceding claims 10 to 16. 2022P17483WO Foreign version 22 characterized in that the implementation takes place on an edge device (146), by means of a proxy server (14) and Rest API (15).

Citation Information

Patent Citations

  • Optimisation of an automated process for selecting and gripping an object by a robot

    EP3456485A1

  • Robotic physical distribution tracking system

    US20050075752A1

  • Machine learning device and machine learning method for learning optimal object grasp route

    US20180089589A1

  • Trajectory optimization using neural networks

    US20210276188A1

  • Deep reinforcement learning apparatus and method for pick-and-place system

    US20230040623A1