ROBOT SYSTEM, CONTROL DEVICE, DIAGNOSIS METHOD, AND DIAGNOSIS PROGRAM

The robot system uses a control device and diagnostic program to verify camera attachment by comparing target positions in multiple images, ensuring correct camera placement and preventing task execution unless properly attached, thus maintaining robot functionality and reducing interference.

JP7568862B2Active Publication Date: 2024-10-16FANUC LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2023539416
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-08-03
Publication Date
2024-10-16
Estimated Expiration
2041-08-03

AI Technical Summary

Technical Problem

When a camera is attached to a location other than the hand of a robot, the robot may not perform its tasks normally, necessitating a method to prevent execution of the operation program unless the camera is correctly positioned.

Method used

A robot system with movable elements and a visual system that includes a control device to determine if a camera is attached to the correct location by comparing target positions in multiple images taken from different postures, using a diagnostic program to ensure the camera is fixed to the intended wrist element.

Benefits of technology

The system reliably determines if the camera is correctly attached, preventing the execution of operation programs that assume correct attachment, thereby ensuring proper robot functionality and reducing potential interference with external structures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007568862000001
    Figure 0007568862000001
  • Figure 0007568862000002
    Figure 0007568862000002
  • Figure 0007568862000003
    Figure 0007568862000003
Patent Text Reader

Abstract

Provided is a robot system (1) comprising: a robot (10) provided with one or more movable elements that can respectively rotate about one or more rotation axes; a control device (30) that controls the robot; and a visual sensor (20) attached to any of the movable elements of the robot (10), wherein the control device (30) uses any of the movable elements (18) of the robot (10) as a target element, compares the position of a predetermined target (T) in a first image acquired by the visual sensor (20) at an arbitrary first orientation of the robot (10) at which the target (T) fixed at a predetermined position is disposed inside the field of view of the visual sensor (20), and the position of the predetermined target (T) in a second image acquired by the visual sensor (20) at an arbitrary second orientation at which the target element is rotated about the rotation axis (J6) of the target element with respect to the first orientation, and determines that the visual sensor (20) is attached to the target element when the positions of the target (T) in the first image and the second image are different.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a robot system, a control device, a diagnostic method, and a diagnostic program. [Background technology]

[0002] It is known that a camera that acquires position information of a workpiece or the like is attached to the tip of a robot's wrist, and an operating program is executed to perform work while photographing the workpiece or the like (see, for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. Hei 1-193902 Summary of the Invention [Problem to be solved by the invention]

[0004] When executing an operating program that assumes that the camera is attached to the hand end portion as described above, if the camera is attached to something other than the hand end portion, such as the arm portion, the robot will not be able to perform normal operations. It is therefore desirable to prevent an operating program from being executed when the camera is attached in a location other than that required by the operating program. [Means for solving the problem]

[0005] One aspect of the present disclosure is a robot system comprising a robot having one or more movable elements each rotatable around one or more rotational axes, a control device for controlling the robot, and a visual sensor attached to any of the movable elements of the robot, wherein the control device compares the position of the target in a first image acquired by the visual sensor in an arbitrary first posture of the robot in which any of the movable elements of the robot is a target element and a predetermined target fixed at a predetermined position is placed within the field of view of the visual sensor, with the position of the target in a second image acquired by the visual sensor in a second posture in which the target element is rotated around the rotational axis of the target element relative to the first posture, and determines that the visual sensor is attached to the target element if the positions of the target in the first image and the second image are different. [Brief description of the drawings]

