Robot device

The robot device uses markers and a camera to detect rotational states at joint connections, addressing the issue of drive performance impact and configuration complexity in existing marker detection systems, ensuring efficient and uncomplicated operation.

JP2024129235AInactive Publication Date: 2024-09-27PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023038305
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-13
Publication Date
2024-09-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing robot devices face issues with marker detection systems affecting drive performance and complicating configurations, especially with multiple connections, as the load from these systems impacts the robot's operational efficiency.

Method used

A robot device design that uses markers on both members of a joint connection, with a camera capturing images to determine the rotational state based on the positional relationship between markers, allowing for easy and smooth detection without additional load on the robot's drive system.

Benefits of technology

Enables efficient detection of rotational states at joint connections without complicating the robot's configuration, maintaining drive performance by eliminating the need for marker detection structures on the robot members.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024129235000001
    Figure 2024129235000001
Patent Text Reader

Abstract

To provide a robot device that can easily and smoothly detect a turning state of a connection part, without influencing driving performance of the robot device.SOLUTION: A robot device 1 is provided with: a first member; a second member turnably connected to the first member; a motor that turns the first member or the second member; a first marker arranged in the first member, in the vicinity of a connection part between the first member and the second member; a second marker that is arranged in the second member in the vicinity of the connection part so that a position of the marker matches a position of the first marker when a turning angle of the second member with respect to the first member becomes equal to a predetermined angle; and a control part that obtains a photographed image from a camera 20 that overviews at least the vicinity of the connection part and determines whether the turning angle of the second member with respect to the first member is equal to the predetermined angle or not, on the basis of a positional relation between the first marker and the second marker on the photographed image.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a robot device in which two members rotate relatively at a connection portion between the members. [Background technology]

[0002] Conventionally, robots are used in fields such as factory automation. For example, a robot arm is installed near a belt conveyor. The robot arm, for example, transfers an object loaded in a predetermined position to a container on the belt conveyor in response to a preset control command.

[0003] The following Patent Document 1 describes a robot including a first member, a second member rotatably provided around a rotation axis relative to the first member, a plurality of marks arranged around the rotation axis on the surface of the second member facing the first member, and a mark detection unit arranged on the first member and detecting one of the plurality of marks. The plurality of marks are arranged at equal intervals in the rotation direction. The plurality of marks rotate uniformly with the rotation of the second member. The mark detection unit is composed of a light-emitting element that irradiates light to one point on the rotation path of the plurality of marks, and a light-receiving element that receives the reflected light of the light. Alternatively, the mark detection unit is composed of a lens and an imaging element for imaging one point on the rotation path of the plurality of marks. Based on the detection result of the mark detection unit, the relative rotation state of the first member and the second member is detected. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2017-177238 A Summary of the Invention [Problem to be solved by the invention]

[0005] In the robot of the above-mentioned Patent Document 1, since the mark detection unit is disposed on the first member, the load of the mark detection unit is applied to the robot, and the load affects the driving performance of the robot. In addition, since the mark detection unit is disposed on the first member, the configuration of the robot becomes complicated. This problem becomes more prominent when the robot has multiple connection parts.

[0006] In view of the above problem, an object of the present invention is to provide a robot device that can easily and smoothly detect the rotation state of a connection part without affecting the driving performance of the robot device. [Means for solving the problem]

[0007] A robot device according to a main aspect of the present invention includes a first member, a second member rotatably connected to the first member, a motor for rotating the first member or the second member, a first marker arranged on the first member near a connection portion between the first member and the second member, a second marker arranged on the second member near the connection portion so as to coincide with the position of the first marker when the rotation angle of the second member relative to the first member becomes a predetermined angle, and a control unit that acquires an image from a camera overlooking at least the vicinity of the connection portion and determines whether the rotation angle of the second member relative to the first member becomes the predetermined angle based on the positional relationship between the first marker and the second marker in the captured image.

[0008] According to the robot device of this aspect, the positional relationship between the first marker and the second marker can be detected based on a captured image obtained by capturing an image of the vicinity of the connection part between the first member and the second member. When the first marker and the second marker match on the captured image, the control unit determines that the rotation angle of the second member relative to the first member is a predetermined angle. Therefore, since it is not necessary to arrange a configuration for detecting the markers on the first member and the second member, the load of this configuration does not affect the driving performance of the robot. In addition, since it is only necessary to arrange the first marker and the second marker on the first member and the second member, respectively, the configuration of the robot does not become complicated. Therefore, the rotation state of the second member relative to the first member can be detected simply and smoothly. Effect of the Invention

[0009] As described above, according to the present invention, it is possible to provide a robot device that can easily and smoothly detect the rotation state of a connection part without affecting the driving performance of the robot device.

[0010] The effects and significance of the present invention will become clearer from the following description of the embodiment. However, the embodiment described below is merely an example of how the present invention can be put into practice, and the present invention is not limited to the embodiment described below. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a diagram illustrating a typical usage form of a robot device according to a first embodiment. [Diagram 2] FIG. 2 is a block diagram showing the configuration of the robot and the control device according to the first embodiment. [Diagram 3] 3(a) and 3(b) are schematic diagrams illustrating rotational states of the robot in the initial state and the gripping state, respectively, according to the first embodiment. [Figure 4] 4(a) and 4(b) are diagrams each showing a schematic diagram of a rotation state of the robot in a placed state and a standby state according to the first embodiment, respectively. [Diagram 5] 5(a) and 5(b) are side views each showing a schematic configuration of a robot according to a first modification of the first embodiment. [Figure 6] 6(a) and 6(b) are side views each showing a schematic configuration in the vicinity of a hand according to Modification 2 of Embodiment 1. FIG. [Figure 7] Fig. 7(a) is a side view showing a schematic configuration of a robot according to embodiment 2. Fig. 7(b) is a schematic view showing a state in which the positions of a pair of markers according to embodiment 2 are misaligned. [Figure 8] 8(a) to (c) are diagrams each showing a schematic diagram of information read from a barcode according to the second embodiment. [Figure 9] Fig. 9(a) is a side view showing a schematic configuration near the hand and a diagram showing information read from a barcode according to Modification 1 of Embodiment 2. Fig. 9(b) is a side view showing a schematic configuration near the hand and a diagram showing information read from a barcode according to Modification 1 of Embodiment 2. [Figure 10] Fig. 10(a) is a side view showing a schematic configuration of a robot according to Modification 2 of Embodiment 2. Fig. 10(b) is a schematic view showing a state in which the positions of a pair of markers are misaligned according to Modification 2 of Embodiment 2. [Figure 11] 11(a) to (c) are diagrams each showing a schematic diagram of information read from a barcode according to Modification 2 of Embodiment 2. FIG. [Figure 12] FIG. 12 is a block diagram showing a configuration of a robot according to the third embodiment. [Figure 13] 13(a) to (d) are diagrams each showing a schematic configuration of a marker near a connection part according to a modified example of the connection part of the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. For convenience, each drawing is labeled with mutually orthogonal X, Y, and Z axes. The positive direction of the Z axis is the vertical upward direction.

[0013] <Embodiment 1> FIG. 1 is a diagram showing a typical usage form of the robot device 1. As shown in FIG.

[0014] The robot device 1 includes a robot 10, a camera 20, and a control device 30.

[0015] The robot 10 is installed near the belt conveyor 4. The robot 10 transfers an article 3 loaded on a platform 2 near the belt conveyor 4 to a container 5 on the belt conveyor 4. The robot 10 includes a base 11, arms 12, 13, 14, and a hand 15.

