Robot control system

The robot control system addresses object movement issues by comparing estimated and actual image information to adjust operations, ensuring accurate and safe handling of objects within the measurable range of the imaging device.

JP2024145678AActive Publication Date: 2024-10-15JOHNAN CORP
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2023058133
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-15
Estimated Expiration
2043-03-31

AI Technical Summary

Technical Problem

Existing robot control systems fail to account for object movement during grasping operations, leading to potential collisions or improper gripping due to the limited measurable range of three-dimensional cameras, which cannot measure distance accurately when the object moves out of range.

Method used

A robot control system that includes an imaging device on the robot arm to capture and compare estimated image information with actual image information, adjusting operations based on matching or mismatching features to determine if the object has moved, thereby ensuring accurate handling.

Benefits of technology

Enables precise and safe handling of objects by determining if they have moved within the measurable range of the imaging device, preventing collisions and ensuring accurate gripping and manipulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024145678000001_ABST
    Figure 2024145678000001_ABST
Patent Text Reader

Abstract

To provide a robot control system that determines whether or not a target object is moved during when a robot hand approaches the target object, so as to enable handling the target object appropriately.SOLUTION: When gripping a workpiece by a robot hand 14, a robot control system according to the present invention, compares actual image information (actual image information of the workpiece obtained by imaging the workpiece by an imaging device 13 at a predetermined position closer to the workpiece from a position at a predetermined distance from the workpiece) with estimated image information (estimated image information of the workpiece which is estimated to be obtained by imaging the workpiece by the imaging device 13 at the predetermined position on the assumption that the workpiece is not moved until a robot arm 12 moves together with the imaging device 13 to the predetermined position), and, when the estimated image information and the actual image information coincide as a result of the comparison, executes an operation for gripping the workpiece using object information including distance information held in an object information holding unit 22a.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a robot control system, and more particularly to an improvement in robot control when an object is handled by a robot (for example, when the object is grasped or processed). [Background technology]

[0002] Conventionally, robot control systems for using a robot to grasp and transfer an object include those disclosed in, for example, Patent Document 1 and Patent Document 2. The robot control systems disclosed in these patent documents grasp an object (for example, grasp it with a robot hand provided at the tip of the robot arm) while measuring the distance to the object (while recognizing the position of the object) by capturing an image of the object with an imaging device provided at the tip of the robot arm.

[0003] In particular, Patent Document 1 discloses that when a characteristic part of an object cannot be identified by pattern matching in an image obtained by an imaging device, the robot arm is operated so as to change the relative position or relative posture between the object, the imaging device, and the lighting device, the object is imaged again, and pattern matching is performed again on the image thus obtained.

[0004] Patent document 2 also discloses that the sensing results obtained by an imaging device (sensor unit) provided on the robot arm are analyzed, an object to be grasped in the current grasping operation is identified, and the operation of the robot arm is controlled so as to grasp the object to be grasped in the current grasping operation, while the sensing results are analyzed, a sensing position for the next grasping operation is identified, and the sensing position information is updated. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2015-160264 A [Patent Document 2] JP 2020-40143 A Summary of the Invention [Problem to be solved by the invention]

[0006] However, the above-mentioned patent documents do not take into consideration the fact that the object moves while the robot arm is approaching the object. A three-dimensional camera is generally used as the imaging device provided at the tip of the robot arm, but the range in which the three-dimensional camera can measure the distance to the object is limited. In other words, a three-dimensional camera that uses triangulation to measure the distance to the object cannot measure the distance to the object when the distance to the object is shorter than a predetermined distance due to excessive parallax. Hereinafter, the range of the distance to the object in which the distance to the object can be measured is referred to as the measurable range. This measurable range exists not only in passive imaging devices but also in active imaging devices.