[0006] [Figure 1] 1 is an overall configuration diagram showing a robot system according to a first embodiment of the present disclosure. [Diagram 2] FIG. 2 is a block diagram showing a configuration of the robot system shown in FIG. [Diagram 3] FIG. 2 is a diagram showing a target installed in the robot system of FIG. 1. [Figure 4] 2 is a flowchart showing the first half of a control method for the robot system of FIG. 1. [Diagram 5] 2 is a flowchart showing the second half of the control method of the robot system of FIG. 1. [Figure 6] 2 is a diagram showing a first image captured by a camera when the robot in the robot system of FIG. 1 is in a first posture. FIG. [Figure 7] 1. FIG. 4 is a diagram showing a second image captured by the camera when the robot in the robot system of FIG. 1 is in a second posture. [Figure 8] 10 is a flowchart illustrating the first half of a control method for a robot system according to a second embodiment of the present disclosure. [Figure 9]9 is a flowchart showing the second half of the control method of the robot system in FIG. 8. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0007] A robot system 1, a control device 30, a diagnostic method, and a diagnostic program according to a first embodiment of the present disclosure will be described below with reference to the drawings. The robot system 1 according to this embodiment includes, for example, a robot 10 that performs a predetermined task, a camera (visual sensor) 20 attached to the robot 10, and a control device 30 that controls the robot 10 and the camera 20, as shown in FIG.

[0008] 1, the robot 10 includes a base 11 placed on a horizontal floor surface F, and a rotating body (movable element) 12 supported rotatably relative to the base 11 about a vertical first axis J1. The robot 10 also includes a first arm (movable element) 13 supported rotatably relative to the rotating body 12 about a horizontal second axis J2, and a second arm (movable element, robot arm) 14 supported rotatably relative to the tip of the first arm 13 about a horizontal third axis J3. The robot 10 also includes a three-axis wrist unit 15 supported at the tip of the second arm 14.

[0009] The wrist unit 15 includes a first wrist element (movable element) 16 supported rotatably relative to the second arm 14 about a fourth axis J4 extending along a plane perpendicular to the third axis J3. The wrist unit 15 also includes a second wrist element (movable element) 17 supported rotatably relative to the first wrist element 16 about a fifth axis J5 perpendicular to the fourth axis J4. The wrist unit 15 also includes a third wrist element (movable element, wrist element) 18 supported rotatably relative to the second wrist element 17 about a sixth axis (rotation axis) J6 perpendicular to the fifth axis J5 and passing through the intersection of the fourth axis J4 and the fifth axis J5.

[0010] 1, the camera 20 is fixed to a tool A, such as a hand, which is fixed to the flange surface 18a of the third wrist element 18. As a result, the camera 20 is indirectly fixed to the third wrist element 18 via the tool A. The camera 20 has its optical axis X arranged parallel to the sixth axis J6, and has a field of view in the direction facing the flange surface 18a (forward).

[0011] The control device 30 includes at least one processor and at least one memory. As shown in Fig. 2, the control device 30 includes a robot control unit 31 that controls the robot 10, a camera control unit 32 that controls the camera 20, and an image processing unit 33 that processes images acquired by the camera 20. The control device 30 also includes a memory unit 34 that stores a diagnostic program and the like, a determination unit 35, and a notification unit 36.

[0012] The diagnostic program sequentially moves the robot 10 from the first posture to the fourth posture that have been set, and acquires an image by operating the camera 20 in each posture. This diagnostic program may be included at the beginning of the operation program as a part of the operation program that performs the work using the camera 20, or may be executed independently from the operation program.

[0013] The first posture is, for example, a posture of the robot 10 in which the camera 20 is placed facing downward above a target T provided on the upper surface of a table S fixed to a floor surface F as shown in FIG. 1, and the target T is placed within the field of view of the camera 20. The first posture is set, for example, by a teaching operation in which an operator operates the robot 10 while looking at an image captured by the camera 20.

[0014] The target T may be, for example, a circular mark drawn on the top surface of the table S as shown in Fig. 3. If the mark is circular, its center position can be easily detected by image processing. The target T may have any shape other than a circle, and may be a part of a structure other than a mark, such as a corner of the table S, that has a characteristic shape and whose position can be easily detected.

[0015] The second posture is a posture of the robot 10 in which only the third wrist element 18 is rotated around the sixth axis J6 with respect to the first posture by a very small angle such that the target T does not move out of the field of view of the camera 20. Here, the very small angle may be an angle at which the presence or absence of movement of the target T between two images acquired by the camera 20 can be detected, for example, an angle at which the amount of movement of the target T is several pixels or more.

