Robot system, control device, information processor, control method, information processing method, article manufacturing method, program, and recording medium
The robot system with a control device dynamically adjusts workpiece postures using holding, tilting, and rotating mechanisms to address unpredictable placement scenarios, ensuring efficient and precise alignment on assembly tables.
Patent Information
- Application Number
- JP2023021815
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-15
- Publication Date
- 2024-08-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing systems struggle to flexibly respond to unpredictable situations when aligning and changing the posture of workpieces, as the actual placement may differ from the planned configuration.
A robot system with a control device that processes information to identify multiple holding positions and posture transformations, allowing it to dynamically adjust the posture of workpieces based on real-time measurements and planned postures, using a combination of holding, tilting, and rotating mechanisms.
Enables flexible and accurate alignment of workpieces by dynamically adjusting their posture in real-time, ensuring efficient and precise placement on a conveyor or assembly table, even when initial placements deviate from planned configurations.
Smart Images

Figure 2024115912000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a technique for changing the posture of a workpiece. [Background technology]
[0002] In a logistics system or a production system, a worker aligns workpieces transported in a bulk state on a table or the like. The aligned workpieces are then supplied to, for example, an automatic assembly device. In recent years, attempts have been made to automate the work of aligning workpieces by a worker using a robot. Patent Document 1 and Patent Document 2 disclose a device that aligns bulk workpieces to a robot.
[0003] Patent document 1 discloses a first robot that grabs one part from a pile of parts and throws it onto a temporary table, a vision sensor that measures the posture of the part rolled onto the temporary table, and multiple second robots that pick up parts on the temporary table, transfer the parts to each other, and align the parts on a tray.
[0004] Patent Document 2 discloses that when the posture of the workpiece cannot be directly converted from the initial posture to the target posture by the robot, an intermediate posture is selected from a set of stable postures when placing the workpiece on the conveyor. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2015-44274 A [Patent Document 2] JP 2021-160081 A Summary of the Invention [Problem to be solved by the invention]
[0006] When it is necessary to place a workpiece on a temporary table or conveyor and then transfer the workpiece as described above, the situation in which the workpiece is placed may not be as planned in advance, and flexible responses are required.
[0007] The present disclosure aims to flexibly respond to the situation of the workpiece being placed. [Means for solving the problem]
[0008] A first aspect of the present disclosure is a robot system comprising a robot and a control device capable of controlling the robot, the control device having a processing unit capable of information processing, the processing unit acquiring a plurality of candidate holding positions for a workpiece, acquiring information regarding the relationship between the plurality of postures including information on a plurality of postures of the workpiece and information on a plurality of posture transformations between the plurality of postures, acquiring information on a first posture of the workpiece placed on a mounting member, acquiring information on a second posture to be taken by the workpiece after the first posture based on the information regarding the relationship and the information on the first posture, and selecting from the plurality of candidate holding positions a holding position for the workpiece to be held by the robot when transforming the posture of the workpiece from the first posture to the second posture.
[0009] A second aspect of the present disclosure is a control device capable of controlling a robot, comprising a processing unit capable of processing information, wherein the processing unit acquires a plurality of candidate holding positions for a workpiece, acquires information regarding the relationship between the plurality of postures including information on a plurality of postures of the workpiece and information on a plurality of posture transformations between the plurality of postures, acquires information on a first posture of the workpiece placed on a mounting member, acquires information on a second posture to be taken by the workpiece after the first posture based on the information regarding the relationship and the information on the first posture, and selects from the plurality of candidate holding positions a holding position for the workpiece to be held by the robot when transforming the posture of the workpiece from the first posture to the second posture.
[0010] A third aspect of the present disclosure is an information processing device comprising a processing unit capable of processing information, wherein the processing unit acquires a plurality of candidate holding positions for a workpiece, acquires information regarding the relationship between the plurality of postures including information on a plurality of postures of the workpiece and information on a plurality of posture transformations between the plurality of postures, acquires information on a first posture of the workpiece placed on a mounting member, acquires information on a second posture to be taken by the workpiece after the first posture based on the information regarding the relationship and the information on the first posture, and selects from the plurality of candidate holding positions a holding position for the workpiece to be held by the robot when transforming the posture of the workpiece from the first posture to the second posture.
[0011] A fourth aspect of the present disclosure is a control method for controlling a robot, comprising the steps of: acquiring a plurality of candidate holding positions for a workpiece; acquiring information regarding the relationship between the plurality of postures, including information on a plurality of postures of the workpiece and information on a plurality of posture transformations between the plurality of postures; acquiring information on a first posture of the workpiece placed on a mounting member; acquiring information on a second posture to be taken by the workpiece after the first posture based on the information regarding the relationship and the information on the first posture; and selecting, from the plurality of candidate holding positions, a holding position for the workpiece to be held by the robot when transforming the posture of the workpiece from the first posture to the second posture.
[0012] A fifth aspect of the present disclosure is an information processing method comprising the steps of: acquiring a plurality of candidate holding positions for a workpiece; acquiring information regarding a relationship between the plurality of postures, including information on a plurality of postures of the workpiece and information on a plurality of posture transformations between the plurality of postures; acquiring information on a first posture of the workpiece placed on a mounting member; acquiring information on a second posture to be taken by the workpiece after the first posture based on the information regarding the relationship and the information on the first posture; and selecting, from the plurality of candidate holding positions, a holding position for the workpiece to be held by the robot when transforming the posture of the workpiece from the first posture to the second posture. Effect of the Invention
[0013] According to the present disclosure, it is possible to flexibly respond to the situation of the workpiece being placed. [Brief description of the drawings]
[0014] [Figure 1] FIG. 1 is an explanatory diagram illustrating a schematic configuration of a robot system according to a first embodiment. [Diagram 2] FIG. 2 is an explanatory diagram of a control device according to the first embodiment. [Diagram 3] FIG. 2 is a block diagram of a computer system in the robot system according to the first embodiment. [Figure 4] FIG. 2 is a functional block diagram of a processing unit according to the first embodiment. [Diagram 5] FIG. 2 is an explanatory diagram showing an overview of operations performed on the temporary placement table according to the first embodiment. [Figure 6] 1A is a block diagram of a measurement unit according to the first embodiment, and FIG. 1B is a block diagram of a pre-planning unit according to the first embodiment. [Figure 7] FIG. 4 is an explanatory diagram of processing of a definition unit according to the first embodiment. [Figure 8] 5(a) and 5(b) are diagrams illustrating the process of a candidate calculation unit according to the first embodiment. [Figure 9] The processing of the orientation calculation unit according to the first embodiment will be described. [Figure 10] FIG. 4 is an explanatory diagram of processing of a conversion calculation unit according to the first embodiment. [Figure 11] FIG. 4 is an explanatory diagram of a process of a shortest path calculation unit according to the first embodiment. [Figure 12] 1A is an explanatory diagram of advance planning data according to the first embodiment, and FIG. 1B is an explanatory diagram of posture transformation data according to the first embodiment. [Figure 13] 1A is a block diagram of a behavior planning unit according to the first embodiment, and FIG. 1B is a block diagram of a control unit according to the first embodiment. [Figure 14]5A to 5C are explanatory diagrams of processing by a similar posture determining unit according to the first embodiment. [Figure 15] 5A to 5C are explanatory diagrams of processing by an orientation calculation unit according to the first embodiment. [Figure 16] FIG. 4 is an explanatory diagram of a process of a trajectory generating unit according to the first embodiment. [Figure 17] FIG. 11 is an explanatory diagram showing a schematic configuration of a robot system according to a second embodiment. [Figure 18] FIG. 11 is a functional block diagram of a processing unit according to the second embodiment. [Figure 19] FIG. 11 is a block diagram of an advance planning unit according to a second embodiment. [Figure 20] 13A is an explanatory diagram showing an example of a posture change according to the second embodiment, and FIG. 13B is an explanatory diagram showing an example of a posture change according to the second embodiment. [Figure 21] FIG. 11 is an explanatory diagram of a process of a shortest path calculation unit according to the second embodiment. [Figure 22] FIG. 11 is an explanatory diagram of advance planning data according to the second embodiment. [Figure 23] 10A is a block diagram of a behavior planning unit according to the second embodiment, and FIG. 10B is a block diagram of a control unit according to the second embodiment. [Figure 24] FIG. 11 is an explanatory diagram of a graphical user interface according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the drawings.
[0016] [First embodiment] 1 is an explanatory diagram showing a schematic configuration of a robot system 1 according to a first embodiment. The robot system 1 includes a supply table 3, a temporary placement table 4, a placement table 5, a vision sensor 6, a vision sensor 7, a robot 100, and a control device 200. The temporary placement table 4 is an example of a placement member.
[0017] The robot 100 is an industrial robot and is arranged on a logistics line or a production line. The robot system 1 of the first embodiment is a supply device that aligns and supplies workpieces W to an assembly device (not shown). The robot system 1 of the first embodiment is also applicable to a device used to inspect the workpieces W.
[0018] The robot 100 holds one workpiece W from at least one workpiece W placed on the supply table 3. The workpiece W is, for example, a part used to manufacture an article. The robot 100 also temporarily places the held workpiece W by placing (placing) it on the temporary placement table 4 as necessary, and changes the posture of the workpiece W by changing the position of the workpiece W on the temporary placement table 4. At that time, the robot 100 changes the posture of the workpiece W one or more times as necessary. Then, the robot 100 arranges the held workpiece W in an aligned manner on the placement table 5. Note that a device other than the robot 100, for example, another robot, may pick up the workpiece W from the supply table 3 and temporarily place it on the temporary placement table 4. The workpiece W is often a precision part. Therefore, when the workpiece W is a precision part, it is preferable that the robot 100 does not throw the workpiece W on the temporary placement table 4, but gently places the workpiece W on the temporary placement table 4. In other words, it is preferable that the robot 100 releases the workpiece W in a state in which the workpiece W is in contact with the upper surface of the temporary placement table 4.
[0019] Here, "posture" includes a translational position and / or a rotational posture. For example, the posture of the workpiece W includes a translational position and / or a rotational posture of the workpiece W based on a predetermined coordinate system, for example, a robot coordinate system. In the first embodiment, "posture" includes at least a rotational posture.
[0020] The robot 100 is a manipulator. The robot 100 is fixed to, for example, a stand. A supply table 3, a temporary placement table 4, and a placement table 5 are arranged around the robot 100. Note that objects other than the tables 3 to 5 may be arranged around the robot 100.
[0021] The supply table 3 is a table on which the workpieces W are supplied. The workpieces W may be supplied one by one by a hopper onto the supply table 3, or multiple workpieces W may be supplied in a bulk state. Also, a container or tray in which multiple workpieces W are bulk-piled may be supplied onto the supply table 3. In the following, a description will be given assuming that multiple workpieces W are bulk-piled onto the supply table 3. When multiple workpieces W are bulk-piled onto the supply table 3, they are held one by one by the robot 100, and as necessary, are transferred to the robot 100 at the temporary placement table 4 and arranged in an order on the placement table 5. The multiple workpieces W have the same shape and size as each other.
[0022] The robot 100 and the control device 200 are connected by wire or wirelessly. The vision sensors 6 and 7 and the control device 200 are connected by wire or wirelessly. The vision sensors 6 and 7 and the control device 200 may be connected by a wired LAN or a wireless LAN, or may be capable of communicating with each other via a network.
[0023] The robot 100 has a robot arm 101 and an end effector, i.e., a robot hand 102 which is an example of a holding mechanism. The robot arm 101 is, for example, a vertical multi-joint robot arm. Note that the robot arm 101 is not limited to a vertical multi-joint robot arm, and may be, for example, an orthogonal robot, a parallel link robot, or a SCARA (Selective Compliance Assembly Robot Arm) as long as it has a degree of freedom required for moving the workpiece W.
[0024] The robot hand 102 is supported by the robot arm 101. The robot hand 102 is attached to a predetermined portion of the robot arm 101, for example, to the tip portion of the robot arm 101. The robot hand 102 is configured to be able to hold a workpiece W.
[0025] The robot hand 102 has a plurality of fingers, for example, two fingers 321. The robot hand 102 is not limited to having two fingers 321, and may have three or more fingers. Although a case will be described in which the holding mechanism is the robot hand 102, the present invention is not limited to this, and may be, for example, an adsorption mechanism capable of holding the workpiece W by adsorbing the workpiece W. The adsorption mechanism may be, for example, a mechanism that adsorbs the workpiece W by air pressure (negative pressure), or a mechanism that adsorbs the workpiece W by magnetic force.
[0026] With the above configuration, the robot arm 101 can move the robot hand 102 to a desired position, and the robot 100 can perform the task of aligning the workpiece W on the table 5.
[0027] In the first embodiment, the alignment work of the workpieces W by the robot 100 will be described as an example, but the present invention is not limited to this. For example, other workpieces may be placed on the stage 5, and the workpieces W may be directly attached to the other workpieces to manufacture an article. In this case, the robot system 1 may be an assembly device that assembles the article. Also, a processing device (not shown) may process the workpieces W aligned on the stage 5 to manufacture the article.
[0028] The temporary placement table 4 is a table on which the workpiece W is temporarily placed. The temporary placement table 4 may be any table on which the workpiece W can be stably placed. For example, the temporary placement table 4 may be a flat base, a cone-shaped base, a V-shaped base, a base equipped with a chuck mechanism for holding the workpiece W, a base equipped with a holding mechanism for holding the workpiece W by suction, or a combination of these bases. In addition, the temporary placement table 4 may be a base designed to be suitable for the workpiece W, and the upper surface of the temporary placement table 4 may have an elastic body with a low restitution coefficient in order to improve the stability of the workpiece W on the temporary placement table 4.
[0029] The table 5 is configured so that the workpiece W is placed in a posture appropriate for the process. For example, the table 5 may be a tray used in assembling an article, or a plate having a hole into which a part of the workpiece W fits so that the posture of the workpiece W is stable.
[0030] The vision sensor 6 generates information (data) used to measure the posture of the workpiece W placed on the supply table 3. The vision sensor 7 generates information (data) used to measure the posture of the workpiece W placed on the temporary placement table 4.
[0031] Each of the vision sensors 6 and 7 has an image sensor (not shown). The image sensor is, for example, a CMOS image sensor or a CCD image sensor. Each of the vision sensors 6 and 7 captures an image of a subject, thereby generating and outputting a grayscale image in which the subject appears, for example, a monochrome image or an RGB image. The vision sensors 6 and 7 are fixed to a frame (not shown) arranged around the robot 100.
[0032] The vision sensor 6 is disposed at a position where it can image the workpiece W placed on the supply table 3. For example, the vision sensor 6 is disposed above the supply table 3. The vision sensor 7 is disposed at a position where it can image the workpiece W placed on the temporary placement table 4. For example, the vision sensor 7 is disposed above the temporary placement table 4. The installation position of the vision sensor 6 is not limited to above the supply table 3, and the vision sensor 6 may be disposed on the robot 100 or below the supply table 3. The installation position of the vision sensor 7 is not limited to above the temporary placement table 4, and the vision sensor 7 may be disposed on the robot 100 or below the temporary placement table 4.
[0033] The vision sensor 6 may be a monocular camera or a stereo camera as long as it has a function of generating information used to measure the posture of the workpiece W placed on the supply table 3. The vision sensor 7 may be a monocular camera or a stereo camera as long as it has a function of generating information used to measure the posture of the workpiece W placed on the temporary placement table 4.
[0034] The control device 200 is a device capable of controlling the robot 100. The control device 200 is also an information processing device. In the first embodiment, the control device 200 is configured as a computer. The control device 200 can send an imaging command to the vision sensors 6 and 7 to cause the vision sensors 6 and 7 to capture images. The control device 200 is configured to be capable of acquiring image information (image data) generated by the vision sensors 6 and 7, and is configured to be capable of processing the acquired image information.
[0035] 2 is an explanatory diagram of a control device 200 according to the first embodiment. The control device 200 includes a main body 201, a display 202 which is an example of a display unit, and a keyboard 203 and a mouse 204 which are examples of an input unit.
[0036] 3 is a block diagram of a computer system in the robot system 1 according to the first embodiment. The main body 201 of the control device 200 includes a CPU (Central Processing Unit) 251, which is a processor capable of information processing. The main body 201 also includes a ROM (Read Only Memory) 252, a RAM (Random Access Memory) 253, and a HDD (Hard Disk Drive) 254 as storage units. The main body 201 also includes a recording disk drive 255, and an interface 256, which is an input / output interface. The CPU 251, ROM 252, RAM 253, HDD 254, recording disk drive 255, and interface 256 are connected to one another via a bus so as to be able to transmit data to one another.
[0037] To the interface 256 of the main body 201, a display 202, a keyboard 203, a mouse 204, the vision sensors 6 and 7, and the robot 100 are connected.
[0038] The ROM 252 stores basic programs related to the operation of the computer. The RAM 253 is a storage device that temporarily stores various data such as the results of arithmetic processing by the CPU 251. The HDD 254 records the results of arithmetic processing by the CPU 251 and various data acquired from the outside, and also records a program 261 for causing the CPU 251 to execute various processes. The program 261 is application software that can be executed by the CPU 251.
[0039] The CPU 251 can execute information processing including image processing, which will be described later, and control processing by executing the program 261 recorded in the HDD 254. The recording disk drive 255 can read out various data, programs, etc. recorded in the recording disk 262.
[0040] In the first embodiment, the non-transient recording medium readable by a computer is the HDD 254, and the program 261 is recorded in the HDD 254, but this is not limiting. The program 261 may be recorded in any recording medium as long as it is a non-transient recording medium readable by a computer. As a recording medium for supplying the program 261 to a computer, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a magnetic tape, a non-volatile memory, etc. can be used.
[0041] Furthermore, the control device 200 may be configured to be able to communicate with an external device via a network, and the program 261 may be downloaded from the external device via the network.
[0042] 4 is a functional block diagram of the processing unit 230 according to the first embodiment. The CPU 251 of the control device 200 executes a program 261 to function as the processing unit 230 capable of processing information. The processing unit 230 includes a measurement unit 231, a pre-planning unit 232, a behavior planning unit 233, and a control unit 234. In the first embodiment, the processing unit 230 selectively executes a first mode in which the pre-planned data 400 is created, and a second mode in which the robot 100 is controlled based on at least the pre-planned data 400. In the first mode, at least the pre-planning unit 232 functions, and in the second mode, at least the measurement unit 231, the behavior planning unit 233, and the control unit 234 function.
[0043] In the first embodiment, a case will be described in which one computer, i.e., one CPU 251, functions as the processing unit 230, but the present invention is not limited to this. For example, multiple computers may function as the processing unit 230. That is, the functions of the measurement unit 231, the advance planning unit 232, the action planning unit 233, and the control unit 234 may be distributed among multiple computers. Some or all of the multiple computers may include a microcomputer. In addition, the computer may be any type of computer, such as a desktop PC, a laptop PC, a tablet PC, or a dedicated computer.
[0044] For example, the measurement unit 231 may have its functions realized by a computer or microcomputer other than the CPU 251. The control unit 234 may have its functions realized by a computer other than the CPU 251, such as a robot controller. The advance planning unit 232 may have its functions realized by a computer other than the CPU 251.
[0045] The measurement unit 231 has a function of measuring the posture of the work W on the supply table 3 based on sensing information from the vision sensor 6. The measurement unit 231 also has a function of measuring the posture of the work W on the temporary placement table 4 based on sensing information from the vision sensor 7.
[0046] The advance planning unit 232 has a function of creating advance planning data 400 required for the robot 100 to perform an operation of changing the posture of the workpiece W. The behavior planning unit 233 has a function of creating behavior planning data for changing the posture of the workpiece W placed on the temporary placement table 4, i.e., trajectory data of the robot 100 according to the behavior planning, based on the measurement data of the posture of the workpiece W obtained from the measurement unit 231 and the advance planning data 400. The control unit 234 has a function of controlling the robot 100 based on the behavior planning data.
[0047] Various methods can be applied to the measurement process for measuring the posture of the workpiece W in the measuring unit 231. The measurement process can be any of image processing, such as three-dimensional measurement processing of the workpiece W using a stereo image method, two-dimensional pattern matching processing, or posture inference processing using machine learning.
[0048] FIG. 5 is an explanatory diagram showing an overview of the operation executed on the temporary placement table 4 according to the first embodiment. FIG. 5 shows stable postures 11-17 of the workpiece W and a target posture 10 of the workpiece W. The stable postures 11-17 are postures of the workpiece W at which the workpiece W stops on the temporary placement table 4. The stable postures 11-17 are determined, for example, according to the shape of the temporary placement table 4. The target posture 10 is the posture of the workpiece W on the placement table 5. The target posture 10 is determined, for example, by a user. Note that the target posture 10 is not necessarily the posture at which the workpiece W stops on the temporary placement table 4.
[0049] The posture change of the workpiece W between two stable postures, and the posture change of the workpiece W between the stable posture and the target posture, are performed by the robot hand 102 facing in a first direction and holding the workpiece W, and the robot hand 102 changing its posture to face in a different second direction and releasing the holding.
[0050] Due to the mechanism of the robot 100, it is not necessarily possible to convert from all of the stable postures 11 to 17 to the target posture 10 in one posture conversion operation. For example, the stable posture 17 cannot be converted directly to the target posture 10, but can be converted to the target posture 10 via the stable posture 15 and the stable posture 12. In the present disclosure, the robot 100 is caused to perform a series of conversion operations of the posture of the workpiece W at high speed and flexibly.
[0051] FIG. 6(a) is a block diagram of the measuring unit 231 according to the first embodiment. The measuring unit 231 has an imaging control unit 210 and a recognition unit 220. The imaging control unit 210 executes control to cause the vision sensor 6 to capture the workpiece W placed on the supply table 3, and acquires image information of a grayscale image, for example, a monochrome image or an RGB image, from the vision sensor 6 as the captured image. The imaging control unit 210 also executes control to cause the vision sensor 7 to capture the workpiece W placed on the temporary placement table 4, and acquires image information of a grayscale image, for example, a monochrome image or an RGB image, from the vision sensor 7 as the captured image. Note that, although a case where the information acquired from the vision sensors 6 and 7 is image information will be described as an example, the present invention is not limited to this. The information acquired from the vision sensors 6 and 7 may be, for example, three-dimensional information, as long as the recognition unit 220 can recognize the posture of the workpiece W. The recognition unit 220 acquires information on the posture of the workpiece W based on the information acquired by the imaging control unit 210. Any method may be used to acquire information on the posture of the workpiece W.
[0052] 6(b) is a block diagram of the pre-planning unit 232 according to the first embodiment. The pre-planning unit 232 includes a definition unit 310, a candidate calculation unit 320, a posture calculation unit 330, a transformation calculation unit 340, a shortest path calculation unit 350, and a data output unit 360.
[0053] Fig. 7 is an explanatory diagram of the processing of the definition unit 310 according to the first embodiment. Fig. 7 illustrates the workpiece W, the robot coordinate system O1, and the coordinate system O2 of the workpiece W. As shown in Fig. 7, the posture of the workpiece W is defined in the coordinate system O2 of the workpiece W based on the robot coordinate system O1. The coordinate system O2 of the workpiece W is expressed using a homogeneous transformation matrix R shown in formula (1).
number
[0054] Here, the homogeneous transformation matrix is a common method used to define the orientation in three-dimensional space. By calculating the product of multiple homogeneous transformation matrices or the inverse matrix of a homogeneous transformation matrix, the change in the orientation of the workpiece W can be easily expressed.
[0055] The components in the first to third columns of the homogeneous transformation matrix R in equation (1) indicate the orientation information of the workpiece W in the rotational direction, and the component in the fourth column of the homogeneous transformation matrix R indicates the position information of the workpiece W in the translational direction.
[0056] The definition unit 310 acquires information on the target orientation 10. For example, the information on the target orientation 10 is input by the user operating the keyboard 203 or the mouse 204, which are the input units. The definition unit 310 defines the target orientation 10 by a homogeneous transformation matrix R. The target orientation 10 is an orientation that the workpiece W is to be taken on the stage 5. When multiple target orientations 10 are set on the stage 5, the definition unit 310 defines the multiple target orientations 10 by multiple homogeneous transformation matrices R, respectively. Note that it is not necessary to use a homogeneous transformation matrix as a method of expressing the orientation, and any expression may be used as long as it can express the orientation of a coordinate system, such as Euler angles or quaternions.
[0057] 8(a) and 8(b) are explanatory diagrams of the processing of the candidate calculation unit 320 according to the first embodiment. The candidate calculation unit 320 acquires holding position candidates 322 where the workpiece W can be held by two fingers 321 of the robot hand 102. The holding position candidates 322 are defined by information P shown in, for example, the following formula (2).
number
[0058] R is a homogeneous transformation matrix expressed by formula (1), and d is the amount of opening of the two fingers 321 when holding the workpiece W. The homogeneous transformation matrix R, which is information about the posture of the robot hand 102 with respect to the workpiece W, is expressed in a coordinate system based on the coordinate system O2 of the workpiece W, and the x direction is the opening and closing direction of the two fingers 321 of the robot hand 102. The z direction is a direction perpendicular to the opening and closing direction, and represents the access direction of the robot hand 102 when the robot hand 102 goes to grab the workpiece W.
[0059] Specifically, a control point that works in conjunction with the robot hand 102, for example a tool center point (TCP), is defined. The TCP is, for example, the center point between the two fingers 321. The information P includes information on the holding point to which the TCP is to be matched when the robot hand 102 holds the workpiece W, and information on the finger opening amount d when the TCP is matched with the holding point. The holding point information is expressed by a homogeneous transformation matrix R, and includes position information and orientation information of the holding point. That is, the information P includes position information of the robot hand 102 based on the coordinate system O2 of the workpiece W, orientation information of the robot hand 102 based on the coordinate system O2 of the workpiece W, and information on the opening amount d of the two fingers 321 when the two fingers 321 hold the workpiece W.
[0060] A method for determining the holding position candidate 322 can be selected from a plurality of methods. The first method is a method in which the user determines the holding position candidate 322. In this method, for example, the user actually tries to hold the workpiece W using the user's hand, the robot hand 102, or a jig simulating the robot hand 102, and determines a posture in which the workpiece can be stably held.
[0061] The second method is a method in which a computer, i.e., a candidate calculation unit 320, determines holding position candidates 322 based on software calculations. In this method, for example, a search for parallel planes, a determination of a holding margin, and a physical simulation are utilized to calculate a posture that can be held under certain conditions.
[0062] The above two methods may be combined, or the user may screen and determine the holding position candidates calculated based on the software. By any of the above methods, the information P indicating the holding position candidates 322 for the work W is calculated.
[0063] The more the number of calculated storage location candidates 322, the more preferable. In the first embodiment, a plurality of storage location candidates, i.e., N storage location candidates 3221 to 3222 are calculated. N are obtained. N storage position candidates 3221 to 322 N are defined by information P. N The greater the number of candidates for posture conversion, the greater the number of candidates for posture conversion, enabling high-speed posture conversion operations.
[0064] A plurality of calculated storage position candidates 3221 to 322 N are a plurality of holding position candidates 3221 to 322 to be used for changing the posture of the workpiece W. M and a plurality of holding position candidates 322 for use in aligning or assembling the workpiece W. M+1 ~322 N It is preferable that M and N are positive integers and each of the above formulas is 1. <M<Nである。
[0065] Candidates for holding positions 3221 to 322 for changing the posture of the workpiece W M In order to increase the variation of the posture change operation, it is preferable that the number of holding position candidates 322 to be used for aligning or assembling the workpiece W is large. M+1 ~322 N The number of candidates for holding positions 3221 to 3222 to be used for posture conversion must be set so that the force required for alignment or assembly is appropriate while avoiding collision between the robot 100 and the stand 5. M The number of pieces may be less than the number of pieces.
[0066] 9 illustrates the processing of the orientation calculation unit 330 according to the first embodiment. The orientation calculation unit 330 acquires information on the orientation of the workpiece W when the workpiece W is at rest on the temporary placement table 4, i.e., information on the stable orientations 11 to 17, by a predetermined calculation process. The orientation calculation unit 330 comprehensively calculates information on two or more stable orientations 11 to 17 by the predetermined calculation process, and acquires stable orientation data 430 which is a set of information on the stable orientations 11 to 17. Like the target orientation 10, the stable orientations 11 to 17 are defined by a homogeneous transformation matrix R shown in formula (1).
[0067] The calculation process for calculating the stable postures 11 to 17 will be specifically described below. When the upper surface of the temporary placement table 4 is a horizontal plane, the stable posture of the workpiece W on the temporary placement table 4 can be analytically calculated. Below, a case where the upper surface of the temporary placement table 4 is a horizontal plane will be described as an example. First, the posture calculation unit 330 represents the workpiece W as a polyhedron in a three-dimensional space.
[0068] Next, the orientation calculation unit 330 obtains a convex hull, which is a convex polyhedron, from the polyhedron representing the workpiece W. The convex hull is a convex polyhedron with the smallest volume among all the convex polyhedrons without any recesses that contain the entire polyhedron representing the workpiece W.
[0069] Next, the orientation calculation unit 330 makes one face of the convex hull parallel to the horizontal plane, and defines a perpendicular line that passes through the center of gravity of the workpiece W and is perpendicular to the horizontal plane. When the perpendicular line intersects with the one face of the convex hull, the orientation calculation unit 330 acquires the orientation of the convex hull as information on a stable orientation.
[0070] Furthermore, the attitude calculation unit 330 acquires information on a plurality of discretized stable attitudes by rotating the information on one stable attitude acquired by calculation by a fixed angle at a time around an axis in the direction of gravity. That is, the attitude calculation unit 330 performs a rotation operation on the information on one stable attitude acquired by calculation, for example, the information on stable attitude 15, to acquire information on a stable attitude other than the information on stable attitude 15 by calculation.
[0071] The orientation calculation unit 330 performs the above calculations for all faces included in the convex hull. In addition, since the upper surface of the temporary table 4 is a horizontal plane, information on a plurality of discretized stable orientations can be acquired by translating the position of the convex hull at a predetermined interval. Since the upper surface of the temporary table 4 is a horizontal plane, information on two or more discretized stable orientations 11 to 17 can be calculated by the above method.
[0072] The above describes the case where the upper surface of the temporary stand 4 is a horizontal plane, but if the upper surface of the temporary stand 4 is a surface other than a horizontal plane, it may be difficult to analytically calculate the information on the stable posture. Below, a case where the information on the stable posture is obtained by a calculation other than the analytical calculation described above, for example, a physical calculation, will be described. In this case, the posture calculation unit 330 is a physical simulator that performs a physical calculation. A known physical calculation engine is used for the physical simulator. Note that the method of obtaining the information on the stable posture by a physical calculation can also be applied to the case where the upper surface of the temporary stand 4 is a horizontal plane.
[0073] The orientation calculation unit 330 acquires a model of the workpiece W and a model of the temporary placement table 4. The model of the workpiece W includes data necessary for physical calculations, such as three-dimensional shape data of the workpiece W and weight data of the workpiece W. The model of the temporary placement table 4 includes data necessary for physical calculations, such as three-dimensional shape data of the temporary placement table 4.
[0074] A model of the workpiece W is referred to as a workpiece model WM. A model of the temporary stand 4 is referred to as a temporary stand model 4M. The three-dimensional shape data included in the model is polygon data such as three-dimensional Computer Aided Design (CAD) data or Standard Triangled Language / StereoLithography (STL) data.
[0075] The orientation calculation unit 330 positions the workpiece model WM at a predetermined position above the temporary stand model 4M in the virtual space. The orientation of the workpiece model WM at this time is defined as an initial orientation 331.
[0076] Next, the orientation calculation unit 330 performs a physical calculation to allow the work model WM to freely fall and wait until the work model WM comes to rest on the temporary stand model 4M. The orientation calculation unit 330 sets the orientation of the work model WM in a state in which the work model WM is stationary as, for example, the stable orientation 15. In this manner, the orientation calculation unit 330 can acquire information on the stable orientation 15.
[0077] The orientation calculation unit 330 compares the information of the stable orientation 15 with the stable orientation data 430. If the comparison result shows that the stable orientation 15 is not similar to any of the stable orientations 11 to 14, 16 to 17 already registered in the stable orientation data 430, the orientation calculation unit 330 registers the information of the stable orientation 15 in the stable orientation data 430. In determining the similarity, the formula (4) in the similar orientation determination unit 510 described later may be used. The orientation calculation unit 330 can obtain information on a plurality of stable orientations discretized at a certain interval by setting a threshold value for the similarity determination. The orientation calculation unit 330 repeats the above calculation multiple times to comprehensively search for the orientations that the workpiece W can take on the temporary placement table 4, that is, the information on the stable orientations 11 to 17.
[0078] Although the method of obtaining information on a plurality of stable postures by physical calculation has been described above, information on the stable posture may be obtained using an actual machine. For example, the user or the robot 100 may cause the workpiece W to freely fall from a predetermined position above the temporary placement table 4. At that time, the measurement unit 231 may cause the vision sensor 7 to capture the workpiece W in a stationary state on the temporary placement table 4 to obtain the captured image, and obtain information on the posture of the workpiece W from the captured image. Then, the posture calculation unit 330 may use the obtained posture information as information on the stable posture 15, and compare the information on the stable posture 15 with the stable posture data 430. If the comparison result shows that the stable posture 15 is not similar to any of the stable postures 11 to 14 and 16 to 17 already registered in the stable posture data 430, the posture calculation unit 330 may register the information on the stable posture 15 in the stable posture data 430. The operation of causing the robot 100 to freely fall the workpiece W may be performed by the user remotely operating the robot 100 using a teaching pendant, or may be performed automatically according to a robot program.
[0079] The transformation calculation unit 340 treats the information on the target posture 10 defined by the definition unit 310 and the information on the multiple stable postures 11 to 17 included in the stable posture data 430 calculated by the posture calculation unit 330 as all information on the same postures 10 to 17, determines whether the robot 100 can transform between these postures 10 to 17, and outputs a combination that allows posture transformation. The determination on whether posture transformation is possible is made based on whether the robot 100 can access the same holding position candidate in the posture before transformation and the posture after transformation.
[0080] 10 is an explanatory diagram of the processing of the conversion calculation unit 340 according to the first embodiment. In FIG. 10, a work model WM is placed on a temporary placement table model 4M in states of postures 17, 15, and 10. A model of the robot hand 102 is a hand model 102M. In FIG. 10, a plurality of holding position candidates 3221 to 3222 are shown in each of the postures 17, 15, and 10. N 13A, the positional relationship when the work model WM is held by the hand model 102M at one of the candidate holding positions, for example, the holding position candidate 341, is diagrammatically illustrated.
[0081] If the hand model 102M does not interfere (collide) with the temporary stand model 4M at the holding position candidate 341 on the work model WM, the hand model 102M can access the work model WM and therefore the robot hand 102 can hold the workpiece W. If the hand model 102M interferes (collides) with the temporary stand model 4M at the holding position candidate 341 on the work model WM, the hand model 102M cannot access the work model WM and therefore the robot hand 102 cannot hold the workpiece W.
[0082] First, an example of determining whether the workpiece W can be transformed by the robot 100 from the stable posture 17 to the stable posture 15 will be described. The transformation calculation unit 340 determines whether the hand model 102M can be held at the holding position candidate 341 when the workpiece model WM has become the stable posture 17, and also determines whether the hand model 102M can be held at the holding position candidate 341 when the workpiece model WM has become the stable posture 15.
[0083] In the example of FIG. 10, in either of the stable postures 17 and 15, the hand model 102M can hold the work model WM at the holding position candidate 341, so it is determined that the stable posture 17 can be converted to the stable posture 15.
[0084] Next, an example of determining whether the workpiece W can be transformed from the stable posture 17 to the target posture 10 by the robot 100 will be described. The transformation calculation unit 340 determines whether the hand model 102M can hold the workpiece model WM that has become the stable posture 17 at the holding position candidate 341, and also determines whether the hand model 102M can hold the workpiece model WM that has become the target posture 10 at the holding position candidate 341.
[0085] 10, in the stable posture 17, the hand model 102M can hold the work model WM at the holding position candidate 341. However, in the target posture 10, the hand model 102M collides with the temporary stand model 4M, and the work model WM cannot be held at the holding position candidate 341. For this reason, it is determined that conversion from the stable posture 17 to the target posture 10 is not possible.
[0086] Note that instead of judging all of the postures 10 to 17 under the same conditions, the target posture 10 may be judged using a table model 5M, which is a model of the table 5, instead of the temporary table model 4M.
[0087] The above determination process is performed on a plurality of storage position candidates 3221 to 3222. N This is performed for each of the plurality of postures 10 to 17, and thus combinations of postures that can be converted are calculated.
[0088] 11 is an explanatory diagram of the processing of the shortest path calculation unit 350 according to the first embodiment. The transformation relationships between the orientations 10 to 17 calculated by the transformation calculation unit 340 are expressed by a graph G1 based on graph theory. The graph G1 is composed of a node group and an edge group representing the connection relationships between the nodes. The graph G1 is an undirected graph in which all edges included in the edge group are undirected edges.
[0089] The nodes included in the node group are information on stable postures 11 to 17 or information on target posture 10. The edges included in the edge group are information on posture transformations 21 to 30 indicating a transition between two postures. For example, posture transformation 21 is a posture transformation indicating a transition between posture 11 and posture 10.
[0090] 11, circles are nodes indicating stable postures 11 to 17, double circles are nodes indicating the target posture 10, and line segments are edges indicating posture transformations 21 to 30. The numbers in the upper left corners of the circles indicate the minimum cost to the target posture 10, and in the first embodiment, they are the minimum number of posture transformations to the target posture 10. The shortest path calculation unit 350 calculates the shortest transformation path from each of the stable postures 11 to 17 to the target posture 10.
[0091] Specifically, the shortest conversion path is the shortest path from a certain stable posture to the target posture 10 via edges. In the example shown in FIG. 11, the information on the graph G1 includes information on the target posture 10 and information on stable postures 11-17 included in the node group, information on posture conversions 21-30 included in the edge group, and information on the minimum number of posture conversions from each of the stable postures 11-17 to the target posture 10 calculated from the information. For example, the stable posture 15 will be described. The postures that can be converted from the stable posture 15 are stable postures 14, 12, and 17. The minimum number of posture conversions from the stable postures 14, 12, and 17 to the target posture 10 are 2 times, 1 time, and 3 times, respectively. From these pieces of information, the posture to be converted next from the stable posture 15 is the stable posture 12. That is, the order of the stable posture 15, the stable posture 12, and the target posture 10 is the shortest conversion path.
[0092] By calculating the minimum number of posture transformations from each stable posture 11-17 to the target posture 10, the shortest transformation path from each stable posture 11-17 to the target posture 10 can be calculated. A method for calculating the minimum number of posture transformations from each stable posture 11-17 will be described. The relationship of posture transformations between the stable postures 11-17 and the target posture 10 is expressed by a graph G1 shown in FIG. 11. The problem of calculating the minimum number of posture transformations from each stable posture 11-17 to the target posture 10 is defined as a problem of searching for the shortest transformation path in the graph G1. The problem of searching for the shortest transformation path in the graph G1 can be solved using a general method such as the Dijkstra method or the Floyd-Warshall method. Therefore, the minimum number of posture transformations from each stable posture 11-17 to the target posture 10 can be calculated using any of these methods.
[0093] The data output unit 360 will be described. Fig. 12(a) is an explanatory diagram of pre-planned data 400 according to the first embodiment. The data output unit 360 outputs the pre-planned data 400 shown in Fig. 12(a) to a storage unit such as the HDD 254 shown in Fig. 3. The pre-planned data 400 has posture conversion data 410, alignment data 420, stable posture data 430, and posture conversion data 440.
[0094] The posture conversion data 410 is the holding position candidates 3221 to 3222 calculated by the candidate calculation unit 320. M The alignment data 420 includes the information of the holding position candidates 322 calculated by the candidate calculation unit 320. M+1 ~322 N The posture conversion data 410 includes the holding position candidates 3221 to 322 M and the storage position candidate 322 included in the alignment data 420 M+1 ~322 N Each piece of information includes the information expressed by equation (2).
[0095] The stable posture data 430 includes information on the stable postures 11 to 17 calculated by the posture calculation unit 330. Each of the information on the stable postures 11 to 17 included in the stable posture data 430 includes information expressed by formula (1).
[0096] The posture conversion data 440 includes information calculated by the shortest path calculation unit 350. Fig. 12(b) is an explanatory diagram of the posture conversion data 440 according to the first embodiment. As shown in Fig. 12(b), the posture conversion data 440 includes a unique posture number assigned to each of the stable postures 11 to 17, a minimum number of posture changes in each of the stable postures 11 to 17, and a posture number of a stable posture to which the posture can be changed next from each of the stable postures 11 to 17. Note that the format of the advance planning data 400 is not limited to the above-mentioned one, and the posture conversion data 440 may include the stable posture data 430.
[0097] In this way, the advance planning data 400 includes a plurality of storage location candidates 3221 to 3222. M information, multiple storage location candidates 322 M+1 ~322 N The information on the graph G1 includes information on the plurality of postures 10-17 of the workpiece W as a node group, and information on a plurality of posture transformations 21-30 between the plurality of postures 10-17 as an edge group, as described above. The information on the plurality of postures 10-17 includes information on two or more stable postures 11-17 and information on at least one target posture 10.
[0098] The advance plan data 400 created as described above is created in the first mode. Next, a second mode in which a plurality of workpieces W piled in bulk on the supply table 3 are aligned on the placement table 5 will be described.
[0099] Fig. 13(a) is a block diagram of the behavior planning unit 233 according to the first embodiment. Fig. 13(b) is a block diagram of the control unit 234 according to the first embodiment. The behavior planning unit 233 includes a similar posture determination unit 510, a posture calculation unit 520, and a trajectory generation unit 530. The control unit 234 includes a robot control unit 610.
[0100] In the second mode, the measurement unit 231 causes the vision sensor 6 to capture an image of the workpiece W on the supply table 3, and acquires image information of the captured image from the vision sensor 6. Based on the captured image, the measurement unit 231 selects one workpiece W to be held by the robot 100 from among the multiple workpieces W randomly piled on the supply table 3. Then, the robot control unit 610 causes the robot 100 to hold the selected one workpiece W, and if the workpiece W held by the robot 100 can be placed directly on the placement table 5, causes the robot 100 to place the workpiece W on the placement table 5. If the workpiece W cannot be placed directly on the placement table 5, the robot control unit 610 causes the robot 100 to temporarily place the workpiece W on the temporary placement table 4.
[0101] The measurement unit 231 causes the vision sensor 7 to capture an image of the workpiece W temporarily placed on the temporary placement table 4, and acquires image information that is the captured image from the vision sensor 7. The measurement unit 231 measures the posture of the workpiece W placed on the temporary placement table 4 based on the captured image acquired from the vision sensor 7, and outputs information on the measured posture of the workpiece W to the action planning unit 233.
[0102] As a result, the behavior planning unit 233 acquires information on the posture of the workpiece W placed on the temporary placement table 4 from the measurement unit 231. Note that, if the vision sensor 7 has the function of the measurement unit 231, the behavior planning unit 233 acquires information on the posture of the workpiece W placed on the temporary placement table 4 from the vision sensor 7.
[0103] The behavior planning unit 233 plans a posture to be taken by the work W next to the measured posture of the work W based on the information on the posture of the work W measured by the measurement unit 231 and the advance planning data 400. The posture to be taken by the work W next is a posture that can be the shortest conversion path from the measured posture of the work W to the target posture 10. The processing of each unit 510 to 530 of the behavior planning unit 233 will be specifically described below.
[0104] 14 is an explanatory diagram of the process of the similar orientation determination unit 510 according to the first embodiment. The orientation of the work W placed on the temporary placement table 4 is set as an orientation 511. The orientation 511 is an orientation measured by the measurement unit 231. The orientation 511 is an example of a first orientation.
[0105] The similar attitude determination unit 510 selects the stable attitude that is closest to the attitude 511 of the workpiece W temporarily placed on the temporary placement table 4 from the plurality of stable attitudes 11 to 17 included in the stable attitude data 430.
[0106] Here, certain postures A and B are transformed by homogeneous transformation matrix R A ,R B The similarity between posture A and posture B can be expressed as the rotation angle θ between posture A and posture B.
number
number
[0107] R shown in Equation (3) d is a matrix that indicates the relative transformation relationship between two postures A and B. The homogeneous transformation matrix R A ,R B correspond to postures A and B, respectively. R d11 ,R d22 ,R d33 is the matrix R d is a component of the homogeneous transformation matrix R shown in equation (1). 11 ,R 22 ,R 33 Corresponds to.
[0108] The similar posture determination unit 510 calculates the rotation angle θ as the similarity between posture A and posture B, and calculates the combination of postures A and B that results in the smallest rotation angle θ, thereby making it possible to find posture B that matches or is similar to posture A.
[0109] That is, the similar posture determination unit 510 acquires information on a stable posture that matches or is similar to the information on the posture 511 from information on the stable postures 11 to 17 registered in the stable posture data 430. For example, the homogeneous transformation matrix indicating the posture 511 is a homogeneous transformation matrix R A The homogeneous transformation matrix that indicates the stable posture is the homogeneous transformation matrix R B In the first embodiment, the similarity pose determination unit 510 uses a homogeneous transformation matrix R A , and the homogeneous transformation matrix R that indicates the stable posture B From the matrix R d Calculate the matrix R d Component R of d11 ,R d22 ,R d33The rotation angle θ is calculated from the above. The similar posture determination unit 510 calculates the rotation angle θ for all combinations of the posture 511 and the stable postures 11 to 17, and outputs the stable posture for which the rotation angle θ is smallest, for example, the stable posture 15 in the example of FIG. 14. That is, the stable posture 15 is the stable posture that matches or is most similar to the posture 511 among the stable postures 11 to 17. The stable posture 15 is an example of a third posture. Note that, although only the rotation angle θ is used in the similarity determination, position information or other information may also be used in the similarity determination.
[0110] Fig. 15 is an explanatory diagram of the processing of the posture calculation unit 520 according to the first embodiment. Fig. 15 illustrates a graph G1 based on graph theory using the pre-planned data 400. The posture calculation unit 520 uses information on the similar posture calculated by the similar posture determination unit 510 to determine the posture to which the measured posture should be transitioned next, that is, the transition destination posture. The graph G1 indicating the relationship of posture conversion can be restored by analyzing the pre-planned data 400.
[0111] An example will be described in which the orientation that matches or is similar to the orientation 511 is the stable orientation 15. The orientation calculation unit 520 extracts information on the stable orientations 12, 14, and 17 from the advance planning data 400 as orientations to which the stable orientation 15 can be converted.
[0112] The information on the stable postures 12, 14, and 17 is information on postures that are linked to the information on the stable posture 15 via information on posture transformations 26, 28, and 29 that indicate edges included in the edge group of the graph G1.
[0113] At least two nodes, i.e., at least two posture information, are linked to the nodes in the graph G1. At least two posture information, that is, three stable postures 12, 14, and 17, are linked to the node stable posture 15.
[0114] In this way, in the information on the graph G1, information on at least two postures is linked to information on the posture 511 via edges included in the edge group, i.e., information on posture transformations 26, 28, and 29 included in information on the posture transformations 21 to 30. In such a case, the posture calculation unit 520 acquires the priority of the information on the stable postures 12, 14, and 17, and acquires information on the posture to be taken by the workpiece W next after the posture 511, for example, information on the stable posture 12, from the information on the stable postures 12, 14, and 17 based on the priority.
[0115] The stable posture 15 can be converted to the stable posture 12 by a posture conversion 26. The stable posture 15 can be converted to the stable posture 14 by a posture conversion 28. The stable posture 15 can be converted to the stable posture 17 by a posture conversion 29.
[0116] The posture calculation unit 520 acquires the costs required for the workpiece W to change from the stable postures 12, 14, and 17 to the target posture 10. Then, the posture calculation unit 520 acquires the priority order based on the acquired costs. The cost in the first embodiment is the minimum cost. In other words, the cost is the number of posture conversions required for the workpiece W to change from each of the stable postures 12, 14, and 17 to the target posture 10, that is, the minimum number of posture conversions registered in the posture conversion data 440 of the advance planning data 400.
[0117] Thus, there are three stable postures 12, 14, and 17 to which the stable posture 15 can be converted. The minimum number of posture conversions associated with the information of the stable posture 12 is one, the minimum number of posture conversions associated with the information of the stable posture 14 is two, and the minimum number of posture conversions associated with the information of the stable posture 17 is three. The stable posture 12, which has the smallest number of posture conversions among these minimum numbers of posture conversions, is closest to the target posture 10 and has the first priority. The stable posture 14, which has the next smallest number of posture conversions, is two, has the second priority. The stable posture 17, which has the smallest number of posture conversions, is three, has the third priority. In the first embodiment, the stable posture 12, which has the highest priority, is selected as the posture to be converted next to the stable posture 15.
[0118] As described above, the posture calculation unit 520 acquires information on the stable postures 12, 14, and 17 including the posture to be taken by the workpiece W after the posture 511 based on the information on the graph G1 and the information on the posture 511. The posture to be taken by the workpiece W after the posture 511 is selected from among the stable postures 12, 14, and 17.
[0119] 16 is an explanatory diagram of the process of the trajectory generating unit 530 according to the first embodiment. The trajectory generating unit 530 selects holding positions for performing a posture change from the posture 511 to the stable posture 12 from a plurality of holding position candidates 3221 to 3222. M and generates a trajectory of the robot 100 according to the holding position. The stable posture 12 is an example of the second posture.
[0120] Here, it is assumed that the holding position is defined in advance for the stable posture 15. If there is no error between the measured posture 511 and the stable posture 15, it is possible to have the robot 100 hold the workpiece W at the holding position defined in advance and convert the stable posture 15 to the stable posture 12. However, the posture 511 of the workpiece W temporarily placed on the temporary placement table 4 has a posture error with respect to the most similar stable posture 15. Therefore, when an attempt is made to have the robot 100 hold the workpiece W in the posture 511 at a holding position defined in advance for the stable posture 15 and perform a posture conversion operation, the robot 100 may fail to hold the workpiece W in the posture 511 or may not be able to convert the posture of the workpiece W from the posture 511 to the next stable posture 12 due to the influence of the robot 100 being out of the movable range or the robot 100 colliding with another object.
[0121] In the first embodiment, the trajectory generating unit 530 selects holding positions that can convert the measured posture 511 to the stable posture 12 from a plurality of holding position candidates 3221 to 3222. M A specific example of the procedure for selecting the holding position will be described below.
[0122] First, the trajectory generating unit 530 calculates the holding position candidates that can convert the posture 511 to the stable posture 12 from the plurality of holding position candidates 3221 to 3222 included in the posture conversion data 410. M In this determination, the same determination as that of the conversion calculation unit 340 is performed.
[0123] In FIG. 16, a plurality of holding position candidates 3221 to 3222 are shown for each of the postures 511 and 512. M For example, one of the storage position candidates 322 i Schematically illustrates the positional relationship when the work model WM is held by the hand model 102M at (i is an integer from 1 to M).
[0124] First, the trajectory generation unit 530 calculates whether the robot 100 is in the holding position candidate 322 in each of the postures 511 and 512 based on the kinematics of the robot 100. i The trajectory generating unit 530 determines whether the robot 100 can hold the workpiece W at the holding position candidate 322 in each posture 511, 12 by performing an inverse kinematics calculation using mechanical information of the robot 100, such as a model of the robot 100 and information on the movable range of the robot 100. i If the robot 100 can hold the workpiece W, it is determined whether the robot 100 will interfere with surrounding objects.
[0125] The hand model 102M is a holding position candidate 322 on the work model WM. i If the hand model 102M does not interfere (collide) with the temporary placement table model 4M at the position 322, the hand model 102M can access the workpiece model WM, and the robot hand 102 can hold the workpiece W. i If the hand model 102M interferes (collides) with the temporary table model 4M at , the hand model 102M cannot access the workpiece model WM, and therefore the robot hand 102 cannot hold the workpiece W. Note that interference determination may be added to the surrounding environment of the robot 100 other than the temporary table 4.
[0126] That is, the trajectory generating unit 530 transfers the work model WM in the pose 511 to the holding position candidate 322. i It is judged whether the hand model 102M can be held, and the work model WM that has reached the stable posture 12 is selected as the holding position candidate 322. i In both the posture 511 and the stable posture 12, the hand model 102M is judged to be able to hold the work model WM at the holding position candidate 322. i If the hand model 102M can hold the work model WM at the position of the holding position candidate 322, the hand model 102M can change its position from the position 511 to the stable position 12. i If the posture cannot be held at the same position, the posture cannot be changed from the posture 511 to the stable posture 12.
[0127] Multiple storage location candidates 3221 to 322 M 322. i When the holding position candidate 322 is extracted, the trajectory generating unit 530 i is set as a holding position 531 used for generating trajectory data of the robot 100. The stable posture 12 is an example of the second posture.
[0128] If there is no holding position candidate that allows posture conversion, the trajectory generating unit 530 determines the stable posture 14, which has the second lowest number of posture conversions after the stable posture 12, as the next best conversion destination. In this way, the trajectory generating unit 530 determines on the spot whether to use a plurality of conversion destination candidates, i.e., the plurality of stable postures 12, 14, and 17, in order of priority, as a holding position, and generates trajectory data. This allows the robot 100 to move quickly and flexibly.
[0129] To explain the generation of trajectory data using a specific example, the trajectory generation unit 530 calculates, based on inverse kinematics calculations using a model of the robot 100, a first trajectory for moving the TCP to a holding position corresponding to the posture 511 and a second trajectory for moving the TCP from the holding position corresponding to the posture 511 to a holding position corresponding to the stable posture 12, and outputs trajectory data including the first and second trajectories.
[0130] In addition, the candidates of the holding positions that can be held in the posture conversion destination, i.e., each stable posture and the target posture, may not be calculated by the trajectory generation unit 530 but may be calculated in advance by the conversion calculation unit 340 and included in the advance plan data 400. In the second mode, the trajectory generation unit 530 calculates the candidates of the holding positions that can be held in the measured posture 511 as a plurality of holding position candidates 3221 to 3222. M It is only necessary to perform a calculation to extract the candidate holding positions from among the above, and the calculation of the candidates for the holding positions in the stable posture 12 as the transition destination can be omitted.
[0131] In this way, the trajectory generation unit 530 generates a plurality of holding position candidates 3221 to 3222 M At least one holding position candidate that allows the robot 100 to displace the workpiece W from the posture 511 to the stable posture 12 is extracted from the plurality of holding position candidates 3221 to 3222, and the holding position 531 is selected from the at least one extracted holding position candidate. M One of the storage position candidates 322 i The extracted storage position candidate 322 i is set as a holding position 531. In this case, the trajectory generating unit 530 selects a plurality of holding position candidates 3221 to 3222. M Among these, the robot 100 can displace the workpiece W from the posture 511 to the stable posture 12 by selecting the holding position candidate 322. i is extracted based on at least the mechanical information of the robot 100.
[0132] Thus, one storage position candidate 322 i The case where two or more storage position candidates 322 are extracted has been described. iIn such a case, the trajectory generating unit 530 may extract two or more holding position candidates 322. i The trajectory generating unit 530 selects one of the two or more extracted holding position candidates 322 as the holding position 531. A specific example of the selection method will be described below. i For each of the above, information on the operation time of the robot 100 required to displace the workpiece W from the posture 511 to the stable posture 12 is obtained, and two or more holding position candidates 322 are selected based on the information on the operation time. i For example, the trajectory generating unit 530 selects the holding position candidate 322 that has the shortest operation time. i is selected as holding location 531 .
[0133] As described above, in the first embodiment, the behavior planning unit 233 acquires information on the stable posture 12 to be taken by the workpiece W after the posture 511 based on information on the graph G1 and information on the posture 511. Then, the behavior planning unit 233 calculates the holding position 531 of the workpiece W to be held by the robot 100 when the posture of the workpiece W is converted from the posture 511 to the stable posture 12 by using a plurality of holding position candidates 3221 to 3222. M Then, the behavior planning unit 233 generates trajectory data for the robot 100 using the information on the holding position 531 and outputs it to the control unit 234.
[0134] The robot control unit 610 of the control unit 234 controls the angles of the axes of the robot arm 101 and the opening degree of the robot hand 102 based on the trajectory data, and actually executes the posture changing operation of the workpiece W.
[0135] In this case, even if the robot control unit 610 controls the robot 100 to convert the posture of the workpiece W from posture 511 to the stable posture 12, the posture of the workpiece W placed on the temporary placement table 4 may deviate slightly from the stable posture 12.
[0136] Therefore, in the first embodiment, every time an operation of placing the workpiece W on the temporary placement table 4 is performed, the processing unit 230 executes the same processing as the above-mentioned processing. That is, the measurement unit 231 performs measurement processing using the vision sensor 7 to measure the posture of the workpiece W placed on the temporary placement table 4. The posture of the workpiece W at this time is set as posture 512 as shown in FIG.
[0137] The behavior planning unit 233 acquires information on the posture 512 of the work W from the measurement unit 231. The behavior planning unit 233 acquires information on the posture to be taken by the work W after the posture 512, based on information on the graph G1 and information on the posture 512. In this example, the posture to be taken by the work W after the posture 512 is not a stable posture, but the target posture 10. Therefore, the behavior planning unit 233 acquires information on the target posture 10.
[0138] Then, the behavior planning unit 233 calculates the holding positions of the workpiece W to be held by the robot 100 when the posture of the workpiece W is converted from the posture 512 to the target posture 10 by the robot 100, based on the plurality of holding position candidates 322. M+1 ~322 N In addition, the storage position candidates 3221 to 322 M Instead, multiple storage location candidates 322 M+1 ~322 N However, the calculation process is the same as in the above example, and therefore a description thereof will be omitted.
[0139] Then, the behavior planning unit 233 generates trajectory data for the robot 100 using the information on the holding position, and outputs it to the control unit 234. The robot control unit 610 of the control unit 234 controls the angles of the axes of the robot arm 101 and the opening degree of the robot hand 102 based on the trajectory data, and actually executes the posture changing operation of the workpiece W. As a result, the workpiece W placed on the temporary placement table 4 is transported to the placement table 5 and placed in an aligned state on the placement table 5.
[0140] In this way, the measurement process of the measurement unit 231 and the series of processes of the action planning unit 233 in the second mode are executed every time a workpiece W is temporarily placed on the temporary placement table 4.
[0141] As described above, according to the first embodiment, the robot 100 is not controlled according to a predetermined action plan, but the next action of the robot 100 is determined in real time according to the posture of the workpiece W placed on the temporary placement table 4. That is, even if the posture of the workpiece W placed on the temporary placement table 4 deviates from the stable posture registered in the advance plan, information on the posture of the workpiece W is acquired every time the workpiece W is placed on the temporary placement table 4, and a holding position is selected based on the posture information, so that it is possible to flexibly respond in real time according to the posture of the workpiece W. That is, it is possible to flexibly respond according to the situation of the workpiece W temporarily placed on the temporary placement table 4.
[0142] Moreover, since the information on the selected holding position can be reflected in the control of the robot 100, the robot 100 can be made to perform precise operations. Moreover, the robot 100 can be made to operate precisely along the shortest conversion path, and the operation of the robot 100 can be made faster. Thus, the operation of aligning the workpiece W on the stage 5, or the operation of assembling the workpiece W to another workpiece placed on the stage 5 can be performed quickly and precisely.
[0143] In order to improve the alignment operation of the workpiece W, information on the success or failure of past posture conversions may be stored in a memory device such as the HDD 254, and the priority of the posture of the next conversion destination may be changed based on that information.
[0144] Second Embodiment 17 is an explanatory diagram showing a schematic configuration of a robot system 1A according to the second embodiment. Note that, in the robot system 1A of the second embodiment, the description of the same configuration as the robot system 1 of the first embodiment will be omitted.
[0145] The robot system 1A includes a supply table 3, a temporary placement table 4, a placement table 5, a vision sensor 6, a vision sensor 7, a robot 100, a moving mechanism 9, and a control device 200A. One of at least one workpiece W placed on the supply table 3 is picked up by the robot 100, and, if necessary, one or more posture changing operations are performed on the temporary placement table 4, and the workpiece W is aligned and placed on the placement table 5.
[0146] The robot system 1A of the second embodiment is obtained by adding a moving mechanism 9 to the robot system 1 of the first embodiment. The function of the control device 200A is different from that of the control device 200 of the first embodiment. The moving mechanism 9 is a mechanism for moving the temporary table 4, and in the second embodiment, is a rotation mechanism for rotating the temporary table 4. That is, the temporary table 4 can be a turntable. The moving mechanism 9 has a motor (not shown) and a control circuit (not shown) for controlling the motor. The moving mechanism 9 may be a linear motion mechanism for linearly moving the temporary table 4, such as a conveyor, or may include a rotation mechanism and a linear motion mechanism.
[0147] The control device 200A is a device capable of controlling the robot 100 and the moving mechanism 9. The hardware of the control device 200A is substantially the same as the hardware of the control device 200 of the first embodiment shown in Fig. 2 and Fig. 3, and a description thereof will be omitted. The software of the control device 200A, i.e., the program, is different from the program 261 of the first embodiment. In other words, the function of the control device 200A is different from the function of the control device 200A of the first embodiment.
[0148] FIG. 18 is a functional block diagram of the processing unit 230A according to the second embodiment. The control device 200A has the CPU 251 of FIG. 3. The CPU 251 executes a program to function as the processing unit 230A capable of information processing. The processing unit 230A includes a measurement unit 231, a pre-planning unit 232A, a behavior planning unit 233A, and a control unit 234A. In the second embodiment, the processing unit 230A selectively executes a first mode in which the pre-planned data 400A is created, and a second mode in which the robot 100 is controlled based on at least the pre-planned data 400A. In the first mode, at least the pre-planning unit 232A functions, and in the second mode, at least the measurement unit 231, the behavior planning unit 233A, and the control unit 234A function.
[0149] As in the first embodiment, in the second embodiment, a case where one computer functions as the processing unit 230A will be described, but the present invention is not limited to this. For example, multiple computers may function as the processing unit 230A. That is, the functions of the measurement unit 231, the advance planning unit 232A, the action planning unit 233A, and the control unit 234A may be distributed among multiple computers. Some or all of the multiple computers may include a microcomputer.
[0150] 19 is a block diagram of the pre-planning unit 232A according to the second embodiment. The pre-planning unit 232A has a definition unit 310, a candidate calculation unit 320, an orientation calculation unit 330, an orientation calculation unit 710, a transformation calculation unit 720, a shortest path calculation unit 730, and a data output unit 360.
[0151] The posture calculation unit 710 has a function of calculating an unstable posture. The unstable posture is a posture that is not a stable posture. That is, when the robot hand 102 releases the workpiece W on the temporary placement table 4, the workpiece W cannot maintain the posture at the time of release, and the workpiece W falls or rolls, and the workpiece W is displaced to a stable posture on the temporary placement table 4. The posture of the workpiece W is changed by the workpiece W being displaced by its own weight. Therefore, the workpiece W in an unstable posture is also subjected to posture conversion to a stable posture outside the movable range where the posture cannot be converted when the robot 100 holds the workpiece W at a certain holding position. The method of calculating the unstable posture is almost the same as the method of calculating the stable posture, so a description thereof will be omitted.
[0152] It is preferable that the posture calculation unit 710 calculates various unstable postures that the workpiece W can take at equal intervals. For example, a large number of unstable postures, about 100 to 1000 patterns, can be calculated, and the posture conversion operation can be made more efficient.
[0153] The transformation calculation section 720 calculates the transformation of the posture due to the displacement from the unstable posture and the transformation of the posture due to the rotation of the temporary placement table 4 in addition to the processing of the transformation calculation section 340 .
[0154] Fig. 20(a) is an explanatory diagram showing an example of posture change according to the second embodiment. As shown in Fig. 20(a), the workpiece W placed on the temporary placement table 4 in an unstable posture 731 is displaced by falling or the like, and thereby the posture is changed to a stable posture 12.
[0155] In the second embodiment, the displacement due to the tipping of the workpiece W is also regarded as a type of posture change, and by deliberately having the robot 100 release the workpiece W in an unstable posture, it becomes possible to change the posture to a stable posture that cannot be changed by the robot 100, thereby making posture changes more efficient.
[0156] It is preferable to use a computer simulation based on physical calculations, that is, a physical simulation, for calculating the posture change from an unstable posture to a stable posture. A method for calculating the posture change by physical calculations will be described below.
[0157] The conversion calculation unit 720 prepares a model of the workpiece W and a model of the temporary placement table 4 in a virtual space where a physical simulation is performed. The conversion calculation unit 720 places the model of the workpiece W in an unstable posture 731 at a position above the model of the temporary placement table 4. The conversion calculation unit 720 obtains the movement of the model of the workpiece W in the unstable posture 731 until it falls over on the model of the temporary placement table 4 and comes to rest by physical calculation. The conversion calculation unit 720 extracts a stable posture 12 that is most similar to the posture in which the model of the workpiece W comes to rest from the stable posture data 430, and defines the unstable posture 731 as one that can be posture-converted into the extracted stable posture 12. The conversion calculation unit 720 defines a plurality of posture conversions by performing such physical calculations for each of a plurality of unstable postures.
[0158] The conversion calculation unit 720 may extract a stable posture 12 that coincides with the posture of the model of the workpiece W when it is stationary from the stable posture data 430, and define the unstable posture 731 as one that can be converted into the extracted stable posture 12. When the workpiece W actually falls, the actual posture of the workpiece W may deviate slightly from the registered stable posture, so that even in such a case, a stable posture conversion can be performed.
[0159] Fig. 20(b) is an explanatory diagram showing an example of posture change according to the second embodiment. The posture change shown in Fig. 20(b) shows an example in which the posture of the workpiece W is changed by rotating the temporary placement table 4 by the moving mechanism 9. Fig. 20(b) shows that the posture of the workpiece W placed in the stable posture 14 can be changed to the stable posture 12 by rotating the temporary placement table 4 by 180 degrees.
[0160] In the second embodiment, the displacement of the workpiece W due to the rotation of the temporary placement table 4 is also regarded as a type of posture change, and by rotating the workpiece W, it is possible to change the posture of the workpiece W to a stable posture that cannot be changed by the robot 100, thereby making the posture change more efficient.
[0161] Posture conversion by rotation is defined by calculating the posture conversion between two stable postures included in the stable posture data 430. For example, whether a certain stable posture C can be converted to a stable posture D by rotation is determined as follows. First, the conversion calculation unit 720 calculates multiple postures by rotating the stable posture C around the rotation axis of the model of the temporary placement table 4 at regular angle intervals. From the multiple postures, the conversion calculation unit 720 extracts the posture that has the smallest angle with the stable posture D. This angle is defined as the angle Δθ. If the angle Δθ is smaller than a threshold value (e.g., 10 degrees), the conversion calculation unit 720 defines that the stable posture C and the stable posture D can be converted by rotation.
[0162] The posture change due to tilting and the posture change due to rotation each require a shorter time than the posture change using the robot 100. Therefore, the posture change of the workpiece W can be performed more efficiently by using the posture change operation due to tilting and the posture change operation due to rotation.
[0163] Fig. 21 is an explanatory diagram of the process of the shortest path calculation unit 730 according to the second embodiment. Graph G2 shown in Fig. 21 is obtained by adding a node indicating information of an unstable posture 731 calculated by the posture calculation unit 710, an edge indicating information of a posture transformation 732 due to a collapse calculated by the transformation calculation unit 720, and edges indicating posture transformations 733 and 734 due to rotation to graph G1 representing a posture transformation created by the shortest path calculation unit 350 in the first embodiment.
[0164] The posture change 732 due to the fall is represented by a directed edge that can represent a transition in one direction. The posture change from the stable posture 17 to the unstable posture 731 is also represented by a directed edge. The posture changes 21 to 30 and the posture changes 733 and 734 are represented by undirected edges.
[0165] In the first embodiment, the cost required for the work W to change from a certain posture to the target posture 10 is the number of posture changes required for the work W to change from a certain posture to the target posture 10. In the second embodiment, the cost is a value related to the time required for the work W to change from a certain posture to the target posture 10. The node group in the graph G2 includes information on an unstable posture 731 in which the work W is displaced by its own weight on the temporary placement table 4. The edge group in the graph G2 includes information on a posture change 732 indicating a transition from the unstable posture 731 to the stable posture 12. The edge group in the graph G2 also includes information on a posture change 733 indicating a transition between the stable posture 12 and the stable posture 14, and information on a posture change 734 indicating a transition between the stable posture 12 and the stable posture 13.
[0166] For example, the cost required to convert the workpiece W from one posture to the next posture by the robot 100 is set to "1". As described above, the posture conversion by tilting and the posture conversion by rotation require a shorter time for posture conversion than the posture conversion using the robot 100. Therefore, the cost required to convert the workpiece W from one posture to the next posture by tilting or rotating is set to "0.1". In other words, the cost assigned to the posture conversions 21 to 30 is set to "1", and the cost assigned to the posture conversions 732 to 734 is set to "0.1", which is lower than the cost "1" assigned to the posture conversions 21 to 30. In this way, the posture conversion by tilting or rotating is completed at a higher speed than the posture conversion by holding, so a lower cost is set than the cost of the posture conversion by holding. In FIG. 21, the number in the upper left corner of the circle is the minimum cost from that posture to the target posture 10. The cost may be a value of the time required for the actual operation, not a standardized value as described above.
[0167] In this way, all of the posture changes due to holding, tilting, and rotation are expressed by one graph G2. Therefore, the shortest path calculation unit 730 can calculate the shortest posture change by the same calculation method as that used by the shortest path calculation unit 350.
[0168] 22 is an explanatory diagram of pre-planned data 400A according to the second embodiment. The pre-planned data 400A is obtained by adding unstable posture data 810 to the pre-planned data 400 and substituting posture transformation data 820 for posture transformation data 440. That is, the pre-planned data 400A includes posture transformation data 410, alignment data 420, stable posture data 430, unstable posture data 810, and posture transformation data 820. The posture transformation data 820 is obtained by adding posture transformation due to tilting and posture transformation due to rotation to the posture transformation data 440.
[0169] Fig. 23(a) is a block diagram of a behavior planning unit 233A according to the second embodiment. Fig. 23(b) is a block diagram of a control unit 234A according to the second embodiment. The behavior planning unit 233A includes a similar posture determination unit 510, a posture calculation unit 910, and a trajectory generation unit 530. The control unit 234A includes a robot control unit 610 and a moving mechanism control unit 1010.
[0170] The orientation calculation unit 910 determines the orientation to which the measured orientation should be transitioned next, that is, the transition destination orientation, using the information on the similar orientation calculated by the similar orientation determination unit 510. At this time, the orientation calculation unit 910 determines not only the orientation transformations 21 to 30 due to holding, but also the orientation transformations 732 to 734 due to falling and rotation.
[0171] When the posture change method outputted by the posture calculation unit 910 is posture change by holding, the robot control unit 610 transmits an operation command to the robot 100. When the posture change is by rotation, the movement mechanism control unit 1010 transmits an operation command to the movement mechanism 9. The posture change by falling is performed by the weight of the workpiece W itself.
[0172] A specific example of processing utilizing the tilt of the workpiece W will be described below. The processing unit 230A causes the robot 100 to hold one workpiece W placed on the supply table 3, and causes the robot 100 to place the workpiece W on the temporary placement table 4. The processing unit 230A causes the vision sensor 7 to capture an image of the workpiece W on the temporary placement table 4, acquires the captured image from the vision sensor 7, and measures the orientation of the workpiece W on the temporary placement table 4. The measured orientation is defined as orientation 751.
[0173] The processing unit 230A extracts a stable posture 17 as a posture that is the same as or similar to the posture 751. Of at least two nodes linked to the stable posture 17, postures 15, 16, and 731 in FIG. 21, the unstable posture 731 has the lowest cost to reach the target posture 10. The processing unit 230A selects the unstable posture 731 as the posture to be transitioned to next. The processing unit 230A extracts a stable posture 17 as a posture that is the same as or similar to the posture 751. Of at least two nodes linked to the stable posture 17, postures 15, 16, and 731 in FIG. 21, the unstable posture 731 has the lowest cost to reach the target posture 10. M Select the holding position from the list.
[0174] Then, the processing unit 230A generates trajectory data for the robot 100 using the information on the holding position, and controls the angles of the axes of the robot arm 101 and the opening degree of the robot hand 102 based on the trajectory data to actually perform a posture changing operation of the workpiece W. That is, the processing unit 230A causes the robot 100 to place the workpiece W on the temporary placement table 4 in an unstable posture such that the workpiece W on the temporary placement table 4 is displaced by its own weight to a posture that coincides with or is similar to the stable posture 12. When the robot 100 releases the workpiece W on the temporary placement table 4, the workpiece W placed in an unstable posture on the temporary placement table 4 is displaced from the unstable posture to a stable posture by, for example, falling over by its own weight.
[0175] The processing unit 230A causes the vision sensor 7 to capture an image of the workpiece W on the temporary placement table 4, acquires the captured image from the vision sensor 7, and measures the orientation of the workpiece W on the temporary placement table 4. The orientation measured at this time is defined as orientation 752.
[0176] The processing unit 230A extracts the stable posture 12 as a posture that is the same as or similar to the posture 752. Among the nodes linked to the stable posture 12, the cost of the target posture 10 is the lowest, and the processing unit 230A selects the target posture 10 as the posture to be transitioned to next. The processing unit 230A extracts the stable posture 12 as a posture that is the same as or similar to the posture 752. Among the nodes linked to the stable posture 12, the cost of the target posture 10 is the lowest, and the processing unit 230A selects the target posture 10 as the posture to be transitioned to next. M+1 ~322 N Select the holding position from the list.
[0177] Then, the processing unit 230A generates trajectory data for the robot 100 using the information on the holding position, and controls the angles of the axes of the robot arm 101 and the opening degree of the robot hand 102 based on the trajectory data to actually perform the posture changing operation of the workpiece W. As a result, the workpiece W placed on the temporary placement table 4 is transported to the placement table 5 and placed in an aligned state on the placement table 5.
[0178] Next, a specific example will be given to describe processing using the rotation of the workpiece W. The processing unit 230A causes the robot 100 to hold one workpiece W placed on the supply table 3, and causes the robot 100 to place the workpiece W on the temporary placement table 4. The processing unit 230A causes the vision sensor 7 to capture an image of the workpiece W on the temporary placement table 4, acquires the captured image from the vision sensor 7, and measures the orientation of the workpiece W on the temporary placement table 4. The measured orientation is designated as orientation 753.
[0179] The processing unit 230A extracts the stable posture 14 as a posture that matches or is similar to the posture 753. Of at least two nodes linked to the stable posture 14, postures 11, 12, and 15 in FIG. 21, the stable posture 12 has the lowest cost to reach the target posture 10. The processing unit 230A selects the stable posture 12 as the posture to be transitioned to next. The processing unit 230A moves the temporary placement table 4 with the moving mechanism 9, and changes the posture of the workpiece W placed on the temporary placement table 4 to a posture that matches or is similar to the posture 12. That is, the processing unit 230A changes the posture of the workpiece W by rotating the temporary placement table 4 by a predetermined angle with the moving mechanism 9.
[0180] The processing unit 230A causes the vision sensor 7 to capture an image of the workpiece W on the temporary placement table 4, acquires the captured image from the vision sensor 7, and measures the orientation of the workpiece W on the temporary placement table 4. The orientation measured at this time is defined as orientation 752.
[0181] The processing unit 230A extracts the stable posture 12 as a posture that is the same as or similar to the posture 752. Among the nodes linked to the stable posture 12, the cost of the target posture 10 is the lowest, and the processing unit 230A selects the target posture 10 as the posture to be transitioned to next. The processing unit 230A extracts the stable posture 12 as a posture that is the same as or similar to the posture 752. Among the nodes linked to the stable posture 12, the cost of the target posture 10 is the lowest, and the processing unit 230A selects the target posture 10 as the posture to be transitioned to next. M+1 ~322 N Select the holding position from the list.
[0182] Then, the processing unit 230A generates trajectory data for the robot 100 using the information on the holding position, and controls the angles of the axes of the robot arm 101 and the opening degree of the robot hand 102 based on the trajectory data to actually perform the posture changing operation of the workpiece W. As a result, the workpiece W placed on the temporary placement table 4 is transported to the placement table 5 and placed in an aligned state on the placement table 5.
[0183] According to the second embodiment, by adding a low-cost posture conversion operation such as tipping or rotating the workpiece W, it is possible to convert the posture of the workpiece W from a certain posture to the target posture 10 at high speed. That is, it is possible to speed up the operation of aligning the workpiece W on the placement table 5 or the operation of assembling the workpiece W to another work placed on the placement table 5. In addition, since the posture of the workpiece on the temporary placement table 4 can be converted by the moving mechanism 9, it is possible to have the moving mechanism 9 perform posture conversion operations that are difficult for the robot 100 to perform at low cost, for example, and it is possible to speed up the operation of aligning and assembling the workpiece W.
[0184] 24 is an explanatory diagram of a graphical user interface (GUI) according to the second embodiment. In the second embodiment, the processing unit 230A displays, as the GUI, a user interface image 1200 that the user can operate using the mouse 204 or the like, on the display 202 in FIG.
[0185] The processing unit 230A displays, for example, an image showing the holding position of the workpiece W held by the robot 100 during the posture changing operation and the holding position of the workpiece W in the posture change destination in the user interface image 1200. This allows the user to confirm which part of the workpiece W is being held by the robot hand 102 by looking at the user interface image 1200.
[0186] Moreover, the processing unit 230A displays an image showing candidates for the next transition destination posture, a path from the current posture to the target posture, and the number of posture conversions in the user interface image 1200. This allows the user to confirm the posture conversion path of the workpiece W by looking at the user interface image 1200.
[0187] Furthermore, the processing unit 230A displays buttons 1201 and 1202 that serve as a user interface in the user interface image 1200.
[0188] The button 1201 is a user interface that allows a user to select whether or not to include information on the posture 731 in the group of nodes in the graph G2. The information on the posture 731 is information on an unstable posture in which the workpiece W is displaced, for example, by falling over on the temporary placement table 4 when the workpiece W is placed on the temporary placement table 4. In this way, the user can select whether or not to include an unstable posture in which the workpiece W falls over in the control of the alignment or assembly of the workpiece W performed by the robot 100.
[0189] The button 1202 is a user interface that allows a user to select whether or not to include information on the posture transformations 733, 734 in the edge group in the graph G2. The information on each of the posture transformations 733, 734 is information on posture transformation that causes the moving mechanism 9 to rotate the temporary table 4 and transform the posture of the workpiece W placed on the temporary table 4. In this way, the user can select whether or not to include control for rotating the temporary table 4 in control of alignment or assembly of the workpiece W.
[0190] The present disclosure is not limited to the above-described embodiments, and many modifications of the embodiments are possible within the technical concept of the present disclosure. For example, the above-described different embodiments and / or modifications may be combined. The effects described in the present embodiment are merely a list of the most suitable effects resulting from the embodiments and / or modifications of the present disclosure, and the effects of the embodiments of the present disclosure are not limited to those described in the present embodiment and / or modifications.
[0191] In the above embodiment, a case has been described in which the temporary placement table 4 is a fixed object and the placement table 5 is a fixed object, but this is not limited to this, and the temporary placement table 4 may be a moving object, such as a conveyor, or the placement table 5 may be a moving object, such as a conveyor.
[0192] In the above embodiment, the temporary placement table 4 and the placement table 5 are separate bodies, but the present invention is not limited to this, and the temporary placement table 4 and the placement table 5 may be integrated. When the temporary placement table 4 and the placement table 5 are integrated, the integrated object may be a fixed object, such as a table, or a moving object, such as a conveyor.
[0193] In the above embodiment, the robot 100 is described as using a multi-joint robot arm having a plurality of joints, but the number of joints is not limited to this. In the above embodiment, the robot arm is shown as being of a vertical multi-joint type, but the same configuration as above can be implemented with different types of joints, such as a horizontal multi-joint type, a parallel link type, or an orthogonal robot.
[0194] Furthermore, the various embodiments described above can be applied to machines that can automatically perform movements such as extension, contraction, bending, vertical movement, horizontal movement, or rotation, or a combination of these movements, based on information stored in a memory device provided in the control device.
[0195] (Other Examples) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
[0196] The disclosure of the above embodiments includes the following sections.
[0197] (Section 1) Robots and A control device capable of controlling the robot, The control device has a processing unit capable of processing information, The processing unit includes: Acquire a plurality of holding position candidates for the workpiece; Acquire information regarding a relationship between the plurality of postures, the information including a plurality of postures of the workpiece and a plurality of posture transformation information between the plurality of postures; Acquire information on a first attitude of the workpiece placed on a mounting member; Based on the information on the relationship and the information on the first posture, information on a second posture to be taken by the workpiece subsequent to the first posture is acquired; selecting a holding position for the workpiece to be held by the robot when the posture of the workpiece is transformed by the robot from the first posture to the second posture from among the plurality of holding position candidates; A robot system comprising:
[0198] (Section 2) The information on the relationship is information on a graph including information on a plurality of postures of the work as a node group and information on posture transformation between the plurality of postures as an edge group. 2. The robot system according to item 1,
[0199] (Section 3) The processing unit extracts, from the plurality of holding position candidates, holding position candidates at which the robot can displace the workpiece from the first posture to the second posture, and selects the holding position from the extracted holding position candidates. 3. The robot system according to item 1 or 2,
[0200] (Section 4) The processing unit extracts, from the plurality of holding position candidates, the holding position candidate at which the robot can displace the workpiece from the first posture to the second posture based on at least mechanical information of the robot. Item 4. The robot system according to item 3,
[0201] (Section 5) When the extracted holding position candidates are two or more holding position candidates, the processing unit obtains information regarding an operation time of the robot required to displace the workpiece from the first posture to the second posture for each of the two or more holding position candidates, and selects the holding position from the two or more holding position candidates based on the information regarding the operation time. 5. The robot system according to item 3 or 4,
[0202] (Section 6) Further comprising a vision sensor, The processing unit acquires information about the first attitude based on information obtained from the vision sensor. 6. The robot system according to any one of items 1 to 5,
[0203] (Section 7) The processing unit includes: acquiring third posture information that matches or is similar to the first posture information from among the plurality of posture information; acquiring, from among the plurality of pieces of information about the posture, information about a posture that is linked to the third posture information via an edge included in the edge group, as the second posture information; 3. The robot system according to item 2,
[0204] (Section 8) The information on the plurality of postures includes information on a target posture, In the information regarding the relationship, when information regarding at least two postures is linked to information regarding the third posture via an edge included in the edge group, The processing unit includes: Obtaining a priority order for the at least two pieces of posture information; acquiring the second posture information from the at least two posture information based on the priority order; Item 8. The robot system according to item 7, characterized in that:
[0205] (Section 9) The processing unit includes: Obtaining costs required for the workpiece to change from the at least two postures to the target posture, obtaining the priority based on the cost; Item 9. The robot system according to item 8, characterized in that:
[0206] (Section 10) The cost is the number of posture conversions required for the workpiece to change from the at least two postures to the target posture. Item 10. The robot system according to item 9, characterized in that:
[0207] (Section 11) The cost is a value related to a time required for the workpiece to reach the target posture from the at least two postures. Item 10. The robot system according to item 9, characterized in that:
[0208] (Section 12) The information on the plurality of postures includes information on two or more stable postures in which the workpiece rests on the placement member, The information on the third posture is included in the information on the two or more stable postures. 12. The robot system according to any one of items 7 to 11,
[0209] (Section 13) The processing unit acquires information on the two or more stable postures by a predetermined calculation process. Item 13. The robot system according to item 12,
[0210] (Section 14) The predetermined calculation process includes a calculation for performing a rotation operation on one of the pieces of stable posture information acquired by the calculation to acquire information on a stable posture other than the one piece of stable posture information. Item 14. The robot system according to item 13,
[0211] (Section 15) The information on the plurality of postures includes information on a posture in which the workpiece is displaced by its own weight on the placement member. 15. The robot system according to any one of items 1 to 14,
[0212] (Section 16) The processing unit causes the robot to place the work on the placement member in a posture such that the work is displaced to the first posture by its own weight on the placement member. 16. The robot system according to any one of items 1 to 15,
[0213] (Section 17) The apparatus further includes a moving mechanism for moving the mounting member, The processing unit causes the moving mechanism to move the placement member and change the posture of the work placed on the placement member to the first posture. 17. The robot system according to any one of items 1 to 16,
[0214] (Section 18) The moving mechanism includes a rotating mechanism that rotates the mounting member. Item 18. The robot system according to item 17,
[0215] (Section 19) the processing unit displays on the display unit a user interface that allows the user to select whether or not to include information on a posture of the workpiece displaced by its own weight on the mounting member in the group of nodes. 3. The robot system according to item 2,
[0216] (Section 20) The apparatus further includes a moving mechanism for moving the mounting member, The processing unit displays, on a display unit, a user interface that allows a user to select whether or not to include information on the posture change of the workpiece by the moving mechanism in the edge group. 3. The robot system according to item 2,
[0217] (Section 21) A control device capable of controlling a robot, A processing unit capable of processing information is provided, The processing unit includes: Acquire a plurality of holding position candidates for the workpiece; Acquire information regarding a relationship between the plurality of postures, the information including a plurality of postures of the workpiece and a plurality of posture transformation information between the plurality of postures; Acquire information on a first attitude of the workpiece placed on a mounting member; Based on the information on the relationship and the information on the first posture, information on a second posture to be taken by the workpiece subsequent to the first posture is acquired; selecting a holding position for the workpiece to be held by the robot when the posture of the workpiece is transformed by the robot from the first posture to the second posture from among the plurality of holding position candidates; A control device comprising:
[0218] (Section 22) An information processing device, A processing unit capable of processing information is provided, The processing unit includes: Acquire a plurality of holding position candidates for the workpiece; Acquire information regarding a relationship between the plurality of postures, the information including a plurality of postures of the workpiece and a plurality of posture transformation information between the plurality of postures; Acquire information on a first attitude of the workpiece placed on a mounting member; Based on the information on the relationship and the information on the first posture, information on a second posture to be taken by the workpiece subsequent to the first posture is acquired; selecting a holding position for the workpiece to be held by the robot when the posture of the workpiece is transformed by the robot from the first posture to the second posture from among the plurality of holding position candidates; 23. An information processing apparatus comprising:
[0219] (Section 23) A control method for controlling a robot, comprising: Acquire a plurality of holding position candidates for the workpiece; Acquire information regarding a relationship between the plurality of postures, the information including a plurality of postures of the workpiece and a plurality of posture transformation information between the plurality of postures; Acquire information on a first attitude of the workpiece placed on a mounting member; Based on the information on the relationship and the information on the first posture, information on a second posture to be taken by the workpiece subsequent to the first posture is acquired; selecting a holding position for the workpiece to be held by the robot when the posture of the workpiece is transformed by the robot from the first posture to the second posture from among the plurality of holding position candidates; A control method comprising:
[0220] (Section 24) 1. An information processing method, comprising: Acquire a plurality of holding position candidates for the workpiece; Acquire information regarding a relationship between the plurality of postures, the information including a plurality of postures of the workpiece and a plurality of posture transformation information between the plurality of postures; Acquire information on a first attitude of the workpiece placed on a mounting member; Based on the information on the relationship and the information on the first posture, information on a second posture to be taken by the workpiece subsequent to the first posture is acquired; selecting a holding position for the workpiece to be held by the robot when the posture of the workpiece is transformed by the robot from the first posture to the second posture from among the plurality of holding position candidates; 23. An information processing method comprising:
[0221] (Section 25) 21. A method for manufacturing an article, comprising the steps of: manufacturing an article by using the robot system according to any one of items 1 to 20.
[0222] (Section 26) Item 24. A program for causing a computer to execute the control method according to item 23.
[0223] (Section 27) 25. A program for causing a computer to execute the information processing method according to item 24.
[0224] (Section 28) Item 26. A computer-readable recording medium having the program according to item 26 or 27 recorded thereon. [Explanation of symbols]
[0225] Reference Signs List 1: robot system, 4: temporary placement table (mounting member), 7: vision sensor, 100: robot, 200: control device, 230: processing unit
Claims
1. Robots and A control device capable of controlling the robot, The control device has a processing unit capable of processing information, The processing unit includes: Acquire a plurality of holding position candidates for the workpiece; Acquire information regarding a relationship between the plurality of postures, the information including a plurality of postures of the workpiece and a plurality of posture transformation information between the plurality of postures; Acquire information on a first attitude of the workpiece placed on a mounting member; Acquire information on a second posture to be taken by the workpiece subsequent to the first posture based on the information on the relationship and the information on the first posture; selecting a holding position for the workpiece to be held by the robot when the posture of the workpiece is transformed by the robot from the first posture to the second posture from among the plurality of holding position candidates; A robot system comprising:
2. The information on the relationship is information on a graph including information on a plurality of postures of the work as a node group and information on posture transformation between the plurality of postures as an edge group.
2. The robot system according to claim 1 .
3. The processing unit extracts, from the plurality of holding position candidates, holding position candidates at which the robot can displace the workpiece from the first posture to the second posture, and selects the holding position from the extracted holding position candidates.
2. The robot system according to claim 1 .
4. The processing unit extracts, from the plurality of holding position candidates, the holding position candidate at which the robot can displace the workpiece from the first posture to the second posture based on at least mechanical information of the robot.
4. The robot system according to claim 3.
5. When the extracted holding position candidates are two or more holding position candidates, the processing unit obtains information regarding an operation time of the robot required to displace the workpiece from the first posture to the second posture for each of the two or more holding position candidates, and selects the holding position from the two or more holding position candidates based on the information regarding the operation time.
4. The robot system according to claim 3.
6. Further comprising a vision sensor, The processing unit acquires information about the first attitude based on information obtained from the vision sensor.
2. The robot system according to claim 1 .
7. The processing unit includes: acquiring information on a third posture that matches or is similar to the information on the first posture from among the information on the plurality of postures; acquiring, from among the plurality of pieces of information about the posture, information about a posture that is linked to the third posture information via an edge included in the edge group, as the second posture information; 3. The robot system according to claim 2.
8. The information on the plurality of postures includes information on a target posture, In the information regarding the relationship, when information regarding at least two postures is linked to information regarding the third posture via an edge included in the edge group, The processing unit includes: Obtaining a priority of the at least two attitude information; acquiring the second posture information from the at least two posture information based on the priority order; 8. The robot system according to claim 7.
9. The processing unit includes: Obtaining costs required for the workpiece to change from the at least two postures to the target posture, obtaining the priority based on the cost; The robot system according to claim 8 .
10. The cost is the number of posture conversions required for the workpiece to change from the at least two postures to the target posture. The robot system according to claim 9 .
11. The cost is a value related to a time required for the workpiece to reach the target posture from the at least two postures. The robot system according to claim 9 .
12. The information on the plurality of postures includes information on two or more stable postures in which the workpiece rests on the placement member, The information on the third posture is included in the information on the two or more stable postures.
8. The robot system according to claim 7.
13. The processing unit acquires information on the two or more stable postures by a predetermined calculation process. The robot system according to claim 12 .
14. The predetermined calculation process includes a calculation for performing a rotation operation on one of the pieces of stable posture information acquired by the calculation to acquire information on a stable posture other than the one piece of stable posture information. The robot system according to claim 13 .
15. The information on the plurality of postures includes information on a posture in which the workpiece is displaced by its own weight on the placement member.
2. The robot system according to claim 1 .
16. The processing unit causes the robot to place the work on the placement member in a posture such that the work is displaced to the first posture by its own weight on the placement member.
2. The robot system according to claim 1 .
17. The apparatus further includes a moving mechanism for moving the mounting member, The processing unit causes the moving mechanism to move the placement member and change the posture of the work placed on the placement member to the first posture.
2. The robot system according to claim 1 .
18. The moving mechanism includes a rotating mechanism that rotates the mounting member.
20. The robot system according to claim 17 .
19. the processing unit displays on the display unit a user interface that allows the user to select whether or not to include information on a posture of the workpiece displaced by its own weight on the mounting member in the group of nodes.
3. The robot system according to claim 2.
20. The apparatus further includes a moving mechanism for moving the mounting member, The processing unit displays, on a display unit, a user interface that allows a user to select whether or not to include information on the posture change of the workpiece by the moving mechanism in the edge group.
3. The robot system according to claim 2.
21. A control device capable of controlling a robot, A processing unit capable of processing information is provided, The processing unit includes: Acquire a plurality of holding position candidates for the workpiece; Acquire information regarding a relationship between the plurality of postures, the information including a plurality of postures of the workpiece and a plurality of posture transformation information between the plurality of postures; Acquire information on a first attitude of the workpiece placed on a mounting member; Acquire information on a second posture to be taken by the workpiece subsequent to the first posture based on the information on the relationship and the information on the first posture; selecting a holding position for the workpiece to be held by the robot when the posture of the workpiece is transformed by the robot from the first posture to the second posture from among the plurality of holding position candidates; A control device comprising:
22. An information processing device, A processing unit capable of processing information is provided, The processing unit includes: Acquire a plurality of holding position candidates for the workpiece; Acquire information regarding a relationship between the plurality of postures, the information including a plurality of postures of the workpiece and a plurality of posture transformation information between the plurality of postures; Acquire information on a first attitude of the workpiece placed on a mounting member; Acquire information on a second posture to be taken by the workpiece subsequent to the first posture based on the information on the relationship and the information on the first posture; selecting a holding position for the workpiece to be held by the robot when the posture of the workpiece is transformed by the robot from the first posture to the second posture from among the plurality of holding position candidates; 23. An information processing apparatus comprising:
23. A control method for controlling a robot, comprising: Acquire a plurality of holding position candidates for the workpiece; Acquire information regarding a relationship between the plurality of postures, the information including a plurality of postures of the workpiece and a plurality of posture transformation information between the plurality of postures; Acquire information on a first attitude of the workpiece placed on a mounting member; Acquire information on a second posture to be taken by the workpiece subsequent to the first posture based on the information on the relationship and the information on the first posture; selecting a holding position for the workpiece to be held by the robot when the posture of the workpiece is transformed by the robot from the first posture to the second posture from among the plurality of holding position candidates; A control method comprising:
24. 1. An information processing method, comprising: Acquire a plurality of holding position candidates for the workpiece; Acquire information regarding a relationship between the plurality of postures, the information including a plurality of postures of the workpiece and a plurality of posture transformation information between the plurality of postures; Acquire information on a first attitude of the workpiece placed on a mounting member; Acquire information on a second posture to be taken by the workpiece subsequent to the first posture based on the information on the relationship and the information on the first posture; selecting a holding position for the workpiece to be held by the robot when the posture of the workpiece is transformed by the robot from the first posture to the second posture from among the plurality of holding position candidates; 23. An information processing method comprising:
25. A method for manufacturing an article, comprising the steps of: manufacturing an article by using the robot system according to any one of claims 1 to 19;
26. A program for causing a computer to execute the control method according to claim 23.
27. A program for causing a computer to execute the information processing method according to claim 24.
28. A computer-readable recording medium having the program according to claim 26 or 27 recorded thereon.
Citation Information
Patent Citations
Component supply device, and program generation method of the component supply device
JP2015044274A
Adaptive grasp planning for bin picking
JP2021160081A