[0007] If the object does not move while the robot arm is approaching the object, it is possible to grasp the object well by using information on the distance to the object measured within the measurable range (information on the object's position) and information on the object's shape, etc. However, if the object moves while the imaging device is in a position outside the measurable range while the robot arm is approaching the object, it becomes impossible to grasp the object using information on the distance to the object measured within the measurable range, and in some cases there is a risk that the robot hand will collide with the object and cause adverse effects on the object.

[0008] Such problems may occur not only in collaborative robots, such as robots that grasp and transfer objects, but also in industrial robots. Moreover, such problems may occur not only in cases where an object is grasped by a robot hand, but also in various operations that handle objects, such as processing the object.

[0009] The present invention has been made in consideration of the above-mentioned points, and an object of the present invention is to provide a robot control system that determines whether an object has moved as a robot arm approaches the object, and enables the robot to operate in response to the determination. [Means for solving the problem]

[0010] The solution of the present invention for achieving the above object is based on a robot control system that captures an image of an object by an imaging device provided on a robot arm of a robot, and controls the robot when handling the object based on image information of the object obtained by the imaging. The robot control system includes an object information storage unit, an estimated image information generation unit, a comparison unit, and a control switching unit. The object information storage unit stores object information including distance information to the object obtained based on image information obtained by imaging by the imaging device when the imaging device is positioned at a predetermined distance from the object. The estimated image information generation unit generates estimated image information of the object that is estimated to be obtained by imaging by the imaging device at the predetermined position based on the object information stored in the object information storage unit, assuming that the object has not moved during the time when the robot arm moves together with the imaging device from the position at the predetermined distance from the object to a predetermined position close to the object. The comparison unit compares actual image information of the object obtained by imaging by the imaging device at the predetermined position with the estimated image information generated by the estimated image information generation unit. When the robot handles the object, if the actual image information and the estimated image information match as a comparison result of the comparison unit, the control switching unit performs an operation of handling the object using the distance information stored in the object information storage unit, but if the actual image information and the estimated image information do not match, the control switching unit does not perform an operation of handling the object using the distance information stored in the object information storage unit.

[0011] The "estimated image information" referred to here is a composite image (image information obtained by combining multiple pieces of image information) described below, or a set of one or more feature points sufficient to identify the position of an object. In addition, the phrase "the actual image information and the estimated image information match" refers to a concept that includes both cases where this information (information features) match and cases where this information is considered to match.

[0012] Due to this specification, when the robot handles an object, the real image information (real image information of the object obtained by imaging with the imaging device at a predetermined position approaching the object from a position at a predetermined distance from the object) is compared with the estimated image information (estimated image information of the object that is estimated to be obtained by imaging with the imaging device at the predetermined position, assuming that the object has not moved during the time when the robot arm moves together with the imaging device to the predetermined position (the above-mentioned feature point set)). If the estimated image information and the real image information match or are deemed to match as a result of the comparison (in other words, if the features of the estimated image information and the features of the real image information match or are deemed to match), even if the object is not moving and the real image information is information that does not allow distance information to the object to be obtained (even if the real image information is information obtained outside the measurable range), the object can be appropriately handled by using the distance information (distance information held in the object information holding unit), and the operation of handling the object is performed using this distance information. On the other hand, if the estimated image information and the actual image information do not match (including cases where they are considered not to match), the object may be moving, and the object may not be handled appropriately even if the distance information is used, so the operation of handling the object using the distance information is not performed. This makes it possible to properly handle the object while determining whether the object has moved while the robot arm is approaching the object.

[0013] More specifically, when the control switching unit determines that the operation of handling the object is not to be performed, the robot control system discards the object information stored in the object information storage unit, and re-performs the operation of storing the object information, including the distance information, in the object information storage unit by capturing an image with the imaging device at a position a predetermined distance from the object.

[0014] In other words, when there is a possibility that the object has moved, the robot control system determines that the object may not be handled appropriately even if the distance information stored in the object information storage unit is used, and obtains new object information including distance information for the object after it has moved and stores it in the object information storage unit. This makes it possible to handle the object appropriately even after it has moved.

[0015] In addition, when multiple image information is obtained by imaging with the imaging device at each position where the distance from the object is different and the distance information can be obtained, it is preferable that the robot control system is provided with an image information updating unit that causes the object information including distance information to the object calculated based on image information obtained at a position that is a short distance from the object to be stored in the object information storage unit.

[0016] The image (image information) obtained by the imaging device can be clearer as the distance from the object is shorter. Therefore, by storing object information including distance information to the object calculated based on image information obtained at a position close to the object in the object information storage unit, the distance to the object can be recognized with high accuracy, and the accuracy of the operation of handling the object can be increased.

[0017] In addition, the robot control system may be provided with an image information updating unit that, when multiple image information is obtained by capturing images using the imaging device at positions where the distances from the object are different and the distance information can be obtained, selects image information with high accuracy and causes object information including distance information to the object calculated based on the image information to be stored in the object information storage unit.

[0018] In this configuration as well, the distance to the object can be recognized with high accuracy, and high accuracy can be achieved in the operation of handling the object.

[0019] In addition, the robot control system may be provided with an image information updating unit that, when multiple image information is obtained by imaging with the imaging device at each position where the distance from the object is different and the distance information can be obtained, synthesizes each image information and causes the object information holding unit to hold object information including distance information to the object calculated based on the synthesized image information.

[0020] For example, when a part of each image information is missing and the location of the missing parts is different from each other, the image (image information) of the missing part is complemented by other images (images of parts without missing parts) to generate highly accurate image information. By storing object information including distance information to the object calculated based on this image information in the object information storage unit, the distance to the object can be recognized with high accuracy, and the accuracy of the operation of handling the object can be increased.

[0021] The robot control system may also include a viewpoint change command unit that, when the comparison result of the comparison unit shows that the actual image information and the estimated image information match, causes the imaging device to capture an image of the object from a direction different from the imaging direction of the imaging device from which the actual image information was obtained.

[0022] For example, when grasping an object, it is preferable that the grasping position is the center position or center of gravity of the object. To do so, it is necessary to grasp the overall shape of the object. Therefore, by capturing an image of the object by an imaging device from a direction different from the imaging direction of the imaging device from which the actual image information was obtained, it is possible to grasp the overall shape of the object, and to appropriately perform an operation of handling the object (for example, an operation of grasping the center position or center of gravity of the object). Effect of the Invention

[0023] In the present invention, when the robot handles an object, it compares the estimated image information with the actual image information, and if the comparison result shows that the estimated image information and the actual image information match, it performs an operation to handle the object using the distance information stored in the object information storage unit. This makes it possible to appropriately handle the object while determining whether the object has moved while the robot arm is approaching the object. [Brief description of the drawings]

[0024] [Figure 1] 1A and 1B are diagrams for explaining a schematic configuration of a robot unit according to an embodiment and an object imaging operation. [Diagram 2] FIG. 2 is a block diagram showing a control system of the robot control system. [Diagram 3] FIG. 11 is a diagram showing an example of an image of an object acquired by an initial imaging operation. [Figure 4] 11A and 11B are diagrams for explaining an object imaging operation after the robot posture is changed. [Diagram 5] 11A and 11B are diagrams for explaining an image comparison operation when an object is not moving. [Figure 6] 11A and 11B are diagrams for explaining an image comparison operation when an object moves. [Figure 7] FIG. 13 is a diagram for explaining a process of combining two images. [Figure 8] 11 is a diagram showing an example of an image of an object acquired by a first different viewpoint imaging operation. FIG. [Figure 9] 13 is a diagram showing an example of an image of an object acquired by a second different viewpoint imaging operation. FIG. [Figure 10] FIG. 11 is a flowchart showing a processing procedure for an object grasping operation. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0025] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In this embodiment, a robot control system according to the present invention will be described as a system that controls gripping of an object (hereinafter, sometimes referred to as a workpiece) by a robot hand provided at the tip of a robot arm of a collaborative robot. However, the application form of the robot control system according to the present invention is not limited to this.