[0016] The third posture is a posture of the robot 10 in which the third wrist element 18 and the camera 20 are moved an infinitesimal distance in a direction intersecting with the sixth axis J6 from the robot 10 in the second posture. Even in this posture, the target T is disposed within the field of view of the camera 20. Here, the infinitesimal distance may be a distance that allows detection of the presence or absence of movement of the target T between two images acquired by the camera 20, for example, a distance in which the amount of movement of the target T is several pixels or more.

[0017] Moreover, the fourth posture is a posture of the robot 10 in which only the third wrist element 18 is rotated about the sixth axis J6 with respect to the third posture by a minute angle such that the target T does not move out of the field of view of the camera 20. In this case, the minute angle may be the same as the minute angle of the second posture with respect to the first posture. The second, third and fourth postures, like the first posture, are all determined by the operator and are stored in advance as teaching points of the diagnostic program.

[0018] The camera 20 is activated by a command signal output from the camera control unit 32 when the diagnostic program is executed and the robot 10 assumes any one of the first to fourth postures, and captures an image of a subject contained within the field of view in each posture. The camera 20 transmits the captured image to the image processing unit 33 of the control device 30.

[0019] The image processing unit 33 processes the image sent from the camera 20, detects the target T included in the image, and extracts the coordinates of the center position of the target T in an XY coordinate system defined with respect to one end of the image, for example. The extracted coordinates of the center position of the target T are stored in the memory unit 34 together with information on the posture of the robot 10.

[0020] With coordinates C1 of the center position of target T corresponding to the first posture and coordinates C2 of the center position of target T corresponding to the second posture stored in memory unit 34, determination unit 35 reads these coordinates from memory unit 34 and calculates the positional deviation (movement) D1 between the two coordinates. If positional deviation D1 is greater than a predetermined threshold, determination unit 35 determines that camera 20 is a hand camera fixed to third wrist element 18.

[0021] On the other hand, if the positional deviation amount D1 calculated by the determination unit 35 is equal to or less than the predetermined threshold value, a coordinate C3 of the center position of the target T corresponding to the third attitude and a coordinate C4 of the center position of the target T corresponding to the fourth attitude are extracted and stored in the storage unit 34. Next, the two coordinates are read out from the storage unit 34, and a positional deviation amount (movement amount) D2 of both coordinates is calculated. Then, when the positional deviation amount D2 is greater than a predetermined threshold, the determination unit 35 determines that the camera 20 is a hand camera fixed to the third wrist element 18. On the other hand, when the positional deviation amount D2 is equal to or less than the predetermined threshold, the determination unit 35 determines that the camera 20 is not fixed to the third wrist element 18, that is, is not a hand camera.

[0022] The notification unit 36 ​​is, for example, a monitor, a speaker, an indicator light, or the like, and notifies an external worker or the like of the determination result made by the determination unit 35 as to whether or not the camera is a handheld camera.

[0023] A diagnosis method performed by the control device 30 of the robot system 1 according to this embodiment configured as above will be described below. First, the control device 30 of the robot system 1 according to this embodiment executes a diagnostic program before executing an operation program for causing the robot 10, having the camera 20 fixed to the third wrist element 18, to perform a predetermined task.

[0024] 4 and 5, in the diagnosis method according to this embodiment, first, an operator places a target T at an arbitrary position within the working range of the robot 10 (step S1). Then, by executing a diagnosis program, the robot control unit 31 operates the robot 10 and sets it to the first posture as shown in FIG. 1 (step S2).

[0025] In this state, the camera control unit 32 transmits an image capturing command to the camera 20 in accordance with the diagnostic program, and causes the camera 20 to capture an image of the target T within the field of view and obtain a first image P1 including the target T (step S3). The first image P1 acquired by the camera 20 is transmitted to the image processing unit 33 and processed by the image processing unit 33. As a result, as shown in Fig. 6, coordinates C1 of the center position of the target T in the XY coordinate system defined in the first image P1 are extracted and stored in the storage unit 34 in association with the first attitude (step S4).

