Robot attitude determination device, method, and program

The robot posture determination device addresses inefficiencies in existing methods by generating a graph of possible postures and searching for the shortest operating time, considering gripping states and interference, thus optimizing robot posture determination and reducing setup time.

JP7552442B2Active Publication Date: 2024-09-18OMRON CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2021033845
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-03
Publication Date
2024-09-18
Estimated Expiration
2041-03-03

AI Technical Summary

Technical Problem

Existing methods for determining robot posture are inefficient and time-consuming, especially when dealing with complex tasks and variations in the gripping state of workpieces, as they require manual input of initial positions and orientations without considering multiple gripping states.

Method used

A robot posture determination device and method that acquires work, gripping, and workpiece information, generates a graph of possible robot postures considering constraints like interference and gripping states, and searches for the series of postures with the shortest operating time using kinematics and dynamics information.

Benefits of technology

Efficiently determines the optimal robot posture including gripping states, reducing the time required for setup and minimizing dependence on skilled engineers, while improving productivity and simplifying robot system construction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007552442000009
    Figure 0007552442000009
  • Figure 0007552442000010
    Figure 0007552442000010
  • Figure 0007552442000004
    Figure 0007552442000004
Patent Text Reader

Abstract

To efficiently determine an optimum robot posture including a gripping state for a workpiece.SOLUTION: An acquisition unit 32 acquires work information on the work that a robot having a hand part is caused to execute, gripping information indicating a plurality of candidates for a relative positional relationship between the hand part and a workpiece, workpiece posture information indicating a plurality of candidates for a posture that the workpiece can take, and kinematics information on the robot. A creation unit 34 creates a graph 38 imparted to an edge with an estimated operation time corresponding to nodes connected by the edge as a weight, including nodes corresponding to each of the combination of the workpiece posture information, a posture of the hand part gripping the workpiece, and a posture of the robot, and the edge for connecting the nodes corresponding to a combination that can be transitioned between object points for each of a plurality of object points on a route of the robot for executing the work. A search unit 36 searches for series of postures of the robot at each of the plurality of object points in which the operation time is the shortest using the graph 38.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a robot posture determining device, a robot posture determining method, and a robot posture determining program. [Background technology]

[0002] Conventionally, teaching a robot's working posture to perform a specific task has been done by a skilled worker relying on intuition, knack, experience, etc., to minimize the robot's operation time. However, as the tasks performed by robots increase and become more complex, it becomes more difficult to determine the robot's posture that minimizes the robot's operation time, and there is an issue that it takes a long time to determine the robot's posture through trial and error. Therefore, a technology to assist in determining the robot's posture has been proposed.

[0003] For example, a teaching support device has been proposed that can quickly calculate the optimal combination of angular positions of each joint for each movement point (Patent Document 1). The device described in Patent Document 1 calculates all the movement times between movement points for each combination of solution candidates, and extracts the combination of upstream solution candidates with the shortest movement time for downstream solution candidates. Based on the extraction results, the device also searches for a combination of solution candidates that will result in the shortest overall movement time for moving the hand from the start point to the end point. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2007-203380 A Summary of the Invention [Problem to be solved by the invention]

[0005] For example, assume that a robot is to perform a task of gripping and moving a workpiece with a robot hand. In this case, there are many variations in the state in which the workpiece is gripped by the robot hand.

[0006] However, the technology described in Patent Document 1 is premised on inputting an initial solution of the position and orientation for each moving point of the moving target part (hand) of the robot. In other words, the technology described in Patent Document 1 requires that the above-mentioned gripping state be specified in advance, and does not take into consideration the existence of many variations in this gripping state.

[0007] The present invention has been made in consideration of the above points, and has an object to efficiently determine an optimal robot posture, including the gripping state of a workpiece. [Means for solving the problem]

[0008] In order to achieve the above-mentioned object, the robot posture determination device of the present invention includes an acquisition unit that acquires work information related to a task to be performed by a robot having a hand unit, gripping information indicating multiple candidates for a relative positional relationship between the hand unit and a workpiece gripped by the hand unit, work posture information indicating multiple candidates for postures that the workpiece can take, and specification information including kinematics information of the robot, and a search unit that matches, for each of a plurality of target points on a path of the robot for performing the task, combinations of the work posture information, a posture of the hand unit gripping the workpiece obtained based on the work information, the gripping information, and the work posture information, and a posture of the robot corresponding to the posture of the hand unit obtained based on the posture of the hand unit and the kinematics information, and searches for the series of combinations that result in the shortest operation time of the robot from the series of combinations that can transition between the target points, based on an index related to the operation time of the robot between the postures of the robot.

[0009] In addition, when the gripping postures identified based on the work posture information of the combination and the posture of the hand unit are different, the search unit may determine that the combination is one in which a transition between the target points is not possible.

[0010] In addition, the search unit may determine that the combination is one in which a transition between the target points is not possible when the movement of the robot between the postures of the robot in the combination is a linear movement and the forms of the postures of the robot in the combination are different.

[0011] The search unit may also calculate, as the index related to the motion time, an index based on a difference between postures of the robot in the combination.

[0012] The search unit may also calculate, as the index based on the difference in the posture of the robot, a maximum value of a value obtained by dividing a difference in rotation angle of each joint of the robot by a maximum value of the rotation speed of each joint.

[0013] The search unit may also generate a graph including nodes corresponding to each of the combinations and edges connecting the nodes corresponding to the combinations that can be transitioned between the target points, with the edges being assigned an index related to the operation time, and use the graph to search for the series of combinations that will result in the shortest operation time of the robot.