[0026] -Robot unit configuration- Fig. 1 is a diagram for explaining the schematic configuration and object imaging operation of a robot unit 1 to which a robot control system 20 (see Fig. 2) according to this embodiment is applied. This robot unit 1 is configured to include a robot 11 that performs an operation of gripping and transferring a workpiece W placed on a workbench (not shown), and an imaging device 13 attached to the tip of a robot arm 12 of the robot 11. The robot unit 1 is designed to save space by attaching the imaging device 13 to the tip of the robot arm 12.

[0027] The robot unit 1 is applied to a cell production line, for example, in a case where a work W placed at a predetermined position (pick position) on a first workbench is transferred by the robot 11 from the first workbench to a predetermined position (place position) on a second workbench, and a worker performs assembly work on the work W on this second workbench.

[0028] The robot 11 includes a robot arm 12 consisting of a multi-axis arm, and a robot hand 14 as an end effector provided at the tip of the robot arm 12. The robot arm 12 is provided for moving the robot hand 14 to a predetermined position, and the robot hand 14 is provided for gripping a workpiece W.

[0029] The imaging device 13 attached to the tip of the robot arm 12 (near the mounting position of the robot hand 14) is composed of a three-dimensional camera such as an RGB-D camera, and is used to capture an image of the workpiece W placed on the workbench, and outputs information on the captured image (image information) to a control device 21 (see FIG. 2) of the robot control system 20. As will be described later, the image information captured by this imaging device 13 is used as information for recognizing the position (position determined based on the distance to the workpiece W) and shape of the workpiece W and for gripping the workpiece W.

