Computing device, robot control method, processing method, display method, computer program, recording medium, path generation method, and conveyance method

The system addresses the challenge of precise robot processing by generating display signals for movement paths and calibrating imaging devices, enabling accurate and efficient object processing through advanced settings and calibration within the robot system.

WO2024202042A1PCT designated stage expired Publication Date: 2024-10-03NIKON CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/013635
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Current robot systems face challenges in accurately performing predetermined processing tasks on objects due to limitations in advanced settings and calibration, particularly in generating precise movement paths and displaying calibration accuracy for end effectors and imaging devices.

Method used

The development of an arithmetic device and computing system that generates display signals for showing the movement locus of a robot's end effector, calibrates imaging devices, and determines the processing target position of objects using three-dimensional models, allowing for precise movement path generation and calibration display.

Benefits of technology

Enables accurate and efficient processing of objects by providing a system for generating precise movement paths and calibrating imaging devices, enhancing the robot's ability to perform tasks with high precision and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023013635_03102024_PF_FP_ABST
    Figure JP2023013635_03102024_PF_FP_ABST
Patent Text Reader

Abstract

A computing device according to the present invention comprises: a signal generation unit that generates a display signal for displaying, on a display device, the movement trace of a moving point which moves in following with the driving of the robot when the robot has been driven, without articulating the robot; and an output unit that outputs, to the display device, the display signal generated by the signal generation unit.
Need to check novelty before this filing date? Find Prior Art

Description

Arithmetic device, robot control method, processing method, display method, computer program, recording medium, path generation method, and conveyance method

[0001] The present invention relates to the technical fields of, for example, a robot-related arithmetic device, a display method, a path generation method, a computer program, a recording medium, a robot control method, and a transport method.

[0002] An example of a robot that performs a predetermined process on an object is described in Patent Document 1. In the technical field of such robots, it is required to appropriately set up the robot in advance so that the robot performs the predetermined process on the object.

[0003] US Patent Application Publication No. 2013 / 0311154

[0004] According to a first aspect, there is provided a computing device comprising: a signal generating unit that generates a display signal for displaying on a display device a movement trajectory of a moving point that moves as the robot is driven when the robot is driven without moving the robot; and an output unit that outputs the display signal generated by the signal generating unit to the display device.

[0005] According to a second aspect, there is provided a computing device that generates a movement path of a moving point that moves in association with the driving of a robot to which an end effector that performs processing on a target object is attached, and that generates a second movement path of the moving point that moves in association with the driving of the robot to which a first end effector is attached as the end effector, based on a first movement path of the moving point that moves in association with the driving of the robot to which the second end effector is attached as the end effector, and a three-dimensional model of a second end effector that is different from the first end effector.

[0006] According to a third aspect, there is provided a computing device used to set a processing position of an object by an end effector that processes the object, the computing device comprising: a signal generating unit that generates a display signal to display on a display device at least one of an object model that is a three-dimensional model of the object and an end effector model that is a three-dimensional model of the end effector on a display screen including the object model and the end effector model so that the object model and the end effector model move based on instruction information regarding a user's instruction; and an output unit that outputs the display signal generated by the signal generating unit to the display device, wherein the signal generating unit generates the display signal to display on the display device at least one of the object model and the end effector model so that the object model and the end effector model move along at least both a first axis and a second axis that intersects the first axis, based on the instruction information.

[0007] According to a fourth aspect, there is provided a computing device used for calibrating an imaging device attached to a robot, the computing device comprising: a signal generating unit that generates a display signal for displaying, on a display device, information regarding the accuracy of the calibration of the imaging device, which is generated based on image data generated by imaging a reference member with the imaging device attached to the robot; and an output unit that outputs the display signal generated by the signal generating unit to the display device.

[0008] According to a fifth aspect, there is provided a computing device that generates a movement path of a moving point that moves in conjunction with the driving of a robot equipped with an end effector and an imaging device that performs processing on a target object, the computing device generating a first partial path, which is a part of the movement path, based on a first end effector model that is an extension of at least a part of the three-dimensional model of the end effector, and a first peripheral object model that is a three-dimensional model of a first peripheral object located around the robot, and generating a second partial path, which is at least another part of the movement path, based on a second end effector model in which the extension amount of the three-dimensional model of the end effector is different from that of the first end effector model, a second peripheral object model that is a three-dimensional model of a second peripheral object located around the robot, and the imaging results obtained by the imaging device.

[0009] According to a sixth aspect, there is provided a computing device that generates a movement path of a moving point that moves in association with the driving of a robot equipped with an end effector capable of holding a target object, the computing device generating at least a portion of the movement path based on an end effector model based on a three-dimensional model of the end effector, a target object model based on a three-dimensional model of the target object held by the end effector, and a peripheral object model that is a three-dimensional model of a peripheral object located around the robot.

[0010] According to a seventh aspect, there is provided a computing device that controls a robot equipped with an end effector and an imaging device that performs processing on a target object, the computing device generating a partial model that is a three-dimensional model of at least a part of the target object from an original model that is a three-dimensional model of the target object, performing a matching process based on the partial model and target object image data obtained by imaging the target object with the imaging device, thereby calculating at least one of the position and orientation of the target object, and generating the control signal based on the calculation result of at least one of the position and orientation of the target object.

[0011] According to an eighth aspect, there is provided a display method including generating a display signal for displaying on a display device a movement trajectory of a moving point that moves as the robot is driven when the robot is driven without moving the robot, and outputting the generated display signal to the display device.

[0012] According to a ninth aspect, there is provided a computer program causing a computer to execute the display method provided by the eighth aspect.

[0013] According to a tenth aspect, there is provided a recording medium on which the computer program provided by the ninth aspect is recorded.

[0014] According to an eleventh aspect, there is provided a path generation method for generating a movement path of a moving point that moves in association with the driving of a robot to which an end effector that performs processing on a target object is attached, the path generation method including generating a first movement path of the moving point that moves in association with the driving of the robot to which a first end effector is attached as the end effector, and a second movement path of the moving point that moves in association with the driving of the robot to which a second end effector is attached as the end effector, based on a three-dimensional model of a second end effector different from the first end effector.

[0015] According to a twelfth aspect, there is provided a computer program causing a computer to execute the display method provided by the eleventh aspect.

[0016] According to a thirteenth aspect, there is provided a recording medium on which the computer program provided by the twelfth aspect is recorded.

[0017] According to a fourteenth aspect, there is provided a display method used to set a processing position of an object by an end effector that processes the object, the display method including: generating a display signal for displaying on a display device, on a display screen including an object model that is a three-dimensional model of the object and an end effector model that is a three-dimensional model of the end effector, at least one of the object model and the end effector model moving based on instruction information regarding a user's instruction, in order to set the processing position; and outputting the generated display signal to the display device, wherein the generating step generates the display signal for displaying on the display device so that at least one of the object model and the end effector model moves along at least both a first axis and a second axis intersecting the first axis based on the instruction information.

[0018] According to a fifteenth aspect, there is provided a computer program causing a computer to execute the display method provided by the fourteenth aspect.

[0019] According to a sixteenth aspect, there is provided a recording medium on which the computer program provided by the fifteenth aspect is recorded.

[0020] According to a seventeenth aspect, there is provided a display method used for calibrating an imaging device attached to a robot, the display method including generating a display signal for displaying information on the accuracy of the calibration of the imaging device, the information being generated based on image data generated by imaging a reference member with the imaging device attached to the robot, and outputting the generated display signal to the display device.

[0021] According to an eighteenth aspect, there is provided a computer program causing a computer to execute the display method provided by the seventeenth aspect.

[0022] According to a nineteenth aspect, there is provided a recording medium on which the computer program provided by the eighteenth aspect is recorded.

[0023] According to the twentieth aspect, there is provided a path generation method for generating a movement path of a moving point that moves in association with the driving of a robot equipped with an end effector and an imaging device that performs processing on a target object, the path generation method including: generating a first partial path that is a part of the movement path based on a first end effector model that is an extension of at least a part of the three-dimensional model of the end effector, and a first peripheral object model that is a three-dimensional model of a first peripheral object located around the robot; and generating a second partial path that is at least another part of the movement path based on a second end effector model in which the extension amount of the three-dimensional model of the end effector is different from that of the first end effector model, a second peripheral object model that is a three-dimensional model of a second peripheral object located around the robot, and imaging results obtained by the imaging device.

[0024] According to a twenty-first aspect, there is provided a computer program causing a computer to execute the display method provided by the twentieth aspect.

[0025] According to a twenty-second aspect, there is provided a recording medium on which the computer program provided by the twenty-first aspect is recorded.

[0026] According to a twenty-third aspect, there is provided a robot control method for controlling a robot based on at least a part of the movement path generated by the calculation device provided by the sixth aspect.

[0027] According to the 24th aspect, there is provided a transport method for transporting the target object held by the end effector based on at least a portion of the movement path generated by the calculation device provided by the 6th aspect.

[0028] According to the 25th aspect, there is provided a robot control method for controlling a robot equipped with an end effector and an imaging device that performs processing on a target object, the robot control method including: generating a partial model, which is a three-dimensional model of at least a part of the target object, from an original model, which is a three-dimensional model of the target object; calculating at least one of a position and an orientation of the target object by performing a matching process based on the partial model and target object image data obtained by imaging the target object with the imaging device; and generating the control signal based on the calculation result of at least one of the position and orientation of the target object.

[0029] According to a twenty-sixth aspect, there is provided a computer program causing a computer to execute the display method provided by the twenty-fifth aspect.

[0030] According to a twenty-seventh aspect, there is provided a recording medium on which the computer program provided by the twenty-sixth aspect is recorded.

[0031] The functions and other advantages of the present invention will become apparent from the following detailed description of the preferred embodiments.

[0032] FIG. 1 is a block diagram showing the configuration of a robot system according to this embodiment. FIG. 2 is a side view showing the appearance of the robot according to this embodiment. FIGS. 3A to 3D are cross-sectional views showing an example of the operation of the robot using an end effector to hold a workpiece stored in a storage box, which is an example of a mounting device. FIGS. 4A to 4D are cross-sectional views showing an example of the operation of the robot releasing a workpiece held by the end effector so as to place the workpiece on a pallet, which is an example of a mounting device. FIG. 5 is a block diagram showing the configuration of a control device according to this embodiment. FIG. 6 is a flowchart showing the flow of a robot control process. FIG. 7 is a perspective view showing an example of a calibration member. FIG. 8 is a flowchart showing the flow of an accuracy information display process for displaying calibration accuracy information on a display device. FIG. 9 shows first calibration image data groups and second calibration image data groups. FIG. 10 shows an example of a display of calibration index values. FIG. 11 shows a processing position and orientation setting screen. FIG. 12 shows a processing position and orientation setting screen. FIG. 13 shows a moving end effector model. FIG. 14 shows a moving end effector model. FIG. 15 shows a moving end effector model. FIGS. 16(a) and 16(b) each show the relationship between the end effector model and the object model. FIG. 17 shows the relationship between the end effector model and the object model. FIG. 18 shows the relationship between the end effector model and the object model. FIG. 19 is a flowchart showing the flow of the path generation process. FIG. 20 shows a path generation screen. FIG. 21 shows a path generation screen. FIG. 22 shows a path generation screen. FIG. 23 shows a path generation screen. FIGS. 24(a) to 24(c) each show the movement path of the tool center point. FIGS. 25(a) to 25(b) each show the movement path of the tool center point. FIGS. 26(a) and 26(b) each show a cross-sectional view of an extended end effector model. 27(a) and 27(b) are cross-sectional views showing the positional relationship between the extended end effector model and the peripheral object model, together with the positional relationship between the end effector and the peripheral object.Figures 28(a) to 28(c) are cross-sectional views showing the positional relationship between an extended end effector model and a peripheral object model. Figures 29(a) to 29(d) are cross-sectional views showing an extended end effector model. Figure 30 shows an example of displaying information related to the results of the matching process. Figure 31(a) is a cross-sectional view showing the movement path of the tool center point when the end effector performs a holding process. Figure 31(b) is a cross-sectional view showing the end effector model and the held object model used to generate the movement path of the tool center point when the end effector is holding an object. Figure 31(c) is a cross-sectional view showing the end effector model used to generate the movement path of the tool center point when the end effector is not holding an object. Fig. 32(a) is a cross-sectional view showing the movement path of the tool center point when the end effector performs a release process, Fig. 32(b) is a cross-sectional view showing an end effector model and a held object model used to generate the movement path of the tool center point when the end effector is holding an object, and Fig. 32(c) is a cross-sectional view showing the end effector model used to generate the movement path of the tool center point when the end effector is not holding an object. Figs. 33(a) to 33(b) each show an example of a model generation screen. Fig. 34 shows multiple partial models. Fig. 35 is a flowchart showing the flow of matching processing performed in a fifth modified example of the fine movement operation.

[0033] Hereinafter, embodiments of a calculation device, a display method, a path generation method, a computer program, a recording medium, a robot control method, and a transport method will be described with reference to the drawings. Hereinafter, embodiments of a calculation device, a display method, a path generation method, a computer program, a recording medium, a robot control method, and a transport method will be described using a robot system SYS.

[0034] (1) Configuration of the Robot System SYS First, the configuration of the robot system SYS will be described.

[0035] (1-1) Overall Configuration of Robot System SYS First, the overall configuration of the robot system SYS will be described with reference to Fig. 1. Fig. 1 is a block diagram showing the overall configuration of the robot system SYS.

[0036] As shown in FIG. 1, the robot system SYS includes a robot 1, an imaging device 2, a control device 3, and an end effector 4.

[0037] The robot 1 is a device capable of performing a predetermined process on an object OBJ. An example of the robot 1 is shown in FIG. 2. FIG. 2 is a side view showing the appearance of the robot 1. As shown in FIG. 2, the robot 1 includes, for example, a base 11, a robot arm 12, and a robot control device 13.

[0038] The base 11 is a component that forms the base of the robot 1. The base 11 is placed on a support surface S, such as a floor surface. The base 11 may be fixed to the support surface S. Alternatively, the base 11 may be movable relative to the support surface S. As an example, the base 11 may be self-propelled on the support surface S. In this case, the base 11 may be installed on an automatic guided vehicle (AGV). When the base 11 is installed on an automatic guided vehicle, the automatic guided vehicle may be considered to be part of the robot 1. Alternatively, the automatic guided vehicle (AGV) may be used as the base 11. Note that FIG. 2 shows an example in which the base 11 is fixed to the support surface S.

[0039] The robot arm 12 is attached to the base 11. The robot arm 12 is a device in which a plurality of links 121 are connected via joints 122. An actuator is built into the joint 122. The link 121 may be rotatable around an axis defined by the joint 122 by the actuator built into the joint 122. At least one link 121 may be extendable and contractible along the direction in which the link 121 extends. A device including the device in which a plurality of links 121 are connected via joints 122 and the base 11 may be referred to as the robot arm 12.

[0040] An end effector 4 is attached to the robot arm 12. That is, the end effector 4 is attached to the robot 1. In the example shown in FIG. 2 , the end effector 4 is attached to the tip of the robot arm 12. The end effector 4 can be moved by the movement of the robot arm 12. That is, the robot arm 12 moves the end effector 4. That is, the robot 1 moves the end effector 4.

[0041] The end effector 4 is a device that performs a predetermined process (in other words, a predetermined operation) on the object OBJ. The end effector 4 may be called a processing device because it performs a predetermined process on the object OBJ.

[0042] For example, the end effector 4 may perform a holding process to hold (in other words, hold) an object OBJ as an example of the predetermined process. In this case, the end effector 4 may be considered to be performing the holding process on the object OBJ that the end effector 4 is to hold. An end effector 4 capable of performing the holding process may be referred to as a holding device.

[0043] Note that holding the object OBJ may include grasping the object OBJ. For example, holding the object OBJ may include gripping the object OBJ using a hand gripper (described later), which is an example of the end effector 4. Holding the object OBJ may include attracting the object OBJ. For example, holding the object OBJ may include attracting (vacuum suction) the object OBJ using a vacuum gripper (described later), which is an example of the end effector 4. For example, holding the object OBJ may include attracting the object OBJ using a magnetic attraction gripper (described later), which is an example of the end effector 4.

[0044] For example, as an example of the predetermined process, the end effector 4 may perform a release process to release (i.e., let go of) the object OBJ that it is holding. In this case, the end effector 4 may be considered to be performing the release process on the object OBJ that it is holding. An end effector 4 that is capable of performing the release process may be referred to as a release device.

[0045] For example, as an example of the predetermined processing, the end effector 4 may perform a release processing to release (i.e., release) the held first object OBJ on the second object OBJ so that the held first object OBJ is placed on the second object OBJ. In this case, the end effector 4 may be considered to be performing the release processing with respect to the second object OBJ on which the end effector 4 is to place the first object OBJ. Similarly, the end effector 4 may be considered to be performing the release processing with respect to the first object OBJ that the end effector 4 is to release.

[0046] A hand gripper is an example of an end effector 4 capable of holding and releasing an object OBJ. A hand gripper is an end effector 4 that can hold an object OBJ by physically clamping the object OBJ using multiple (e.g., two, three, or four) finger or claw members. Other examples of end effectors 4 that can hold and release an object OBJ include at least one of a vacuum gripper and a magnetically attractive gripper. A vacuum gripper is an end effector 4 that can hold an object OBJ by vacuum-attracting the object OBJ. A magnetically attractive gripper is an end effector 4 that can hold an object OBJ using magnetic force. FIG. 2 shows an example of the end effector 4 being a hand gripper.

[0047] The robot 1 may perform a placement process to place an object OBJ at a desired position using the end effector 4 that is capable of holding and releasing. For example, the robot 1 may hold a first object OBJ using the end effector 4, and then perform a placement process to place the first object OBJ held by the end effector 4 at a desired position of a second object OBJ that is different from the first object OBJ.

[0048] The robot 1 may use the end effector 4 capable of performing a holding process and a release process to perform an embedding process for embedding a first object OBJ into a second object OBJ different from the first object OBJ. For example, the robot 1 may hold the first object OBJ using the end effector 4, and then perform an embedding process for embedding the first object OBJ held by the end effector 4 into a second object OBJ different from the first object OBJ. The above-described embedding process can be considered as a predetermined process performed by the end effector 4 on the first object OBJ, or as a predetermined process performed by the end effector 4 on the second object OBJ.

[0049] The object OBJ on which the end effector 4 performs a predetermined process may include a workpiece W, as shown in FIG. 2 . The workpiece W may include, for example, a part or member used to manufacture a desired product. The workpiece W may include, for example, a part or member to be processed to manufacture the desired product. The workpiece W may include, for example, a part or member to be transported to manufacture the desired product.

[0050] As shown in FIG. 2 , the object OBJ on which the end effector 4 performs a predetermined process may include a placement device T on which a workpiece W is placed. An example of the placement device T is a pallet. The placement device T may be disposed on a support surface S. The placement device T may be fixed to the support surface S. Alternatively, the placement device T may be movable relative to the support surface S. As an example, the placement device T may be self-propelled on the support surface S. Note that FIG. 2 shows an example in which the placement device T is self-propelled on the support surface S. In this case, the placement device T may be referred to as an automatic guided vehicle (AGV). When the placement device T is movable relative to the support surface S, the workpiece W placed on the placement device T also moves relative to the support surface S as the placement device T moves. Therefore, the movable placement device T may function as a moving device that moves the workpiece W. It should be noted that a belt conveyor may be used as the placement device T. It should be noted that the placement device T may also be referred to as a placement member. It should be noted that the placement device T is not limited to a pallet, and may also be a storage box capable of storing the workpieces W. It should be noted that the storage box may also be, for example, a returnable box.

[0051] However, the object OBJ does not have to include the placement device T. In addition, when the placement device T is capable of self-propelling on the support surface S, the self-propelled device capable of self-propelling on the support surface S and the pallet may be separate entities. In this case, the pallet may be installed on the self-propelled device. A device including both the self-propelled device and the pallet may be referred to as the placement device T. Alternatively, the object OBJ does not have to include at least one of the self-propelled device and the pallet. The self-propelled device may be referred to as an automatic transport vehicle. In addition, the component installed on the self-propelled device is not limited to a pallet, but may also be a storage box capable of storing the workpiece W.

[0052] The placement device T may be capable of flying above the support surface S. In this case, the placement device T may be referred to as a flying device. The flying device capable of flying above the support surface S may be separate from the pallet. The pallet may be installed on the flying device. A device including the flying device and the pallet may be referred to as the placement device T. The flying device may be referred to as an unmanned aerial vehicle. The workpiece W does not have to be placed on the placement device T. For example, the workpiece W may be placed on the support surface S. The member installed on the flying device is not limited to a pallet, but may also be a storage box capable of storing the workpiece W.

[0053] When the object OBJ includes a workpiece W and a mounting device T, the holding process described above may include a process of holding a workpiece W placed on a stationary or moving mounting device T. The holding process described above may include a process of holding a workpiece W placed on a support surface S. The release process described above may include a process of releasing a workpiece W held by the end effector 4 in order to place the workpiece W held by the end effector 4 at a desired position on a stationary or moving mounting device T. The release process described above may include a process of releasing a workpiece W held by the end effector 4 in order to place the workpiece W held by the end effector 4 at a desired position on the support surface S. The release process described above may include a process of releasing a first workpiece W held by the end effector 4 in order to fit the first workpiece W held by the end effector 4 into a second workpiece W placed on a stationary or moving mounting device T. The above-mentioned release process may include a process of releasing the first workpiece W held by the end effector 4 in order to fit the first workpiece W held by the end effector 4 into a second workpiece W placed on the support surface S.

[0054] The robot control device 13 controls the operation of the robot 1 .

[0055] Specifically, the robot control device 13 may control the movement of the robot arm 12. For example, the robot control device 13 may control the movement of the robot arm 12 so that a desired link 121 rotates around an axis defined by a desired joint 122. For example, the robot control device 13 may control the movement of the robot arm 12 so that the end effector 4 attached to the robot arm 12 is positioned at a desired position. For example, the robot control device 13 may control the movement of the robot arm 12 so that the end effector 4 attached to the robot arm 12 moves to a desired position.

[0056] In addition to controlling the operation of the robot 1, the robot control device 13 may also control the operation of the end effector 4 attached to the robot 1. For example, the robot control device 13 may control the operation of the end effector 4 so that the end effector 4 holds an object OBJ at a desired timing. That is, the robot control device 13 may control the operation of the end effector 4 so that the end effector 4 performs a holding process at a desired timing. For example, the robot control device 13 may control the operation of the end effector 4 so that the end effector 4 releases the held object OBJ at a desired timing. That is, the robot control device 13 may control the operation of the end effector 4 so that the end effector 4 performs a release process at a desired timing. If the end effector 4 is a hand gripper, the robot control device 13 may control the timing of opening and closing the hand gripper. If the end effector 4 is a vacuum gripper, the robot control device 13 may control the timing of turning on and off a vacuum device of the vacuum gripper.

[0057] Note that FIG. 2 shows an example in which the robot 1 is a robot arm 12 (i.e., a vertical articulated robot). However, the robot 1 may be a robot different from a vertical articulated robot. For example, the robot 1 may be a SCARA robot (i.e., a horizontal articulated robot). For example, the robot 1 may be a parallel link robot. For example, the robot 1 may be a dual-arm robot having two robot arms 12. For example, the robot 1 may be a Cartesian coordinate robot. For example, the robot 1 may be a cylindrical coordinate robot. The robot 1 may be referred to as a movable device. The movable device may include, in addition to the robot 1, at least one of an automatic guided vehicle and an unmanned aerial vehicle. For example, the robot 1 may be installed on at least one of an automatic guided vehicle and an unmanned aerial vehicle.

[0058] 1 , the imaging device 2 captures an image of an object OBJ. To capture an image of the object OBJ, the imaging device 2 includes a camera 21, a camera 22, and a projection device 23. However, as will be described in detail later, the imaging device 2 does not necessarily have to include either the camera 21 or the camera 22. The imaging device 2 does not necessarily have to include the projection device 23.

[0059] The camera 21 is capable of capturing an image of the object OBJ. The camera 21 captures an image of the object OBJ to generate image data IMG_2D. The image data IMG_2D generated by the camera 21 is output from the camera 21 to the control device 3. In this embodiment, the camera 21 is a monocular camera. Specifically, the camera 21 is capable of capturing an image of the object OBJ using a monocular camera (in other words, an image sensor). The camera 21 is not limited to a monocular camera. The camera 21 may be a stereo camera capable of capturing an image of the object OBJ using two monocular cameras, or may include three or more monocular cameras. The camera 21 may be at least one of a light field camera, a plenoptic camera, and a multispectral camera.

[0060] Like the camera 21, the camera 22 is capable of capturing an image of the object OBJ. In this embodiment, the camera 22 is a stereo camera. Specifically, the camera 22 is a stereo camera capable of capturing an image of the object OBJ using two monocular cameras (in other words, two image sensors). The camera 22 captures an image of the object OBJ to generate image data IMG_3D. Specifically, because the camera 22 is a stereo camera, the camera 22 generates image data IMG_3D including two pieces of image data generated by the two monocular cameras. The image data IMG_3D generated by the camera 22 is output from the camera 22 to the control device 3. The camera 22 is not limited to a stereo camera. The camera 22 may be a monocular camera or may include three or more monocular cameras. The camera 22 may be at least one of a light field camera, a plenoptic camera, and a multispectral camera.

[0061] The projection device 23 is a device capable of irradiating projection light onto the object OBJ. In particular, the projection device 23 is a device capable of projecting a desired projection pattern onto the object OBJ by irradiating the object OBJ with projection light. The projection pattern may also be referred to as the intensity distribution of light projected onto the object OBJ. If the intensity distribution of the projected light changes, the projection pattern also changes. The desired projection pattern may include, for example, a random pattern. The random pattern may be a projection pattern having a different pattern for each unit irradiation area. The random pattern may include a random dot pattern. The desired projection pattern may include, for example, a one-dimensional or two-dimensional grid pattern. The desired projection pattern may also include other projection patterns. The camera 22 captures an image of the object OBJ onto which the projection pattern from the projection device 23 is projected. In this case, the object OBJ onto which the projection pattern is projected is captured in the image represented by the image data IMG_3D. On the other hand, the camera 21 does not need to capture an image of the object OBJ onto which the projection pattern is projected. The camera 21 may capture an image of an object OBJ onto which a projection pattern is not projected. In this case, the image represented by the image data IMG_2D may not include the object OBJ onto which the projection pattern is projected. The image represented by the image data IMG_2D may include the object OBJ onto which the projection pattern is not projected. The projection light for projecting a desired projection pattern onto the object OBJ may be referred to as pattern light or structured light. In this case, the projection light may include pattern light or structured light. The projection light may be light of a uniform projection pattern (i.e., a uniform intensity distribution).

[0062] Note that the projection device 23 may be considered to illuminate the object OBJ with the projection light by irradiating the object OBJ with the projection light. In this case, the projection device 23 may function as an illumination device that illuminates the object OBJ. When the projection device 23 functions as an illumination device, the projection light may be referred to as illumination light. The projection light (illumination light) used as an illumination device may be light with a uniform intensity distribution. When the projection device 23 functions as an illumination device, the projection light does not need to be light that can project a desired projection pattern onto the object OBJ. When the projection device 23 functions as an illumination device, the projection light (i.e., illumination light) may be any light that can illuminate the object OBJ.

[0063] The imaging device 2 is attached to the robot arm 12, similar to the end effector 4. That is, the cameras 21 and 22 and the projection device 23 are attached to the robot arm 12. For example, as shown in FIG. 2 , the cameras 21 and 22 and the projection device 23 may be attached to the tip of the robot arm 12, similar to the end effector 4. In this case, the cameras 21 and 22 and the projection device 23 can be moved by the movement of the robot arm 12. That is, the robot arm 12 moves the cameras 21 and 22 and the projection device 23.

[0064] However, the imaging device 2 does not have to be attached to the robot arm 12. The imaging device 2 may be attached to any position where it can irradiate the object OBJ with projection light and capture an image of the object OBJ. At least one of the camera 21, the camera 22, and the projection device 23 may be attached to the robot arm 12, and at least one of the camera 21, the camera 22, and the projection device 23 may be attached to a location different from the robot arm 12. For example, at least one of the camera 21 and the camera 22 may be attached to a structure such as a pillar located at a position where at least one of the camera 21 and the camera 22 can capture an image of the object OBJ. For example, the projection device 23 may be attached to a structure such as a pillar located at a position where the projection device 23 can irradiate the object OBJ with projection light.

[0065] The cameras 21 and 22 may capture images of the object OBJ in synchronization with each other. For example, the cameras 21 and 22 may capture images of the object OBJ simultaneously. That is, the cameras 21 and 22 may capture images of the object OBJ such that the 2D imaging time at which the camera 21 captures the image of the object OBJ and the 3D imaging time at which the camera 22 captures the image of the object OBJ are the same. The cameras 21 and 22 may capture images of the object OBJ such that the 2D imaging time at which the camera 21 captures the image of the object OBJ to generate image data IMG_2D and the 3D imaging time at which the camera 22 captures the image of the object OBJ to generate image data IMG_3D are the same.

[0066] The cameras 21 and 22 may capture images of the object OBJ under the control of the control device 3. In this case, the time (in other words, the timing) at which each of the cameras 21 and 22 captures an image of the object OBJ may be controlled by the control device 3. For example, the control device 3 may control the cameras 21 and 22 so that the cameras 21 and 22 capture images of the object OBJ in synchronization with each other. For example, the control device 3 may control the cameras 21 and 22 so that the cameras 21 and 22 capture images of the object OBJ simultaneously. In other words, the control device 3 may control the cameras 21 and 22 so that the 2D image capturing time and the 3D image capturing time are the same time.

[0067] Here, the state in which "the 2D imaging time and the 3D imaging time are the same" may include a state in which "the 2D imaging time and the 3D imaging time are literally exactly the same." The state in which "the 2D imaging time and the 3D imaging time are the same" may include a state in which "the 2D imaging time and the 3D imaging time are not exactly the same, but the time difference between the 2D imaging time and the 3D imaging time is smaller than a first allowable upper limit, so the 2D imaging time and the 3D imaging time can be considered to be substantially the same." Here, the first allowable upper limit may be a first allowable upper limit based on a control error of the robot arm 12. For example, a time difference between the 2D imaging time and the 3D imaging time may cause an error in the calculation result of at least one of the position and orientation of the object OBJ (described later) (i.e., the accuracy of at least one of the calculated position and orientation of the object OBJ may decrease). In this case, an error in the calculation result of at least one of the position and orientation of the object OBJ may cause a control error of the robot arm 12. A control error of the robot arm 12 results in a movement error of the end effector 4, which may prevent the end effector 4 from properly performing a predetermined process on the object OBJ. The first allowable upper limit may be considered equivalent to the first allowable upper limit of the movement error of the end effector 4 by the robot arm 12. Furthermore, even if there is a time difference between the 2D imaging time and the 3D imaging time due to a synchronization error in the imaging processes of the cameras 21 and 22, for example, the 2D imaging time and the 3D imaging time may be considered to be substantially the same time. The synchronization error in the imaging processes of the cameras 21 and 22 may be a synchronization control error of the imaging processes of the cameras 21 and 22 by the control device 3.

[0068] However, the cameras 21 and 22 do not have to capture images of the object OBJ at the same time. In other words, the cameras 21 and 22 may capture images of the object OBJ such that the 2D imaging time at which the camera 21 captures the image of the object OBJ and the 3D imaging time at which the camera 22 captures the image of the object OBJ are different times. Note that the state in which the "2D imaging time and the 3D imaging time are different times" may include a state in which the "time difference between the 2D imaging time and the 3D imaging time is greater than a first allowable upper limit value and therefore the 2D imaging time and the 3D imaging time cannot be considered to be substantially the same time."

[0069] In the present embodiment, when the cameras 21 and 22 capture images of the object OBJ during a period in which the cameras 21 and 22 are displaced relative to the object OBJ, the cameras 21 and 22 may capture images of the object OBJ so that the 2D imaging time and the 3D imaging time are the same. In other words, when the cameras 21 and 22 capture images of the object OBJ during a period in which the cameras 21 and 22 are displaced relative to the object OBJ, the control device 3 may control the cameras 21 and 22 so that the 2D imaging time and the 3D imaging time are the same. Note that the state in which the cameras 21 and 22 are displaced relative to the object OBJ may mean a state in which the relative positional relationship between the cameras 21 and 22 and the object OBJ is changing. The state in which the cameras 21 and 22 are displaced relative to the object OBJ may mean a state in which the cameras 21 and 22 are moving relative to the object OBJ.

