Robot control method and robot system

The robot control method uses a force sensor to detect torque and calculate deviations for precise grip adjustments, addressing environmental instability in robot systems to ensure stable object handling.

JP2024127207AInactive Publication Date: 2024-09-20SEIKO EPSON CORP
View PDF 1 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing robot systems struggle to accurately determine the holding state of a workpiece due to environmental factors like insufficient light or focus, leading to poor image quality and instability in grasping the workpiece.

Method used

A robot control method utilizing a force sensor to detect torque applied to an end effector, calculating the deviation between the gripping position and target position based on torque measurements, allowing for precise adjustment of the robot's grip to ensure stable object handling.

Benefits of technology

Enables accurate and stable grasping of objects regardless of external environmental conditions, preventing conveyance failures such as dropping or misplacement by adjusting grip and transport conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024127207000001
    Figure 2024127207000001
Patent Text Reader

Abstract

To provide a robot control method and a robot system capable of accurately and stably acquiring a deviation amount regardless of an external environment.SOLUTION: A robot control method is a method for a robot including a robot arm, an end effector installed on the robot arm and gripping an object, and a force sensor detecting first torque around a first shaft along a horizontal direction applied to the end effector. The method includes: a first step of gripping and lifting, by the end effector, an object; a second step of acquiring the first torque in a state that the object is lifted; and a third step of acquiring a deviation amount between a grip position where the end effector actually grips the object and a grip target position where the end effector is to grip the object on the basis of the acquired first torque.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a robot control method and a robot system. [Background technology]

[0002] The robot system described in Patent Document 1 includes a dual-arm robot having two robot arms and a camera that captures an image of the tip of each robot arm. This robot system grasps the holding state of the workpiece held by each arm based on the image captured by the camera. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2014-176922 A Summary of the Invention [Problem to be solved by the invention]

[0004] In the robot system described in Patent Document 1, the holding state of the workpiece grasped by the arm is grasped based on the captured image of the camera, so there is a problem that, for example, depending on the external environment such as the brightness of the surroundings, the exposure may be inappropriate due to insufficient light, or the image may not be in focus and have low resolution, making it difficult to obtain a good captured image. Therefore, depending on the external environment, it is difficult to accurately grasp the holding state of the workpiece, and there is a problem that it is sometimes impossible to accurately and stably obtain the amount of deviation between the gripping target position where the object should be grasped and the gripping position where the end effector actually grasps the object. [Means for solving the problem]

[0005] A method for controlling a robot of the present invention is a method for controlling a robot including a robot arm, an end effector that is installed on the robot arm and that grasps an object, and a force sensor that detects a first torque acting on the end effector around a first axis along a horizontal direction, the method comprising the steps of: a first step of grasping and lifting the object with the end effector; a second step of acquiring the first torque while the object is lifted; and a third step of acquiring, based on the acquired first torque, an amount of deviation between a gripping position at which the end effector grips the object and a target gripping position at which the end effector grips the object.

[0006] The robot system of the present invention includes a robot arm and An end effector that is installed on the robot arm and that grasps an object; a force sensor that detects a first torque acting on the end effector around a first axis along a horizontal direction; A control device for controlling the operation of the robot arm, The control device includes: a first step of grasping and lifting the object with the end effector; a second step of acquiring the first torque while the object is lifted; A third step of acquiring, based on the acquired first torque, an amount of deviation between a gripping position at which the end effector grips the object and a target gripping position at which the end effector grips the object is executed. [Brief description of the drawings]

[0007] [Figure 1] 1 is an overall view of a robot system according to a first embodiment of the present invention. [Diagram 2] FIG. 2 is a block diagram of the robot system shown in FIG. [Diagram 3]2 is a side view showing an example of a state in which the robot shown in FIG. 1 is gripping an object. FIG. [Figure 4] 2 is a side view showing an example of a state in which the robot shown in FIG. 1 is gripping an object. FIG. [Diagram 5] 5 is a view of the object as seen from the direction of arrow A1 in FIG. 4. [Figure 6] 5 is a flowchart showing an example of a method for controlling a robot according to the first embodiment of the present invention. [Figure 7] FIG. 11 is a side view of the tip of the robot arm, illustrating a change in transport conditions in a robot control method according to a second embodiment of the present invention. [Figure 8] 13 is a flowchart showing an example of a control method for a robot according to a third embodiment of the present invention. [Figure 9] 13 is a plan view of an object for explaining the positional relationship between a gripping position and a gripping target position in a robot control method according to a fourth embodiment of the present invention. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a robot control method and a robot system according to the present invention will be described in detail based on the embodiments shown in the accompanying drawings.

[0009] First Embodiment FIG. 1 is an overall view of a robot system according to a first embodiment of the present invention. FIG. 2 is a block diagram of the robot system shown in FIG. 1. FIG. 3 is a side view showing an example of a state in which the robot shown in FIG. 1 is gripping an object. FIG. 4 is a side view showing an example of a state in which the robot shown in FIG. 1 is gripping an object. FIG. 5 is a view of the object as viewed from the direction of arrow A1 in FIG. 4, i.e., a plan view of the object. FIG. 6 is a flowchart showing an example of a method for controlling a robot according to the first embodiment of the present invention.

[0010] In Figures 1, 3, 4, 5, 7 and 9, three mutually orthogonal axes, the X-axis, the Y-axis and the Z-axis, are set. Of the three axes, the Z-axis direction indicates the vertical direction, and the XY plane indicates the horizontal plane. For each of the X-axis, Y-axis and Z-axis, the direction indicated by the arrow is called the "positive side" and the opposite side is called the "negative side."