[0030] Since the imaging device 13 is composed of a three-dimensional camera, the range in which the distance to the workpiece W can be measured is limited to the measurable range as described above. For this reason, if the workpiece W moves while the imaging device 13 is in a position outside the measurable range while the robot arm 12 is approaching the workpiece W to grasp it with the robot hand 14, it will be impossible to grasp the workpiece W using the distance information to the workpiece W measured within the measurable range.

[0031] In consideration of this problem, the robot control system 20 according to this embodiment determines whether or not the workpiece W has moved while the robot arm 12 is approaching the workpiece W, and controls the robot 11 accordingly. The robot control system 20 will be specifically described below.

[0032] Fig. 2 is a block diagram showing a control system of the robot control system 20 in this embodiment. As shown in Fig. 2, the control system of the robot control system 20 includes a control device 21 for controlling the robot unit 1. The control device 21 is configured with a computer including a calculation unit (a processor such as a CPU) 22, a storage unit (a ROM, etc.) 23, and an input / output unit 24.

[0033] The storage unit 23 stores operation programs for controlling the robot unit 1 and the like.

[0034] The calculation unit 22 calculates control command information for controlling the robot unit 1 by executing calculation processing based on a program (operation program) stored in the storage unit 23 and the like.

[0035] The input / output unit 24 is capable of receiving image information obtained by imaging using the imaging device 13, and transmitting control command information and the like to the robot unit 1.

[0036] The calculation unit 22 includes, as functional units realized by the program, an object information storage unit 22a, an estimated image information generation unit 22b, a comparison unit 22c, an image information update unit 22d, a viewpoint change command unit 22e, and a control switching unit 22f. The functions of each of these units will be outlined below.

[0037] The object information holding unit 22a holds information about the workpiece W (object information) including distance information to the workpiece W obtained based on image information obtained by imaging using the imaging device 13 when the imaging device 13 is positioned at a predetermined distance from the workpiece W.

[0038] Specifically, the object information storage unit 22a controls the operation of the robot arm 12 (by transmitting control command information to the robot unit 1) so that the imaging device 13 is located within the measurable range, and acquires image information obtained by imaging the workpiece W by the imaging device 13 at that position via the input / output unit 24. Hereinafter, the imaging operation at this position at the start of the gripping operation of the workpiece W will be referred to as the initial imaging operation. Since the measurable range of the imaging device 13 is recognized in advance, the posture of the robot arm 12 in which the workpiece W is located within the field of view of the imaging device 13 and the distance to the workpiece W is within the measurable range can also be set in advance. Control command information is transmitted from the control device 21 to the robot unit 1 so that this posture is obtained, and the operation of the robot arm 12 is controlled so that the imaging device 13 is located within the measurable range.

[0039] Then, an imaging operation (initial imaging operation) is performed by the imaging device 13, and the distance to the workpiece W is calculated from the image information obtained by the initial imaging operation using well-known triangulation, and the distance information is stored in the object information storage unit 22a. In addition, information on the posture of the workpiece W and position information of each point on the outer edge of the workpiece W are also stored from the image information of the workpiece W.

[0040] Fig. 1 shows an object imaging operation (initial imaging operation) when the imaging device 13 is located within a measurable range. Fig. 3 shows an example of an image of a workpiece W imaged by the imaging device 13 in the state shown in Fig. 1. From this image, information such as the distance to the workpiece W and the shape of the workpiece W can be obtained, and this information (object information) is stored in the object information storage unit 22a. The object information storage unit 22a also stores (updates) the object information in the same manner as described above, even when the imaging device 13 intermittently captures images multiple times while approaching the workpiece W. This updating operation will be described later.

[0041] The estimated image information generating unit 22b generates estimated image information (the aforementioned feature point set) of the work W that is estimated to be obtained by imaging by the imaging device 13 at a predetermined position, assuming that the work W does not move while the robot arm 12 moves together with the imaging device 13 from a position a predetermined distance away from the work W to a predetermined position close to the work W.

[0042] Specifically, image information of the workpiece W when it is assumed that the workpiece W is not moving is generated as estimated image information from information on the amount of movement of the imaging device 13 when it approaches the workpiece W, relative to the position of the imaging device 13 when the initial imaging operation is performed. For example, since the position information of each point on the outer edge of the workpiece W, etc. is held, the direction of movement and amount of movement of the position of each point when it approaches the workpiece W when it is assumed that the workpiece W is not moving (the relative direction of movement and amount of movement of each point obtained by the initial imaging operation) can be calculated from the control command information, and this makes it possible to generate estimated image information when it approaches the workpiece W when it is assumed that the workpiece W is not moving.