[0026] Next, in accordance with the diagnostic program, the robot control unit 31 rotates the third wrist element 18 by the angle α in the counterclockwise direction about the sixth axis J6, thereby setting the robot 10 to the second posture (step S5). As a result, the camera 20 also rotates by the angle α in the counterclockwise direction about the sixth axis J6, so that the target T in the field of view of the camera 20 moves by the angle α in the clockwise direction about the sixth axis J6, as shown in FIG.

[0027] In this state, the camera control unit 32 transmits an image capturing command to the camera 20, causing the camera 20 to capture an image of the target T within the field of view and acquire a second image P2 including the target T (step S6). The acquired second image P2 is transmitted to the image processing unit 33, which processes the image to extract coordinates C2 of the center position of the target T in the XY coordinate system within the second image P2, and stores the coordinates C2 in the memory unit 34 in association with the second attitude (step S7).

[0028] Next, the determination unit 35 reads out the coordinate C1 of the center position of the target T in the processed first image P1 and the coordinate C2 of the center position of the target T in the processed second image P2 from the storage unit 34. Then, the determination unit 35 calculates the distance between the coordinate C1 and the coordinate C2 to calculate the positional deviation amount D1 of the target T between the first image P1 and the second image P2 (step S8), and compares the calculated positional deviation amount D1 with a predetermined threshold value set in advance (step S9).

[0029] If the calculated positional deviation amount D1 is greater than the threshold value, the determination unit 35 determines that the camera 20 has moved with the rotation of the third wrist element 18 about the sixth axis J6, and that the camera 20 is a hand camera fixed to the third wrist element 18 (step S10). Then, the notification unit 36 ​​notifies an external worker or the like that the camera 20 is a hand camera (step S11). This ends the diagnostic program, and then it becomes possible to move to the operation program.

[0030] On the other hand, if the calculated positional deviation amount D1 does not exceed the threshold value, the robot control unit 31 sets the robot 10 to a third posture in which the third wrist element 18 is slightly moved in a direction intersecting the sixth axis J6 relative to the second posture (step S12).

[0031] In this state, similarly to steps S3 to S9, the camera 20 acquires an image of the target T when the robot 10 is in the third posture as a third image P3 (step S13). In addition, the image processing unit 33 extracts coordinates C3 of the center position of the target T in the third image P3, and stores the coordinates C3 in the storage unit 34 (step S14). Next, the robot control unit 31 rotates only the third wrist element 18 about the sixth axis J6 with respect to the third posture, and sets the robot 10 to the fourth posture (step S15). In this state, the camera 20 acquires a fourth image P4 including the target T (step S16), and the image processing unit 33 extracts the coordinates C4 of the center position of the target T in the fourth image P4 and stores them in the memory unit 34 (step S17).

[0032] Then, the determination unit 35 calculates the positional deviation D2 between the coordinates C3, C4 of the center position of the target T in the third image P3 and the fourth image P4 (step S18), and compares the calculated positional deviation D2 with a threshold value (step S19). As a result, if the positional deviation D2 is greater than the threshold value, the determination unit 35 determines that the camera 20 is a hand camera attached to the third wrist element 18 (step S10).

[0033] On the other hand, if the positional deviation amount D2 does not exceed the threshold, it is determined that the camera 20 is not a hand camera (step S20). In this case, the notification unit 36 ​​notifies an external worker or the like that the robot 10 is in a state in which the robot 10 cannot normally execute the operation program, using a notification method different from that used when it is determined that the camera 20 is a hand camera (step S11). Then, the diagnostic program is terminated while prohibiting execution of the operation program.

[0034] In this way, according to the robot system 1, control device 30, diagnostic method, and diagnostic program of this embodiment, it is possible to easily determine whether the camera 20 is a hand camera or not by simply comparing the images acquired when the robot 10 is in the first posture and the second posture. Furthermore, between the first and second postures, the third wrist element 18 only needs to be moved around the sixth axis J6, and this movement only needs to be at a small angle, so that interference between the robot 10 and external structures, etc. can be avoided.