[0016] The base 11 is installed on the side of the belt conveyor 4. The arm 12 is installed on the base 11 so as to be movable in the Z-axis direction. The arm 13 is connected to the arm 12 at a connection part J1 where the arm 12 and the arm 13 are connected so as to be rotatable about a rotation axis parallel to the Y-axis direction. The arm 14 is connected to the arm 13 at a connection part J2 where the arm 13 and the arm 14 are connected so as to be rotatable about a rotation axis parallel to the Y-axis direction. The hand 15 is connected to the arm 14 at a connection part J3 where the arm 14 and the hand 15 are connected so as to be rotatable about a rotation axis parallel to the Y-axis direction. The robot 10 moves the arm 12 in the Z-axis direction and rotates each arm at the connection parts J1 to J3 to move the hand 15.

[0017] The hand 15 has a plurality of claws 15a for gripping the article 3. The robot 10 grips and releases the grip of the article 3 by opening and closing the plurality of claws 15a.

[0018] Markers M11 and M12 are arranged on arms 12 and 13, respectively, near the connection J1. Markers M21 and M22 are arranged on arms 13 and 14, respectively, near the connection J2. Markers M31 and M32 are arranged on arm 14 and hand 15, respectively, near the connection J3. Markers M11, M12, M21, M22, M31, and M32 are triangular and have the same size. Markers M11 and M12 are the same color, markers M21 and M22 are the same color, and markers M31 and M32 are the same color. Markers M11 and M12, markers M21 and M22, and markers M31 and M32 are different colors from each other.

[0019] The markers M11, M12, M21, M22, M31, and M32 are arranged by attaching a label with a predetermined figure printed on it to the housing surface of each connection part. Note that these markers may also be arranged by directly printing or drawing the predetermined figure on the housing surface of each connection part. The arrangement and use of these markers will be described later with reference to FIG. 3(a).

[0020] The camera 20 is positioned so that it can overlook the vicinity of the connections J1 to J3, and captures the vicinity of the connections J1 to J3 to generate a captured image. Here, the camera 20 captures the image of the robot 10 from the positive side of the Y axis to the negative direction of the Y axis. The camera 20 is positioned so that all of the connections J1 to J3 fall within the imaging field of view in the range from the most contracted state to the most extended state of the robot 10. The camera 20 transmits the generated captured image to the control device 30.

[0021] The control device 30 is communicatively connected to the robot 10 and the camera 20 via a communication line. Instead of a communication line, communication between the control device 30, the robot 10, and the camera 20 may be performed via wireless communication. The control device 30 controls the robot 10 and determines whether the rotation angle of the connection parts J1 to J3 is a predetermined angle based on a captured image transmitted from the camera 20, thereby setting the rotation state of the robot 10 to an initial state (see FIG. 3(a)).

[0022] FIG. 2 is a block diagram showing the configuration of the robot 10 and the control device 30.

[0023] The robot 10 includes a control unit 101 , joint motors 111 , 112 , and 113 , a lift motor 102 , a hand motor 103 , and a communication unit 104 .

[0024] The control unit 101 includes a microcomputer and controls each unit according to a program stored in an internal memory. The above-mentioned control commands are stored in a memory in the control unit 101. The control unit 101 may be configured by an FPGA or the like.

[0025] The joint motor 111 is disposed near the connection J1 and rotates the arm 13 relative to the arm 12. The joint motor 112 is disposed near the connection J2 and rotates the arm 14 relative to the arm 13. The joint motor 113 is disposed near the connection J3 and rotates the hand 15 relative to the arm 14. The lifting motor 102 lifts and lowers the arm 12 relative to the base 11. The hand motor 103 opens and closes the multiple claws 15a of the hand 15.

[0026] The communication unit 104 is a communication interface for communicating with the control device 30. The communication unit 104 communicates with a communication unit 305 of the control device 30 under the control of the control unit 101.

[0027] The control device 30 includes a control unit 301, a storage unit 302, a display unit 303, an input unit 304, and a communication unit 305. The control device 30 is, for example, configured by a general-purpose personal computer. The control device 30 may also be a dedicated product.

[0028] The control unit 301 includes a processing circuit such as a CPU, and controls each unit according to a program stored in the storage unit 302. The storage unit 302 includes storage media such as a ROM, a RAM, a hard disk, and an SSD, and stores the programs executed by the control unit 301 and various data. The storage unit 302 is also used as a work area when the control unit 301 performs control. The control unit 301 also performs image analysis on the captured image received from the camera 20, and controls the rotation of the robot 10.

[0029] The display unit 303 includes a display such as a liquid crystal panel, and displays predetermined information under the control of the control unit 301. The input unit 304 includes input means such as a mouse and a keyboard. The communication unit 305 is a communication interface for communicating with the robot 10 and the camera 20. The communication unit 305 communicates with the robot 10 and the camera 20 under the control of the control unit 301.

[0030] Meanwhile, the robot 10 needs to move the hand 15 to an appropriate position to grip and release the article 3. In this case, it is necessary to appropriately rotate each part while grasping the rotation state, particularly at the connection part J1 where the arms 12 and 13 rotate, the connection part J2 where the arms 13 and 14 rotate, and the connection part J3 where the arm 14 and the hand 15 rotate.

[0031] As a method for detecting the rotational state of the connection parts J1 to J3, for example, a method (comparative example) in which sensors and mechanisms for detecting the rotational state of the connection parts are arranged at the connection parts can be used. However, in this method, the load of the detection sensors and mechanisms is applied to the robot, and this load affects the driving performance of the robot. In addition, the arrangement of these sensors and mechanisms causes a problem that the configuration of the robot becomes complicated, and this problem becomes more pronounced when the robot has multiple connection parts as shown in FIG. 1.

[0032] In contrast, in this embodiment, markers are placed on two members connected at each of the connection parts J1 to J3, and the camera 20 is placed in a position overlooking the robot 10. This allows the rotational state of the connection parts J1 to J3 to be detected simply and smoothly without affecting the driving performance of the robot 10. The rotation control of the robot 10 in this embodiment will be described below.

[0033] 3(a), (b) and 4(a), (b) are diagrams that diagrammatically show rotation states of the robot 10 in the initial state, the gripping state, the placed state and the standby state, respectively.

[0034] When the rotation state of the robot 10 is the initial state shown in Fig. 3(a), the positions of the markers M11 and M12 are aligned, the positions of the markers M21 and M22 are aligned, and the positions of the markers M31 and M32 are aligned, so that the positions of the markers are adjusted in advance. In the first embodiment, "the positions of the two markers are aligned" means that the position of the apex of the triangular shape of one marker in the rotation direction is aligned with the position of the apex of the triangular shape of the other marker in the rotation direction. In the initial state, the rotation angle of the arm 13 relative to the arm 12, the rotation angle of the arm 14 relative to the arm 13, and the rotation angle of the hand 15 relative to the arm 14 are all initial angles (0°).

[0035] When the operation of the robot device 1 is started, the control unit 301 of the control device 30 first controls the joint motors 111-113 so that the state of the robot 10 becomes the initial state. The control unit 301 controls the camera 20 to continuously generate captured images, and at the same time controls the joint motors 111-113 based on the captured images so that the connection parts J1-J3 rotate toward the initial state. The control unit 301 determines that markers of the same color on the captured images acquired from the camera 20 are a pair of markers on one connection part. When the positions of the pair of markers on the connection part on the captured images match, the control unit 301 controls the corresponding joint motors so that the rotation of the connection part stops.

[0036] That is, when the control unit 301 determines that the positions of the markers M11 and M12 match based on the captured image, it stops the joint motor 111, when it determines that the positions of the markers M21 and M22 match based on the captured image, it stops the joint motor 112, and when it determines that the positions of the markers M31 and M32 match based on the captured image, it stops the joint motor 113. In this way, the positions of the paired markers are matched, and the rotation state of the robot 10 becomes the initial state shown in FIG.

[0037] The memory unit 302 pre-stores the driving amounts of the joint motors 111 to 113 for rotating the robot 10 from the initial state of FIG. 3(a) to the grasping state of FIG. 3(b), the placed state of FIG. 4(a), and the standby state of FIG. 4(b).

