Generating control program for robot manipulator
By using empirical data and artificial neural networks to generate control programs for robot manipulators, the method addresses the complexity of transferring control programs across differently designed robots, enabling efficient and adaptive control program generation.
Patent Information
- Application Number
- JP2024096306
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2019-12-27
- Filing Date
- 2024-06-13
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2040-12-22
AI Technical Summary
The generation of control programs for robot manipulators is complex and requires significant effort due to the need to consider the specific design conditions of each robot, making it difficult to transfer control programs between robots of different designs.
A method to generate a control program for a second robot manipulator based on empirical data from a first robot manipulator, using time series data from joint angle sensors and wrench sensors, independent of the first robot's design, and applying artificial neural networks to determine robot commands that can be adapted to the second robot's design conditions.
This approach simplifies and accelerates the generation of control programs for robots of different designs by using empirically derived functional information, allowing seamless adaptation of control programs without requiring additional sensors.
Smart Images

Figure 2024119974000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a method for generating a control program for a second robot manipulator based on empirical data obtained when a specific application is executed by a first robot manipulator, and to a robot system having a first control unit and a second control unit for executing the method. Summary of the Invention [Problem to be solved by the invention]
[0002] It is an object of the present invention to simplify the generation of control programs for the execution of tasks by robotic manipulators. [Means for solving the problem]
[0003] The invention results from the features of the independent claims. Advantageous developments and embodiments are the subject of the dependent claims.
[0004] A first aspect of the present invention relates to a method for generating a control program for a second robot manipulator based on empirical data obtained by executing a predetermined application by a first robot manipulator, - executing the predetermined application by the first robotic manipulator; - during execution of the given application: acquiring time series data of trajectory data by joint angle sensors of the first robot manipulator and / or time series data of wrench data by a sensor unit of the first robot manipulator for detecting forces and / or torques, storing the acquired time series data in a storage unit, the trajectory data being composed of kinematic data with respect to a reference point of the first robot manipulator or with respect to joint angles of the first robot manipulator, and the wrench data being composed of forces and / or torques acting between the first robot manipulator and surrounding objects, determining robot commands from the stored time series data and storing the determined robot commands in a storage unit, the robot commands being key elements of a control program for each robot manipulator without reference to design conditions of the first robot manipulator; generating a control program for the second robot manipulator based on the stored robot commands and design conditions of the second robot manipulator; This includes the steps:
[0005] Additionally, the following steps are preferably performed: a control program for the second robot manipulator is executed by means of the second robot manipulator, in particular by a second control unit of the second robot manipulator.
[0006] The first robot manipulator and the second robot manipulator are not necessarily of similar or identical design, but may have different technical solutions or designs. The first robot manipulator is connected to a (first) control unit, which is designed in particular to execute a first control program for executing a given application. This first control program is specifically optimized for the first robot manipulator, i.e. it takes into account the technical conditions and design solutions in the first robot manipulator, such that the application can be fully executed by the first robot manipulator, whereby the first control program is also specifically optimized for the design conditions of the first robot manipulator. All steps of the method according to the first aspect of the invention are preferably performed by the first control unit. Alternatively, the control program for the second robot manipulator is preferably generated by a second control unit, which is different from the first control unit.
[0007] In a first step of the method according to the first aspect of the invention, a predetermined application is executed by a first robot manipulator, in particular moving an object, gripping an object, selecting an object from a number of objects, gripping the selected object, surface processing of a workpiece or other tasks typical of a robot manipulator.
[0008] During the execution of a given application by this first robot manipulator, a time series of trajectory data is determined, in particular by the first control unit. This is done on the basis of sensor values from a joint angle sensor of the first robot manipulator, which is in particular designed to detect and output the respective angle between two links of the first robot manipulator connected to each other by a common joint. In particular, this is performed repeatedly at high frequency in discrete time steps, so that a time series of discrete joint angles of the first robot manipulator is available. The pose of the first robot manipulator is thus known over all joint angles at each time point, from which a path curve of a reference point of the first robot manipulator can be determined relative to a Cartesian coordinate system, in particular a first fixed coordinate system.
[0009] The reference point of the first robot manipulator is preferably conceptually located at a distal end of the first robot manipulator, more preferably at an end effector. The trajectory concept further comprises purely geometric information of the movement, i.e. purely in terms of joint angles or (also) in terms of a Cartesian trajectory of the reference point of the first robot manipulator. Optionally, the trajectory concept further comprises time information, such that each position of the geometric path curve is also associated with a time, and the velocity and / or acceleration of the reference point during the traversal of this geometric path curve is also made known via the information of the geometric path curve.
[0010] In addition to or as an alternative to the joint angle information, during certain applications of this embodiment, Cartesian information of a path curve or trajectory based on the joint angle information is detected by the first robot manipulator, in particular by one or more forces and / or torques acting between the first robot manipulator and objects in its surroundings, the latter being done in particular by sensor units for detecting forces and / or torques, preferably torque sensors in the joints or strain gauges in the robot structure, whereby time series data of force-related interactions between the first robot manipulator and its surroundings are recorded.
[0011] As a result, it is possible to obtain kinematic information and / or force / torque information during the execution of a given application by the first robot manipulator. These data are stored in each time series data, so that the history of the execution process of the application can be known.
[0012] Robot commands are then formed from the information of this time series data. Such robot commands provide functional information on how to execute a given application in general based on how it was specifically executed by a first robot manipulator, regardless of the design conditions of the first robot manipulator. These robot commands therefore do not take into account the transformation via the Jacobian matrix or its (pseudo) inverse valid for the first robot manipulator, i.e. how the movement of an object from a first position to a second position should be specifically executed by controlling the interrelationship of actuators. The robot commands are abstracted as functional blocks of a control program and are executed, in principle, independently of the architecture of the currently used robot manipulator. Thus, they basically correspond to the commands of the outermost loop of the closed-loop control of each robot manipulator during the execution of the control program.
[0013] Based on this abstracted information, a specific control program for the second robot manipulator is then generated, and the complete control program for the second robot manipulator takes into account the design conditions of the second robot manipulator, in particular how many joints the second robot manipulator has, whether it is a redundant or unique second robot manipulator, what type of gripper or end effector in general is currently placed on the second robot manipulator, etc.
[0014] An advantageous effect of the present invention is thus that a control program for a second robot manipulator is provided based on empirically obtained data during the execution of an application by a first robot manipulator, the control program already containing functionally essential information in the form of robot commands, so that no further sensors are required for the second robot manipulator and the application executed thereby and its control program, in particular for detecting objects in the second robot manipulator's surroundings, and generally the control program for the second robot manipulator will be adapted to the current situation. Rather, the execution of the application is based on the provided robot commands, which contain empirically determined information of the execution of the application by the first robot manipulator. Advantageously, the generation of the control program for the second robot manipulator is thus significantly accelerated and simplified, since information can be derived from an already performed execution of the application, regardless of whether the first and second robot manipulators are of identical structure or the two differ in terms of structure or configuration or software.
[0015] According to an advantageous embodiment, the robot commands include at least one of the following categories: - a predetermined path curve from a predetermined start point to a predetermined end point of a reference point of each of said robot manipulators; - the speed of a reference point on the path curve; - the acceleration of a reference point on the path curve; the forces and / or torques that a reference point of each robot manipulator exerts on objects around each robot manipulator; and -The target torque for the rotational actuator of each robot manipulator.
[0016] According to a further advantageous embodiment, at least two successive robot commands from different categories are determined and a mixed transition between the two successive categorically different robot commands is determined. In particular, the mixed transition smoothly transitions between the selected robot commands, which corresponds to intuitive human behavior, e.g. combining vision and touch and coordinating touch and vision. For example, the transition from impedance closed loop control and so-called "visual servoing" (light guideway) is generated with a smooth function course without jumps as weight function.
[0017] According to a further advantageous embodiment, the mixed transition is performed by a predetermined function course which is continuous and time-dependent over the time of the transition. Such a continuous function course is in particular one which is free of jumps and kinks and in particular shows a strictly monotonically descending or ascending progression over the time duration of the transition. Such a function course is advantageous for a particularly smooth transition between the application of the robot commands.
[0018] According to a further advantageous embodiment, the robot commands are determined from the stored time series data by non-linear optimization, in particular using a cost function reflecting the difference between the time series data virtually executed with the selected command and the time series data actually executed. Such a cost function is then minimized by a method of non-linear optimization, in particular gradient-based methods, evolutionary methods, genetic algorithms, quadratic optimization methods, etc., in order to select the robot commands which, in particular, by back calculation, result in time series data which also correspond to the actual time series data. In this way, the most suitable robot command is selected.
[0019] According to a further advantageous embodiment, the robot commands are determined from the stored time series data by means of applying a predefined artificial neural network, the input variables of which are the stored time series data and the output variables of which are a respective selected one of a plurality of at least structurally predefined robot commands, the parameters of each selected one of the predefined robot commands being adapted on the basis of the stored time series data. The advantage of artificial neural networks is their high flexibility and the wide class of functions they can represent.
[0020] According to a further advantageous embodiment, the determination of the time series of trajectory data is additionally performed by a camera unit, which is preferably arranged on the robot manipulator itself. Furthermore, the camera unit is preferably a stereo camera unit, whereby advantageously spatial information on the path curve of the robot manipulator and / or the trajectory of the reference points is acquired by the camera unit. Information from the camera unit is preferably fused or supplemented with information from the joint angle sensors.
[0021] According to a further advantageous embodiment, the camera unit is an external camera unit, which is preferably arranged physically separate from the first robot manipulator on a frame or other support around the first robot manipulator. Advantageously, information from non-robot sensors is also available, which can be optimally complemented with the robot sensors to form a more reliable data source.
[0022] According to a further advantageous embodiment, the design conditions of the first robot manipulator and / or the second robot manipulator include at least one of the following: - the distance between the joints of each robot manipulator, - number of joints in each robot manipulator, - the maximum torque that each robot manipulator's rotary actuator can exert, -Type and configuration of end effectors for each robot manipulator, - the virtual stiffness of the closed-loop control of each robot manipulator, in particular the stiffness of the virtual spring in the impedance closed-loop control; -Material stiffness of each robot manipulator's links and joints, - the maximum geometrically possible workspace of each robot manipulator, - the time constants and / or bandwidths of the actuators of each robot manipulator, -Safety level of each robot manipulator, current safety settings, residual risks, the physical presence and / or configuration of a communication interface for each robot manipulator, - the number of robotic arms for each robotic manipulator, -The mass and / or inertia of each robot manipulator component (especially the links).
[0023] Another aspect of the invention relates to a robotic system including a first control unit and a second control unit used together to generate a control program for a second robotic manipulator of the robotic system based on empirical data from executing a predetermined application by a first robotic manipulator of the robotic system, the first control unit being designed to control the first robotic manipulator to execute the predetermined application, and further being designed to determine, during the execution of the predetermined application, time series data of trajectory data by joint angle sensors of the first robotic manipulator and / or time series data of wrench data by sensor units of the first robotic manipulator, and store the determined time series data in a storage unit, and The path data includes kinematic data regarding a reference point of the first robot manipulator and / or regarding the joint angles of the first robot manipulator, the wrench data includes forces and / or torques acting between the first robot manipulator and surrounding objects, and the first control unit is configured to determine robot commands from the stored time series data and store the determined robot commands in the storage unit, the robot commands being main elements of a control program for each robot manipulator without reference to design conditions of the first robot manipulator, and the second control unit is designed to generate a control program for the second robot manipulator based on the stored robot commands and based on design conditions of the second robot manipulator.
[0024] Advantages and preferred further embodiments of the proposed robotic system result from analogous and mutatis mutandis transfer of the explanations made above in relation to the proposed method.
[0025] Further advantages, features and details can be obtained from the following description, in which at least one example embodiment is described in detail with reference to the drawings, in which identical, similar and / or functionally identical parts are referred to with the same reference numerals. [Brief description of the drawings]
[0026] [Figure 1] FIG. 1 illustrates a method for generating a control program for a second robotic manipulator based on empirical data from executing a given application by a first robotic manipulator according to an exemplary embodiment of the present invention. [Diagram 2] FIG. 2 illustrates a robotic system for implementing the method of FIG.
[0027] The representations in the figures are schematic and not to scale.
[0028] FIG. 1 shows a method for generating a control program for a second robot manipulator 2 based on empirical data of the execution of a given application by a first robot manipulator 1. The following description of the method also refers to the robot system 10 of FIG. 2. Therefore, both figures can be referred to for understanding, and in particular the following mentioned reference numbers can also refer to FIG. 1 and, optionally, to FIG. 2. In a first step, the execution S1 of a given application by the first robot manipulator 1 is performed. This application concerns lifting a pointed object from a cylindrical box. For this purpose, a control program for the first robot manipulator 1 is predefined that is adapted to the design conditions of the first robot manipulator 1, in particular the number of joints, the link shape and the shape of the gripper. During the execution of the application, in a next step, the determination S2 of the time series data of the trajectory data by the joint angle sensors 3 of the first robot manipulator 1 and the time series data of the wrench data by the sensor unit 5 of the first robot manipulator 1 is performed, each joint of the first robot manipulator 1 houses a joint angle sensor 3 together with a torque sensor of the sensor unit 5 for detecting forces and torques. These determined time series data are stored in the storage unit 7. The trajectory data includes the above data for the reference point of the first robot manipulator 1 by converting the joint angles into a Cartesian position course of the reference point on the end effector of the first robot manipulator 1. Meanwhile, the wrench data includes the forces and torques acting between the first robot manipulator 1 and the pointed object. Further follows the determination S3 of the robot commands from the stored time series data and the storage of the determined robot commands in the storage unit 7, the robot commands being the main element of the control program of each robot manipulator, regardless of the design conditions of the first robot manipulator 1. The composite robot command includes a predetermined path curve of the reference point of the first robot manipulator 1 from the box to a predetermined end point, thereby including the acceleration of the reference point on the path curve and the forces and torques applied by the end effector at the reference point on the pointed object.These robot commands, when combined, result in a functional sequence of an application independent of the design conditions of the first robot manipulator 1 mentioned above. All time series data are fed as input variables to an artificial neural network, which is applied to determine the robot commands such that the combination of robot commands follows the output upon execution of the artificial neural network. Then, a control program for the second robot manipulator 2 is generated S4 based on the stored robot commands and the design conditions of the second robot manipulator 2. These are explained in more detail in the description of FIG. 2.
[0029] FIG. 2 shows a robot system 10 having a first control unit 11 and a second control unit 12 that generate a control program for a second robot manipulator 2 of the robot system 10 based on empirical data of a predetermined application executed by a first robot manipulator 1 of the robot system 10. In this case, the robot manipulator 1 is a conventional one-arm robot manipulator that does not have a redundant degree of freedom. In contrast, the second robot manipulator 2 is a two-arm robot manipulator. Therefore, the design conditions of the two robot manipulators 1 and 2 are different from each other. The first control unit 11 is provided in the first robot manipulator 1 and controls the first robot manipulator 1 for execution S1 of a predetermined application, and determines time series data of trajectory data by the joint angle sensor 3 of the first robot manipulator 1 and time series data of wrench data by the sensor unit 5 of the first robot manipulator 1 during the execution of the predetermined application, and stores the determined time series data in the storage unit 7. Furthermore, the first control unit 11 determines robot commands from the stored time-series data, and stores the determined robot commands in the memory unit 7 that is a part of the first control unit 11. The second control unit 12 is disposed on the second robot manipulator 2, and is used to generate a control program for the second robot manipulator 2 based on the stored robot commands and on the design conditions of the second robot manipulator 2.
[0030] Although the present invention has been further illustrated and described in detail by preferred embodiments, the present invention is not limited by the disclosed examples, and other variations may be derived from the present invention by those skilled in the art without departing from the scope of protection sought for the present invention. Thus, it is clear that various variations exist. It is also clear that the exemplary embodiments described are in fact merely examples, and should not be understood as, for example, limiting the scope of protection, possible applications or configurations of the present invention. Rather, the foregoing description and the description of the figures enable those skilled in the art to implement the exemplary embodiments in specific aspects, whereby those skilled in the art can recognize the disclosed inventive idea and make various modifications in the function or arrangement of the individual elements described in the exemplary embodiments without leaving further explanation in the specification, such as the scope of protection defined by the claims and their legal equivalents. [Explanation of symbols]
[0031] 1. First robot manipulator 2 Second Robot Manipulator 3. Joint angle sensor 5 Sensor unit 7. Storage Unit 10 Robot System 11 First control unit 12 Second control unit S1 Execution S2 decision S3 Decision S4 generation
Claims
1. A method for generating a control program for a second robot manipulator (2) based on empirical data obtained by executing a predetermined application using a first robot manipulator (1), the method comprising the steps of: - executing a given application by the first robot manipulator (1) (S1); - determining (S2) time series data of trajectory data from joint angle sensors (3) of the first robot manipulator (1) and / or time series data of wrench data from a sensor unit (5) of the first robot manipulator (1) for detecting forces and / or torques during the execution of a given application, and storing the determined time series data in a storage unit (7), the trajectory data consisting of kinematic data of the first robot manipulator (1) with respect to a reference point or data on the joint angles of the first robot manipulator (1) and the wrench data consisting of forces and / or torques acting between the first robot manipulator (1) and surrounding objects, - determining (S3) robot commands from the stored time series data and storing the determined robot commands in a storage unit (7), the robot commands being the main elements of a control program for each of said robot manipulators, without reference to the design conditions of said first robot manipulator (1); and - Based on the stored robot commands, a control program for the second robot manipulator (2) is generated based on the design conditions of the second robot manipulator (2) (S4).
2. 2. The method of claim 1 , The robot commands include at least one of the following categories: - a predetermined path curve from a predetermined start point to a predetermined end point of a reference point of each of said robot manipulators, the path curve indicating the end point of said path curve; - the speed of a reference point on the path curve, - acceleration of a reference point on the path curve, - forces and / or torques that a reference point of each robot manipulator exerts on objects in the vicinity of each robot manipulator; - the target torque for the rotary actuator of each said robot manipulator.
3. The method of claim 2 , wherein at least two successive robot commands from different categories are determined, and wherein a blend transition between the two successive categorically different robot commands is determined.
4. 4. The method of claim 3, wherein the blend transition is performed according to a predetermined function course that is continuous and dependent on the time of the transition.
5. The method according to claim 1 , wherein the determination of robot commands from the stored time series data is performed by non-linear optimization.
6. 6. The method according to claim 1, wherein the determination of robot commands from the stored time series data is performed by applying a predefined artificial neural network, input variables of the artificial neural network being the stored time series data and output variables of the artificial neural network being respectively selected ones of a plurality of structurally predefined robot commands, parameters of each selected one of the predefined robot commands being adapted based on the stored time series data.
7. The method according to claim 1 , wherein the determination of the time series of the trajectory data is additionally performed by a camera unit.
8. The method of claim 7, wherein the camera unit is an external camera unit.
9. 9. The method according to any one of claims 1 to 8, characterized in that the design conditions of the first robot manipulator (1) and / or the second robot manipulator (2) include at least one of the following: the distance between the joints of each of said robot manipulators, the number of joints of each of said robot manipulators, the maximum torque that can be applied by the rotary actuator of each said robot manipulator; - the type and configuration of the end effector of said robot manipulator, the virtual stiffness of the closed-loop control of each of said robot manipulators, the material stiffness of the links and joints of each of said robot manipulators; the maximum geometrically possible workspace of each of said robot manipulators, the time constants and / or bandwidths of the actuators of each of said robot manipulators, the safety level and / or current safety settings and / or residual risks of each of said robot manipulators, the physical presence and / or configuration of a communication interface of each of said robot manipulators, the number of robot arms of each of said robot manipulators, The mass and / or inertia of the components (particularly the links) of each of said robot manipulators.
10. A robot system (10) comprising a first control unit (11) and a second control unit (12), a robot system for generating a control program for a second robot manipulator (2) of the robot system (10) based on empirical data of a predetermined application executed by a first robot manipulator (1) of the robot system (10); the first control unit (12) is configured to control the first robot manipulator (1) to execute the predetermined application (S1), and to determine, during the execution of the predetermined application, time series data of trajectory data from a joint angle sensor (3) of the first robot manipulator (1) and / or time series data of wrench data from a sensor unit (5) of the first robot manipulator (1), and store the time series data in a storage unit (7); the trajectory data comprises kinematic data relating to a reference point of the first robot manipulator (1) or a joint angle of the first robot manipulator (1); the wrench data comprises forces and / or torques acting between the first robotic manipulator (1) and surrounding objects; The first control unit (11) is configured to determine a robot command from the stored time series data and store the determined robot command in the storage unit (7); Robot commands are the main elements of the control program of each of the robot manipulators, regardless of the design conditions of the first robot manipulator (1); The second control unit (12) is configured to generate a control program for the second robot manipulator (2) based on the stored robot commands and design conditions of the second robot manipulator (2).
Citation Information
Patent Citations
Article gripping device and control device of article gripping device
JP2019188561A
Learning control method and computer system
JP2019219741A
Deep Reinforcement Learning for Robot Manipulation
JP2019529135A
Robot skill management
US20190262990A1