[0014] In addition, the acquisition unit may acquire surrounding information indicating the surrounding environment in which the robot performs work, and specification information further including dynamics information and shape information of the robot, and the search unit may determine, based on the surrounding information, the specification information, and the robot's posture, that between nodes on a path between the robot's postures corresponding to the nodes, where unavoidable interference with the surrounding environment is estimated to occur, as between nodes corresponding to the combination between which a transition is not possible between the target points.

[0015] The search unit may also be configured not to generate a node corresponding to the combination that includes a posture of the robot that interferes with the surrounding environment at the target point.

[0016] In addition, the search unit may calculate an actual operation time of the robot between the robot postures corresponding to nodes connected by edges included in a path of the graph corresponding to the searched series, update a weight of the edge between the nodes with the calculated actual operation time, and repeat the search for the series that provides the shortest operation time until a series identical to the series searched previously is found.

[0017] The search unit may calculate, as the actual operation time, an operation time during which the robot avoids interference with the surrounding environment between postures of the robot corresponding to the nodes, and the robot operates at a set speed or acceleration / deceleration.

[0018] The target points may include a working point where the hand portion grasps or releases the workpiece, and a motion change point where the motion direction of the robot is changed.

[0019] Furthermore, a robot posture determination method according to the present invention is a method in which an acquisition unit acquires work information related to a task to be performed by a robot having a hand unit, gripping information indicating multiple candidates for the relative positional relationship between the hand unit and a workpiece gripped by the hand unit, work posture information indicating multiple candidates for postures that the workpiece can take, and specification information including kinematics information of the robot, and a search unit matches, for each of a plurality of target points on a path of the robot for performing the task, combinations of the work posture information, the posture of the hand unit gripping the workpiece obtained based on the work information, the gripping information, and the work posture information, and a posture of the robot corresponding to the posture of the hand unit obtained based on the posture of the hand unit and the kinematics information, and searches for the series of combinations that result in the shortest operation time of the robot from the series of combinations that can transition between the target points, based on an index related to the operation time of the robot between the postures of the robot.

[0020] In addition, the robot posture determination program of the present invention is a program that causes a computer to function as an acquisition unit that acquires work information related to a task to be performed by a robot having a hand unit, gripping information indicating multiple candidates for the relative positional relationship between the hand unit and the workpiece gripped by the hand unit, work posture information indicating multiple candidates for the postures that the workpiece can take, and specification information including kinematics information of the robot, and a search unit that matches, for each of a plurality of target points on a path of the robot for performing the task, combinations of the work posture information, the posture of the hand unit gripping the workpiece obtained based on the work information, the gripping information, and the work posture information, and a posture of the robot corresponding to the posture of the hand unit obtained based on the posture of the hand unit and the kinematics information, and searches for the series of combinations that result in the shortest operation time of the robot from the series of combinations that can transition between the target points, based on an index related to the operation time of the robot between the postures of the robot. Effect of the Invention

[0021] According to the robot posture determination device, method, and program of the present invention, it is possible to efficiently determine the optimal posture of the robot, including the gripping state of the workpiece. [Brief description of the drawings]

[0022] [Figure 1] FIG. 1 is a diagram for explaining an overview of each embodiment. [Diagram 2] FIG. 2 is a block diagram showing a hardware configuration of the robot posture determination device. [Diagram 3] 1 is a block diagram showing an example of a functional configuration of a robot posture determination device. [Figure 4] FIG. 11 is a diagram for explaining grip information. [Diagram 5] FIG. 11 is a diagram for explaining workpiece posture information. [Figure 6] FIG. 13 is a diagram showing an example of a list of robot postures identified for a certain hand posture. [Figure 7]FIG. 1 is a diagram for explaining graph generation and shortest path search. [Figure 8] 13 is a diagram for explaining a combination of a workpiece posture candidate, a hand posture candidate, and a robot posture candidate corresponding to one node. FIG. [Figure 9] 5 is a flowchart showing the flow of a robot posture determination process in the first embodiment. [Figure 10] FIG. 11 is a diagram for explaining a search for the shortest route in the second embodiment. [Figure 11] 13 is a flowchart showing the flow of a robot posture determination process in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0023] Hereinafter, an example of an embodiment of the present invention will be described with reference to the drawings. In each drawing, the same or equivalent components and parts are given the same reference numerals. In addition, the dimensions and ratios of the drawings are exaggerated for the convenience of explanation and may differ from the actual ratios.

[0024] <Overview of each embodiment> First, an overview of each embodiment to be described in detail below will be given.

[0025] As shown in FIG. 1, the robot posture determination device according to each embodiment determines the posture of a robot at each target point of the robot's operation when the robot has a robot hand and is made to handle a workpiece. The robot hand is an example of a hand unit of the disclosed technology. The example of FIG. 1 shows an example of a pick-and-place operation in which a workpiece placed on workbench A is grasped (picked) by the robot hand and placed (placed) on workbench B. More specifically, the operation is to grasp a workpiece on workbench A, raise the robot hand in a linear motion, then move it toward workbench B, and lower the robot hand in a linear motion to place the workpiece on workbench B.