[0035] Furthermore, if it is not possible to determine that the camera 20 is a hand camera only from the images acquired when the robot 10 is in the first and second postures, it is determined whether or not it is a hand camera from the images acquired when the robot 10 is in the third and fourth postures. Therefore, it is possible to more reliably determine whether or not the camera 20 is a hand camera.

[0036] Examples of cases in which the position of the target T does not change between the images acquired in the first and second postures include cases in which the camera 20 is not a hand camera, and cases in which the camera 20 is a hand camera but the sixth axis J6 passes through the center of the target T. In other words, even if the sixth axis J6 happens to coincide with the center position of the target T in the first posture of the robot 10 set by the operator, it is possible to reliably determine whether the camera 20 is a hand camera or not.

[0037] This makes it possible to reliably prevent an operating program that is based on the assumption that the camera 20 is fixed to the third wrist element 18 from being executed when the camera 20 is not fixed to the third wrist element 18.

[0038] In this embodiment, the determination as to whether or not the target is a hand camera is performed based on the positional deviation amount D1 of the target T between the first and second postures and the positional deviation amount D2 of the target T between the third and fourth postures. Alternatively, the determination as to whether or not the target is a hand camera may be performed based on both the positional deviation amount D1 and the positional deviation amount D2.

[0039] For example, the determination unit 35 determines whether or not the camera 20 is a handheld camera using a parameter that is the sum of the absolute value of the positional deviation amount D1 and the absolute value of the positional deviation amount D2. In other words, even if the positional deviation amount D1 and the positional deviation amount D2 are relatively small, or even if the positional deviation amount D1 and the positional deviation amount D2 are in a directional relationship that cancels each other out, it is possible to ensure the necessary magnitude as a parameter to be used for determining whether or not it is a hand camera. This allows the range of motion of the robot 10 to be kept smaller when executing the diagnostic program, and also reduces the restrictions on the direction of motion of the robot 10, thereby reducing the space required to execute the diagnostic program.

[0040] In addition, in the present embodiment, the target T is a single circular mark, but instead of this, a plurality of circular marks may be adopted as the target T. Alternatively, a single mark having an irregular shape whose orientation can be recognized may be adopted. For example, when two circular marks are placed as targets T within the field of view of camera 20 in the first attitude, the center position of at least one of the marks can be made different from the position of sixth axis J6. Therefore, in the diagnostic program, the step of determining the positional deviation of the target T in the third and fourth postures of the robot 10 can be omitted, taking into consideration the case where the target T in the first posture coincides with the sixth axis J6 by chance. This makes it easier to determine whether the camera 20 is a hand camera.

[0041] Next, a robot system 1, a control device 30, a diagnostic method, and a diagnostic program according to a second embodiment of the present disclosure will be described below. In the robot system 1, the control device 30, the diagnostic method, and the diagnostic program according to this embodiment, parts common to the robot system 1, the control device 30, the diagnostic method, and the diagnostic program according to the first embodiment described above will be given the same symbols and will not be described.

[0042] In this embodiment, the target element for diagnosing whether or not the camera 20 is attached is changed in sequence from the third wrist element 18 toward the base end side, and the fixed position of the camera 20 is determined.

[0043] 8 and 9, the robot system 1 according to this embodiment sets the third wrist element 18 as a target element in step S101, and then executes the process from step S2. If the positional deviation amount D2 is equal to or smaller than the threshold in step S19, it is determined in step S102 that the camera 20 is not attached to the third wrist element 18, which is the target element.

[0044] If it is determined that the camera 20 is not attached to the target element, in step S103, it is determined whether or not the diagnosis of all the target elements has been completed. If not, the target element is changed to the second wrist element 17, which is the wrist element on the next base end side (step S104), and the process from step S2 is repeated again. Here, in step S2 after the target element is changed, the robot 10 is set to a fifth posture, which is the same as the first posture, or a posture different from the first posture in which the target T is placed within the field of view of the camera 20. In addition, in step S5, the robot 10 in the fifth posture is slightly rotated around the rotation axis of the changed target element, and set to a sixth posture. Similarly, in steps S12 and S15, the robot 10 is set to a seventh posture and an eighth posture, which are different from the third posture and the fourth posture, respectively, when the third wrist element 18 is the target element.