[0038] The control unit 301 controls the rotation state of the robot 10 to the initial state as shown in Fig. 3(a), and then controls the joint motors 111-113 based on the driving amount for changing the rotation state of the robot 10 from the initial state to the grasping state. As a result, the rotation state of the robot 10 becomes the grasping state shown in Fig. 3(b).

[0039] The control unit 301 controls the lift motor 102 so that the arm 12 moves downward a predetermined amount in the gripping state of Fig. 3(b), and controls the hand motor 103 so that the hand 15 grips the article 3 on the platform 2. As a result, the article 3 is gripped by the hand 15. Thereafter, the control unit 301 controls the lift motor 102 so that the arm 12 moves upward a predetermined amount. As a result, the rotation state of the robot 10 again becomes the gripping state shown in Fig. 3(b).

[0040] The control unit 301 grips the article 3 and controls the rotation state of the robot 10 to the gripping state as shown in Fig. 3(b), and then controls the joint motors 111-113 based on the drive amount for changing the rotation state of the robot 10 from the gripping state to the placed state. As a result, the rotation state of the robot 10 becomes the placed state shown in Fig. 4(a).

[0041] The control unit 301 controls the lift motor 102 to lower the arm 12 a predetermined amount in the placement state of Fig. 4(a), and controls the hand motor 103 to cause the hand 15 to release the article 3. As a result, the article 3 is placed in the container 5. Thereafter, the control unit 301 controls the lift motor 102 to raise the arm 12 a predetermined amount. As a result, the rotation state of the robot 10 again becomes the placement state shown in Fig. 4(a).

[0042] The control unit 301 places the article 3 in the container 5 and controls the rotation state of the robot 10 to the loaded state as shown in Fig. 4(a), and then controls the joint motors 111-113 based on the drive amount for changing the rotation state of the robot 10 from the loaded state to the standby state. As a result, the rotation state of the robot 10 becomes the standby state shown in Fig. 4(b).

[0043] 4(b), when the control unit 301 transfers the article 3 again, it controls the joint motors 111-113 based on the drive amount for changing the rotation state of the robot 10 from the standby state to the gripping state. In this way, the gripping state, the placing state, and the standby state are repeated, and the article 3 is repeatedly transferred.

[0044] As described above, after the operation of the robot device 1 is started, the control unit 301 sets the rotation state of the robot 10 to an initial state in which the positions of the paired markers are aligned, and rotates the robot 10 based on this state and on the drive amount stored in the storage unit 302. This allows the rotation state of the robot 10 to be properly set not only to the initial position, but also to the gripping state, the placed state, and the standby state.

[0045] In the above control, the rotation state of the robot 10 is set to the initial state only immediately after the operation of the robot device 1 is started, but the rotation state of the robot 10 may be set to the initial state every time after a standby state.

[0046] <Effects of the First Embodiment> According to the first embodiment, the following effects are achieved.

[0047] The control unit 301 determines whether or not the rotation angle of the arm 13 (second member) relative to the arm 12 (first member) is 0° (predetermined angle) based on the positional relationship between the marker M11 (first marker) and the marker M12 (second marker) on the captured image. Similarly, the control unit 301 determines whether or not the rotation angle of the arm 14 (second member) relative to the arm 13 (first member) is 0° (predetermined angle) based on the positional relationship between the marker M21 (first marker) and the marker M22 (second marker) on the captured image. The control unit 301 determines whether or not the rotation angle of the hand 15 (second member) relative to the arm 14 (first member) is 0° (predetermined angle) based on the positional relationship between the marker M31 (first marker) and the marker M32 (second marker) on the captured image.

[0048] According to this configuration, the positional relationship between the first marker and the second marker can be detected based on a captured image obtained by capturing an image of the vicinity of the connection between the first member and the second member. When the first marker and the second marker match on the captured image, the control unit 301 determines that the rotation angle of the second member relative to the first member is a predetermined angle. Therefore, since it is not necessary to arrange a configuration for detecting the markers on the first member and the second member, the load of this configuration does not affect the driving performance of the robot 10. In addition, since it is only necessary to arrange the first marker and the second marker on the first member and the second member, respectively, the configuration of the robot 10 does not become complicated. Therefore, the rotation state of the second member relative to the first member can be detected simply and smoothly.

[0049] As shown in FIG. 3(a), the markers M11 (first marker) and M12 (second marker) that are aligned with each other as a whole form a predetermined pattern (a butterfly-like pattern in the example of FIG. 3(a)). Similarly, the markers M21 (first marker) and M22 (second marker) that are aligned with each other as a whole form a predetermined pattern (a butterfly-like pattern in the example of FIG. 3(a)), and the markers M31 (first marker) and M32 (second marker) that are aligned with each other as a whole form a predetermined pattern (a butterfly-like pattern in the example of FIG. 3(a)). When the control unit 301 determines that the entire image of the markers M11 and M12 in the captured image forms an image of a predetermined pattern, the control unit 301 determines that the rotation angle of the arm 13 (second member) relative to the arm 12 (first member) is 0° (predetermined angle). Similarly, when the control unit 301 determines that the entire images of the markers M21 and M22 in the captured image form an image of a predetermined pattern, it determines that the rotation angle of the arm 14 (second member) relative to the arm 13 (first member) is 0° (predetermined angle). When the control unit 301 determines that the entire images of the markers M31 and M32 in the captured image form an image of a predetermined pattern, it determines that the rotation angle of the hand 15 (second member) relative to the arm 14 (first member) is 0° (predetermined angle).

[0050] According to this configuration, it is possible to reliably determine a state in which the position of the first marker and the position of the second marker coincide with each other.

[0051] A marker M11 (first marker) and a marker M12 (second marker) are arranged at the connection J1, a marker M21 (first marker) and a marker M22 (second marker) are arranged at the connection J2, and a marker M31 (first marker) and a marker M32 (second marker) are arranged at the connection J3. The camera 20 simultaneously captures images of the multiple connections J1 to J3. The control unit 301 determines whether or not the rotation angle of the arm 13 (second member) relative to the arm 12 (first member) at the connection J1 is 0° (predetermined angle) based on the positional relationship between the markers M11 and M12 of the connection J1 in the captured image. Similarly, the control unit 301 determines whether or not the rotation angle of the arm 14 (second member) relative to the arm 13 (first member) at the connection J2 is 0° (predetermined angle) based on the positional relationship between the markers M21 and M22 of the connection J2 in the captured image. The control unit 301 determines whether the rotation angle of the hand 15 (second member) relative to the arm 14 (first member) at the connection J3 is 0° (predetermined angle) or not, based on the positional relationship of the markers M31, M32 of the connection J3 in the captured image.

[0052] According to this configuration, in the multiple connections J1 to J3, it is possible to determine whether or not the rotation angle of the second member relative to the first member is a predetermined angle based on the positional relationship between the first marker and the second marker. Also, since the state of the markers of the multiple connections J1 to J3 can be detected from an image captured by one camera 20, the configuration and processing can be simplified.

[0053] The colors (shapes) of the markers M11 (first marker) and M12 (second marker), the colors (shapes) of the markers M21 (first marker) and M22 (second marker), and the colors (shapes) of the markers M31 (first marker) and M32 (second marker) are different from one another for each of the multiple connections J1 to J3.

[0054] According to this configuration, in a captured image of the multiple connections J1 to J3, the first marker and the second marker for each connection can be distinguished.

[0055] <Modification 1 of Embodiment 1> In the first embodiment, the colors of the markers M11 and M12, the colors of the markers M21 and M22, and the colors of the markers M31 and M32 are different from each other, but the form for distinguishing these three pairs is not limited to the colors of the markers. For example, the markers may be configured as shown in Figures 5(a) and 5(b).

[0056] 5(a), the markers are distinguished by their size. The markers M11 and M12 at the connection J1 are the largest, the markers M21 and M22 at the connection J2 are the second largest, and the markers M31 and M32 at the connection J3 are the third largest. The control unit 301 can distinguish the pairs of markers at the three connections J1 to J3 from one another by determining the sizes of the markers on the captured image.