[0026] The target points include task points (white diamonds in FIG. 1) where the robot hand performs the task of gripping or releasing a workpiece, and motion change points (shaded diamonds in FIG. 1) where the direction of robot motion is changed. The target points are specified by coordinates (x, y, z) in the world coordinate system. Note that interference avoidance points (black diamonds in FIG. 1) are also set on the path indicating the robot's motion to avoid interference with obstacles. However, in each of the following embodiments, the posture of the robot at the interference avoidance points is determined by path planning that automatically determines the path between the target points, and the interference avoidance points are not included in the target points.

[0027] The robot posture determination device according to each of the following embodiments determines the posture of the robot at each target point so as to minimize the operation time when the robot is operated along a path that passes through the target points as described above.

[0028] In the following embodiments, a vertical articulated robot having six degrees of freedom required for operation in three-dimensional space will be described. More specifically, the robot is configured by connecting a plurality of links, and a robot hand is attached to the end of the robot. The connection between the links is called a joint. Also, the reference position of the end of the robot's hand (the side where the robot hand is attached) is called the TCP (Tool Center Point).

[0029] The robot posture is a series of values ​​(rotation angles) of each joint (θ) from the first joint (joint J1) to the Nth joint (joint JN, N is the number of joints in the robot) when the TCP is assumed to be in a given position (x, y, z) and posture (roll, pitch, yaw). J1 ,θ J2 , ,θ JN) Note that in the following embodiments, the order from the base side of the robot to the hand tip is J1, J2, .... Furthermore, a path is a time series of the postures of the robot at each time when the TCP is operated from an arbitrary start point to an end point, and the operation information is the path plus information on the speed and acceleration / deceleration at which the posture is changed. Each embodiment will be described in detail below.

[0030] First Embodiment Fig. 2 is a block diagram showing a hardware configuration of the robot posture determination device 10 according to the first embodiment. As shown in Fig. 2, the robot posture determination device 10 has a CPU (Central Processing Unit) 12, a memory 14, a storage device 16, an input device 18, an output device 20, a storage medium reader 22, and a communication I / F (Interface) 24. Each component is connected to each other via a bus 26 so as to be able to communicate with each other.

[0031] The storage device 16 stores a robot posture determination program for executing a robot posture determination process described below. The CPU 12 is a central processing unit, and executes various programs and controls each component. That is, the CPU 12 reads the program from the storage device 16 and executes the program using the memory 14 as a working area. The CPU 12 controls each of the components and performs various calculation processes according to the program stored in the storage device 16.

[0032] The memory 14 is made up of a RAM (Random Access Memory) and temporarily stores programs and data as a working area. The storage device 16 is made up of a ROM (Read Only Memory), HDD (Hard Disk Drive), SSD (Solid State Drive), etc., and stores various programs including an operating system, and various data.

[0033] The input device 18 is a device for performing various inputs, such as a keyboard, a mouse, etc. The output device 20 is a device for outputting various information, such as a display, a printer, etc. A touch panel display may be used as the output device 20 to function as the input device 18.

[0034] The storage medium reader 22 reads data stored in various storage media such as CD (Compact Disc)-ROM, DVD (Digital Versatile Disc)-ROM, Blu-ray disc, and USB (Universal Serial Bus) memory, and writes data to the storage media, etc. The communication I / F 24 is an interface for communicating with other devices, and uses standards such as Ethernet (registered trademark), FDDI, and Wi-Fi (registered trademark), for example.

[0035] Next, a functional configuration of the robot posture determination device 10 according to the first embodiment will be described. FIG. 3 is a block diagram showing an example of the functional configuration of the robot posture determination device 10. As shown in FIG. 3, the robot posture determination device 10 includes, as its functional configuration, an acquisition unit 32, a generation unit 34, and a search unit 36. The generation unit 34 and the search unit 36 ​​are examples of the "search unit" of the present invention. Each functional configuration is realized by the CPU 12 reading out a robot posture determination program stored in the storage device 16, expanding it in the memory 14, and executing it. In addition, a graph 38 generated by the generation unit 34 is stored in a predetermined storage area of ​​the robot posture determination device 10.

[0036] The acquisition unit 32 acquires work information, gripping information, workpiece posture information, robot specification information, and peripheral information.

[0037] The work information includes information such as the type of work, the order of the work, the workpieces to be used in the work, and the gripping state indicating which part of the robot hand is gripping which part of the workpiece.

[0038] The gripping information is information indicating multiple candidates for the relative positional relationship between the robot hand and the workpiece gripped by the robot hand. Specifically, the gripping information is information on the relative coordinates (x, y, z) and the relative orientation (roll, pitch, yaw) (hereinafter referred to as "grip orientation") of the TCP with respect to the workpiece when the robot hand grips the workpiece, as shown in FIG. 4, for example. The gripping information acquired by the acquisition unit 32 is a list of gripping information for multiple gripping orientations. In the example of FIG. 4, three gripping orientations (grip orientations 1, 2, and 3) are shown, but the list includes gripping information for many more gripping orientations (for example, several tens of patterns).

[0039] The workpiece posture information is a stable posture that the workpiece can take when it is placed carelessly on a workbench or the like. FIG. 5 shows an example of workpiece postures of a T-shaped, pipe-shaped workpiece (workpiece postures 1, 2, and 3). The workpiece posture information is expressed, for example, by the degrees of freedom of posture (roll, pitch, yaw). For example, the workpiece posture 1 shown in FIG. 5 is expressed by workpiece posture information in which roll and pitch are fixed at 0°, and yaw is free to rotate. In addition, workpiece posture information may be defined for each posture in which the rotation angle of a free axis is changed by a predetermined angle.