[0045] That is, when the target element is the second wrist element 17, the sixth posture is a posture in which the second wrist element 17 is slightly rotated about the fifth axis J5 with respect to the fifth posture. In addition, the seventh posture is a posture in which the second wrist element 17 of the robot 10 in the sixth posture is moved a small distance in a direction intersecting the fifth axis J5, and the eighth posture is a posture in which only the second wrist element 17 is rotated a small distance around the fifth axis J5 with respect to the seventh posture.

[0046] This makes it possible to diagnose whether or not the camera 20 is attached to the second wrist element 17. If it is determined that the camera 20 is not attached to the second wrist element 17, it is determined whether or not the camera 20 is fixed to the first wrist element 16, which is one base end side. In the same manner, it can be determined whether or not the camera 20 is fixed to the second arm 14, the first arm 13, and the rotating body 12.

[0047] For example, in the robot 10 shown in FIG. 1, if the camera 20 is fixed to the second wrist element 17, when the diagnostic program is executed, the target element is first set to the third wrist element 18, and the robot 10 is operated from the first posture to the fourth posture in the same manner as in the first embodiment, and in step S102, it is determined that the camera 20 is not attached to the third wrist element 18, which is the target element.

[0048] In this case, in step S103, it is determined that diagnosis for all target elements has not been completed, so in step S104, the target element is changed to the second wrist element 17 on the base end side, and the process from step S2 is repeated. That is, the robot 10 is operated to a fifth posture, which is the same posture as the first posture when the third wrist element 18 is the target element (step S2), and a fifth image P5 is acquired (step S3). Then, the coordinates C1 of the center position of the target T in the fifth image P5 are extracted and stored (step S4).

[0049] Furthermore, the robot 10 is operated to a sixth posture in which the second wrist element 17 is slightly rotated around the fifth axis J5 with respect to the fifth posture (step S5), and a sixth image P6 is acquired (step S6). Then, the coordinates C2 of the target T in the sixth image P6 are calculated and stored (step S7). Next, the positional deviation amount D1 is calculated (step S8), and the positional deviation amount D1 is compared with a threshold value (step S9). In this case, since the positional deviation amount D1 is greater than the threshold value, it is determined that the camera 20 is fixed to the second wrist element 17, which is the target element (step S10), and the result is notified (step S11).

[0050] On the other hand, if the diagnosis for all the target elements is completed in step S103, a message is displayed indicating that the camera 20 is not attached to any of the target elements (step S11).

[0051] In this way, the diagnostic program of this embodiment can identify which wrist element or which arm the camera 20 is fixed to. This makes it possible to apply this diagnostic program not only to operation programs that assume a hand camera, but also before the execution of operation programs that assume the camera 20 is fixed to another element, thereby improving the versatility of the robot system 1. [Explanation of symbols]

[0052] 1. Robot System 10. Robot 12 Rotating body (moving element) 13 First arm (movable element) 14 Second arm (movable element, robot arm) 15 Wrist Unit 16 First wrist element (movable element) 17 Second wrist element (movable element) 18 Third wrist element (movable element, wrist element) 20 Camera (visual sensor) 30 Control device 36 Notification Department D1 Position deviation (movement) D2 Position deviation (movement) J6 6th axis (rotation axis)

Claims

1. a robot comprising one or more movable elements each rotatable about one or more axes of rotation; A control device for controlling the robot; a visual sensor attached to any of the movable elements of the robot; The control device, Any of the movable elements of the robot is set as a target element, a first image acquired by the visual sensor in an arbitrary first posture of the robot in which a predetermined target fixed at a predetermined position is placed within the field of view of the visual sensor is compared with a position of the target in a second image acquired by the visual sensor in a second posture in which the target element is rotated about the rotation axis of the target element relative to the first posture; The robotic system determines that the visual sensor is attached to the target element when the positions of the target in the first image and the second image are different.