[0011] The up-down direction in Figures 1, 3, 4, and 7 corresponds to the vertical direction. The upper side in Figures 1, 3, 4, and 7 is also referred to as "upper", and the lower side as "lower". With regard to the robot arm 22, the first arm 23, the second arm 24, etc., the right side in Figure 1 is referred to as the "base end" and the left side is referred to as the "tip end". In Figures 3 and 4, the components above the end effector 26, such as the spline shaft 253, the working head 25, and the second arm 24, are omitted.

[0012] In this specification, "vertical" refers not only to the case where the object is aligned vertically, but also to the case where the object is slightly tilted from the vertical, for example, within ±10°. In addition, in this specification, "parallel" refers not only to the case where two objects are aligned parallel to each other, but also to the case where the objects are slightly tilted from the parallel state, for example, within ±10°.

[0013] 1, the robot system 1 includes a robot 2 and a control device 9 that controls the driving of the robot 2. In this embodiment, the control device 9 executes the robot control method of the present invention to drive the robot 2. However, the present invention is not limited to this configuration, and another control device inside or outside the robot 2, for example, a teaching device (not shown), may execute the robot control method of the present invention.

[0014] The robot 2 in this embodiment is a SCARA robot, and drives a robot arm 22 possessed by the robot 2 in a desired operation to perform tasks such as transporting, assembling, and inspecting an object, which is a workpiece such as an electronic component or a long rod-shaped body, or to perform various processes and painting tasks on the workpiece using tools. In the following, an example will be described in which the robot 2 transports an object W, which is a long rod-shaped body, as shown in Figs. 4 and 5.

[0015] However, there is no particular limitation on the use of the robot 2. Furthermore, the robot may be, for example, a six-axis articulated robot, a dual-arm robot, or the like, other than a SCARA robot.

[0016] 1, the robot 2 has a base 21 which is a base portion, and a robot arm 22 which is rotatably connected to the base 21. The base 21 is fixed to a floor surface 10 which is parallel to a horizontal plane.

[0017] The robot arm 22 has a first arm 23 whose base end is connected to the base 21 and rotates around a first rotation axis J1 that is vertical to the base 21, and a second arm 24 whose base end is connected to the tip end of the first arm 23 and rotates around a second rotation axis J2 that is vertical to the first arm 23.

[0018] A working head 25 is provided at the tip of the second arm 24. The working head 25 has a spline nut 251 and a ball screw nut 252 that are disposed at the tip of the second arm 24, and a spline shaft 253 that is inserted through the spline nut 251 and the ball screw nut 252. The spline nut 251 and the ball screw nut 252 are disposed coaxially on the spline shaft 253. The spline shaft 253 is rotatable around a third rotation axis J3 that is the central axis of the shaft and extends along the vertical direction, relative to the second arm 24, and is movable in the Z-axis direction along the third rotation axis J3.

[0019] The robot 2 has a first joint actuator 27 that connects the base 21 and the first arm 23 and rotates the first arm 23 relative to the base 21 around a first rotation axis J1, and a second joint actuator 28 that connects the first arm 23 and the second arm 24 and rotates the second arm 24 relative to the first arm 23 around a second rotation axis J2.

[0020] The first arm 23 is connected to the base 21 by a first joint actuator 27 in a state spaced apart from the base 21 in the Z-axis direction. The second arm 24 is connected to the first arm 23 by a second joint actuator 28 in a state spaced apart from the first arm 23 in the Z-axis direction.

[0021] The robot 2 also has a first drive mechanism 291 that rotates the spline nut 251 to rotate the spline shaft 253 around the third rotation axis J3, and a second drive mechanism 292 that rotates the ball screw nut 252 to raise and lower the spline shaft 253 in a direction along the third rotation axis J3.

[0022] The first joint actuator 27, the second joint actuator 28, the first driving mechanism 291, and the second driving mechanism 292 each have a motor, a reducer, an encoder, and the like (not shown).

[0023] Each of the motors is electrically connected to a control device 9 shown in Fig. 2 via a motor driver (not shown). The control device 9 controls the conditions for energizing each motor from a power source (not shown), i.e., the amount of energization, energization timing, etc., via each motor driver. This makes it possible to control the operation of the robot arm 22 so as to change each arm to a desired posture.

[0024] Each of the encoders is electrically connected to the control device 9. Each encoder detects rotational position information of the corresponding motor and transmits it to the control device 9. The control device 9 controls the energization conditions for each motor based on the rotational position information of each motor received from each encoder. By controlling the operation of the robot arm 22 while grasping the rotational position of each motor, it is possible to perform a desired operation with high precision.

[0025] A force sensor 19 is provided at the lower end of the spline shaft 253, and an end effector 26 is further attached via the force sensor 19. The end effector 26 is detachable from the robot arm 22, and an end effector suitable for a target task is appropriately selected and attached. An example of the end effector 26 is one that can hold a workpiece or a tool.

[0026] As shown in FIG. 3 and FIG. 4, in this embodiment, the end effector 26 is a hand that grips the object W by suction. The end effector 26 has an suction unit (not shown) that is configured by a suction cup or the like, and a suction pump 261 that reduces the pressure inside the suction unit to generate a suction force. In this embodiment, the suction pump 261 is installed inside the end effector 26, but it may be installed elsewhere, such as inside the base 21, the first arm 23, or the second arm 24, and the suction pump 261 and the suction unit may be connected via a flexible decompression tube. The suction pump 261 of the end effector 26 is electrically connected to the control device 9. The control device 9 controls the energization conditions for the suction pump 261, i.e., the amount of electricity, the timing of electricity, and the like. When the suction pump 261 is operated by electricity, the suction unit generates an suction force, and the object W can be sucked and gripped. When the operation of the suction pump 261 is stopped in this state, the suction force of the suction portion disappears or decreases, and the grip of the target object W is released.

[0027] The configuration and gripping principle of the end effector 26 are not limited to those described above. For example, the end effector 26 may have two claws that are moved close to and away from each other to grip the object W between the claws.

