Robot control system
The robot control system addresses the challenge of object movement during grasping by comparing actual and estimated image information to adjust operations, ensuring accurate handling and preventing collisions within the limited measurable range of 3D cameras.
Patent Information
- Application Number
- PCT/JP2024/008312
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-31
- Filing Date
- 2024-03-05
- Publication Date
- 2024-10-03
AI Technical Summary
Conventional robot control systems fail to accurately handle objects when they move during the grasping or processing operation, as the limited measurable range of 3D cameras leads to inaccurate distance measurement and potential collisions.
A robot control system that compares actual image information with estimated image information to determine if the object has moved, adjusting the robot's operation accordingly, and updates object information using image information from different positions to ensure accurate handling.
Enables precise handling of objects by determining object movement and using accurate distance information, preventing collisions and ensuring successful grasping or processing operations.
Smart Images

Figure JP2024008312_03102024_PF_FP_ABST
Abstract
Description
Robot Control System
[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 the robot (for example, when the object is grasped or processed).
[0002] Conventionally, robot control systems for using a robot to grasp and transfer an object are known, for example, from Patent Document 1 and Patent Document 2. The robot control systems disclosed in these patent documents grasp the 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 if 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 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 obtained thereby.
[0004] Patent Document 2 also discloses that the sensing results obtained by an imaging device (sensor unit) provided on the robot arm are analyzed, the object to be grasped in the current grasping operation is identified, the operation of the robot arm is controlled so as to grasp the object to be grasped in the current grasping operation, and the sensing results are analyzed, the sensing position for the next grasping operation is identified, and the sensing position information is updated.
[0005] JP 2015-160264 A JP 2020-40143 A
[0006] However, the above-mentioned patent documents do not take into consideration the possibility that the object may move as the robot arm approaches the object. A 3D camera is generally used as the imaging device installed at the tip of the robot arm, but this 3D camera has a limited range in which it can measure the distance to the object. In other words, a 3D camera that measures the distance to the object using triangulation 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 distance to the object within which the distance to the object can be measured will be 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 is not moving 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), information on the object's shape, etc. However, if the object moves while the imaging device is located outside the measurable range while the robot arm is approaching the object, it will no longer be possible 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, causing adverse effects on the object.
[0008] Such problems can occur not only in collaborative robots, such as those that grasp and transfer objects, but also in industrial robots.Furthermore, such problems can occur not only when grasping an object with a robot hand, but also in various operations that handle objects, such as processing an object.
[0009] The present invention has been made in consideration of the above points, and its purpose is to provide a robot control system that determines whether an object has moved while a robot arm is approaching the object, and enables the robot to operate in response to the determination.
[0010] The solution of the present invention to achieve the above object is based on a robot control system that captures an image of an object using an imaging device provided on a robot arm of the 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 calculated based on image information obtained by imaging the image device while the imaging device is positioned 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 the object using the imaging device at the predetermined position, based on the object information stored in the object information storage unit, assuming that the object does not move during the time 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 comparison result of the comparison unit shows that the actual image information and the estimated image information match, the control switching unit performs an operation to handle 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 to handle 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. Furthermore, the phrase "the actual image information and the estimated image information match" here refers to a concept that includes both cases where this information (information features) match and cases where this information is considered to match.
[0012] According to this specification, when the robot handles an object, the robot compares actual image information (actual image information of the object obtained by capturing an image with the imaging device at a predetermined position approaching the object from a position at a predetermined distance from the object) with estimated image information (estimated image information of the object (the aforementioned set of feature points) that is estimated to be obtained by capturing an image with the imaging device at the predetermined position, assuming that the object has not moved during the time the robot arm moves together with the imaging device to the predetermined position). If the comparison results in a match between the estimated image information and the actual image information or a match between them (in other words, if the features of the estimated image information and the features of the actual image information match or are deemed to match), even if the object is not moving and the actual image information is information that does not allow for distance information to the object to be obtained (even if the actual image information is information obtained outside the measurable range), the object can be handled appropriately by using the distance information (distance information stored in the object information storage unit), and the robot then performs an operation of handling the object using this distance information. On the other hand, if the estimated image information and the actual image information do not match (including when they are deemed not to match), the object may be moving, and even if the distance information is used, the object may not be handled appropriately, so the operation of handling the object using the distance information is not performed. This makes it possible to handle the object appropriately while determining whether the object has moved as the robot arm approaches the object.
[0013] More specifically, when the control switching unit prevents the operation of handling the object from being performed, the robot control system discards the object information stored in the object information storage unit, and performs the operation of storing the object information, including the distance information, in the object information storage unit again by positioning the imaging device at a predetermined distance from the object and capturing an image.
[0014] In other words, if there is a possibility that the object has moved, the robot control system determines that it may not be possible to handle the object appropriately even if the distance information stored in the object information storage unit is used, and newly obtains 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] Furthermore, when multiple pieces of image information are obtained by imaging with the imaging device at positions where the distances from the object are different and the distance information can be obtained, it is preferable that the robot control system is provided with 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 where the distance from the object is short.
[0016] The image (image information) obtained by imaging with the imaging device can be clearer the closer the distance from the object. 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 high accuracy can be achieved in operations handling the object.
[0017] The robot control system may also include an image information update unit that selects image information with high accuracy when multiple pieces of image information are obtained by capturing images using the imaging device at positions where the distances from the object are different and where the distance information can be obtained, and stores object information including distance information to the object calculated based on the image information 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 update unit that, when multiple image information is obtained by imaging with the imaging device at positions where the distances from the object are different and the distance information can be obtained, combines the image information and causes the object information storage unit to store object information including distance information to the object calculated based on the combined image information.
[0020] For example, if there is a loss in a portion of each image information and the location of the loss is different from each other, the image (image information) of the lost portion is synthesized to complement the other image (image of the portion without the loss). This results in the generation of 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 high accuracy can be achieved in the operation of handling the object.
[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 or center of gravity of the object. To do this, it is necessary to grasp the overall shape of the object. Therefore, by capturing an image of the object using an imaging device from a direction different from the imaging direction of the imaging device from which the actual image information was obtained, the overall shape of the object can be grasped, and the operation of handling the object (for example, the operation of grasping the center or center of gravity of the object) can be performed appropriately.
[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 results in a match between the estimated image information and the actual image information, 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 as the robot arm approaches the object.
[0024] FIG. 1 is a diagram for explaining a schematic configuration of a robot unit and an object imaging operation according to an embodiment. FIG. 2 is a block diagram showing a control system of a robot control system. FIG. 3 is a diagram showing an example of an image of an object acquired by an initial imaging operation. FIG. 4 is a diagram for explaining an object imaging operation after a robot posture is changed. FIG. 5 is a diagram for explaining an image comparison operation when the object is not moving. FIG. 6 is a diagram for explaining an image comparison operation when the object has moved. FIG. 7 is a diagram for explaining a synthesis process of two images. FIG. 8 is a diagram showing an example of an image of an object acquired by a first different-viewpoint imaging operation. FIG. 9 is a diagram showing an example of an image of an object acquired by a second different-viewpoint imaging operation. FIG. 10 is a flowchart showing a processing procedure for an object grasping operation.
[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 for controlling the gripping of an object (hereinafter also referred to as a workpiece) by a robot hand provided at the tip of a robot arm of a collaborative robot. However, the application of the robot control system according to the present invention is not limited to this.
[0026] --Configuration of Robot Unit-- Figure 1 is a diagram illustrating the schematic configuration and object imaging operation of a robot unit 1 to which a robot control system 20 (see Figure 2) according to this embodiment is applied. This robot unit 1 is configured to include a robot 11 that grasps and transfers 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. By attaching the imaging device 13 to the tip of the robot arm 12, the robot unit 1 is designed to save space.
[0027] The robot unit 1 is applied to a cell production line, for example, when a workpiece 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 an operator performs assembly work on the workpiece 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 to move the robot hand 14 to a predetermined position, and the robot hand 14 is provided to grip 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, outputting information about 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 to recognize the position (position determined based on the distance to the workpiece W) and shape of the workpiece W and to grasp the workpiece W.
[0030] Since the imaging device 13 is 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 located outside the measurable range while the robot arm 12 is approaching the workpiece W to grip it with the robot hand 14, it will no longer be possible to grip the workpiece W using the distance information to the workpiece W measured within the measurable range.
[0031] In view of this problem, the robot control system 20 according to this embodiment determines whether 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 described in detail below.
[0032] 2 is a block diagram showing a control system of the robot control system 20 according to 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 an arithmetic unit (a processor such as a CPU) 22, a storage unit (a ROM or the like) 23, and an input / output unit 24.
[0033] The storage unit 23 stores operation programs and the like for controlling the robot unit 1 .
[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 .
[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 these units will be outlined below.
[0037] The object information storage unit 22a stores information about the workpiece W (object information) including distance information to the workpiece W calculated 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 holding unit 22a controls the operation of the robot arm 12 (by sending control command information to the robot unit 1) so that the imaging device 13 is positioned 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 known in advance, it is also possible to set in advance the posture of the robot arm 12 such that the workpiece W is positioned within the field of view of the imaging device 13 and the distance to the workpiece W is within the measurable range. Control command information is sent 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 positioned 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 the object imaging operation (initial imaging operation) when the imaging device 13 is located within the measurable range. Fig. 3 shows an example of an image of the workpiece W captured 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. Furthermore, the object information storage unit 22a stores (updates) the object information in the same manner as described above, even when the imaging device 13 intermittently captures images multiple times as it approaches 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 the predetermined position, assuming that the work W does not move during the time when the robot arm 12 moves together with the imaging device 13 from a position at a predetermined distance 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 was performed. For example, because the position information of each point on the outer edge of the workpiece W is held, the direction 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 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 approximately the same image (approximately 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 the workpiece W has moved while approaching the workpiece W (while the robot arm 12 is moving together with the imaging device 13 from a position a predetermined distance 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 acquired 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 estimated image information generated by the estimated image information generating unit 22b, and the image on the left side of Fig. 5 is 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. 5, if 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 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 when they are considered to not match), it can be determined that the workpiece W has moved. This determination of whether 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] If the comparison process in the comparison unit 22c finds that the estimated image information and the actual image information are substantially the same image information, that is, if it is determined that the workpiece W is not moving, the image information update unit 22d determines whether to update the image information stored in the object information storage unit 22a, and updates the stored image information as 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. As described above, the measurable range of the imaging device 13 is known in advance, so the posture of the robot arm 12 can be determined from the control command information sent to the robot unit 1, and the position of the imaging device 13 can also be 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 the measurable range.
[0050] Specifically, the previous image information captured by the imaging device 13 (e.g., image information obtained by an initial imaging operation) is compared with the current image information (e.g., 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 pieces of image information are obtained by imaging with the imaging device 13 at positions where the distances from the workpiece W are different and distance information can be obtained, these pieces of image information are compared. Then, of these pieces of image information, object information including distance information to the workpiece W calculated based on image information obtained at a position closer to the workpiece W is stored (updated) in the object information storage unit 22a. This is because, in general, the shorter the distance from the workpiece W, the clearer the image information obtained by imaging with the imaging device 13. In other words, by storing object information including distance information to the workpiece W calculated based on image information obtained at a position closer to the workpiece W in the object information storage unit 22a, the distance to the workpiece W can be recognized with high accuracy.
[0051] Furthermore, the image information updating 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 higher accuracy, and store the object information including the distance information to the workpiece W calculated based on the image information in the object information storage unit 22a. For example, the previous image information and the current image information may be compared, clear image information (image information that is in focus or image information without information loss due to light reflection, etc.) may be selected, and the object information including the distance information to the workpiece W calculated based on the image information may be stored in the object information storage unit 22a. This also enables the distance to the workpiece W to be recognized with high accuracy.
[0052] The image information update unit 22d may also compare the previous image information captured by the imaging device 13 with the current image information. If there is a defect in a portion of each image information (e.g., a defect in image information due to light reflection, etc.) and the location of the defect is different from each other, the image with the defect may be complemented with another image (an image with no defect). That is, the previous image information and the current image information may be combined to generate new image information, and object information including distance information to the workpiece W calculated based on this image information may be stored in the object information storage unit 22a. FIG. 7 is a diagram illustrating the process of combining two images. The image on the lower left in FIG. 7 is the previous image information (e.g., image information obtained by an initial imaging operation), and the image on the upper left is the current image information (e.g., 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 portion of this image information. Then, by combining these images, the image with the defect in the image is complemented with the other image, and the image on the right in FIG. 7 (composite 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 stored in the object information storage unit 22a by the image information update unit 22d described above is updated when 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, each time an image is taken, a decision is made as to whether or not to update the image information stored in the object information storage unit 22a, and the stored image information is updated as necessary.
[0054] When the comparison unit 22c determines that the estimated image information and the actual image information are substantially identical and that the workpiece W is not moving, the viewpoint change command unit 22e transmits 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. In other words, when the robot hand 14 grasps the workpiece W, it is preferable to grasp the center or center of gravity of the workpiece W to stably grasp the workpiece W. To achieve this, 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 from the aforementioned 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 moving the imaging device 13 around to the head side of the workpiece (bolt) W. 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 angles to grasp its overall shape, thereby enabling the central position and center of gravity of the workpiece W to be grasped.
[0055] When the comparison unit 22c compares the estimated image information and the actual image information to determine whether they match (are substantially identical) (including when they are deemed to match), the control switching unit 22f performs an operation to grasp the workpiece W using the distance information stored in the object information storage unit 22a. In other words, when the actual image information captured by the imaging device 13 at a position outside its measurable range matches the estimated image information, distance information cannot be obtained from the actual image information. However, since it is determined that the workpiece W is not moving, it is possible to grasp the workpiece W using the distance information stored in the object information storage unit 22a. Therefore, a grasping operation of the workpiece W is performed using the distance information stored in the object information storage unit 22a. More specifically, in this embodiment, the workpiece W placed at a predetermined position on the first workbench is grasped by the robot hand 14 and transferred to a predetermined position on the second workbench by the operation of the robot arm 12.
[0056] On the other hand, when the comparison result of the comparison unit 22c shows that the estimated image information and the actual image information do not match (including when they are deemed not to match), the control switching unit 22f does not perform 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 performed.
[0057] -Object gripping operation- Next, an object gripping operation performed by the robot control system 20 configured as described above will be described. Fig. 10 is a flowchart showing the processing procedure for the object gripping operation. This flowchart is repeatedly executed each time a request to grip a workpiece W (e.g., a request to transfer a workpiece W from the first worktable to the second worktable) is made.
[0058] When a request to grasp 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 the measurable range, and image information is obtained by imaging the workpiece W with the imaging device 13 at that position. In step ST2, object information including distance information to the workpiece W calculated based on this image information is transmitted to the object information storage unit 22a via the input / output unit 24 and stored in the object information storage unit 22a.
[0059] In step ST3, the posture of the robot arm 12 is changed so that it 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 by the imaging device 13 at the predetermined position is generated.
[0060] In step ST5, an image is captured by the imaging device 13 at the predetermined position, and actual image information obtained by the image capture is acquired.
[0061] In step ST6, this estimated image information is compared with the actual image information. If these images are different (the images are different due to the workpiece W having moved) and the determination in step ST7 is NO, the process proceeds to step ST8, where the object information stored in the object information storage unit 22a is discarded, and the process returns. This causes the above-described initial imaging operation to be performed again, and the object information, including distance information for the workpiece W after it has moved, to be stored in the object information storage unit 22a.
[0062] If the estimated image information and the actual image information match and the determination in step ST7 is YES, the process proceeds to step ST9, where it is determined whether 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 determination in step ST9 is YES, 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 images while the position of the imaging device 13 is within the measurable range, the object information held in the object information holding unit 22a is successively updated, 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 outside the measurable range and the determination is NO in step ST9, in step ST11, an image from another viewpoint is acquired by changing the imaging direction of the workpiece W by the imaging device 13 to a direction different from the direction described above. For example, the first different viewpoint imaging operation (the operation in which the image of the workpiece W shown in FIG. 8 is acquired) or the second different viewpoint imaging operation (the operation in which the image of the workpiece W shown in FIG. 9 is acquired) described above is performed. This makes it possible to grasp the overall shape of the workpiece W and to grasp the center 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 workpiece W is grasped using this object information, and the workpiece W is transported.
[0065] In step ST13, it is determined whether or not the transfer operation of the workpiece W has been completed. If 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] Effect of the embodiment As described above, in the present 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 that is estimated to be obtained by imaging with the imaging device 13 at the predetermined position, assuming that the workpiece W has not moved while the robot arm 12 moves together with the imaging device 13 to the predetermined position). If the comparison results in a match between the estimated image information and the actual image information, or if they are deemed to match, the object information including the distance information stored in the object information storage unit 22a is used to perform an operation to grasp the workpiece W. This makes it possible to appropriately grasp the workpiece W while determining whether the workpiece W has moved as the robot arm 12 approaches the workpiece W.
[0067] Other Embodiments The present invention is not limited to the above-described embodiment, and all modifications and applications that fall 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. However, the present invention is not limited to this, and can also be applied to industrial robots. Furthermore, 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. However, 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 workpiece W is imaged from a different direction by the imaging device 13. The present invention is not limited to this, and a configuration may be adopted in which the viewpoint change command unit 22e is not provided, that is, an image of the workpiece W is not imaged from a different direction by the imaging 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.
[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 using an imaging device provided at the tip of a robot arm.
[0073] This application claims priority based on Japanese Patent Application No. 2023-058133, filed in Japan on March 31, 2023, the entire contents of which are incorporated herein by reference.
[0074] REFERENCE SIGNS LIST 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 unit 22d Image information update unit 22e Viewpoint change command unit 22f Control switching unit W Workpiece (object)
Claims
1. A robot control system for capturing an image of an object using an imaging device provided on a robot arm of a robot, and controlling the robot when handling the object based on image information of the object obtained by the imaging, comprising: an object information storage unit for storing object information including distance information to the object calculated based on image information obtained by imaging using the imaging device when the imaging device is positioned at a predetermined distance from the object; an estimated image information generation unit for generating estimated image information of the object that is estimated to be obtained by imaging using the imaging device at a 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; and a comparison unit for comparing actual image information of the object obtained by imaging using the imaging device 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 comparison result of the comparison unit shows that the actual image information and the estimated image information match, and which 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.
2. A robot control system as described in claim 1, 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 again stored in the object information storage unit by capturing an image with the imaging device at a position a predetermined distance from the object.
3. A robot control system as claimed in claim 1 or 2, characterized in that, when multiple image information is obtained by imaging with the imaging device at positions where the distance from the object is different and where 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. A robot control system as claimed in claim 1 or 2, characterized in that when multiple image information is obtained by imaging with the imaging device at positions where the distances from the object are different and the distance information can be obtained, the robot control system further comprises an image information update unit which 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.
5. A robot control system according to claim 1 or 2, characterized in that, when multiple pieces of image information are obtained by imaging with the imaging device at positions where the distances from the object are different and where the distance information can be obtained, the robot control system further comprises an image information updating unit which synthesizes the image information and causes the object information storage unit to store object information including distance information to the object determined based on the synthesized image information.
6. A robot control system according to claim 1 or 2, further comprising a viewpoint change command section which, when the comparison result of said comparison section shows that the actual image information and the estimated image information match, causes said imaging device to capture an image of said object from a direction different from the imaging direction of said imaging device in which said actual image information was obtained.
Citation Information
Patent Citations
Robot control system, robot control method, and program
JP2021053742A
Mobile manipulator and control method and program therefor
JP2022018716A