[0043] The comparison unit 22c compares the actual image information obtained by imaging by the imaging device 13 at the predetermined position close to the workpiece W with the estimated image information generated by the estimated image information generation unit 22b. When the workpiece W is not moving, the estimated image information and the actual image information will be substantially the same image (substantially matching images). In contrast, when the workpiece W has moved, the estimated image information and the actual image information will be different images. Therefore, by comparing these pieces of image information, it is possible to determine whether or not the workpiece W has moved while approaching the workpiece W (while the robot arm 12 moves together with the imaging device 13 from a position a predetermined distance away from the workpiece W to a predetermined position close to the workpiece W).

[0044] 4 shows the object imaging operation (object imaging operation after changing the robot posture) by the imaging device 13 at the predetermined position close to the workpiece W. Actual image information is obtained by this object imaging operation.

[0045] Fig. 5 is a diagram for explaining the image comparison operation. The image on the right side of Fig. 5 is the estimated image information generated by the estimated image information generating unit 22b, and the image on the left side of Fig. 5 shows the image (actual image information) of the workpiece W captured by the imaging device 13 in the state shown in Fig. 4. As shown in Fig. 5, when the estimated image information and the actual image information are substantially the same image, it can be determined that the workpiece W is not moving.

[0046] FIG. 6 shows an image when the workpiece W has moved. The image on the right side of FIG. 6 is the estimated image information generated by the estimated image information generating unit 22b, and the image on the left side of FIG. 6 shows an image (actual image information) of the workpiece W captured by the imaging device 13 in the state shown in FIG. 4. As shown in FIG. 6, when the estimated image information and the actual image information do not match (including cases where they are considered not to match), it can be determined that the workpiece W has moved. This determination of whether or not the workpiece W has moved can be made from both image information obtained when the predetermined position approaching the workpiece W is located within the measurable range of the imaging device 13 and image information obtained when the imaging device 13 is located outside the measurable range.

[0047] When the comparison process in the comparison unit 22c finds that the estimated image information and the actual image information are substantially identical, that is, when it is determined that the workpiece W is not moving, the image information update unit 22d determines whether or not to update the image information stored in the object information storage unit 22a, and updates the stored image information if necessary.

[0048] Specifically, the predetermined position approaching the workpiece W may be when the imaging device 13 is located within the measurable range or when the imaging device 13 is located outside the measurable range. Since the measurable range of the imaging device 13 is recognized in advance as described above, the posture of the robot arm 12 can be grasped from the control command information transmitted to the robot unit 1, and the position of the imaging device 13 is also identified, making it possible to determine whether the imaging device 13 is located within the measurable range.

[0049] The image information update unit 22d determines whether or not to update the image information stored in the object information storage unit 22a when the estimated image information and the actual image information are substantially the same image and the imaging device 13 is located within a measurable range.

[0050] Specifically, the previous image information captured by the imaging device 13 (for example, image information obtained by an initial imaging operation) is compared with the current image information (for example, image information obtained by an imaging operation at a position closer to the workpiece W than the position where the initial imaging operation was performed). In other words, when multiple image information are obtained by imaging with the imaging device 13 at each position where the distance from the workpiece W is different and distance information can be obtained, these image information are compared. Then, among these image information, object information including distance information to the workpiece W obtained based on image information obtained at a position with a short distance from the workpiece W is stored (updated) in the object information storage unit 22a. This is because, in general, the image (image information) obtained by imaging with the imaging device 13 can be obtained as clearer image information the shorter the distance from the workpiece W. In other words, the object information including distance information to the workpiece W obtained based on image information obtained at a position with a short distance from the workpiece W is stored in the object information storage unit 22a, so that the distance to the workpiece W can be recognized with high accuracy.

[0051] The image information update unit 22d may be configured to compare the previous image information captured by the imaging device 13 with the current image information, select the image information with high accuracy, and store the object information including the distance information to the workpiece W obtained based on the image information in the object information storage unit 22a. For example, the previous image information is compared with the current image information, and clear image information (image information in focus or image information without information loss due to light reflection, etc.) is selected, and the object information including the distance information to the workpiece W obtained based on the image information is stored in the object information storage unit 22a. This also allows the distance to the workpiece W to be recognized with high accuracy.