[0028] In this embodiment, the force sensor 19 is a six-axis force sensor. The force sensor 19 detects the magnitude of the translational force component along three mutually orthogonal detection axes and the magnitude of the torque component around the three detection axes. That is, the force sensor 19 detects the force components in the axial directions of the mutually orthogonal X-axis, Y-axis, and Z-axis, the force component in the W direction around the X-axis, the force component in the V direction around the Y-axis, and the force component in the U direction around the Z-axis. The X-axis and Y-axis are each along an arbitrary direction on a horizontal plane, i.e., the horizontal direction, and the Z-axis is along the vertical direction.

[0029] Here, the X-axis and Y-axis, which are the detection axes of the force sensor 19, being aligned with the horizontal direction means that they are roughly aligned with the horizontal direction, and are not limited to axes that are completely aligned with the horizontal direction. For example, the X-axis and Y-axis may be axes that are aligned with the horizontal direction within a range of ±10°. However, it is more preferable that the angles between the X-axis and Y-axis and the horizontal direction approach 0°. Similarly, the Z-axis, which is the detection axis of the force sensor 19, being aligned with the vertical direction means that they are roughly aligned with the vertical direction, and are not limited to axes that are completely aligned with the vertical direction.

[0030] In this embodiment, the Z-axis direction is the vertical direction. Furthermore, the force components in the directions of the X-axis, Y-axis, and Z-axis are called "translational force components," and the force components around each axis are called "torque components."

[0031] Hereinafter, the translational force component along the X-axis will be referred to as "translational force Fx," the translational force component along the Y-axis will be referred to as "translational force Fy," the translational force component along the Z-axis will be referred to as "translational force Fz," the force component in the W-direction around the X-axis will be referred to as "torque Tx," the force component in the V-direction around the Y-axis will be referred to as "torque Ty," and the force component in the U-direction around the Z-axis will be referred to as "torque Tz." These components Fx, Fy, Fz, Tx, Ty, and Tz will be collectively referred to as the detection value of force sensor 19, or simply as the detection value.

[0032] The force sensor 19 is not limited to a six-axis force sensor, and may be configured to detect at least Ty among the above components Fx, Fy, Fz, Tx, Ty, and Tz, and is preferably configured to detect at least Fz and Ty. A force sensor configured in this way may be, for example, a sensor configured with a single sensor element, or a sensor configured with a combination of multiple sensor elements to obtain the detection value.

[0033] As shown in FIG. 2, the control device 9 includes a control unit 91, a storage unit 92, and a communication unit 93.

[0034] The control unit 91 includes one or more processors. The control unit 91 is configured with, for example, a CPU (Central Processing Unit), and reads out and executes various programs such as operation programs stored in the storage unit 92. Signals generated by the control unit 91 are transmitted to each part of the robot 2 via the communication unit 93, and signals from each part of the robot 2 are received by the control unit 91 via the communication unit 93. The signals received by the control unit 91 are subjected to a predetermined process and stored in the storage unit 92.

[0035] The control unit 91 controls the energization conditions for each motor based on the operation program input by the user. That is, the control unit 91 drives the robot arm 22 by changing the amount of electricity supplied to each motor over time, and can perform a predetermined task under predetermined conditions.

[0036] The storage unit 92 stores various programs executed by the control unit 91. Examples of the storage unit 92 include a configuration having a volatile memory such as a random access memory (RAM), a non-volatile memory such as a read only memory (ROM), a removable external storage device, etc. The storage unit 92 stores various programs such as a program for executing a control method for a robot of the present invention described later, various mathematical expressions described later, various setting values ​​such as allowable values ​​d1 and d2, etc.

[0037] The communication unit 93 includes an interface circuit and transmits and receives signals to and from other devices using an external interface such as a wired LAN (Local Area Network) or a wireless LAN. The communication unit 93 may include a terminal for connecting a cable for wired communication or an antenna for wireless communication. In this case, communication may be performed via a server (not shown), or via a network such as the Internet. The communication unit 93 functions as an acquisition unit that acquires an operation program input by the user via another communication device.

[0038] In such a robot system 1, a task of transporting an object W is performed using the robot 2. For example, the object W placed at the transport start position is gripped and lifted by the end effector 26, and while maintaining the lifted state, the object W is moved directly above the transport completion position, and is lowered as it is and released when it reaches the transport completion position. In such a task, the object W is placed in a determined orientation at the transport start position, and the robot 2 grips a position corresponding to the center of gravity G of the object W, that is, a grip target position P1 directly above the center of gravity G, with the end effector 26, as shown in FIG. 3. In other words, the grip position P2 where the robot 2 actually grips the object W with the end effector 26 coincides with the grip target position P1. This can be realized, for example, by controlling the position of the robot 2. That is, this can be realized by driving the robot 2 so that the control point TCP set at the tip of the end effector 26 (the lower end in FIG. 3) is located at the coordinates of the grip target position P1.

[0039] When the object W to be transported is specified, the center of gravity G or the gripping target position P1 of the object W is known.

[0040] The state shown in FIG. 3 is an ideal state, since the end effector 26 grasps the gripping target position P1 directly above the center of gravity G of the target object W. In contrast, for example, if the target object W is placed at a position shifted from the transfer start position, the end effector 26 grasps the gripping position P2, which is a position shifted from the gripping target position P1, as shown in FIG. 4, and carries out the transfer operation in this state. In this case, there is a risk of transfer failure, such as the target object W being unintentionally released from gripping and falling during transfer, or being transferred to a position shifted from the transfer completion position when the transfer is completed. For this reason, in the present invention, first, the force sensor 19 is used to grasp the amount of deviation d between the gripping target position P1 and the gripping position P2.