[0040] The robot specification information includes kinematics information indicating the structure of the connection relationships between links and the rotation axes of the links, dynamics information for specifying the weight of each link and the speed of the link during operation, and shape information of each link. The shape information may be three-dimensional data such as CAD (Computer-Aided Design) data.

[0041] The surrounding information is information that indicates the surrounding environment in which the robot performs work, and is information that indicates the arrangement and shape of obstacles, etc. The surrounding information may be, for example, CAD data or three-dimensional data measured by a three-dimensional data measuring device.

[0042] The work information, gripping information, workpiece posture information, robot specification information, and peripheral information are input to the robot posture determination device 10 via the input device 18, the storage medium reading device 22, or the communication I / F 24. The acquisition unit 32 passes the acquired work information, gripping information, workpiece posture information, robot specification information, and peripheral information to the generation unit 34 and the search unit 36, respectively.

[0043] The generator 34 generates a graph for searching the posture of the robot at each target point that minimizes the operation time. The graph is composed of a plurality of nodes corresponding to each target point, a plurality of edges connecting the nodes corresponding to the target points, and weights assigned to the edges.

[0044] Specifically, the generating unit 34 identifies multiple candidates for the workpiece orientation for each target point. The candidates for the workpiece orientation are any of the workpiece orientations indicated by each of the workpiece orientation information as shown in FIG.

[0045] Furthermore, the generation unit 34 identifies multiple candidates for the hand posture for each target point. The candidates for the hand posture are candidates for the posture of the robot hand that grips the workpiece. For a certain workpiece posture, there are multiple gripping postures of the robot hand, as shown in FIG. 4. More specifically, for each target point, the generation unit 34 identifies the relative posture of the TCP with respect to the workpiece for each workpiece posture, based on the operation information and the gripping information. Then, the generation unit 34 identifies the hand posture by taking the position of the TCP as the position of the target point, and taking the posture of the TCP as a posture obtained by converting the identified relative posture of the TCP into the world coordinate system.

[0046] The generating unit 34 also identifies multiple candidates for the robot posture. The robot posture is a posture of the robot corresponding to the hand posture gripping the workpiece, obtained based on the hand posture and kinematics information. Specifically, the generating unit 34 identifies the posture of the robot, that is, the values ​​of each joint, from the position and posture of the TCP by inverse kinematics. There are multiple robot postures for one hand posture. FIG. 6 shows an example of a list of robot postures identified for a certain hand posture. In the example shown in FIG. 6, there are four variations in the values ​​of the joints J1 to J3, and among them, there are six variations in the combination of J4 to J6, and a total of 24 patterns of robot postures are identified. For the six variations in the combination of J4 to J6, the appearance of the posture of the robot within the same group (A or B) is the same, but the values ​​of J4 to J6 are different. In the example of FIG. 6, the position of the protruding part of the robot (the dashed line part in FIG. 6) is different between group A and group B.

[0047] The generation unit 34 generates nodes corresponding to combinations of workpiece posture candidates, hand posture candidates, and robot posture candidates identified for each target point, as shown in the upper diagram of Fig. 7. In the example of Fig. 7, a circle corresponds to one node. Also, for example, as shown in the dashed line portion of Fig. 8, one combination is selected from each of the workpiece posture candidates, hand posture candidates, and robot posture candidates, and corresponds to one node. Also, in the example of Fig. 7, a group of nodes corresponding to one target point (white diamond or hatched diamond in Fig. 7) is shown surrounded by a dotted line.

[0048] Furthermore, the generation unit 34 determines whether or not the robot will interfere with the surrounding environment (hereinafter also referred to as "obstacle") based on the robot posture, surrounding information, and robot shape information included in the robot specification information. If the generation unit 34 determines that there will be interference, it does not generate a node corresponding to a combination including that robot posture. For example, if the robot interferes with a surrounding obstacle in a robot posture included in a combination corresponding to the node shown by the dashed line in the upper diagram of FIG. 7, the generation unit 34 deletes that node.

[0049] The generation unit 34 generates edges that connect nodes corresponding to combinations that allow transitions between target points, as shown in the middle diagram of Fig. 7. The generation unit 34 connects edges (solid arrows in Fig. 7) in the direction from the start point to the end point of the robot's movement. That is, of the two nodes connected by an edge, the node corresponding to the target point on the start point side (hereinafter referred to as the "From node") becomes the start point of the edge, and the node corresponding to the target point on the end point side (hereinafter referred to as the "To node") becomes the end point of the edge.

[0050] The generation unit 34 determines whether the gripping postures are the same to determine whether a transition is possible between the target points. The gripping posture is specified based on the workpiece posture and hand posture included in the combination. If the gripping postures are not the same, the generation unit 34 determines that a transition is not possible between the combinations, and does not generate an edge between the nodes corresponding to the combination. This is because a workpiece once gripped by a robot hand is not gripped again while the robot is operating, so the gripping posture, i.e., the way the robot hand grips the workpiece, must be the same as a constraint on edge connection.

[0051] Furthermore, when the robot's movement between the robot postures corresponding to the nodes, i.e., the transition of the TCP position, is a linear movement, the generation unit 34 determines whether the forms of the robot postures are the same as the determination of whether a transition is possible between the target points. For example, the generation unit 34 may determine whether the forms of two robot postures are the same based on the relative relationship between the joint values ​​or the link postures. This is because in an articulated robot, the linear movement of the TCP has a mechanical characteristic that requires the robot postures to be the same between the nodes.