2. the robot comprises a robot arm and a wrist unit attached to a tip of the robot arm; The robot system according to claim 1 , wherein the movable element serving as the target element is a most distal wrist element of the wrist unit.

3. If a comparison of the position of the target in the first image and the second image shows that the position of the target has not changed, a third image acquired at a third orientation in which the target element is displaced relative to the first orientation in a direction intersecting the axis of rotation of the target element and the target is placed within the field of view of the visual sensor, and a position of the target in a fourth image acquired at a fourth orientation in which the target element is rotated about the axis of rotation of the target element relative to the third orientation is compared; The robot system of claim 1 or 2, wherein the visual sensor determines that the target is attached to the target element when the positions of the target in the third image and the fourth image are different.

4. The robot system of claim 3, wherein the control device determines whether the visual sensor is attached to the target element based on an amount of movement of the target between the first image and the second image and an amount of movement of the target between the third image and the fourth image.

5. The robot system according to claim 1 , wherein the control device stops an operation of the robot when it is determined that the visual sensor is not attached to the target element.

6. 5. The robot system according to claim 1, wherein the control device further comprises a notification unit that notifies the user when it is determined that the visual sensor is not attached to the target element.

7. A robot system as described in any one of claims 1 to 4, wherein the control device, when it is determined that the visual sensor is not attached to the movable element that is the target element, determines that the visual sensor is attached to the target element when the position of the target in a fifth image acquired by the visual sensor in any fifth posture of the robot differs from the position of the target in a sixth image acquired by the visual sensor in a sixth posture obtained by rotating the target element around the rotation axis of the target element relative to the fifth posture, with other movable elements that are base end side of the movable element in sequence from the tip side as the target elements.

8. A control device for a robot comprising one or more movable elements each rotatable about one or more rotation axes, and a visual sensor attached to any one of the movable elements, Any of the movable elements of the robot is set as a target element, a first image acquired by the visual sensor in an arbitrary first posture of the robot in which a predetermined target fixed at a predetermined position is placed within the field of view of the visual sensor is compared with a position of the target in a second image acquired by the visual sensor in a second posture in which the target element is rotated about the rotation axis of the target element relative to the first posture; A control device that determines that the visual sensor is attached to the target element when the positions of the target in the first image and the second image are different.

9. A diagnostic method for a robot having one or more movable elements each rotatable about one or more rotation axes, and a visual sensor attached to any one of the movable elements, comprising the steps of: Any of the movable elements of the robot is set as a target element, a first image acquired by the visual sensor in an arbitrary first posture of the robot in which a predetermined target fixed at a predetermined position is placed within the field of view of the visual sensor is compared with a position of the target in a second image acquired by the visual sensor in a second posture in which the target element is rotated about the rotation axis of the target element relative to the first posture; A diagnostic method for determining that the visual sensor is attached to the target element if the positions of the target in the first image and the second image differ.

10. A diagnostic program for diagnosing a robot having one or more movable elements rotatable about one or more rotation axes, and a visual sensor attached to any one of the movable elements, comprising: Any of the movable elements of the robot is set as a target element, a first image acquired by the visual sensor in an arbitrary first posture of the robot in which a predetermined target fixed at a predetermined position is placed within the field of view of the visual sensor is compared with a position of the target in a second image acquired by the visual sensor in a second posture in which the target element is rotated about the rotation axis of the target element relative to the first posture; A computer executable diagnostic program that determines that the visual sensor is attached to the target element if the positions of the target in the first image and the second image differ.

Citation Information

Patent Citations

  • · Robot with vision system

    JP1989002891A

  • Coordinate calibration method for robot with terminal visual sense

    JP1989193902A

  • Relative attitude correcting method for robot arm

    JP1992313106A

  • Industrial robot

    JP2005131761A

  • Positional data correcting device for robot

    JP2005138223A