[0052] Also, the image information updating unit 22d may compare the previous image information captured by the imaging device 13 with the current image information, and if there is a defect (for example, a defect in image information caused by light reflection or the like) in a part of each image information and the locations of the defects are different from each other, the image of the part where the defect occurs may be complemented with another image (an image of a part where the defect does not occur). In other words, the previous image information and the current image information may be synthesized to generate new image information, and the object information including the distance information to the workpiece W obtained based on this image information may be stored in the object information storage unit 22a. FIG. 7 is a diagram for explaining the synthesis process of two images. The image on the lower left side of FIG. 7 is the previous image information (for example, image information obtained by an initial imaging operation), and the image on the upper left side is the current image information (for example, image information obtained by an imaging operation at a position closer to the workpiece W than the position where the initial imaging operation was performed). Although not shown in the figure, there is a defect in a part of these image information. Then, by synthesizing these images, the image of the part where the defect occurs is complemented with the other image, and the image on the right side of FIG. 7 (synthetic image) is generated. This results in the generation of highly accurate image information, and by storing object information including distance information to the workpiece W calculated based on this image information in the object information storage unit 22a, the distance to the workpiece W can be recognized with high accuracy.

[0053] The image information held in the object information holding unit 22a by the image information update unit 22d described above is updated in a case where the imaging device 13 intermittently takes multiple images as it approaches the workpiece W, and if all of these multiple images are taken while the imaging device 13 is located within the measurable range, a determination is made each time an image is taken as to whether or not to update the image information held in the object information holding unit 22a, and the held image information is updated as necessary.

[0054] The viewpoint change command unit 22e has a function of transmitting control command information to the robot unit 1 to cause the imaging device 13 to capture an image of the workpiece W from a direction different from the imaging direction of the imaging device 13 from which the actual image information was obtained, when it is determined that the estimated image information and the actual image information are substantially the same as a comparison result of the comparison unit 22c and the workpiece W is not moving. That is, when the workpiece W is gripped by the robot hand 14, in order to stably obtain a gripping state, it is preferable to grip the center position or the center of gravity position of the workpiece W. For this purpose, it is necessary to grasp the overall shape of the workpiece W. The viewpoint change command unit 22e is a functional unit for grasping the overall shape of the workpiece W by changing the imaging direction of the workpiece W by the imaging device 13 to a direction different from the above-mentioned direction. FIG. 8 is a diagram showing an example of an image of the workpiece W acquired by the first different viewpoint imaging operation. The image shown in FIG. 8 is an image of the workpiece W captured by having the imaging device 13 wrap around the head side of the workpiece (bolt) W. Also, FIG. 9 is a diagram showing an example of an image of the workpiece W acquired by the second different viewpoint imaging operation. 9 shows an image of the workpiece W captured by wrapping the imaging device 13 around the threaded portion of the workpiece (bolt) W. In this way, the workpiece W is imaged from multiple sides to grasp its overall shape, thereby making it possible to grasp the center position and center of gravity position of the workpiece W.

[0055] When the robot hand 14 grasps the workpiece W, if the estimated image information and the actual image information match (are substantially the same) (including the case where they are considered to match) as a comparison result of the comparison unit 22c, the control switching unit 22f performs an operation of grasping the workpiece W using the distance information held in the object information holding unit 22a. In other words, if the actual image information captured at a position outside the measurable range of the imaging device 13 matches the estimated image information, the distance information cannot be obtained from the actual image information, but since it is determined that the workpiece W is not moving, it is possible to grasp the workpiece W using the distance information held in the object information holding unit 22a, and therefore the grasping operation of the workpiece W is performed using the distance information held in the object information holding unit 22a. More specifically, in the case of this embodiment, the workpiece W placed at a predetermined position on the first worktable is grasped by the robot hand 14 and is transferred to a predetermined position on the second worktable by the operation of the robot arm 12.

[0056] On the other hand, when the estimated image information and the actual image information do not match (including the case where they are deemed not to match) as a comparison result by the comparison unit 22c, the control switching unit 22f does not execute the operation of gripping the workpiece W using the distance information stored in the object information storage unit 22a. In this case, the object information stored in the object information storage unit 22a is discarded, the above-mentioned initial imaging operation is performed again, and the operation of storing the object information including the distance information in the object information storage unit 22a is executed.

[0057] -Object grasping operation- Next, an object gripping operation by the robot control system 20 configured as described above will be described. Fig. 10 is a flowchart showing the processing procedure of the object gripping operation. This flowchart is repeatedly executed every time a request to grip a workpiece W (e.g., a request to transfer the workpiece W from the first worktable to the second worktable) occurs.