[0070] On the other hand, when the cameras 21 and 22 capture images of the object OBJ during a period in which there is no relative displacement between the cameras 21 and 22 and the object OBJ, the cameras 21 and 22 do not need to capture images of the object OBJ so that the 2D imaging time and the 3D imaging time are the same. That is, the control device 3 does not need to control the cameras 21 and 22 so that the 2D imaging time and the 3D imaging time are the same. For example, the cameras 21 and 22 may capture images of the object OBJ so that the 2D imaging time and the 3D imaging time are different times. That is, the control device 3 may control the cameras 21 and 22 so that the 2D imaging time and the 3D imaging time are different times. Note that the state in which there is no relative displacement between the cameras 21 and 22 and the object OBJ may include a state in which the relative positional relationship between the cameras 21 and 22 and the object OBJ is not changed. The state in which the cameras 21 and 22 and the object OBJ are not displaced relative to each other may include a state in which the cameras 21 and 22 and the object OBJ are not moving relative to each other. The state in which the cameras 21 and 22 and the object OBJ are not displaced relative to each other may include a state in which the cameras 21 and 22 and the object OBJ are stationary. Note that even when the cameras 21 and 22 capture images of the object OBJ during a period in which the cameras 21 and 22 and the object OBJ are not displaced relative to each other, the cameras 21 and 22 may capture images of the object OBJ so that the 2D imaging time and the 3D imaging time are the same. In other words, the control device 3 may control the cameras 21 and 22 so that the 2D imaging time and the 3D imaging time are the same.

[0071] The control device 3 performs robot control processing. The robot control processing may include processing for generating a robot control signal for controlling the robot 1. The control device 3 may perform end effector processing in addition to performing the robot control processing. The end effector control processing may include processing for generating an end effector control signal for controlling the end effector 4. The end effector processing may or may not be included in the robot control processing. In other words, the end effector control signal generated by the control device 3 may or may not be included in the robot control signal.

[0072] For convenience of explanation, the following description will be given assuming that the end effector control process is included in the robot control process (i.e., the end effector control signal is included in the robot control signal). Therefore, in the following description, the robot control process may refer to a process for generating at least one of a robot control signal and an end effector control signal. In addition, in the following description, the robot control signal may refer to at least one of a signal for controlling the robot 1 and a signal for controlling the end effector 4. Note that the robot control signal may also be simply referred to as a control signal.

[0073] The robot control signal may include a signal for controlling the robot 1 to move the robot 1. That is, the robot control signal may include a signal for controlling the robot arm 12 to move the robot arm 12. Specifically, the robot control signal may include a signal for controlling the robot 1 to move the movement reference point MBP, which moves as the robot 1 moves (i.e., the robot 1 is driven), to a desired position. That is, the robot control signal may include a signal for controlling the robot arm 12 to move the movement reference point MBP, which moves as the robot arm 12 moves, to a desired position. Because the end effector 4 moves as the robot 1 moves, the robot control signal may include a signal for controlling the robot 1 to move the movement reference point MBP, which moves in accordance with the movement of the end effector 4 in accordance with the movement of the robot 1 (i.e., the robot 1 is driven), to a desired position. That is, the robot control signal may include a signal for controlling the robot arm 12 to move the movement reference point MBP, which moves in accordance with the movement of the end effector 4 in accordance with the movement of the robot 1 (i.e., the robot 1 is driven), to a desired position. The moving reference point MBP may be simply referred to as a moving point.

[0074] In this embodiment, an example will be described in which the tool center point TCP of the end effector 4 is used as the movement reference point MBP. As an example, the tool center point TCP of the end effector 4 may refer to the point at which the end effector 4 contacts an object OBJ (e.g., a workpiece W). If the end effector 4 is a hand gripper as described above, the tool center point TCP may refer to a point in the space between the tips of multiple jaw members of the hand gripper. If the end effector 4 is a vacuum gripper as described above, the tool center point TCP may refer to a point in the space between multiple suction ports formed in the vacuum gripper, each capable of sucking gas. Such a tool center point TCP may be set by the user of the robot system SYS. Alternatively, the tool center point TCP may be set in advance for each end effector 4. The tool center point TCP may be at least a part of the robot arm 12. The tool center point TCP may be at least a part of the end effector 4.

[0075] However, at least one point other than the tool center point TCP may be used as the movement reference point MBP. For example, because at least a portion of the robot 1 moves as the robot 1 moves, at least a portion of the robot 1 may be used as the movement reference point MBP. At least one point of the robot 1 that is included in at least a portion of the robot 1 may be used as the movement reference point MBP. As an example, an arbitrary point on the surface of the robot 1 may be used as the movement reference point MBP. As another example, an arbitrary point inside the robot 1 may be used as the movement reference point MBP. Specifically, because at least a portion of the robot arm 12 moves as the robot 1 moves, at least a portion of the robot arm 12 may be used as the movement reference point MBP. At least one point of the robot arm 12 that is included in at least a portion of the robot arm 12 may be used as the movement reference point MBP. As an example, an arbitrary point on the surface of the robot arm 12 may be used as the movement reference point MBP. As another example, any point inside the robot arm 12 may be used as the movement reference point MBP. Similarly, because at least a portion of the end effector 4 attached to the robot 1 moves as the robot 1 moves, at least a portion of the end effector 4 may be used as the movement reference point MBP. At least one point of the end effector 4 that is included in at least a portion of the end effector 4 may be used as the movement reference point MBP. As an example, any point on the surface of the end effector 4 may be used as the movement reference point MBP. As another example, any point inside the end effector 4 may be used as the movement reference point MBP.

[0076] As an example, the tool center point TCP may be considered to be a point determined based on the end effector 4. In this case, any point determined based on the end effector 4 may be used as the movement reference point MBP. Furthermore, as an example, the tool center point TCP may be considered to be a point determined based on the robot 1 (particularly, the robot arm 12) to which the end effector 4 is attached. In this case, any point determined based on the robot 1 (particularly, the robot arm 12) may be used as the movement reference point MBP.

[0077] Furthermore, the robot control signal may include a signal for controlling the end effector 4 to perform a predetermined process, in addition to a signal for controlling the robot 1 to move the robot 1. For example, the robot control signal may include a signal for controlling the end effector 4 to perform a holding process to hold the workpiece W. For example, the robot control signal may include a signal for controlling the end effector 4 to perform a release process to release the held workpiece W.

[0078] The robot control signal generated by the control device 3 is output to the robot control device 13 of the robot 1. The robot control device 13 controls the operation of the robot 1 based on the robot control signal generated by the control device 3. For this reason, the robot control signal may include a signal for controlling the operation of the robot 1.

[0079] As described above, when the robot control signal includes a signal for controlling the robot arm 12, the robot control device 13 may control the robot arm 12 based on the robot control signal. For example, the robot control device 13 may control the operation of the actuator built into the joint 122 based on the robot control signal, thereby controlling the operation of the robot arm 12.

[0080] As described above, when the robot control signal includes a signal for controlling the end effector 4, the robot control device 13 may control the end effector 4 based on the robot control signal. For example, the robot control device 13 may control the operation of the end effector 4 by controlling the operation of an actuator that moves a hand gripper that constitutes the end effector 4 based on the robot control signal. For example, the robot control device 13 may control the operation of the vacuum device of a vacuum gripper that constitutes the end effector 4 based on the robot control signal.

[0081] The robot control signal may include a signal that can be used directly by the robot control device 13 to control the operation of the robot 1. The robot control signal may include a signal that can be used directly as a robot drive signal used by the robot control device 13 to control the operation of the robot 1. In this case, the robot control device 13 may use the robot control signal as is to control the operation of the robot 1. For example, the control device 3 may generate a drive signal for an actuator built into the joint 122 of the robot arm 12 as the robot control signal, and the robot control device 13 may use the robot control signal generated by the control device 3 as is to control the actuator built into the joint 122 of the robot arm 12. The robot control signal may include a signal that can be used directly by the robot control device 13 to control the operation of the end effector 4. The robot control signal may include a signal that can be used directly as an end effector drive signal used by the robot control device 13 to control the operation of the end effector 4. In this case, for example, the control device 3 may generate, as a robot control signal, a drive signal (end effector drive signal) for an actuator that moves a hand gripper that constitutes the end effector 4, and the robot control device 13 may use the robot control signal generated by the control device 3 as is to control the actuator of the end effector 4. For example, the control device 3 may generate, as a robot control signal, a drive signal (end effector drive signal) for driving a vacuum device of a vacuum gripper that constitutes the end effector 4, and the robot control device 13 may use the robot control signal generated by the control device 3 as is to control the vacuum device of the end effector 4.

[0082] As described above, if the robot control signal includes a signal that can be used directly by the robot control device 13 to control the operation of at least one of the robot 1 and the end effector 4, the robot 1 does not need to be equipped with the robot control device 13.

[0083] Alternatively, the robot control signal may include a signal that can be used by the robot control device 13 to generate a robot drive signal for controlling the operation of the robot 1. In this case, the robot control device 13 may generate a robot drive signal for controlling the operation of the robot 1 based on the robot control signal, and control the operation of the robot 1 based on the generated robot drive signal. For example, the robot control device 13 may generate a drive signal for an actuator built into the joint 122 of the robot arm 12 based on the robot control signal, and control the actuator built into the joint 122 of the robot arm 12 based on the generated signal.

[0084] The robot control signal may include a signal that can be used by the robot control device 13 to generate an end effector drive signal for controlling the operation of the end effector 4. In this case, the robot control device 13 may generate the end effector drive signal for controlling the operation of the end effector 4 based on the end effector control signal, and control the operation of the end effector 4 based on the generated end effector drive signal. For example, the robot control device 13 may generate a drive signal for an actuator of the end effector 4 based on the robot control signal, and control the actuator of the end effector 4 based on the generated signal.

[0085] Here, an example of the operation of the robot 1 in this embodiment will be described with reference to FIGS. 3(a) to 3(d) and 4(a) to 4(d).

[0086] Each of Figures 3(a) to 3(d) shows an example of the operation of the robot 1 for using the end effector 4 to hold (i.e., pick up) a workpiece W stored in a storage box CB, which is an example of a mounting device T. That is, each of Figures 3(a) to 3(d) shows an example of the operation of the robot 1 when the end effector 4 performs a holding process. Figures 3(a) to 3(d) show an example in which a single workpiece W is stored in the storage box CB. However, multiple workpieces W may be stored in the storage box CB. Note that the storage box CB may also be referred to as a container.

[0087] When a plurality of workpieces W are stored in the storage box CB, the plurality of workpieces W may be stored in a regular pattern in the storage box CB. For example, the plurality of workpieces W may be located at regular positions in the storage box CB. For example, the plurality of workpieces W may be located at predetermined regular positions in the storage box CB. For example, the plurality of workpieces W having predetermined regular postures may be located in the storage box CB.

[0088] Alternatively, when a plurality of workpieces W are stored in the storage box CB, the plurality of workpieces W may be stored irregularly in the storage box CB. For example, the plurality of workpieces W may be located at irregular positions within the storage box CB. For example, the plurality of workpieces W having irregular orientations may be stored in the storage box CB. Note that a state in which a plurality of workpieces W are stored irregularly in the storage box CB may be considered equivalent to a state in which a plurality of workpieces W are stored randomly or carelessly in the storage box CB. When a plurality of workpieces W are stored irregularly in the storage box CB, the orientation of a first workpiece W among the plurality of workpieces W may be different from the orientation of a second workpiece W that is different from the first workpiece W among the plurality of workpieces W. When a plurality of workpieces W are stored irregularly in the storage box CB, the orientation of the first workpiece W may be different from the orientation of the second workpiece W. When multiple workpieces W are stored irregularly in the storage box CB, a third workpiece W different from the first workpiece W may overlap a first workpiece W, while a fourth workpiece W different from the second workpiece W may not overlap a second workpiece W. When multiple workpieces W are stored irregularly in the storage box CB, a third workpiece W may overlap a first workpiece W, and a fourth workpiece W may overlap a second workpiece W, and the size of the overlapping area between the first workpiece W and the third workpiece W may be different from the size of the overlapping area between the second workpiece W and the fourth workpiece W.

[0089] 4(a) to 4(d) show an example of the operation of the robot 1 when releasing the workpiece W held by the end effector 4 so as to place the workpiece W held by the end effector 4 on a pallet PLT, which is an example of the placement device T. That is, each of Fig. 4(a) to 4(d) shows an example of the operation of the robot 1 when the end effector 4 performs a release process.

[0090] As shown in FIG. 3A , in order to hold the workpiece W, the robot 1 may move the tool center point TCP (i.e., the movement reference point MBP; the same applies hereinafter) to a first fine approach position PF1. In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP to the first fine approach position PF1. The first fine approach position PF1 is a position that satisfies the condition that each of the cameras 21 and 22 can capture an image of the workpiece W when the tool center point TCP is located at the first fine approach position PF1. In other words, the first fine approach position PF1 is a position that satisfies the condition that the workpiece W (e.g., the workpiece W to be processed by the end effector 4) is located within the imaging field of view of each of the cameras 21 and 22 when the tool center point TCP is located at the first fine approach position PF1. In particular, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the first standby position PW1 to the first fine approach position PF1. The first standby position PW1 may refer to a position where the tool center point TCP should be located when the robot 1 is waiting before the end effector 4 performs a predetermined process (here, a holding process) on the workpiece W. In other words, the first standby position PW1 may refer to a position where the end effector 4 should be waiting before the end effector 4 performs a predetermined process (here, a holding process) on the workpiece W. The first standby position PW1 may refer to a position farther away from the workpiece W (storage box CB) than the first fine approach position PF1.

[0091] In a situation where the tool center point TCP is located at the first standby position PW1, each of the cameras 21 and 22 may not be able to capture an image of the workpiece W. In this case, the operation of moving the tool center point TCP from the first standby position PW1 to the first fine approach position PF1 may be considered equivalent to the operation of moving the cameras 21 and 22, which are located at positions that satisfy the condition that each of the cameras 21 and 22 cannot capture an image of the workpiece W, to positions that satisfy the condition that each of the cameras 21 and 22 can capture an image of the workpiece W. The operation of moving the tool center point TCP from the first standby position PW1 to the first fine approach position PF1 may be considered equivalent to the operation of moving the tool center point TCP closer to the workpiece W until each of the cameras 21 and 22 becomes able to capture an image of the workpiece W.

[0092] However, in a situation where the tool center point TCP is located at the first standby position PW1, at least one of the cameras 21 and 22 may be able to capture an image of the workpiece W. Furthermore, in a situation where the tool center point TCP is located between the first standby position PW1 and the first fine approach position PF1, each of the cameras 21 and 22 may or may not be able to capture an image of the workpiece W. In other words, before the tool center point TCP reaches the first fine approach position PF1, each of the cameras 21 and 22 may or may not be able to capture an image of the workpiece W.

[0093] Note that, if at least one of the cameras 21 and 22 is capable of capturing an image of the workpiece W before the tool center point TCP reaches the first fine approach position PF1, at least one of the cameras 21 and 22 may actually capture an image of the workpiece W before the tool center point TCP reaches the first fine approach position PF1. Alternatively, even if at least one of the cameras 21 and 22 is capable of capturing an image of the workpiece W before the tool center point TCP reaches the first fine approach position PF1, at least one of the cameras 21 and 22 does not have to actually capture an image of the workpiece W before the tool center point TCP reaches the first fine approach position PF1.

[0094] The movement path MRr of the tool center point TCP from the first standby position PW1 to the first fine approach position PF1 (or the movement path MRr of an arbitrary movement reference point MBP) may be determined in advance by a recipe file 321. The recipe file 321 includes information defining the content of a series of operations to be performed by the robot system SYS using at least one of the robot 1 and the end effector 4. In other words, the recipe file 321 includes information regarding the content of settings of the robot system SYS for performing a series of operations using at least one of the robot 1 and the end effector 4. In this case, the control device 3 may generate, based on the recipe file 321, a robot control signal for moving the robot 1 so as to move the tool center point TCP from the first standby position PW1 to the first fine approach position PF1. In other words, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP along the movement path MRr defined by the recipe file 321.

[0095] Thereafter, as shown in FIG. 3B , the robot 1 may move the tool center point TCP from the first fine approach position PF1 to the holding target position PG. In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the first fine approach position PF1 to the holding target position PG. The holding target position PG is a position that satisfies the condition that the end effector 4 holds the workpiece W when the tool center point TCP is located at the holding target position PG. In other words, the holding target position PG is a position at which the end effector 4 holds the workpiece W. The holding target position PG may typically be a relative position determined based on the workpiece W to be held by the end effector 4. The holding target position PG is typically determined in advance by the recipe file 321. The holding target position PG may also be referred to as a position at which the end effector 4 can hold the workpiece W when the tool center point TCP is located at the holding target position PG.

[0096] As described above, when the tool center point TCP is located at the first fine approach position PF1, each of the cameras 21 and 22 can capture an image of the object OBJ (particularly, the workpiece W). In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the first fine approach position PF1 to the holding target position PG, based on at least one of the image data IMG_2D and IMG_3D output from the imaging device 2. Specifically, the control device 3 may calculate at least one of the position and orientation of the workpiece W in the global coordinate system of the robot system SYS, based on at least one of the image data IMG_2D and IMG_3D. For example, the control device 3 may calculate, as the position of the workpiece W in the global coordinate system, at least one of the position of the workpiece W along the X-axis of the global coordinate system, the position of the workpiece W along the Y-axis of the global coordinate system, and the position of the workpiece W along the Z-axis of the global coordinate system. For example, the control device 3 may calculate, as the orientation of the workpiece W in the global coordinate system, at least one of the orientation of the workpiece W about the X-axis of the global coordinate system, the orientation of the workpiece W about the Y-axis of the global coordinate system, and the orientation of the workpiece W about the Z-axis of the global coordinate system. Note that the operation of calculating at least one of the position and orientation of the workpiece W based on at least one of the image data IMG_2D and IMG_3D will be described in detail later. Furthermore, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the first fine approach position PF1 to the holding target position PG based on at least one of the calculated position and orientation of the workpiece W.

[0097] In this embodiment, the "position of an object" may mean at least one of the position of the object along a first axis, the position of the object along a second axis perpendicular to the first axis, and the position of the object along a third axis perpendicular to both the first and second axes. The "orientation of an object" may mean at least one of the orientation of the object around the first axis, the orientation of the object around the second axis perpendicular to the first axis, and the orientation of the object around a third axis perpendicular to both the first and second axes. In other words, the "orientation of an object" may mean at least one of the amount of rotation of the object around the first axis, the amount of rotation of the object around the second axis perpendicular to the first axis, and the amount of rotation of the object around the third axis perpendicular to both the first and second axes. In other words, the "posture of an object" may mean at least one of the position of the object in a rotational direction about a first axis, the position of the object in a rotational direction about a second axis that is perpendicular to the first axis, and the position of the object in a rotational direction about a third axis that is perpendicular to both the first and second axes.

[0098] The global coordinate system is a coordinate system that serves as the reference for the robot system SYS. For example, the global coordinate system may be a coordinate system that serves as the reference for the robot 1. The robot coordinate system described below may be used as the global coordinate system, or a coordinate system different from the robot coordinate system may be used. The global coordinate system may also be referred to as a world coordinate system.

[0099] In this case, the control device 3 may bring the tool center point TCP closer to the workpiece W while sequentially calculating at least one of the position and the orientation of the workpiece W based on at least one of the image data IMG_2D and IMG_3D while the tool center point TCP is moving from the first fine approach position PF1 to the holding target position PG (i.e., while the end effector 4 is moving). In other words, the control device 3 may bring the end effector 4 closer to the workpiece W while sequentially calculating at least one of the position and the orientation of the workpiece W based on at least one of the image data IMG_2D and IMG_3D while the tool center point TCP is moving from the first fine approach position PF1 to the holding target position PG (i.e., while the end effector 4 is moving). Alternatively, the control device 3 may calculate at least one of the position and the orientation of the workpiece W based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, when the tool center point TCP is located at the first fine approach position PF1, and may move the tool center point TCP closer to the workpiece W based on the calculation results of the at least one of the position and the orientation of the workpiece W. Specifically, the control device 3 may calculate at least one of the position and the orientation of the workpiece W based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, when the tool center point TCP is located at the first fine approach position PF1, and may calculate a movement path MRf of the tool center point TCP from the first fine approach position PF1 to the holding target position PG based on the calculation results of the at least one of the position and the orientation of the workpiece W, and move the tool center point TCP along the calculated movement path MRf.Alternatively, the control device 3 may calculate at least one of the position and orientation of the workpiece W based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, when the tool center point TCP is located at the first standby position PW1, calculate a movement path MRf of the tool center point TCP from the first standby position PW1 to the holding target position PG based on the calculation results of at least one of the position and orientation of the workpiece W, and move the tool center point TCP along the calculated movement path MRf. Note that when the movement path MRf along which the tool center point TCP moves is generated by the fine movement operation, information about the movement path MRf may be stored in the recipe file 321. The operation of calculating at least one of the position and orientation of the workpiece W based on at least one of the image data IMG_2D and IMG_3D and moving the end effector 4 (typically, moving it relative to the object OBJ) based on the calculation results of at least one of the position and orientation of the workpiece W may be referred to as a fine movement operation. The fine movement operation may be considered to be an operation that moves the tool center point TCP with higher accuracy (i.e., moves the end effector 4 with relatively higher accuracy) compared to the rough movement operation described below. However, the accuracy of movement of the tool center point TCP by the fine movement operation may be the same as the accuracy of movement of the tool center point TCP by the rough movement operation described below. On the other hand, as described above, when moving the tool center point TCP from the first standby position PW1 to the first fine approach position PF1, the control device 3 does not need to calculate at least one of the position and orientation of the workpiece W based on at least one of the image data IMG_2D and IMG_3D. Such an operation of moving the end effector 4 (typically, moving it relative to the object OBJ) without calculating at least one of the position and orientation of the workpiece W based on at least one of the image data IMG_2D and IMG_3D may be referred to as a rough movement operation.

[0100] However, the control device 3 may perform the rough movement operation by moving the end effector 4 based on at least one of the image data IMG_2D and IMG_3D.

[0101] For example, while the tool center point TCP is moving from the first waiting position PW1 to the first fine approach position PF1 (i.e., while the end effector 4 is moving), at least one of the position and posture of the workpiece W is sequentially calculated based on at least one of the image data IMG_2D and IMG_3D, and a movement path MRr of the tool center point TCP from the first waiting position PW1 (or from the current position) to the first fine approach position PF1 is calculated based on at least one of the position and posture of the workpiece W sequentially calculated, and the tool center point TCP is moved along the calculated movement path MRr. For example, as a rough movement operation, the control device 3 may calculate at least one of the position and posture of the workpiece W based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, at the time when the tool center point TCP is located at the first waiting position PW1, calculate a movement path MRr of the tool center point TCP from the first waiting position PW1 to the first fine approach position PF1 based on the calculation results of the position and posture of the workpiece W, and move the tool center point TCP along the calculated movement path MRr.

[0102] For example, as a rough movement operation, while the tool center point TCP is moving from the first waiting position PW1 to the first fine approach position PF1 (i.e., while the end effector 4 is moving), the control device 3 may sequentially calculate at least one of the position and posture of the storage box CB containing the workpiece W (or a peripheral object located around the workpiece W; the same applies hereinafter in this paragraph) based on at least one of the image data IMG_2D and IMG_3D, and may calculate a movement path MRr of the tool center point TCP from the first waiting position PW1 (or from the current position) to the first fine approach position PF1 based on at least one of the position and posture of the storage box CB that is sequentially calculated, and may then move the tool center point TCP along the calculated movement path MRr. For example, as a rough movement operation, the control device 3 may calculate at least one of the position and posture of the storage box CB containing the workpiece W (or a surrounding object located around the workpiece W; the same applies hereinafter in this paragraph) based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, at the time when the tool center point TCP is located at the first waiting position PW1, and based on the calculation results of at least one of the position and posture of the storage box CB, calculate a movement path MRr of the tool center point TCP from the first waiting position PW1 to the first fine approach position PF1, and move the tool center point TCP along the calculated movement path MRr.

[0103] For example, after the tool center point TCP is positioned at the first fine approach position PF1, the control device 3 may perform a rough movement operation by calculating at least one of the position and posture of the storage box CB containing the workpiece W based on at least one of the image data IMG_2D and IMG_3D, calculating a movement path of the tool center point TCP from the first fine approach position PF1 to the holding target position PG based on the calculation results of at least one of the position and posture of the storage box CB, and moving the tool center point TCP along the calculated movement path.

[0104] Furthermore, the control device 3 may calculate at least one of the position and orientation of the workpiece W in a coordinate system different from the global coordinate system based on at least one of the image data IMG_2D and IMG_3D, and generate a robot control signal based on at least one of the calculated position and orientation of the workpiece W.

[0105] After the tool center point TCP is positioned at the holding target position PG, the end effector 4 may hold the workpiece W. In this case, the control device 3 may generate a robot control signal for controlling the end effector 4 to hold the workpiece W.

[0106] After the end effector 4 holds the workpiece W, the robot 1 may move the end effector 4 so that the end effector 4 holding the workpiece W is retracted. Specifically, to retract the end effector 4, the robot 1 may move the tool center point TCP from the holding target position PG to the first fine approach position PF1, as shown in FIG. 3C . In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move (i.e., return) the tool center point TCP from the holding target position PG to the first fine approach position PF1. In particular, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the holding target position PG to the first fine approach position PF1, based on at least one of the image data IMG_2D and IMG_3D output from the imaging device 2. When moving the tool center point TCP from the holding target position PG to the first fine approach position PF1, the robot 1 may move the tool center point TCP along the same path as the path taken to move the tool center point TCP from the first fine approach position PF1 to the holding target position PG. The robot 1 does not have to move the tool center point TCP from the holding target position PG to the first fine approach position PF1. For example, the robot 1 may move the tool center point TCP to a position that is a predetermined distance along the Z axis from the holding target position PG.

[0107] Thereafter, to retract the end effector 4, the robot 1 may move the tool center point TCP from the first fine approach position PF1 to the second standby position PW2, as shown in FIG. 3( d ). In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the first fine approach position PF1 to the second standby position PW2. The second standby position PW2 may refer to the position where the tool center point TCP should be located when the robot 1 is on standby after the end effector 4 has performed a predetermined process (here, a holding process) on the workpiece W. In other words, the second standby position PW2 may refer to the position where the end effector 4 is on standby after the end effector 4 has performed a predetermined process (here, a holding process) on the workpiece W. The second standby position PW2 may be the same position as the first standby position PW1 or may be a position different from the second standby position PW2.

[0108] The movement path MRr of the tool center point TCP from the first fine approach position PF1 to the second standby position PW2 (or the movement path MRr of an arbitrary movement reference point MBP) may be determined in advance by the recipe file 321. In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the first fine approach position PF1 to the second standby position PW2, based on the recipe file 321. In other words, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP along the movement path MRr determined by the recipe file 321. Note that when moving the tool center point TCP from the first fine approach position PF1 to the second standby position PW2, the control device 3 does not need to calculate the position of the object OBJ (e.g., the container CB in the case of FIG. 3 ) based on at least one of the image data IMG_2D and IMG_3D.

[0109] The movement path MRr of the tool center point TCP from the first fine approach position PF1 to the second standby position PW2 and the movement path MRr of the tool center point TCP from the first standby position PW1 to the first fine approach position PF1 are indicated by the same reference symbol "MRr." This is because the movement path MRr of the tool center point TCP from the first fine approach position PF1 to the second standby position PW2 and the movement path MRr of the tool center point TCP from the first standby position PW1 to the first fine approach position PF1 are common in that they are both movement paths along which the tool center point TCP moves by the rough movement operation and are predetermined by the recipe file 321. In this case, the movement path MRr of the tool center point TCP from the first fine approach position PF1 to the second standby position PW2 and the movement path MRr of the tool center point TCP from the first standby position PW1 to the first fine approach position PF1 may be different from each other. That is, the first standby position PW1 and the second standby position PW2 may be different from each other. Alternatively, the movement path MRr of the tool center point TCP from the first fine approach position PF1 to the second standby position PW2 may be the same as the movement path MRr of the tool center point TCP from the first standby position PW1 to the first fine approach position PF1. That is, the first standby position PW1 and the second standby position PW2 may be the same.

[0110] Furthermore, as a rough movement operation, the control device 3 may sequentially calculate at least one of the position and posture of the workpiece W based on at least one of the image data IMG_2D and IMG_3D while the tool center point TCP is moving from the first fine approach position PF1 to the second waiting position PW2 (i.e., while the end effector 4 is moving), and may calculate a movement path MRr of the tool center point TCP from the first fine approach position PF1 (or from the current position) to the second waiting position PW2 based on at least one of the position and posture of the workpiece W that is sequentially calculated, and move the tool center point TCP along the calculated movement path MRr. As a rough movement operation, while the tool center point TCP is moving from the first fine approach position PF1 to the second waiting position PW2 (i.e., while the end effector 4 is moving), the control device 3 may sequentially calculate at least one of the position and posture of the storage box CB containing the workpiece W (or a peripheral object located around the workpiece W; the same applies hereinafter in this paragraph) based on at least one of the image data IMG_2D and IMG_3D, and may calculate a movement path MRr of the tool center point TCP from the first fine approach position PF1 (or from the current position) to the second waiting position PW2 based on at least one of the position and posture of the storage box CB that is sequentially calculated, and may move the tool center point TCP along the calculated movement path MRr. Alternatively, as a rough movement operation, the control device 3 may calculate at least one of the position and posture of the workpiece W based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, at the time when the tool center point TCP is located at the first fine approach position PF1, calculate a movement path MRr of the tool center point TCP from the first fine approach position PF1 to the second waiting position PW2 based on the calculation results of the position and posture of the workpiece W, and move the tool center point TCP along the calculated movement path MRr.As a rough movement operation, the control device 3 may calculate at least one of the position and posture of the storage box CB containing the workpiece W (or a surrounding object located around the workpiece W; the same applies hereinafter in this paragraph) based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, at the time when the tool center point TCP is located at the first fine approach position PF1, and may calculate a movement path MRr of the tool center point TCP from the first fine approach position PF1 to the second waiting position PW2 based on the calculation results of the position and posture of the storage box CB, and may move the tool center point TCP along the calculated movement path MRr.

[0111] After the tool center point TC has moved to the second standby position PW2, the end effector 4 may release the workpiece W that it is holding to another mounting device T (e.g., a pallet PLT or a storage box CB). In this case, the second standby position PW2 may be referred to as a release target position where the end effector 4 releases the workpiece W. After the tool center point TC has moved to the second standby position PW2, the end effector 4 may assemble the workpiece W that it is holding to another object (e.g., another workpiece W). In this case, the second standby position PW2 may be referred to as an assembly target position where the end effector 4 assembles the workpiece W to another object.

[0112] As described above, when a plurality of workpieces W are stored in the storage box CB, the robot 1 may move so that the end effector 4 sequentially holds the plurality of workpieces W. For example, the robot 1 may move so that the end effector 4 sequentially holds the plurality of workpieces W stored in an orderly manner in the storage box CB. For example, the robot 1 may move so that the end effector 4 sequentially holds the plurality of workpieces W stored in an irregular manner in the storage box CB.

[0113] 4A, to release the workpiece W being held, the robot 1 may move the tool center point TCP (i.e., the movement reference point MBP; the same applies hereinafter) to a second fine approach position PF2. In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP to the second fine approach position PF2. The second fine approach position PF2 is a position that satisfies the condition that each of the cameras 21 and 22 can capture an image of the mounting device T (i.e., the above-mentioned pallet PLT) when the tool center point TCP is located at the second fine approach position PF2. In other words, the second fine approach position PF2 is a position that satisfies the condition that the pallet PLT is located within the imaging angle of view of each of the cameras 21 and 22 when the tool center point TCP is located at the second fine approach position PF2. In particular, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the third standby position PW3 to the second fine approach position PF2. The third standby position PW3 may refer to a position where the tool center point TCP should be located when the robot 1 is waiting before the end effector 4 performs a predetermined process (here, a release process) on the workpiece W and the pallet PLT. In other words, the third standby position PW3 may refer to a position where the end effector 4 should be waiting before the end effector 4 performs a predetermined process (here, a release process) on the workpiece W and the pallet PLT.

[0114] When the tool center point TCP is located at the third standby position PW3, each of the cameras 21 and 22 may not be able to capture an image of the pallet PLT. In this case, the operation of moving the tool center point TCP from the third standby position PW3 to the second fine approach position PF2 may be considered equivalent to the operation of moving the cameras 21 and 22, which are located at positions that satisfy the condition that each of the cameras 21 and 22 cannot capture an image of the pallet PLT, to positions that satisfy the condition that each of the cameras 21 and 22 can capture an image of the pallet PLT. The operation of moving the tool center point TCP from the third standby position PW3 to the second fine approach position PF2 may be considered equivalent to the operation of moving the tool center point TCP closer to the pallet PLT until each of the cameras 21 and 22 can capture an image of the pallet PLT.

[0115] However, when the tool center point TCP is located at the third standby position PW3, at least one of the cameras 21 and 22 may be able to capture an image of the pallet PLT. Also, when the tool center point TCP is located between the third standby position PW3 and the second fine approach position PF2, each of the cameras 21 and 22 may or may not be able to capture an image of the pallet PLT. In other words, before the tool center point TCP reaches the second fine approach position PF2, each of the cameras 21 and 22 may or may not be able to capture an image of the pallet PLT.

[0116] Note that, if at least one of the cameras 21 and 22 can image the pallet PLT before the tool center point TCP reaches the second fine approach position PF2, at least one of the cameras 21 and 22 may actually image the pallet PLT before the tool center point TCP reaches the second fine approach position PF2. Alternatively, even if at least one of the cameras 21 and 22 can image the pallet PLT before the tool center point TCP reaches the second fine approach position PF2, at least one of the cameras 21 and 22 does not have to actually image the pallet PLT before the tool center point TCP reaches the second fine approach position PF2.