[0052] In addition, the generation unit 34 determines whether or not a combination of the target points can be transitioned between, based on the surrounding information and the shape information of the robot, whether or not there is a possibility that unavoidable interference with the surrounding environment will occur in the operation between the robot postures. For example, the generation unit 34 may determine that there is a possibility that unavoidable interference with the surrounding environment will occur when a part of the robot in the robot posture corresponding to the From node is in a state close to an obstacle. In this case, since it is difficult to change the robot posture from the robot posture corresponding to the From node, it is determined that there is a possibility that unavoidable interference will occur when the robot is operated to the robot posture corresponding to the To node. The state of closeness may be determined as a case where the shortest distance between the robot and the obstacle is equal to or less than a predetermined value. In addition, the part of the robot may be a part close to the base side of the robot. This is because the closer the part close to the base is to the obstacle, the more difficult it is to change the robot posture from that state. This determination is made under the constraint of removing unnecessary edges in the graph for searching for a path that ultimately has the shortest operation time. Note that here, whether or not unavoidable interference will occur is determined without calculating the actual path between the target points by path planning or the like. This reduces the time required to generate the graph, and as a result, also reduces the time required to search for a path with the shortest operation time.

[0053] In the middle diagram of FIG. 7, dashed arrows indicate cases where edges are not generated between nodes due to the above-mentioned constraints.

[0054] The generation unit 34 also assigns to the edge an index related to the robot's motion time between the robot postures corresponding to the nodes connected by the edge. As an index related to the motion time, the generation unit 34 calculates an estimated motion time that can be calculated by a simple method without calculating the actual motion time by path planning or the like. For example, the generation unit 34 calculates, as the estimated motion time, an index based on the difference between the robot postures corresponding to the nodes. More specifically, the generation unit 34 calculates, as the estimated motion time, the maximum value of the value obtained by dividing the difference in the rotation angle of each joint of the robot by the maximum value of the rotation speed of each joint.

[0055] For example, the generation unit 34 may not take into account interference avoidance operations, and may assume that the robot always moves at maximum speed by joint interpolation from the robot posture corresponding to the From node to the robot posture corresponding to the To node, and may calculate the estimated operation time as shown below.

[0056] Nf: From node robot posture Nf={J f1 ,J f2 ,J f3 ,J f4 ,J f5 ,J f6} Nt:To node robot posture Nt={J t1 ,J t2 ,J t3 ,J t4 ,J t5 ,J t6} Vmax j : The maximum velocity of the j-th joint of the robot t e :Estimated operating time t e (Nf,Nt) =max((J fj -J tj ) / Vmax j |j=1,...,6)

[0057] It should be noted that the above estimated operation time does not take into account the acceleration and deceleration time when operating the robot, but the acceleration time to reach the maximum speed and the deceleration time to reach the stopping speed may be simply calculated and included in the calculation of the estimated operation time.

[0058] The generating unit 34 assigns the estimated motion time calculated as above to each edge as a weight. The generating unit 34 also generates a tentative start node before the target point corresponding to the start point of the motion, and generates edges connecting the start node and each node corresponding to the target point corresponding to the start point of the motion. Similarly, the generating unit 34 generates a tentative goal node after the target point corresponding to the end point of the motion, and generates edges connecting each node corresponding to the target point corresponding to the end point of the motion and the goal node. The generating unit 34 also assigns the same weight to each edge connected to the start node and the goal node. This weight may be an extremely small value so as not to affect the motion time for each path. For example, the weight may be 1 / 10 of the minimum value of the estimated motion time assigned to the edge in the graph. The generating unit 34 stores the generated graph 38 in a predetermined storage area.

[0059] The search unit 36 ​​uses the graph 38 to search for a series of robot postures at each target point that will result in the shortest operation time. For example, the search unit 36 ​​searches for a path (hereinafter referred to as the "shortest path") from a start node to a goal node included in the graph 38 that will result in the shortest sum of estimated operation times assigned to edges included in the path. For example, the Dijkstra algorithm or the like may be applied to search for such a shortest path. In the lower diagram of FIG. 7, the searched shortest path is indicated by a thick line. The search unit 36 ​​outputs a series of robot postures corresponding to each node included in the searched shortest path as a series of robot postures that will result in the shortest operation time.

[0060] Next, the operation of the robot posture determination device 10 according to the first embodiment will be described. Fig. 9 is a flowchart showing the flow of the robot posture determination process executed by the CPU 12 of the robot posture determination device 10. The CPU 12 reads out a robot posture determination program from the storage device 16, deploys it in the memory 14, and executes it, whereby the CPU 12 functions as each functional component of the robot posture determination device 10, and the robot posture determination process shown in Fig. 9 is executed.

[0061] In step S10, the acquisition unit 32 acquires the work information, the gripping information, the workpiece posture information, the robot specification information, and the peripheral information, and passes them to the generation unit .

[0062] Next, in step S12, the generation unit 34 identifies multiple workpiece posture candidates, multiple hand posture candidates, and multiple robot posture candidates for each target point. Then, the generation unit 34 generates a node corresponding to a combination of the workpiece posture candidates, hand posture candidates, and robot posture candidates identified for each target point. Note that when the generation unit 34 determines that the robot will interfere with a surrounding obstacle based on the robot posture, surrounding information, and robot shape information, it deletes the node corresponding to the robot posture.

