Robot system and calibration method

By using a calibration pattern composed of large-diameter and small-diameter points to calculate the center of gravity position, the calibration process of the robot coordinate system and the trolley coordinate system is simplified, solving the problem of complex processing in the existing technology, and achieving high-precision and efficient calibration. Effect.

CN118660792APending Publication Date: 2024-09-17FANUC LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280091185.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-02-15
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

In the existing technology, the calibration of the robot coordinate system and the camera coordinate system requires the number of intersection points of the checkers board to be stored in advance and complex inference processing to be performed, resulting in complex processing and low efficiency.

Method used

Using a calibration pattern consisting of large and small diameter points, the camera obtains the point coordinates in the image, calculates the center of gravity position, and adjusts the robot to ensure that the large diameter point is close to the center of the image when the camera is shooting, thus simplifying the calibration process and avoiding the need to store it in advance Point count and complex presumption handling.

Benefits of technology

It achieves a simpler and more precise calibration of the robot coordinate system and the trolley coordinate system, reduces the amount of robot movement, avoids interference from peripheral equipment, and improves calibration efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118660792A
    Figure CN118660792A
Patent Text Reader

Abstract

A robot system (1) is provided with: a robot (2); a control device (3) that controls the robot (2); a positioning object (4); and a camera (5) attached to either the object to be positioned (4) or the robot (2), the control device (3) causing the camera (5) to capture an image of a display including a first feature, and causing the robot (2) to operate such that the center-of-gravity position of the display included in the image acquired by the camera (5) approaches the center of the image. The first feature is capable of acquiring origin coordinates of the other of the positioning object (4) or the robot (2).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a robot system and a calibration method. Background Art

[0002] Conventionally, there is a technique disclosed in which a robot coordinate system and a camera coordinate system are calibrated by using a camera disposed outside the robot to capture an image of a draughts board attached to the tip of the robot's wrist (for example, see Patent Document 1).

[0003] According to this technology, based on the coordinate values ​​of the intersection points of the draughts board that are not included in the image captured by the camera, the robot is moved so that all the intersection points are included in the image.

[0004] Prior art literature

[0005] Patent Literature

[0006] Patent Document 1: Japanese Patent Application Publication No. 2010-172986 Summary of the invention

[0007] Problem that the invention aims to solve

[0008] The method of Patent Document 1 requires storing the number of intersections of a draughts board in advance and performing processing to estimate where the intersections not in the image are located from the intersections in the image, which is a complicated process. Therefore, it is desirable to perform calibration by a simpler process.

[0009] Solutions for solving problems

[0010] One embodiment of the present invention is a robot system, comprising: a robot; a control device that controls the robot; a positioning object; and a camera that is installed on one side of the positioning object or the robot, wherein the control device causes the camera to capture a display including a first feature, and causes the robot to move in such a way that the center of gravity position of the display included in the image acquired by the camera is close to the center of the image, and the first feature is capable of acquiring the origin coordinates of the positioning object or the other side of the robot. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 It is a perspective view showing the overall structure of a robot system according to one embodiment of the present invention.

[0012] Figure 2 It means in Figure 1 Figure 1 is an example of a proofreading pattern used in a robotic system.

[0013] Figure 3 It means in Figure 2A diagram showing an example of the origin of the cart coordinate system and the directions of the X-coordinate and the Y-coordinate, shown by the points with a large diameter in the calibration pattern.

[0014] Figure 4 Yes means Figure 2 FIG. 4 is a diagram showing an example of an image when the calibration pattern is configured as a whole within the field of view of the camera.

[0015] Figure 5 Yes, it is used Figure 1 A flow chart illustrating the calibration method of the robot system.

[0016] Figure 6 Yes means Figure 2 FIG. 4 is a diagram showing an example of an image when a portion of a calibration pattern is arranged within the field of view of a camera.

[0017] Figure 7 Yes means Figure 2 FIG. 1 is a diagram showing other image examples when a portion of the calibration pattern is configured within the field of view of the camera.

[0018] Figure 8 Yes means Figure 2 FIG. 4 is a diagram of other examples of proofreading patterns.

[0019] Fig. 9 It means in Figure 7 A diagram showing an example of the centroid position when the weight of a point with a large diameter is increased in the calculation of the centroid position in an image.

[0020] Fig.10 Yes means Figure 2 FIG. 4 is a diagram of other examples of proofreading patterns.

[0021] Fig.11 Yes means Figure 5 Flowchart of a variation of the calibration method.

[0022] Fig.12 Yes means Figure 1 A three-dimensional diagram of the overall structure of a modified example of the robot system.