[0117] The movement path MRr of the tool center point TCP from the third standby position PW3 to the second fine approach position PF2 (or the movement path MRr of an arbitrary movement reference point MBP) may be determined in advance by the recipe file 321. In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the third standby position PW3 to the second fine approach position PF2, based on the recipe file 321. In other words, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP along the movement path MRr determined by the recipe file 321.

[0118] After performing the holding process shown in Figures 3(a) to 3(d), the robot 1 may subsequently perform the release process shown in Figures 4(a) to 4(d). In this case, the third standby position PW3 shown in Figure 4(a) may be the same position as the first fine approach position PF1 or the second standby position PW2 shown in Figure 3(d). The third standby position PW3 shown in Figure 4(a) may be a position near the first fine approach position PF1 or the second standby position PW2 shown in Figure 3(d).

[0119] Thereafter, as shown in FIG. 4B , the robot 1 may move the tool center point TCP from the second fine approach position PF2 to the release target position PR. In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the second fine approach position PF2 to the release target position PR. The release target position PR is a position that satisfies the condition that the end effector 4 releases the workpiece W when the tool center point TCP is located at the release target position PR. In other words, the release target position PR is the position at which the end effector 4 releases the workpiece W. The release target position PR may typically be a relative position determined based on the pallet PLT from which the end effector 4 should release the workpiece W. The release target position PR is typically determined in advance by the recipe file 321. The release target position PR may also be referred to as a position where the end effector 4 can properly release (place) the workpiece W onto the pallet PLT (for example, the workpiece W can be placed without damaging it by contact with the pallet PLT, etc.) when the tool center point TCP is located at the release target position PR.

[0120] As described above, when the tool center point TCP is located at the second fine approach position PF2, each of the cameras 21 and 22 can capture an image of the object OBJ (particularly, the pallet PLT). In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the second fine approach position PF2 to the release target position PR, based on at least one of the image data IMG_2D and IMG_3D output from the imaging device 2. Specifically, the control device 3 may calculate at least one of the position and orientation of the pallet PLT in the global coordinate system of the robot system SYS, based on the image data IMG_2D and IMG_3D. For example, the control device 3 may calculate, as the position of the pallet PLT in the global coordinate system, at least one of the position of the pallet PLT along the X-axis of the global coordinate system, the position of the pallet PLT along the Y-axis of the global coordinate system, and the position of the pallet PLT along the Z-axis of the global coordinate system. For example, the control device 3 may calculate, as the orientation of the pallet PLT in the global coordinate system, at least one of the orientation of the pallet PLT around the X-axis of the global coordinate system, the orientation of the pallet PLT around the Y-axis of the global coordinate system, and the orientation of the pallet PLT around the Z-axis of the global coordinate system. Note that the operation of calculating at least one of the position and orientation of the pallet PLT based on at least one of the image data IMG_2D and IMG_3D will be described in detail later. Furthermore, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the second fine approach position PF2 to the release target position PR based on at least one of the calculated position and orientation of the pallet PLT.

[0121] In this case, the control device 3 may bring the tool center point TCP closer to the pallet PLT while sequentially calculating at least one of the position and orientation of the pallet PLT based on at least one of the image data IMG_2D and IMG_3D while the tool center point TCP is moving from the second fine approach position PF2 to the release target position PR (i.e., while the end effector 4 is moving). In other words, the control device 3 may bring the end effector 4 closer to the pallet PLT while sequentially calculating at least one of the position and orientation of the pallet PLT based on at least one of the image data IMG_2D and IMG_3D while the tool center point TCP is moving from the second fine approach position PF2 to the release target position PR (i.e., while the end effector 4 is moving). Alternatively, the control device 3 may calculate at least one of the position and orientation of the pallet PLT based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, when the tool center point TCP is located at the second fine approach position PF2, and may move the tool center point TCP closer to the pallet PLT based on the calculation result of at least one of the position and orientation of the pallet PLT. Specifically, the control device 3 may calculate at least one of the position and orientation of the pallet PLT based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, when the tool center point TCP is located at the second fine approach position PF2, calculate a movement path MRf of the tool center point TCP from the second fine approach position PF2 to the release target position PR based on the calculation result of at least one of the position and orientation of the pallet PLT, and move the tool center point TCP along the calculated movement path MRf.Alternatively, the control device 3 may calculate at least one of the position and orientation of the pallet PLT based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, when the tool center point TCP is located at the third waiting position PW3, calculate a movement path MRf of the tool center point TCP from the third waiting position PW3 to the release target position PR based on the calculation results of at least one of the position and orientation of the pallet PLT, and move the tool center point TCP along the calculated movement path MRf. Therefore, the operation of moving the tool center point TCP from the second fine approach position PF2 or the third waiting position PW3 to the release target position PR based on at least one of the image data IMG_2D and IMG_3D may be considered an example of a fine movement operation. Note that when the movement path MRf along which the tool center point TCP moves is generated by the fine movement operation, information about the movement path MRf may be stored in the recipe file 321. On the other hand, as described above, when moving the tool center point TCP from the third standby position PW3 to the second fine approach position PF2, the control device 3 does not need to calculate at least one of the position and orientation of the pallet PLT based on at least one of the image data IMG_2D and IMG_3D. Therefore, the operation of moving the tool center point TCP from the third standby position PW3 to the second fine approach position PF2 without using at least one of the image data IMG_2D and IMG_3D may be considered an example of a rough movement operation.

[0122] However, the control device 3 may perform the rough movement operation by moving the end effector 4 based on at least one of the image data IMG_2D and IMG_3D.

[0123] For example, as a rough movement operation, the control device 3 may sequentially calculate at least one of the position and orientation of the pallet PLT based on at least one of the image data IMG_2D and IMG_3D while the tool center point TCP is moving from the third waiting position PW3 to the second fine approach position PF2 (i.e., while the end effector 4 is moving), and may calculate a movement path MRr of the tool center point TCP from the third waiting position PW3 (or from the current position) to the second fine approach position PF2 based on at least one of the position and orientation of the pallet PLT that is sequentially calculated, and move the tool center point TCP along the calculated movement path MRr. For example, as a rough movement operation, the control device 3 may calculate at least one of the position and posture of the pallet PLT based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, at the time when the tool center point TCP is located at the third waiting position PW3, calculate a movement path MRr of the tool center point TCP from the third waiting position PW3 to the second fine approach position PF2 based on the calculation results of at least one of the position and posture of the pallet PLT, and move the tool center point TCP along the calculated movement path MRr.

[0124] For example, as a rough movement operation, the control device 3 may sequentially calculate at least one of the positions and orientations of surrounding objects located around the pallet PLT based on at least one of the image data IMG_2D and IMG_3D while the tool center point TCP is moving from the third waiting position PW3 to the second fine approach position PF2 (i.e., while the end effector 4 is moving), and may calculate a movement path MRr of the tool center point TCP from the third waiting position PW3 (or from the current position) to the second fine approach position PF2 based on at least one of the positions and orientations of the surrounding objects that are sequentially calculated, and move the tool center point TCP along the calculated movement path MRr. For example, as a rough movement operation, the control device 3 may calculate at least one of the positions and postures of surrounding objects located around the pallet PLT based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, at the time when the tool center point TCP is located at the third waiting position PW3, calculate a movement path MRr of the tool center point TCP from the third waiting position PW3 to the second fine approach position PF2 based on the calculation results of the position and posture of at least one of the surrounding objects, and move the tool center point TCP along the calculated movement path MRr.

[0125] For example, after the tool center point TCP is positioned at the second fine approach position PF2, the control device 3 may perform a rough movement operation by calculating at least one of the positions and orientations of surrounding objects located around the pallet PLT based on at least one of the image data IMG_2D and IMG_3D, calculating a movement path of the tool center point TCP from the second fine approach position PF2 to the release target position PR based on the calculation results of the position and orientation of at least one of the surrounding objects, and moving the tool center point TCP along the calculated movement path.

[0126] Furthermore, the control device 3 may calculate at least one of the position and orientation of the pallet PLT in a coordinate system different from the global coordinate system based on at least one of the image data IMG_2D and IMG_3D, and generate a robot control signal based on at least one of the calculated position and orientation of the pallet PLT.

[0127] After the tool center point TCP is positioned at the release target position PR, the end effector 4 may release the workpiece W that it is holding. In this case, the control device 3 may generate a robot control signal for controlling the end effector 4 to release the workpiece W that it is holding. As a result, the end effector 4 places the workpiece W that it has been holding on the pallet PLT.

[0128] After the end effector 4 releases the workpiece W, the robot 1 may move the end effector 4 so that the end effector 4 that has released the workpiece W retracts. Specifically, to retract the end effector 4, the robot 1 may move the tool center point TCP from the release target position PR to the second fine approach position PF2, as shown in FIG. 4C . In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move (i.e., return) the tool center point TCP from the release target position PR to the second fine approach position PF2. In particular, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the release target position PR to the second fine approach position PF2, based on at least one of the image data IMG_2D and IMG_3D output from the imaging device 2. When moving the tool center point TCP from the release target position PR to the second fine approach position PF2, the robot 1 may move the tool center point TCP along the same path as the path taken from the second fine approach position PF2 to the release target position PR. The robot 1 does not have to move the tool center point TCP from the release target position PR to the second fine approach position PF2. For example, the robot 1 may move the tool center point TCP to a position that is a predetermined distance along the Z axis from the release target position PR.

[0129] Thereafter, to retract the end effector 4, the robot 1 may move the tool center point TCP from the second fine approach position PF2 to the fourth standby position PW4, as shown in FIG. 4( d ). In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the second fine approach position PF2 to the fourth standby position PW4. The fourth standby position PW4 may refer to the position where the tool center point TCP should be located when the robot 1 is waiting after the end effector 4 has performed a predetermined process (here, a release process) on the workpiece W. In other words, the fourth standby position PW4 may refer to the position where the end effector 4 is waiting after the end effector 4 has performed a predetermined process (here, a release process) on the workpiece W. The fourth standby position PW4 may be the same position as the third standby position PW3 or may be a position different from the third standby position PW3.

[0130] The movement path MRr of the tool center point TCP from the second fine approach position PF2 to the fourth standby position PW4 (or the movement path MRr of an arbitrary movement reference point MBP) may be determined in advance by the recipe file 321. In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the second fine approach position PF2 to the fourth standby position PW4, based on the recipe file 321. In other words, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP along the movement path MRr determined by the recipe file 321. Note that when moving the tool center point TCP from the second fine approach position PF2 to the fourth standby position PW4, the control device 3 does not need to calculate the position of the object OBJ based on at least one of the image data IMG_2D and IMG_3D.

[0131] The movement path MRr of the tool center point TCP from the second fine approach position PF2 to the fourth standby position PW4 and the movement path MRr of the tool center point TCP from the third standby position PW3 to the second fine approach position PF2 are indicated by the same reference symbol "MRr." This is because the movement path MRr of the tool center point TCP from the second fine approach position PF2 to the fourth standby position PW4 and the movement path MRr of the tool center point TCP from the third standby position PW3 to the second fine approach position PF2 are common in that they are both movement paths along which the tool center point TCP moves by the rough movement operation and are predetermined by the recipe file 321. In this case, the movement path MRr of the tool center point TCP from the second fine approach position PF2 to the fourth standby position PW4 and the movement path MRr of the tool center point TCP from the third standby position PW3 to the second fine approach position PF2 may be different from each other. That is, the third standby position PW3 and the fourth standby position PW4 may be different from each other. Alternatively, the movement path MRr of the tool center point TCP from the second fine approach position PF2 to the fourth standby position PW4 may be the same as the movement path MRr of the tool center point TCP from the third standby position PW3 to the second fine approach position PF2. That is, the third standby position PW3 and the fourth standby position PW4 may be the same.

[0132] Furthermore, as a rough movement operation, the control device 3 may sequentially calculate at least one of the position and orientation of the pallet PLT based on at least one of the image data IMG_2D and IMG_3D while the tool center point TCP is moving from the second fine approach position PF2 to the fourth waiting position PW4 (i.e., while the end effector 4 is moving), and may calculate a movement path MRr of the tool center point TCP from the second fine approach position PF2 (or from the current position) to the fourth waiting position PW4 based on at least one of the position and orientation of the pallet PLT that is sequentially calculated, and move the tool center point TCP along the calculated movement path MRr. As a rough movement operation, the control device 3 may sequentially calculate at least one of the positions and orientations of surrounding objects located around the pallet PLT based on at least one of the image data IMG_2D and IMG_3D while the tool center point TCP is moving from the second fine approach position PF2 to the fourth waiting position PW4 (i.e., while the end effector 4 is moving), and may calculate a movement path MRr of the tool center point TCP from the second fine approach position PF2 (or from the current position) to the fourth waiting position PW4 based on at least one of the positions and orientations of the surrounding objects that are sequentially calculated, and move the tool center point TCP along the calculated movement path MRr. Alternatively, as a rough movement operation, the control device 3 may calculate at least one of the position and attitude of the pallet PLT based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, at the time when the tool center point TCP is located at the second fine approach position PF2, calculate a movement path MRr of the tool center point TCP from the second fine approach position PF2 to the fourth waiting position PW4 based on the calculation results of at least one of the position and attitude of the pallet PLT, and move the tool center point TCP along the calculated movement path MRr.As a rough movement operation, the control device 3 may calculate at least one of the positions and postures of surrounding objects located around the pallet PLT based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, at the time when the tool center point TCP is located at the second fine approach position PF2, calculate a movement path MRr of the tool center point TCP from the second fine approach position PF2 to the fourth waiting position PW4 based on the calculation results of the position and posture of the surrounding object, and move the tool center point TCP along the calculated movement path MRr.

[0133] The robot 1 may move such that the end effector 4 sequentially releases multiple workpieces W onto the pallet PLT. That is, the robot 1 may move such that the end effector 4 sequentially places multiple workpieces W on the pallet PLT. For example, the robot 1 may move such that the end effector 4 regularly places multiple workpieces W on the pallet PLT (that is, places multiple workpieces W in an aligned order). For example, the robot 1 may move such that the end effector 4 irregularly places multiple workpieces W on the pallet PLT (that is, places multiple workpieces W at random positions and / or with random postures).

[0134] The robot 1 may move so that the end effector 4 sequentially holds and then releases multiple workpieces W. That is, the robot 1 may alternately perform the holding processes shown in FIGS. 3( a) to 3(d) and the release processes shown in FIGS. 4( a) to 4(d). For example, the robot 1 may perform a first holding process to hold a first workpiece W, then a first release process to release the first workpiece W to the pallet PLT, then a holding process to hold a second workpiece W different from the first workpiece W, and then a release process to release the second workpiece W to the pallet PLT. In this case, the second standby position PW2 in the first holding process may be the same as the third standby position PW3 or the second fine approach position PF2 in the first release process. The fourth standby position PW4 in the first release process may be the same as the first standby position PW1 or the first fine approach position PF1 in the second holding process. The second standby position PW2 in the second holding process may be the same as the third standby position PW3 or the second fine approach position PF2 in the second release process.

[0135] Note that even when the end effector 4 performs a predetermined process other than the holding process and the release process, the robot 1 may operate in the same manner as the operational modes shown in FIGS. 3( a) to 3(d) and 4(a) to 4(d). For example, the robot 1 may move the tool center point TCP from the pre-wait position PW_pre to the fine approach position PF. The fine approach position PF is a position that satisfies the condition that each of the cameras 21 and 22 can capture an image of the object OBJ when the tool center point TCP is located at the fine approach position PF. In other words, the fine approach position PF is a position that satisfies the condition that the object OBJ (e.g., the workpiece W to be processed by the end effector 4) is located within the imaging field of view of each of the cameras 21 and 22 when the tool center point TCP is located at the fine approach position PF. The pre-wait position PW_pre may refer to the position where the tool center point TCP should be located when the robot 1 is waiting before the end effector 4 performs a predetermined process on the object OBJ. In other words, the advance standby position PW_pre may refer to a position where the end effector 4 should wait before performing a predetermined process on the object OBJ. Each of the first fine approach position PF1 and the second fine approach position PF2 described above is a specific example of the fine approach position PF. Each of the first standby position PW1 and the third standby position PW3 described above is a specific example of the advance standby position PW_pre.

[0136] In a situation where the tool center point TCP is located at the pre-wait position PW_pre, each of the cameras 21 and 22 may not be able to capture an image of the object OBJ. In this case, the operation of moving the tool center point TCP from the pre-wait position PW_pre to the fine approach position PF may be considered equivalent to the operation of moving the cameras 21 and 22, which are located at positions that satisfy the condition that each of the cameras 21 and 22 cannot capture an image of the object OBJ, to positions that satisfy the condition that each of the cameras 21 and 22 can capture an image of the object OBJ. The operation of moving the tool center point TCP from the pre-wait position PW_pre to the fine approach position PF may be considered equivalent to the operation of moving the tool center point TCP closer to the object OBJ until each of the cameras 21 and 22 is able to capture an image of the object OBJ.

[0137] However, in a situation where the tool center point TCP is located at the advance waiting position PW_pre, at least one of the cameras 21 and 22 may be able to capture an image of the object OBJ. Also, in a situation where the tool center point TCP is located between the advance waiting position PW_pre and the fine approach position PF, each of the cameras 21 and 22 may or may not be able to capture an image of the object OBJ. In other words, before the tool center point TCP reaches the fine approach position PF, each of the cameras 21 and 22 may or may not be able to capture an image of the object OBJ.

[0138] Note that, if at least one of the cameras 21 and 22 can image the object OBJ before the tool center point TCP reaches the fine approach position PF, at least one of the cameras 21 and 22 may actually image the object OBJ before the tool center point TCP reaches the fine approach position PF. Alternatively, even if at least one of the cameras 21 and 22 can image the object OBJ before the tool center point TCP reaches the fine approach position PF, at least one of the cameras 21 and 22 does not have to actually image the object OBJ before the tool center point TCP reaches the fine approach position PF.

[0139] The movement path MRr of the tool center point TCP from the advance standby position PW_pre to the fine approach position PF may be determined in advance by the recipe file 321. In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the advance standby position PW_pre to the fine approach position PF, based on the recipe file 321. In other words, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP along the movement path MRr determined by the recipe file 321.

[0140] Thereafter, the robot 1 may move the tool center point TCP from the fine approach position PF2 to a processing target position PTP (described later). The processing target position PTP may refer to a position where the end effector 4 performs a predetermined process on the object OBJ. More specifically, the processing target position PTP may refer to the position of the tool center point TCP (i.e., the position of the movement reference point MBP) when the end effector 4 performs a predetermined process on the object OBJ. The processing target position PTP may typically be a relative position determined based on the object OBJ where the end effector 4 performs the predetermined process. The processing target position PTP is typically determined in advance by the recipe file 321. In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the fine approach position PF to the processing target position PTP. Note that the above-described holding target position PG and release target position PR are each a specific example of the processing target position PTP. The processing target position PTP may also be referred to as the position at which the end effector 4 can process an object OBJ (e.g., a workpiece W to be processed by the end effector 4) when the tool center point TCP is located at the processing target position PTP.

[0141] As described above, when the tool center point TCP is located at the fine approach position PF, each of the cameras 21 and 22 can capture an image of the object OBJ. In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the fine approach position PF to the processing target position PTP, based on at least one of the image data IMG_2D and IMG_3D output from the imaging device 2. Specifically, the control device 3 may calculate at least one of the position and orientation of the object OBJ in the global coordinate system of the robot system SYS, based on at least one of the image data IMG_2D and IMG_3D. The operation of calculating at least one of the position and orientation of the object OBJ based on at least one of the image data IMG_2D and IMG_3D will be described in detail later. Furthermore, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the fine approach position PF to the processing target position PTP based on at least one of the calculated position and posture of the object OBJ.

[0142] In this case, the control device 3 may bring the tool center point TCP closer to the object OBJ while sequentially calculating at least one of the position and the orientation of the object OBJ based on at least one of the image data IMG_2D and IMG_3D while the tool center point TCP is moving from the fine approach position PF to the processing target position PTP (i.e., while the end effector 4 is moving). In other words, the control device 3 may bring the end effector 4 closer to the object OBJ while sequentially calculating at least one of the position and the orientation of the object OBJ based on at least one of the image data IMG_2D and IMG_3D while the tool center point TCP is moving from the fine approach position PF to the processing target position PTP (i.e., while the end effector 4 is moving). Alternatively, the control device 3 may calculate at least one of the position and orientation of the object OBJ based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, at the time when the tool center point TCP is located at the fine approach position PF, and, based on the calculation results of at least one of the position and orientation of the object OBJ, move the tool center point TCP closer to the workpiece W. Specifically, the control device 3 may calculate at least one of the position and orientation of the object OBJ based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, at the time when the tool center point TCP is located at the fine approach position PF, calculate a movement path MRf of the tool center point TCP from the first fine approach position PF1 to the holding target position PG based on the calculation results of at least one of the position and orientation of the object OBJ, and move the tool center point TCP along the calculated movement path MRf.Alternatively, the control device 3 may calculate at least one of the position and orientation of the object OBJ based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, when the tool center point TCP is located at the pre-wait position PW_pre, calculate a movement path MRf of the tool center point TCP from the pre-wait position PW_pre to the processing target position PTP based on the calculation results of at least one of the position and orientation of the object OBJ, and move the tool center point TCP along the calculated movement path MRf. Therefore, the operation of moving the tool center point TCP from the fine approach position PF or the pre-wait position PW_pre to the processing target position PTP based on at least one of the image data IMG_2D and IMG_3D may be considered an example of a fine movement operation. Note that when the movement path MRf along which the tool center point TCP moves is generated by the fine movement operation, information about the movement path MRf may be stored in the recipe file 321. On the other hand, as described above, when moving the tool center point TCP from the advance standby position PW_pre to the fine approach position PF, the control device 3 does not need to calculate at least one of the position and the orientation of the object OBJ based on at least one of the image data IMG_2D and IMG_3D. Therefore, the operation of moving the tool center point TCP from the advance standby position PW_pre to the fine approach position PF without using at least one of the image data IMG_2D and IMG_3D may be considered an example of a rough movement operation.

[0143] However, the control device 3 may perform the rough movement operation by moving the end effector 4 based on at least one of the image data IMG_2D and IMG_3D.

[0144] For example, as a rough movement operation, the control device 3 may sequentially calculate at least one of the position and posture of the object OBJ based on at least one of the image data IMG_2D and IMG_3D while the tool center point TCP is moving from the advance waiting position PW_pre to the fine approach position PF (i.e., while the end effector 4 is moving), and may calculate a movement path MRr of the tool center point TCP from the advance waiting position PW_pre (or from the current position) to the fine approach position PF based on at least one of the position and posture of the object OBJ that is sequentially calculated, and move the tool center point TCP along the calculated movement path MRr. For example, as a rough movement operation, the control device 3 may calculate at least one of the position and posture of the object OBJ based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, at the time when the tool center point TCP is located at the advance waiting position PW_pre, calculate a movement path MRr of the tool center point TCP from the advance waiting position PW_pre to the fine approach position PF based on the calculation results of the position and posture of the object OBJ, and move the tool center point TCP along the calculated movement path MRr.

[0145] For example, as a rough movement operation, the control device 3 may sequentially calculate at least one of the positions and orientations of surrounding objects located around the object OBJ based on at least one of the image data IMG_2D and IMG_3D while the tool center point TCP is moving from the advance waiting position PW_pre to the fine approach position PF (i.e., while the end effector 4 is moving), and may calculate a movement path MRr of the tool center point TCP from the advance waiting position PW_pre (or from the current position) to the fine approach position PF based on at least one of the positions and orientations of the surrounding objects calculated sequentially, and move the tool center point TCP along the calculated movement path MRr. For example, as a rough movement operation, the control device 3 may calculate at least one of the positions and orientations of surrounding objects located around the object OBJ based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, at the time when the tool center point TCP is located at the advance waiting position PW_pre, calculate a movement path MRr of the tool center point TCP from the advance waiting position PW_pre to the fine approach position PF based on the calculation results of the position and orientation of at least one of the surrounding objects, and move the tool center point TCP along the calculated movement path MRr.

[0146] For example, after the tool center point TCP is positioned at the fine approach position PF, the control device 3 may perform a rough movement operation by calculating at least one of the positions and orientations of surrounding objects located around the object OBJ based on at least one of the image data IMG_2D and IMG_3D, calculating a movement path of the tool center point TCP from the fine approach position PF to the processing target position PTP based on the calculation results of the position and orientation of at least one of the surrounding objects, and moving the tool center point TCP along the calculated movement path.

[0147] Furthermore, the control device 3 may calculate at least one of the position and orientation of the object OBJ in a coordinate system different from the global coordinate system of the robot system SYS based on at least one of the image data IMG_2D and IMG_3D, and generate a robot control signal based on at least one of the calculated position and orientation of the object OBJ.

[0148] After the tool center point TCP is positioned at the processing target position PTP, the end effector 4 may perform a predetermined process on the object OBJ. In this case, the control device 3 may generate a robot control signal for controlling the end effector 4 to perform the predetermined process on the object OBJ.

[0149] After the end effector 4 performs a predetermined process on the object OBJ, the robot 1 may move the end effector 4 so that the end effector 4 is retracted. Specifically, to retract the end effector 4, the robot 1 may move the tool center point TCP from the processing target position PTP to the fine approach position PF. In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move (i.e., return) the tool center point TCP from the processing target position PTP to the fine approach position PF. In particular, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the processing target position PTP to the fine approach position PF, based on at least one of the image data IMG_2D and IMG_3D output from the imaging device 2. When moving the tool center point TCP from the processing target position PTO to the fine approach position PF, the robot 1 may move the tool center point TCP along the same path as the path taken to move the tool center point TCP from the fine approach position PF to the processing target position PTP. The robot 1 does not have to move the tool center point TCP from the processing target position PTP to the fine approach position PF. For example, the robot 1 may move the tool center point TCP to a position that is a predetermined distance along the Z axis from the processing target position PTP.

[0150] Thereafter, to retract the end effector 4, the robot 1 may move the tool center point TCP from the fine approach position PF to the post-standby position PW_post. In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the fine approach position PF to the post-standby position PW_post. The post-standby position PW_post may refer to the position where the tool center point TCP should be located when the robot 1 is waiting after the end effector 4 has performed a predetermined process on the object OBJ. In other words, the post-standby position PW_post may refer to the position where the end effector 4 should wait after performing a predetermined process on the object OBJ. Note that the post-standby position PW_post may be the same as the pre-standby position PW_pre or may be a position different from the pre-standby position PW_pre. The second standby position PW2 and the fourth standby position PW4 described above are each a specific example of the post standby position PW_post.

[0151] The movement path MRr of the tool center point TCP from the fine approach position PF to the post-standby position PW_post may be determined in advance by the recipe file 321. In this case, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP from the fine approach position PF to the post-standby position PW_post, based on the recipe file 321. In other words, the control device 3 may generate a robot control signal for moving the robot 1 so as to move the tool center point TCP along the movement path MRr determined by the recipe file 321. Note that when moving the tool center point TCP from the fine approach position PF to the post-standby position PW_post, the control device 3 does not need to calculate at least one of the position and the orientation of the object OBJ based on at least one of the image data IMG_2D and IMG_3D.

[0152] The movement path MRr of the tool center point TCP from the fine approach position PF to the post-standby position PW_post and the movement path MRr of the tool center point TCP from the pre-standby position PW_pre to the fine approach position PF are indicated by the same reference symbol "MRr." This is because the movement path MRr of the tool center point TCP from the fine approach position PF to the post-standby position PW_post and the movement path MRr of the tool center point TCP from the pre-standby position PW_pre to the fine approach position PF are common in that they are movement paths along which the tool center point TCP moves by a rough movement operation and are determined in advance by the recipe file 321. In this case, the movement path MRr of the tool center point TCP from the fine approach position PF to the post-standby position PW_post and the movement path MRr of the tool center point TCP from the pre-standby position PW_pre to the fine approach position PF may be different from each other. That is, the pre-standby position PW_pre and the post-standby position PW_post may be different from each other. Alternatively, the movement path MRr of the tool center point TCP from the fine approach position PF to the post-standby position PW_post may be the same as the movement path MRr of the tool center point TCP from the pre-standby position PW_pre to the fine approach position PF. That is, the pre-standby position PW_pre and the post-standby position PW_post may be the same.

[0153] Furthermore, as a rough movement operation, the control device 3 may sequentially calculate at least one of the position and posture of the object OBJ based on at least one of the image data IMG_2D and IMG_3D while the tool center point TCP is moving from the fine approach position PF to the post-waiting position PW_post (i.e., while the end effector 4 is moving), and may calculate a movement path MRr of the tool center point TCP from the fine approach position PF (or from the current position) to the post-waiting position PW_post based on the at least one of the position and posture of the object OBJ that is sequentially calculated, and move the tool center point TCP along the calculated movement path MRr. As a rough movement operation, the control device 3 may sequentially calculate at least one of the positions and orientations of surrounding objects located around the object OBJ based on at least one of the image data IMG_2D and IMG_3D while the tool center point TCP is moving from the fine approach position PF to the post-waiting position PW_post (i.e., while the end effector 4 is moving), and may calculate a movement path MRr of the tool center point TCP from the fine approach position PF (or from the current position) to the post-waiting position PW_post based on at least one of the positions and orientations of the surrounding objects that are sequentially calculated, and move the tool center point TCP along the calculated movement path MRr. Alternatively, as a rough movement operation, the control device 3 may calculate at least one of the position and posture of the object OBJ based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, at the time when the tool center point TCP is located at the fine approach position PF, calculate a movement path MRr of the tool center point TCP from the fine approach position PF to the post-standby position PW_post based on the calculation results of the at least one of the position and posture of the object OBJ, and move the tool center point TCP along the calculated movement path MRr.As a rough movement operation, the control device 3 may calculate at least one of the position and posture of surrounding objects located around the object OBJ based on at least one of the image data IMG_2D and IMG_3D generated by the cameras 21 and 22, respectively, at the time when the tool center point TCP is located at the fine approach position PF, calculate a movement path MRr of the tool center point TCP from the fine approach position PF to the post-standby position PW_post based on the calculation results of the position and posture of the surrounding objects, and move the tool center point TCP along the calculated movement path MRr.

[0154] The fine approach position PF may be considered to be closer to the object OBJ than the pre-wait position PW_pre, which is the movement start position of the tool center point TCP, and the post-wait position PW_post, which is the movement end position of the tool center point TCP. In other words, the fine approach position PF may be considered to be closer to the object OBJ than the movement start position of the end effector 4 and the movement end position of the end effector 4. Therefore, the fine approach position PF may be referred to as a first approach position. Similarly, the processing target position PTP may be considered to be closer to the object OBJ than either of the fine approach positions PF. Therefore, the processing target position PTP may be referred to as a second approach position. In this way, the control device 3, the robot control device 13, and the imaging device 2 are each used to control the robot 1. Therefore, a system including at least one of the control device 3, the robot control device 13, and the imaging device 2 may be referred to as a robot control system, a control system, or an imaging system. A system including at least two of the control device 3, the robot control device 13, and the imaging device 2 may be referred to as a robot control system, a control system, or an imaging system. A system including the control device 3, the robot control device 13, and the imaging device 2 may be referred to as a robot control system, a control system, or an imaging system.

[0155] (1-2) Configuration of the Control Device 3 Next, the configuration of the control device 3 will be described with reference to Fig. 5. Fig. 5 is a block diagram showing the configuration of the control device 3.

[0156] 5, the control device 3 includes a calculation device 31, a storage device 32, and a communication device 33. The control device 3 may further include an input device 34 and a display device 35. However, the control device 3 does not necessarily have to include at least one of the input device 34 and the display device 35. The calculation device 31, the storage device 32, the communication device 33, the input device 34, and the display device 35 may be connected via a data bus 36.

[0157] The arithmetic device 31 includes, for example, at least one of a central processing unit (CPU), a graphics processing unit (GPU), and a field programmable gate array (FPGA). The arithmetic device 31 reads a computer program. For example, the arithmetic device 31 may read a computer program stored in the storage device 32. For example, the arithmetic device 31 may read a computer program stored in a computer-readable, non-transitory storage medium using a storage medium reading device (not shown) included in the control device 3. The arithmetic device 31 may acquire (i.e., download or read) the computer program from a device (not shown) located outside the control device 3 via the communication device 33 (or another communication device). The arithmetic device 31 executes the read computer program. As a result, a logical function block for executing the processing to be performed by the control device 3 (for example, the robot control processing described above) is realized within the arithmetic device 31. In other words, the arithmetic device 31 can function as a controller for realizing the logical function block for executing the processing to be performed by the control device 3.

[0158] A computational model that can be constructed by machine learning may be implemented in the computational device 31 by the computational device 31 executing a computer program. An example of a computational model that can be constructed by machine learning is a computational model including a neural network (so-called artificial intelligence (AI)). In this case, learning of the computational model may include learning of parameters of the neural network (e.g., at least one of a weight and a bias). The computational device 31 may execute a robot control process using the computational model. In other words, the operation of executing the robot control process may include the operation of executing the robot control process using the computational model. Note that a computational model that has been constructed by offline machine learning using teacher data may be implemented in the computational device 31. Furthermore, the computational model implemented in the computational device 31 may be updated by online machine learning on the computational device 31. Alternatively, the calculation device 31 may perform robot control processing using a calculation model implemented in a device external to the calculation device 31 (i.e., a device provided outside the control device 3) in addition to or instead of the calculation model implemented in the calculation device 31.