[0041] Conventionally, a camera is used to capture an image of the vicinity of the end effector, and the gripping position of the object is grasped based on the image captured by this camera. However, this method has a problem that, depending on the external environment such as the brightness of the surroundings, for example, the exposure may be inappropriate due to insufficient light, or the image resolution may be low due to insufficient focus, making it difficult to obtain a good captured image. For this reason, there is a drawback that it is difficult to confirm the gripping position of the object, or the gripping position cannot be obtained with high accuracy.

[0042] In the present invention, since the amount of deviation d is obtained not based on a captured image but in the manner described below, it is possible to obtain the amount of deviation d accurately and stably regardless of the external environment.

[0043] 4 and 5, a case will be described where the gripping position P2 is shifted toward the positive side of the X-axis from the gripping target position P1 directly above the center of gravity G. When the end effector 26 grips and lifts the object W at the gripping position P2, a first torque T in the direction of the arrow in FIG. 4, i.e., a first torque T about the Y-axis, acts on the gripping target position P1, which is the control point TCP. This first torque T is transmitted to the force sensor 19 via the end effector 26, and the first torque T can be detected by the force sensor 19. The first torque T is a value expressed in units of (kgf·m) or (N·m), and the torque Ty among the detection values ​​of the force sensor 19 includes a signal equivalent to this first torque T.

[0044] Furthermore, when the mass of the object W is M (kg), a translational force Fz along the Z-axis direction, that is, a force pulling vertically downward (toward the negative side of the Z-axis), acts on the force sensor 19. In this case, the detection value of the force sensor 19 is as follows: Fx=0, Fy=0, Fz=M, Tx=0, Ty=T, Tz=0

[0045] Based on such detected values, the amount of deviation d (mm) can be obtained using the following equations (1) and (2).

[0046] The first torque T about the Y axis can be obtained by multiplying the amount of deviation d and the mass (weight) M, and can be expressed by the following formula (1). T = M × d … (1)

[0047] Therefore, the amount of deviation d can be expressed by the following formula (2) obtained by modifying formula (1). d=T / M=Ty / Fz…(2)

[0048] As described above, T and M can be known from the detected values ​​Ty and Fz, so that the amount of deviation d can be calculated.

[0049] Equations (1) and (2) are stored in advance in the storage unit 92. Furthermore, allowable values ​​d1 and d2, which will be described later, are also stored in the storage unit 92 in advance.

[0050] In the above, a configuration has been described in which the mass M of the target object W is obtained based on the translational force Fz contained in the detection value, but the present invention is not limited to this. If the value of M is known, it may be obtained not based on the translational force Fz contained in the detection value, but for example, the value of M may be stored in advance in memory unit 92, and this stored value of M may be read out and substituted into the above equation (2).

[0051] In this way, the control device 9 acquires the deviation amount d between the grip position P2 where the end effector 26 grips the object W and the grip target position P1 where the end effector 26 grips the object W, based on the first torque T acquired by the force sensor 19. This makes it possible to acquire the deviation amount d stably and accurately, regardless of the external environment, compared to a conventional configuration in which the deviation amount is acquired using an image captured by a camera.

[0052] By utilizing the deviation amount d obtained as described above as described below, the object W can be transported with high accuracy.

[0053] Hereinafter, an example of a method for controlling a robot of the present invention, including an example of using the deviation amount d, will be described with reference to the flowchart shown in FIG.

[0054] In step S101, under the operation of the force sensor 19, the placed object W is grasped by the end effector 26 and lifted up.

[0055] First, the posture of the robot arm 22 is appropriately adjusted to drive the robot 2 so that the control point TCP is located at the coordinates of the gripping target position P1 of the object W. That is, the control device 9 controls the driving of the first joint actuator 27, the second joint actuator 28, the first driving mechanism 291, the second driving mechanism 292, etc. in accordance with a set operation program to move the control point TCP to a desired position and perform positioning.

[0056] Next, the suction pump 261 of the end effector 26 is operated to suck and grip the object W by the suction section. After that, the second drive mechanism 292 is operated to lift the object W upward. At this time, the ideal state shown in Fig. 3 is preferable, but in reality, as shown in Figs. 4 and 5, there may be a deviation of a deviation amount d between the gripping target position P1 and the gripping position P2.

[0057] Such step S101 is a first step of gripping and lifting the object W by the end effector 26. When the object W is lifted, the mass M of the object W and a first torque T act on the gripping position P2 of the end effector 26, and the force sensor 19 detects a translational force Fz caused by the mass M and a torque Ty caused by the mass M and the displacement amount d.

[0058] In step S102, the first torque T is acquired. That is, the torque Ty included in the detection value of the force sensor 19 is acquired. In this embodiment, the translational force Fz is also acquired.

[0059] Such step S102 is a second step of acquiring the first torque T in a state in which the object W is lifted.

[0060] Next, in step S103, the amount of deviation d is acquired. That is, the amount of deviation d is calculated using the above-mentioned formulas (1) and (2).

[0061] Such step S103 is a third step of acquiring the deviation amount d between the gripping position P2 where the end effector 26 grips the object W and the gripping target position P1 where the end effector 26 grips the object W based on the acquired first torque T.

[0062] Next, in step S104, it is determined whether the deviation amount d exceeds a tolerance d1. In other words, it is determined whether d≦d1. The tolerance d1 is a limit value at which it is determined that a conveyance failure will not occur substantially even if conveyance is performed with the current gripping position P2, and is stored in the storage unit 92 in advance.

[0063] Such step S104 is a fourth step for determining whether or not the deviation amount d exceeds the allowable value d1.

[0064] In step S104, if it is determined that d≦d1, that is, the amount of deviation d does not exceed the allowable value d1 (step S104: YES), the process proceeds to the conveying process of step S105. On the other hand, in step S104, if it is determined that d≦d1 is not true, that is, the amount of deviation d exceeds the allowable value d1 (step S104: NO), the process proceeds to step S111, and the conveying conditions are changed.