[0057] 5(b), the form for distinguishing the markers is the shape of the markers. The markers M11 and M12 of the connection part J1 have a shape combining an ellipse and a triangle, the markers M21 and M22 of the connection part J2 have a shape combining a rectangle and a triangle, and the markers M31 and M32 of the connection part J3 have a triangular shape as in embodiment 1. The control unit 301 can distinguish the pairs of markers of the three connections J1 to J3 from one another by determining the shapes of the markers on the captured image.

[0058] <Modification 2 of Embodiment 1> In the first embodiment, one marker is arranged on each of the two members connected to one connection part, but the number of markers arranged on each of the two members is not limited to one and may be multiple. For example, the markers corresponding to one connection part may be arranged as shown in Figures 6(a) and 6(b).

[0059] In the example shown in Fig. 6(a), a marker M33 is arranged on the hand 15 at the connection part J3, as compared with the first embodiment shown in Fig. 1. The color of the marker M33 is different from the colors of the markers M31 and M32.

[0060] As shown in the upper part of Fig. 6(a), when the rotation angle of the hand 15 with respect to the arm 14 becomes 0°, the positions of the markers M31 and M32 match, as in embodiment 1. From this state, when the rotation angle of the hand 15 with respect to the arm 14 becomes, for example, 45°, as shown in the lower part of Fig. 6(a), the positions of the markers M31 and M33 match.

[0061] Although multiple markers are arranged on the hand 15 side in FIG. 6(a), one marker may be arranged on the hand 15 side and multiple markers may be arranged on the arm 14 side.

[0062] In the example shown in Fig. 6(b), compared to the first embodiment shown in Fig. 1, markers M34 and M35 are arranged on the arm 14 and the hand 15, respectively, at the connection part J3. The colors of the markers M34 and M35 are different from the colors of the markers M31 and M32.

[0063] As shown in the upper part of Fig. 6(b), when the rotation angle of the hand 15 with respect to the arm 14 becomes 0°, the positions of the markers M31 and M32 match, as in embodiment 1. From this state, when the rotation angle of the hand 15 with respect to the arm 14 becomes, for example, 15°, as shown in the lower part of Fig. 6(b), the positions of the markers M34 and M35 match.

[0064] In FIG. 6(b), the number of markers on the arm 14 side and the number of markers on the hand 15 side are the same, but they may be different.

[0065] In Figures 6(a) and (b), the number of markers has been changed for connection part J3, but the number of markers for connection parts J1 and J2 other than connection part J3 may also be changed in a similar manner, and multiple rotation angles may be set based on the positional relationship of the markers on the captured image.

[0066] <Effects of Modification 2 of First Embodiment> In the example shown in FIG. 6(a), one marker M31 (first marker) is arranged on the arm 14 side, and multiple markers M32, M33 (second markers) are arranged on the hand 15 side. An angle (0°) is provided when the positions of the markers M31 and M32 match, and an angle (45°) is provided when the positions of the markers M31 and M33 match. On the other hand, in the example shown in FIG. 6(b), multiple markers M31 and M34 are arranged on the arm 14 side, and multiple markers M32 and M35 are arranged on the hand 15 side. An angle (0°) is provided when the positions of the markers M31 and M32 match, and an angle (15°) is provided when the positions of the markers M34 and M35 match.

[0067] This configuration makes it possible to determine the state when the rotation angle of the hand 15 with respect to the arm 14 is a plurality of predetermined angles. Specifically, in the example of Fig. 6(a), it is possible to determine 0° and 45°, and in the example of Fig. 6(b), it is possible to determine 0° and 15°.

[0068] The shapes of the multiple markers are different from each other. Specifically, in the example of Fig. 6(a), the color of marker M32 is different from the color of marker M33. In the example of Fig. 6(b), the color of marker M32 is different from the color of marker M35, and the color of marker M31 is different from the color of marker M34.

[0069] According to this configuration, a plurality of predetermined angles can be distinguished in the captured image based on the shape of the marker.

[0070] The multiple markers may differ from each other in features other than color (for example, size or shape).

[0071] <Embodiment 2> In the first embodiment, each of the markers arranged at the connections J1 to J3 is a figure having a predetermined shape. In contrast, in the second embodiment, when the positions of two markers arranged at one connection coincide with each other, these two markers form a one-dimensional barcode from which predetermined information can be read from a captured image.

[0072] FIG. 7(a) is a side view that illustrates a schematic configuration of a robot 10 according to the second embodiment.

[0073] In the second embodiment, compared to the first embodiment shown in FIG. 1, the markers M11, M12, M21, M22, M31, and M32 form a part of a one-dimensional barcode. As shown in FIG. 7(a), when the positions of the markers M11 and M12 match, the markers M11 and M12 form a barcode B1. When the positions of the markers M21 and M22 match, the markers M21 and M22 form a barcode B2. When the positions of the markers M31 and M32 match, the markers M31 and M32 form a barcode B3. The barcodes B1, B2, and B3 are one-dimensional barcodes and are storage media capable of reading predetermined information from a captured image. The type of the barcodes B1, B2, and B3 is, for example, JAN, but is not limited thereto and may be other types such as EAN, UPC, ITF, Code39, NW-7, and Code128.

[0074] The markers M11, M12, M21, M22, M31, and M32 are arranged by attaching a label on which a part of the one-dimensional barcode is printed to the housing surface of each connection part. Note that these markers (part of the one-dimensional barcode) may be arranged by directly printing them on the housing surface of each connection part. In addition, in these markers, the barcode part is black, and the background part of the barcode is white.

[0075] Fig. 7(b) is a diagram showing a state where the positions of the markers M31 and M32 are misaligned. From this state, the hand 15 rotates with respect to the arm 14, and when the control unit 301 determines based on the captured image that the positions of the markers M31 and M32 match as shown in Fig. 7(a), the control unit 301 reads information stored in the barcode B3 from the barcode B3 on the captured image. Similarly, for the other connecting parts J1 and J2, when the control unit 301 determines that the positions of the markers M11 and M12 match, the control unit 301 reads information stored in the barcode B1, and when the control unit 301 determines that the positions of the markers M21 and M22 match, the control unit 301 reads information stored in the barcode B2.

[0076] In the second embodiment, "the positions of two markers match" means that the position of one marker (part of the one-dimensional barcode) in the rotation direction matches the position of the other marker (part of the one-dimensional barcode) in the rotation direction. When the positions of the two markers match, a one-dimensional barcode (pattern) with a rectangular outline is formed.

[0077] 8(a) to (c) are diagrams each showing a schematic diagram of information read from barcodes B1 to B3, respectively.

[0078] As shown in FIG. 8(a), when the control unit 301 determines that a barcode B1 is formed by the matching of the positions of the markers M11 and M12 based on the captured image, it reads from the barcode B1 on the captured image a "0" indicating the rotation angle (0°) of the arm 13 relative to the arm 12 when the markers M11 and M12 match, and a "1" indicating that the markers M11 and M12 correspond to the connection part J1.

[0079] As shown in FIG. 8(b), when the control unit 301 determines based on the captured image that the positions of markers M21 and M22 match to form barcode B2, it reads from the barcode B2 on the captured image a "0" indicating the rotation angle (0°) of arm 14 relative to arm 13 when markers M21 and M22 match, and a "2" indicating that markers M21 and M22 correspond to connection part J2.

[0080] As shown in FIG. 8(c), when the control unit 301 determines that the barcode B3 is formed by the matching of the positions of the markers M31 and M32 based on the captured image, it reads from the barcode B3 on the captured image a "0" indicating the rotation angle (0°) of the hand 15 relative to the arm 14 when the markers M31 and M32 match, and a "3" indicating that the markers M31 and M32 correspond to the connection part J3.