[0023] Fig.13 Yes means Figure 1 A three-dimensional diagram of the overall structure of another modified example of the robot system.

[0024] Fig.14 Yes means Figure 1 A three-dimensional diagram of the overall structure of another modified example of the robot system. DETAILED DESCRIPTION

[0025] Hereinafter, a robot system 1 and a calibration method according to an embodiment of the present invention will be described with reference to the drawings.

[0026] like Figure 1 As shown, the robot system 1 of the present embodiment includes a robot 2 , a control device 3 , a positioning object, and a camera 5 .

[0027] The robot 2 is, for example, a vertical six-axis multi-jointed robot fixed to a horizontal ground or other installation surface. A tool P such as a hand for working on a workpiece W is installed at the front end of the wrist 6 of the robot 2. The robot 2 can be in any form. In addition, the tool P installed at the front end of the wrist 6 of the robot 2 can also be any.

[0028] The positioning target object is, for example, a vehicle 4 that carries the workpiece W and travels on the ground to supply the workpiece W to the robot 2. The vehicle 4 may be an unmanned guided vehicle or a vehicle that is manually moved by an operator.

[0029] A calibration pattern (display) 7 described later is fixed to a surface, for example, a top surface, of the carriage 4. The calibration pattern 7 may be fixed at any position of the carriage 4 as long as the robot 2 can face the camera 5.

[0030] The camera 5 is a two-dimensional camera and is fixed to the tool P mounted on the robot 2. The camera 5 may also be directly fixed to the front end of the wrist 6 of the robot 2. The camera coordinate system is calibrated in advance so as to accurately correspond to the robot coordinate system.

[0031] The calibration pattern 7 is a display including a feature (first feature) which is fixed to the trolley 4 and indicates the origin of the trolley coordinate system and the direction of the coordinate axis, for example, Figure 2 As shown, the calibration pattern 7 is a dot pattern composed of a plurality of circular dots 8 and 9 arranged in a square pattern at predetermined intervals.

[0032] exist Figure 2 The dot pattern includes two types of dots 8 and 9 with different outer diameters, and includes: four dots (first feature) 8 (of large diameter) arranged in an L shape and having a large outer diameter; and a plurality of dots (second feature) 9 (of small diameter) arranged around the four dots 8 and having a small outer diameter. That is, the four dots 8 of large diameter are arranged in an L shape by three dots 8 arranged in a first direction and another dot 8 arranged in a second direction orthogonal to the first direction relative to the dot 8 at the end of the three dots 8.

[0033] Moreover, if Figure 3 As shown, the center of the large diameter point 8 located at the corner of the L corresponds to the origin position of the trolley coordinate system. In addition, the straight line connecting the centers of the three arranged large diameter points 8 and extending along the first direction corresponds to the X-axis direction of the trolley coordinate system, and the straight line connecting the centers of the two arranged large diameter points 8 and extending along the second direction corresponds to the Y-axis direction of the trolley coordinate system.

[0034] Here, the center of the large diameter point 8 located at the corner of the letter L corresponds to the origin position of the trolley coordinate system, which means that the center of the large diameter point 8 located at the corner of the letter L is the origin position of the trolley coordinate system itself, and the center of the large diameter point 8 located at the corner of the letter L is different from the origin position of the trolley coordinate system. That is, by obtaining the center position of the large diameter point 8 at the corner of the letter L, the origin position of the trolley coordinate system can be obtained, and the origin position of the trolley coordinate system set at a different position can also be obtained.

[0035] Similarly, the straight line connecting the centers of the large-diameter points 8 corresponds to the axial direction of the cart coordinate system, which means that the direction of each straight line is consistent with the axial direction and the direction is different from the axial direction. That is, by obtaining two straight lines connecting the centers of the large-diameter points 8, it is possible to obtain the X coordinate and Y coordinate of the cart coordinate system itself, and it is also possible to obtain the X coordinate and Y coordinate of the cart coordinate system extending in a direction different from the obtained straight lines.

[0036] A plurality of small diameter points 9 are arranged to be distributed within a predetermined range around the large diameter point 8. For example, Figure 4 As shown, the predetermined range is a range in which the entire calibration pattern 7 can be arranged within the field of view of the camera 5 when the camera 5 is arranged at a predetermined distance from the calibration pattern 7 .

[0037] When the carriage 4 is arranged in a state roughly positioned relative to the robot 2 , the control device 3 executes calibration to make the robot coordinate system correspond to the carriage coordinate system.

[0038] Hereinafter, a calibration method according to an embodiment of the present invention will be described.