[0063] Next, in step S14, the generation unit 34 generates edges connecting nodes corresponding to combinations that can be transitioned between target points under constraints such as the same gripping posture, the same robot posture in the case of linear movement, and no unavoidable interference with the surrounding environment.

[0064] Next, in step S16, the generation unit 34 calculates an estimated motion time between the robot postures corresponding to the nodes connected by the edges, for example, by dividing the difference in rotation angle of each joint of the robot by the maximum rotation speed of each joint.Then, the generation unit 34 assigns the calculated estimated motion time as the weight of the edge connecting the nodes.

[0065] Next, in step S18, the generation unit 34 generates a start node and a goal node. The generation unit 34 also generates edges connecting the start node and each of the nodes corresponding to the object points corresponding to the start points of the motion, and edges connecting each of the nodes corresponding to the object points corresponding to the end points of the motion and the goal node. The generation unit 34 then assigns the same and extremely small weighting value to each of the edges connecting to the start node and the goal node. In this way, a graph 38 is generated.

[0066] Next, in step S20, the search unit 36 ​​searches for a path from the start node to the goal node included in the graph 38, for which the sum of estimated operation times assigned to the edges included in the path is the shortest, i.e., the shortest route, for example by using the Dijkstra algorithm. Next, in step S22, the search unit 36 ​​outputs a series of robot postures corresponding to each node included in the searched shortest route as a series of robot postures with the shortest operation time, and the robot posture determination process ends.

[0067] As described above, the robot posture determination device according to the first embodiment acquires task information, gripping information, workpiece posture information, and robot specification information. Then, the robot posture determination device generates a graph including nodes corresponding to each combination of a candidate workpiece posture, a candidate hand posture, and a candidate robot posture, and edges connecting nodes corresponding to combinations that can be transitioned between target points. The robot posture determination device also assigns the estimated operation time of the robot between the robot postures corresponding to the nodes connected by the edges as a weight to the edges. Then, the robot posture determination device uses the graph to search for and output a series of robot postures at each of a plurality of target points that provide the shortest estimated operation time. In this way, by associating a combination of the workpiece posture, the hand posture, and the robot posture with the node of the graph for searching the shortest path, the gripping state of the workpiece can also be taken into consideration. Also, when connecting nodes with edges, by considering the constraint of the sameness of the form of the grip posture or the robot posture, the generation of unnecessary edges can be suppressed and the graph generated can be simplified. Moreover, by assigning an estimated operation time using the difference between the robot postures as the weight of an edge, instead of the actual operation time between the robot postures corresponding to the nodes connected by the edge, the calculation time from graph generation to shortest path search can be shortened. Therefore, the robot posture determination device according to the first embodiment can efficiently determine the optimal robot posture, including the gripping state of the workpiece.

[0068] In addition, the user can determine the sequence of robot postures that will minimize the operation time, regardless of intuition, skill, experience, etc. Therefore, in constructing a robot system, it is possible to shorten the start-up time and reduce the dependency on experienced engineers. Furthermore, it becomes easier to construct a new robot system or to modify it, improving productivity.

[0069] In addition, the robot posture determination device according to the first embodiment acquires surrounding information indicating the surrounding environment in which the robot works, and when the robot interferes with a surrounding obstacle, etc., it does not generate the corresponding node and edge in the graph. This makes it possible to suppress the generation of unnecessary nodes and edges, simplify the graph to be generated, and efficiently perform the shortest path search.

[0070] <Second embodiment> Next, a second embodiment will be described. In the robot posture determination device according to the second embodiment, the same components as those in the robot posture determination device 10 according to the first embodiment will be denoted by the same reference numerals and detailed descriptions thereof will be omitted. In addition, in the functional components having the same last two digits of the reference numerals in the first and second embodiments, detailed descriptions of the common functions will be omitted. Furthermore, since the hardware configuration of the robot posture determination device according to the second embodiment is similar to that of the robot posture determination device 10 according to the first embodiment shown in FIG. 2, the description thereof will be omitted.

[0071] In the robot posture determination device 10 according to the first embodiment, the case where the estimated motion time is used as the weight of the edge in the graph has been described. In the second embodiment, a method for searching for the shortest path with higher accuracy while updating the edge weight to a more accurate motion time will be described.

[0072] The functional configuration of the robot posture determination device 210 according to the second embodiment will be described. As shown in Fig. 3, the robot posture determination device 210 includes, as its functional components, an acquisition unit 32, a generation unit 34, and a search unit 236. Each functional component is realized by the CPU 12 reading out a robot posture determination program stored in the storage device 16, expanding it in the memory 14, and executing it. In addition, a graph 38 generated by the generation unit 34 is stored in a predetermined storage area of ​​the robot posture determination device 210.

[0073] As shown in the upper diagram of Fig. 10, the search unit 236 first searches for the shortest path from the graph generated by the generation unit 34, similar to the search unit 36 ​​according to the first embodiment. The search unit 236 then calculates the actual motion time of the robot between the robot postures corresponding to the nodes included in the searched shortest path (hereinafter referred to as "actual motion time"), and updates the weight of the edge between the nodes with the calculated actual motion time, as shown in the middle diagram of Fig. 10. In Fig. 10, the edges indicated by double-lined arrows represent edges whose weight has been updated from the estimated motion time to the actual motion time.