[0065] In this embodiment, the following changes to the transport conditions are made: (A) a decrease in the transport speed; and (B) a correction to the transport target position.

[0066] (A) Slower transport speed Information about the conveying speed in the operation program that is set in advance is corrected. Specifically, the speed during conveying is corrected to a speed slower than the set speed by a predetermined percentage, and the operation program is rewritten. This slows down the conveying speed, and reduces stresses such as inertial forces acting on the object W when the robot arm 22 accelerates or decelerates. This makes it possible to convey the object W more stably and safely, and prevents conveying defects caused by the deviation amount d, in particular, the object W dropping due to an unintentional release from grip. This improves safety in conveying the object W.

[0067] As used herein, "slowing down" refers to performing at least one of the following three patterns: decreasing the speed during uniform motion, decreasing the acceleration during accelerating motion, and decreasing the negative acceleration during decelerating motion.

[0068] There are no particular limitations on the pattern and the degree to which the speed is reduced, but for example, a reduction rate preset for each of the above patterns can be applied. This reduction rate is a value that allows stable transport regardless of the deviation amount d, and can be, for example, a value experimentally obtained in advance.

[0069] The rate of decrease in speed or acceleration may be increased or decreased according to the amount of deviation d, or the speed or acceleration may be decreased at a constant rate regardless of the amount of deviation d.

[0070] (B) Correction of the transfer target position Information about the transfer target position in the preset operation program is corrected. That is, the transfer target position in the preset operation program is reset to a position shifted by the amount of deviation d in the same direction as the direction in which the gripping position P2 is shifted from the gripping target position P1. This makes it possible to transport the target object W to the newly set appropriate transfer target position regardless of the amount of deviation d.

[0071] In step S111, such a change in the transport conditions is performed, and the process proceeds to step S105. Note that, in this embodiment, the above-mentioned two (A) and (B) are performed, but the present invention is not limited to this, and the above-mentioned configuration may be such that only one of (A) and (B) is performed.

[0072] Such step S111 is a fifth step in which the transport conditions for the target object W are changed if it is determined that the amount of deviation d exceeds the allowable value d1.

[0073] In step S105, the target object W is transported. The control device 9 controls the driving of the first joint actuator 27, the second joint actuator 28, the first driving mechanism 291, the second driving mechanism 292, etc., according to a preset or corrected operation program, to move the control point TCP to a desired position. That is, in this embodiment, from a state in which the target object W is lifted, the target object W is moved along the XY plane toward directly above the transport target position.

[0074] Next, in step S106, the first torque T and the deviation d during the transfer are acquired. The process in this step is similar to that in steps S102 and S103 described above. In this step, since the posture of the robot arm 22 changes and the control point TCP moves, the detection value of the force sensor 19 includes a component caused by the vibration of the robot arm 22 and a component caused by the inertial force accompanying the movement.

[0075] Next, in step S107, it is determined whether the deviation amount d exceeds a tolerance d2. In other words, it is determined whether d≦d2. The tolerance d2 is a limit value at which it is determined that a conveyance failure will not occur substantially even if conveyance is performed with the current gripping position P2, and is stored in advance in the storage unit 92. The tolerance d2 may be the same value as the tolerance d1, or may be different.

[0076] In step S107, if it is determined that d≦d2, that is, the amount of deviation d does not exceed the allowable value d2 (step S107: YES), the process proceeds to step S108. On the other hand, in step S107, if it is determined that d≦d2 is not true, that is, the amount of deviation d exceeds the allowable value d2 (step S107: NO), the process proceeds to step S112, and the transport conditions are changed.

[0077] In step S112, the same process as in step S111 is performed to change the transport conditions, that is, at least one of the processes (A) and (B) described above is performed, and the process proceeds to step S105.

[0078] In step S108, the control point TCP stops immediately above the transfer target position. That is, the control point TCP stops in a state where it is positioned immediately above the transfer target position or the corrected transfer target position.

[0079] Next, in step S109, the robot 2 is driven to lower the object W to a predetermined position. That is, the second driving mechanism 292 is driven to lower the object W to a predetermined position.

[0080] Next, in step S110, the end effector 26 releases the grip of the target object W. That is, the operation of the suction pump 261 of the end effector 26 is stopped to eliminate or reduce the suction force, and the grip of the target object W is released.

[0081] By executing steps S101 to S110, the deviation amount d can be obtained accurately and stably, and the transfer can be performed more appropriately and safely.

[0082] As described above, the method for controlling a robot includes the robot arm 22, the end effector 26 that is installed on the robot arm 22 and grips the object W, and the force sensor 19 that detects the first torque T around the Y-axis, which is an example of a first axis along the horizontal direction that is applied to the end effector 26. The method for controlling a robot includes a first step of gripping and lifting the object W with the end effector 26, a second step of acquiring the first torque T in the lifted state of the object W, and a third step of acquiring a deviation amount d between the grip position P2 at which the end effector 26 grips the object W and the grip target position P1 at which the end effector 26 grips the object W based on the acquired first torque T. By executing such first step, second step, and third step, the deviation amount d can be acquired accurately and stably regardless of the external environment, and therefore the holding state of the object W can be accurately grasped.

[0083] In the above, an example was described in which the first axis is the Y axis and the gripping target position P1 and the gripping position P2 are offset in the X axis direction. However, the present invention is not limited to this, and the present invention can be applied and achieve the same effect even in a case in which the first axis is the X axis and the gripping target position P1 and the gripping position P2 are offset in the Y axis direction.