[0159] The recording medium for recording the computer program executed by the arithmetic unit 31 may be at least one of the following: a CD-ROM, CD-R, CD-RW, a flexible disk, an MO, a DVD-ROM, a DVD-RAM, a DVD-R, a DVD+R, a DVD-RW, a DVD+RW, and an optical disk such as Blu-ray (registered trademark), a magnetic medium such as a magnetic tape, a magneto-optical disk, a semiconductor memory such as a USB memory, and any other medium capable of storing a program. The recording medium may also include a device capable of recording a computer program (for example, a general-purpose device or a dedicated device in which a computer program is implemented in a state in which it can be executed in at least one form such as software and firmware). Furthermore, each process or function included in the computer program may be realized by a logical processing block realized within the arithmetic device 31 (i.e., a computer) when the arithmetic device 31 executes the computer program, or may be realized by hardware such as a predetermined gate array (FPGA (Field Programmable Gate Array), ASIC (Application Specific Integrated Circuit)) included in the arithmetic device 31, or may be realized in a form that mixes logical processing blocks and partial hardware modules that realize some elements of the hardware.

[0160] 5 shows an example of logical functional blocks implemented in the arithmetic device 31 for executing robot control processing. As shown in FIG. 5, the arithmetic device 31 includes a camera setting unit 311, a calibration unit 312 which may be referred to as a "arithmetic unit," a processing position and orientation setting unit 313 which may be referred to as a "setting unit," a recognition setting unit 314, a path generation unit 315, a robot control unit 316, a display signal generation unit 317 which may be referred to as a "signal generation unit," and a display signal output unit 318 which may be referred to as an "output unit." Note that the processes performed by the camera setting unit 311, the calibration unit 312, the processing position and orientation setting unit 313, the recognition setting unit 314, the path generation unit 315, the robot control unit 316, the display signal generation unit 317, and the display signal output unit 318 will be described in detail later with reference to FIG. 6 and the like, and therefore will not be described here.

[0161] The storage device 32 can store desired data. For example, the storage device 32 may temporarily store a computer program executed by the arithmetic device 31. The storage device 32 may temporarily store data that the arithmetic device 31 temporarily uses when the arithmetic device 31 is executing a computer program. The storage device 32 may also store data that the control device 3 stores long-term. The storage device 32 may include at least one of a RAM (Random Access Memory), a ROM (Read Only Memory), a hard disk device, a magneto-optical disk device, an SSD (Solid State Drive), and a disk array device. In other words, the storage device 32 may include a non-temporary recording medium.

[0162] In particular, in this embodiment, the storage device 32 stores a recipe file 321. As described above, the recipe file 321 includes information that defines the content of a series of operations that the robot system SYS should perform using at least one of the robot 1 and the end effector 4. In this embodiment, as will be described later, the control device 3 generates the recipe file 321 before actually moving the robot 1. The recipe file 321 generated by the control device 3 is stored in the storage device 32.

[0163] The communication device 33 is capable of communicating with each of the robot 1 and the imaging device 2 via a communication network (not shown). Alternatively, the communication device 33 may be capable of communicating with another device different from the robot 1 and the imaging device 2, in addition to or instead of at least one of the robot 1 and the imaging device 2, via a communication network (not shown). In this embodiment, the communication device 33 may receive (i.e., acquire) image data IMG_2D and IMG_3D from the imaging device 2. Furthermore, the communication device 33 may transmit (i.e., output) a robot control signal to the robot 1.

[0164] The input device 34 is a device that accepts information input to the control device 3 from outside the control device 3. For example, the input device 34 may include an operation device (for example, at least one of a keyboard, a mouse, and a touch panel) that can be operated by a user of the control device 3. For example, the input device 34 may include a recording medium reading device that can read information recorded as data on a recording medium that can be externally attached to the control device 3.

[0165] It should be noted that information can be input as data to the control device 3 from a device external to the control device 3 via the communication device 33. In this case, the communication device 33 may function as an input device that accepts information input to the control device 3 from outside the control device 3.

[0166] The display device 35 is a device capable of outputting information as an image to the outside of the control device 3. In other words, the display device 35 is a display device (a so-called display) capable of displaying an image.

[0167] The control device 3 can output information as data to a device external to the control device 3 via the communication device 33. In this case, the communication device 33 may function as an output device that outputs information to a device external to the control device 3.

[0168] (2) Robot Control Processing Next, the robot control processing (particularly the flow of the robot control processing) will be described with reference to Fig. 6. Fig. 5 is a flowchart showing the flow of the robot control processing.

[0169] 6, first, after the control device 3 is started, the control device 3 is connected to each of the robot 1 and the image capturing device 2 (step S1). Specifically, initial settings are performed regarding the connections between the control device 3 and each of the robot 1 and the image capturing device 2 so that the control device 3 can communicate with each of the robot 1 and the image capturing device 2.

[0170] Thereafter, the control device 3 generates the recipe file 321 (step S2). That is, the control device 3 generates the recipe file 321 before starting a predetermined process on the object OBJ using the end effector 4. The control device 3 generates the recipe file 321 before moving the robot 1.

[0171] To generate the recipe file 321, the control device 3 (particularly, the camera setting unit 311) may perform initial settings for the imaging device 2 (step S21). For example, the camera setting unit 311 may set imaging parameters that define the operation of the imaging device 2. For example, the camera setting unit 311 may set imaging parameters that define the operation of the imaging device 2 so that the camera 21 can appropriately generate the image data IMG_2D. For example, the camera setting unit 311 may set imaging parameters that define the operation of the imaging device 2 so that the camera 22 can appropriately generate the image data IMG_3D. An example of the imaging parameters is a parameter that defines at least one of the operation of the cameras 21 and 22. An example of the parameters that define at least one of the operation of the cameras 21 and 22 is at least one of exposure time, sensitivity, aperture value, exposure value, gamma value, shutter speed, and white balance. An example of the imaging parameters is a parameter that defines the operation of the projection device 23. Examples of parameters that define the operation of the projection device 23 include at least one of the intensity of the projection light, the projection pattern of the projection light, the projection timing of the projection light, and the projection time of the projection light.

[0172] The control device 3 may perform initial configuration of the imaging device 2 based on the characteristics of the object OBJ captured by the imaging device 2. Examples of the characteristics of the object OBJ include at least one of the size of the object OBJ, the shape of the object OBJ, and the optical characteristics of the object OBJ (e.g., optical characteristics for visible light). Examples of the optical characteristics of the object OBJ include at least one of reflectance, absorptance, scattering rate, and diffusion rate. Alternatively, the control device 3 may perform initial configuration of the imaging device 2 based on the conditions of the environment in which the object OBJ is located, in addition to or instead of the characteristics of the object OBJ captured by the imaging device 2. Examples of the conditions of the environment in which the object OBJ is located include the brightness of the environment (e.g., the intensity of ambient light such as sunlight or lighting).

[0173] Information relating to the results of the initial settings of the imaging device 2 (for example, information relating to the set imaging parameters) may be stored in the storage device 32 as at least a part of the recipe file 321 .

[0174] However, in order to generate the recipe file 321, the control device 3 (particularly, the camera setting unit 311) does not need to perform initial setting of the imaging device 2. In this case, the control device 3 (particularly, the arithmetic device 31) does not need to include the camera setting unit 311.

[0175] To generate the recipe file 321, the control device 3 (particularly, the calibration unit 312) may perform a calibration process for the imaging device 2 (step S21). The calibration process is a process for associating the robot coordinate system, which is the coordinate system of the robot 1, with the imaging coordinate system, which is the coordinate system of the imaging device 2.

[0176] The robot coordinate system may be a three-dimensional coordinate system defined based on the robot 1. The robot coordinate system is typically a three-dimensional coordinate system set on the base 11 provided on the robot 1. That is, the robot coordinate system is typically a three-dimensional coordinate system set on the base 11 that does not move even when the robot 1 operates (i.e., when the robot arm 12 moves). However, the robot coordinate system may typically be a three-dimensional coordinate system different from the three-dimensional coordinate system set on the base 11 provided on the robot 1. For example, the robot coordinate system may be a three-dimensional coordinate system set on the tip (i.e., the hand) of the robot arm 12. For example, the robot coordinate system may be a three-dimensional coordinate system set on the end effector 4 attached to the robot arm 12. For example, the robot coordinate system may be a three-dimensional coordinate system whose origin is the tool center point TCP of the end effector 4 attached to the robot arm 12.

[0177] The imaging coordinate system may be a three-dimensional coordinate system defined based on the imaging device 2 .

[0178] In this embodiment, since the imaging device 2 is equipped with the cameras 21 and 22, the imaging coordinate system may include at least one of a three-dimensional coordinate system defined with respect to the camera 21 and a three-dimensional coordinate system defined with respect to the camera 22. In the following description, the three-dimensional coordinate system defined with respect to the camera 21 will be referred to as a 2D imaging coordinate system, and the three-dimensional coordinate system defined with respect to the camera 22 will be referred to as a 3D imaging coordinate system. In this case, the control device 3 may perform, as the calibration process, at least one of a process of associating the robot coordinate system with the 2D imaging coordinate system and a process of associating the robot coordinate system with the 3D imaging coordinate system. The 2D imaging coordinate system is a coordinate system defined by an X-axis (2D), a Y-axis (2D), and a Z-axis (2D) that are orthogonal to each other. At least one of the X axis (2D), Y axis (2D), and Z axis (2D) may be an axis along the optical axis AX21 (see FIG. 2) of the optical system (particularly, the final optical element such as an objective lens) included in the camera 21. The 3D imaging coordinate system is a coordinate system defined by the X axis (3D), Y axis (3D), and Z axis (3D) that are orthogonal to each other. At least one of the X axis (3D), Y axis (3D), and Z axis (3D) may be an axis along the optical axis AX22 (see FIG. 2) of the optical system (particularly, the final optical element such as an objective lens) included in the camera 22. For example, if the camera 22 includes three or more monocular cameras as described above, the 3D imaging coordinate system may be a coordinate system based on any one of the three or more monocular cameras included in the camera 22. For example, if the camera 22 includes two monocular cameras, the 3D imaging coordinate system may be a coordinate system based on one of the two monocular cameras included in the camera 22. In this case, at least one of the X axis (3D), Y axis (3D), and Z axis (3D) may be an axis along the optical axis of the optical system (particularly, the final optical element such as an objective lens) that the monocular camera has.

[0179] The calibration process for associating the robot coordinate system with the image capture coordinate system may include a process for generating a calibration matrix for transforming three-dimensional coordinates in either the robot coordinate system or the image capture coordinate system into three-dimensional coordinates in the other of the robot coordinate system and the image capture coordinate system. The calibration matrix may include a translational transformation matrix for translating three-dimensional coordinates in either the robot coordinate system or the image capture coordinate system. That is, the calibration matrix may include a translational transformation matrix for transforming the position of an object in either the robot coordinate system or the image capture coordinate system into the position of the object in the other of the robot coordinate system and the image capture coordinate system. The calibration matrix may include a rotational transformation matrix for rotating three-dimensional coordinates in either the robot coordinate system or the image capture coordinate system. That is, the calibration matrix may include a rotational transformation matrix for transforming the orientation of an object in either the robot coordinate system or the image capture coordinate system into the orientation of the object in the other of the robot coordinate system and the image capture coordinate system. In this case, the calibration unit 312 may generate a calibration matrix including at least one of a translational transformation matrix and a rotational transformation matrix by performing the calibration process.

[0180] The calibration unit 312 may control the imaging device 2 to capture an image of a predetermined calibration member CP used for the calibration process, and generate the above-mentioned calibration matrix based on the calibration image data IMG_calib generated by the imaging device 2. Note that the calibration member CP may be located at a known position in the robot coordinate system. For example, the calibration unit 312 may control the camera 21 to capture an image of the predetermined calibration member CP used for the calibration process, and use the image data IMG_2D generated by the camera 21 as the calibration image data IMG_calib to generate a calibration matrix for converting three-dimensional coordinates in either the robot coordinate system or the 2D imaging coordinate system into three-dimensional coordinates in the other of the robot coordinate system and the 2D imaging coordinate system. For example, the calibration unit 312 may control the camera 22 to capture an image of a specified calibration member CP used for the calibration process, and use the image data IMG_3D generated by the camera 22 as calibration image data IMG_calib to generate a calibration matrix for converting three-dimensional coordinates in either the robot coordinate system or the 3D imaging coordinate system into three-dimensional coordinates in the other of the robot coordinate system and the 3D imaging coordinate system.

[0181] The calibration process for associating the robot coordinate system with the imaging coordinate system may be considered equivalent to a process for determining the relative positional relationship between the robot 1 (particularly, the robot arm 12), which serves as the reference for the robot coordinate system, and the imaging device 2, which serves as the reference for the imaging coordinate system. In other words, the calibration process for associating the robot coordinate system with the imaging coordinate system may be considered equivalent to a process for determining the relative position of the imaging device 2 with respect to the robot 1 (particularly, the robot arm 12). This is because the above-described calibration matrix is ​​a matrix specific to the relative positional relationship between the robot 1 (particularly, the robot arm 12) and the imaging device 2. As an example, the calibration process for associating the robot coordinate system with the 2D imaging coordinate system may be considered equivalent to a process for determining the relative positional relationship between the robot 1 (particularly, the robot arm 12) and the camera 21. As another example, the calibration process for associating the robot coordinate system with the 3D imaging coordinate system may be considered equivalent to a process for determining the relative positional relationship between the robot 1 (particularly, the robot arm 12) and the camera 22.

[0182] Information about the results of the calibration process (for example, information about the generated calibration matrix) may be stored in the storage device 32 as at least part of the recipe file 321.

[0183] However, in order to generate the recipe file 321, the control device 3 (particularly, the calibration unit 312) does not need to perform calibration processing of the imaging device 2. In this case, the control device 3 (particularly, the arithmetic device 31) does not need to include the calibration unit 312.

[0184] To generate the recipe file 321, the control device 3 (particularly, the processing position and orientation setting unit 313) may set processing position and orientation information PAI (step S23). The processing position and orientation information PAI includes information that can be used to calculate at least one of the position where the end effector 4 should be located when performing a predetermined process on the object OBJ (i.e., the processing target position PTP described above) and the orientation where the end effector 4 should take when performing a predetermined process on the object OBJ (hereinafter referred to as the processing target orientation PTA). The processing target position PTP where the end effector 4 performs a predetermined process on the object OBJ may be considered to mean the relative position of the end effector 4 with respect to the object OBJ. The processing target position PTP where the end effector 4 performs a predetermined process on the object OBJ may be considered to mean the relative position of the tool center point TCP with respect to the object OBJ. Furthermore, the processing target orientation PTA in which the end effector 4 performs a predetermined process on the object OBJ may be considered to mean the relative orientation of the end effector 4 with the object OBJ as the reference. The processing target orientation PTA in which the end effector 4 performs a predetermined process on the object OBJ may be considered to mean the relative orientation of the tool center point TCP with the object OBJ as the reference.

[0185] The processing position and orientation information PAI may include information indirectly indicating the processing target position PTP using the position of the end effector 4 relative to the object OBJ when the end effector 4 performs a predetermined process on the object OBJ. In other words, the processing position and orientation information PAI may include, as information for calculating the processing target position PTP, information indicating the position of the end effector 4 relative to the object OBJ when the end effector 4 performs a predetermined process on the object OBJ. Similarly, the processing position and orientation information PAI may include information indirectly indicating the processing target orientation PTA using the orientation of the end effector 4 relative to the object OBJ when the end effector 4 performs a predetermined process on the object OBJ. In other words, the processing position and orientation information PAI may include, as information for calculating the processing target orientation PTA, information indicating the orientation of the end effector 4 relative to the object OBJ when the end effector 4 performs a predetermined process on the object OBJ.

[0186] In particular, the processing target position PTP where the end effector 4 is actually located is a position in the global coordinate system, and the processing target orientation PTA actually taken by the end effector 4 is an orientation in the global coordinate system, but the processing position and orientation information PAI may indicate at least one of the processing target position PTP and the processing target orientation PTA using at least one of the position and orientation of the end effector 4 based on the object OBJ in a coordinate system different from the global coordinate system. For example, as will be described in detail later, the processing position and orientation setting unit 313 generates the processing position and orientation information PAI using an object model OM which is a three-dimensional model of the object OBJ, and an end effector model EM which is a three-dimensional model of the end effector 4. In this case, the processing position and orientation information PAI may indicate at least one of the processing target position PTP and the processing target orientation PTA by indicating at least one of the position and orientation of the end effector 4 with respect to the object OBJ when the end effector 4 performs a predetermined processing on the object OBJ in a coordinate system with the object model OM or the end effector model EM as the reference. Alternatively, the processing position and orientation information PAI may indicate at least one of the processing target position PTP and the processing target orientation PTA by indicating at least one of the position and orientation of the end effector 4 with respect to the object OBJ when the end effector 4 performs a predetermined processing on the object OBJ in a coordinate system defined separately from the global coordinate system with the object OBJ located in the global coordinate system as the reference. Alternatively, the processing position and orientation information PAI may indicate at least one of the processing target position PTP and the processing target orientation PTA by indicating at least one of the position and orientation of the end effector 4 based on the object OBJ when the end effector 4 performs a predetermined processing on the object OBJ within a coordinate system defined separately from the global coordinate system based on the end effector 4 located in the global coordinate system.Alternatively, the processing position and orientation information PAI may indicate at least one of the processing target position PTP and the processing target orientation PTA by indicating at least one of the position and orientation of the end effector 4 based on the object OBJ when the end effector 4 performs a predetermined processing on the object OBJ in a coordinate system defined separately from the global coordinate system with the tool center point TCP located in the global coordinate system as the reference. Note that the position of the end effector 4 based on the object OBJ may mean the position of the tool center point TCP based on the object OBJ. The orientation of the end effector 4 based on the object OBJ may mean the orientation of the tool center point TCP based on the object OBJ.

[0187] Note that the processing position and orientation information PAI indicating the position of the end effector 4 relative to the object OBJ may be considered to indicate the positional relationship between the object OBJ and the end effector 4. Furthermore, the processing position and orientation information PAI indicating the position of the end effector 4 relative to the object OBJ may be considered to indicate the position of the object OBJ relative to the end effector 4. Similarly, the processing position and orientation information PAI indicating the orientation of the end effector 4 relative to the object OBJ may be considered to indicate the orientation relationship between the object OBJ and the end effector 4. Furthermore, the processing position and orientation information PAI indicating the orientation of the end effector 4 relative to the object OBJ may be considered to indicate the orientation of the object OBJ relative to the end effector 4.

[0188] When the processing position and orientation information PAI indicates at least one of the position and orientation of the end effector 4 relative to the object OBJ, the control device 3 (particularly the robot control unit 316) may calculate at least one of the processing target position PTP and the processing target orientation PTA in the global coordinate system when performing the fine movement operation based on the calculation results of at least one of the position and orientation of the object OBJ in the global coordinate system and the processing position and orientation information PAI generated by the processing position and orientation setting unit 313. For example, the robot control unit 316 may calculate the processing target position PTP in the global coordinate system by changing the calculation result of the position of the object OBJ in the global coordinate system by an amount corresponding to the relative position of the end effector 4 with respect to the object OBJ indicated by the processing position and orientation information PAI. For example, the robot control unit 316 may calculate the processing target orientation PTA in the global coordinate system by changing the calculation result of the orientation of the object OBJ in the global coordinate system by an amount corresponding to the relative orientation of the end effector 4 with respect to the object OBJ indicated by the processing position and orientation information PAI. Thereafter, the robot control unit 316 may control the robot 1 so that the end effector 4 moves toward the calculated position to be processed PTP and / or so that the end effector 4 takes the calculated posture to be processed PTA. In other words, the robot control unit 316 may generate a movement path MRf along which the end effector 4 moves toward the calculated position to be processed PTP, and control the robot 1 so that the end effector 4 moves along the generated movement path MRf and / or so that the posture of the end effector 4 after moving along the movement path MRf becomes the posture to be processed PTA.

[0189] As an example, when performing a holding process in which the end effector 4 holds the workpiece W as described above, the processing position and orientation setting unit 313 may set, as the processing target position PTP, processing position and orientation information PAI that can be used to calculate the above-mentioned holding target position PG (see FIGS. 3B to 3C) at which the end effector 4 holds the workpiece W. Furthermore, the processing position and orientation setting unit 313 may set, as the processing target orientation PTA, processing position and orientation information PAI that can be used to calculate the orientation of the end effector 4 holding the workpiece W. As another example, when performing a release process in which the end effector 4 releases the workpiece W as described above, the processing position and orientation setting unit 313 may set, as the processing target position PTP, processing position and orientation information PAI that can be used to calculate the above-mentioned release target position PR (see FIGS. 4B to 4C) at which the end effector 4 releases the workpiece W. Furthermore, the processing position and orientation setting unit 313 may set, as the processing target orientation PTA, processing position and orientation information PAI that can be used to calculate the orientation of the end effector 4 releasing the workpiece W.

[0190] The processing position and orientation setting unit 313 may set processing position and orientation information PAI that can be used to calculate, as a processing target position PTP, at least one of the position of the end effector 4 along the X-axis of the global coordinate system, the position of the end effector 4 along the Y-axis of the global coordinate system, and the position of the end effector 4 along the Z-axis of the global coordinate system. The processing position and orientation setting unit 313 may set processing position and orientation information PAI that can be used to calculate, as a processing target orientation PTA, at least one of the orientation of the end effector 4 around the X-axis of the global coordinate system, the orientation of the end effector 4 around the Y-axis of the global coordinate system, and the orientation of the end effector 4 around the Z-axis of the global coordinate system. In other words, the processing position and orientation setting unit 313 may set processing position and orientation information PAI that can be used to calculate, as a processing target orientation PTA, at least one of the position of the end effector 4 in a rotational direction around the X-axis of the global coordinate system, the position of the end effector 4 in a rotational direction around the Y-axis of the global coordinate system, and the position of the end effector 4 in a rotational direction around the Z-axis of the global coordinate system.

[0191] The processing position and orientation setting unit 313 may set the processing target position PTP by setting the relative positional relationship between the end effector 4 and the object OBJ when the end effector 4 performs a predetermined process on the object OBJ. In other words, the processing position and orientation setting unit 313 may set the processing target position PTP by setting the relative position of the end effector 4 with respect to the object OBJ on which the end effector 4 performs a predetermined process. In this case, the processing target position PTP where the end effector 4 performs a predetermined process on the object OBJ may be considered to mean the relative position of the end effector 4 with respect to the object OBJ. Note that the processing target position PTP where the end effector 4 performs a predetermined process on the object OBJ may be considered to mean the relative position of the tool center point TCP with respect to the object OBJ.

[0192] The process of setting the processing target position PTP will be described in detail with reference to FIG. 11 and the like.

[0193] Information about the set processing target position PTP may be stored in the storage device 32 as at least a part of the recipe file 321 .

[0194] However, the control device 3 (particularly, the processing position and orientation setting unit 313) does not need to set the processing position and orientation information PAI to generate the recipe file 321. In this case, the control device 3 (particularly, the calculation device 31) does not need to include the processing position and orientation setting unit 313.

[0195] To generate the recipe file 321, the control device 3 (particularly, the recognition setting unit 314) may set object recognition parameters used to calculate at least one of the position and orientation of the object OBJ based on at least one of the image data IMG_2D and IMG_3D (step S24). An example of the object recognition parameter is a matching determination threshold, which will be described later. The matching determination threshold will be described later together with the process of step S33 in FIG. 6 for calculating at least one of the position and orientation of the object OBJ.

[0196] Information about the set object recognition parameters may be stored in the storage device 32 as at least part of the recipe file 321.

[0197] However, the control device 3 (particularly, the recognition setting unit 314) does not need to set object recognition parameters to generate the recipe file 321. In this case, the control device 3 (particularly, the arithmetic device 31) does not need to include the recognition setting unit 314.

[0198] To generate the recipe file 321, the control device 3 (particularly, the path generating unit 315) may generate a movement path MRr of the end effector 4 between the fine approach position PF and the pre-standby position PW_pre or the post-standby position PW_post (step S25). In the following description, the pre-standby position PW_pre and the post-standby position PW_post are collectively referred to as the "standby positions PW." In this embodiment, as described above, the path generating unit 315 may generate the movement path MRr of the tool center point TCP (or the movement path MRr of an arbitrary movement reference point MBP) as the movement path MRr of the end effector 4. The movement path MRr generated by the path generating unit 315 indicates the target of the movement path along which the end effector 4 (tool center point TCP) should move between the fine approach position PF and the stand-by position PW. Therefore, the movement path MRr may be referred to as a "target movement path."

[0199] However, in step S25, the path generating unit 315 may generate, as the movement path MRr, a series of paths including the movement path of the end effector 4 between the fine approach position PF and the processing target position PTP, in addition to the movement path of the end effector 4 between the fine approach position PF and the pre-wait position PW_pre or the post-wait position PW_post. In other words, the path generating unit 315 may generate the movement path MRf of the end effector 4 between the fine approach position PF and the processing target position PTP, which is generated by the robot control unit 316 based on at least one of the image data IMG_2D and IMG_3D, without using the image data IMG_2D and IMG_3D. In this case, the robot control unit 316 does not need to generate the movement path MRf of the end effector 4 between the fine approach position PF and the processing target position PTP when performing the above-described fine movement operation. The robot control unit 316 may control the robot 1 so that the end effector 4 moves between the fine approach position PF and the processing target position PTP along a movement path generated in advance by the path generation unit 315.

[0200] For example, when the end effector 4 performs a holding process to hold the workpiece W as shown in Figures 3(a) to 3(d), the path generating unit 315 may generate at least one of a movement path MRr of the tool center point TCP from the first standby position PW1 to the first fine approach position PF1 and a movement path MRr of the tool center point TCP from the first fine approach position PF1 to the second standby position PW2. For example, when the end effector 4 performs a release process to release the workpiece W as shown in Figures 4(a) to 4(d), the path generating unit 315 may generate at least one of a movement path MRr of the tool center point TCP from the third standby position PW3 to the second fine approach position PF2 and a movement path MRr of the tool center point TCP from the second fine approach position PF2 to the fourth standby position PW4.

[0201] The process of generating the travel route MRr will be described in detail later with reference to FIG. 19 and the like.

[0202] Information about the generated movement route MRr may be stored in the storage device 32 as at least a part of the recipe file 321 .

[0203] However, the control device 3 (particularly, the path generating unit 315) does not need to generate the movement path MRr in order to generate the recipe file 321. In this case, the control device 3 (particularly, the calculation device 31) does not need to include the path generating unit 315.

[0204] Thereafter, the control device 3 (particularly, the robot control unit 316) controls the operations of the robot 1 and the end effector 4 so that the end effector 4 performs a predetermined process (steps S31 to S37). That is, after creating the recipe file 321, the control device 3 starts moving the robot 1 based on the recipe file 321.

[0205] Specifically, first, the robot control unit 316 generates a robot control signal for controlling the robot 1 so that the tool center point TCP moves from the pre-wait position PW_pre to the fine approach position PF, based on the recipe file 321 generated in advance in step S2 (step S31). For example, when the end effector 4 performs a holding process to hold the workpiece W as shown in FIGS. 3A to 3D, the robot control unit 316 may generate a robot control signal for controlling the robot 1 so that the tool center point TCP moves along a movement path MRr from the first wait position PW1 to the first fine approach position PF1, as indicated by the recipe file 321. For example, when the end effector 4 performs a release process to release the workpiece W as shown in FIGS. 4A to 4D, the robot control unit 316 may generate a robot control signal for controlling the robot 1 so that the tool center point TCP moves along a movement path MRr from the second wait position PW2 to the second fine approach position PF2, as indicated by the recipe file 321. As a result, the robot 1 moves the tool center point TCP from the pre-standby position PW_pre to the fine approach position PF along the movement path MRr indicated by the recipe file 321.

[0206] After the tool center point TCP starts moving along the movement path MRr, the robot control unit 316 generates a robot control signal to control the robot 1 to move the tool center point TCP from the fine approach position PF to the processing target position PTP (steps S32 to S34).

[0207] Specifically, the robot control unit 316 acquires image data IMG_2D from the camera 21 using the communication device 33 (step S32). Specifically, the camera 21 captures an image of the object OBJ at a predetermined 2D imaging rate. For example, the camera 21 may capture an image of the object OBJ at a 2D imaging rate of tens to hundreds (e.g., 500 times) per second. As a result, the camera 21 generates image data IMG_2D at a period corresponding to the predetermined 2D imaging rate. For example, the camera 21 may generate tens to hundreds (e.g., 500) pieces of image data IMG_2D per second. The control device 3 acquires the image data IMG_2D each time the camera 21 generates image data IMG_2D. In other words, the robot control unit 316 may acquire tens to hundreds (e.g., 500) pieces of image data IMG_2D per second. Note that the camera 21 does not have to capture the object OBJ at a predetermined 2D imaging rate. For example, after the tool center point TCP starts moving along the movement path MRr, the camera 21 may capture the object OBJ one or more times to generate image data IMG_2D. The control device 3 may then acquire the generated image data IMG_2D.

[0208] The image data IMG_2D may also be referred to as two-dimensional position data indicating the two-dimensional position of the object OBJ reflected in the image data IMG_2D. The image data IMG_2D (two-dimensional position data) may be data indicating the two-dimensional position of at least a portion of the surface of the object OBJ. In particular, the image data IMG_2D (two-dimensional position data) is data indicating the two-dimensional position of each of multiple points on the object OBJ. For example, the image data IMG_2D (two-dimensional position data) may be data indicating the two-dimensional position of each of multiple points on the surface of the object OBJ. For example, the image data IMG_2D (two-dimensional position data) may be data indicating the two-dimensional position of each of multiple points corresponding to multiple portions on the surface of the object OBJ.

[0209] In addition to or instead of acquiring the image data IMG_2D, the robot control unit 316 further acquires image data IMG_3D from the camera 22 using the communication device 33 (step S32). Specifically, the camera 22 captures an image of the object OBJ at a predetermined 3D imaging rate. The 3D imaging rate is the same as the 2D imaging rate. However, the 3D imaging rate may be different from the 2D imaging rate. For example, the camera 22 may capture an image of the object OBJ at a 3D imaging rate of tens to hundreds (e.g., 500 times) per second. As a result, the camera 22 generates image data IMG_3D at a period corresponding to the predetermined 3D imaging rate. For example, the camera 22 may generate tens to hundreds (e.g., 500) pieces of image data IMG_3D per second. The robot control unit 316 acquires the image data IMG_3D each time the camera 22 generates image data IMG_3D. That is, the control device 3 may acquire tens to hundreds (for example, 500) of image data IMG_3D per second. The camera 22 does not have to capture images of the object OBJ at a predetermined 3D imaging rate. For example, after the tool center point TCP starts moving along the movement path MRr, the camera 22 may capture an image of the object OBJ one or more times to generate image data IMG_3D. The control device 3 may then acquire the generated image data IMG_3D.

[0210] Each time the robot control unit 316 acquires image data IMG_3D, the robot control unit 316 generates three-dimensional position data WSD based on the acquired image data IMG_3D. The three-dimensional position data WSD is data indicating the three-dimensional position of the object OBJ reflected in the image data IMG_3D. For example, the three-dimensional position data WSD may be data indicating the three-dimensional position of at least a portion of the surface of the object OBJ. In particular, the three-dimensional position data WSD is data indicating the three-dimensional position of each of multiple points on the surface of the object OBJ. For example, the three-dimensional position data WSD may be data indicating the three-dimensional position of each of multiple points on the surface of the object OBJ. For example, the three-dimensional position data WSD may be data indicating the three-dimensional position of each of multiple points corresponding to multiple portions on the surface of the object OBJ.

[0211] Specifically, as described above, the image represented by the image data IMG_3D reflects the object OBJ onto which the projection pattern is projected. In this case, the projection pattern reflected in the image represented by the image data IMG_3D reflects the three-dimensional shape of at least a portion of the surface of the object OBJ onto which the projection pattern is projected. The shape of the projection pattern reflected in the image represented by the image data IMG_3D reflects the three-dimensional shape of at least a portion of the surface of the object OBJ onto which the projection pattern is projected. Therefore, the robot control unit 316 can calculate the three-dimensional shape of at least a portion of the surface of the object OBJ based on the projection pattern reflected in the image represented by the image data IMG_3D. The three-dimensional shape of at least a portion of the surface of the object OBJ essentially indicates the three-dimensional positions of each of multiple points on the object OBJ. This is because each of the multiple points on the object OBJ is contained within the surface of the object OBJ. Therefore, the process of calculating the three-dimensional shape of at least a portion of the surface of the object OBJ may be considered to be substantially equivalent to the process of calculating the three-dimensional position of each of multiple points on the object OBJ. Therefore, the robot control unit 316 can generate the three-dimensional position data WSD based on the image data IMG_3D.