[0074] The search unit 236 determines the speed and acceleration / deceleration when the robot operates by joint interpolation between the robot postures corresponding to the nodes while avoiding interference with the surrounding environment, and calculates the operation time when the robot operates at the determined speed and acceleration / deceleration, as the actual operation time. For example, the search unit 236 plans a path between the robot postures corresponding to the nodes using RRT (Rapidly-Exploring Random Tree) or PRM (Probabilistic Roadmap Method), etc. Then, the search unit 236 may calculate the operation time based on the planned path. In the process of calculating the actual operation time, if the search unit 236 cannot find a path between the robot postures corresponding to the nodes that can avoid interference with the surrounding environment, the search unit 236 deletes the edge between the nodes. In the diagram shown in the middle of FIG. 10, the part indicated by the dashed ellipse indicates that the edge has been deleted.

[0075] Furthermore, the search unit 236 searches for the shortest path using a graph in which the edge weights have been updated, as shown in the lower part of FIG. 10. The search unit 236 then repeats updating the edge weights according to the actual motion time and searching for the shortest path until the same shortest path as the previously searched shortest path is searched for. The estimated motion time is a motion time that does not take into account the interference avoidance motion and accurate speed and acceleration / deceleration, and the actual motion time is a time that takes these into account. Therefore, the actual motion time ≧ the estimated motion time is always satisfied. Therefore, when the same shortest path as the previously searched shortest path is searched for while repeatedly updating the edge weights from the estimated motion time to the actual motion time, it indicates that there is no shortest path with a shorter motion time. Therefore, the search for the shortest path is terminated at that stage. The search unit 236 outputs a series of robot postures corresponding to each node included in the shortest path at the time when the search for the shortest path is terminated as a series of robot postures with the shortest motion time.

[0076] Next, the operation of the robot posture determination device 210 according to the second embodiment will be described. Fig. 11 is a flowchart showing the flow of the robot posture determination process executed by the CPU 12 of the robot posture determination device 210. The CPU 12 reads out a robot posture determination program from the storage device 16, deploys it in the memory 14, and executes it, whereby the CPU 12 functions as each functional component of the robot posture determination device 210, and the robot posture determination process shown in Fig. 11 is executed.

[0077] In step S200, a graph generation process is executed. The graph generation process is similar to steps S10 to S18 of the robot posture determination process (FIG. 9) in the first embodiment. Next, in step S202, the search unit 236 searches for the shortest path P1 from the graph 38 generated in step S200.

[0078] Next, in step S204, the search unit 236 calculates the actual motion time of the robot between the robot postures corresponding to the nodes included in the searched shortest path P1, and updates the edge weights between the nodes from the estimated motion times to the calculated actual motion times. Next, in step S206, the search unit 236 searches for the shortest path P2 from the graph 38 in which the edge weights have been updated.

[0079] Next, in step S208, the search unit 236 judges whether the shortest route P1 and the shortest route P2 are the same. If P1≠P2, the process proceeds to step S210, where the search unit 236 sets the shortest route P2 searched in step S206 as the shortest route P1, and the process returns to step S204. On the other hand, if P1=P2, the process proceeds to step S212.

[0080] In step S212, the search unit 236 outputs a series of robot postures corresponding to each node included in the shortest path P1 as a series of robot postures with the shortest operation time, and the robot posture determination process ends.

[0081] As described above, the robot posture determination device according to the second embodiment repeatedly searches for the shortest path while updating the edge weights included in the searched shortest path from estimated motion times to actual motion times. This makes it possible to reduce the calculation time from graph generation to shortest path search, compared to when all edge weights are set to actual motion times. Also, it is possible to determine a series of robot postures that will result in the shortest motion time with greater accuracy, compared to when all edge weights are set to estimated motion times.

[0082] In the above embodiments, the case where a series of robot postures corresponding to the nodes included in the shortest route found is output is described, but it is also possible to output the workpiece posture information corresponding to the nodes. This makes it possible to determine the series of robot postures that will minimize the operation time, as well as the posture of the workpiece when placing it on a workbench, for example.

[0083] In addition, the disclosed technology is applicable to offline teaching tools for robots, simulation tools such as CPS (Cyber-Physical Systems), CAD, and the like.

[0084] In addition, the robot posture determination process executed by the CPU by reading the software (program) in each of the above embodiments may be executed by various processors other than the CPU. In this case, examples of the processor include a PLD (Programmable Logic Device) such as an FPGA (Field-Programmable Gate Array) whose circuit configuration can be changed after manufacture, and a dedicated electric circuit such as an ASIC (Application Specific Integrated Circuit) which is a processor having a circuit configuration designed exclusively for executing a specific process. The robot posture determination process may be executed by one of these various processors, or may be executed by a combination of two or more processors of the same or different types (for example, a plurality of FPGAs, a combination of a CPU and an FPGA, etc.). The hardware structure of these various processors is, more specifically, an electric circuit that combines circuit elements such as semiconductor elements.

[0085] In addition, in each of the above embodiments, the robot posture determination program is described as being stored (installed) in advance in a storage device, but the present invention is not limited to this. The program may be provided in a form stored in a storage medium such as a CD-ROM, a DVD-ROM, a Blu-ray disc, or a USB memory. The program may also be downloaded from an external device via a network. [Explanation of symbols]

[0086] 10, 210 Robot attitude determination device 12 CPU 14. Memory 16 Storage device 18 Input Devices 20 Output Devices 22 Storage media reader 24 Communication I / F 26 Bus 32 Acquisition Department 34 Generation part 36, 236 Search Department 38 Graphs

Claims