[0084] The robot system 1 also includes a robot arm 22, an end effector 26 installed on the robot arm 22 and gripping an object W, a force sensor 19 that detects a first torque T around a Y-axis, which is an example of a first axis along a horizontal direction, applied to the end effector 26, and a control device 9 that controls the operation of the robot arm 22. The control device 9 also executes a first step of gripping and lifting the object W with the end effector 26, a second step of acquiring the first torque T in a lifted state of the object W, and a third step of acquiring a deviation amount d between a grip position P2 where the end effector 26 grips the object W and a grip target position P1 where the end effector 26 grips the object W based on the acquired first torque T. In such a robot system 1, the control device 9 executes the first step, the second step, and the third step, thereby enabling the deviation amount d to be acquired accurately and stably regardless of the external environment. Thus, the holding state of the object W can be grasped accurately.

[0085] In the third step, the deviation amount d is calculated based on the mass M of the object W. As a result, as long as the mass M of the object W is known, the deviation amount d can be easily calculated from the value of the first torque T. This is clear from the above formulas (1) and (2).

[0086] The force sensor 19 further detects a translational force Fz in the axial direction of the Z-axis, which is an example of a third axis along the vertical direction, and in the third step, the mass M of the object W is obtained based on the translational force Fz. This makes it possible to calculate the displacement d even if the mass M of the object W is not known.

[0087] Note that the present invention is not limited to the above configuration, and the mass M of the target object W may be input in advance by an operator.

[0088] The control method for the robot also includes a fourth step of determining whether the amount of deviation d exceeds a tolerance d1, and a fifth step of changing the transport conditions of the object when it is determined in the fourth step that the amount of deviation d exceeds the tolerance d1. This allows appropriate processing to be performed according to the magnitude of the amount of deviation d, and the transport of the object W can be performed satisfactorily and safely.

[0089] In the fifth step, the transfer condition is changed by correcting the transfer target position of the object W, for example, as shown in (B) above. This allows the object W to be transferred to the newly set appropriate transfer target position regardless of the deviation amount d. This allows the object W to be transferred stably and safely, and prevents transfer defects caused by the deviation amount d, in particular the object W dropping during transfer.

[0090] In the fifth step, the conveying conditions are changed by, for example, slowing down the conveying speed of the object W as shown in (A) above. This allows the object W to be conveyed stably and safely, and prevents conveying defects caused by the deviation amount d, in particular, the object W from falling during conveying.

[0091] <Second embodiment> FIG. 7 is a side view of the tip of the robot arm for explaining a change in the transport conditions in the robot control method according to the second embodiment of the present invention.

[0092] Hereinafter, a second embodiment of the control method for a robot of the present invention will be described with reference to FIG. 7. In the following, the differences from the first embodiment will be mainly described, and a description of the similarities will be omitted.

[0093] In this embodiment, the robot 2 is a six-axis vertical articulated robot, and has a robot arm 29 that corresponds to the robot arm 22. The robot arm 29 has a plurality of arms and a plurality of joints that rotatably connect adjacent arms, and the posture of the robot arm 29 can be changed by displacing each arm. An end effector 26 is attached to the tip (lower end in FIG. 7) of the robot arm 29, and by adjusting the rotation angle of each of the joints, the orientation of the tip (lower end in FIG. 7) of the robot arm 29, i.e., the orientation of the central axis 262 of the end effector 26, can be changed to a desired direction.

[0094] In addition, in step S111, which is the fifth step, the posture of the robot arm 29 during transportation is changed as a change in the transportation condition (C). Specifically, the tip of the robot arm 29, i.e., the central axis 262 of the end effector 26 is inclined at a predetermined inclination angle θ with respect to the Z axis so that the control point TCP is located backward with respect to the traveling direction A2 of the object W. Then, this posture is set as the posture of the object W during transportation. Thereby, the influence of the first torque T caused by the deviation amount d can be mitigated by the inertial force F. Therefore, by the simple control of changing the posture of the robot arm 29, it is possible to prevent transportation failure caused by the deviation amount d, in particular, the object W falling due to unintentional release of the grip. As a result, the transportation of the object W can be performed stably and more safely. In this embodiment, the configuration is such that the above (C) is performed, but the present invention is not limited to this, and the configuration may be such that at least one of the above (A) and (B) and the above (C) are performed.

[0095] The inclination angle θ is not particularly limited, but is preferably from 2° to 60°, and more preferably from 5° to 45°.

[0096] The degree to which the tip of the robot arm 29 is inclined may be determined by a tilt angle θ according to the first torque T or the deviation amount d, or the posture of the robot arm 29 may be changed at a constant tilt angle θ regardless of the magnitude of the deviation amount d. Also, the tilt angle θ may be changed as needed, for example, within a range of 0° to 60° during transport of the target object W.

[0097] In this way, in the fifth step, the posture of the robot arm 29 during transportation is adjusted as a change in the transportation conditions. This makes it possible to stably and safely transport the object W with simple control.

[0098] <Third embodiment> FIG. 8 is a flowchart showing an example of a method for controlling a robot according to the third embodiment of the present invention.

[0099] Hereinafter, a third embodiment of the control method for a robot of the present invention will be described with reference to FIG. 8. In the following, the differences from the first embodiment will be mainly described, and a description of the similarities will be omitted.

[0100] In addition, in FIG. 8, step S201 is the same as step S101 in the first embodiment, step S202 is the same as step S102 in the first embodiment, step S203 is the same as step S103 in the first embodiment, step S204 is the same as step S104 in the first embodiment, step S205 is the same as step S105 in the first embodiment, step S206 is the same as step S106 in the first embodiment, step S207 is the same as step S107 in the first embodiment, step S208 is the same as step S108 in the first embodiment, step S209 is the same as step S109 in the first embodiment, and step S210 is the same as step S110 in the first embodiment.

[0101] Steps S211 and S212 will be described below. However, since the processes are substantially the same except that after executing step S211, the process proceeds to step S201, and after executing step S212, the process proceeds to step S205, step S211 will be described as a representative example.