[0039] In the calibration method of this embodiment, if Figure 5 As shown, first, the control device 3 controls the robot 2 to make the camera 5 face the calibration pattern 7 provided on the top surface of the carriage 4 (step S1). Then, the control device 3 operates the camera 5 to make the camera 5 capture the calibration pattern 7 (step S2).

[0040] The control device 3 processes the image acquired by the camera 5 to extract four large-diameter points 8 in the image and determine whether all four large-diameter points 8 are included. Specifically, the coordinate positions and outer diameters of all points 8 and 9 included in the image are extracted (step S3), and the number S of points 8 having larger outer diameters than other points 9 is calculated (step S4).

[0041] It is determined whether the number S of the large-diameter points 8 is four (step S5). Figure 4As shown, when the number S of large-diameter points 8 in the image is four, the position and direction of the trolley coordinate system are calculated based on the coordinates of the center positions of these large-diameter points 8 on the image (step S6). Thus, the calibration that makes the robot coordinate system and the trolley coordinate system correspond accurately is completed.

[0042] On the other hand, Figure 6 As shown in FIG. 1 , when the image contains only three or less large-diameter points 8, the control device 3 calculates the centroid position G of all the points 8 and 9 contained in the acquired image (step S7). The centroid position G of the points 8 and 9 can be calculated by adding and averaging the coordinates of the center position of each point 8 and 9. That is, the average value can be obtained by adding the coordinates of the center position of each point 8 and 9 on the image according to each component and dividing by the number of additions.

[0043] Then, if Figure 7 As shown, the control device 3 determines whether the coordinates of the calculated center of gravity position G are located within a circle (predetermined range) A of a predetermined radius as shown by a dashed line relative to the center position (center) C of the image (step S8). Here, the predetermined radius is, for example, when the camera 5 is arranged at a distance that allows the entire calibration pattern 7 to be contained within the field of view of the camera 5, the maximum offset of the center of the calibration pattern 7 relative to the optical axis of the camera 5 such that all four large-diameter points 8 can enter the field of view of the camera 5.

[0044] When the calculated center of gravity position G is within a circle of a predetermined radius relative to the center position C of the image, as shown in FIG. Figure 7 As shown, the points 8 and 9 are evenly distributed in the image. Therefore, after the robot 2 moves in a direction that moves the camera 5 away from the calibration pattern 7 (step S9), the control device 3 repeats the process from step S2. The movement amount of the robot 2 in this case may be predetermined.

[0045] That is, when the four large-diameter points 8 are not included in the image and the points 8 and 9 are evenly distributed in the image, it can be determined that the camera 5 is too close to the calibration pattern 7. Therefore, by moving the robot 2 in a direction to move the camera 5 away from the calibration pattern 7, the calibration pattern 7 can be accurately photographed.

[0046] like Figure 8As shown in FIG. 1 , when the control device 3 determines that the calculated coordinates of the center of gravity position G are outside the predetermined range A relative to the center position C of the image, the control device 3 calculates a moving direction starting from the calculated coordinates of the center of gravity position G and ending at the center position C of the image (step S10). Furthermore, the control device 3 operates the robot 2 so that the calibration pattern 7 moves a predetermined distance within the image along the calculated moving direction (step S11). Thereafter, the process from step S2 is repeated.

[0047] That is, when the center of gravity position G is outside the predetermined range relative to the center position C of the image, the calibration pattern 7 is distributed in one direction within the image, and therefore the center of gravity position G is moved in a direction close to the center position C. Thus, the camera 5 can be brought close to the calibration pattern 7 in a positional relationship in which all the large-diameter points 8 included in the calibration pattern 7 enter the field of view of the camera 5.

[0048] Thus, according to the robot system 1 and the calibration method of the present embodiment, since the position and direction of the trolley coordinate system are calculated based on the four large-diameter points 8 in the acquired image, it is not necessary to store the number of points 8 and 9 in advance. In addition, since there is no need for the complicated processing of estimating the center positions of the points 8 and 9 outside the image as in the past, there is an advantage that the trolley coordinate system can be acquired with high precision through simpler processing.

[0049] In addition, since the center of gravity position G is moved by a predetermined distance in a direction close to the center position C of the image when there are three or fewer points 8 with a large diameter in the image, there is an advantage that the robot 2 does not need to be moved greatly. That is, since it is only necessary to arrange all four points 8 with a large diameter in the image, it is not necessary to move the robot 2 until the four points 8 with a large diameter are arranged near the center of the image, and the movement of the robot 2 can be limited to avoid interference between the peripheral equipment and the robot 2.