1. an acquisition unit that acquires task information relating to a task to be performed by a robot having a hand unit, gripping information indicating a plurality of candidates for a relative positional relationship between the hand unit and a workpiece gripped by the hand unit, workpiece orientation information indicating a plurality of candidates for an orientation that the workpiece can take, and specification information including kinematics information of the robot; a search unit which matches, for each of a plurality of target points on a path of the robot for performing the task, a combination of the workpiece orientation information, an orientation of the hand unit for gripping the workpiece, which is obtained based on the task information, the gripping information, and the workpiece orientation information, and an orientation of the robot corresponding to the orientation of the hand unit, which is obtained based on the orientation of the hand unit and the kinematics information, and searches, from the series of combinations which can be transitioned between the target points, for the series of combinations which results in the shortest operation time of the robot, based on an index related to the operation time of the robot between the robot orientations; A robot pose determination device comprising:

2. The robot posture determination device according to claim 1 , wherein the search unit determines that the combination is one in which transition between the target points is not possible when the gripping postures identified based on the work posture information of the combination and the posture of the hand unit are different.

3. 3. The robot posture determination device according to claim 1, wherein the search unit determines that the combination is one in which transitions between the target points are not possible when the robot's movement between the postures of the combination is a linear movement and the forms of the postures of the robot in the combination are different.

4. The robot posture determination device according to any one of claims 1 to 3, wherein the search unit calculates an index based on a difference between postures of the robots in the combination as an index related to the operation time.

5. 5. The robot posture determination device according to claim 4, wherein the search unit calculates, as an index based on the difference in the posture of the robot, the maximum value of the value obtained by dividing the difference in the rotational angle of each joint of the robot by the maximum value of the rotational speed of each joint.

6. 6. The robot posture determination device according to claim 1, wherein the search unit generates a graph including nodes corresponding to each of the combinations and edges connecting the nodes corresponding to the combinations that can be transitioned between the target points, the graph being assigned an index related to the operation time to the edges, and uses the graph to search for a series of the combinations that will provide the shortest operation time for the robot.

7. The acquisition unit acquires surrounding information indicating an environment around which the robot performs work, and specification information further including dynamics information and shape information of the robot, The search unit determines, based on the surrounding information, the specification information, and the posture of the robot, that between nodes, on a path between postures of the robot corresponding to the nodes, between nodes that are estimated to cause unavoidable interference with the surrounding environment, as between nodes corresponding to the combination that is not transitionable between the target points.

7. The robot posture determination apparatus according to claim 6.

8. The robot posture determination device according to claim 7 , wherein the search unit does not generate a node corresponding to the combination that includes a posture of the robot that interferes with the surrounding environment at the target point.

9. 9. A robot posture determination device according to claim 7 or claim 8, wherein the search unit calculates an actual operation time of the robot between postures of the robot corresponding to between nodes connected by edges included in the path of the graph corresponding to the searched series, updates weights of the edges between the nodes with the calculated actual operation time, and repeats the search for the series in which the operation time is shortest until a series identical to the series searched previously is found.

10. 10. The robot posture determination device according to claim 9, wherein the search unit calculates, as the actual operation time, an operation time during which the robot avoids interference with the surrounding environment between the robot postures corresponding to the nodes and the robot operates at a set speed or acceleration / deceleration.

11. The robot posture determination device according to any one of claims 1 to 10, wherein the target points include a working point where the hand portion grasps or releases the workpiece, and a motion change point where the motion direction of the robot is changed.

12. an acquisition unit acquires task information relating to a task to be performed by a robot having a hand unit, gripping information indicating a plurality of candidates for a relative positional relationship between the hand unit and a workpiece gripped by the hand unit, workpiece orientation information indicating a plurality of candidates for an orientation that the workpiece can take, and specification information including kinematics information of the robot; A search unit matches, for each of a plurality of target points on a path of the robot for performing the work, the work attitude information, the work information, the gripping information, and a combination of a posture of the hand unit gripping the workpiece obtained based on the work attitude information, and a posture of the robot corresponding to the posture of the hand unit obtained based on the posture of the hand unit and the kinematics information, and searches for a series of combinations that will result in the shortest operation time of the robot from the series of combinations that can be transitioned between the target points, based on an index related to the operation time of the robot between the postures of the robot. Robot pose determination method.

13. Computer, an acquisition unit that acquires task information related to a task to be performed by a robot having a hand unit, gripping information indicating a plurality of candidates for a relative positional relationship between the hand unit and a workpiece gripped by the hand unit, workpiece orientation information indicating a plurality of candidates for an orientation that the workpiece can take, and specification information including kinematics information of the robot; and a search unit which matches, for each of a plurality of target points on a path of the robot for performing the work, the work attitude information, a combination of an attitude of the hand unit for gripping the workpiece, which is obtained based on the task information, the gripping information, and the work attitude information, and an attitude of the robot corresponding to the attitude of the hand unit, which is obtained based on the attitude of the hand unit and the kinematics information, and searches, from the series of combinations which can be transitioned between the target points, for the series of combinations which will result in the shortest operation time of the robot, based on an index related to the operation time of the robot between the robot attitudes. A robot posture determination program to function as a robot.

Citation Information

Patent Citations

  • Attitude determining method and device for articulated robot

    JP2003094363A

  • Method for preparing teaching data for articulated robot

    JP2004358593A

  • Instruction support device for robot

    JP2007203380A

  • Object manipulation device and object manipulation method

    WO2017183414A1