[0102] In step S211, as a change in the transport conditions, (D) the gripping position P2 of the object W is changed. That is, in step S211, the object W gripped by the end effector 26 is moved to a predetermined location and gripped, and then the position of the control point TCP is shifted a predetermined amount in a predetermined direction and gripping is performed again. The predetermined amount is preferably a value smaller than the acquired deviation amount d, for example. The predetermined direction is the opposite direction to the direction in which the gripping position P2 is shifted from the grip target position P1.

[0103] Then, after step S211, steps S201 to S204 are executed in sequence, and steps S201 to S204 and step S211 are repeatedly executed until d≦d1. By performing such processing, the object W can be transported with the deviation amount d being equal to or less than the allowable value d1. Therefore, the object W can be transported more stably, accurately, and safely. Note that even during the transport of the object W, by repeatedly executing steps S205 to S207 and step S212, the object W can be transported with the deviation amount d being equal to or less than the allowable value d2, thereby further improving the safety of the transport of the object W.

[0104] In this way, in the fifth step, the conveying conditions are changed by changing the gripping position P2 of the object W. This makes it possible to reduce the deviation amount d, and to convey the object W more stably and safely.

[0105] <Fourth embodiment> FIG. 9 is a plan view of an object for explaining the positional relationship between a gripping position and a gripping target position in a robot control method according to a fourth embodiment of the present invention.

[0106] Hereinafter, a fourth embodiment of the control method for a robot of the present invention will be described with reference to FIG. 9. In the following, the differences from the first embodiment will be mainly described, and a description of the similarities will be omitted.

[0107] As shown in FIG. 9, the object W is a plate or block-like object that is rectangular when viewed in a plan view, i.e., when viewed from the Z-axis direction. Hereinafter, a case will be described in which the gripping position P2 of the object W by the end effector 26 is shifted from the gripping target position P1 to the X-axis positive side and the Y-axis positive side. The deviation amount d between the gripping target position P1 and the gripping position P2 on the XY plane is the linear distance between P1 and P2 when viewed from the Z-axis direction. The deviation amount between the gripping target position P1 and the gripping position P2 in the X-axis direction is da, and the deviation amount between the gripping target position P1 and the gripping position P2 in the Y-axis direction is db. When the values ​​of the deviation amounts da and db are known, the deviation amount d can be calculated.

[0108] In addition, the shape of the object W in a planar view is not limited to the above-mentioned rectangle, and can be, for example, a circle, an ellipse, a polygon such as a triangle, a pentagon, a hexagon, or other shape similar to these, or any other shape.

[0109] When the end effector 26 grasps and lifts the object W at the grasping position P2, a first torque TA about the Y axis and a second torque TB about the X axis act on the grasping target position P1. The first torque TA and the second torque TB are transmitted to the force sensor 19 via the end effector 26. For this reason, among the detection values ​​of the force sensor 19, the torque Ty includes a signal corresponding to the value of the first torque TA, and the torque Tx includes a signal corresponding to the value of the second torque TB. The first torque TA and the second torque TB are values ​​expressed in units of (kgf·m) and (N·m), respectively.

[0110] Furthermore, when the mass of the object W is M (kg), a translational force Fz along the Z-axis direction, that is, a force pulling vertically downward (toward the negative side of the Z-axis), acts on the force sensor 19. In this case, the detection value of the force sensor 19 is as follows: Fx=0, Fy=0, Fz=M, Tx=TB, Ty=TA, Tz=0

[0111] Based on such detected values, the amount of deviation d (mm) can be obtained using the following equations (3) and (4).

[0112] The first torque TA about the Y-axis can be obtained by multiplying the amount of deviation da and the mass (weight) M. Also, the second torque TB about the X-axis can be obtained by multiplying the amount of deviation db and the mass (weight) M, and can be expressed by the following equations (3) and (4).

[0113] TA = M × da … (3) TB = M × db … (4)

[0114] Therefore, the deviation amount da can be expressed by the following formula (5) obtained by modifying formula (3), and the deviation amount db can be expressed by the following formula (6) obtained by modifying formula (4).

[0115] da=TA / M=Ty / Fz …(5) db=TB / M=Tx / Fz …(6)

[0116] As described above, TA, TB, and M can be known from the detected values, so that the deviation amounts da and db can be calculated.

[0117] The amount of deviation d can be expressed by the following formula (7): The amount of deviation d can be calculated by substituting da and db into formula (7). d=(da 2 +db 2 ) 1 / 2 …(7)

[0118] In this embodiment, in a second step corresponding to step S102 in the first embodiment, a first torque TA and a second torque TB are obtained while the object W is being lifted. Then, in a third step corresponding to step S103 in the first embodiment, a deviation amount d is obtained based on the obtained first torque TA and second torque TB.

[0119] In this manner, in this embodiment, even if the gripping position P2 is shifted from the gripping target position P1 in both the X-axis direction and the Y-axis direction, the shift amount d between the gripping target position P1 and the gripping position P2 on the XY plane can be stably and accurately acquired regardless of the external environment. Therefore, the holding state of the target object W can be grasped with high accuracy.

[0120] Furthermore, in this embodiment, regardless of the planar shape of the object W, the deviation amount d on the XY plane can be obtained stably and accurately, and the holding state of the object W can be grasped with high accuracy.

[0121] As described above, the force sensor 19 detects the first torque TA and the second torque TB around the X-axis, which is an example of the second axis that is perpendicular to the Y-axis, which is an example of the first axis, and is aligned in the horizontal direction. In the second step, the first torque TA and the second torque TB are obtained in a state in which the object W is lifted, and in the third step, the deviation amount d is obtained based on the obtained first torque TA and second torque TB. As a result, even if the grip position P2 is deviated from the grip target position P1 in the X-axis direction and the Y-axis direction, the deviation amount d can be obtained stably and accurately regardless of the external environment.