[0212] An example of the three-dimensional position data WSD is depth image data. The depth image data is image data in which depth information is associated with each pixel of a depth image represented by the depth image data, in addition to brightness information. The depth information is information indicating the distance (i.e., depth) between each part of the object OBJ reflected in each pixel and the camera 22. Note that the depth image data may also be image data in which the brightness information of each pixel indicates the depth of each part of the object OBJ (i.e., the distance between each part of the object OBJ and the camera 22). The robot control unit 316 may calculate the distance between each part of the object OBJ reflected in the image represented by the image data IMG_3D and the camera 22 based on the projection pattern reflected in the image represented by the image data IMG_3D, and associate the calculated distance with each pixel of the image represented by the image data IMG_3D as depth information, thereby generating a depth image.

[0213] Another example of the three-dimensional position data WSD is point cloud data. Point cloud data is data representing a collection of points in three-dimensional space corresponding to each portion of the object OBJ captured in the image represented by the image data IMG_3D. Point cloud data may also be referred to as data representing the three-dimensional position of each point corresponding to each portion of the object OBJ. The robot control unit 316 may generate the point cloud data using a well-known method. For example, the robot control unit 316 may generate the point cloud data based on the depth image data and the camera parameters of the camera 22. Note that the imaging device 2 (robot system SYS) may not be equipped with a projection device 23, and the projection device 23 may not project a projection pattern. In this case, the robot control unit 316 may generate the three-dimensional position data WSD based on image data IMG_3D generated by capturing an image of the object OBJ without a projection pattern projected thereon using the camera 22 using a well-known method.

[0214] Note that, if the camera 21 is capable of capturing an image of the object OBJ before the tool center point TCP reaches the fine approach position PF, the robot control unit 316 may acquire the image data IMG_2D from the camera 21 before the tool center point TCP reaches the fine approach position PF (step S32). That is, the robot control unit 316 may acquire the image data IMG_2D from the camera 21 while the tool center point TCP is moving along the movement path MRr. In other words, the robot control unit 316 may acquire the image data IMG_2D from the camera 21 while the camera 21 is moving relative to the object OBJ by driving the robot 1 so that the tool center point TCP moves along the movement path MRr. However, the robot control unit 316 may acquire the image data IMG_2D from the camera 21 after the tool center point TCP reaches the fine approach position PF. The robot control unit 316 may acquire image data IMG_2D from the camera 21 when the tool center point TCP has reached the fine approach position PF and the robot 1 is stopped (i.e., the camera 21 is stopped).

[0215] Similarly, if the camera 22 is capable of capturing an image of the object OBJ before the tool center point TCP reaches the fine approach position PF, the robot control unit 316 may acquire the image data IMG_3D from the camera 22 before the tool center point TCP reaches the fine approach position PF (step S32). That is, the robot control unit 316 may acquire the image data IMG_3D from the camera 22 while the tool center point TCP is moving along the movement path MRr. In other words, the robot control unit 316 may acquire the image data IMG_3D from the camera 22 while the camera 22 is moving relative to the object OBJ by driving the robot 1 so that the tool center point TCP moves along the movement path MRr. However, the robot control unit 316 may acquire the image data IMG_3D from the camera 22 after the tool center point TCP reaches the fine approach position PF. The robot control unit 316 may acquire image data IMG_3D from the camera 22 when the tool center point TCP has reached the fine approach position PF and the robot 1 is stopped (i.e., the camera 22 is stopped).

[0216] The robot control unit 316 may also generate the three-dimensional position data WSD before the tool center point TCP reaches the fine approach position PF. That is, the robot control unit 316 may generate the three-dimensional position data WSD while the tool center point TCP is moving along the movement path MRr. In other words, the robot control unit 316 may generate the three-dimensional position data WSD while the camera 22 is moving relative to the object OBJ by driving the robot 1 so that the tool center point TCP moves along the movement path MRr. However, the robot control unit 316 may also generate the three-dimensional position data WSD after the tool center point TCP reaches the fine approach position PF. The robot control unit 316 may also generate the three-dimensional position data WSD when the tool center point TCP reaches the fine approach position PF and the robot 1 is stopped (that is, the camera 22 is stopped).

[0217] Thereafter, the robot control unit 316 calculates at least one of the position and orientation of the object OBJ based on at least one of the image data IMG_2D and the three-dimensional position data WSD (step S33). In particular, in this embodiment, the robot control unit 316 may calculate at least one of the position and orientation of the object OBJ by performing a matching process using at least one of the image data IMG_2D and the three-dimensional position data WSD.

[0218] As a first example of a matching process, the robot control unit 316 may perform a 2D matching process using image data IMG_2D (two-dimensional position data) and two-dimensional model data indicating a two-dimensional model serving as a reference for an object OBJ. Specifically, as the 2D matching process, the robot control unit 316 may perform an object detection process in which, by using a two-dimensional model indicated by the two-dimensional model data as a template image within the image indicated by the image data IMG_2D, the robot control unit 316 detects an object OBJ indicated by the template image. In other words, as the matching process, the robot control unit 316 may perform an object detection process in which, by detecting a similar image portion within the image indicated by the image data IMG_2D that is similar to the template image, the robot control unit 316 detects an object OBJ within the image indicated by the image data IMG_2D. Note that the 2D matching process (in this case, the object detection process) itself may be the same as an existing matching process. For example, the robot controller 316 may perform the 2D matching process using well-known methods such as Scale-Invariant Feature Transform (SIFT) or Speed-Upped Robust Feature (SURF).

[0219] The two-dimensional model data may be data based on three-dimensional model data of the object OBJ. Here, the two-dimensional model data may be CAD (Computer Aided Design) model data of the object OBJ, or model data (data representing a polygon model or mesh model) of the object OBJ generated based on prior measurement results using a known three-dimensional shape measurement device or the camera 22. For example, the two-dimensional model data may be two-dimensional image data representing at least a portion of two-dimensional models of multiple objects OBJ, each generated by virtually projecting at least a portion of a three-dimensional model represented by the three-dimensional model data of the object OBJ from multiple different directions onto virtual planes perpendicular to each of the multiple different directions. Note that the two-dimensional model data does not have to be data based on the three-dimensional model data of the object OBJ. For example, the two-dimensional model data may be characteristic locations on an image represented by image data IMG_2D generated in advance by capturing an image of the object OBJ with the camera 21. For example, the characteristic location on the image represented by the image data IMG_2D may be at least one of a feature point and an edge of an object OBJ that appears in the image represented by the image data IMG_2D. If the characteristic location on the image represented by the image data IMG_2D includes an edge of the object OBJ, the two-dimensional model may be considered to be a model of at least a portion of the edge of the object OBJ (edge ​​model). The characteristic location on the image represented by the image data IMG_2D may be at least one of a plurality of feature points of the object OBJ that appear in the image represented by the image data IMG_2D, and at least a portion of the edges of the object OBJ. The characteristic location on the image represented by the image data IMG_2D may be detected using well-known image processing.

[0220] The robot control unit 316 may perform at least one of translation, enlargement, reduction, and / or rotation of the two-dimensional model of the object OBJ reflected in the template image so that characteristic locations (e.g., at least one of feature points and edges) of the entire two-dimensional model of the object OBJ reflected in the template image approach (typically, coincide) with characteristic locations of the entire object OBJ reflected in the image represented by the image data IMG_2D. As a result, the robot control unit 316 can identify the positional relationship between the coordinate system of the two-dimensional model data and the 2D imaging coordinate system. Then, based on the positional relationship between the coordinate system of the two-dimensional model data and the 2D imaging coordinate system, the robot control unit 316 may calculate at least one of the position and orientation of the object OBJ in the 2D imaging coordinate system from at least one of the position and orientation of the object OBJ in the coordinate system of the two-dimensional model data.

[0221] Thereafter, the robot control unit 316 transforms at least one of the position and orientation of the object OBJ in the 2D imaging coordinate system into at least one of the position and orientation of the object OBJ in the robot coordinate system based on the calibration matrix indicated by the recipe file 321. When the robot coordinate system is used as the global coordinate system, at least one of the position and orientation of the object OBJ in the robot coordinate system corresponds to at least one of the position and orientation of the object OBJ in the global coordinate system. However, when a coordinate system different from the robot coordinate system is used as the global coordinate system, the robot control unit 316 may calculate at least one of the position and orientation of the object OBJ in the global coordinate system from at least one of the position and orientation of the object OBJ in the robot coordinate system using a transformation matrix for transforming three-dimensional coordinates in either the robot coordinate system or the global coordinate system into three-dimensional coordinates in the other of the robot coordinate system or the global coordinate system.

[0222] When approximating characteristic features of the entire two-dimensional model of the object OBJ reflected in the template image to characteristic features of the entire object OBJ reflected in the image represented by the image data IMG_2D, the robot control unit 316 may calculate a matching similarity, which is the degree of similarity between the template image (i.e., the two-dimensional model of the object OBJ) and the image represented by the image data IMG_2D (particularly, the image portion to which the object OBJ in the template image is fitted). The robot control unit 316 may perform at least one of translation, enlargement, reduction, and / or rotation of the two-dimensional model of the object OBJ reflected in the template image to maximize the matching similarity. As a result, under conditions where the matching similarity is maximized, the image portion of the image represented by the image data IMG_2D to which the two-dimensional model of the object OBJ in the template image is fitted is detected as a similar image portion in the image represented by the image data IMG_2D that is similar to the template image. In other words, the object OBJ represented by the similar image portion is detected. The matching similarity may be considered to be equivalent to the correlation between the template image and the image represented by the image data IMG_2D. The correlation may also be considered an index indicating the correlation between the two-dimensional model of the object OBJ reflected in the template image and the object OBJ reflected in the image represented by the image data IMG_2D. The matching similarity may also be referred to as a matching score.

[0223] When an object OBJ whose calculated matching similarity exceeds the matching determination threshold indicated by the recipe file 321 is detected by the 2D matching process, the robot control unit 316 may select the object OBJ as one object OBJ on which the end effector 4 should perform a predetermined process. On the other hand, when an object OBJ whose calculated matching similarity is below the matching determination threshold indicated by the recipe file 321 is detected by the 2D matching process, the robot control unit 316 does not need to select the object OBJ as one object OBJ on which the end effector 4 should perform a predetermined process.

[0224] Depending on the image indicated by the image data IMG_2D, there is a possibility that a plurality of objects OBJ indicated by the template image are captured in the image. For example, when a plurality of workpieces W are placed on the placement device T (for example, when a plurality of workpieces W are placed in a disorderly or orderly manner on the placement device T), the camera 21 may capture an image of the plurality of workpieces W and generate image data IMG_2D in which the plurality of workpieces W are captured as a plurality of objects OBJ. For example, when a plurality of workpieces W are stored in a storage box CB, which is an example of the placement device T (for example, when a plurality of workpieces W are stored in a disorderly or orderly manner in the storage box CB), the camera 21 may capture an image of the plurality of workpieces W and generate image data IMG_2D in which the plurality of workpieces W are captured as a plurality of objects OBJ. In this case, the robot control unit 316 may perform a process (2D matching process) for sequentially matching the characteristic features of the two-dimensional model of the object OBJ reflected in the template image with the characteristic features of the object OBJ reflected in the image indicated by the image data IMG_2D on the multiple objects OBJ reflected in the image indicated by the image data IMG_2D. The robot control unit 316 may then select one of the multiple objects OBJ with the highest matching similarity as the object OBJ on which the end effector 4 should perform a predetermined process. Alternatively, the robot control unit 316 may select one of the multiple objects OBJ with a matching similarity that exceeds the matching determination threshold indicated by the recipe file 321 as the object OBJ on which the end effector 4 should perform a predetermined process. Alternatively, the robot control unit 316 may select one of the multiple objects OBJs that corresponds to a matching similarity that exceeds the matching judgment threshold and is closest to the end effector 4 as the object OBJ on which the end effector 4 should perform a specified processing.Alternatively, for example, when multiple objects OBJ are stored in the storage box CB (mounting device T) shown in FIG. 3 (e.g., when multiple objects OBJ are stacked loosely), the robot control unit 316 may select, from the multiple objects OBJ, an object OBJ that corresponds to a matching similarity that exceeds the matching determination threshold and has the largest Z coordinate along the Z axis (the object that is located at the highest position), as the object OBJ on which the end effector 4 should perform a predetermined process. Note that the Z coordinate of each of the multiple objects OBJ may be a Z position along the Z axis of the global coordinate system of the robot 1, calculated by the above-described 2D matching process. Alternatively, the robot control unit 316 may select, from the multiple objects OBJ, an object OBJ that corresponds to a matching similarity that exceeds the matching determination threshold and on which the end effector 4 can perform a predetermined process, as the object OBJ on which the end effector 4 should perform a predetermined process. Alternatively, the robot control unit 316 may select, from among the plurality of objects OBJ reflected in the image indicated by the image data IMG_2D, the object OBJ that has the largest area reflected in the image indicated by the image data IMG_2D as the object OBJ on which the end effector 4 should perform a predetermined process. Note that the robot control unit 316 does not need to perform the 2D matching process sequentially for the plurality of objects OBJ reflected in the image indicated by the image data IMG_2D. For example, the robot control unit 316 may perform the 2D matching process in parallel for each of the plurality of objects OBJ reflected in the image indicated by the image data IMG_2D.

[0225] However, if the end effector 4 is capable of simultaneously performing a predetermined process on two or more objects OBJ, the robot control unit 316 may select at least two of the multiple objects OBJ as one object OBJ on which the end effector 4 should perform a predetermined process. In other words, the robot control unit 316 may select at least two objects OBJ on which the end effector 4 should simultaneously perform a predetermined process. For convenience of explanation, the following description will be given of an example in which the robot control unit 316 selects one object OBJ of the multiple objects OBJ as one object OBJ on which the end effector 4 should perform a predetermined process.

[0226] Alternatively, the robot control unit 316 may calculate the matching similarity of multiple objects OBJ, then select an object OBJ on which the end effector 4 is to perform a predetermined process based on the matching similarity of the multiple objects OBJ, and then calculate at least one of the position and orientation of the selected object OBJ. In this case, the robot control unit 316 does not need to calculate the position and orientation of other objects OBJ that are not selected as the object OBJ on which the end effector 4 is to perform a predetermined process. Alternatively, because at least one of the position and orientation of the object OBJ is calculated as a result of the 2D matching process as described above, the robot control unit 316 may be considered to have calculated the above-mentioned matching similarity together with at least one of the position and orientation of the object OBJ. In this case, the robot control unit 316 may calculate the matching similarity of multiple objects OBJ together with at least one of the position and orientation of each of the multiple objects OBJ, and then select an object OBJ on which the end effector 4 is to perform a predetermined process based on the matching similarity of the multiple objects OBJ.

[0227] As a second example of the matching process, the robot control unit 316 may perform 3D matching using the three-dimensional position data WSD and three-dimensional model data indicating a three-dimensional model serving as a reference for the object OBJ. The 3D matching process is, for example, a matching process using a three-dimensional model based on the three-dimensional position data WSD and a three-dimensional model indicated by the three-dimensional model data. The three-dimensional model based on the three-dimensional position data WSD may include a point cloud model, which is a three-dimensional model indicating the three-dimensional shape of the object OBJ using a point cloud indicated by the three-dimensional position data WSD. The three-dimensional model based on the three-dimensional position data WSD may include a polygon model or a mesh model generated by connecting multiple points constituting the point cloud indicated by the three-dimensional position data WSD with surfaces (particularly, polygonal surfaces with each point as a vertex). The three-dimensional model based on the three-dimensional position data WSD may include a solid model generated by connecting multiple points constituting the point cloud indicated by the three-dimensional position data WSD with smooth surfaces. The 3D matching process itself may be the same as an existing matching process. For example, the robot control unit 316 may perform the 3D matching process using a known method including at least one of ICP (Iterative Closest Point) and DSO (Direct Sparse Odometry). The three-dimensional model data may be CAD model data of the object OBJ, or may be model data of the object OBJ (data representing a polygon model or mesh model) generated based on prior measurement results using a known three-dimensional shape measurement device or the camera 22. For example, the three-dimensional model data may be at least a portion of a CAD model represented by the CAD model data of the object OBJ, or may be at least a portion of a model represented by previously generated model data of the object OBJ (e.g., data representing a polygon model, mesh model, or solid model).

[0228] The robot control unit 316 may, for example, translate, enlarge, reduce, and / or rotate the three-dimensional model represented by the three-dimensional model data within the 3D imaging coordinate system so that characteristic locations of the three-dimensional model represented by the three-dimensional model data approach (typically coincide with) characteristic locations of the object OBJ whose three-dimensional position is indicated by the three-dimensional position data WSD. In other words, the robot control unit 316 may change the positional relationship between the coordinate system of the three-dimensional model data (e.g., the coordinate system of a CAD model) and the 3D imaging coordinate system so that characteristic locations of the object OBJ whose three-dimensional position is indicated by the three-dimensional position data WSD approach (typically coincide with) characteristic locations of the three-dimensional model represented by the three-dimensional model data. As a result, the robot control unit 316 can identify the positional relationship between the coordinate system of the three-dimensional model data and the 3D imaging coordinate system. Then, the robot control unit 316 may calculate at least one of the position and orientation of the object OBJ in the 3D imaging coordinate system from at least one of the position and orientation of the three-dimensional model in the coordinate system of the three-dimensional model data, based on the positional relationship between the coordinate system of the three-dimensional model data and the 3D imaging coordinate system.

[0229] Thereafter, the robot control unit 316 transforms at least one of the position and orientation of the object OBJ in the 3D imaging coordinate system into at least one of the position and orientation of the object OBJ in the robot coordinate system based on the calibration matrix indicated by the recipe file 321. When the robot coordinate system is used as the global coordinate system, at least one of the position and orientation of the object OBJ in the robot coordinate system corresponds to at least one of the position and orientation of the object OBJ in the global coordinate system. However, when a coordinate system different from the robot coordinate system is used as the global coordinate system, the robot control unit 316 may calculate at least one of the position and orientation of the object OBJ in the global coordinate system from at least one of the position and orientation of the object OBJ in the robot coordinate system using a transformation matrix for transforming three-dimensional coordinates in either the robot coordinate system or the global coordinate system into three-dimensional coordinates in the other of the robot coordinate system or the global coordinate system.

[0230] When the robot control unit 316 brings characteristic locations of the three-dimensional model represented by the three-dimensional model data closer to characteristic locations of the object OBJ whose three-dimensional position is indicated by the three-dimensional position data WSD, the robot control unit 316 may calculate a matching similarity, which is the similarity between the three-dimensional model of the object OBJ represented by the three-dimensional model data and the object OBJ whose three-dimensional position is indicated by the three-dimensional position data WSD. The robot control unit 316 may translate, enlarge, reduce, and / or rotate the three-dimensional model represented by the three-dimensional model data to maximize the matching similarity. Note that the matching similarity may be considered equivalent to the correlation between the three-dimensional model represented by the three-dimensional model data and the object OBJ whose three-dimensional position is indicated by the three-dimensional position data WSD. Note that the matching similarity may also be referred to as a matching score.

[0231] When an object OBJ whose calculated matching similarity exceeds the matching determination threshold indicated by the recipe file 321 is detected by the 3D matching process, the robot control unit 316 may select the object OBJ as one object OBJ on which the end effector 4 should perform a predetermined process. On the other hand, when an object OBJ whose calculated matching similarity is below the matching determination threshold indicated by the recipe file 321 is detected by the 3D matching process, the robot control unit 316 does not need to select the object OBJ as one object OBJ on which the end effector 4 should perform a predetermined process.

[0232] Depending on the three-dimensional position data WSD, the three-dimensional position data WSD may indicate the respective positions of multiple objects OBJ. For example, if multiple workpieces W are placed on the placement device T in a disorderly or orderly manner, the camera 22 may capture images of the multiple workpieces W and generate image data IMG_3D in which the multiple workpieces W are captured as multiple objects OBJ. For example, if multiple workpieces W are placed in a placement box CB, which is an example of the placement device T, in a disorderly or orderly manner, the camera 22 may capture images of the multiple workpieces W and generate image data IMG_3D in which the multiple workpieces W are captured as multiple objects OBJ. As a result, the robot control unit 316 may generate three-dimensional position data WSD indicating the respective positions of the multiple objects OBJ. In this case, the robot control unit 316 may perform the above-described 3D matching process on each of the multiple objects OBJ. Thereafter, the robot control unit 316 may select one object OBJ among the plurality of objects OBJ that has the highest matching similarity as the object OBJ on which the end effector 4 should perform a predetermined process. Alternatively, the robot control unit 316 may select one object OBJ among the plurality of objects OBJ that corresponds to a matching similarity that exceeds the matching determination threshold indicated by the recipe file 321 as the object OBJ on which the end effector 4 should perform a predetermined process. Alternatively, the robot control unit 316 may select one object OBJ among the plurality of objects OBJ that corresponds to a matching similarity that exceeds the matching determination threshold and is closest to the end effector 4 as the object OBJ on which the end effector 4 should perform a predetermined process. 3 (e.g., when multiple objects OBJ are stored in a storage box CB (mounting device T) shown in FIG. 3 ), the robot control unit 316 may select, from the multiple objects OBJ, the object OBJ that corresponds to a matching similarity that exceeds the matching determination threshold and has the largest Z coordinate along the Z axis (located at the highest position), as the object OBJ on which the end effector 4 should perform a predetermined process. Note that the Z coordinate of each of the multiple objects OBJ may be a Z position along the Z axis of the global coordinate system of the robot 1, calculated by the above-described 3D matching process.Alternatively, the robot control unit 316 may select one object OBJ from among the multiple objects OBJs that corresponds to a matching similarity that exceeds the matching judgment threshold and for which the end effector 4 is capable of performing a specified processing, as the object OBJ on which the end effector 4 should perform the specified processing.

[0233] However, if the end effector 4 is capable of simultaneously performing a predetermined process on two or more objects OBJ, the robot control unit 316 may select at least two of the multiple objects OBJ as one object OBJ on which the end effector 4 should perform a predetermined process. In other words, the robot control unit 316 may select at least two objects OBJ on which the end effector 4 should simultaneously perform a predetermined process. For convenience of explanation, the following description will be given of an example in which the robot control unit 316 selects one object OBJ of the multiple objects OBJ as one object OBJ on which the end effector 4 should perform a predetermined process.

[0234] Alternatively, the robot control unit 316 may calculate the matching similarity of multiple objects OBJ, then select an object OBJ on which the end effector 4 is to perform a predetermined process based on the matching similarity of the multiple objects OBJ, and then calculate at least one of the position and orientation of the selected object OBJ. In this case, the robot control unit 316 does not need to calculate the position and orientation of other objects OBJ that are not selected as the object OBJ on which the end effector 4 is to perform a predetermined process. Alternatively, because at least one of the position and orientation of the object OBJ is calculated as a result of the 3D matching process as described above, the robot control unit 316 may be considered to have calculated the above-mentioned matching similarity together with at least one of the position and orientation of the object OBJ. In this case, the robot control unit 316 may calculate the matching similarity of multiple objects OBJ together with at least one of the position and orientation of each of the multiple objects OBJ, and then select an object OBJ on which the end effector 4 is to perform a predetermined process based on the matching similarity of the multiple objects OBJ.

[0235] The robot control unit 316 may calculate at least one of the position and orientation of the object OBJ using the image data IMG_2D but without using the three-dimensional position data WSD. In this case, the robot control unit 316 may calculate at least one of the position and orientation of the object OBJ in the global coordinate system from at least one of the position and orientation of the object OBJ in the 2D imaging coordinate system calculated based on the image data IMG_2D. In this case, the camera 22 does not need to capture the object OBJ. The robot control unit 316 does not need to acquire the image data IMG_3D or generate the three-dimensional position data WSD in step S32.

[0236] The robot control unit 316 may calculate at least one of the position and orientation of the object OBJ by using the three-dimensional position data WSD without using the image data IMG_2D. In this case, the robot control unit 316 may calculate at least one of the position and orientation of the object OBJ in the global coordinate system from at least one of the position and orientation of the object OBJ in the 3D imaging coordinate system calculated based on the image data IMG_3D. In this case, the camera 21 does not need to capture an image of the object OBJ. The robot control unit 316 does not need to acquire the image data IMG_2D in step S32.

[0237] The robot control unit 316 may calculate at least one of the position and orientation of the object OBJ by using both the image data IMG_2D and the three-dimensional position data WSD. In this case, the robot control unit 316 may calculate at least one of the position and orientation of the object OBJ in the global coordinate system from a portion of the position and orientation of the object OBJ in the 2D imaging coordinate system calculated based on the image data IMG_2D and a portion of the position and orientation of the object OBJ in the 3D imaging coordinate system calculated based on the image data IMG_3D. Alternatively, the robot control unit 316 may set at least one of the initial position and initial orientation of a three-dimensional model used when performing the 3D matching process based on at least one of the position and orientation of the object OBJ in the 2D imaging coordinate system calculated based on the image data IMG_2D, and perform the 3D matching process using the three-dimensional model arranged at the set initial position and / or in the set initial orientation, thereby calculating at least one of the position and orientation of the object OBJ in the 3D imaging coordinate system, and calculating at least one of the position and orientation of the object OBJ in the global coordinate system from at least one of the position and orientation of the object OBJ in the 3D imaging coordinate system.

[0238] When calculating at least one of the position and orientation of the object OBJ using both the image data IMG_2D and the three-dimensional position data WSD, the robot control unit 316 may select an object OBJ that satisfies a condition that the sum or product of the matching similarity calculated by the 2D matching process (hereinafter referred to as 2D matching similarity) and the matching similarity calculated by the 3D matching process (hereinafter referred to as 3D matching similarity) is maximized as the object OBJ on which the end effector 4 should perform a predetermined process. The robot control unit 316 may select an object OBJ that satisfies a condition that the 2D matching similarity is maximized as the object OBJ on which the end effector 4 should perform a predetermined process. The robot control unit 316 may select an object OBJ that satisfies a condition that the 3D matching similarity is maximized as the object OBJ on which the end effector 4 should perform a predetermined process. The robot control unit 316 may select an object OBJ that satisfies the condition that both the 2D matching similarity and the 3D matching similarity exceed the matching determination threshold as an object OBJ on which the end effector 4 should perform a predetermined process. The robot control unit 316 may select an object OBJ that satisfies the condition that both the 2D matching similarity and the 3D matching similarity exceed the matching determination threshold and is closest to the end effector 4 as an object OBJ on which the end effector 4 should perform a predetermined process. The robot control unit 316 may select an object OBJ that satisfies the condition that both the 2D matching similarity and the 3D matching similarity exceed the matching determination threshold and has the largest Z coordinate along the Z axis (is located at the highest position) as an object OBJ on which the end effector 4 should perform a predetermined process.

[0239] Note that if the robot control unit 316 acquires at least one of the image data IMG_2D and IMG_3D before the tool center point TCP reaches the fine approach position PF, the robot control unit 316 may calculate at least one of the position and orientation of the object OBJ before the tool center point TCP reaches the fine approach position PF (step S33). That is, the robot control unit 316 may calculate at least one of the position and orientation of the object OBJ while the tool center point TCP is moving along the movement path MRr. In other words, the robot control unit 316 may calculate at least one of the position and orientation of the object OBJ while the cameras 21 and 22 are moving relative to the object OBJ by driving the robot 1 so that the tool center point TCP moves along the movement path MRr. However, the robot control unit 316 may calculate at least one of the position and orientation of the object OBJ after the tool center point TCP reaches the fine approach position PF. The robot control unit 316 may calculate at least one of the position and orientation of the object OBJ when the tool center point TCP reaches the fine approach position PF and the robot 1 is stopped (i.e., the camera 22 is stopped).

[0240] Thereafter, the robot control unit 316 generates a robot control signal for controlling the robot 1 to move the tool center point TCP from the fine approach position PF to the processing target position PTP based on at least one of the position and orientation of the object OBJ calculated in step S33 (step S34). That is, the robot control unit 316 generates a robot control signal for controlling the robot 1 to move the tool center point TCP closer to the object OBJ (i.e., move the end effector 4 closer to the object OBJ) and, as a result, to be positioned at the processing target position PTP indicated by the recipe file 321 based on at least one of the position and orientation of the object OBJ (step S34).

[0241] Specifically, the robot control unit 316 may generate a movement path MRf of the tool center point TCP between the fine approach position PF and the processing target position PTP based on at least one of the position and orientation of the object OBJ. Specifically, as described above, the processing target position PTP refers to a position based on the object OBJ. Therefore, the robot control unit 316 calculates the processing target position PTP based on the object OBJ based on at least one of the position and orientation of the object OBJ. Then, the robot control unit 316 generates a movement path MRf for moving the tool center point TCP so that the tool center point TCP approaches the processing target position PTP.

[0242] The robot control unit 316 may generate a movement path MRf based on at least one of the position and orientation of the object OBJ so as to prevent interference between at least one of the end effector 4, the robot 1, and surrounding objects. Thereafter, the robot control unit 316 may generate a robot control signal for controlling the robot 1 so that the tool center point TCP moves along the generated movement path MRf.

[0243] Peripheral objects are objects located around the robot 1. An example of a peripheral object is a mounting device T (e.g., a pallet) on which a workpiece W is placed. An example of a peripheral object is a stand on which the mounting device T is placed. An example of a peripheral object is an object (e.g., at least one of piping, shelves, walls, and ceilings) present in a factory in which the robot system SYS is installed. An example of a peripheral object is an object (e.g., a transport machine such as a belt conveyor) that constitutes a production line in which the robot system SYS is installed. An example of a peripheral object is an imaging device 2 attached to the robot 1. An example of a peripheral object is at least one of cameras 21 and 22 attached to the robot 1.

[0244] As described above, when multiple objects OBJ appear in the images represented by the image data IMG_2D and IMG_3D, the other objects OBJ that are not selected as the object OBJ on which the end effector 4 should perform a predetermined process may be regarded as peripheral objects. However, when the end effector 4 performs predetermined processes on multiple objects OBJ in sequence, the other objects OBJ that are not selected as the object OBJ on which the end effector 4 should perform a predetermined process in a first period may be selected as the object OBJ on which the end effector 4 should perform a predetermined process in a second period different from the first period. Similarly, the object OBJ on which the end effector 4 should perform a predetermined process in the first period may be regarded as a peripheral object in the second period different from the first period.

[0245] The interference between at least one of the end effector 4, the robot 1, and the peripheral object may include interference between at least a portion of the end effector 4 and at least a portion of the robot 1. The interference between at least one of the end effector 4, the robot 1, and the peripheral object may include interference between at least a portion of the end effector 4 and at least a portion of the peripheral object. The interference between at least one of the end effector 4, the robot 1, and the peripheral object may include interference between at least a portion of the robot 1 and at least a portion of the peripheral object. The interference between at least one of the end effector 4, the robot 1, and the peripheral object may include interference between a first portion of the robot 1 and a second portion of the robot 1. The interference between two objects may include a state in which the two objects come into contact. The interference between two objects may include a state in which the distance between the two objects is equal to or less than the allowable distance AD1.

[0246] To generate the movement path MRf, the robot control unit 316 may use the end effector model EM, the robot model RM, the peripheral object model SM, and the object model OM. However, the robot control unit 316 may generate the movement path MRf without using at least one of the end effector model EM, the robot model RM, the peripheral object model SM, and the object model OM.

[0247] The end effector model EM is a three-dimensional model of the end effector 4 attached to the robot arm 12. The end effector model EM may be a CAD model of the end effector 4. The end effector model EM may be a three-dimensional model (e.g., a point cloud model) obtained by actually measuring the three-dimensional shape of the end effector 4. The end effector model EM may be a polygon model or a mesh model generated by connecting multiple points constituting the point cloud model of the end effector 4 (particularly, polygonal faces with each point as a vertex). Note that the three-dimensional model obtained by actually measuring the three-dimensional shape of the end effector 4 may be, for example, a model generated by measuring the end effector 4 with a well-known three-dimensional shape measurement device, or may be a model generated based on image data obtained by capturing an image of the end effector 4 with the camera 22.

[0248] The robot model RM is a three-dimensional model of the robot 1. The robot model RM may include a three-dimensional model of the base 11 of the robot 1. The robot model RM may include a three-dimensional model of the robot arm 12 of the robot 1. The robot model RM may be a CAD model of the robot 1. The robot model RM may be a three-dimensional model (e.g., a point cloud model) obtained by actually measuring the three-dimensional shape of the robot 1. The robot model RM may be a polygon model or a mesh model generated by connecting multiple points constituting the point cloud model of the robot 1 (particularly, polygonal faces with each point as a vertex). Note that the three-dimensional model obtained by actually measuring the three-dimensional shape of the robot 1 may be, for example, a model generated by measuring the robot 1 with a well-known three-dimensional shape measurement device, or may be a model generated based on image data obtained by capturing an image of the robot 1 with the camera 22.

[0249] The peripheral object model SM is a three-dimensional model of a peripheral object located around the robot 1. The peripheral object model SM may be a CAD model of the peripheral object. The peripheral object model SM may be a three-dimensional model (e.g., a point cloud model) obtained by actually measuring the three-dimensional shape of the peripheral object. The peripheral object model SM may be a polygon model or a mesh model generated by connecting multiple points constituting the point cloud model of the peripheral object with polygonal faces having each point as a vertex. Note that the three-dimensional model obtained by actually measuring the three-dimensional shape of the peripheral object may be, for example, a model generated by measuring the peripheral object with a well-known three-dimensional shape measurement device, or may be a model generated based on image data obtained by capturing an image of the peripheral object with the camera 22.