[0050] In addition, in this embodiment, the four large-diameter points 8 in the calibration pattern 7 constitute the first feature indicating the origin of the trolley coordinate system and the direction of the coordinate axis, but Fig. 9 As shown, it can also be three. In this case, it is sufficient to make the center position of the corner point 8 correspond to the origin of the trolley coordinate system, make the straight line connecting the center positions of the two points 8 on one side correspond to the X-axis direction of the trolley coordinate system, and make the straight line connecting the center positions of the two points 8 on the other side correspond to the Y-axis direction of the trolley coordinate system. In addition, the small diameter point 9 and the large diameter point 8 can also be replaced.

[0051] In addition, when there are three or fewer large-diameter points 8 in the image, the center of gravity position G is moved by a predetermined distance in a direction close to the center of the image C, but instead, it may be moved by a distance corresponding to the distance between the center of gravity position G and the center of the image C. Thus, the number of repetitions of processing can be reduced, and all four large-diameter points 8 can be arranged in the image as quickly as possible.

[0052] In addition, when calculating the centroid position G of the points 8 and 9 in the image, the calculation is performed as if all the points 8 and 9 have equal weights, but instead, the centroid position G may be calculated by assigning a larger weight to the point 8 with a larger diameter than to the point 9 with a smaller diameter. In this way, the centroid position G can be brought closer to the point 8 with a larger diameter, and in particular, when the distance is the distance connecting the centroid position G and the center position C of the image, all four points 8 with a larger diameter can be arranged in the image more quickly.

[0053] In addition, by giving a larger weight to the point 8 with a larger diameter than to the point 9 with a smaller diameter, Fig.10 As shown, even with Figure 7 Similarly, even when a part of the dots 8 and 9 uniformly distributed in the image includes a dot 8 having a large diameter, the centroid position G can be arranged at a position away from the center position C in the image.

[0054] In addition, the large-diameter dots 8 are arranged near the center of the small-diameter dots 9, but the present invention is not limited thereto, and the large-diameter dots 8 may be arranged at the corners of the dot pattern composed of the small-diameter dots 9. In addition, a dot pattern composed of only four large-diameter dots 8 may be used.

[0055] In addition, as a display for calibrating the trolley coordinate system relative to the robot coordinate system, a calibration pattern consisting of a dot pattern is used, but it is not limited to this. Fig.11 In this chess pattern, instead of the large-diameter dot 8, three squares of different colors can be arranged in an L shape.

[0056] Furthermore, not limited to the pattern, a characteristic shape of the surface of the carriage, for example, a characteristic contour shape of the casing of the carriage 4 or the position of a bolt, etc. may be used as an indication for calibration.

[0057] In addition, Figure 5 In the flowchart of FIG. 1 , when three or less large-diameter dots 8 are detected and the centroid positions G of all the dots 8 and 9 in the image are within a predetermined range relative to the center position C of the image, the camera 5 is moved in a direction away from the calibration pattern 7. Alternatively, the actual center-to-center distance T0 of adjacent dots 8 and 9 may be stored in advance.

[0058] In this case, if Fig.12 As shown, at the stage where the coordinates of the center positions of all points 8 and 9 are calculated (step S12), the center-to-center distance T of adjacent points 8 and 9 in the image is calculated (step S13). Then, the stored center-to-center distance T0 is compared with the calculated center-to-center distance T (step S14).

[0059] The camera 5 may also be moved in a direction such that the center distance T between the adjacent points 8 and 9 in the image becomes equal to the actual center distance between the adjacent points 8 and 9 (steps S9 and S15). In this case, the center distance T between the points 8 and 9 that are farthest apart in the image is detected, and the center distance T between the adjacent points 8 and 9 is calculated based on the detected center distance T, so that the calculation accuracy can be improved.

[0060] That is, even if the camera 5 and the calibration pattern 7 are offset to such an extent that the large-diameter dot 8 cannot be included in the image due to the small-diameter dot 9 surrounding the large-diameter dot 8, the large-diameter dot 8 can be moved into the image by using the small-diameter dot 9. In addition, the small-diameter dot 9 can be used to calculate the distance between the camera 5 and the calibration pattern 7 with high accuracy.

[0061] In addition, Figure 5 In the flowchart of , the large-diameter point 8 is detected separately from the small-diameter point 9, and when the number of the detected large-diameter points 8 is three or less, the centroid position G of all the points 8 and 9 in the image is calculated. Alternatively, the centroid position G of all the points 8 and 9 in the image may be calculated without discriminating the small-diameter point 9 and the large-diameter point 8, and the large-diameter point 8 may be discriminated after the centroid position G is brought close to the center position of the image.