[0122] A robot system 1 used in the robot control method of this embodiment includes a robot arm 22 (or 29), an end effector 26 installed on the robot arm 22 and gripping an object W, a force sensor 19 that detects a first torque TA about a horizontal Y-axis (first axis) and a second torque TB about an X-axis (second axis) perpendicular to the horizontal Y-axis that are applied to the end effector 26, and a control device 9 that controls the operation of the robot arm 22. The control device 9 also executes a first step of gripping and lifting the object W with the end effector 26, a second step of acquiring the first torque TA and the second torque TB in a state in which the object W is lifted, and a third step of acquiring a deviation amount d between a grip position P2 at which the end effector 26 grips the object W and a grip target position P1 at which the end effector 26 grips the object W based on the acquired first torque TA and second torque TB.

[0123] The force sensor 19 in the robot system 1 is a 6-axis force sensor similar to that in the first embodiment, but is not limited thereto, and may be configured to detect at least Tx and Ty among the components Fx, Fy, Fz, Tx, Ty, and Tz, and is preferably configured to detect at least Fz, Tx, and Ty. A force sensor configured in this manner may be, for example, one configured with a single sensor element, or one that obtains the detection value by combining multiple sensor elements.

[0124] In such a robot system 1, the control device 9 executes the first, second, and third steps, so that even if the gripping position P2 is shifted from the gripping target position P1 in the X-axis direction and the Y-axis direction, the deviation amount d can be obtained accurately and stably regardless of the external environment. Therefore, regardless of the shape of the object W, the holding state of the object W can be grasped accurately.

[0125] Moreover, in the robot system 1 and the robot control method of this embodiment, the fourth and fifth steps can also be executed. This allows appropriate processing to be performed according to the magnitude of the deviation amount d, and the transport of the object W can be performed well and more safely. In this case, in the fifth step, at least one of the above (A), (B), (C) and (D) can be executed as a change in the transport conditions. This allows the transport of the object W to be performed more stably and safely.

[0126] Although the robot control method and the robot system of the present invention have been described above based on each embodiment, the present invention is not limited to these, and each process, the configuration of each part of the system, etc. can be replaced with any process or configuration having a similar function. In addition, the first embodiment may be arbitrarily combined with at least one of the second embodiment, the third embodiment, and the fourth embodiment, the second embodiment and the third embodiment, the second embodiment and the fourth embodiment, or the third embodiment and the fourth embodiment. In addition, in the present invention, any other process or configuration may be added to each embodiment. [Explanation of symbols]

[0127] REFERENCE SIGNS LIST 1...robot system, 2...robot, 9...control device, 10...floor surface, 19...force sensor, 21...base, 22...robot arm, 23...first arm, 24...second arm, 25...work head, 26...end effector, 27...first joint actuator, 28...second joint actuator, 29...robot arm, 91...control unit, 92...memory unit, 93...communication unit, 251...spline nut, 252...ball screw nut, 253 ...spline shaft, 261...suction pump, 262...central axis, 291...first drive mechanism, 292...second drive mechanism, A1...arrow direction, A2...travel direction, F...inertia force, G...center of gravity, J1...first rotation axis, J2...second rotation axis, J3...third rotation axis, P1...gripping target position, P2...gripping position, T...first torque, TA...first torque, TB...second torque, TCP...control point, W...object, d...deviation amount, da...deviation amount, db...deviation amount, θ...tilt angle

Claims

1. A method for controlling a robot including a robot arm, an end effector that is installed on the robot arm and that grips an object, and a force sensor that detects a first torque acting on the end effector around a first axis along a horizontal direction, the method comprising the steps of: a first step of grasping and lifting the object with the end effector; a second step of acquiring the first torque in a state in which the object is lifted; and a third step of acquiring, based on the acquired first torque, a deviation amount between a gripping position at which the end effector grips the object and a gripping target position at which the end effector grips the object.

2. The force sensor detects the first torque and a second torque about a second axis perpendicular to the first axis and aligned along a horizontal direction, In the second step, the first torque and the second torque are acquired in a state in which the object is lifted, The method for controlling a robot according to claim 1 , wherein in the third step, the deviation amount is obtained based on the obtained first torque and second torque.

3. 3. The method according to claim 1, wherein in the third step, the amount of deviation is calculated based on a mass of the object.

4. The force sensor further detects a translational force in an axial direction of a third axis along a vertical direction, The method for controlling a robot according to claim 3 , wherein in the third step, a mass of the object is obtained based on the translational force.

5. a fourth step of determining whether the deviation exceeds a tolerance; 3. The method for controlling a robot according to claim 1, further comprising a fifth step of changing a transport condition of the object when it is determined in the fourth step that the amount of deviation exceeds the allowable value.

6. 6. The robot control method according to claim 5, wherein in the fifth step, a target position for transporting the object is corrected as the change in the transport condition.

7. 6. The robot control method according to claim 5, wherein in the fifth step, the change in the transport condition comprises slowing down a transport speed of the object.

8. 6. The robot control method according to claim 5, wherein in the fifth step, the change in the transport condition comprises adjusting a posture of the robot arm during transport.

9. 6. The robot control method according to claim 5, wherein in the fifth step, the change in the transport condition includes changing the gripping position of the object.

10. A robot arm; An end effector that is installed on the robot arm and that grasps an object; a force sensor that detects a first torque acting on the end effector around a first axis along a horizontal direction; A control device for controlling the operation of the robot arm, The control device includes: a first step of grasping and lifting the object with the end effector; a second step of acquiring the first torque in a state in which the object is lifted; and a third step of acquiring, based on the acquired first torque, a deviation amount between a gripping position at which the end effector is gripping the object and a gripping target position at which the end effector is gripping the object.

Citation Information

Patent Citations

  • Robot system and method for manufacturing workpiece

    JP2014176922A