[0250] The object model OM is a three-dimensional model of the object OBJ, which is an object on which the end effector 4 performs a predetermined process. The object model OM may be a CAD model of the object OBJ. The object model OM may be a three-dimensional model (e.g., a point cloud model) obtained by actually measuring the three-dimensional shape of the object OBJ. The object model OM may be a polygon model generated by connecting multiple points constituting the point cloud model of the object OBJ (particularly, polygonal faces with each point as a vertex). The object model OM may be a three-dimensional model that serves as a reference for the object OBJ used in the above-described 3D matching process. Alternatively, the object model OM may be a three-dimensional model different from the three-dimensional model that serves as a reference for the object OBJ used in the above-described 3D matching process. The three-dimensional model obtained by actually measuring the three-dimensional shape of the object OBJ may be, for example, a model generated by measuring the object OBJ using a known three-dimensional shape measurement device, or a model generated based on image data obtained by capturing an image of the object OBJ with the camera 22.

[0251] The object OBJ on which the end effector 4 performs a predetermined process may be considered to be an example of a peripheral object because it is an object located in the vicinity of the robot 1. Therefore, the object model OM may be considered to be an example of a peripheral object model SM.

[0252] In this case, the robot control unit 316 may generate a movement path of the tool center point TCP that does not cause interference with at least one of the end effector model EM, the robot model RM, and the peripheral object model SM (note that the peripheral object model SM includes the object model OM, the same applies hereinafter) as a movement path MRf that does not cause interference with at least one of the end effector 4, the robot 1, and the peripheral object (including the object OBJ on which the end effector 4 performs a predetermined process, the same applies hereinafter). Specifically, the robot control unit 316 may place the end effector model EM, the robot model RM, and the peripheral object model SM in a predetermined virtual space, and move the end effector model EM and the robot model RM in the virtual space in accordance with the movements of the end effector 4 and the robot 1 when it is assumed that the robot 1 is driven, thereby generating a movement path MRf that does not cause interference with at least one of the end effector model EM, the robot model RM, and the peripheral object model SM.

[0253] Specifically, the robot control unit 316 may generate a candidate path from the fine approach position PF to the processing target position PTP (or a candidate path from the processing target position PTP to the fine approach position PF; the same applies hereinafter), and determine whether interference with at least one of the end effector model EM, the robot model RM, and the peripheral object model SM occurs when the tool center point TCP is assumed to move along the candidate path. If it is determined that no interference with at least one of the end effector model EM, the robot model RM, and the peripheral object model SM occurs, the robot control unit 316 may set the generated candidate path as the movement path MRf. If it is determined that interference with at least one of the end effector model EM, the robot model RM, and the peripheral object model SM occurs, the robot control unit 316 may update (i.e., generate a new candidate path) the candidate path and determine whether interference with at least one of the end effector model EM, the robot model RM, and the peripheral object model SM occurs when the tool center point TCP is assumed to move along the updated candidate path. That is, the robot control unit 316 may generate the movement routes MRf collectively.

[0254] Alternatively, to generate a candidate path from the fine approach position PF to the processing target position PTP, the robot control unit 316 may repeat the following steps: generating a portion of the candidate path; determining whether interference with at least one of the end effector model EM, the robot model RM, and the peripheral object model SM will occur if the tool center point TCP moves along the portion of the generated candidate path; and updating (generating a new portion of) the candidate path if it is determined that interference with at least one of the end effector model EM, the robot model RM, and the peripheral object model SM will occur. In other words, the robot control unit 316 may generate a movement path MRf that gradually extends from the fine approach position PF toward the processing target position PTP. In other words, the robot control unit 316 may generate the movement path MRf little by little.

[0255] Interference of at least one of the end effector model EM, the robot model RM, and the peripheral object model SM may include interference between at least a portion of the end effector model EM and at least a portion of the robot model RM. Interference of at least one of the end effector model EM, the robot model RM, and the peripheral object model SM may include interference between at least a portion of the end effector model EM and at least a portion of the peripheral object model SM. Interference of at least one of the end effector model EM, the robot model RM, and the peripheral object model SM may include interference between at least a portion of the robot model RM and at least a portion of the peripheral object model SM. Interference of at least one of the end effector model EM, the robot model RM, and the peripheral object model SM may include interference between a first portion of the robot model RM and a second portion of the robot model RM. Interference of the two models may include a state in which the two models come into contact. Interference of the two models may include a state in which the distance between the two models is equal to or less than the allowable distance AD2.

[0256] The allowable distance AD2 may be a distance determined based on the above-described allowable distance AD1. For example, the allowable distance AD2 may be set to a distance that satisfies the condition that the distance between the two objects is equal to or less than the allowable distance AD1 when two models corresponding to two objects are arranged in a virtual space such that the positional relationship between the two models is the same as the positional relationship between the two objects and the posture relationship between the two models is the same as the posture relationship between the two objects. The allowable distance AD2 may be the same as or different from the above-described allowable distance AD1.

[0257] In step S34, the object model OM may be the three-dimensional position data WSD (particularly, point cloud data) generated based on the image data IMG_3D generated by capturing an image of the object OBJ with the camera 22. In this case, the robot control unit 316 may convert the coordinates of each point indicated by the point cloud data of the object OBJ from the coordinates in the 3D image coordinate system to coordinates in virtual space, and place each point with converted coordinates in the virtual space.

[0258] The object model OM may be a polygon model or a mesh model generated by connecting multiple points constituting the point cloud indicated by the three-dimensional position data WSD with surfaces (particularly polygonal surfaces with each point as a vertex), or a solid model generated by connecting multiple points constituting the point cloud indicated by the three-dimensional position data WSD with smooth surfaces. In this case, the robot control unit 316 may place the polygon model, mesh model, or solid model in the virtual space.

[0259] Furthermore, if the robot control unit 316 calculates at least one of the position and orientation of the object OBJ before the tool center point TCP reaches the fine approach position PF, the robot control unit 316 may generate the movement path MRf before the tool center point TCP reaches the fine approach position PF (step S34). That is, the robot control unit 316 may generate the movement path MRf while the tool center point TCP is moving along the movement path MRr. In other words, the robot control unit 316 may generate the movement path MRf while the cameras 21 and 22 are moving relative to the object OBJ by driving the robot 1 so that the tool center point TCP moves along the movement path MRr. However, the robot control unit 316 may also generate the movement path MRf after the tool center point TCP reaches the fine approach position PF. The robot control unit 316 may generate the movement path MRf when the tool center point TCP has reached the fine approach position PF and the robot 1 is stopped (i.e., the camera 22 is stopped).

[0260] Furthermore, if the robot control unit 316 calculates at least one of the position and orientation of the object OBJ before the tool center point TCP reaches the fine approach position PF, the robot control unit 316 may generate a robot control signal before the tool center point TCP reaches the fine approach position PF (step S34). That is, the robot control unit 316 may generate a robot control signal while the tool center point TCP is moving along the movement path MRr. In other words, the robot control unit 316 may generate a robot control signal while the cameras 21 and 22 are moving relative to the object OBJ by driving the robot 1 so that the tool center point TCP moves along the movement path MRr. However, the robot control unit 316 may also generate a robot control signal after the tool center point TCP reaches the fine approach position PF. The robot control unit 316 may also generate a robot control signal when the tool center point TCP reaches the fine approach position PF and the robot 1 is stopped (i.e., the camera 22 is stopped).

[0261] Thereafter, the processes from step S32 to step S34 are repeated until the tool center point TCP is positioned at the processing target position PTP (step S35). Therefore, after the robot 1 starts to be driven so that the tool center point TCP moves from the fine approach position PF along the movement path MRf, the camera 21 may capture an image of the object OBJ while the camera 21 moves relative to the object OBJ by driving the robot 1 so that the tool center point TCP moves along the movement path MRf. The robot control unit 316 may acquire image data IMG_2D from the camera 21 while the camera 21 moves relative to the object OBJ by driving the robot 1 so that the tool center point TCP moves along the movement path MRf. The camera 22 may capture an image of the object OBJ while the camera 22 moves relative to the object OBJ by driving the robot 1 so that the tool center point TCP moves along the movement path MRf. The robot control unit 316 may acquire image data IMG_3D from the camera 22 while the camera 22 is moving relative to the object OBJ by driving the robot 1 so that the tool center point TCP moves along the movement path MRf. The robot control unit 316 may calculate at least one of the position and orientation of the object OBJ while at least one of the cameras 21 and 22 is moving relative to the object OBJ by driving the robot 1 so that the tool center point TCP moves along the movement path MRf. The robot control unit 316 may generate (in this case, essentially sequentially update) the movement path MRf while at least one of the cameras 21 and 22 is moving relative to the object OBJ by driving the robot 1 so that the tool center point TCP moves along the movement path MRf.

[0262] However, after the robot 1 starts to drive so that the tool center point TCP moves from the fine approach position PF along the movement path MRf, the camera 21 may capture an image of the object OBJ while the camera 21 is stationary relative to the object OBJ. The robot control unit 316 may acquire image data IMG_2D from the camera 21 while the camera 21 is stationary relative to the object OBJ. The camera 22 may capture an image of the object OBJ while the camera 22 is stationary relative to the object OBJ. The robot control unit 316 may acquire image data IMG_3D from the camera 22 while the camera 22 is stationary relative to the object OBJ. The robot control unit 316 may calculate at least one of the position and orientation of the object OBJ while at least one of the cameras 21 and 22 is stationary relative to the object OBJ. The robot control unit 316 may generate (in this case, essentially sequentially update) the movement path MRf while at least one of the cameras 21 and 22 is stationary relative to the object OBJ.

[0263] An example of a situation in which the processes from step S32 to step S34 are repeated is when the object OBJ moves while the robot 1 is moving so that the tool center point TCP moves along the movement path MRf. In this case, at least one of the position and orientation of the object OBJ in the global coordinate system changes sequentially. In this case, the robot control unit 316 may sequentially calculate (i.e., repeatedly calculate) at least one of the position and orientation of the object OBJ based on at least one of the image data IMG_2D and IMG_3D. Thereafter, the robot control unit 316 may sequentially generate (in other words, sequentially update) the movement path MRf based on the end effector model EM, the robot model RM, the peripheral object model SM, and at least one of the position and orientation of the object OBJ that is sequentially calculated (i.e., may be repeatedly calculated).

[0264] The processes from step S32 to step S34 do not necessarily have to be repeated. For example, if the robot 1 moves the tool center point TCP based on the robot control signal generated in step S34, and the tool center point TCP reaches the processing target position PTP, the robot control unit 316 does not have to repeat the processes from step S32 to step S34.

[0265] After the tool center point TCP is positioned at the processing target position PTP, the robot control unit 316 generates a robot control signal for controlling the end effector 4 to perform a predetermined process on the object OBJ (step S36). As a result, the end effector 4 performs the predetermined process on the object OBJ (step S36). For example, the end effector 4 may perform a holding process to hold a workpiece W, which is an example of the object OBJ. For example, the end effector 4 may perform a release process to release the workpiece W, which is an example of the object OBJ, on a pallet PLT, which is also an example of the object OBJ.

[0266] After the end effector 4 has performed a predetermined process on the object OBJ, the robot control unit 316 generates a robot control signal for controlling the robot 1 to retract the end effector 4 (step S37).

[0267] For example, the robot control unit 316 may generate a robot control signal for controlling the robot 1 to move (i.e., retract) the end effector 4 from the processing target position PTP to the fine approach position PF. In this case, the robot control unit 316 may generate the robot control signal by performing operations similar to those of steps S32 to S35. Specifically, the robot control unit 316 may repeat the following processes until the end effector 4 moves from the processing target position PTP to the fine approach position PF: acquiring at least one of the image data IMG_2D and IMG_3D, calculating at least one of the position and orientation of the object OBJ based on at least one of the image data IMG_2D and IMG_3D, and generating a robot control signal for controlling the robot 1 to move (i.e., retract) the end effector 4 from the processing target position PTP to the fine approach position PF based on at least one of the position and orientation of the object OBJ. Alternatively, the robot control unit 316 may generate a robot control signal for controlling the robot 1 to move (i.e., retract) the end effector 4 along the generated movement path MRf from the processing target position PTP to the fine approach position PF using the generated movement path MRf. In this case, the robot control unit 316 may generate a robot control signal in step S34 using the generated movement path MRf without performing the operations from step S32 to step S33.

[0268] For example, the robot control unit 316 may generate a robot control signal for controlling the robot 1 to move (i.e., retract) the end effector 4 from the fine approach position PF to the post-standby position PW_post. In this case, the robot control unit 316 may generate the robot control signal by performing an operation similar to that of step S31. Specifically, the robot control unit 316 may generate a robot control signal for controlling the robot 1 to move the end effector 4 from the fine approach position PF to the post-standby position PW_post based on the recipe file 321.

[0269] (3) Calibration Processing Next, the calibration processing performed by the calibration unit 312 in step S22 of FIG. 6 will be described.

[0270] (3-1) Overview of Calibration Processing First, an overview of the calibration processing will be described with reference to FIG. 7 . As shown in FIG. 7 , the calibration unit 312 may control the imaging device 2 (i.e., at least one of the cameras 21 and 22) to capture an image of a predetermined calibration member CP in order to perform the calibration processing. The calibration member CP may be a member on which a predetermined calibration pattern is formed. The calibration pattern of the calibration member CP may be a known pattern. The calibration pattern may be a pattern for defining a reference point of the calibration member CP. In this case, the calibration member CP may be considered to be a reference member on which a reference point is formed. FIG. 7 shows an example in which a checkered pattern in which white and black rectangular patterns are arranged in a matrix is ​​formed on the calibration member CP as the predetermined calibration pattern. In this case, the vertices of at least one white rectangular pattern may be used as the reference point, or the vertices of at least one black rectangular pattern may be used as the reference point, or the boundary line between the white rectangular pattern and the black rectangular pattern may be used as the reference point.

[0271] The calibration unit 312 acquires calibration image data IMG_calib generated by capturing an image of the calibration member CP with the imaging device 2. Then, based on the calibration image data IMG_calib, the calibration unit 312 generates a calibration matrix for converting three-dimensional coordinates in either the robot coordinate system or the imaging coordinate system into three-dimensional coordinates in the other of the robot coordinate system and the imaging coordinate system.

[0272] For example, the calibration unit 312 may generate a calibration matrix for converting three-dimensional coordinates in either the robot coordinate system or the 2D imaging coordinate system into three-dimensional coordinates in the other of the robot coordinate system or the 2D imaging coordinate system, based on the calibration image data IMG_calib generated by the camera 21 capturing an image of the calibration member CP. In the following description, the calibration matrix for converting three-dimensional coordinates in either the robot coordinate system or the 2D imaging coordinate system into three-dimensional coordinates in the other of the robot coordinate system or the 2D imaging coordinate system will be referred to as a "2D calibration matrix" as necessary.

[0273] For example, the calibration unit 312 may generate a calibration matrix for converting three-dimensional coordinates in either the robot coordinate system or the 3D imaging coordinate system into three-dimensional coordinates in the other of the robot coordinate system or the 3D imaging coordinate system, based on the calibration image data IMG_calib generated by the camera 22 capturing an image of the calibration member CP. In the following description, the calibration matrix for converting three-dimensional coordinates in either the robot coordinate system or the 3D imaging coordinate system into three-dimensional coordinates in the other of the robot coordinate system or the 3D imaging coordinate system will be referred to as a "3D calibration matrix" as necessary.

[0274] For convenience of explanation, the following describes the operation of the calibration unit 312 generating a 2D calibration matrix for converting three-dimensional coordinates in either the robot coordinate system or the 2D imaging coordinate system into three-dimensional coordinates in the other of the robot coordinate system or the 2D imaging coordinate system, based on the calibration image data IMG_calib generated by the camera 21 capturing an image of the calibration member CP. However, the following description can be applied to the operation of the calibration unit 312 generating a 3D calibration matrix for converting three-dimensional coordinates in either the robot coordinate system or the 3D imaging coordinate system into three-dimensional coordinates in the other of the robot coordinate system or the 3D imaging coordinate system, based on the calibration image data IMG_calib generated by the camera 22 capturing an image of the calibration member CP.

[0275] The calibration unit 312 may generate a 2D calibration matrix by solving a PnP (Perspective n Point) problem based on the calibration image data IMG_calib. The PnP problem in this embodiment is equivalent to the problem of estimating at least one of the relative position and relative orientation of the camera 21 with respect to the robot 1 from the relationship between the positions (three-dimensional positions) of n reference points of the calibration member CP located in the robot coordinate system and the positions (two-dimensional positions) of the n reference points of the calibration member CP on the two-dimensional image represented by the calibration image data IMG_calib. Note that n is a variable indicating an integer greater than or equal to 1. Note that the relative position of the camera 21 with respect to the robot 1 may be considered to include the relative orientation of the camera 21 with respect to the robot 1.

[0276] The calibration unit 312 may calculate the relative position of the camera 21 with respect to the robot 1 in a direction along a predetermined translation axis as the relative position of the camera 21 with respect to the robot 1. In particular, the calibration unit 312 may calculate the relative position of the camera 21 with respect to the robot 1 in a direction along each of three mutually orthogonal translation axes as the relative position of the camera 21 with respect to the robot 1. In this case, the calibration unit 312 may calculate, as the relative position of the camera 21 with respect to the robot 1, a translation transformation matrix that translates three-dimensional coordinates in either a robot coordinate system defined based on the robot 1 or a 2D imaging coordinate system defined based on the camera 21, and converts the three-dimensional coordinates into three-dimensional coordinates in the other of the robot coordinate system and the imaging coordinate system.

[0277] The calibration unit 312 may calculate the relative orientation of the camera 21 with respect to the robot 1 in the direction of rotation about a predetermined rotation axis as the relative orientation of the camera 21 with respect to the robot 1. In other words, the calibration unit 312 may calculate the amount of rotation of the camera 21 with respect to the robot 1 around the predetermined rotation axis (in other words, the relative orientation) as the relative orientation of the camera 21 with respect to the robot 1. In particular, the calibration unit 312 may calculate the relative orientation of the camera 21 with respect to the robot 1 in the direction of rotation about each of three mutually orthogonal rotation axes as the relative orientation of the camera 21 with respect to the robot 1. In particular, the calibration unit 312 may calculate the amount of rotation of the camera 21 with respect to the robot 1 around each of three mutually orthogonal rotation axes (in other words, the relative orientation) as the relative orientation of the camera 21 with respect to the robot 1. In this case, the calibration unit 312 may calculate a rotational transformation matrix that converts the relative attitude of the camera 21 with respect to the robot 1 into three-dimensional coordinates in either the robot coordinate system defined based on the robot 1 or the 2D imaging coordinate system defined based on the camera 21, and converts them into three-dimensional coordinates in the other of the robot coordinate system and the imaging coordinate system.

[0278] As a result, the calibration unit 312 can generate a 2D calibration matrix that includes at least one of the calculated translation transformation matrix and the calculated rotation transformation matrix.

[0279] When the positions of the n reference points in the robot coordinate system are known to the calibration unit 312, the calibration unit 312 may generate a 2D calibration matrix based on a single set of calibration image data IMG_calib that is generated by capturing an image of the calibration member CP once with the camera 21. In this case, the calibration unit 312 may calculate the positions of the n reference points in the two-dimensional image indicated by the calibration image data IMG_calib, and calculate at least one of the relative position and relative orientation of the camera 21 with respect to the robot 1 (i.e., the 2D calibration matrix) based on the relationship between the positions of the n reference points in the two-dimensional image and the positions of the n reference points in the robot coordinate system, which is known information.

[0280] On the other hand, if the positions of the n reference points in the robot coordinate system are not known to the calibration unit 312, the calibration unit 312 may generate the 2D calibration matrix based on multiple sets of calibration image data IMG_calib generated by the camera 21 capturing images of the calibration member CP multiple times. In particular, the camera 21 may capture images of the same calibration member CP from multiple different positions. Alternatively, in addition to or instead of capturing images of the same calibration member CP from multiple different positions, the camera 21 may capture images of the same calibration member CP in multiple different orientations. That is, the calibration unit 312 may alternately repeat an operation of controlling the camera 21 to capture an image of the calibration member CP and an operation of changing at least one of the position and orientation of the camera 21 that captured the calibration member CP. That is, the calibration unit 312 may alternately repeat an operation of controlling the camera 21 to capture an image of the calibration member CP and an operation of generating a robot control signal for controlling the robot 1 to change at least one of the position and orientation of the camera 21 that captured the calibration member CP. In other words, the calibration unit 312 may alternately repeat an operation of controlling the camera 21 to capture an image of the calibration member CP and an operation of changing at least one of the relative positional relationship and the relative orientation relationship between the camera 21 that captured the image of the calibration member CP and the calibration member CP. In other words, the calibration unit 312 may alternately repeat an operation of controlling the camera 21 to capture an image of the calibration member CP and an operation of generating a robot control signal for controlling the robot 1 to change at least one of the relative positional relationship and the relative orientation relationship between the camera 21 that captured the image of the calibration member CP and the calibration member CP. Note that the relative orientation relationship between the camera 21 and the calibration member CP may be included in the relative positional relationship between the camera 21 and the calibration member CP.In this case, the calibration unit 312 may calculate the positions of n reference points in each of a plurality of two-dimensional images indicated by the plurality of calibration image data IMG_calib, and calculate the relative position and relative orientation of the camera 21 with respect to the robot 1 (i.e., the 2D calibration matrix) based on the positions of the n reference points in each of the plurality of two-dimensional images and the movement amount of the camera 21 (i.e., the movement amount of the robot 1). More specifically, the calibration unit 312 may utilize the fact that one reference point in a first two-dimensional image indicated by the first two-dimensional image data and the same one reference point in a second two-dimensional image indicated by the second two-dimensional image data correspond to the position of one reference point in the robot coordinate system, and calculate the relative position of the camera 21 with respect to the robot 1 (i.e., the 2D calibration matrix) based on the positions of the n reference points in each of the plurality of two-dimensional images and the movement amount of the camera 21 (i.e., the movement amount of the robot 1).

[0281] The camera 21 may capture images of the same calibration member CP from a plurality of different positions in order to improve the accuracy of the calibration process. The camera 21 may capture images of the same calibration member CP in a plurality of different postures in order to improve the accuracy of the calibration process.

[0282] The plurality of different positions at which the camera 21 captures images of the calibration member CP may be a plurality of different positions set randomly within a predetermined position range, or may be a plurality of different positions that have been determined in advance. The predetermined position range may be set by the user or may be fixed. The plurality of different predetermined positions may be determined in advance so that the plurality of imaging positions at which the camera 21 captures images of the calibration member CP are not biased. The plurality of different orientations at which the camera 21 captures images of the calibration member CP may be a plurality of different orientations that have been set randomly within a predetermined orientation range, or may be a plurality of different orientations that have been determined in advance. The predetermined orientation range may be set by the user or may be fixed. The plurality of different predetermined orientations may be determined in advance so that the plurality of imaging orientations at which the camera 21 captures images of the calibration member CP are not biased.

[0283] In the calibration process, the calibration unit 312 generates the robot control signal, but in the calibration process, the robot control unit 316 may also generate the robot control signal. In this case, the robot system SYS may alternately repeat an operation using the calibration unit 312 to control the camera 21 to capture an image of the calibration member CP and an operation using the robot control unit 316 to generate a robot control signal for controlling the robot 1 to change at least one of the position and the posture of the camera 21 that captured the image of the calibration member CP. The robot system SYS may alternately repeat an operation using the calibration unit 312 to control the camera 21 to capture an image of the calibration member CP and an operation using the robot control unit 316 to generate a robot control signal for controlling the robot 1 to change the relative positional relationship between the camera 21 that captured the image of the calibration member CP and the calibration member CP.

[0284] Even if the positions of the n reference points in the robot coordinate system are known to the calibration unit 312, the calibration unit 312 may generate the 2D calibration matrix based on multiple calibration image data IMG_calib generated by the camera 21 capturing images of the calibration member CP multiple times. In this case, the camera 21 may generate multiple calibration image data IMG_calib by capturing images of the same calibration member CP from multiple different positions. The camera 21 may generate multiple calibration image data IMG_calib by capturing images of the same calibration member CP in multiple different orientations, in order to improve the accuracy of the calibration process. The camera 21 may capture images of the same calibration member CP from multiple different positions in order to improve the accuracy of the calibration process. The camera 21 may capture images of the same calibration member CP in multiple different orientations in order to improve the accuracy of the calibration process.

[0285] The calibration process described above may be considered equivalent to a so-called hand-eye calibration process. That is, the calibration unit 312 may generate a calibration matrix by performing the hand-eye calibration process. Note that the hand-eye calibration process is, for example, an existing process for calculating the positional relationship between the tool center point of the articulated robot and a camera used with the articulated robot, and therefore a detailed description thereof will be omitted. The outline of the process has been essentially described above. Note that, although the end effector 4 is attached to the robot 1 (robot arm 12) in FIG. 7 , the end effector 4 does not have to be attached to the robot 1 during the calibration process.

[0286] The calibration unit 312 may perform, in parallel, an operation of generating a 2D calibration matrix based on the calibration image data IMG_calib generated by the camera 21 and an operation of generating a 3D calibration matrix based on the calibration image data IMG_calib generated by the camera 22. Alternatively, the calibration unit 312 may perform an operation of generating a 3D calibration matrix based on the calibration image data IMG_calib generated by the camera 22 after or before performing the operation of generating a 2D calibration matrix based on the calibration image data IMG_calib generated by the camera 21. However, in this embodiment, since both the cameras 21 and 22 are attached to the same robot 1, the cameras 21 and 22 can simultaneously capture images of the same calibration member CP. Therefore, when the operation of generating the 2D calibration matrix and the operation of generating the 3D calibration matrix are performed in parallel, the time required to generate the 2D calibration matrix and the 3D calibration matrix is ​​reduced compared to when the operation of generating the 2D calibration matrix and the operation of generating the 3D calibration matrix are not performed in parallel.

[0287] (3-2) Display of Information Regarding the Accuracy of the Calibration Process In this embodiment, the calibration unit 312 may display information regarding the accuracy (in other words, precision) of the calibration process on the display device 35. In the following description, the information regarding the accuracy of the calibration process will be referred to as calibration accuracy information. The calibration accuracy information may include information regarding the accuracy (in other words, precision) of coordinate transformation using a calibration matrix generated by the calibration process. For example, the calibration accuracy information may include information regarding the accuracy of coordinate transformation using a 2D calibration matrix. For example, the calibration accuracy information may include information regarding the accuracy of coordinate transformation using a 3D calibration matrix.

[0288] The information on the accuracy of coordinate transformation by the calibration matrix may include information on the accuracy of coordinate transformation for converting, using the calibration matrix, three-dimensional coordinates in either the robot coordinate system or the imaging coordinate system into three-dimensional coordinates in the other of the robot coordinate system and the imaging coordinate system. The information on the accuracy of coordinate transformation by the calibration matrix may include information on the accuracy of coordinate transformation by a translation transformation matrix included in the calibration matrix. The information on the accuracy of coordinate transformation by the translation transformation matrix may include information on the accuracy of coordinate transformation for converting, using the translation transformation matrix, three-dimensional coordinates in either the robot coordinate system or the imaging coordinate system into three-dimensional coordinates in the other of the robot coordinate system and the imaging coordinate system. The information on the accuracy of coordinate transformation by the calibration matrix may include information on the accuracy of coordinate transformation by a rotation transformation matrix included in the calibration matrix. The information on the accuracy of coordinate transformation by the rotation transformation matrix may include information on the accuracy of coordinate transformation for converting, using the rotation transformation matrix, three-dimensional coordinates in either the robot coordinate system or the imaging coordinate system into three-dimensional coordinates in the other of the robot coordinate system and the imaging coordinate system.

[0289] The calibration unit 312 may perform calibration processing using the calibration image data IMG_calib, and based on the results of the calibration processing, display calibration accuracy information on the display device 35. For example, the calibration unit 312 may perform calibration processing using a single calibration image data IMG_calib, and based on the results of the calibration processing, display calibration accuracy information on the display device 35. For example, the calibration unit 312 may perform calibration processing using a plurality of calibration image data IMG_calib, and based on the results of the calibration processing, display calibration accuracy information on the display device 35.

[0290] Hereinafter, the accuracy information display process for displaying the calibration accuracy information on the display device 35 will be described with reference to Fig. 8. Fig. 8 is a flowchart showing the flow of the accuracy information display process for displaying the calibration accuracy information on the display device 35. Note that Fig. 8 shows an example of an operation in which calibration processing is performed using a plurality of calibration image data IMG_calib, and calibration accuracy information is displayed based on the results of the calibration processing.

[0291] The following description will explain the accuracy information display process for displaying calibration accuracy information related to the accuracy of coordinate transformation using a 2D calibration matrix. However, the following description can be used as an explanation of the accuracy information display process for displaying calibration accuracy information related to the accuracy of coordinate transformation using a 3D calibration matrix by replacing the terms "camera 21," "2D imaging coordinate system," and "2D calibration matrix" with "camera 22," "3D imaging coordinate system," and "3D calibration matrix," respectively.

[0292] 8 , in order to display the calibration accuracy information, the calibration unit 312 acquires N pieces of calibration image data IMG_calib from the camera 21 (step S220). Here, N is a variable indicating an integer equal to or greater than 2. Specifically, the calibration unit 312 may control the camera 21 to capture an image of the calibration member CP N times to generate N pieces of calibration image data IMG_calib. In particular, the calibration unit 312 may change at least one of the position and orientation of the camera 21 every time the camera 21 captures an image of the calibration member CP. In other words, the calibration unit 312 may change the relative positional relationship between the camera 21 and the calibration member CP every time the camera 21 captures an image of the calibration member CP. For this reason, the N pieces of calibration image data IMG_calib may include calibration image data IMG_calib generated by the camera 21 capturing an image of the calibration member CP from a first position, and calibration image data IMG_calib generated by the camera 21 capturing an image of the calibration member CP from a second position different from the first position. The N pieces of calibration image data IMG_calib may include calibration image data IMG_calib generated by the camera 21 capturing an image of the calibration member CP in a first orientation, and calibration image data IMG_calib generated by the camera 21 capturing an image of the calibration member CP in a second orientation different from the first orientation. The N pieces of calibration image data IMG_calib may include calibration image data IMG_calib generated by the camera 21 capturing an image of the calibration member CP under a condition in which the relative positional relationship between the camera 21 and the calibration member CP is a first positional relationship, and calibration image data IMG_calib generated by the camera 21 capturing an image of the calibration member CP under a condition in which the relative positional relationship between the camera 21 and the calibration member CP is a second positional relationship different from the first positional relationship.

[0293] Thereafter, the calibration unit 312 divides the N pieces of calibration image data IMG_calib acquired in step S220 into a first calibration image data group including X pieces of calibration image data IMG_calib and a second calibration image data group including N-X pieces of calibration image data IMG_calib excluding the X pieces of calibration image data IMG_calib (step S221), where X is a variable indicating an integer greater than or equal to 1 and less than N.

[0294] The number of calibration image data IMG_calib included in the first calibration image data group is smaller than the number of calibration image data IMG_calib included in the second calibration image data group. That is, the calibration unit 312 divides the N pieces of calibration image data IMG_calib into the first calibration image data group and the second calibration image data group so as to satisfy the relationship "X<N-X." As an example, the calibration unit 312 may classify 10% to 20% of the N pieces of calibration image data IMG_calib acquired in step S220 into the first calibration image data group. However, the number of calibration image data IMG_calib included in the first calibration image data group may be the same as or greater than the number of calibration image data IMG_calib included in the second calibration image data group.

[0295] Thereafter, the calibration unit 312 performs a calibration process based on the X pieces of calibration image data IMG_calib included in the first calibration image data group (step S222). That is, the calibration unit 312 calculates a 2D calibration matrix by performing the above-described calibration process based on the X pieces of calibration image data IMG_calib included in the first calibration image data group (step S222). Note that in the following description, the calibration process of step S222 performed based on the X pieces of calibration image data IMG_calib included in the first calibration image data group is referred to as the "first calibration process." Furthermore, the 2D calibration matrix generated by the first calibration process of step S222 is referred to as the "first calibration matrix."

[0296] Before, after, or in parallel with the processing of step S222, the calibration unit 312 performs a calibration process based on the N-X pieces of calibration image data IMG_calib included in the second calibration image data group (step S223). That is, the calibration unit 312 calculates a 2D calibration matrix by performing the above-mentioned calibration process based on the N-X pieces of calibration image data IMG_calib included in the second calibration image data group (step S223). Note that in the following description, the calibration process of step S223 performed based on the N-X pieces of calibration image data IMG_calib included in the second calibration image data group is referred to as the second calibration process. Furthermore, the 2D calibration matrix generated by the second calibration process of step S223 is referred to as the second calibration matrix.

[0297] The calibration processes performed in steps S222 and S223 are typically provisional calibration processes performed to display calibration accuracy information. Therefore, as will be described in detail later, the calibration unit 312 may perform a final calibration process to generate a 2D calibration matrix that is actually used to control the robot 1 after performing the accuracy information display process shown in FIG.