[0062] In addition, in the robot system 1 of the present embodiment, the following example is described: the camera 5 installed in the robot 2 is used to capture the calibration pattern 7 fixed to the carriage 4. Fig.13 As shown, a camera 5 is mounted on the carriage 4 , and a calibration pattern 7 is fixed to the tool P of the robot 2 .

[0063] In this case, the camera coordinate system corresponds to the vehicle coordinate system with high accuracy through a prior calibration. In addition, the control device 3 operates the camera 5 wirelessly, for example, and receives an image acquired by the camera 5 .

[0064] When the trolley 4 is roughly positioned relative to the robot 2, the control device 3 performs calibration to make the robot coordinate system correspond to the trolley coordinate system. That is, first, the control device 3 controls the robot 2 so that the calibration pattern 7 is placed opposite to the camera 5 in a manner of covering it from above. Then, the control device 3 operates the camera 5 to make it capture the calibration pattern 7 and receive the captured image. Figure 5 The process can be carried out from step S3 onwards.

[0065] In this case as well, similarly to the above embodiment, based on the points 8 and 9 in the acquired image, the robot 2 is moved so that all four large-diameter points 8 are arranged in the image, thereby easily calibrating the robot coordinate system and the vehicle coordinate system.

[0066] In addition, if Fig.14 As shown, the present invention can also be applied to the following situation: the robot 2 and the control device 3 are mounted on the trolley 10, and the robot 2 and the control device 3 are roughly positioned relative to the workbench (positioning object) 11 on which the workpiece W is mounted, and the workpiece W on the workbench 11 is operated. In this case, the trolley 10 can be either an unmanned transport vehicle or a manual trolley.

[0067] That is, it is also applicable to the case where the calibration pattern 7 mounted on the robot 2 is placed opposite to the camera 5 fixed on the workbench 11, and the coordinate system fixed on the workbench 11 and the robot coordinate system are calibrated. In this case, the camera 5 may be mounted on the robot 2, and the calibration pattern 7 may be fixed on the workbench 11. In addition, the camera 5 or the calibration pattern 7 may be fixed at a place away from the workbench 11.

[0068] Description of reference numerals:

[0069] 1: Robotic system

[0070] 2: Robot

[0071] 3: Control device

[0072] 4: Trolley (positioning object)

[0073] 5: Camera

[0074] 7: Proofreading pattern (display)

[0075] 8: Point (first feature)

[0076] 9: Point (second feature)

[0077] 11: Workbench (positioning object)

[0078] A: circle of predetermined radius (predetermined range)

[0079] C: Center position (center)

[0080] G: Center of gravity

Claims

1. A robot system, It is characterized in that have: robot; a control device, which controls the robot; Locating objects; and A camera installed on one of the positioning object or the robot, The control device causes the camera to capture a display including a first feature, and causes the robot to move in such a manner that the center of gravity of the display included in the image acquired by the camera is close to the center of the image, wherein the first feature is capable of acquiring the origin coordinates of the positioning object or the other party of the robot.

2. The robot system according to claim 1, It is characterized in that The control device determines whether the first feature is entirely included in the image acquired by the camera, and if it is included, acquires the origin coordinates of the positioning object or the other of the robot based on the first feature in the image.

3. The robot system according to claim 2, It is characterized in that When the control device determines that the first feature is not entirely included in the image acquired by the camera, the robot is operated so that the center of gravity of the display included in the image is brought closer to the center of the image.

4. The robot system according to any one of claims 1 to 3, It is characterized in that The display includes a second feature, and the second feature is distributed within a predetermined range around the first feature.

5. The robot system according to claim 4, It is characterized in that When the control device determines that the first feature as a whole is not included in the image acquired by the camera and the calculated center of gravity position is within a predetermined range of the center of the image, the camera is caused to capture the display again after moving the robot away from the display.

6. The robot system according to claim 4 or 5, It is characterized in that The control device calculates the center of gravity position using the entire display included in the image.

7. The robot system according to any one of claims 4 to 6, It is characterized in that The control device calculates the center of gravity position by assigning a larger weight to the first feature included in the image than to the second feature.

8. The robot system according to claim 3, It is characterized in that The control device calculates the center of gravity position using only the first feature included in the image.

9. A calibration method, It is characterized in that include: causing a camera mounted on one of the robot and the positioning object to capture a display including a first feature capable of acquiring the origin coordinates of the other; determining whether the first feature as a whole is contained in the image acquired by the camera; In the case of determining that it is included, obtaining the origin coordinates of the other party based on the first feature in the image; If it is determined that the image is not included, the robot is moved so that the center of gravity of the display included in the image is close to the center of the image. Repeat from the step of photographing the display.