[0058] When a request to grip the workpiece W is made, first, in step ST1, an initial imaging operation is performed. That is, the operation of the robot arm 12 is controlled so that the imaging device 13 is positioned within a measurable range, and image information is obtained by imaging the workpiece W at that position using the imaging device 13. In step ST2, object information including distance information to the workpiece W obtained based on this image information is transmitted to the object information storage unit 22a via the input / output unit 24, and is stored in the object information storage unit 22a.

[0059] In step ST3, the posture of the robot arm 12 is changed so that the robot arm 12 approaches the workpiece W. Then, in step ST4, assuming that the workpiece W has not moved until the robot arm 12 moves together with the imaging device 13 to a predetermined position of the imaging device 13 after the posture change, estimated image information that is estimated to be obtained by imaging with the imaging device 13 at the predetermined position is generated.

[0060] In step ST5, imaging is performed by the imaging device 13 at the predetermined position, and actual image information obtained by the imaging is acquired.

[0061] In step ST6, this estimated image information is compared with the actual image information. If these images are different from each other (the images are different from each other due to the movement of the workpiece W) and the result of the NO judgment in step ST7 is NO, the process proceeds to step ST8, the object information stored in the object information storage unit 22a is discarded, and the process returns. As a result, the above-mentioned initial imaging operation is performed again, and the object information including the distance information of the workpiece W after the movement is stored in the object information storage unit 22a.

[0062] If the estimated image information and the actual image information match and the result of the YES determination in step ST7, the process proceeds to step ST9, where it is determined whether or not the current position of the imaging device 13 is within the measurable range. If the current position of the imaging device 13 is within the measurable range and the result of the YES determination in step ST9, the image information update unit 22d performs the image information update process described above in step ST10, and then the process returns to step ST3. In this way, while the imaging device 13 is capturing an image with the position of the imaging device 13 within the measurable range, the object information held in the object information holding unit 22a is updated sequentially, and object information including highly accurate distance information is held in the object information holding unit 22a.

[0063] On the other hand, if the current position of the imaging device 13 is out of the measurable range and thus the result of the NO determination is made in step ST9, then in step ST11, the imaging direction of the workpiece W by the imaging device 13 is changed to a direction different from the above-mentioned direction to obtain an image from another viewpoint. For example, the above-mentioned first different viewpoint imaging operation (operation in which the image of the workpiece W shown in FIG. 8 is obtained) or the above-mentioned second different viewpoint imaging operation (operation in which the image of the workpiece W shown in FIG. 9 is obtained) is performed. This makes it possible to grasp the overall shape of the workpiece W, and to grasp the central position and center of gravity position of the workpiece W.

[0064] Then, in step ST12, the object information including the distance information stored in the object information storage unit 22a is read out, and the gripping operation of the workpiece W is performed by utilizing this object information, and the transfer operation of the workpiece W is started.

[0065] In step ST13, it is determined whether or not the transfer operation of the workpiece W has been completed. When the transfer operation of the workpiece W has been completed and the determination in step ST13 is YES, the robot arm 12 returns to the initial position and is returned. The above operations are repeated.

[0066] -Effects of the embodiment- As described above, in this embodiment, when the robot hand 14 grasps the workpiece W, the actual image information (actual image information of the workpiece W obtained by imaging with the imaging device 13 at a predetermined position approaching the workpiece W from a position at a predetermined distance from the workpiece W) is compared with the estimated image information (estimated image information of the workpiece W estimated to be obtained by imaging with the imaging device 13 at the predetermined position, assuming that the workpiece W has not moved during the time when the robot arm 12 moves together with the imaging device 13 to the predetermined position), and if the estimated image information and the actual image information match or are deemed to match as a result of the comparison, the operation of grasping the workpiece W is performed using the object information including the distance information held in the object information holding unit 22a. Therefore, it becomes possible to appropriately grasp the workpiece W while determining whether or not the workpiece W has moved while the robot arm 12 is approaching the workpiece W.

[0067] -Other embodiments- The present invention is not limited to the above-described embodiment, and all modifications and applications within the scope of the claims and equivalents thereto are possible.

[0068] For example, in the above embodiment, the present invention has been described as being applied to a robot control system 20 that controls a collaborative robot. The present invention is not limited to this, and can also be applied to industrial robots. Also, in the above embodiment, the case where control is performed to grip a workpiece W using a robot hand 14 has been described as an example. The present invention is not limited to this, and can also be applied to various operations that handle the workpiece W, such as machining the workpiece W.

[0069] In the above embodiment, the imaging device 13 is of a passive type, but the present invention is not limited to this, and the imaging device 13 may be of an active type.