[0298] Thereafter, the calibration unit 312 calculates a calibration error indicating the error between the first calibration matrix and the second calibration matrix (step S224). That is, the calibration unit 312 calculates a calibration error indicating the error between the result of the first calibration process and the result of the second calibration process (step S224).

[0299] The calibration unit 312 may calculate, as the calibration error, an error between a result of coordinate transformation using the first calibration matrix and a result of coordinate transformation using the second calibration matrix. Specifically, the calibration unit 312 may calculate, as the calibration error, an error between a result of coordinate transformation of one three-dimensional coordinate using the first calibration matrix and a result of coordinate transformation of the same one three-dimensional coordinate using the second calibration matrix.

[0300] As described above, the 2D calibration matrix may include a translation transformation matrix. In this case, the calibration unit 312 may calculate, as the calibration error, a translation transformation error corresponding to the error between the result of coordinate transformation using the translation transformation matrix included in the first calibration matrix and the result of coordinate transformation using the translation transformation matrix included in the second calibration matrix. Specifically, the calibration unit 312 may calculate, as the calibration error, a translation transformation error corresponding to the error between the result of coordinate transformation of one three-dimensional coordinate using the translation transformation matrix included in the first calibration matrix and the result of coordinate transformation of the same one three-dimensional coordinate using the translation transformation matrix included in the second calibration matrix. In the following description, the translation transformation matrix included in the first calibration matrix will be referred to as the first translation transformation matrix, and the translation transformation matrix included in the second calibration matrix will be referred to as the second translation transformation matrix.

[0301] If the result of coordinate transformation of one three-dimensional coordinate using the first translation transformation matrix is ​​identical to the result of coordinate transformation of the same three-dimensional coordinate using the second translation transformation matrix, the translation transformation error is zero. On the other hand, if the result of coordinate transformation of one three-dimensional coordinate using the first translation transformation matrix is ​​not identical to the result of coordinate transformation of the same three-dimensional coordinate using the second translation transformation matrix, the difference between the two corresponds to a translation transformation error. The translation transformation error may include a translation error in the translation direction along the X-axis in at least one of the robot coordinate system and the 2D imaging coordinate system. The translation transformation error may include a translation error in the translation direction along the Y-axis (i.e., an axis perpendicular to the X-axis) in at least one of the robot coordinate system and the 2D imaging coordinate system. The translation transformation error may include a translation error in the translation direction along the Z-axis (i.e., an axis perpendicular to the X-axis and Y-axis) in at least one of the robot coordinate system and the 2D imaging coordinate system.

[0302] As described above, the 2D calibration matrix may include a rotational transformation matrix. In this case, the calibration unit 312 may calculate, as the calibration error, a rotational transformation error corresponding to the error between the result of coordinate transformation using the rotational transformation matrix included in the first calibration matrix and the result of coordinate transformation using the rotational transformation matrix included in the second calibration matrix. Specifically, the calibration unit 312 may calculate, as the calibration error, a translational transformation error corresponding to the error between the result of coordinate transformation of one three-dimensional coordinate using the rotational transformation matrix included in the first calibration matrix and the result of coordinate transformation of the same one three-dimensional coordinate using the rotational transformation matrix included in the second calibration matrix. In the following description, the rotational transformation matrix included in the first calibration matrix will be referred to as the "first rotational transformation matrix," and the rotational transformation matrix included in the second calibration matrix will be referred to as the "second rotational transformation matrix."

[0303] When the result of coordinate transformation of one three-dimensional coordinate using the first rotational transformation matrix is ​​identical to the result of coordinate transformation of the same three-dimensional coordinate using the second rotational transformation matrix, the rotational transformation error is zero. On the other hand, when the result of coordinate transformation of one three-dimensional coordinate using the first rotational transformation matrix is ​​not identical to the result of coordinate transformation of the same three-dimensional coordinate using the second rotational transformation matrix, the difference between the two corresponds to a rotational transformation error. The rotational transformation error may include a transformation error in the rotation direction about the X-axis in at least one of the robot coordinate system and the 2D imaging coordinate system. The rotational transformation error may include a transformation error in the rotation direction about the Y-axis in at least one of the robot coordinate system and the 2D imaging coordinate system. The rotational transformation error may include a transformation error in the rotation direction about the Z-axis in at least one of the robot coordinate system and the 2D imaging coordinate system.

[0304] Thereafter, the calibration unit 312 repeats the processes from step S221 to step S224 until the calibration error including at least one of the translational transformation error and the rotational transformation error has been calculated M times in step S224 (step S225). Note that M is a variable indicating an integer equal to or greater than 1. Because the calibration error is calculated once in step S224 each time the first calibration process in step S222 and the second calibration process in step S223 are performed once, the calibration unit 312 repeats the processes from step S221 to step S224 until the first calibration process in step S222 and the second calibration process in step S223 have been performed M times (step S225). In other words, the calibration unit 312 repeats the processes from step S221 to step S224 until the unit calibration process including the first calibration process in step S222 and the second calibration process in step S223 has been performed M times (step S225). As a result, the calibration unit 312 calculates M calibration errors. Note that the M calibration errors are values ​​that quantitatively indicate the accuracy of the calibration process. Therefore, the M calibration errors may be considered as an example of calibration accuracy information.

[0305] Here, each time the calibration error is calculated, the calibration unit 312 re-divides the N pieces of calibration image data IMG_calib acquired in step S220 into a first calibration image data group and a second calibration image data group (step S221). In this case, as shown in Fig. 9 which shows the first calibration image data group and the second calibration image data group, the calibration unit 312 may re-divide the N pieces of calibration image data IMG_calib into the first calibration image data group and the second calibration image data group so as to change at least one of the X pieces of calibration image data IMG_calib included in the first calibration image data group and at least one of the N-X pieces of calibration image data IMG_calib included in the second calibration image data group. That is, the calibration unit 312 may re-divide the N pieces of calibration image data IMG_calib into first and second calibration image data groups such that at least one piece of calibration image data IMG_calib different from the X pieces of calibration image data IMG_calib already selected as the calibration image data IMG_calib included in the first calibration image data group is newly selected as the calibration image data IMG_calib included in the first calibration image data group. The calibration unit 312 may re-divide the N pieces of calibration image data IMG_calib into first and second calibration image data groups such that at least one piece of calibration image data IMG_calib different from the N-X pieces of calibration image data IMG_calib already selected as the calibration image data IMG_calib included in the second calibration image data group is newly selected as the calibration image data IMG_calib included in the second calibration image data group.The two-dimensional image indicated by at least one of the N calibration image data IMG_calib may be considered as an example of calibration accuracy information.

[0306] Thereafter, the calibration unit 312 calculates a calibration index value based on the M calibration errors calculated in step S224 (step S226). The calibration index value is an index value that quantitatively indicates the accuracy of the calibration process and is calculated from the M calibration errors calculated in step S224. Therefore, the calibration index value may be considered to be an example of calibration accuracy information.

[0307] For example, the calibration unit 312 may calculate, as the calibration index value, the average value of the M calibration errors calculated in step S224. For example, the calibration unit 312 may calculate, as the calibration index value, the average value of the M translational transformation errors included in each of the M calibration errors calculated in step S224. For example, the calibration unit 312 may calculate, as the calibration index value, the average value of the M rotational transformation errors included in each of the M calibration errors calculated in step S224.

[0308] If the variable M is 1, the calibration unit 312 may use the single calibration error calculated in step S224 as the calibration index value itself.

[0309] Thereafter, the calibration unit 312 may display the calibration index value calculated in step S226 on the display device 35 as calibration accuracy information (step S227). The calibration unit 312 may calculate the average value of the M calibration errors as the calibration index value. For example, the calibration unit 312 may calculate the median value of the M calibration errors as the calibration index value, or may calculate the deviation of the M calibration errors as the calibration index value. In other words, the calibration unit 312 may calculate the statistical value of the M calibration errors as the calibration index value.

[0310] In the present embodiment, the calibration accuracy information is displayed under the control of the display signal generation unit 317 and the display signal output unit 318. Alternatively, desired information including the calibration information (specifically, a desired image showing the desired information) is also displayed under the control of the display signal generation unit 317 and the display signal output unit 318. Specifically, the display signal generation unit 317 generates a display signal for displaying the desired information on the display device 35. Thereafter, the display signal output unit 318 outputs the display signal generated by the display signal generation unit 317 to the display device 35. As a result, the display device 35 displays the desired information based on the display signal, based on the display signal being output to the display device 35. Therefore, outputting the display signal to the display device 35 may be considered to be substantially equivalent to displaying the desired information based on the display signal on the display device 35.

[0311] Therefore, in step S227, under the control of the calibration unit 312, the display signal generation unit 317 generates a display signal for displaying the calibration index value calculated in step S226 on the display device 35. Thereafter, the display signal output unit 318 outputs the display signal generated by the display signal generation unit 317 to the display device 35. As a result, the display device 35 displays the calibration index value based on the display signal acquired from the display signal output unit 318.

[0312] A display example of the calibration index value is shown in Fig. 10. As shown in Fig. 10, the calibration unit 312 may display a display screen 3520 including a display field 3521 for displaying the calibration index value on the display device 35. As a result, the user of the robot system SYS can properly understand the calibration index value.

[0313] The calibration unit 312 may display the M calibration errors calculated in step S224 of FIG. 8 on the display device 35, in addition to (or instead of) the calibration index values. For example, as shown in FIG. 10 , the calibration unit 312 may display a display screen 3520 on the display device 35, including a display field 3522 for displaying the M calibration errors. As a result, the user of the robot system SYS can appropriately grasp the M calibration errors in addition to (or instead of) the calibration index values. Note that, in step S227, the calibration unit 312 may be considered to be displaying calibration accuracy information on the display device 35. Note that, if the calibration unit 312 displays the M calibration errors on the display device 35 instead of the calibration index values, the calibration unit 312 does not need to calculate the calibration index values.

[0314] In addition to (or instead of) the calibration index value, the calibration unit 312 may display on the display device 35 a two-dimensional image indicated by at least one of the N pieces of calibration image data IMG_calib acquired in step S221. For example, as shown in FIG. 10 , the calibration unit 312 may display on the display device 35 a display screen 3520 including a display field 3523 for displaying the calibration image, which is a two-dimensional image indicated by the calibration image data IMG_calib. As a result, the user of the robot system SYS can appropriately grasp the calibration image that served as the basis for generating the calibration index value. Note that the calibration unit 312 may display on the display device 35, as calibration accuracy information, the two-dimensional image indicated by at least one of the N pieces of calibration image data IMG_calib acquired in step S221 and the M calibration errors calculated in step S224 of FIG. 8.

[0315] (3-3) Evaluating the Quality of the Calibration Image Data IMG_calib The user or the calibration unit 312 may evaluate the quality of the N pieces of calibration image data IMG_calib based on the calibration accuracy information (e.g., at least one of the calibration index value and the calibration error) generated by the accuracy information display process. In particular, the user or the calibration unit 312 may evaluate the quality of the N pieces of calibration image data IMG_calib based on the calibration accuracy information (e.g., at least one of the calibration index value and the calibration error) during the process of generating the recipe file 321 (step S2 in FIG. 6 ) before actually starting to move the robot 1 by performing the processes of steps S31 to S37 in FIG. 6 . Thereafter, the calibration unit 312 may perform necessary processing based on the evaluation results of the quality of the N pieces of calibration image data IMG_calib. In particular, before actually starting to move the robot 1 by performing the processing of steps S31 to S37 in Figure 6, the calibration unit 312 may perform necessary processing based on the evaluation results of the quality of the N pieces of calibration image data IMG_calib in the process of generating the recipe file 321 (step S2 in Figure 6).

[0316] A specific example of evaluating the quality of the calibration image data IMG_calib will be described below.

[0317] (3-3-1) First Specific Example of Evaluation of Quality of Calibration Image Data IMG_calib If the calibration index value does not exceed a predetermined first tolerance threshold, the user or the calibration unit 312 may evaluate that it is highly likely that the quality of all of the N pieces of calibration image data IMG_calib acquired in step S220 reaches acceptable quality. In other words, the user or the calibration unit 312 may evaluate that it is low that the N pieces of calibration image data IMG_calib include at least one piece of calibration image data IMG_calib whose quality does not reach the acceptable quality. Note that a state in which the quality of the calibration image data IMG_calib does not reach the acceptable quality may mean a state in which a calibration matrix with sufficiently high conversion accuracy cannot be calculated by a calibration process using the calibration image data IMG_calib.

[0318] Therefore, if the calibration index value does not exceed the predetermined first allowable threshold, the calibration unit 312 may perform the final calibration process using all of the N pieces of calibration image data IMG_calib acquired in step S220. In other words, the calibration unit 312 may perform the calibration process without dividing the N pieces of calibration image data IMG_calib into the first and second calibration image data groups.

[0319] The calibration matrix generated by the final calibration process may actually be used by the control device 3 to control the robot 1. For example, the robot control unit 316 may use the calibration matrix generated by the final calibration process to calculate at least one of the position and orientation of the object OBJ in the global coordinate system. For example, the robot control unit 316 may use the calibration matrix generated by the final calibration process to generate a robot control signal.

[0320] The calibration unit 312 may perform final calibration based on an instruction from the user received via the input device 34. For example, a user checking the display screen 3520 shown in FIG. 10 may determine whether the calibration index value displayed on the display screen 3520 exceeds a predetermined first tolerance threshold. The calibration unit 312 may display information related to the first tolerance threshold as calibration accuracy information on the display device 35 so that the user can appropriately determine whether the calibration index value exceeds the predetermined first tolerance threshold. If the user determines that the calibration index value does not exceed the predetermined first tolerance threshold, the user may input an instruction to the control device 3 using the input device 34 requesting that a final calibration process be performed using all of the N pieces of calibration image data IMG_calib acquired in step S220. Alternatively, the calibration unit 312 may determine whether the calibration index value exceeds the predetermined first tolerance threshold regardless of whether a user instruction is received. If the calibration unit 312 determines that the calibration index value does not exceed a predetermined first tolerance threshold, the calibration unit 312 may perform a final calibration process using all of the N calibration image data IMG_calib acquired in step S220.

[0321] The first tolerance threshold may be set to an appropriate value that enables a distinction, based on the calibration index value, between a state in which a calibration matrix with sufficiently high conversion accuracy can be calculated by the calibration process and a state in which a calibration matrix with sufficiently high conversion accuracy cannot be calculated by the calibration process. The first tolerance threshold may be a fixed value that cannot be changed, or may be a variable value that can be changed. The first tolerance threshold may be set by a user, may be set in advance, or may be set appropriately by the calibration unit 312.

[0322] A calibration matrix with sufficiently high conversion accuracy may mean a calibration matrix that satisfies the condition that the difference between the conversion result obtained by converting the three-dimensional coordinates of either the robot coordinate system or the imaging coordinate system using the calibration matrix and the co...

Claims

1. A computing device comprising: a signal generation unit that generates a display signal for displaying on a display device a movement trajectory of a moving point that moves as the robot is driven when the robot is driven without moving the robot; and an output unit that outputs the display signal generated by the signal generation unit to the display device.

2. The computing device according to claim 1, wherein the signal generating unit generates the display signal for displaying on the display device the movement trajectory of the moving point that moves as the robot is driven based on the movement path information generated in advance, without moving the robot based on the movement path information.

3. The computing device according to claim 1 or 2, wherein the output unit outputs the display signal generated by the signal generation unit to the display device when the robot is stopped.

4. The computing device according to claim 3, wherein the state in which the robot is stopped includes a state before the robot is driven.

5. The computing device according to claim 3 or 4, wherein the state in which the robot is stopped includes a state in which the robot is stopped after being driven.

6. The computing device according to any one of claims 2 to 5, further comprising a path generating unit that generates the movement path information without moving the robot.

7. The computing device according to claim 6, wherein the route generation unit generates the travel route information based on generation instruction information regarding instructions from a user for generating the travel route information, which are input via a display screen of the display device.

8. The computing device described in claim 7, wherein the generation instruction information includes position information of a start point of movement, position information of an end point of movement, and model information, and the model information includes robot model information indicating a robot model which is a three-dimensional model of the robot, end effector model information indicating an end effector model which is a three-dimensional model of an end effector that can be attached to the robot, and object model information indicating an object model which is a three-dimensional model of a first object located in the periphery of the robot.

9. The computing device according to any one of claims 1 to 8, wherein the moving point is at least one point of the robot.

10. The computing device according to any one of claims 1 to 9, wherein the robot is capable of having an end effector attached thereto, and the moving point is at least one point of the end effector attached to the robot.

11. The computing device according to any one of claims 1 to 10, wherein the moving point is a tool center point of the robot.

12. A computing device according to any one of claims 1 to 11, wherein the display signal includes a signal for displaying on the display device, together with a display object indicating the movement path, a robot model which is a three-dimensional model of the robot, an end effector model which is a three-dimensional model of an end effector attached to the robot, and an object model which is a three-dimensional model of a first object located in the vicinity of the robot.

13. The computing device according to any one of claims 1 to 12, wherein the display signal includes a signal for displaying, on the display device, the movement trajectory as well as waypoints through which the moving point passes on the movement trajectory.

14. The computing device according to any one of claims 1 to 13, wherein the display signal includes a signal for displaying, on the display device, at least one of a start point of the movement of the moving point and an end point of the movement of the moving point together with the movement trajectory.

15. A computing device according to any one of claims 1 to 14, wherein the display signal includes a signal for displaying, together with the movement trajectory, interference information regarding interference between at least one of at least a part of the robot and at least a part of an end effector attached to the robot and a second object on the display device.

16. The computing device according to claim 15, wherein the second object includes a first object located in the vicinity of the robot.

17. The computing device according to claim 15 or 16, wherein the second object includes at least another part of the robot.

18. A computing device according to any one of claims 15 to 17, wherein the interference information includes information as to whether or not at least one of at least a part of the robot and at least a part of the end effector interferes with the second object.

19. A computing device described in any one of claims 15 to 18, wherein the interference information includes at least one of information regarding the second object interfering with at least one of at least a part of the robot and at least a part of the end effector, and information regarding at least one of at least a part of the robot and at least a part of the end effector interfering with the second object.

20. The computing device described in claim 19, wherein the information regarding the second object includes information regarding a position of the second object that interferes with at least one of at least a part of the robot and at least a part of the end effector, and the information regarding at least one of at least a part of the robot and at least a part of the end effector that interferes with the second object includes information regarding a position of at least one of at least a part of the robot and at least a part of the end effector that interferes with the second object.

21. The computing device according to any one of claims 15 to 20, wherein the display signal includes a signal for displaying on the display device a first model portion corresponding to at least one of a part of the robot and a part of the end effector that interferes with the second object in at least one of a robot model that is a three-dimensional model of the robot and an end effector model that is a three-dimensional model of the end effector, and a second model portion of at least one of the robot model and the end effector model that is different from the first model portion, such that the first model portion and the second model portion are displayed in different manners.

22. A computing device as claimed in any one of claims 15 to 21, wherein the display signal includes a signal for displaying on the display device a third model portion, which corresponds to a portion of the first object that interferes with at least one of the robot and the end effector, of an object model that is a three-dimensional model of a first object located around the robot, and a fourth model portion, which is different from the third model portion, of the object model, in different display forms.

23. The computing device according to any one of claims 15 to 22, wherein the second object includes at least another part of the robot, and the display signal includes a signal for displaying a fifth model part and a sixth model part on the display device such that a fifth model part corresponding to at least one of a part of the robot and a part of the end effector that interferes with at least another part of the robot among at least one of a robot model that is a three-dimensional model of the robot and an end effector model that is a three-dimensional model of the end effector, and at least another part of the robot, and a sixth model part different from the fifth model part among at least one of the robot model and the end effector model, have different display forms from each other.

24. The computing device according to any one of claims 21 to 23, wherein the display manner includes a display color.

25. The arithmetic device according to any one of claims 15 to 24, further comprising a path generation unit that determines whether or not at least one of at least a part of the robot and at least a part of the end effector moving along the movement trajectory interferes with at least a part of the second object based on a robot model that is a three-dimensional model of the robot, an end effector model that is a three-dimensional model of the end effector, and an object model that is a three-dimensional model of a first object located in the vicinity of the robot, and the signal generation unit generates the signal for displaying the interference information on the display device based on the determination result by the path generation unit.

26. The arithmetic device according to any one of claims 15 to 25, further comprising a path generation unit that determines whether or not at least one of at least a part of the robot and at least a part of the end effector moving along a movement path indicated by movement path information generated in advance will interfere with at least a part of the second object based on a robot model that is a three-dimensional model of the robot, an end effector model that is a three-dimensional model of the end effector, and an object model that is a three-dimensional model of a first object located in the vicinity of the robot, and the signal generation unit generates the signal for displaying the interference information on the display device based on a determination result by the path generation unit.

27. A computing device as described in any one of claims 15 to 26, wherein the interference includes contact between at least one of at least a part of the robot and at least a part of the end effector and the second object, or a distance between at least one of at least a part of the robot and at least a part of the end effector attached to the robot and the second object being equal to or smaller than a predetermined distance.

28. A computing device as described in any one of claims 6 to 27, wherein the route generation unit changes the travel route information based on change instruction information regarding instructions from a user to change the travel route information, which is input via a display screen of the display device.

29. The computing device according to claim 28, wherein the change instruction information includes at least one of information regarding a change in the position of the movement start point, information regarding a change in the position of the movement end point, and information regarding a change in the position of a waypoint through which the movement point passes on the movement trajectory.

30. The computing device described in claim 28 or 29, wherein the change instruction information includes position and orientation change information regarding a change in at least one of the position and orientation of a model, and the position and orientation information includes at least one of the following information: information regarding a change in at least one of the position and orientation of a robot model that is a three-dimensional model of the robot, information regarding a change in at least one of the position and orientation of an end effector model that is a three-dimensional model of an end effector that can be attached to the robot, and information regarding a change in at least one of the position and orientation of an object model that is a three-dimensional model of a first object located in the periphery of the robot.

31. A computing device as described in any one of claims 28 to 30, wherein the change instruction information includes information regarding a change in the type of model, and the information regarding the change in the type of model includes at least one of the following information: information regarding a change in the type of a robot model which is a three-dimensional model of the robot; information regarding a change in the type of an end effector model which is a three-dimensional model of an end effector which can be attached to the robot; and information regarding a change in the type of an object model which is a three-dimensional model of a first object located in the vicinity of the robot.

32. The computing device according to any one of claims 1 to 31, further comprising a control unit that generates a robot control signal for controlling the robot based on pre-generated movement path information after the display device displays the movement trajectory based on the display signal, and the robot moves based on the robot control signal.

33. A computing device as claimed in any one of claims 1 to 32, wherein the signal generation unit generates the display signal for displaying on the display device the movement trajectory of the moving point that moves as the robot is driven based on the movement path information, without moving the robot based on previously generated movement path information, and the path indicated by the movement path information and the path indicated by the movement trajectory are the same path.

34. A calculation device that generates a movement path of a moving point that moves in association with the driving of a robot to which an end effector that performs processing on a target object is attached, the calculation device generating a second movement path of the moving point that moves in association with the driving of the robot to which a first end effector is attached as the end effector, based on a first movement path of the moving point that moves in association with the driving of the robot to which a first end effector is attached as the end effector, and a three-dimensional model of a second end effector different from the first end effector.

35. The computing device according to claim 34, wherein the computing device generates the second movement path based on a three-dimensional model of the robot, a three-dimensional model of a peripheral object located around the robot, the first movement path, and a three-dimensional model of the second end effector.

36. The computing device according to claim 34, wherein the computing device generates the second movement path based on a three-dimensional model of the first end effector, the first movement path, and a three-dimensional model of a second end effector.

37. The computing device according to claim 36, wherein the computing device generates the second movement path based on a three-dimensional model of the robot, a three-dimensional model of a peripheral object located around the robot, a three-dimensional model of the first end effector, the first movement path, and a three-dimensional model of a second end effector.

38. A computing device as described in any one of claims 34 to 37, wherein when it is estimated that the second end effector, which moves according to a first portion that is at least a part of the first movement path, will interfere with at least one of a surrounding object located around the robot and the robot, the computing device generates the second movement path including the modified first portion by modifying the first portion.

39. The computing device described in any one of claims 34 to 38, wherein when it is estimated that the second end effector, which moves according to a second portion that is at least a part of the first movement path, will not interfere with at least one of a surrounding object located around the robot and the robot, the computing device generates the second movement path including the unmodified second portion without modifying the second portion.

40. The computing device according to any one of claims 34 to 39, wherein the computing device generates the second movement path after the end effector attached to the robot is replaced from the first end effector to the second end effector during the process in which the first end effector attached to the robot moves along the first movement path.

41. The computing device according to claim 40, wherein after the end effector attached to the robot is replaced from the first end effector to the second end effector, the computing device generates the second movement path including the corrected third portion by correcting at least a part of a third portion of the first movement path in which a movement point that moves in response to movement of the first end effector has not yet moved.

42. The computing device according to claim 40 or 41, wherein after the end effector attached to the robot is replaced from the first end effector to the second end effector, the computing device generates the second movement path without modifying at least a part of a fourth portion of the first movement path in which a movement point that moves in response to the movement of the first end effector has already moved.

43. The computing device according to any one of claims 34 to 42, wherein after the end effector attached to the robot is replaced with the second end effector after the first end effector has finished moving along the first movement path, the computing device generates the second movement path based on the first movement path and a three-dimensional model of the second end effector.

44. The computing device according to any one of claims 34 to 43, wherein the computing device generates the second movement path based on the first movement path and a three-dimensional model of the second end effector before the end effector attached to the robot is replaced from the first end effector to the second end effector.

45. The computing device according to any one of claims 34 to 44, wherein the computing device generates the second movement path based on the first movement path and a three-dimensional model of the second end effector before the first end effector starts moving.

46. ​​The computing device according to any one of claims 34 to 45, wherein the computing device generates the first movement path based on a three-dimensional model of the first end effector, a three-dimensional model of the robot, and a three-dimensional model of a peripheral object located around the robot.

47. A computing device used to set a processing position of an object by an end effector that processes the object, comprising: a signal generating unit that generates a display signal for displaying on a display device at least one of the object model and the end effector model moving and / or rotating on a display screen including an object model that is a three-dimensional model of the object and an end effector model that is a three-dimensional model of the end effector, based on instruction information regarding a user's instruction, in order to set the processing position; and an output unit that outputs the display signal generated by the signal generating unit to the display device, wherein the signal generating unit generates the display signal for displaying on the display device at least one of the object model and the end effector model moving along at least both a first axis and a second axis intersecting the first axis, and / or at least one of the object model and the end effector model rotating around at least both a rotation axis along at least a fourth axis and a rotation axis along a fifth axis intersecting the fourth axis, based on the instruction information.

48. The computing device described in claim 47, wherein the signal generating unit generates the display signal for displaying on the display device, based on the instruction information, at least one of the object model and the end effector model moving along an inclined direction inclined with respect to at least both of the first and second axes, and / or at least one of the object model and the end effector model rotating around a rotation axis along an inclined direction inclined with respect to at least both of the fourth and fifth axes.

49. The computing device according to claim 47 or 48, wherein the signal generating unit generates the display signal for displaying on the display device, based on the instruction information, at least one of the object model and the end effector model moving along all of the first axis, the second axis, and a third axis intersecting the first and second axes, and / or at least one of the object model and the end effector model rotating about all of a rotation axis along the fourth axis, a rotation axis along the fifth axis, and a rotation axis along a sixth axis intersecting the fourth and fifth axes.

50. The computing device described in claim 49, wherein the signal generating unit generates the display signal for displaying on the display device, based on the instruction information, at least one of the object model and the end effector model moving along an inclined direction inclined with respect to at least all of the first to third axes, and / or at least one of the object model and the end effector model rotating around a rotation axis along an inclined direction inclined with respect to at least all of the fourth to sixth axes.

51. The instruction information includes first instruction information for moving at least one of the object model and the end effector model at least along both the first and second axes and / or rotating at least one of the object model and the end effector model around at least both a rotation axis along the fourth axis and a rotation axis along the fifth axis, and second instruction information for moving at least one of the object model and the end effector model along either one of the first and second axes and / or rotating at least one of the object model and the end effector model around either one of the rotation axis along the fourth axis and the rotation axis along the fifth axis; and the signal generating unit generates, based on the first instruction information, a first display signal as the display signal for displaying on the display device such that at least one of the object model and the end effector model moves along both the first and second axes and / or rotates around both the rotation axis along the fourth axis and the rotation axis along the fifth axis; 51. The computing device of any one of claims 47 to 50, wherein the output unit outputs the first display signal to the display device, and the signal generation unit generates, as the display signal, a second display signal for displaying on the display device such that at least one of the object model and the end effector model moves along one of the first and second axes and / or at least one of the object model and the end effector model rotates along one of a rotation axis along the fourth axis and a rotation axis along the fifth axis based on the second instruction information after the first display signal is output to the display device, and the output unit outputs the second display signal to the display device.

52. The computing device of claim 51, wherein the first instruction information includes information regarding the user's instruction to move at least one of the object model and the end effector model by a first movement amount and / or rotate at least one of the object model and the end effector model by a first rotation amount, and the second instruction information includes information regarding the user's instruction to move at least one of the object model and the end effector model by a second movement amount less than the first movement amount and / or move at least one of the object model and the end effector model by a second rotation amount less than the second rotation amount.

53. The computing device according to any one of claims 47 to 52, further comprising a setting unit that sets the processing position of the object by the end effector based on the positional relationship between the object model and the end effector model after at least one of the object model and the end effector model has moved and / or rotated based on the instruction information.

54. The computing device described in claim 53, wherein, when the end effector is a first end effector, the setting unit sets a processing target position of the object by the second end effector based on information regarding the processing target position of the object by the set first end effector and a difference between a shape of the first end effector and a shape of a second end effector different from the first end effector.

55. A computing device as described in claim 53 or 54, wherein, when the object is a first object, the setting unit sets a processing position of the second object to be processed by the end effector based on the set processing position of the first object by the end effector and information regarding a difference between a shape of the first object and a shape of a second object different from the first object.

56. The arithmetic device according to any one of claims 53 to 55, wherein the end effector includes a holding device that holds the object, and the setting unit sets a target position of the object held by the holding device as the target position to be processed.

57. A computing device used for calibrating an imaging device attached to a robot, comprising: a signal generating unit that generates a display signal for displaying, on a display device, information regarding the accuracy of the calibration of the imaging device, which is generated based on image data generated by imaging a reference member with the imaging device attached to the robot; and an output unit that outputs the display signal generated by the signal generating unit to the display device.

58. The computing device according to claim 57, wherein the information relating to the accuracy of the calibration includes information relating to the accuracy of conversion from one coordinate system, that is, a robot coordinate system which is the coordinate system of the robot, to the other coordinate system, that is, an imaging coordinate system which is the coordinate system of the imaging device.

59. The computing device described in claim 57 or 58, wherein the imaging device generates a plurality of image data by imaging the reference member at each of different positional relationships between the reference member and the imaging device, and the signal generation unit generates the display signal for displaying information regarding the accuracy of the calibration generated based on the plurality of image data on the display device.

60. A computing device according to any one of claims 57 to 59, wherein the display signal includes a signal for displaying an image represented by the image data on the display device together with information relating to accuracy of the calibration.

61. A computing device as described in any one of claims 57 to 60, wherein each of the multiple image data is generated at a different time from the others, the signal generation unit generates the display signal for displaying on the display device information regarding the accuracy of the calibration generated based on at least one of the multiple image data generated at a time prior to the image data generated at a specified time, and the output unit outputs the display signal to the display device before the specified time.

62. The computing device according to any one of claims 57 to 61, further comprising a computing unit that generates information relating to the accuracy of the calibration based on image data generated by capturing an image of the reference member with the imaging device attached to the robot.

63. The computing device described in claim 62, wherein the imaging device generates a plurality of image data by imaging the reference member at each of different positional relationships between the reference member and the imaging device, and the computing unit performs a first calibration, which is the calibration based on at least one first image data of the plurality of image data, and a second calibration, which is the calibration based on at least one second image data different from the at least one first image data of the plurality of image data, and generates information regarding the accuracy of the calibration based on a result of the first calibration and a result of the second calibration.

64. The arithmetic device according to claim 63, wherein the calculation unit calculates an error between a result of the first calibration and a result of the second calibration as a calibration error, and generates information regarding accuracy of the calibration based on the calculated calibration error.

65. The calculation unit performs a unit calibration including the first and second calibrations a plurality of times while changing the at least one first image data used in the first calibration and the at least one second image data used in the second calibration, calculates the calibration error each time the unit calibration is performed, thereby calculating a plurality of calibration errors corresponding respectively to the plurality of unit calibrations, and generates information regarding the accuracy of the calibration based on the plurality of calibration errors.

66. The arithmetic device according to claim 65, wherein the arithmetic unit generates an average value of the plurality of calibration errors as information relating to the accuracy of the calibration.

67. The calculation unit of claim 65 or 66, wherein the calculation unit excludes from the plurality of image data at least one of the at least one first image data and the at least one second image data used in the unit calibration used to calculate one calibration error among the plurality of calibration errors that is higher than a predetermined threshold value, and performs the unit calibration using the plurality of image data from which the at least one of the at least one first image data and the at least one second image data has been excluded.