[0081] If the barcodes B1 to B3 are of a type capable of expressing not only numbers but also letters and symbols, they may include the name and identification number of the connection part including letters and symbols, and information on the rotation angle including letters and symbols. Also, the barcodes B1 to B3 may include information other than the name and identification number of the connection part and information on the rotation angle (for example, the name and identification number of the robot 10).

[0082] <Effects of the second embodiment> According to the second embodiment, the following effects are achieved.

[0083] When the control unit 301 determines that the marker M11 (first marker) and the marker M12 (second marker) match, it reads the information stored in the barcode B1 (storage medium). Similarly, when the control unit 301 determines that the marker M21 (first marker) and the marker M22 (second marker) match, it reads the information stored in the barcode B2 (storage medium). When the control unit 301 determines that the marker M31 (first marker) and the marker M32 (second marker) match, it reads the information stored in the barcode B3 (storage medium).

[0084] According to this configuration, information such as the identification numbers (1, 2, 3) of the connecting parts J1 to J3, the rotation angle of the arm 13 relative to the arm 12, the rotation angle of the arm 14 relative to the arm 13, and the rotation angle of the hand 15 relative to the arm 14 can be stored in the barcodes B1 to B3. This eliminates the need to previously store this information in the storage unit 302 or the like. Furthermore, since the information of each barcode can be read as a whole when the positions of the two corresponding markers match, it is also possible to further determine whether the positions of the two corresponding markers match depending on whether the information of each barcode can be read.

[0085] The barcodes B1 to B3 (storage media) are one-dimensional barcodes.

[0086] This configuration allows the barcodes B1 to B3 to be arranged smoothly. Even if the positions of the two corresponding markers are slightly misaligned, the barcode information can be read as a whole.

[0087] Information obtained from a barcode B1 (storage medium) composed of marker M11 (first marker) and marker M12 (second marker) includes a predetermined angle (e.g., 0°) of arm 13 (second member) relative to arm 12 (first member). Similarly, information obtained from a barcode B2 (storage medium) composed of marker M21 (first marker) and marker M22 (second marker) includes a predetermined angle (e.g., 0°) of arm 14 (second member) relative to arm 13 (first member). Information obtained from a barcode B3 (storage medium) composed of marker M31 (first marker) and marker M32 (second marker) includes a predetermined angle (e.g., 0°) of hand 15 (second member) relative to arm 14 (first member).

[0088] According to this configuration, the control unit 301 can obtain the rotation angle of the first member with respect to the second member when the position of the first marker and the position of the second marker coincide with each other.

[0089] As shown in FIG. 8(a) to (c), the markers M11 (first marker) and M12 (second marker) that are aligned with each other as a whole form a predetermined pattern (a pattern having a rectangular outer shape). Similarly, the markers M21 (first marker) and M22 (second marker) that are aligned with each other as a whole form a predetermined pattern (a pattern having a rectangular outer shape). The markers M31 (first marker) and M32 (second marker) that are aligned with each other as a whole form a predetermined pattern (a pattern having a rectangular outer shape). When the control unit 301 determines that the entire image of the markers M11 and M12 in the captured image forms an image of a predetermined pattern, it determines that the rotation angle of the arm 13 (second member) relative to the arm 12 (first member) is 0° (predetermined angle). Similarly, when the control unit 301 determines that the entire images of the markers M21 and M22 in the captured image form an image of a predetermined pattern, it determines that the rotation angle of the arm 14 (second member) relative to the arm 13 (first member) is 0° (predetermined angle). When the control unit 301 determines that the entire images of the markers M31 and M32 in the captured image form an image of a predetermined pattern, it determines that the rotation angle of the hand 15 (second member) relative to the arm 14 (first member) is 0° (predetermined angle).

[0090] According to this configuration, it is possible to reliably determine a state in which the position of the first marker and the position of the second marker coincide with each other.

[0091] <Modification 1 of Embodiment 2> In the second embodiment, one marker (part of the barcode) is placed on each of the two members connected to one connection, but the number of markers (part of the barcode) placed on each of the two members is not limited to one, and may be multiple. For example, the markers (part of the barcode) placed on one connection may be placed as shown in Figures 9(a) and (b).

[0092] 9(a) and (b), in comparison with the second embodiment shown in FIG. 7(a), a marker M33 is disposed on the hand 15 at the connection part J3. The marker M33 constitutes a part of the barcode.

[0093] 9(a), when the rotation angle of the hand 15 with respect to the arm 14 becomes 0°, the positions of the markers M31 and M32 coincide with each other, as in the second embodiment. At this time, the markers M31 and M32 form a barcode B31. The barcode B31 is a one-dimensional barcode from which "0" indicating a rotation angle of 0° and "3" indicating the connection part J3 can be read as predetermined information from the captured image.

[0094] 9(b), when the rotation angle of the hand 15 relative to the arm 14 becomes 45°, the positions of the markers M31 and M33 match. At this time, the markers M31 and M33 form a barcode B32. The barcode B32 is a one-dimensional barcode from which "45" indicating a rotation angle of 45° and "3" indicating the connection part J3 can be read as predetermined information from the captured image.

[0095] 9(a) and (b), multiple markers (parts of the barcode) are arranged on the hand 15 side, but one marker (part of the barcode) may be arranged on the hand 15 side and multiple markers (parts of the barcode) may be arranged on the arm 14 side. Also, multiple markers (parts of the barcode) may be arranged on both the arm 14 side and the hand 15 side.

[0096] In Figures 9(a) and (b), the number of markers (part of the barcode) has been changed for connection J3, but the number of markers (part of the barcode) for connection J1, J2 other than connection J3 may also be changed in a similar manner, and multiple rotation angles may be set based on the positional relationship on the captured image.

[0097] <Effects of Modification 1 of Embodiment 2> 9(a) and (b), one marker M31 (first marker) is arranged on the arm 14 side, and multiple markers M32, M33 (second markers) are arranged on the hand 15 side. An angle (0°) is provided when the positions of the markers M31 and M32 match, and an angle (45°) is provided when the positions of the markers M31 and M33 match.

[0098] This configuration makes it possible to determine the state when the rotation angle of the hand 15 with respect to the arm 14 is a plurality of predetermined angles. Specifically, in the example of Figures 9(a) and (b), it is possible to determine 0° and 45°.

[0099] <Modification 2 of Embodiment 2> In the second embodiment, two markers (parts of a barcode) arranged on one connection portion constitute one one-dimensional barcode, but the storage medium constituted by two markers is not limited to a one-dimensional barcode. For example, as shown in FIG. 10(a), two barcodes may constitute one two-dimensional barcode.

[0100] FIG. 10(a) is a side view that diagrammatically illustrates the configuration of a robot 10 according to this modified example.

[0101] In this modification, compared to the second embodiment shown in FIG. 7(a), markers M11, M12, M21, M22, M31, and M32 form a part of a two-dimensional barcode. As shown in FIG. 10(a), when the positions of markers M11 and M12 match, markers M11 and M12 form a barcode C1. When the positions of markers M21 and M22 match, markers M21 and M22 form a barcode C2. When the positions of markers M31 and M32 match, markers M31 and M32 form a barcode C3. Barcodes C1, C2, and C3 are two-dimensional barcodes and are storage media capable of reading predetermined information from a captured image. The type of barcodes C1, C2, and C3 is, for example, QR Code (registered trademark), but is not limited thereto, and may be other types such as PDF417, Data Matrix, Maxi Code, Aztec Code, and EAN / UCC composite.

[0102] The markers M11, M12, M21, M22, M31, and M32 are arranged by attaching a label on which a part of the two-dimensional barcode is printed to the housing surface of each connection part. Note that these markers (part of the two-dimensional barcode) may be arranged by directly printing them on the housing surface of each connection part. In addition, in these markers, the barcode part is black, and the background part of the barcode is white.