[0070] In the above embodiment, the robot control system 20 is provided with a viewpoint change command unit 22e as a functional unit, and when the estimated image information and the actual image information match, the image capturing device 13 captures the image of the workpiece W from a different direction. The present invention is not limited to this, and may be configured not to include the viewpoint change command unit 22e, that is, not to capture the image of the workpiece W from a different direction by the image capturing device 13.

[0071] Furthermore, the comparison operation by the comparison unit 22c may be to compare the composite image (new image information obtained by combining the previous image information and the current image information: see FIG. 7) with the estimated image information. In this case, it is necessary to match the position of the workpiece W in the composite image with the position of the workpiece W when generating the estimated image information (the position of the workpiece W when it is assumed that the workpiece W is not moving). For this reason, the "actual image information of the object" as used in the present invention is a concept that also includes the composite image generated from multiple pieces of actual image information. [Industrial Applicability]

[0072] The present invention is applicable to a robot control system that grasps an object while measuring the distance to the object by capturing an image of the object with an imaging device provided at the tip of a robot arm. [Explanation of symbols]

[0073] 11. Robot 12 Robot Arm 13 Imaging device 20 Robot Control System 22a Object information storage unit 22b Estimated image information generation unit 22c Comparison section 22d Image information update section 22e Viewpoint Change Command Unit 22f Control switching section W Work (Object)

Claims

1. A robot control system for controlling a robot when handling an object, the robot capturing an image of the object using an imaging device provided on a robot arm of the robot and controlling the robot when handling the object based on image information of the object captured by the imaging device, an object information storage unit that stores object information including distance information to the object calculated based on image information obtained by imaging using the imaging device while the imaging device is positioned at a predetermined distance from the object; a predicted image information generating unit that generates predicted image information of the object that is predicted to be obtained by imaging the object by the imaging device at a predetermined position from a position at the predetermined distance from the object to a predetermined position close to the object, based on the object information stored in the object information storage unit, assuming that the object does not move during the time when the robot arm moves together with the imaging device from the position at the predetermined distance from the object to the predetermined position close to the object; a comparison unit that compares actual image information of the object obtained by imaging the object at the predetermined position with the estimated image information generated by the estimated image information generation unit; a control switching unit which, when the robot handles the object, performs an operation of handling the object using the distance information stored in the object information storage unit if the actual image information and the estimated image information match as a comparison result of the comparison unit, and does not perform the operation of handling the object using the distance information stored in the object information storage unit if the actual image information and the estimated image information do not match; A robot control system comprising:

2. 2. The robot control system according to claim 1, A robot control system characterized in that, when the control switching unit determines that the operation of handling the object is not to be performed, the object information stored in the object information storage unit is discarded, and the object information, including the distance information, is stored in the object information storage unit again by capturing an image with the imaging device at a position a predetermined distance from the object.

3. 3. The robot control system according to claim 1, A robot control system characterized in that, when multiple image information is obtained by capturing images using the imaging device at each position where the distance from the object is different and the distance information can be obtained, the robot control system further comprises an image information update unit that causes the object information storage unit to store the object information including distance information to the object calculated based on image information obtained at a position that is closer to the object.

4. 3. The robot control system according to claim 1, A robot control system characterized in that, when multiple image information is obtained by capturing images using the imaging device at each position where the distance from the object is different and the distance information can be obtained, the robot control system further comprises an image information update unit that selects image information with high accuracy and causes object information including distance information to the object obtained based on the image information to be stored in the object information storage unit.

5. 3. The robot control system according to claim 1, A robot control system characterized in that, when multiple image information is obtained by capturing images using the imaging device at positions where the distances from the object are different and the distance information can be obtained, the system is provided with an image information updating unit that synthesizes each image information and causes the object information storage unit to store object information including distance information to the object calculated based on the synthesized image information.

6. 3. The robot control system according to claim 1, A robot control system characterized in that it further comprises a viewpoint change command unit that, when the comparison result of the comparison unit shows that the actual image information and the estimated image information are the same, causes the imaging device to capture an image of the object from a direction different from the imaging direction of the imaging device from which the actual image information was obtained.

Citation Information

Patent Citations

  • Information processing apparatus and information processing method

    JP2013036988A

  • Robot, robot control method and robot control program

    JP2015044257A

  • Three-dimensional information acquisition system, three-dimensional information acquisition method, and picking system

    JP2017138176A

  • Robot control system, robot control method, and program

    JP2021053742A

  • Control device of robot system, control method of robot system, computer control program and robot system

    JP2021115693A