68. The arithmetic device according to any one of claims 63 to 67, wherein the number of said first image data used in said first calibration is smaller than the number of said second image data used in said second calibration.

69. The arithmetic device according to any one of claims 63 to 68, wherein the calibration is a process of relating a robot coordinate system, which is the coordinate system of the robot, to an imaging coordinate system, which is the coordinate system of the imaging device attached to the robot, and the arithmetic unit performs the first and second calibrations to calculate at least one of a translation transformation matrix that transforms a position in either the robot coordinate system or the imaging coordinate system to a position in the other of the robot coordinate system or the imaging coordinate system, and a rotation transformation matrix that transforms an attitude in either the robot coordinate system or the imaging coordinate system to an attitude in the other of the robot coordinate system or the imaging coordinate system, and calculates, as the calibration error, at least one of a translation error that is the difference between a transformation result using the translation transformation matrix calculated by the first calibration process and a transformation result using the translation transformation matrix calculated by the second calibration process, and a rotation error that is the difference between a transformation result using the rotation transformation matrix calculated by the first calibration process and a transformation result using the rotation transformation matrix calculated by the second calibration process.

70. A computing device for generating a movement path of a moving point that moves in association with the driving of a robot equipped with an end effector and an imaging device that processes a target object, the computing device generating a first partial path that is a part of the movement path based on a first end effector model that is an extension of at least a part of the three-dimensional model of the end effector and a first peripheral object model that is a three-dimensional model of a first peripheral object located around the robot, and generating a second partial path that is at least another part of the movement path based on a second end effector model in which the extension amount of the three-dimensional model of the end effector is different from that of the first end effector model, a second peripheral object model that is a three-dimensional model of a second peripheral object located around the robot, and imaging results obtained by the imaging device.

71. The computing device described in claim 70, wherein the first end effector model is a model in which at least a portion of a volume of a three-dimensional model of the end effector has been increased, and the second end effector model is a model in which an amount of increase in the volume of at least a portion of the three-dimensional model of the end effector is different from that of the first end effector model.

72. The computing device according to claim 70 or 71, wherein the computing device generates the second partial path based on the second end effector model, the second peripheral object model, and target object image data obtained as the imaging result by the imaging device capturing an image of the target object.

73. The computing device according to claim 72, wherein the target object image data is acquired by the imaging device capturing an image of the target object while the imaging device and the target object are moving relative to each other.

74. The computing device according to claim 72 or 73, wherein the target object image data is acquired by the imaging device capturing an image of the target object while the imaging device is moving along the generated first partial path.

75. A computing device as described in any one of claims 72 to 74, wherein the computing device generates the second partial path based on the second end effector model, the second surrounding object model, and the target object image data while the imaging device is moving along the generated first partial path.

76. The computing device described in any one of claims 72 to 75, wherein the computing device calculates at least one of the position and orientation of the target object based on the target object image data, and generates the second partial path based on the second end effector model, the second peripheral object model, and at least one of the position and orientation of the target object.

77. The computing device according to claim 76, wherein the computing device calculates at least one of the position and orientation of the target object by a matching process based on the target object image data and a target object model that is a three-dimensional model of the target object.

78. The computing device according to claim 76 or 77, wherein the computing device generates the second partial path based on a target object model, which is a three-dimensional model of the target object, at least one of a position and an orientation that is set based on at least one of the calculated position and orientation of the target object, the second end effector model, and the second surrounding object model.

79. A calculation device as described in any one of claims 70 to 78, wherein the second partial path is a path to a processing target position where processing is performed on the target object by the end effector, and an amount of extension of the second end effector model relative to a three-dimensional model of the end effector is less than an amount of extension of the first end effector model relative to the three-dimensional model of the end effector.

80. A calculation device as described in any one of claims 70 to 79, wherein the first partial path is a path from a movement start position of the end effector to a first approach position where the end effector is closer to the target object than the movement start position, and the second partial path is a path from the first approach position to a second approach position where the end effector is closer to the target object than the first approach position.

81. The computing device according to claim 80, wherein the second approach position is a processing target position where processing is performed on the target object by the end effector.

82. The computing device described in claim 80, wherein the movement path includes a third partial path that is at least a part of the movement path and is different from the first partial path and the second partial path, the third partial path being a path from the second approach position to a processing target position where processing is performed on the target object by the end effector, and the computing device generates the third partial path based on an imaging result by the imaging device.

83. A computing device according to any one of claims 70 to 82, wherein the second end effector model is a three-dimensional model of the end effector.

84. A calculation device as described in any one of claims 70 to 83, wherein the movement path is a path to a processing target position, which is a position where processing is performed on the target object by the end effector, and the calculation device generates the movement path based on path generation conditions set for each of the partial paths, and the path generation conditions include an extension amount of the first end effector model relative to a three-dimensional model of the end effector and an extension amount of the second end effector model relative to the three-dimensional model of the end effector.

85. The computing device according to claim 84, wherein the route generation conditions are input by a user via a display screen of a display device.

86. A computing device as described in any one of claims 70 to 85, which generates the first partial path based on a result of interference determination between the first end effector model and the first peripheral object model, and generates the second partial path based on a result of interference determination between the second end effector model and the second peripheral object model and the imaging result by the imaging device.

87. The computing device according to any one of claims 70 to 86, wherein the computing device generates at least a portion of the first partial path before the end effector starts moving based on the first partial path, and generates the second partial path after the end effector starts moving based on the first partial path.

88. The computing device according to claim 87, wherein the computing device generates the first partial path before the end effector starts moving based on the first partial path.

89. The computing device described in any one of claims 70 to 88, wherein the computing device generates at least a portion of the first partial path based on the first end effector model, the first surrounding object model, and an imaging result by the imaging device.

90. The computing device described in any one of claims 70 to 89, wherein the computing device calculates at least one of a position and an orientation of the first peripheral object based on first peripheral object image data obtained by the imaging device capturing an image of the first peripheral object as the imaging result, and generates the first partial path based on the first end effector model and the first peripheral object model at at least one of a position and an orientation determined based on the calculated at least one of the position and orientation of the first peripheral object.

91. The computing device described in any one of claims 70 to 87, wherein the computing device generates a portion of the first partial path based on the first end effector model, the first peripheral object model, and image data obtained by capturing an image of the first peripheral object as the imaging result before the end effector starts moving based on the first partial path, and generates another portion of the first partial path based on the first end effector model, the first peripheral object model, and image data obtained by the imaging device capturing an image of the first peripheral object as the imaging result after the end effector starts moving based on the portion of the first partial path.

92. The computing device described in any one of claims 70 to 91, wherein the computing device generates the second partial path based on the second end effector model, the second peripheral object model, and second peripheral object image data obtained as the imaging result by the imaging device capturing an image of the second peripheral object.

93. The computing device described in claim 92, wherein the computing device calculates at least one of a position and an orientation of the second peripheral object based on the second peripheral object image data, and generates the second partial path based on the second end effector model and the second peripheral object model at at least one of a position and an orientation determined based on the calculated at least one of the position and orientation of the second peripheral object.

94. The computing device according to any one of claims 72 to 78, wherein a group of target objects including a plurality of the target objects is positioned, and the target object image data is acquired by the imaging device capturing an image of the group of target objects.

95. The computing device described in claim 94, wherein the computing device determines one target object to be processed by the end effector from the group of target objects based on the target object image data, and generates the second partial path based on at least one of the position and orientation of the determined one target object, the second end effector model, and the second surrounding object model.

96. The computing device according to claim 95, wherein the computing device determines the one target object based on the target object image data and a target object model that is a three-dimensional model of the target object.

97. The computing device according to claim 95 or 96, wherein the computing device calculates at least one of the position and orientation of one of the target objects based on the target object image data and a target object model that is a three-dimensional model of the target object.

98. The computing device described in any one of claims 95 to 97, wherein the computing device generates the second partial path based on three-dimensional positions of multiple points of at least one of the target objects excluding the one target object from the group of target objects, or at least one of the positions and orientations of the at least one of the target objects, at least one of the positions and orientations of the one target object, the second end effector model, and the second surrounding object model.

99. The computing device described in any one of claims 95 to 98, wherein, when the target object image data is first target object image data, the computing device generates three-dimensional position data indicating the three-dimensional position of each of multiple points of each of the target objects in the target object group or the at least one target object based on second target object image data obtained as the imaging result when the imaging device captures the target object group or at least one of the target objects excluding the one target object from the target object group, and generates the second partial path based on the generated three-dimensional position data, at least one of the position and orientation of the one target object, the second end effector model, and the second surrounding object model.

100. The computing device described in claim 99, wherein the second target object image data includes a plurality of image data acquired by imaging the group of target objects or at least one of the target objects excluding the one target object from the group of target objects multiple times with the imaging device.

101. The arithmetic device according to claim 99 or 100, wherein the imaging device is equipped with a projection device capable of irradiating projection light, and the second object image data includes image data acquired by imaging, at least once, with the imaging device, the group of objects or at least one of the objects excluding the one object from the group of objects, irradiated with a first amount of the projection light from the projection device, and image data acquired by imaging, at least once, with the imaging device, the group of objects or at least one of the objects excluding the one object from the group of objects, irradiated with a second amount of the projection light different from the first amount of light from the projection device.

102. The computing device according to claim 100 or 101, wherein the computing device generates the three-dimensional position data by combining three-dimensional position information of each of the target objects in the group of target objects or each of multiple points of the at least one target object, calculated based on the image data of each of the target objects included in the second target object image data.

103. A computing device according to any one of claims 99 to 102, wherein the computing device generates the second partial path based on a collision determination result based on the second end effector model, the three-dimensional position data, and the second peripheral object model, and on at least one of the position and orientation of the one target object.

104. A computing device according to any one of claims 99 to 103, wherein the second peripheral object includes at least one of the target objects excluding the one target object from the group of target objects, the second peripheral object model is a model based on the three-dimensional position data, and the computing device generates the second partial path based on a collision determination result between the second end effector model and the second peripheral object model and at least one of the position and orientation of the one target object.

105. The computing device of claim 104, wherein the model based on the three-dimensional position data is a point cloud model or a mesh model.

106. The computing device according to any one of claims 99 to 105, wherein the first target object image data is the second target object image data.

107. A computing device as described in any one of claims 95 to 98, wherein the computing device generates the second partial path based on at least one of a position and an orientation of at least one of the target objects excluding the one target object from the group of target objects, at least one of a position and an orientation of the one target object, the second end effector model, and the second surrounding object model.

108. The computing device described in claim 107, wherein the second peripheral object includes at least one of the target objects excluding the one target object from the group of target objects, the second peripheral object model includes a target object model that is a three-dimensional model of the target object in at least one of a position and an orientation determined based on at least one of a position and an orientation of the at least one target object, and the computing device generates the second partial path based on a collision determination result between the second end effector model and the second peripheral object model and at least one of a position and an orientation of the one target object.

109. The computing device according to any one of claims 94 to 108, wherein the second peripheral object model includes a three-dimensional model of at least a container containing the group of target objects as the second peripheral object.

110. The computing device of claim 109, wherein each of the objects in the group of objects is in the container at an irregular position and orientation.

111. A computing device according to claim 109 or 110, wherein the first partial path is a path from the outside of the container to the inside of the container.

112. The computing device according to any one of claims 70 to 111, wherein the first peripheral object and the second peripheral object have at least a portion in common.

113. The computing device according to any one of claims 70 to 112, wherein the imaging device includes at least one of a monocular camera and a stereo camera having two monocular cameras different from the monocular camera.

114. The computing device according to any one of claims 70 to 113, wherein the process is a holding process, and the end effector is a holding device capable of holding the target object.

115. The computing device according to any one of claims 70 to 114, wherein the computing device generates a control signal for controlling the robot based on the generated first partial path and the generated second partial path.

116. A robot control method for controlling a robot based on the first partial path and the second partial path generated by a calculation device according to any one of claims 70 to 115.

117. A processing method for processing the target object with the end effector based on the first partial path and the second partial path generated by a computing device according to any one of claims 70 to 115.

118. The computing device described in any one of claims 70 to 115, wherein the processing is a holding processing, the end effector is capable of holding the target object, the movement path includes a fourth partial path which is at least a part of the movement path and is different from the first partial path, and the fourth partial path is generated based on a third end effector model based on a three-dimensional model of the end effector, a target object model based on a three-dimensional model of the target object positioned relative to the third end effector model, and a third peripheral object model which is a three-dimensional model of a third peripheral object positioned around the robot.

119. The computing device according to claim 118, wherein the target object model is a model based on a three-dimensional model of the target object positioned at a predetermined position and / or orientation relative to the third end effector model.

120. The calculation device according to claim 118 or 119, wherein the calculation device generates the fourth partial path based on a result of collision determination between the third end effector model and the target object model, and the third peripheral object model.

121. A computing device according to any one of claims 118 to 120, wherein the fourth partial path is a path from a holding target position where the end effector performs a holding process on the target object to a remote position away from the holding target position.

122. The computing device according to claim 121, wherein the computing device generates the fourth partial path before holding the target object with the end effector.

123. A calculation device as described in claim 121 or 112, wherein the second partial path is a path to a holding target position where the end effector performs a holding process on the target object, and the calculation device generates the fourth partial path before starting movement based on the second partial path or during movement based on the second partial path.

124. A computing device according to any one of claims 121 to 123, wherein the computing device generates the fourth partial path based on the third end effector model, the target object model, the third peripheral object model, and the imaging result by the imaging device.

125. The arithmetic device described in any one of claims 121 to 124, wherein a group of target objects including a plurality of the target objects including the target object for which the holding process is performed is located, the imaging result by the imaging device is target object image data acquired by the imaging device imaging the group of target objects, and the arithmetic device generates the second partial path based on the target object image data, the second end effector model, and the second surrounding object model, and generates the fourth partial path based on the target object image data, the third end effector model, the target object model, and the third surrounding object model.

126. The computing device according to any one of claims 118 to 125, wherein the third end effector model is a second end effector model, and the third peripheral object model is a second peripheral object model.

127. A computing device that generates a movement path of a moving point that moves in association with the driving of a robot equipped with an end effector capable of holding a target object, the computing device generating at least a portion of the movement path based on an end effector model based on a three-dimensional model of the end effector, a target object model based on a three-dimensional model of the target object held by the end effector, and a peripheral object model that is a three-dimensional model of peripheral objects located around the robot.

128. The computing device according to claim 127, wherein the computing device generates at least a part of the movement path based on a result of collision determination between the end effector model and the target object model and the peripheral object model.

129. The computing device according to claim 127 or 128, wherein the target object model is an extended model of at least a portion of a three-dimensional model of the target object held by the end effector.

130. A computing device as described in any one of claims 127 to 129, wherein the computing device generates a target object model by changing the amount of expansion of at least a portion of a three-dimensional model of the target object held by the end effector, and generates at least a portion of the movement path based on a result of collision determination between the target object model with the amount of expansion changed and the peripheral object model.

131. The computing device according to claim 120 or 130, wherein the computing device generates at least a portion of the movement path based on a path generation condition set for at least a portion of the movement path, and the path generation condition includes an amount of expansion of a three-dimensional model of the target object held by the end effector.

132. The computing device according to any one of claims 127 to 131, wherein the target object model is a model in which the volume of at least a portion of a three-dimensional model of the target object held by the end effector is increased.

133. The computing device according to any one of claims 127 to 132, wherein the target object model is a three-dimensional model of the target object held by the end effector.

134. The computing device according to any one of claims 127 to 133, wherein the end effector model is an extended model of at least a portion of a three-dimensional model of the end effector.

135. The computing device described in any one of claims 127 to 134, wherein the computing device generates the end effector model by changing the amount of expansion of at least a portion of the three-dimensional model of the end effector, and generates at least a portion of the movement path based on a collision determination result between the end effector model with the amount of expansion changed and the peripheral object model.

136. The computing device according to claim 134 or 135, wherein the computing device generates at least a portion of the movement path based on a path generation condition set for at least a portion of the movement path, and the path generation condition includes an amount of expansion of a three-dimensional model of the end effector.

137. A computing device according to any one of claims 127 to 136, wherein the end effector model is a model in which the volume of at least a portion of a three-dimensional model of the end effector is increased.

138. The computing device of any one of claims 127 to 137, wherein the end effector model is a three-dimensional model of the end effector.

139. The arithmetic device according to claim 131 or 136, wherein the route generation conditions are input by a user via a display screen of a display device.

140. A computing device as described in any one of claims 127 to 139, wherein an imaging device is attached to the robot, and the computing device generates at least a portion of the movement path based on the end effector model, the target object model, the surrounding object model, and the imaging results by the imaging device.

141. A computing device according to any one of claims 127 to 140, wherein at least a portion of the movement path includes a path from a holding target position, where the end effector performs a holding process on the target object, to a remote position away from the holding process position.

142. The arithmetic device described in claim 141, wherein the robot is equipped with an imaging device, a group of target objects including a plurality of the target objects is arranged in a space including the holding target position, and one of the group of target objects is held by the end effector, and the arithmetic device generates at least a portion of the movement path based on target object image data acquired by the imaging device capturing an image of the group of target objects or at least one of the target objects excluding the one target object from the group of target objects, the end effector model, the target object model, and the surrounding object model.

143. The computing device described in claim 142, wherein the computing device generates three-dimensional position data indicating the three-dimensional position of each of multiple points of each of the target objects in the group of target objects or the three-dimensional position of each of multiple points of the at least one target object based on the target object image data, and the computing device generates at least a portion of the movement path based on the three-dimensional position data, the end effector model, the target object model, and the surrounding object model.

144. The computing device described in claim 143, wherein the peripheral objects include at least one target object excluding the one target object from the group of target objects, the peripheral object model includes a model based on the three-dimensional position data, and the computing device generates at least a portion of the movement path based on a result of collision determination between the end effector model and the target object model and the peripheral object model.

145. The computing device of claim 144, wherein the model based on the three-dimensional position data is a point cloud model or a mesh model.

146. The computing device described in claim 142, wherein the computing device calculates at least one of a position and an orientation of the at least one target object based on the target object image data, and generates at least a portion of the movement path based on the calculated at least one of the position and orientation of the at least one target object, the end effector model, the target object model, and the surrounding object model.

147. The computing device described in claim 146, wherein the peripheral objects include at least one target object excluding the one target object from the group of target objects, the peripheral object model includes a three-dimensional model of the target object in at least one of a position and an orientation set based on at least one of a position and an orientation of the at least one target object, and the computing device generates at least a portion of the movement path based on a result of collision determination between the end effector model and the target object model and the peripheral object model.

148. A computing device according to any one of claims 142 to 147, wherein the target object image data is acquired by the imaging device capturing an image of the group of target objects or at least one of the target objects excluding the one target object from the group of target objects before the end effector holds the target object.

149. The computing device of any one of claims 142 to 148, wherein the surrounding objects include a container containing the group of target objects, and the surrounding object model includes a three-dimensional model of the container.

150. The computing device of claim 149, wherein each of the plurality of target objects included in the group of target objects is in the container in an irregular position and orientation.

151. A computing device according to any one of claims 127 to 150, wherein at least a portion of the movement path includes a path to a release target position where the target object held by the end effector is released from the end effector.

152. A computing device according to any one of claims 127 to 151, wherein the computing device generates control signals for controlling the robot based at least in part on the generated travel path.

153. The arithmetic device according to any one of claims 127 to 152, wherein when the end effector model is a first end effector model, the target object model is a first target object model, the peripheral object model is a first peripheral object model, and at least a portion of the movement path is a first partial path, the movement path includes the first partial path that is a portion of the movement path and a second partial path that is at least another portion of the movement path, and the arithmetic device generates the first partial path based on the first end effector model, the first target object model, and the first peripheral object model, and generates the second partial path based on a second end effector model based on a three-dimensional model of the end effector, a second target object model based on a three-dimensional model of the target object held by the end effector, and a second peripheral object model that is a three-dimensional model of peripheral objects located around the robot.

154. The computing device according to claim 153, wherein at least one of the first target object model and the second target object model is an extended model of at least a portion of a three-dimensional model of the target object held by the end effector.

155. The computing device according to claim 153 or 154, wherein the first target object model and the second target object model have different amounts of extension with respect to the three-dimensional model of the target object held by the end effector.

156. The calculation device according to any one of claims 153 to 155, wherein the calculation device generates the first partial path and the second partial path based on path generation conditions set for each of the partial paths, and the path generation conditions include an extension amount of the first target object model relative to a three-dimensional model of the target object held by the end effector, and an extension amount of the second target object model relative to the three-dimensional model of the target object held by the end effector.

157. The computing device according to any one of claims 153 to 156, wherein the first target object model and the second target object model have different increases in volume relative to the three-dimensional model of the target object held by the end effector.

158. The computing device according to any one of claims 153 to 157, wherein at least one of the first target object model and the second target object model is a three-dimensional model of the target object held by the end effector.

159. The computing device according to any one of claims 133 to 158, wherein at least one of the first end effector model and the second end effector model is a model obtained by extending at least a portion of a three-dimensional model of the end effector model.

160. The computing device according to any one of claims 153 to 159, wherein the first end effector model and the second end effector model have different amounts of extension with respect to the three-dimensional model of the end effector.

161. The calculation device according to any one of claims 153 to 160, wherein the calculation device generates the first partial path and the second partial path based on path generation conditions set for each of the partial paths, and the path generation conditions include an amount of extension of the first end effector model relative to a three-dimensional model of the end effector, and an amount of extension of the second end effector model relative to the three-dimensional model of the end effector.

162. The computing device according to any one of claims 153 to 161, wherein the first end effector model and the second end effector model have different increases in volume relative to the three-dimensional model of the end effector.

163. The computing device according to any one of claims 153 to 162, wherein at least one of the first end effector model and the second end effector model is a three-dimensional model of the end effector.

164. A calculation device described in any one of claims 153 to 163, wherein the first partial path is a path from a holding target position where the end effector performs a holding process on the target object to a first separated position separated from the holding target position, and the second partial path is a path from the first separated position to a second separated position further separated from the holding target position.

165. The arithmetic device according to any one of claims 153 to 164, wherein an imaging device is attached to the robot, a target object group including a plurality of the target objects is positioned in a space including the holding target position, and one of the target object group is held by the end effector, and the arithmetic device generates the first partial path based on target object image data acquired by the imaging device capturing an image of the target object group or at least one of the target objects excluding the one target object from the target object group, the first end effector model, the first target object model, and the first peripheral object model, and generates the second partial path based on the second end effector model, the second target object model, and the second peripheral object model.

166. The computing device described in claim 165, wherein the second object model is a model obtained by extending at least a portion of a three-dimensional model of the object held by the end effector, and the first object model and the second object model have different amounts of extension with respect to the three-dimensional model of the object held by the end effector.

167. The computing device according to claim 165 or 166, wherein the first target object model is a three-dimensional model of the target object held by the end effector.

168. The computing device according to any one of claims 165 to 167, wherein the second end effector model is a model obtained by extending at least a portion of a three-dimensional model of the end effector, and the first end effector model and the second end effector model have different amounts of extension with respect to the three-dimensional model of the end effector.

169. The computing device of any one of claims 167 to 168, wherein the first end effector model is a three-dimensional model of the end effector.

170. A computing device as described in any one of claims 165 to 169, wherein the target object image data is acquired by the imaging device capturing an image of the group of target objects or at least one of the target objects excluding the one target object from the group of target objects before the target object is held by the end effector.

171. The computing device described in any one of claims 165 to 170, wherein the computing device generates three-dimensional position data indicating the three-dimensional position of each of multiple points of each of the target objects in the target object group or the three-dimensional position of each of multiple points of the at least one target object based on the target object image data, and the computing device generates the first partial path based on the three-dimensional position data, the first end effector model, the first target object model, and the first surrounding object model.

172. The computing device described in claim 171, wherein the first peripheral object includes at least one target object excluding the one target object from the group of target objects, the first peripheral object model includes a model based on the three-dimensional position data, and the computing device generates the first partial path based on a result of collision determination between the first end effector model and the first target object model and the first peripheral object model.

173. The computing device of claim 172, wherein the model based on the three-dimensional position data is a point cloud model or a mesh model.

174. The computing device described in any one of claims 165 to 170, wherein the computing device calculates a position and orientation of the at least one target object based on the target object image data, and generates the first partial path based on the calculated position and orientation of the at least one target object, the end effector model, the target object model, and the surrounding object model.

175. The computing device described in claim 174, wherein the first peripheral object includes at least one target object excluding the one target object from the group of target objects, the first peripheral object model includes a three-dimensional model of the target object at at least one of a position and orientation set based on the position and orientation of the at least one target object, and the computing device generates the first partial path based on a result of collision determination between the first end effector model and the first target object model and the first peripheral object model.

176. The computing device of any one of claims 165 to 175, wherein at least one of the first peripheral object and the second peripheral object includes a container containing the group of target objects, and at least one of the first peripheral object model and the second peripheral object model includes a three-dimensional model of the container.

177. The computing device of claim 176, wherein each of the plurality of target objects included in the group of target objects is in the container in an irregular position and orientation.

178. The computing device of claim 176 or 177, wherein the second partial path is a path from inside the container to outside the container.

179. The computing device according to any one of claims 153 to 178, wherein the second remote position of the second partial path is a release target position where the target object held by the end effector is released from the end effector.

180. A computing device according to any one of claims 152 to 179, wherein the computing device outputs a control signal for controlling the robot based on the generated first partial path and the generated second partial path.

181. A computing device that controls a robot equipped with an end effector and an imaging device for processing a target object, the computing device generating a partial model, which is a three-dimensional model of at least a portion of the target object, from an original model, which is a three-dimensional model of the target object, calculating at least one of the position and orientation of the target object by performing a matching process based on the partial model and target object image data obtained by imaging the target object with the imaging device, and generating the control signal based on the calculation result of at least one of the position and orientation of the target object.

182. The computing device according to claim 181, wherein the computing device generates the partial model by extracting a part of the original model from the original model as the partial model.

183. The computing device according to claim 181 or 182, wherein the computing device generates the partial model from the original model based on model generation information relating to a user's instruction for generating the partial model.

184. The computing device of claim 183, wherein the model generation information includes information regarding instructions for designating a portion of the original model as a model portion to be included in the partial model.

185. A computing device according to claim 183 or 184, wherein the model generation information includes information regarding instructions for designating a portion of the original model as a model portion that should not be included in the partial model.

186. The computing device according to any one of claims 181 to 185, wherein the computing device generates a plurality of said part models that are different from each other.

187. The computing device of claim 186, wherein the plurality of part models include one part model that is a three-dimensional model of a first portion of the target object, and another part model that is a three-dimensional model of a second portion of the target object that is at least partially different from the first portion.

188. The computing device according to claim 186 or 187, wherein said computing device generates the plurality of part models, each of which is assigned a priority.

189. The computing device according to claim 188, wherein the priorities include a priority for using the part model for the matching process.

190. The computing device according to claim 188 or 189, wherein the computing device assigns a priority to each of the plurality of partial models based on priority information relating to a user's instruction to assign the priority to each of the plurality of partial models.

191. The computing device described in any one of claims 188 to 190, wherein the computing device calculates at least one of the position and orientation of the target object by performing a matching process using a first partial model that has been assigned a first priority among the plurality of partial models, and a matching process using a second partial model that has been assigned a second priority among the plurality of partial models that is different from the first priority.

192. The computing device described in any one of claims 188 to 191, wherein when the result of the matching process using a first partial model among the plurality of partial models to which a first priority has been assigned is poor, the computing device calculates at least one of the position and orientation of the target object by performing a matching process using a second partial model among the plurality of partial models to which a second priority different from the first priority has been assigned.

193. A computing device according to claim 191 or 192, wherein the computing device performs matching processing using the second partial model when the number of target objects for which the result of the matching processing using the first partial model is good is less than a lower allowable limit value.

194. The computing device according to any one of claims 191 to 193, wherein the computing device does not perform matching processing using the second partial model when the number of target objects for which the result of the matching processing using the first partial model is good is not less than an allowable lower limit value.

195. A calculation device as described in any one of claims 191 to 194, wherein a plurality of target objects are located, and the calculation device selects one of the plurality of target objects as a target object on which the end effector should perform the specified processing based on a result of the matching process using the first partial model and a result of the matching process using the second partial model, and generates the control signal based on a calculation result of at least one of the position and orientation of the one target object.

196. The computing device according to any one of claims 191 to 195, wherein the computing device selects one of a target object for which the result of the matching process using the first partial model is good and a target object for which the result of the matching process using the second partial model is good and the result of the matching process using the first partial model is bad as a target object for which the end effector should perform a predetermined processing, and generates the control signal based on a calculation result of at least one of the position and orientation of the one target object.

197. The computing device according to any one of claims 191 to 196, wherein the first priority is higher than the second priority.

198. The computing device of any one of claims 181 to 197, wherein the original model is the three-dimensional model of the target object.

199. The computing device of any one of claims 181 to 198, wherein the end effector is attached to the robot.

200. The computing device of claim 199, wherein the control signal is a signal for controlling the robot so that the end effector approaches the target object.

201. A computing device as claimed in any one of claims 181 to 200, wherein the imaging device is attached to the robot.

202. A display method comprising: generating a display signal for displaying on a display device a movement trajectory of a moving point that moves as the robot is driven when the robot is driven without moving the robot; and outputting the generated display signal to the display device.

203. A computer program product for causing a computer to carry out the display method of claim 202.

204. A recording medium on which the computer program according to claim 203 is recorded.

205. A path generation method for generating a movement path of a moving point that moves in association with the driving of a robot to which an end effector that processes a target object is attached, the path generation method including generating, based on a first movement path of the moving point that moves in association with the driving of the robot to which a first end effector is attached as the end effector, and a three-dimensional model of a second end effector different from the first end effector, a second movement path of the moving point that moves in association with the driving of the robot to which a second end effector is attached as the end effector.

206. A computer program product for causing a computer to carry out the route generation method of claim 205.

207. A recording medium having the computer program according to claim 206 recorded thereon.

208. A display method used to set a processing position of an object by an end effector that processes the object, comprising: generating a display signal for displaying on a display device at least one of an object model, which is a three-dimensional model of the object, and an end effector model, which is a three-dimensional model of the end effector, moving and / or rotating based on instruction information regarding a user's instruction on a display screen including the object model and the end effector model, in order to set the processing position; and outputting the generated display signal to the display device, wherein the generating step generates the display signal for displaying on the display device at least one of the object model and the end effector model moving along at least a first axis and a second axis intersecting the first axis, and / or at least one of the object model and the end effector model rotating around at least a rotation axis along at least a fourth axis and a rotation axis along a fifth axis intersecting the fourth axis, based on the instruction information.

209. A computer program product for causing a computer to carry out the display method of claim 208.

210. A recording medium having the computer program of claim 209 recorded thereon.

211. A display method used for calibrating an imaging device attached to a robot, comprising: generating a display signal for displaying, on a display device, information regarding the accuracy of the calibration of the imaging device, the information being generated based on image data generated by imaging a reference member with the imaging device attached to the robot; and outputting the generated display signal to the display device.

212. A computer program product for causing a computer to carry out the display method of claim 211.

213. A recording medium on which the computer program according to claim 212 is recorded.

214. A path generation method for generating a movement path of a moving point that moves in association with the driving of a robot equipped with an end effector and an imaging device that processes a target object, the path generation method comprising: generating a first partial path that is a part of the movement path based on a first end effector model that is an extension of at least a part of the three-dimensional model of the end effector, and a first peripheral object model that is a three-dimensional model of a first peripheral object located around the robot; and generating a second partial path that is at least another part of the movement path based on a second end effector model in which the extension amount of the three-dimensional model of the end effector is different from that of the first end effector model, a second peripheral object model that is a three-dimensional model of a second peripheral object located around the robot, and imaging results obtained by the imaging device.

215. A computer program product for causing a computer to carry out the route generation method of claim 214.

216. A recording medium having the computer program of claim 215 recorded thereon.

217. A robot control method for controlling a robot based on at least a part of the movement path generated by a computing device according to any one of claims 127 to 180.

218. A method of transporting the target object held by the end effector based on at least a part of the movement path generated by a computing device according to any one of claims 127 to 180.

219. A robot control method for controlling a robot based on the first partial path and the second partial path generated by a calculation device according to any one of claims 153 to 180.

220. A transportation method for transporting the target object held by the end effector based on the first partial path and the second partial path generated by a calculation device described in any one of claims 153 to 180.

221. A robot control method for controlling a robot equipped with an end effector and an imaging device for processing a target object, the method comprising: generating a partial model, which is a three-dimensional model of at least a portion of the target object, from an original model, which is a three-dimensional model of the target object; calculating at least one of the position and orientation of the target object by performing a matching process based on the partial model and target object image data obtained by imaging the target object with the imaging device; and generating the control signal based on the calculation result of at least one of the position and orientation of the target object.

222. A computer program product for executing the robot control method recited in claim 221.

223. A recording medium on which the computer program according to claim 222 is recorded.

Citation Information

Patent Citations

  • Operation simulation system of robot system

    US20130311154A1

  • Industrial robot

    JP1994126662A

  • Nearmiss checking method for robot

    JP1995036519A

  • Control device

    JP2022122648A

  • Robot teaching device, computer program, and robot teaching method

    JP6915543B2