[0103] Fig. 10(b) is a diagram showing a state where the positions of the markers M31 and M32 are misaligned. From this state, the hand 15 rotates with respect to the arm 14, and when the control unit 301 determines based on the captured image that the positions of the markers M31 and M32 match as shown in Fig. 10(a), the control unit 301 reads information stored in the barcode C3 from the barcode C3 on the captured image. Similarly, for the other connecting parts J1 and J2, when the control unit 301 determines that the positions of the markers M11 and M12 match, the control unit 301 reads information stored in the barcode C1, and when the control unit 301 determines that the positions of the markers M21 and M22 match, the control unit 301 reads information stored in the barcode C2.

[0104] In the second modification of the second embodiment, "the positions of the two markers match" means that the position of one marker (part of the two-dimensional barcode) in the rotation direction matches the position of the other marker (part of the two-dimensional barcode) in the rotation direction. When the positions of the two markers match, a two-dimensional barcode (pattern) with a rectangular outline is formed.

[0105] 11(a) to (c) are diagrams each showing a schematic diagram of information read from barcodes C1 to C3, respectively.

[0106] As shown in FIG. 11(a), when the control unit 301 determines that a barcode C1 has been constructed by the matching of the positions of markers M11 and M12 based on the captured image, it reads from the barcode C1 on the captured image an “angle 0°” indicating the rotation angle (0°) of arm 13 relative to arm 12 when markers M11 and M12 match, an “initial state” indicating that the rotation state is in the initial state, and a “connection part J1” indicating that markers M11 and M12 correspond to connection part J1.

[0107] As shown in FIG. 11(b), when the control unit 301 determines that a barcode C2 has been constructed by the matching of the positions of markers M21 and M22 based on the captured image, it reads from the barcode C2 on the captured image an “angle 0°” indicating the rotation angle (0°) of arm 14 relative to arm 13 when markers M21 and M22 match, an “initial state” indicating that the rotation state is in the initial state, and a “connection part J2” indicating that markers M21 and M22 correspond to connection part J2.

[0108] As shown in FIG. 11(c), when the control unit 301 determines that the barcode C3 is constructed by the matching of the positions of the markers M31 and M32 based on the captured image, it reads from the barcode C3 on the captured image “angle 0°” indicating the rotation angle (0°) of the hand 15 relative to the arm 14 when the markers M31 and M32 match, “initial state” indicating that the rotation state is in the initial state, and “connection J3” indicating that the markers M31 and M32 correspond to the connection J3.

[0109] The barcodes C1 to C3 may include information other than the name and identification number of the connection part and the information on the rotation angle (for example, the name and identification number of the robot 10).

[0110] <Effects of Modification 2 of Embodiment 2> When the control unit 301 determines that the marker M11 (first marker) and the marker M12 (second marker) match, it reads the information stored in the barcode C1 (storage medium). Similarly, when the control unit 301 determines that the marker M21 (first marker) and the marker M22 (second marker) match, it reads the information stored in the barcode C2 (storage medium). When the control unit 301 determines that the marker M31 (first marker) and the marker M32 (second marker) match, it reads the information stored in the barcode C3 (storage medium).

[0111] According to this configuration, information such as the names and identification numbers (J1, J2, J3) of the connecting parts J1 to J3, the rotation angle of the arm 13 relative to the arm 12, the rotation angle of the arm 14 relative to the arm 13, and the rotation angle of the hand 15 relative to the arm 14 can be stored in the barcodes C1 to C3. This eliminates the need to previously store this information in the storage unit 302 or the like. Furthermore, since the information of each barcode can be read as a whole when the positions of the two corresponding markers match, it is also possible to further determine whether the positions of the two corresponding markers match depending on whether the information of each barcode can be read.

[0112] The barcodes C1 to C3 (storage media) are two-dimensional barcodes.

[0113] This configuration allows the barcodes C1 to C3 to be arranged smoothly, and also allows the barcodes C1 to C3 to hold more information than one-dimensional barcodes.

[0114] Information obtained from a barcode C1 (storage medium) composed of marker M11 (first marker) and marker M12 (second marker) includes a predetermined angle (e.g., 0°) of arm 13 (second member) relative to arm 12 (first member) and information that can identify the rotation state of arms 12, 13 corresponding to the predetermined angle (e.g., initial state). Similarly, information obtained from a barcode C2 (storage medium) composed of marker M21 (first marker) and marker M22 (second marker) includes a predetermined angle (e.g., 0°) of arm 14 (second member) relative to arm 13 (first member) and information that can identify the rotation state of arms 13, 14 corresponding to the predetermined angle (e.g., initial state). Information obtained from barcode C3 (storage medium) composed of marker M31 (first marker) and marker M32 (second marker) includes a predetermined angle (e.g., 0°) of hand 15 (second member) relative to arm 14 (first member) and information that can identify the rotational state of arm 14 and hand 15 corresponding to the predetermined angle (e.g., initial state).

[0115] According to this configuration, the control unit 301 can obtain the rotation angle of the first member relative to the second member when the position of the first marker and the position of the second marker match. Also, the control unit 301 can grasp the rotation state of the first member and the second member when the position of the first marker and the position of the second marker match.

[0116] In addition, when the predetermined angle indicates the gripping state, the placing state, and the waiting state shown in Fig. 3(b) to Fig. 4(b), the information that can identify the rotation state is "Gripping state", "Placing state", and "Waiting state". In addition, the information that can identify the rotation state is not limited to the name of the rotation state, but may be an ID attached to the four rotation states in Fig. 3(a) to Fig. 4(b).

[0117] 11(a) to (c), a predetermined pattern (a pattern having a rectangular outer shape) is formed as a whole of the first marker and the second marker that are aligned with each other, as in embodiment 2. Furthermore, when control unit 301 determines that the whole image of the first marker and the second marker in the captured image forms an image of the predetermined pattern, it determines that the rotation angle of the second member with respect to the first member is 0° (predetermined angle).

[0118] According to this configuration, it is possible to reliably determine a state in which the position of the first marker and the position of the second marker coincide with each other.

[0119] <Embodiment 3> In the first and second embodiments, when the positions of two markers match at one connection, the control unit 301 determines this rotation state to be a predetermined rotation state (for example, an initial state). In contrast, in the third embodiment, when the positions of two markers match, the control unit 301 corrects the output value of the encoder connected to the joint motor.

[0120] FIG. 12 is a block diagram showing a configuration of a robot 10 according to the third embodiment.

[0121] 2, encoders 121, 122, and 123 are connected to the joint motors 111, 112, and 113, respectively. The encoders 121 to 123 detect the drive amounts of the joint motors 111 to 113, and output the detected drive amounts to the control unit 101.

[0122] The control unit 301 of the control device 30 corrects the output value of the corresponding encoder based on the captured image that the positions of the paired markers match and that the rotation angle of the two corresponding members is a predetermined angle (for example, 0°). This makes the output value of the encoder appropriate, and the control unit 301 can use the output value of the encoder to control the robot 10 appropriately.

[0123] <Effects of the Third Embodiment> According to the third embodiment, the following effects are achieved.

[0124] The control unit 301 corrects the output value of the encoder 121 based on the determination that the positions of the markers M11 and M12 match and that the rotation angle of the arm 13 (second member) relative to the arm 12 (first member) is a predetermined angle (for example, 0°). Similarly, the control unit 301 corrects the output value of the encoder 122 based on the determination that the positions of the markers M21 and M22 match and that the rotation angle of the arm 14 (second member) relative to the arm 13 (first member) is a predetermined angle (for example, 0°). The control unit 301 corrects the output value of the encoder 123 based on the determination that the positions of the markers M31 and M32 match and that the rotation angle of the hand 15 (second member) relative to the arm 14 (first member) is a predetermined angle (for example, 0°).

[0125] According to this configuration, when the output value of the encoder differs from the actual rotation angle of the second member relative to the first member, the output value of the encoder can be corrected to drive the first member or the second member with high precision.

