Executing robotic application and creating program to execute robotic application
Through the JSON-LD data format, the input name and dictionary are unified, the complexity of robot programming of various manufacturers is solved, and the flexible and reliable programming and execution of robot applications is realized.
Patent Information
- Application Number
- CN202380032196.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2022-04-06
- Filing Date
- 2023-03-03
- Publication Date
- 2024-11-15
AI Technical Summary
The prior art is difficult to program uniformly among robots from multiple manufacturers, resulting in complex and inflexible programming.
Using JSON-LD or similar data formats, the input name and dictionary are uniformly set, and the interpretation of the programming input is converted into machine-readable program instructions, supporting the programming and execution of a variety of robot applications.
It realizes simple, flexible and reliable programming of different robots, supports unified programming and execution of multiple robot applications, and improves programming efficiency.
Smart Images

Figure CN118973770A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a method and a system for creating a program for executing a robot application, which robot application includes multiple actions, especially movements, of a first robot, and in particular to a method and a system for executing a robot application, and a computer program or a computer program product for executing the method described herein. Background Art
[0002] In many robot applications, robots from different manufacturers are used, in particular robots from different manufacturers are used together, selectively, etc. In this case, the robots must each be programmed individually or manufacturer-specifically.
[0003] On the other hand, a context-based data format or data structure is known, for example for the Internet using JSON-LD, which is particularly suitable as an interface between machines. Summary of the invention
[0004] The object of the present invention is to better implement a robot application or to better create a program for implementing a robot application.
[0005] The object of the invention is achieved by a method having the features of claim 1 or 5. Claims 6 and 7 claim a system or a computer program product for carrying out the method described here. The dependent claims provide preferred developments.
[0006] According to one embodiment of the present invention, the robot application includes a plurality of actions of a first robot.
[0007] In one embodiment, one or more of these actions respectively include one or more movements of the first robot, in particular such movements. In one embodiment, the first robot and / or the further robots mentioned below (in each case) have a robot arm having at least three joints, in particular at least six joints, which in one embodiment are revolute joints.
[0008] According to one embodiment of the present invention, a method for creating a program for executing a robot application comprises the following steps:
[0009] - collecting programming input to program the actions of the first robot; and
[0010] -Creating programs based on the collected programming input.
[0011] According to one embodiment of the invention, in particular for different robots, in particular different types of robots and / or robots from different manufacturers, input names or keys or a dictionary (lexikon) or vocabulary (vokabular) with input names or keys is predefined uniformly, in one embodiment depending on the context (kontext), in one embodiment depending on a predefined context, in an extended embodiment via JSON-LD or a similar standard or data format or data structure. Subsequently, for or in the process of creating a program, based on (respectively)
[0012] - (these) uniformly set input names, which in one embodiment are uniformly set input names according to the context, or input names from a dictionary used by the corresponding programmatic input, and
[0013] - the content determined for the input name used according to the corresponding programming input, in particular one-dimensional or multi-dimensional values,
[0014] The programming input is interpreted, in particular converted into machine-readable program instructions or for the first robot, in one embodiment using JSON-LD or a similar standard or data format or data structure.
[0015] Thus, in one embodiment, a robot application can advantageously be programmed for different robots or executed using different robots.
[0016] Additionally or alternatively, according to one embodiment of the present invention, the one or more programming inputs include (respectively)
[0017] - one or more specifications of (each) a coordinate space (of the first robot), which in an extended version is one or more selections (respectively) between a plurality of predefined coordinate spaces, in one embodiment a specification of a coordinate space for motion input and / or a coordinate space for posture of the first robot. In one embodiment, the predefined coordinate space, in particular the coordinate space for motion input and / or for posture, comprises a joint coordinate space and / or one or more workspaces, in an extended version a coordinate space fixed to the environment and / or a coordinate space fixed to the end effector and / or
[0018] or fixed to the workpiece's coordinate space; and / or
[0019] - a description of a control method for the first robot, in particular a selection between a plurality of predefined control methods, which in an extension comprise position control, speed control and / or force control, in particular impedance control and / or admittance control; and / or a parameterization of a possibly selectable control method; and / or
[0020] - a description of the trajectory of the first robot, in particular a selection between a plurality of predefined trajectory types, wherein in an extended embodiment the trajectory types include point-to-point or PTP trajectories, circular arc segments or CIRC trajectories, straight line or LIN trajectories, spline or SPL trajectories, and / or one or more other trajectory types; and / or a parameterization of the possibly selectable trajectory (type); and / or
[0021] - a description, in particular a parameterization, of a pose, in particular a target pose, of the first robot, in particular when selecting between a plurality of predefined coordinate spaces for the pose, wherein in one embodiment the coordinate space comprises a joint coordinate space and / or one or more workspaces, in one embodiment the coordinate space comprises a coordinate space fixed to the environment and / or
[0022] or a coordinate space fixed to the end effector and / or a coordinate space fixed to the workpiece; and / or
[0023] or
[0024] - a specification of a tool movement of the first robot, in particular a selection between a plurality of predefined tool movements and / or a parameterization of possibly selectable tool movements; and / or
[0025] - a specification of a sensor type and / or a sensor action of the first robot, in particular a selection between a plurality of predefined sensor types and / or sensor actions, wherein in one specific embodiment the sensor is a sensor guided by the first robot.
[0026] By means of these programming inputs, in particular by providing or having at hand a corresponding dictionary or a corresponding context for these programming inputs, a robot application can be programmed or executed particularly easily, flexibly and / or reliably.
[0027] In one embodiment, the robot application includes a plurality of actions of at least one further robot different from the first robot. In one embodiment, one or more of these actions each include one or more movements of the further robot, in particular such movements.
[0028] In one embodiment, the method comprises the following steps:
[0029] - collecting programming input to program these actions of another robot; and
[0030] -Creating programs based on the collected programming input.
[0031] In one embodiment, for the purpose of creating a program or during the process of creating a program, based on
[0032] - (these) uniformly set input names, which in one embodiment are uniformly set input names according to the context, or input names from a dictionary used by the corresponding programmatic input, and
[0033] - the content determined for the input name used according to the corresponding programming input, in particular one-dimensional or multi-dimensional values,
[0034] Interpreting the programming input, in particular converting it into machine-readable program instructions or for another robot, in one embodiment using JSON-LD or a similar standard or data format or data structure
[0035] Thus, in one embodiment, a robot application can advantageously be programmed or executed for a plurality of different robots.
[0036] Additionally or alternatively, in one embodiment, the one or more programming inputs for programming the actions of another robot include (respectively):
[0037] - one or more specifications of a coordinate space (of another robot), in one embodiment one or more selections between a plurality of predefined coordinate spaces, in one embodiment a coordinate space of another robot for movement input and / or
[0038] Or a description of a coordinate space for a posture. In one embodiment, the predetermined coordinate space, in particular the coordinate space for the motion input and / or for the posture, comprises a joint coordinate space and / or one or more workspaces, and in an extended embodiment comprises a coordinate space fixed to the environment and / or a coordinate space fixed to the end effector and / or a coordinate space fixed to the workpiece; and / or
[0039] - a description of a control method for another robot, in particular a selection between a plurality of predefined control methods, which in one embodiment include position control, speed control and / or force control, in particular impedance control and / or admittance control; and / or a parameterization of a possibly selectable control method; and / or
[0040] - a description of the trajectory of another robot, in particular a selection between a plurality of predefined trajectory types, wherein in an extended embodiment the trajectory types include point-to-point or PTP trajectories, circular arc segments or CIRC paths, straight line or LIN trajectories, spline or SPL trajectories, and / or one or more other trajectory types; and / or a parameterization of the possible selected trajectories (types); and / or
[0041] - a description, in particular a parameterization, of a pose, in particular a target pose, of another robot, in particular when selecting between a plurality of predefined coordinate spaces for the pose, wherein in one embodiment the coordinate space comprises a joint coordinate space and / or one or more workspaces, in another embodiment the coordinate space comprises a coordinate space fixed to the environment and / or
[0042] or a coordinate space fixed to the end effector and / or a coordinate space fixed to the workpiece; and / or
[0043] or
[0044] - specification of a tool action of another robot, in particular a selection between a plurality of predefined tool actions and / or a parameterization of a possibly selected tool action; and / or
[0045] - a specification of a sensor type and / or a sensor action of a further robot, in particular a selection between a plurality of predefined sensor types and / or sensor actions, wherein, in one embodiment, the sensor is a sensor guided by the first robot.
[0046] By means of these programming inputs, in particular by providing or having at hand a corresponding dictionary or a corresponding context for these programming inputs, a robot application can be programmed or executed particularly easily, flexibly and / or reliably for a plurality of different robots.
[0047] In one specific embodiment, the input name is predefined uniformly as a function of the description of the context, in a further development as a function of the description of the type within a given context and / or with the aid of JSON-LD.
[0048] It is therefore advantageous that, in one embodiment, different contexts or different types within a given context can be accessed selectively or alternately, or that globally available and well-structured standards or data formats can be used with JSON-LD. Thus, in one embodiment, the robot application can be programmed or executed particularly flexibly and / or reliably.
[0049] In one specific embodiment, when creating a program, one or more programming actions are implemented with the aid of a state machine.
[0050] In one embodiment, branching (“IF . . . THEN . . .”, “IF . . . ELSE . . . .”, etc.) can thus be advantageously implemented.
[0051] According to one embodiment of the present invention, a method for executing a robot application comprises the following steps:
[0052] - creating a program according to the method described herein; and
[0053] - Executing the created program with the aid of the first robot and, if necessary, with the aid of a further robot.
[0054] According to one embodiment of the present invention, a system for creating a program for executing a robot application, in particular a system for executing a robot application, is designed in terms of hardware and / or software technology, in particular program technology, for executing the method described herein, and / or comprises:
[0055] - means for acquiring programming input to program the movements of the first robot; and
[0056] - Means for creating a program based on the collected programming input.
[0057] According to one embodiment of the present invention, in order to create programs for different robots, input names are set uniformly, and in one embodiment, the input names are set uniformly according to the context; and the device for creating programs includes a device for interpreting the programming input based on the input names used for the corresponding programming input and for the input names used according to the corresponding programming input, in particular, the content determined by means of JSON-LD.
[0058] Additionally or alternatively, according to one embodiment of the present invention, at least one programming input includes: at least one description of a (first robot) coordinate space, in particular at least one selection between multiple pre-given coordinate spaces; a description of an adjustment method for the first robot, in particular a selection between multiple pre-given adjustment methods; a description of the trajectory of the first robot, in particular a selection between multiple pre-given trajectory types; a description of the posture of the first robot, in particular when selecting between multiple pre-given coordinate spaces for the posture; a description of a tool action of the first robot, in particular a selection between multiple pre-given tool actions; and / or a description of a sensor type and / or a sensor action of the first robot, in particular a selection between multiple pre-given sensor types and / or sensor actions.
[0059] In one embodiment, the robot application comprises a plurality of actions, in particular movements, of at least one further robot different from the first robot, and the above-mentioned system or the device thereof comprises:
[0060] - means for acquiring programming inputs for programming these movements of another robot; and
[0061] - Means for creating a program based on the collected programming input.
[0062] In one embodiment, the device for creating a program includes a device for interpreting programming input, for programming the actions of another robot based on a uniformly set input name used for the corresponding programming input, in one embodiment, an input name uniformly set according to the context, and for the input name used according to the corresponding programming input, in particular, the content determined with the help of JSON-LD.
[0063] Additionally or alternatively, according to one embodiment of the present invention, at least one programming input for programming the action of another robot includes: a description of a (other robot) coordinate space, in particular at least one selection between multiple pre-given coordinate spaces; a description of an adjustment method for the other robot, in particular a selection between multiple pre-given adjustment methods; a description of the trajectory of the other robot, in particular a selection between multiple pre-given trajectory types; a description of the posture of the other robot, in particular when selecting between multiple pre-given coordinate spaces for the posture; a description of a tool action of the other robot, in particular a selection between multiple pre-given tool actions; and / or a description of a sensor type and / or sensor action of the other robot, in particular a selection between multiple pre-given sensor types and / or sensor actions.
[0064] In one embodiment, the above system or device comprises
[0065] - means for uniformly setting the input name as a function of the description of the context, in particular as a function of the description of the type within the described context and / or by means of JSON-LD; and / or
[0066] - means for implementing at least one programming action during the creation of a program by means of a state machine; and / or
[0067] - means for executing the created program by means of the first robot and, if necessary, by means of a further robot.
[0068] The system and / or device within the meaning of the present invention can be constructed in hardware technology and / or software technology, in particular, it has: at least one processing unit, in particular a digital processing unit, in particular a microprocessor unit (CPU), a graphics card (GPU), etc., which is preferably connected to a memory system and / or a bus system for data or signals; and / or one or more programs or program modules. The processing unit can be designed to: process instructions implemented as a program stored in the storage system; collect input signals from the data bus; and / or send output signals to the data bus. The storage system can have one or more, in particular different storage media, in particular optical, magnetic, solid and / or other non-volatile media. The program can be provided as follows: it can embody or execute the method described herein, so that the processing unit can perform the steps of the method and thus can in particular create or execute the program. In one embodiment, the computer program product can have, can in particular be a computer-readable, non-volatile storage medium for storing programs or instructions or a storage medium on which a program is stored or on which instructions are stored. In one embodiment, executing the program or instructions by a system or controller, in particular a computer or multiple computers, will allow the system or controller, in particular one or more computers, to perform the method described herein or one or more steps thereof, or the program or instructions are designed for this purpose.
[0069] In one embodiment, one or more, in particular all, steps of the method are performed completely or partially automatically, in particular by the system or a device thereof.
[0070] In one specific embodiment, the system has a first robot and, if applicable, a further robot.
[0071] The present invention is described with reference to JSON-LD as this is a known and advantageous standard or data format or data structure, but is not limited thereto in any way. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] Further advantages and features are given by the dependent claims and the embodiments. To this end, a partial schematic diagram is shown:
[0073] Figure 1 A system for executing a robotic application according to an embodiment of the present invention;
[0074] Figure 2 A method for executing a robotic application according to an embodiment of the present invention; and
[0075] Figure 3 and Figure 4 Input structure for programming. DETAILED DESCRIPTION
[0076] Figure 1 A system is shown for carrying out a robot application by means of a first robot 1 and, in an extension, optionally also by means of a further robot 2, which are controlled by a central or decentralized or distributed controller 3, which executes a created program and for this purpose has a device 3.1 for creating a program, which, as already mentioned, can also be realized in a decentralized manner, in particular by means of a computer with software running thereon, a cloud, etc., Figure 2 A method for executing a robotics application is shown.
[0077] In a first step S10 , programming inputs are acquired for programming the movements of the first robot and, if necessary, also of a further robot.
[0078] In a second step S20 , a program for executing the robot application is created based on the acquired programming input.
[0079] In a third step S30 , the created program is executed with the first robot and, if applicable, also with a further robot.
[0080] Figure 3 , Figure 4 The programming input structure is shown.
[0081] Program input may include, for example:
[0082] #JSON-LD for Robot Application 1
[0083] {
[0084] "@context":" https: / / schema.org ”,
[0085] "@type":"Robot Application"
[0086] "name":"Robot Application 1",
[0087] ,,step 1":,,Motion Command 1",
[0088] ,,step 2":,,Motion Command 2",
[0089] …
[0090] }
[0091] or
[0092] # JSON-LD for Robot Application 1
[0093] {
[0094] “@context”:“ https: / / schema.org ”,
[0095] “@type”:“Robot Application”
[0096] “name”:“Robot Application 1“,
[0097] ,,Step 1“:,,Movement Command 1“,
[0098] ,,Step 2“:,,Movement Command 2“,
[0099] …
[0100] }
[0101] Or
[0102] # JSON-LD for Robot Application 1
[0103] {
[0104] “@context”:“ https: / / schema.org ”,
[0105] “@type”:“Robot application”
[0106] “name”:“Robot Application 1“,
[0107] ,,step 1“:,,Movement Command 1“,
[0108] ,,step 2“:,,Movement Command 2“,
[0109] …
[0110] }
[0111] And so on.
[0112] Through “@context”:“ https: / / schema.org” explains the context, in which schema.org provides, by way of example, a unified ontology for structuring data on websites based on existing markup languages, through which “@type”: “Robot Application” or “@type”: “Roboterapplikation” provide types that can be generated or modified, in particular expanded, within the context if necessary, and in particular provide the program input described here.
[0113] like Figure 3 , Figure 4 As shown, the program input may include motion instructions or motion commands (“Motion Command”), which have: a selection between multiple pre-given coordinate spaces (“Coordinate Space” or “Domain”: “Gelenk” or “Joint”, “kartesisch” or “Cartesian”); a selection between multiple pre-given control methods (“Algorithmus” or “Range / Algorithm”: “Position”, “Geschwindigkeit” or “Velocity”, “Kraft-Impedanz” or “Force-Impedance”, “Kraft-Admittanz” or “Force-Admittance”); a parameterization of the (selected) control method (“Steifigkeit” or “Stifness”, or, "Damping", "Kraft" or, "Force"); selection between a plurality of predefined trajectory types ("Trajektorie" or, "Trajectory":, "PTP", "CIRC", "LIN", "SPL", "gesampeltesBahnprofil" or, "Sampled Path Profile", "MISC") or their parameterization; robot pose ("Roboterpose" or, "Robot Pose"), in particular with a selection between a plurality of predefined coordinate spaces for the pose ("Gelenk" or, "Joint", "kartesisch" or, "Cartesian") and their parameterization ("Gelenkpose" or, "Joint pose", "EE "Frame", "Redundanz" or "Redundancy"); tool actions ("Greifer" or "Gripper": "Aktionen" or "Actions") or their parameterization ("Offen" or "Open", "Geschlossen" or "Close"); sensor types and / or sensor actions ("Sensoren" or "Sensors": "Kamera" or "Camera", "Beschleunigungsmesser" or "Accelerometer", ... "); and other elements ("Weitere" or "Other"). The corresponding content ("Steifigkeit" or "Stiffness") is determined by corresponding programming inputs. or,,Damping",,,Kraft" or,,Force",,,EE Frame",,,Redundanz" or,,Redundancy",,,Gelenkpose" or,,Joint Pose",,,Offen" or,,Open",,,Geschlossen" or,,Close").
[0114] like Figure 4 As shown, for example, as step 3 of the program, a motion command can be acquired or converted, which includes a position adjustment of the PTP trajectory in the joint angle space relative to the target posture, which is predetermined in the joint angle space by the value "Gelenkpose" (or "Joint pose"). This Figure 4In the example, the line with reference numeral 300 is used to represent the type of the product. Figure 3 In the present invention, reference numeral 100 may be understood as or represent “has Name” or “has Name”, and reference numeral 200 may be understood as or represent “has nicht” or “does not have”.
[0115] The data model of JSON-LD describes an extension or serialization of the RDF model. Therefore, in one embodiment, a robot application can be represented by an RDF graph and then serialized into JSON-LD. For example, an RDF serialization in N-QUALDS serialization is:
[0116] _:b0<http: / / schema.org / name> “Robot Application 1“.
[0117] …
[0118] or
[0119] _:b0<http: / / schema.org / name> “Robotererapplikation 1“.
[0120] Although exemplary embodiments have been described in the foregoing description, it should be noted that many variations are possible. It should also be noted that the exemplary embodiments are merely examples and should not constitute any limitation on the scope of protection, application and configuration. On the contrary, the foregoing description can provide a person skilled in the art with a teaching for converting at least one exemplary embodiment, wherein various changes, in particular with respect to the functions and arrangements of the components, can be achieved without departing from the scope of protection of the present invention, such as can be obtained according to the claims and their equivalent feature combinations.
[0121] Reference numerals list
[0122] 1 First Robot
[0123] 2 Another robot
[0124] 3 Controller
[0125] 3.1 Devices used to create programs
[0126] 100,,hat Namen"(,,has Name")
[0127] 200 “does not have”
[0128] 300 “is of type” (,,is of type”).
Claims
1. A method for creating a program for executing a robot application, the robot application comprising a plurality of actions, in particular movements, of a first robot (1), the method The following steps are involved: - collecting (S10) programming input to program said action of the first robot; as well as - creating (S20) a program based on the collected programming input; wherein, in order to create programs for different robots, in particular depending on the context, input names are uniformly predefined and the programming inputs are interpreted based on the input names used for the respective programming inputs and the content determined for the input names used according to the respective programming inputs, in particular with the aid of JSON-LD; and / or At least one of the programming inputs comprises: at least one description of a coordinate space, in particular at least one selection between a plurality of predetermined coordinate spaces; a description of a control method for the first robot, in particular a selection between a plurality of predetermined control methods; a description of a trajectory of the first robot, in particular a selection between a plurality of predetermined trajectory types; a description of a posture of the first robot, in particular a selection between a plurality of predetermined coordinate spaces for the posture; a description of a tool action of the first robot, in particular a selection between a plurality of predetermined tool actions; and / or a description of a sensor type and / or a sensor action of the first robot, in particular a selection between a plurality of predetermined sensor types and / or sensor actions.
2. The method according to claim 1, It is characterized in that The robot application comprises a plurality of actions, in particular movements, of at least one further robot (2) different from the first robot, and the method comprises the following steps: - collecting programming input to program the actions of said further robot; and - creating a program based on the collected programming input; wherein the programming input is interpreted based on an input name used for the respective programming input, in particular uniformly predefined according to the context, and a content determined for the input name used according to the respective further programming input, in particular with the aid of JSON-LD; and / or At least one of the programming inputs comprises: at least one description of a coordinate space, in particular at least one selection between a plurality of predetermined coordinate spaces; a description of a control method for the further robot, in particular a selection between a plurality of predetermined control methods; a description of a trajectory for the further robot, in particular a selection between a plurality of predetermined trajectory types; a description of a posture for the further robot, in particular a selection between a plurality of predetermined coordinate spaces for the posture; a description of a tool action for the further robot, in particular a selection between a plurality of predetermined tool actions; and / or a description of a sensor type and / or a sensor action for the further robot, in particular a selection between a plurality of predetermined sensor types and / or sensor actions.
3. The method according to any one of the preceding claims, It is characterized in that The input names are predefined uniformly by the specification of the context, in particular by the specification of the type within the specified context and / or by means of JSON-LD.
4. The method according to any one of the preceding claims, It is characterized in that During the creation of the program, at least one programmed action is implemented with the aid of the state machine.
5. A method for executing a robot application, the robot application comprising a plurality of actions, in particular movements, of a first robot, the method The following steps are involved: - creating a program according to any of the preceding claims; and The created program is executed by means of the first robot, in particular also by means of the further robot.
6. A system for creating a program for executing a robot application, the robot application comprising a plurality of actions, in particular movements, of a first robot, in particular a system for executing the robot application, in, The system is designed to perform the method according to any of the preceding claims and / or comprises: - means for acquiring programming input to program the movements of said first robot; and - means for creating a program based on the collected programming input; wherein, in order to create programs for different robots, in particular according to the context, input names are uniformly pre-set, and the device for creating programs includes a device for interpreting the programming input based on the input names used for the corresponding programming input and the content determined for the input names used according to the corresponding programming input, in particular by means of JSON-LD; and / or At least one of the programming inputs comprises: at least one description of a coordinate space, in particular at least one selection between a plurality of predetermined coordinate spaces; a description of a control method for the first robot, in particular a selection between a plurality of predetermined control methods; a description of a trajectory of the first robot, in particular a selection between a plurality of predetermined trajectory types; a description of a posture of the first robot, in particular a selection between a plurality of predetermined coordinate spaces for the posture; a description of a tool action of the first robot, in particular a selection between a plurality of predetermined tool actions; and / or a description of a sensor type and / or a sensor action of the first robot, in particular a selection between a plurality of predetermined sensor types and / or sensor actions.
7. A computer program or a computer program product, in, The computer program or computer program product comprises instructions, in particular stored on a computer-readable and / or non-volatile storage medium, which, when executed by one or more computers or a system according to claim 6, cause the one or more computers or the system to perform a method according to any one of claims 1 to 5.
