ROBOT CONTROL DEVICE, ROBOT SYSTEM, AND ROBOT CONTROL METHOD
The control device for robots addresses safety and efficiency by stopping motion upon satisfying specific force and movement conditions, ensuring safety without reducing efficiency.
Patent Information
- Application Number
- JP2022507154
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-03-12
- Filing Date
- 2021-03-05
- Publication Date
- 2024-09-26
- Estimated Expiration
- 2041-03-05
AI Technical Summary
Existing robot control systems fail to reliably ensure the safety of surrounding objects and maintain work efficiency by preventing collisions with external forces.
A control device for robots that includes an external force acquisition unit, first and second condition determination units, and a control section to stop or continue robot motion based on whether external forces exceed predetermined thresholds and movement conditions are met.
Ensures work safety by stopping the robot when both conditions are satisfied, while continuing operation when conditions are not met, thereby preventing efficiency loss.
Smart Images

Figure 0007556938000001 
Figure 0007556938000006 
Figure 0007556938000002
Abstract
Description
[Technical field]
[0001] The present invention relates to a robot control device, a robot system, and a robot control method. [Background technology]
[0002] A control device is known that controls a robot to stop its motion when it comes into contact with a surrounding object (for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2015-199174 A Summary of the Invention [Problem to be solved by the invention]
[0004] Conventionally, there has been a demand for technology that reliably ensures the safety of objects (for example, workers) around a robot while maintaining the work efficiency of the robot. [Means for solving the problem]
[0005] In one aspect of the present disclosure, a control device for a robot having a movable element includes an external force acquisition unit that acquires an external force applied to the movable element while the robot is operating, a first condition determination unit that determines whether a first condition is satisfied, that an external force exceeding a predetermined first threshold has been applied to the movable element, a second condition determination unit that determines whether a second condition is satisfied, that the movable element is moving, and an operation control unit that stops operation of the robot when both the first condition and the second condition are satisfied, but continues operation of the robot when at least one of the first condition and the second condition is not satisfied.
[0006] In another aspect of the present disclosure, a method for controlling a robot having a moving element acquires an external force applied to the moving element while the robot is operating, determines whether a first condition is met that an external force exceeding a predetermined first threshold has been applied to the moving element, determines whether a second condition is met that the moving element is moving, and stops the operation of the robot when both the first condition and the second condition are met, while continuing the operation of the robot when at least one of the first condition and the second condition is not met. Effect of the Invention
[0007] According to the present disclosure, when both the first condition and the second condition are met, the operation of the robot is stopped to ensure the safety of the work, whereas when at least one of the first condition and the second condition is not met, the operation of the robot is allowed to continue, thereby preventing a decrease in work efficiency. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram of a robotic system according to one embodiment. [Diagram 2] FIG. 2 is a block diagram of the robot system shown in FIG. [Diagram 3] 1 is a flowchart illustrating an example of a robot control method. [Figure 4] 13 is a flowchart showing another example of a robot control method. [Diagram 5] FIG. 13 is a diagram of a robot system according to another embodiment. [Figure 6] FIG. 6 is a block diagram of the robot system shown in FIG. 5. [Figure 7] FIG. 13 is a diagram of a robot system according to yet another embodiment. [Figure 8] FIG. 8 is a block diagram of the robot system shown in FIG. 7. [Figure 9] 13 is a flowchart illustrating yet another example of a robot control method. [Figure 10] 10 is a flowchart showing an example of step S32 in FIG. 9. [Figure 11] 10 is a flowchart showing an example of step S34 in FIG. 9. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment of the present disclosure will be described in detail with reference to the drawings. In various embodiments described below, similar elements are given the same reference numerals, and duplicated explanations will be omitted. First, a robot system 10 according to one embodiment will be described with reference to Figs. 1 and 2. The robot system 10 includes a robot 12 and a control device 50 that controls the robot 12.
[0010] In this embodiment, the robot 12 is a vertical articulated robot and has a robot base 14, a rotating body 16, a lower arm 18, an upper arm 20, a wrist 22, and an end effector 24. The robot base 14 is fixed to the floor A of a work cell. The rotating body 16 is provided on the robot base 14 so as to be rotatable around a vertical axis. The lower arm 18 is provided on the rotating body 16 so as to be rotatable around a horizontal axis. The upper arm 20 is provided on the tip of the lower arm 18 so as to be rotatable.
[0011] The wrist 22 is rotatably provided at the tip of the upper arm 20, and the end effector 24 is detachably attached to the tip of the wrist 22. The wrist 22 may be configured to rotate the end effector 24 about a plurality of axes that are perpendicular to each other. The end effector 24 is, for example, a robot hand, a welding torch, a cutting tool, a laser processing head, or a paint applicator, and performs a predetermined operation (work handling, welding, cutting, laser processing, coating, etc.) on a workpiece (not shown).
[0012] The robot 12 further includes a first servo motor 26, a first joint shaft 28, a second servo motor 30, a second joint shaft 32, a third servo motor 34, a third joint shaft 36, a fourth servo motor 38, and a fourth joint shaft 40. The first servo motor 26 is built into the robot base 14 and rotates the first joint shaft 28 around a vertical axis. The first joint shaft 28 is connected to the rotating body 16 and transmits the rotational force of the first servo motor 26 to the rotating body 16.
[0013] The second servo motor 30 is provided on the rotating body 16 and rotates the second joint shaft 32 around a horizontal axis. The second joint shaft 32 is connected to the lower arm 18 and transmits the rotational force of the second servo motor 30 to the lower arm 18. The third servo motor 34 is provided on the lower arm 18 and rotates the third joint shaft 36. The third joint shaft 36 is connected to the upper arm 20 and transmits the rotational force of the third servo motor 34 to the upper arm 20. The fourth servo motor 38 is provided on the upper arm 20 and rotates the fourth joint shaft 40. The fourth joint shaft 40 is connected to the wrist 22 and transmits the rotational force of the fourth servo motor 38 to the wrist 22.
[0014] These servo motors 26, 30, 34, and 38 rotate the joint shafts 28, 32, 36, and 40, respectively, under instructions from the control device 50, thereby rotating the rotating body 16, the lower arm 18, the upper arm 20, the wrist 22, and the end effector 24. Therefore, the joint shafts 28, 32, 36, and 40, the rotating body 16, the lower arm 18, the upper arm 20, the wrist 22, and the end effector 24 constitute movable elements of the robot 12.
[0015] In this embodiment, a plurality of force sensors 42, 44, 46, and 48 are provided on the joint axles 28, 32, 36, and 40, respectively. Each of the force sensors 42, 44, 46, and 48 is a torque sensor. Specifically, the first force sensor 42 detects a force (specifically, torque) applied to the first joint axle 28, and the second force sensor 44 detects a force (specifically, torque) applied to the second joint axle 32.
[0016] Furthermore, the third force sensor 46 detects a force (specifically, torque) applied to the third joint axis 36, and the fourth force sensor 48 detects a force (specifically, torque) applied to the fourth joint axis 40. The first force sensor 42, the second force sensor 44, the third force sensor 46, and the fourth force sensor 48 each transmit detection data of the detected forces (torques) to the control device 50.
[0017] The control device 50 is a computer having a processor 52, a memory 54, and an I / O interface 56. The processor 52 has a CPU, a GPU, or the like, and is communicatively connected to the memory 54 and the I / O interface 56 via a bus 58. The processor 52 communicates with the memory 54 and the I / O interface 56 and performs calculations to realize various functions of the control device 50, which will be described later.
[0018] The memory 54 has a RAM or a ROM, etc., and temporarily or permanently stores various data. The memory 54 prestores a work program WP for causing the robot 12 to execute a predetermined work. The work program WP is a computer program including position data of teaching points at which the end effector 24 should be positioned for the work, commands for positioning the end effector 24 at the teaching points, and information on the movement trajectory and movement speed between two teaching points. This work program WP can be constructed, for example, by teaching the robot 12 the operation of sequentially positioning the end effector 24 at the teaching points.
[0019] The I / O interface 56 has, for example, an Ethernet (registered trademark) port, a USB port, an optical fiber connector, or an HDMI (registered trademark) terminal, and communicates data with external devices wirelessly or via wires under the command of the processor 52. In this embodiment, the servo motors 26, 30, 34, and 38 and the force sensors 42, 44, 46, and 48 are connected to the I / O interface 56 so as to be able to communicate with each other.
[0020] The processor 52 transmits commands to the servo motors 26, 30, 34, and 38 via the I / O interface 56 in accordance with the work program WP stored in the memory 54, and operates the robot 12 (specifically, the movable elements) to cause the robot 12 to perform a predetermined task. The processor 52 also acquires detection data detected by the force sensors 42, 44, 46, and 48 while the robot 12 is operating via the I / O interface 56, and stores the data in the memory 54.
[0021] Next, an example of a robot control flow executed by the control device 50 will be described with reference to Fig. 3. The flow shown in Fig. 3 is started when the processor 52 receives an automatic work start command from an operator, a higher-level controller, or a computer program (for example, the above-mentioned work program WP).
[0022] In step S1, the processor 52 starts the operation of the robot 12. Specifically, the processor 52 sends commands to the servo motors 26, 30, 34, and 38 in accordance with the work program WP, and starts a series of operations in which the end effector 24 performs work on a workpiece while moving the end effector 24 to each teaching point using the movable elements of the robot 12.
[0023] In step S2, the processor 52 starts acquiring the external forces applied to the movable elements of the robot 12. Specifically, the processor 52 continuously (e.g., periodically) acquires detection data from the first force sensor 42, the second force sensor 44, the third force sensor 46, and the fourth force sensor 48.
[0024] Meanwhile, each time detection data is acquired, the processor 52 calculates the forces (referred to as "internal forces" in this document) acting on the first force sensor 42, the second force sensor 44, the third force sensor 46, and the fourth force sensor 48 due to the mass of the robot 12 and the inertial forces generated by the operation of the robot 12. These internal forces can be calculated by substituting the mass of each movable element of the robot 12, the posture of the robot 12, and the moving speed of each movable element of the robot 12 into a known kinematic equation.
[0025] The processor 52 then calculates an external force torque ET1 applied to the first joint axis 28 by subtracting the components of the internal force acting on the first force sensor 42 from the detection data of the first force sensor 42 (i.e., the torque applied to the first joint axis 28). Similarly, the processor 52 calculates external force torques ET2, ET3, and ET4 applied to the second joint axis 32, the third joint axis 36, and the fourth joint axis 40 by subtracting the corresponding components of the internal forces from the detection data of the second force sensor 44, the third force sensor 46, and the fourth force sensor 48 (i.e., the torques applied to the second joint axis 32, the third joint axis 36, and the fourth joint axis 40), respectively.
[0026] In this manner, the processor 52 calculates the external torque E T n (n=1, 2, 3, 4). Therefore, in this embodiment, the processor 52 acquires the external force (external torque) ET applied to the movable elements (joint axes 28, 32, 36, 40) when the robot 12 is operating. n The external force acquisition unit 60 (FIG. 2) acquires the force.
[0027] In step S3, the processor 52 starts acquiring movement information of the movable elements of the robot 12. Specifically, the processor 52 acquires, as the movement information, the movement direction MD1 and movement speed MV1 of the first joint axis 28, the movement direction MD2 and movement speed MV2 of the second joint axis 32, the movement direction MD3 and movement speed MV3 of the third joint axis 36, and the movement direction MD4 and movement speed MV4 of the fourth joint axis 40.
[0028] As an example, the servo motors 26, 30, 34 and 38 (or the joint shafts 28, 32, 36 and 40) are each provided with a rotation detector (encoder, Hall element, etc.). These rotation detectors detect the rotational positions (or rotation angles) of the servo motors 26, 30, 34 and 38 (or the joint shafts 28, 32, 36 and 40), respectively, and transmit them to the control device 50 as position feedback FB. The processor 52 determines the movement direction MD based on the position feedback FB from the rotation detector. n and movement speed MV n (n=1,2,3,4) can be obtained.
[0029] As another example, the processor 52 may determine the movement direction MD from the commands (position commands, speed commands, etc.) sent to each of the servo motors 26, 30, 34, and 38. n and movement speed MV n As yet another example, the processor 52 may analyze the work program WP and obtain the moving direction MD from information such as the position data of the teaching point, the command, the moving path, or the moving speed included in the work program WP. n and movement speed MV n In this manner, in the present embodiment, the processor 52 may acquire the movement direction MD of the movable elements (joint axes 28, 32, 36, 40). n and a moving direction acquisition unit 62 (FIG. 2) that acquires the moving speed MV n The speed acquisition unit 64 acquires the speed.
[0030] In this embodiment, the moving direction MD n indicates the rotation direction of the n-th joint axis 28, 32, 36, 40, and the moving velocity MVn indicates the rotational speed (number of rotations) of the n-th joint axis 28, 32, 36, 40. After starting this step S3, the processor 52 calculates the external force torque ET n Synchronously with (specifically, simultaneously with) the acquisition of the movement information (movement direction MD n and movement speed MV n ) may be obtained.
[0031] In step S4, the processor 52 sets the number "n" that identifies the n-th joint axis 28, 32, 36, 40 to "1." In step S5, the processor 52 sets a predetermined threshold value α n External torque ET exceeding (first threshold) n is applied to the n-th joint axis 28, 32, 36 or 40.
[0032] In this embodiment, the processor 52 calculates the movement direction MD of the n-th joint axis 28, 32, 36, or 40. n External torque ET in the opposite direction to n is the threshold α n When n exceeds the threshold value, it is determined that the first condition is satisfied. Below, a case where n=3 is set at the start of step S4 will be described.
[0033] In this case, the processor 52 determines whether or not the direction of the external force torque ET3 applied to the third joint axis 36, which was most recently acquired, is opposite to the moving direction MD3 of the third joint axis 36 acquired in synchronization with the external force torque ET3, and the magnitude of the external force torque ET3 exceeds a threshold value α3. If the direction of the external force torque ET3 is opposite to the moving direction MD3, and the magnitude of the external force torque ET3 exceeds the threshold value α3, the processor 52 determines that the first condition is satisfied for the third joint axis 36 (i.e., YES), and proceeds to step S6.
[0034] On the other hand, when the magnitude of the external force torque ET3 is smaller than the threshold value α3, or when the external force torque ET3 is acting in the moving direction MD3, the processor 52 determines that the third joint axis 36 does not satisfy the first condition (i.e., NO), and proceeds to step S7. n External forces beyond ET n has been applied to the movable element (the n-th joint axis 28, 32, 36, or 40).
[0035] In step S6, the processor 52 determines whether or not a second condition is satisfied, that is, the n-th joint axis 28, 32, 36, or 40 is moving. Specifically, the processor 52 determines whether or not the external force torque ET n The moving velocity MV of the n-th joint axis 28, 32, 36 or 40 acquired synchronously with n is a predetermined threshold value β n When it exceeds (the second threshold value), it is determined that the second condition is satisfied.
[0036] Assuming that n=3 is set at the start of step S6, the processor 52 determines that the second condition is satisfied for the third joint axis 36 (i.e., YES) when the movement velocity MV3 of the third joint axis 36 acquired in synchronization with the external force torque ET3 when the first condition was determined in the most recent step S5 exceeds the threshold value β3. If the processor 52 determines YES, the process proceeds to step S10.
[0037] On the other hand, if the moving speed MV3 is smaller than the threshold value β3, the processor 52 determines that the third joint axis 36 does not satisfy the second condition (i.e., NO), and proceeds to step S7. In this manner, in the present embodiment, the processor 52 functions as a second condition determination unit 68 (FIG. 2) that determines whether or not the second condition that the movable element (the n-th joint axis 28, 32, 36, or 40) is moving is satisfied.
[0038] In step S6, the processor 52 calculates the acceleration a n is a predetermined threshold γ n If the acceleration a exceeds the acceleration a, it may be determined that the second condition is satisfied. n is, for example, the external force torque ET when the first condition is determined in the most recent step S5. n The moving speed MV obtained synchronously with n can be obtained by differentiating with respect to time.
[0039] In step S7, the processor 52 increments the number "n" identifying the n-th joint axis 28, 32, 36, 40 by "1" (n=n+1). In step S8, the processor 52 determines whether the number "n" identifying the n-th joint axis 28, 32, 36, 40 is equal to or greater than "5". This number "5" is the total number of joint axes 28, 32, 36, 40 of the robot 12 + 1.
[0040] The processor 52 determines YES if n=5 and proceeds to step S9, whereas it determines NO if n≦4 and returns to step S5. In this manner, the processor 52 loops steps S5 to S8 and sequentially determines whether or not the first condition and the second condition are satisfied for each of the joint axes 28, 32, 36, and 40 until a YES determination is made in step S6 or S8.
[0041] In step S9, the processor 52 determines whether or not a series of operations of the robot 12 has been completed. For example, the processor 52 can determine whether or not the operations of the robot 12 have been completed based on the information of the work program WP and the position feedback FB. When the processor 52 determines that the operations of the robot 12 have been completed (i.e., YES), it stops the robot 12 and ends the flow shown in FIG. 3. On the other hand, when the processor 52 determines that the operations of the robot 12 have not been completed (i.e., NO), it returns to step S4. Then, the processor 52 loops steps S4 to S9 until it determines YES in step S6 or S9.
[0042] On the other hand, if the determination in step S6 is YES, in step S10, the processor 52 stops the operation of the robot 12. As an example, the processor 52 stops all the servo motors 26, 30, 34, and 38. directive , which simultaneously stops the operation of the servo motors 26, 30, 34 and 38, thereby stopping the operation of the robot 12.
[0043] As another example, each of the servo motors 26, 30, 34, and 38 is provided with a brake mechanism that brakes the output shaft (or the joint shafts 28, 32, 36, and 40) of the servo motors 26, 30, 34, and 38. The processor 52 may then activate these brake mechanisms to stop the rotation of the output shafts (or the joint shafts 28, 32, 36, and 40) of the servo motors 26, 30, 34, and 38, thereby bringing the robot 12 to an emergency stop.
[0044] In step S11, the processor 52 causes the robot 12 to execute an escape operation. As an example, the processor 52 performs an escape operation based on the most recently acquired moving direction MD n The opposite direction MD n The robot 12 may be evacuated by rotating the n-th joint axes 28, 32, 36 and 40 to the opposite direction (i.e., reversing the n-th joint axis).
[0045] Alternatively, the processor 52 may identify the position where an external force was applied to the robot 12 and the direction of the external force based on the most recently acquired external force torques ET1, ET2, ET3, and ET4, and cause the robot 12 to retreat by moving the movable element corresponding to that position (e.g., the lower arm 18, the upper arm 20, the wrist 22, the end effector 24) in the direction opposite to the direction of the external force.
[0046] As described above, when both the first condition and the second condition are satisfied for one joint axis 28, 32, 36, or 40 (i.e., YES is determined in steps S5 and S6), the processor 52 stops the movement of the robot 12 in step S10, whereas when at least one of the first condition and the second condition is not satisfied, the processor 52 continues the movement of the robot 12 until YES is determined in step S9. Thus, the processor 52 functions as a movement control unit 70 (FIG. 2) that controls the movement of the robot 12 in this manner.
[0047] Thus, in this embodiment, the robot 12 continues to operate without being stopped unless an excessive external force is applied to the moving movable elements (joint axes 28, 32, 36, 40). If the moving movable elements (the rotating body 16, the lower arm 18, the upper arm 20, the wrist 22, and the end effector 24) suddenly collide with a surrounding object (an obstacle, a worker, etc.) while the robot 12 is operating, a large collision force may act on the object. In such a case, the external force applied to the robot 12 from the object acts strongly on the moving movable elements.
[0048] On the other hand, if, during operation of the robot 12, some of the moving elements (e.g., the upper arm 20) are moving while other moving elements (e.g., the rotating body 16) are stopped, even if an external force is applied to the stopped moving elements, the stopped moving elements will not further collide with surrounding objects, and therefore safety may be ensured.
[0049] According to this embodiment, when both the first condition and the second condition are satisfied, there is a high possibility that a large force will be applied to surrounding objects, so the operation of the robot 12 is stopped to ensure the safety of the work, whereas when at least one of the first condition and the second condition is not satisfied, the operation of the robot 12 is continued to prevent a decrease in work efficiency.
[0050] To describe this effect in more detail using the present embodiment as an example, assume that the processor 52 rotates the first joint axis 28 while stopping the second joint axis 32, the third joint axis 36, and the fourth joint axis 40 in the operation of the robot 12 started in step S1. In this case, the rotating body 16, the lower arm 18, the upper arm 20, the wrist 22, and the end effector 24 located on the tip side of the first joint axis 28 are rotated around the first joint axis 28.
[0051] At this time, if the rotating movable element (the rotating body 16, the lower arm 18, the upper arm 20, the wrist 22, or the end effector 24) suddenly collides with a surrounding object (an obstacle, a worker, etc.) and the external force torque ET1 acting on the first joint axis 28 exceeds the threshold value α1, the processor 52 judges YES in steps S5 and S6 and stops the operation of the robot 12 in step S10.
[0052] On the other hand, even if the external force torque ET1 applied to the first joint axis 28 at this time does not exceed the threshold value α1, while the external force torque ET2, ET3 or ET4 applied to the second joint axis 32, the third joint axis 36 or the fourth joint axis 40 exceeds the threshold value α2, α3 or α4, the second joint axis 32, the third joint axis 36 or the fourth joint axis 40 is not rotating, so the processor 52 determines NO in step S6 and allows the robot 12 to continue operating.
[0053] When the movable element (the rotating body 16, the lower arm 18, the upper arm 20, the wrist 22, or the end effector 24) collides with a surrounding object during the rotation of the first joint shaft 28, a large external torque ET1 is inevitably applied to the first joint shaft 28. Therefore, if the external torque ET1 does not exceed the threshold value α1, even if the external torque ET2, ET3, or ET4 at this time exceeds the threshold value α2, α3, or α4, it can be considered that the external torque ET2, ET3, or ET4 is not caused by the operation of the robot 12 (i.e., the rotation of the first joint shaft 28), and it can be estimated that the possibility of applying a large force to a surrounding object is low. In this way, when at least one of the first condition and the second condition is not satisfied, the operation of the robot 12 is continued, thereby preventing a decrease in work efficiency.
[0054] In this embodiment, the processor 52 also determines the moving direction MD n The opposite direction MD n 'External torque ET n is the threshold α n When the moving element collides with a surrounding object unexpectedly during the movement, the external force applied to the moving element from the object moves in the opposite direction MD as a reaction to the collision. n ' will have a strong effect on
[0055] On the other hand, for example, when the robot 12 is working with a worker, if the worker intentionally applies an external force to a specific movable element (e.g., the end effector 24) of the robot 12 to move the movable element, the direction of the external force will be approximately the same as the direction of movement of the movable element.
[0056] According to this embodiment, the opposite direction MD n 'External torque ET nBy determining the first condition based on the above, the robot 12 can be stopped when there is a high possibility that the moving element has unexpectedly collided with a surrounding object while moving, whereas the robot 12 can be allowed to continue to operate when a worker intentionally applies an external force to the robot 12 for collaborative work as described above. Therefore, it is possible to prevent a decrease in the efficiency of collaborative work, etc., while reliably ensuring the safety of the work.
[0057] In this embodiment, the robot 12 is caused to perform an escape operation after the robot 12 is stopped (step S11). This configuration can more effectively ensure the safety of surrounding objects. However, step S11 may be omitted, and the processor 52 may simply stop the robot 12 in step S10.
[0058] In step S5, the processor 52 calculates the external torque E n The direction of travel is MD n Without determining whether it is opposite to or not, the external torque ET in any direction is n Even if the magnitude is within the threshold α n In this case, the processor 52 may determine that the first condition is satisfied (i.e., YES) when the moving direction MD exceeds the moving direction MD in the above-mentioned step S3. n Since it is no longer necessary to acquire the moving direction, the moving direction acquisition unit 62 can be omitted from the control device 50.
[0059] In addition, in the above-mentioned step S6, the processor 52 calculates the moving speed MV n and threshold β n It is also possible to determine whether the second condition is satisfied without comparing with the above-mentioned. For example, the processor 52 may determine that the n-th joint axis 28, 32, 36, or 40 is moving (i.e., the second condition is satisfied) when the value of the position feedback FB from the rotation detector described above has changed.
[0060] Alternatively, the processor 52 may determine whether the n-th joint axis 28, 32, 36 or 40 is moving from a command to the n-th servo motor 26, 30, 34 or 38, or a statement included in the work program WP. In this case, the processor 52 determines in step S3 the moving speed MV n Since it is no longer necessary to acquire the speed, the speed acquisition unit 64 can be omitted from the control device 50.
[0061] 3 may be changed. As an example, the processor 52 may execute step S6 after step S4 to determine whether the second condition is satisfied, execute step S5 to determine whether the first condition is satisfied if it is determined that the second condition is satisfied (YES), and proceed to step S10 if it is determined that the first condition is satisfied. That is, in this case, the processor 52 may execute step S6 after step S4 to determine whether the second condition is satisfied (YES), and proceed to step S10 if it is determined that the first condition is satisfied (i.e., the external force torque ET n is the threshold α n The test will then be made to determine whether the
[0062] As another example, the processor 52 may execute step S4 after step S1, and may execute step S6 after step S4 to determine whether the second condition is satisfied. Then, when the processor 52 determines that the second condition is satisfied (YES), it executes step S2 to calculate the external force torque ET n Then, step S3 may be executed to obtain the movement information of the n-th joint axis 28, 32, 36 or 40.
[0063] Then, after step S3, step S5 is executed to determine whether the first condition is satisfied, and if the result is YES, the process may proceed to step S10. That is, in this case, the processor 52 may calculate the external force torque ET n A series of schemes including acquisition of the first condition, acquisition of the movement information, and determination of whether the first condition is satisfied will be executed.
[0064] Next, another example of the robot control flow executed by the control device 50 will be described with reference to Fig. 4. In the flow shown in Fig. 4, the same processes as those in the flow shown in Fig. 3 are given the same step numbers, and duplicated explanations will be omitted. The flow shown in Fig. 4 starts when the processor 52 receives the above-mentioned automatic work start command.
[0065] After step S1, in step S21, the processor 52 functions as the external force acquisition unit 60 and acquires the external force EF applied to the movable elements of the robot 12. Specifically, the processor 52 acquires detection data from the first force sensor 42, the second force sensor 44, the third force sensor 46, and the fourth force sensor 48, and calculates the external force torques ET1, ET2, ET3, and ET4 by subtracting the corresponding internal force components from the detection data.
[0066] Then, the processor 52 obtains the external force EF applied to the robot 12 based on these external force torques ET1, ET2, ET3, and ET4. Here, the external force EF applied to a predetermined part (e.g., the end effector 24) of the robot 12 acts on all of the joint axes 28, 32, 36, and 40 located on the base end side of the predetermined part.
[0067] Here, the external force torque ET acting on the joint axes 28, 32, 36, 40 when an external force EF of a predetermined magnitude and direction is applied to a predetermined part of the robot 12 can be known from a kinematics equation, an experimental method, a simulation, or the like. In other words, from the external force torque acting on the joint axes 28, 32, 36, 40, it is possible to estimate the part of the robot 12 to which the external force EF is applied, and the magnitude and direction of the external force EF.
[0068] Based on the calculated external force torques ET1, ET2, ET3, and ET4, the processor 52 identifies which moving element of the robot 12 (the rotating torso 16, the lower arm 18, the upper arm 20, the wrist 22, or the end effector 24) the external force EF has been applied to, and obtains the magnitude and direction of the external force EF.
[0069] In step S22, the processor 52 acquires movement information of the movable element that was identified as having been subjected to the external force EF in the most recent step S21. If it is identified that the external force EF was applied to the upper arm 20 of the robot 12 in the most recent step S21, the processor 52 functions as the above-mentioned speed acquisition unit 64 and acquires the movement speed MV U (or acceleration).
[0070] This movement speed MV U is the moving speed MV of the upper arm 20 in a robot coordinate system (or a world coordinate system that defines the three-dimensional space of the work cell) that is set for the robot 12 in order to control the robot 12. U Alternatively, the movement speed (i.e., rotation speed) MV of the upper arm portion 20 relative to the lower arm portion 18 connected to the base end side of the upper arm portion 20 may be U may be also possible.
[0071] For example, the processor 52 determines the moving speed MV based on position feedback FB from rotation detectors of the servo motors 26, 30, and 34 arranged on the base end side of the upper arm 20, commands to the servo motors 26, 30, and 34, or information (such as commands) included in the work program WP. U The processor 52 also functions as the movement direction acquisition unit 62 described above, and acquires the movement direction MD of the upper arm 20 based on the position feedback FB, the command, or the work program WP. U Get this movement speed MD U is the movement direction MD of the upper arm 20 in the above-mentioned robot coordinate system (or world coordinate system). U Alternatively, the upper arm 20 may be moved in a direction (i.e., rotated) MD relative to the lower arm 18 connected to the base end of the upper arm 20. U may be also possible.
[0072] In step S23, the processor 52 functions as a first condition determination unit 66 and determines whether or not a first condition is satisfied, that is, an external force FT exceeding a predetermined threshold value δ (first threshold value) is applied to the movable elements. For example, different threshold values δ1, δ2, δ3, δ4, and δ5 of the external force EF are set for the rotating body 16, the lower arm 18, the upper arm 20, the wrist 22, and the end effector 24 as the movable elements.
[0073] Hereinafter, a case will be described in which it has been determined in the most recent step S21 that an external force EF has been applied to the upper arm 20 of the robot 12. In this case, the processor 52 detects the movement direction MD U The opposite direction MD U 'External Force EF U exceeds the threshold value δ3, it is determined that the first condition is satisfied (that is, YES).
[0074] Specifically, the processor 52 calculates the external force EF acquired in the most recent step S21. U The direction of the movement MD of the upper arm 20 acquired in the most recent step S22 U is the opposite of the external force EF U The processor 52 determines whether the magnitude of the external force EF exceeds a threshold value δ3. U The direction of travel is MD U On the contrary, if the magnitude of the difference exceeds a threshold value δ3, it is determined that the first condition is met (that is, YES).
[0075] At this time, the processor 52 detects the external force EF U Direction and movement direction MD U When the angle θ between the external force torque ET n The direction of travel is MD n Alternatively, the processor 52 may determine that the external force EF is in the opposite direction to the external force EF. U unit vector and direction of movement MD U When the inner product IP of the unit vector of is within a predetermined range (for example, IP<0), the external torque ET n The direction of travel is MDn It may be determined that the direction is opposite to that.
[0076] Alternatively, the processor 52 may calculate the external force EF U , movement direction MD U The component EF in the opposite direction to U ' is obtained, and the component EF U It is determined whether or not EF ' exceeds the threshold value δ3. U If the result of the determination in step S23 is YES, the processor 52 proceeds to step S24, whereas if the result of the determination in step S23 is NO, the processor 52 proceeds to step S9.
[0077] In step S23, the processor 52 may determine that the first condition is satisfied (YES) when the magnitude of the acquired external force EF exceeds the threshold value δ, without considering the direction of the external force EF applied to the moving element. Also, instead of setting threshold values δ1, δ2, δ3, δ4, and δ5 for each of the multiple moving elements, a constant threshold value δ0 may be set for all the moving elements.
[0078] In step S24, the processor 52 functions as the second condition determination unit 68 and determines whether or not the second condition that the movable element to which the external force EF is applied is moving is satisfied. If it is determined in the most recent step S21 that the external force EF is applied to the upper arm 20, the processor 52 determines whether or not the second condition is satisfied based on the movement speed MV U When the speed (or acceleration) exceeds a predetermined threshold ε (second threshold), it is determined that the second condition is satisfied (that is, YES).
[0079] The processor 52 determines the moving speed MV U It is also possible to determine whether the second condition is satisfied without comparing with the threshold value ε. For example, the processor 52 may determine that the upper arm 20 is moving (i.e., the second condition is satisfied) when the value of the position feedback FB from the rotation detector provided in the third servo motor 34 varies.
[0080] Alternatively, the processor 52 may determine whether the upper arm 20 is moving from a command to the third servo motor 34 or a statement included in the work program WP. If the processor 52 determines YES in step S24, the processor 52 proceeds to step S10 and stops the operation of the robot 12, whereas if the processor 52 determines NO, the processor 52 proceeds to step S9. In this manner, the processor 52 loops steps S21 to S24 and S9 until the processor 52 determines YES in step S9 or S24.
[0081] As described above, in this embodiment, the processor 52 acquires the external force EF applied to the moving elements, namely the rotating torso 16, the lower arm 18, the upper arm 20, the wrist 22, or the end effector 24, and stops the robot 12 in step S10 when both the first condition that an external force EF exceeding a threshold value δ has been applied to the moving element and the second condition that the moving element is moving are satisfied.
[0082] On the other hand, when at least one of the first condition and the second condition is not satisfied, the processor 52 continues the operation of the robot 12 until it determines YES in step S9. According to this configuration, as in the above-described embodiment, it is possible to prevent a decrease in efficiency of the work while reliably ensuring the safety of the work.
[0083] Although the robot system 10 is provided with a plurality of force sensors 42, 44, 46, and 48, the present invention is not limited to this, and a single force sensor capable of detecting forces in a plurality of directions may be provided. Such an embodiment is shown in Figs. 5 and 6. A robot system 80 shown in Figs. 5 and 6 differs from the above-described robot system 10 in the following configuration. That is, the robot system 80 includes a force sensor 82 instead of the above-described force sensors 42, 44, 46, and 48.
[0084] The force sensor 82 is, for example, a six-axis force sensor having a plurality of strain gauges (not shown), and is interposed between the robot base 14 and a fixed plate 84 fixed to the floor A of the work cell. When a force acts on the force sensor 82, the strain gauges of the force sensor 82 transmit detection data corresponding to the applied force to the control device 50.
[0085] The processor 52 functions as the external force acquisition unit 60 and acquires an external force EF applied to the robot 12 based on detection data received from the force sensor 82 via the I / O interface 56. Specifically, the processor 52 calculates forces in six axial directions, including forces in the x-, y-, and z-axis directions of a sensor coordinate system SC set in the force sensor 82 and torques around the x-, y-, and z-axes. Next, the processor 52 subtracts the components of the internal force acting on the force sensor 82 due to the mass of the robot 12 and the inertial force generated by the operation of the robot 12 from the forces in the six axial directions of the sensor coordinate system SC, to calculate external force components in the six axial directions.
[0086] Here, the external force components acting in the six axis directions of the sensor coordinate system SC when an external force EF of a predetermined magnitude and direction is applied to a predetermined part of the robot 12 can be known from a kinematics equation, an experimental method, a simulation, etc. In other words, the part of the robot 12 to which the external force EF is applied and the magnitude and direction of the external force EF can be estimated from the external force components in the six axis directions of the sensor coordinate system SC.
[0087] In this way, based on the external force components in the six-axis directions of the sensor coordinate system SC, the processor 52 can identify which moving element of the robot 12 (the rotating torso 16, the lower arm 18, the upper arm 20, the wrist 22, or the end effector 24) the external force EF has been applied to, and obtain the magnitude and direction of the external force EF.
[0088] In the robot system 80, the processor 52 of the control device 50 controls the robot 12 by executing the robot control flow shown in Fig. 4. In this case, in step S2, the processor 52 acquires the external force EF based on the detection data of the force sensor 82 as described above.
[0089] The configurations of the robot systems 10 and 80 may be combined. For example, the force sensor 82 of the robot system 80 may be applied to the robot system 10, and the processor 52 of the robot system 10 may execute the flow shown in Fig. 3 and the flow shown in Fig. 4 in parallel. In this case, the control device 50 of the robot system 10 may have a first processor 52A that executes the flow shown in Fig. 3 and a second processor 52B that executes the flow shown in Fig. 4.
[0090] Next, a robot system 90 according to still another embodiment will be described with reference to Fig. 7 and Fig. 8. The robot system 90 differs from the above-described robot system 10 in the following configuration. That is, the robot system 90 further includes a handle 92, a hand guide sensor 94, and an operation mode changeover switch 96.
[0091] The handle 92 is provided on the base portion 24a of the end effector 24, and has an ergonomic shape that is easy for an operator to grip. The hand guide sensor 94 is, for example, a six-axis force sensor, and is interposed between the handle 92 and the base portion 24a. The hand guide sensor 94 detects the operating force HF applied to the handle 92 by the operator, and transmits the detection data to the control device 50.
[0092] The operation mode changeover switch 96 has a physical changeover switch, a push button, a touch sensor, or the like, and is provided on the handle 92. The operation mode changeover switch 96 changes the operation mode of the robot 12 between an automatic operation mode and a hand-guided operation mode. The automatic operation mode is an operation mode in which the robot 12 automatically operates according to the work program WP to perform a predetermined task, as in step S1 described above.
[0093] On the other hand, the hand guide operation mode, as described below, is an operation mode in which the operator manually operates the robot 12 in response to an operating force HF applied to the handle 92. When the operation mode changeover switch 96 is turned ON, the operation mode changeover switch 96 transmits a hand guide signal “ON” (or “1”) to the control device 50.
[0094] Next, a robot control flow executed by the control device 50 of the robot system 90 will be described with reference to Fig. 9. The flow shown in Fig. 9 starts, for example, when the control device 50 of the robot system 90 is started. In step S31, the processor 52 determines whether the hand guide signal is set to "ON".
[0095] Specifically, when the worker turns on the operation mode changeover switch 96, the operation mode changeover switch 96 transmits a hand guide signal "ON" (or "1") to the control device 50. When the processor 52 receives the hand guide signal "ON", it determines YES and proceeds to step S32. On the other hand, when the hand guide signal is "OFF" (or "0"), the processor 52 determines NO and proceeds to step S33. In step S32, the processor 52 transitions the operation mode of the robot 12 to the hand guide operation mode, and executes the control flow of the hand guide operation mode. This step S32 will be described later.
[0096] In step S33, the processor 52 determines whether or not the above-mentioned automatic work start command has been received from an operator, a higher-level controller, or a computer program (for example, the above-mentioned work program WP). If the processor 52 receives an automatic work start command, it determines YES and proceeds to step S34, whereas if the processor 52 has not received an automatic work start command, it determines NO and proceeds to step S35. In step S34, the processor 52 transitions the operation mode of the robot 12 to an automatic operation mode, and executes a control flow for the automatic operation mode. This step S34 will be described later.
[0097] In step S35, the processor 52 determines whether or not a shutdown command to end the operation of the control device 50 has been received. If a shutdown command has been received, the processor 52 determines YES, ends the operation of the control device 50, and ends the flow shown in Fig. 9. On the other hand, if a shutdown command has not been received, the processor 52 determines NO, and returns to step S31.
[0098] The control flow of the hand-guided driving mode in step S32 will be described with reference to Fig. 10. In the flow shown in Fig. 10, the same process as in Fig. 3 is given the same step number, and the duplicated description will be omitted. After starting step S32, the processor 52 executes the above-mentioned steps S2 and S3.
[0099] In step S41, the processor 52 acquires the operating force HF. Specifically, the processor 52 acquires detection data of the operating force HF from the hand guide sensor 94. Then, the processor 52 acquires the magnitude and direction of the operating force HF applied to the handle 92 based on the detection data of the hand guide sensor 94 and data on the position and posture of the end effector 24 at that time.
[0100] In step S42, the processor 52 determines whether or not the magnitude of the operating force HF acquired in the most recent step S41 exceeds a predetermined threshold value ζ (HF≧ζ). If the processor 52 determines that the magnitude of the operating force HF exceeds the threshold value ζ (i.e., YES), the processor 52 proceeds to step S43, whereas if the processor 52 determines that the magnitude of the operating force HF does not exceed the threshold value ζ (i.e., NO), the processor 52 proceeds to step S44.
[0101] In step S43, the processor 52 operates the robot 12 to move the end effector 24 according to the operating force HF. Specifically, the processor 52 sends commands to the servo motors 26, 30, 34, and 38 to move the end effector 24 a predetermined distance d (e.g., 10 cm) in the direction of the operating force HF.
[0102] The processor 52 may change the distance d to be moved in this step S43 in accordance with the magnitude of the operating force HF acquired in the most recent step S41 (for example, the greater the operating force HF, the greater the distance d). After step S43, the processor 52 sequentially executes steps S4 to S8 and S10 similar to the flow in FIG. 3. Here, the processor 52 uses the threshold value α n The value of α n_1 Set to.
[0103] If the determination in step S8 is YES, in step S44, the processor 52 determines whether or not a shutdown command has been received, similarly to the above-mentioned step S35. If the determination is YES, the processor 52 ends the operation of the control device 50, thereby ending the flow shown in Fig. 9. On the other hand, if the determination is NO, the processor 52 proceeds to step S45.
[0104] In step S45, the processor 52 determines whether the hand guide signal has been set to "OFF" (or "0"). Specifically, when the operator turns the operation mode changeover switch 96 OFF, the operation mode changeover switch 96 transmits the hand guide signal "OFF" (or "0") to the control device 50. If the hand guide signal has been set to "OFF", the processor 52 determines YES, and proceeds to step S33 in FIG. 9. On the other hand, if the hand guide signal is "ON", the processor 52 determines NO, and returns to step S41 in FIG. 10.
[0105] In this way, while executing hand guide operation in which the robot 12 is operated according to the operating force HF, the processor 52 monitors whether or not the first condition and the second condition are satisfied for each of the joint axes 28, 32, 36, and 40, and accordingly stops or continues the operation of the robot 12. Note that in the flow shown in Fig. 10, after step S10, the processor 52 ends the flow shown in Fig. 10 without executing the above-mentioned step S11.
[0106] Next, the control flow of the automatic driving mode in step S34 will be described with reference to Fig. 11. In the flow shown in Fig. 11, the same processes as those in Fig. 3 and Fig. 9 are given the same step numbers, and duplicated explanations will be omitted. After starting step S34, processor 52 sequentially executes the above-mentioned steps S1 to S11 in the same manner as the flow in Fig. 3.
[0107] Here, the processor 52 uses a threshold value α n The value of α n_2 (<α n_1 11. If the processor 52 determines NO in step S9, it executes the above-mentioned step S31, and if the processor 52 determines YES, it proceeds to step S32 in FIG. 9, whereas if the processor 52 determines NO, it returns to step S4 in FIG.
[0108] As described above, in this embodiment, when the hand-guided driving mode is executed in step S32, the processor 52 sets the threshold value α n α n_1 On the other hand, when the automatic driving mode is executed in step S34, the threshold value α used for determining the first condition in step S5 is set to n α n_2 (<α n_1 ) according to the operation mode of the robot 12. n The threshold value setting unit 98 (FIG. 8) changes the threshold value.
[0109] In the hand-guided driving mode, as described above, the operator manually operates the robot 12 in response to the force intentionally applied to the handle 92. n_1 The threshold value α used in the autonomous driving mode n_2 By setting the force larger than this, it is possible to prevent the robot 12 from being stopped by a force intentionally applied by an operator.
[0110] In addition, in the robot system 90, the force sensor 82 can be applied instead of the force sensors 42, 44, 46, and 48. In this case, it will be understood that steps S21 to S24 in Fig. 4 can be applied to the flows shown in Fig. 10 and Fig. 11. In addition, the above-mentioned force sensors 42, 44, 46, and 48 may be arranged so as to detect torque applied to the output shafts of the servo motors 26, 30, 34, and 38.
[0111] Furthermore, the above-mentioned force sensor 82 may be provided at any location on the robot 12 (for example, the lower arm 18). Furthermore, in the above-mentioned embodiment, a case has been described in which four joint axes 28, 32, 36, and 40, four servo motors 26, 30, 34, and 38, and four force sensors 42, 44, 46, and 48 are provided. However, this is not limiting, and the numbers of joint axes, servo motors, and force sensors may be any positive number other than four.
[0112] In addition, the robot 12 is not limited to a vertical articulated robot, but may be any type of robot equipped with movable elements, such as a horizontal articulated robot, a parallel link robot, etc. Although the present disclosure has been described above through the embodiments, the above-described embodiments do not limit the invention according to the claims. [Explanation of symbols]
[0113] 10,80,90 Robot System 12. Robot 50 Control device 52 processors 60 External force acquisition section 62 Movement direction acquisition unit 64 Speed acquisition section 66 1st condition judgment section 68 Second condition judgment section 70 Motion control section
Claims
1. A control device for a robot having multiple moving elements, comprising: an external force acquisition unit that acquires an external force applied to at least one of the plurality of movable elements when the robot is operating by the movement of the at least one movable element; a first condition determination unit that determines whether or not a first condition is satisfied, that is, the external force exceeding a predetermined first threshold value is applied to one of the movable elements; a second condition determination unit that determines whether a second condition, that is, that the one movable element is moving, is satisfied; a control device comprising: an operation control unit that stops operation of the robot by moving the one movable element when both the first condition and the second condition are satisfied, and continues operation of the robot by moving the movable element other than the one movable element when the first condition is satisfied but the second condition is not satisfied.
2. A speed acquisition unit that acquires a moving speed of the one movable element is further provided, The control device according to claim 1 , wherein the second condition determination unit determines that the second condition is satisfied when the moving speed exceeds a predetermined second threshold value.
3. A movement direction acquisition unit that acquires a movement direction of the one movable element is further provided, The control device according to claim 1 , wherein the first condition determination unit determines that the first condition is satisfied when the external force in a direction opposite to the moving direction exceeds the first threshold value.
4. The control device according to claim 1 , further comprising a threshold setting unit that changes the first threshold depending on an operation mode of the robot.
5. The control device according to claim 1 , wherein the operation control unit causes the robot to execute an escape operation after stopping the operation of the robot.
6. A control device as described in any one of claims 1 to 5, wherein the second condition judgment unit judges whether or not the second condition is satisfied for the one movable element when the first condition judgment unit judges that the first condition is satisfied for the one movable element.
7. the movable element is a joint axis of the robot, The control device according to claim 1 , wherein the external force acquisition unit acquires, as the external force, an external force torque applied to each of the joint shafts.
8. Robots and A robot system comprising: the control device according to any one of claims 1 to 7, which controls the robot.
9. Further comprising a force sensor for detecting a force applied to the movable element; The robot system according to claim 8 , wherein the external force acquisition unit acquires the external force based on detection data of the force sensor.
10. A method for controlling a robot having a plurality of moving elements, comprising the steps of: acquiring an external force applied to at least one of the plurality of movable elements when the robot is operating by moving the movable elements; determining whether a first condition is satisfied, that is, the external force exceeding a first predetermined threshold is applied to one of the movable elements; determining whether a second condition is satisfied, that is, that the one movable element is moving; A control method comprising: when both the first condition and the second condition are satisfied, stopping operation of the robot by moving the one movable element; and when the first condition is satisfied but the second condition is not satisfied, continuing operation of the robot by moving the movable element other than the one movable element.
Citation Information
Patent Citations
Robot control device
JP2003025272A
Method and device for detecting collision of industrial robot
JP2005342858A
Robot arm, contact detection method for robot arm, and device equipped with robot arm
JP2010228028A
Human-robot cooperative type industrial robot having lead-through function
JP2015199174A
Human cooperative robot system
JP2016064474A