[0126] <Example of changing the connection part> In the first and second embodiments, the first and second members connected to one connection part rotate around a rotation axis perpendicular to the rotation plane (XY plane). However, as shown in Figures 13(a) to (d), one of the members may rotate around its own central axis.

[0127] 13(a) to (d), the connection part J4 is configured so that the second member 42 rotates with respect to the first member 41. In this case, the second member 42 is installed on the side surface of the first member 41 so as to be rotatable about the extension direction of the second member 42 as the rotation axis.

[0128] In this type of connection portion J4, markers are disposed on the first member 41 and the second member 42, similarly to the first and second embodiments and the modified examples of the first and second embodiments.

[0129] In the example shown in FIG. 13(a), triangular markers M41 and M42 are arranged similarly to those in the first embodiment shown in FIG. 1. In the example shown in FIG. 13(b), two pairs of markers M41 to M44 are arranged similarly to those in the second modification of the first embodiment shown in FIG. 6(b). In the example shown in FIG. 13(c), markers M41 and M42 consisting of a part of a barcode similar to those in the second embodiment shown in FIG. 7(a) are arranged. When the positions of the markers M41 and M42 match, a one-dimensional barcode B4 is formed. In the example shown in FIG. 13(d), markers M41 and M42 consisting of a part of a barcode similar to those in the second modification of the second embodiment shown in FIG. 10(a) are arranged. When the positions of the markers M41 and M42 match, a two-dimensional barcode C4 is formed.

[0130] <Other changes> The configuration of the robot device 1 can be modified in various ways in addition to the configurations shown in the above embodiment and modified examples.

[0131] In the above-mentioned embodiment 1, only one pair of markers corresponding to the initial state is arranged in one connection part, but a pair of markers corresponding to the gripping state, the placing state, and the waiting state may be arranged. In this case, as in the modified example 2 of embodiment 1 shown in Fig. 6(a), a plurality of markers may be arranged in one or both members connected to one connection part. Similarly, in the above-mentioned embodiment 2 and modified example 2 of embodiment 2, only one pair of markers (parts of the barcode) corresponding to the initial state is arranged in one connection part, but a pair of markers corresponding to the gripping state, the placing state, and the waiting state may be arranged.

[0132] In the above-mentioned embodiment 1, the colors of the paired markers arranged at one connection part are the same, but they may be different from each other. In this case, the control unit 301 determines the connection part corresponding to the paired markers based on, for example, the combination of the colors of the paired markers. Also, in the above-mentioned embodiment 1, the colors of all the markers may be the same. In this case, the control unit 301 determines the paired markers by image analysis of the captured image, and determines the marker corresponding to each connection part.

[0133] In the above-mentioned embodiment 2 and modification 2 of embodiment 2, in the marker (part of the barcode) constituting the barcode, the barcode part is black and the background part of the barcode is white, but the colors of the barcode part and the background part of the barcode are not limited to this. In general, a barcode reader using an LED or laser light reads information based on the reflection of light, so the colors available for the barcode part and the background part of the barcode are restricted in relation to the reflection of light. However, in the above-mentioned embodiment 2 and modification 2 of embodiment 2, the control unit 301 analyzes the barcode image on the captured image to read information from the barcode, so that the colors of the barcode part and the background part of the barcode can be freely set as long as image analysis is possible. Therefore, in the above-mentioned embodiment 2 and modification 2 of embodiment 2, for example, as in embodiment 1, the markers for each connection part can be distinguished by making the colors of the markers (part of the barcode) different from each other at each connection part.

[0134] In the above-mentioned embodiment 1, when the positions of two paired markers match, the two markers as a whole form a butterfly-like pattern, but this is not limiting and other patterns (for example, a character string or a human face) may be formed. In this case as well, when the control unit 301 determines that the whole images of the two markers whose positions match each other form an image of a predetermined pattern, it determines that the rotation angle of the connection parts corresponding to the two markers is a predetermined angle. In this case as well, it is possible to reliably determine that the positions of the two markers match.

[0135] In the above-mentioned second embodiment, the types of the barcodes B1 to B3 are defined types such as JAN, but they may be unique types specialized for controlling the robot 10. In the above-mentioned second modification of the second embodiment, the types of the barcodes C1 to C3 are defined types such as QR Code (registered trademark), but they may be unique types specialized for controlling the robot 10. When one barcode is composed of two markers, even if the positions of the two markers (parts of the barcode) match, it may be difficult to read the barcode data near the junction of these two markers. In this case, by configuring the barcode so that no information is placed near the junction, it is possible to avoid errors in reading the information near the junction.

[0136] In the above embodiments and modifications, joint motor 111 may rotate arm 12 relative to arm 13, joint motor 112 may rotate arm 13 relative to arm 14, and joint motor 113 may rotate arm 14 relative to hand 15.

[0137] In the above embodiment and modified examples, the method by which the robot 10 holds the article 3 is not limited to the claws 15a, and may be a method of adsorption by negative pressure. Also, at the tip of the arm of the robot 10, not only the hand 15 for transferring the article 3 but also a light source that emits a laser beam for welding the target object may be provided. In other words, the end effector of the robot 10 is not limited to the hand, and may be other means such as a welding means.

[0138] In the above embodiment and modified example, the camera 20 is disposed so that all of the connection parts J1 to J3 are within the imaging field of view when the robot 10 is in a range from the most contracted state to the most extended state. However, this is not limiting, and when each marker is disposed corresponding to the initial position as in the above embodiment, the camera 20 may be disposed so that only the connection parts J1 to J3 at the initial position are within the imaging field of view.

[0139] In the above embodiment and modified example, one camera 20 is disposed, but the number of cameras 20 is not limited to one. For example, a camera 20 may be disposed individually near each connection portion, or cameras 20 corresponding to a plurality of connection portions may be disposed.

[0140] In the above embodiment and modified examples, the camera 20 is arranged exclusively for capturing images of the markers, but the captured images of the camera 20 arranged for another purpose may also be used for detecting the markers. Also, the robot device 1 does not necessarily have to include the camera 20. In this case, an external camera captures images of the connection parts J1 to J3 to generate captured images, and the robot device 1 receives the captured images from the external camera and performs the above control.

[0141] In the above embodiment and modified examples, the robot 10 and the control device 30 may be configured integrally. In this case, for example, one common control unit is provided in the robot 10 and the control device 30. Also, the camera 20 and the control device 30 may be configured integrally.

[0142] The embodiments of the present invention can be modified in various ways as appropriate within the scope of the technical ideas defined in the claims.

[0143] (Additional Note) The above description of the embodiments discloses the following techniques.

[0144] (Technology 1) A first member; A second member rotatably connected to the first member; A motor that rotates the first member or the second member; a first marker disposed on the first member near a connection portion between the first member and the second member; a second marker disposed on the second member near the connection portion so as to coincide with a position of the first marker when a rotation angle of the second member with respect to the first member becomes a predetermined angle; and a control unit that acquires an image from a camera that overlooks at least the vicinity of the connection portion, and determines whether or not a rotation angle of the second member relative to the first member is the predetermined angle based on a positional relationship between the first marker and the second marker on the captured image. A robot device comprising:

[0145] According to this technology, the positional relationship between the first marker and the second marker can be detected based on a captured image obtained by capturing an image of the vicinity of the connection between the first member and the second member. When the first marker and the second marker match on the captured image, the control unit determines that the rotation angle of the second member relative to the first member is a predetermined angle. Therefore, since it is not necessary to arrange a configuration for detecting the markers on the first member and the second member, the load of this configuration does not affect the driving performance of the robot. In addition, since it is only necessary to arrange the first marker and the second marker on the first member and the second member, respectively, the configuration of the robot does not become complicated. Therefore, the rotation state of the second member relative to the first member can be detected simply and smoothly.

[0146] (Technology 2) In the robot device according to Technical 1, the first marker and the second marker constitute a single storage medium capable of reading predetermined information from the captured image when the first marker and the second marker coincide with each other; When the control unit determines that the first marker and the second marker match, the control unit reads information stored in the storage medium. A robot device comprising:

[0147] According to this technology, information such as the name and identification number of the connection part and the rotation angle of the second member relative to the first member can be stored in a storage medium. This eliminates the need to previously store such information in a storage unit or the like. In addition, since the information in the storage medium can be read as a whole when the first marker and the second marker match, it is also possible to further determine whether the first marker and the second marker match, depending on whether the information in the storage medium can be read.

[0148] (Technology 3) In the robot device according to Technical 2, The storage medium is a one-dimensional barcode. A robot device comprising:

[0149] This technology allows for smooth placement of the storage medium, and even if the markers that make up the barcode are slightly misaligned, the barcode information as a whole can still be read.

[0150] (Technology 4) In the robot device according to Technical 2, The storage medium is configured by a two-dimensional barcode. A robot device comprising:

[0151] This technology allows the storage medium to be positioned smoothly and allows the storage medium to hold much more information than when the storage medium is configured with a one-dimensional barcode.

[0152] (Technology 5) In the robot device according to any one of Techniques 2 to 4, The information acquired from the storage medium including the first marker and the second marker includes the predetermined angle. A robot device comprising:

[0153] According to this technique, the control unit can obtain the rotation angle of the first member relative to the second member when the position of the first marker and the position of the second marker coincide with each other.

[0154] (Technology 6) In the robot device according to any one of Techniques 2 to 5, The information acquired from the storage medium constituted by the first marker and the second marker includes information capable of identifying a rotation state of the first member and the second member corresponding to the predetermined angle. A robot device comprising:

[0155] According to this technique, the control unit can grasp the rotational states of the first member and the second member when the position of the first marker and the position of the second marker coincide with each other.

[0156] (Technology 7) In the robot device according to any one of Techniques 1 to 6, a predetermined pattern is formed by the entirety of the first markers and the second markers that are matched with each other; When the control unit determines that an entire image of the first marker and the second marker constitutes an image of the predetermined pattern in the captured image, the control unit determines that a rotation angle of the second member relative to the first member is the predetermined angle. A robot device comprising:

[0157] According to this technique, it is possible to reliably determine a state in which the position of the first marker and the position of the second marker coincide with each other.

[0158] (Technology 8) In the robot device according to any one of Techniques 1 to 7, a plurality of the connection portions on which the first marker and the second marker are arranged; The camera simultaneously captures images of the multiple connections, the control unit determines whether or not a rotation angle of the second member with respect to the first member at each of the plurality of connection portions is a predetermined angle based on a positional relationship between the first marker and the second marker of each of the connection portions in the captured image. A robot device comprising:

[0159] According to this technology, it is possible to determine whether the rotation angle of the second member relative to the first member is a predetermined angle based on the positional relationship between the first marker and the second marker in multiple connection parts. Also, since the state of the markers in multiple connection parts can be detected from an image captured by one camera, it is possible to simplify the configuration and processing.

[0160] (Technology 9) In the robot device according to Technical 8, The first marker and the second marker have different shapes for each of the plurality of connection portions. A robot device comprising:

[0161] According to this technique, in a captured image of a plurality of connection parts, the first marker and the second marker for each connection part can be distinguished.

[0162] (Technology 10) In the robot device according to any one of Techniques 1 to 9, At least one of the first marker and the second marker is arranged in plurality, A plurality of the predetermined angles are provided when the position of the first marker and the position of the second marker coincide with each other. A robot device comprising:

[0163] According to this technique, it is possible to determine the state when the rotation angle of the second member relative to the first member is one of a plurality of predetermined angles.

[0164] (Technology 11) In the robot device described in Technical 10, The shapes of the multiple markers arranged are different from each other. A robot device comprising:

[0165] According to this technique, a plurality of predetermined angles can be distinguished in the captured image based on the shape of the marker.

[0166] (Technology 12) In the robot device according to any one of Techniques 1 to 11, an encoder connected to the motor; the control unit corrects the output value of the encoder based on the determination that the rotation angle of the second member relative to the first member is the predetermined angle. A robot device comprising:

[0167] According to this technique, when the output value of the encoder differs from the actual rotation angle of the second member relative to the first member, the output value of the encoder can be corrected to drive the first member or the second member with high precision. [Explanation of symbols]

[0168] 1 Robot device 12 Arm (first member) 13 Arm (first member, second member) 14 Arm (first member, second member) 15 Hand (second member) 20 Camera 41 First member 42 Second member 111~113 Joint motor (motor) 121~123 Encoder 301 Control Unit B1~B4 Barcode (storage medium) C1~C4 Barcode (storage medium) J1~J4 connection part M11 Marker (First Marker) M12 Marker (Second Marker) M21 Marker (First Marker) M22 Marker (Second Marker) M31, M34 marker (first marker) M32, M33, M35 markers (second markers) M41, M43 marker (first marker) M42, M44 marker (second marker)

Claims

1. A first member; A second member pivotably connected to the first member; A motor that rotates the first member or the second member; a first marker disposed on the first member near a connection portion between the first member and the second member; a second marker disposed on the second member near the connection portion so as to coincide with a position of the first marker when a rotation angle of the second member with respect to the first member becomes a predetermined angle; and a control unit that acquires an image from a camera that overlooks at least the vicinity of the connection portion, and determines whether or not a rotation angle of the second member relative to the first member is the predetermined angle based on a positional relationship between the first marker and the second marker on the captured image. A robot device comprising:

2. 2. The robot device according to claim 1, the first marker and the second marker constitute a single storage medium capable of reading predetermined information from the captured image when the first marker and the second marker match each other; When the control unit determines that the first marker and the second marker match, the control unit reads information stored in the storage medium. A robot device comprising:

3. 3. The robot device according to claim 2, The storage medium is a one-dimensional barcode. A robot device comprising:

4. 3. The robot device according to claim 2, The storage medium is configured by a two-dimensional barcode. A robot device comprising:

5. 3. The robot device according to claim 2, The information acquired from the storage medium including the first marker and the second marker includes the predetermined angle. A robot device comprising:

6. 3. The robot device according to claim 2, The information acquired from the storage medium constituted by the first marker and the second marker includes information capable of identifying a rotation state of the first member and the second member corresponding to the predetermined angle. A robot device comprising:

7. 2. The robot device according to claim 1, a predetermined pattern is formed by the entirety of the first markers and the second markers that are matched with each other; When the control unit determines that an entire image of the first marker and the second marker constitutes an image of the predetermined pattern in the captured image, the control unit determines that a rotation angle of the second member relative to the first member is the predetermined angle. A robot device comprising:

8. 2. The robot device according to claim 1, a plurality of the connection portions on which the first marker and the second marker are arranged; The camera simultaneously captures images of the multiple connections, the control unit determines whether or not a rotation angle of the second member with respect to the first member at each of the plurality of connection portions is a predetermined angle based on a positional relationship between the first marker and the second marker of each of the connection portions in the captured image. A robot device comprising:

9. 9. The robot device according to claim 8, The first marker and the second marker have different shapes for each of the plurality of connection portions. A robot device comprising:

10. 2. The robot device according to claim 1, At least one of the first marker and the second marker is arranged in plurality, A plurality of the predetermined angles are provided when the position of the first marker and the position of the second marker coincide with each other. A robot device comprising:

11. The robot device according to claim 10, The shapes of the multiple markers arranged are different from each other. A robot device comprising:

12. 2. The robot device according to claim 1, an encoder connected to the motor; the control unit corrects the output value of the encoder based on the determination that the rotation angle of the second member with respect to the first member is the predetermined angle. A robot device comprising:

Citation Information

Patent Citations

  • Robot and encoder

    JP2017177238A