Device and method for limiting operation of robot, device and method for setting operation parameter, and computer program

The described device and method for robot motion restriction address the inefficiencies and safety risks by allowing robots to move towards permissible ranges while preventing overloading, ensuring safe and efficient operation.

WO2024218835A1PCT designated stage expired Publication Date: 2024-10-24FANUC LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/015366
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-17
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

Existing robot motion restriction technologies either reduce work efficiency by prohibiting all movements outside permissible ranges or risk damaging the robot by overloading it when operating outside these ranges.

Method used

A device and method that include an information acquisition unit to gather load information, a range determination unit to assess if the robot is within permissible motion ranges, and a motion restriction unit to allow movement towards the permissible range while preventing departure from it, ensuring safe operation and maintaining efficiency.

Benefits of technology

This solution allows the robot to operate within safe limits while preventing damage, thereby enhancing work efficiency and ensuring the robot's safety by allowing movement towards permissible ranges while restricting movement away from them.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023015366_24102024_PF_FP_ABST
    Figure JP2023015366_24102024_PF_FP_ABST
Patent Text Reader

Abstract

When all operations of a robot outside an allowable operation range are prohibited, work efficiency may decrease. Meanwhile, when overload is applied to the robot while operating outside the allowable operation range, damage may occur to the robot. This device for limiting the operation of a robot comprises: an information acquisition unit that acquires information relating to a load applied to a robot; a range determination unit that determines, on the basis of the information acquired by the information acquisition unit, whether or not the robot is outside the allowable operation range determined in accordance with the load; and an operation limiting unit that, when the range determination unit has determined that the robot is outside the allowable operation range, permits an operation of the robot toward the allowable operation range while prohibiting an operation of the robot departing from the allowable operation range.
Need to check novelty before this filing date? Find Prior Art

Description

Apparatus and method for restricting robot motion, apparatus and method for setting motion parameters, and computer program

[0001] The present disclosure relates to an apparatus and method for restricting the movement of a robot, an apparatus and method for setting movement parameters, and a computer program.

[0002] A device for determining an allowable operating range of a robot is known (for example, Patent Document 1).

[0003] International Publication No. 2021 / 187378

[0004] Prohibiting all robot movements outside the allowable operating range can reduce work efficiency, while overloading a robot operating outside the allowable operating range can cause damage to the robot.

[0005] In one aspect of the present disclosure, a device for restricting the movement of a robot includes an information acquisition unit that acquires information on the load on the robot, a range determination unit that determines whether the robot is outside an allowable operating range determined according to the load based on the information acquired by the information acquisition unit, and a movement restriction unit that, when the range determination unit determines that the robot is outside the allowable operating range, allows the robot to move toward the allowable operating range while prohibiting the robot from moving away from the allowable operating range.

[0006] The device for setting operation parameters of a robot that performs a predetermined operation includes an information acquisition unit that acquires information on the load on the robot, a parameter setting unit that sets operation parameters to cause the robot to perform the operation based on the information acquired by the information acquisition unit, and a range determination unit that determines whether the robot is outside an allowable operation range determined in accordance with the load indicated in the information acquired by the information acquisition unit. If the range determination unit determines that the robot is outside the allowable operation range, the parameter setting unit reserves the setting of the operation parameters.

[0007] The method for restricting the robot's movement involves the processor acquiring information on the load on the robot, determining based on the acquired information whether the robot is outside an allowable operating range determined according to the load, and, if it is determined that the robot is outside the allowable operating range, allowing the robot to move toward the allowable operating range while prohibiting the robot from moving away from the allowable operating range.

[0008] A method for setting operation parameters for a robot that performs a predetermined operation involves a processor acquiring information on the load on the robot, setting operation parameters to cause the robot to perform the operation based on the acquired information, determining whether the robot gripping a workpiece is outside an allowable operation range determined according to the load indicated in the acquired information, and reserving the setting of the operation parameters if it is determined that the robot is outside the allowable operation range.

[0009] 11 is a schematic diagram of a robot system according to an embodiment. It is a block diagram of the robot system shown in FIG. 1. It is a flowchart showing the functions of the robot system shown in FIG. 2. It shows an example of an allowable operating range. It shows an example of a database of allowable operating ranges. It is a flowchart showing an example of the flow of step S4 in FIG. 3. It is a flowchart showing an example of the flow of step S5 in FIG. 7. It is a block diagram showing other functions of the robot system shown in FIG. 1. It is a flowchart showing the functions of the robot system shown in FIG. 8. It is a flowchart showing an example of the flow of step S36 in FIG. 9. It is a flowchart showing other functions of the robot system shown in FIG. 8. It is a flowchart showing an example of the flow of step S37 in FIG. It is a block diagram showing other functions of the robot system shown in FIG. 2. It is a flowchart showing the functions of the robot system shown in FIG. 13. It shows an example of image data displaying an allowable operating range AR. It shows an example of an allowable posture range. It shows an example of an allowable posture range. It shows an example of an allowable posture range.

[0010] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In various embodiments described below, like elements will be designated by like reference numerals, and duplicated descriptions 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, a control device 14, and a teaching device 16.

[0011] The robot 12 is a vertical articulated robot that performs a predetermined operation. In this embodiment, the robot 12 performs a transport operation CO, which transports a workpiece W placed at a predetermined initial position Pi to a predetermined transport position Pc. Specifically, the robot 12 has a robot base 18, a rotating body 20, a lower arm 22, an upper arm 24, a wrist 26, and a robot hand 28. The robot base 18 is fixed to the floor of a work cell or on an automated guided vehicle (AGV).

[0012] The rotating body 20 is mounted on the robot base 18 so as to be rotatable around a vertical axis. The base end of the lower arm 22 is mounted on the rotating body 20 so as to be rotatable around a horizontal axis. The base end of the upper arm 24 is rotatably mounted on the tip of the lower arm 22. The wrist 26 has a wrist base 26a mounted on the tip of the upper arm 24 so as to be rotatable around two axes that are perpendicular to each other, and a wrist flange 26b mounted on the wrist base 26a so as to be rotatable around a wrist axis A1.

[0013] The robot hand 28 is detachably attached to the wrist flange 24b. As one example, the robot hand 28 has a plurality of claws that can be opened and closed, and grips the workpiece W by clamping the workpiece W between the claws. As another example, the robot hand 28 has an adsorption unit (vacuum, suction cup, etc.) that generates negative pressure between the robot hand 28 and the workpiece W, and adsorbs and grips the workpiece W with the adsorption unit.

[0014] Each component of the robot 12 (robot base 18, rotating body 20, lower arm 22, upper arm 24, wrist 26) is provided with a servo motor 30 ( FIG. 2 ). These servo motors 30 rotate the drive shafts of the robot 12 in accordance with commands from the control device 14, thereby rotating the movable components of the robot 12, such as the rotating body 20, lower arm 22, upper arm 24, wrist base 26 a, and wrist flange 26 b (i.e., robot hand 28), around the drive shafts. This allows the robot 12 to move the workpiece W grasped by the robot hand 28 to any position.

[0015] The robot 12 is also provided with a force sensor 32 ( FIG. 2 ) that detects an external force F applied to the robot 12. The force sensor 32 may be, for example, a six-axis force sensor provided on any component of the robot 12 (e.g., the robot base 18 or the wrist 26), or a torque sensor provided on each of the servo motors 30, and supplies detection data Df of the detected external force F to the control device 14.

[0016] A robot coordinate system C1 and a tool coordinate system C2 are set for the robot 12. The robot coordinate system C1 is a fixed coordinate system for controlling the operation of each movable component of the robot 12. In this embodiment, the robot coordinate system C1 is set with respect to the robot base 18 so that its origin is located at the center of the robot base 18 and its z axis is parallel to (specifically, coincides with) the rotation axis of the rotating body 20.

[0017] On the other hand, the tool coordinate system C2 is a moving coordinate system that defines the position P and orientation O of the robot hand 28 in the robot coordinate system C1. In this embodiment, the tool coordinate system C2 is set with respect to the robot hand 28 so that its origin (so-called TCP) is located at the workpiece gripping position of the robot hand 28 and its z axis is parallel to (specifically, coincides with) the wrist axis A1. The origin of the tool coordinate system C2 may also be located at the center of the wrist flange 26b.

[0018] When moving the robot hand 28 in the robot coordinate system C1, the control device 14 sets a tool coordinate system C2 in the robot coordinate system C1 and generates commands to each servo motor 30 to position the robot hand 28 at a position P and orientation O represented by the set tool coordinate system C2. In this way, by driving each servo motor 30, the control device 14 can position the robot hand 28 (and the gripped workpiece W) at any position P and orientation O in the robot coordinate system C1.

[0019] The control device 14 is a computer having a processor 34, a memory 36, an I / O interface 38, a display device 40, and an input device 42. The processor 34 has a CPU or a GPU, etc., and is communicatively connected to the memory 36, the I / O interface 38, the display device 40, and the input device 42 via a bus 43, and performs arithmetic processing to realize various functions described below while communicating with these components.

[0020] The memory 36 includes RAM, ROM, or the like, and temporarily or permanently stores various data. The memory 36 may be a non-transitory computer-readable recording medium, such as a semiconductor memory, a magnetic recording medium, or an optical recording medium. The I / O interface 38 includes, 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 via wired or wireless connection under instructions from the processor 34.

[0021] The display device 40 has a liquid crystal display, an organic EL display, or the like, and visibly displays various data under instructions from the processor 34. The input device 42 has a push button, a switch, a keyboard, a mouse, a touch panel, or the like, and receives data input from an operator. The display device 40 and the input device 42 may be integrally incorporated into the housing of the control device 14, or may be connected to the I / O interface 38 as a single computer (PC, etc.) separate from the housing of the control device 14.

[0022] The teaching device 16 teaches the robot 12 how to move. Specifically, the teaching device 16 is a computer having a processor 44, a memory 46, an I / O interface 48, a display device 50, and an input device 52. The teaching device 16 may be any type of computer, such as a teaching pendant or a notebook or tablet PC.

[0023] The processor 44 is communicatively connected to the memory 46, the I / O interface 48, the display device 50, and the input device 52 via a bus 53. Note that the configurations of the processor 44, the memory 46, the I / O interface 48, the display device 50, and the input device 52 are similar to those of the processor 34, the memory 36, the I / O interface 38, the display device 40, and the input device 42 described above, and therefore redundant explanations will be omitted.

[0024] In this embodiment, the processor 34 of the control device 14 is configured to be able to execute a jog mode MD1 and a direct teach mode MD2 as operation modes MD of the robot 12. In the jog mode MD1, the processor 34 operates the movable components of the robot 12 in accordance with a jog command CMj input by the operator operating the input device 52 of the teaching device 16.

[0025] On the other hand, in direct teach mode MD2, the processor 34 accepts the operating force Fh applied by the operator to any movable component of the robot 12 (e.g., the wrist 26 or the robot hand 28) as a direct teach command CMd, and moves the movable component to which the operating force Fh has been applied in the direction of the operating force Fh.

[0026] The processor 34 can calculate the magnitude and direction of the operating force Fh applied by the operator based on the detection data Df of the force sensor 32, and can also identify the movable component to which the operating force Fh is applied. Thus, in this embodiment, the processor 34 operates the robot 12 in accordance with the jog command CMj or the direct teach command CMd (operating force Fh) from the operator.

[0027] Next, the function of the robot system 10 will be described with reference to Fig. 3. Below, the function of the robot system 10 when the operator teaches the above-mentioned carrying operation CO to the robot 12 will be described. The operator issues the above-mentioned jog command CMj or direct teach command CMd to the processor 34, and causes the robot hand 28 to grasp the workpiece W placed at the initial position Pi. When the robot hand 28 grasps the workpiece W, the processor 34 starts the flow of Fig. 3.

[0028] In step S1, the processor 34 acquires information IF1 on the load L applied to the robot 12 from the workpiece W. The load L applied to the robot 12 includes, for example, the weight WG and inertia IN of the workpiece W, the moment MO applied from the workpiece W to the wrist 26 (specifically, the wrist flange 26b), and the load torque TQ applied to each servo motor 30. The information IF1 on the load L includes, for example, the numerical value of the load L (i.e., the weight WG, inertia IN, moment MO, or load torque TQ, etc.) and the coordinate Qg of the center of gravity of the load L. The coordinate Qg of the center of gravity may be expressed as coordinates in a tool coordinate system C2 set for the robot hand 28 gripping the workpiece W.

[0029] As an example, information IF1 on the load L (i.e., the numerical value of the load L, the coordinate Qg of the center of gravity, etc.) is stored in advance in the memory 36 (or 46) in association with the type (identification code, model number, etc.) of the workpiece W carried by the robot 12. The processor 34 may recognize the type of workpiece W held by the robot 12 at the start of FIG. 3 and obtain the information IF1 corresponding to the workpiece W by reading it from the memory 36.

[0030] In this case, the operator may operate the input device 42 (or 52) to input information about the type of workpiece W. Alternatively, the processor 34 may acquire information about the type of workpiece W from a teaching program. As another example, the operator may operate the input device 42 (or 52) to manually input information IF1 about the load L, and the processor 34 may acquire information IF1 through the input device 42.

[0031] As yet another example, the processor 34 may actually measure the value of the load L (weight WG, inertia IN, moment MO, or load torque TQ) as information IF1 based on the detection data Df of the force sensor 32. In this way, the processor 34 acquires the information IF1 of the load L by reading it from the memory 36, by input from an operator, or by actual measurement. Therefore, the processor 34 functions as an information acquisition unit 62 ( FIG. 2 ) that acquires the information IF1 of the load L.

[0032] In step S2, the processor 34 determines an allowable operating range AR according to the load L indicated in the information IF1 acquired in step S1. Here, the allowable operating range AR is determined for the robot 12 according to the load L in order to avoid an overload on the robot 12. An example of the allowable operating range AR is shown in FIG.

[0033] In this embodiment, the allowable operating range AR is an allowable position range that defines the allowable range of the position P of the robot 12 (specifically, the robot hand 28 or the tool coordinate system C2). In the example shown in Fig. 4, the allowable operating range AR is defined as an allowable operating range AR1, an allowable operating range AR2 that is wider than the allowable operating range AR1, and an allowable operating range AR3 that is wider than the allowable operating range AR2. The widest allowable operating range AR3 may be defined by the maximum reach distance that the robot 12 can reach with the robot hand 28.

[0034] For example, the allowable operating range AR1 applies when the distance d from the robot base 18 (i.e., the origin of the robot coordinate system C1) is in the range of d≦d1 (e.g., d1=100 mm) and the load L is in the range of L≧L1 (e.g., load L=weight WG≧L1=20 kg). On the other hand, the allowable operating range AR2 applies when the distance d is in the range of d≦d2 (e.g., d2=300 mm) and the load L is in the range of L2≦L<L1 (e.g., L2=10 kg≦L=WG≦L1=20 kg).

[0035] The allowable operating range AR3 is applied when the distance d is in the range of d≦d3 (for example, d3=500 mm) and the load L is in the range of 0≦L<L2. Note that, although Fig. 4 illustrates an example in which three allowable operating ranges AR1, AR2, and AR3 are defined, two allowable operating ranges AR may be defined, or four or more allowable operating ranges AR may be defined.

[0036] As an example, a database 100 is created in advance, storing a plurality of mutually different allowable operating ranges AR1, AR2, and AR3 in association with a load L, as shown in Fig. 4. An example of the database 100 is shown in Fig. 5. The database 100 is created by an operator and stored in advance in the memory 36 (or 46).

[0037] In step S2, the processor 34 selects the allowable operating range AR corresponding to the load L indicated in the information IF1 acquired in step S1 from among the multiple allowable operating ranges AR1, AR2, and AR3 stored in the database 100. For example, assume that the information IF1 acquired in step S1 specifies that the load L = weight WG = 15 kg, L2 = 10 kg, and L1 = 20 kg. In this case, the processor 34 applies the load L = 15 kg to the database 100 and selects the allowable operating range AR2 in which the load L satisfies the condition L2 = 10 kg ≦ L < L1 = 20 kg. In this way, the processor 34 selects the allowable operating range AR1, AR2, or AR3 corresponding to the load L.

[0038] As another example, the processor 34 performs a predetermined calculation using the load L indicated in the information IF1 acquired in step S1 to calculate the allowable operating range AR corresponding to the load L. For example, the distance d that defines the allowable operating range AR can be expressed as a function of the load L, ie, d = f(L). Each term of this function f(L) can be determined by the operator. For example, assume that the load L = weight WG = 15 kg in the information IF1 acquired in step S1.

[0039] In this case, the processor 34 substitutes the load L = weight WG = 15 kg into the function f(L). If d = f(15 kg) = 300 mm, the processor 34 calculates the allowable operating range AR2 such that d ≥ 300 mm. In this way, the processor 34 calculates the allowable operating range AR corresponding to the load L by performing a predetermined calculation (calculating the formula d = f(L)) using the load L.

[0040] As described above, in this embodiment, when the processor 34 acquires the information IF1 in step S1, the processor 34 determines the allowable operation range AR (for example, the allowable operation range AR1, AR2, or AR3) by selecting it from the database 100 in accordance with the load L indicated in the information IF1 or by performing a predetermined calculation. Therefore, the processor 34 functions as a range setting unit 64 ( FIG. 2 ) that determines the allowable operation range AR in accordance with the load L. The allowable operation range AR determined in step S2 is set as an operation parameter OP for causing the robot 12 to execute the carrying operation CO.

[0041] In step S3, the processor 34 determines whether the robot 12 gripping the workpiece W is outside the allowable operating range AR based on the information IF1 acquired in step S1. For example, the processor 34 calculates the coordinate Q1 in the robot coordinate system C1 of the origin of the tool coordinate system C2 at this time as the current position P of the robot 12. n Obtain as.

[0042] Alternatively, the processor 34 may calculate the coordinate Q2 of the center of gravity of the load L at this time in the robot coordinate system C1 from the current position P of the robot 12. n The coordinate Q2 of the center of gravity position in the robot coordinate system C1 can be obtained from the coordinate Q1 of the tool coordinate system C2 in the robot coordinate system C1 and the coordinate Qg of the center of gravity position in the tool coordinate system C2, which is included in the information IF1 acquired in step S1.

[0043] Then, the processor 34 calculates the obtained current position P nis outside the allowable operating range AR (for example, the allowable operating range AR1, AR2, or AR3) set based on the information IF1 (i.e., the load L) in step S2. n If the current position P is outside the allowable operating range AR, the answer is YES and the process proceeds to step S4. n is inside the allowable operating range AR, the determination is NO, and the process proceeds to step S5. In this manner, in this embodiment, the processor 34 functions as a range determination unit 66 (FIG. 2) that determines whether the robot 12 is outside the allowable operating range AR based on the information IF1.

[0044] In step S4, the processor 34 executes an out-of-range process. Step S4 will be described with reference to FIG. 6. In step S11, the processor 34 determines whether or not a command CM for causing the robot 12 to execute a carrying operation CO has been received. For example, the operator provides the processor 34 with the above-described jog command CMj or direct teach command CMd as a command CM to cause the robot 12 to execute a carrying operation CO. If the processor 34 has received a command CM (CMt or CMd), the processor 34 determines YES and proceeds to step S12, whereas if the processor determines NO, the processor 34 proceeds to step S18.

[0045] In step S12, the processor 34 determines whether the robot 12 will move to the inside of the allowable operating range AR set in step S2 when the robot 12 is made to perform the transport operation CO in accordance with the command CM received in the most recent step S11. As an example, the processor 34 determines the target position P to which the robot hand 28 (i.e., the workpiece W) is to be moved in accordance with the command CM. n+1 Ask for.

[0046] For example, the processor 34 sets the coordinate Q3 of the origin of the tool coordinate system C2, which is set in the robot coordinate system C1 in accordance with the command CM, to the target position P n+1 Alternatively, the processor 34 may obtain the coordinate Q4 in the robot coordinate system C1 of the center of gravity of the workpiece W that the robot 12 moves in accordance with the command CM as the target position P n+1The coordinate Q4 of the center of gravity position can be obtained from the coordinate Q3 of the origin of the tool coordinate system C2 and the coordinate Qg of the center of gravity position included in the information IF1 acquired in step S1.

[0047] Then, the processor 34 calculates the calculated target position P n+1 The distance δ from the boundary B of the allowable operating range AR set in step S2 n+1 and the current position P of the robot 12 at this time. n Distance δ from the boundary B n Then, the processor 34 calculates δ n+1 <δ n If the above condition is satisfied, it is determined that the robot 12 is heading toward the inside of the allowable operating range AR (i.e., YES).

[0048] As another example, the processor 34 determines a movement direction (or a movement vector) DR for moving the robot hand 28 (i.e., the workpiece W) in accordance with the command CM. For example, the processor 34 calculates the movement direction (or a movement vector) DR for moving the robot hand 28 (i.e., the workpiece W) in accordance with the command CM. n to the target position P n+1 The processor 34 then acquires the direction toward the boundary B of the allowable operating range AR set in step S2 as the movement direction DR. If the movement direction (movement vector) DR intersects with the boundary B of the allowable operating range AR set in step S2, the processor 34 determines that the robot 12 is heading toward the inside of the allowable operating range AR (i.e., YES).

[0049] If the processor 34 determines YES, the process proceeds to step S13, whereas if the processor 34 determines NO, the process proceeds to step S14. If the processor 34 determines NO in step S12, this means that when the robot 12 is operated in accordance with the command CM accepted in step S11, the robot hand 28 (i.e., the workpiece W) will move in a direction away from the allowable operating range AR.

[0050] In step S13, the processor 34 causes the robot 12 to execute a transport operation CO. Specifically, the processor 34 operates the robot 12 in accordance with the command CM (CMt or CMd) received in the most recent step S11, to move the workpiece W held by the robot hand 28. At this time, the robot 12 moves the workpiece W in a direction toward the inside of the allowable operating range AR set in step S2.

[0051] On the other hand, if the determination in step S12 is NO, the processor 34 generates an alarm AL1 in step S14. For example, the processor 34 generates the alarm AL1 in the form of a visual or audio message stating, "The robot is overloaded. Operations other than those directed toward the allowable operating range are prohibited." The processor 34 then displays the generated alarm AL1 on the display device 40 (or 50) or outputs it through a speaker (not shown). The processor 34 then returns to step S11. As described above, in this embodiment, the processor 34 functions as an alarm generation unit 68 (FIG. 2) that generates the alarm AL1.

[0052] As described above, when the processor 34 determines YES in step S12, it permits the execution of the carrying operation CO in step S13. On the other hand, even if the processor 34 continuously receives command C in step S11, the processor 34 prohibits the execution of the carrying operation CO in step S13 by repeating the loop of steps S11, S12, and S14 while it determines NO in step S12. Therefore, the processor 34 functions as a movement restriction unit 70 ( FIG. 2 ) that permits the robot 12 to perform a carrying operation CO toward the allowable movement range AR, but prohibits the robot 12 from performing a carrying operation CO that moves away from the allowable movement range AR.

[0053] In step S15, the processor 34 determines whether the robot 12 has come into contact with a surrounding environmental object E (an operator, a structure such as a pillar, or another workpiece, etc.) based on the detection data Df of the force sensor 32. Specifically, the processor 34 calculates the magnitude and direction of a contact force Fc applied to the robot 12 from the environmental object E based on the detection data Df.

[0054] Then, the processor 34 determines whether the magnitude of the calculated contact force Fc is equal to or exceeds a predetermined threshold value F th exceeded (F>F th ), the processor 34 determines YES. If the processor 34 determines YES, the process proceeds to step S16, and if the processor 34 determines NO, the process proceeds to step S17. In this manner, in this embodiment, the processor 34 functions as a contact determination unit 72 ( FIG. 2 ) that determines whether the robot 12 has come into contact with an environmental object E based on the detection data Df.

[0055] In step S16, the processor 34 causes the robot 12 to perform an escape operation RO. Specifically, the processor 34 stops the transport operation CO of the robot 12, which has been performed in step S13. For example, a brake mechanism (not shown) that brakes the rotation of each servo motor 30 may be provided, and the processor 34 may actuate the brake mechanism to brake the servo motors 30, thereby bringing the transport operation CO of the robot 12 to an emergency stop.

[0056] Next, the processor 34 causes the robot 12 to execute a retreat operation RO, which moves the robot hand 28 in a direction DR' opposite to the moving direction DR in the carrying operation CO of step S13. n+1 From the target position P n+1 The current position P n The vector to can be obtained as the direction DR'.

[0057] Here, in steps S12 and S13, the processor 34 functions as the movement restriction unit 70 and prohibits the robot 12 from performing the carrying operation CO that would cause the robot 12 to leave the allowable movement range AR. However, in step S16, the processor 34 functions as the movement restriction unit 70 and permits the retraction operation RO even if the direction DR' of the retraction operation RO is a direction toward outside the allowable movement range AR (i.e., a direction away from the allowable movement range AR) in order to reliably eliminate contact between the robot 12 and the environmental object E. As a result, the robot 12 executes the retraction operation RO that moves the robot hand 28 in the direction DR'.

[0058] In the retreat operation RO, the processor 34 may move the robot 12 (robot hand 28) in a direction opposite to the direction of the contact force Fc calculated in the most recent step S15. In addition, the processor 34 may move the robot 12 (robot hand 28) by a predetermined distance in the retreat operation RO, or may monitor the magnitude of the contact force Fc during the execution of the retreat operation RO and determine whether the magnitude is equal to or exceeds a threshold value F. th Below (F≦F th ) The processor 34 may continue the retreat operation RO until the robot 12 reaches the speed V2 (<V1) during the retreat operation RO. Furthermore, the processor 34 may move the robot 12 at a speed V2 (<V1) that is lower than the speed V1 of the robot 12 during the carry operation CO in step S13.

[0059] Furthermore, when the processor 34 is executing the above-described direct teach mode MD2, the processor 34 may move the robot 12 in the direction of the operating force Fh applied by the operator to the robot 12 during the retreat operation RO until a predetermined time (e.g., 10 seconds) has elapsed. In this case, even if the direction of the operating force Fh is a direction toward the outside of the allowable operating range AR, the processor 34 permits the movement of the robot 12 toward the outside of the allowable operating range AR (i.e., in the direction of the operating force Fh).

[0060] In step S17, the processor 34 functions as the range determination unit 66 and determines whether the robot 12 is outside the allowable operating range AR, similar to step S3 described above. If the processor 34 determines YES, the process proceeds to step S18. On the other hand, if the processor 34 determines NO (i.e., the robot 12 is within the allowable operating range AR), the process proceeds to step S5 in FIG. 3.

[0061] In step S18, the processor 34 determines whether the transport operation CO has ended. For example, the processor 34 determines YES when the robot 12 has transported the workpiece W to the transport position Pc. Alternatively, the processor 34 may determine YES when an operation end command is received from the operator. If the processor 34 determines YES, it ends the flow of FIG. 6, thereby ending the flow of FIG. 3. On the other hand, if the processor 34 determines NO, it returns to step S11.

[0062] 3, if the determination in step S3 is NO, in step S5, processor 34 executes the in-range process. This step S5 will be described with reference to Fig. 7. In step S21, processor 34 determines whether or not command CM has been accepted, similarly to step S11 described above. If the determination is YES, the process proceeds to step S22, whereas if the determination is NO, the process proceeds to step S28.

[0063] In step S22, similarly to step S13 described above, the processor 34 causes the robot 12 to execute the transport operation CO. In this transport operation CO, the robot 12 not only moves the workpiece W within the allowable operation range AR set in step S2, but also moves the workpiece W in a direction toward the outside of the allowable operation range AR.

[0064] In step S23, the processor 34 functions as the contact determination unit 72 and, similar to step S15 described above, determines based on the detection data Df whether the robot 12 has come into contact with the environmental object E. If the processor 34 determines YES, the process proceeds to step S24, and if the processor 34 determines NO, the process proceeds to step S25.

[0065] In step S24, the processor 34 causes the robot 12 to perform a retreat operation RO, similar to step S16 described above. In this retreat operation RO, the processor 34 may move the robot 12 in a direction DR' opposite to the movement direction DR of the carry operation CO in step S22, or may move the robot 12 in a direction opposite to the direction of the contact force Fc calculated in the most recent step S23. Furthermore, even if the robot 12 moves outside the allowable operation range AR during the execution of this retreat operation RO, the processor 34 functions as the operation restriction unit 70 and permits the retreat operation RO.

[0066] In step S25, the processor 34 determines whether or not the robot 12 is outside the allowable operating range AR at this time, similar to step S3 described above. If the processor 34 determines YES, it proceeds to step S4 in FIG. 3, whereas if the processor 34 determines NO, it proceeds to step S26. In step S26, the processor 34 determines whether or not the robot 12, which is performing the carrying operation CO, has approached the boundary B of the allowable operating range AR. Specifically, the processor 34 determines the current position P of the robot 12 at this time. n At this point, the robot 12 is performing the carrying operation CO within the allowable operation range AR, so the current position P n is within the allowable operating range AR.

[0067] The processor 34 then calculates the current position P n The distance δ from the boundary B of the allowable operating range AR set in step S2 n Then, the processor 34 calculates the calculated distance δ n is a predetermined threshold δ th Below (δ n ≦δ th ), the determination is YES, and the process proceeds to step S27. n >δ th If so, the result is determined to be NO, and the process proceeds to step S28.

[0068] In step S27, the processor 34 functions as the alarm generation unit 68 and generates an alarm AL2. For example, the processor 34 generates the alarm AL2 in the form of a visual or audio message saying, "Approaching the boundary of the allowable operating range." The processor 34 then displays the generated alarm AL2 on the display device 40 (or 50) or outputs it through a speaker (not shown).

[0069] Alternatively, the control device 14, the teaching device 16, or the robot 12 may be provided with a light-emitting device (such as a rotating light or an LED lamp), and the processor 34 may generate the alarm AL2 by causing the light-emitting device to emit light. Alternatively, the teaching device 16 or the robot 12 may be provided with a vibrator (or a tactile sensation generating device), and the processor 34 may generate the alarm AL2 by causing the vibrator to vibrate.

[0070] As described above, in this embodiment, the processor 34 functions as the alarm generation unit 68 and generates an alarm AL2 when the robot 12, which is performing a carrying operation CO within the allowable operation range AR, approaches the boundary B of the allowable operation range AR. In step S28, the processor 34 determines whether the carrying operation CO has ended, similarly to step S18 described above. If the processor 34 determines YES, it ends the flow of FIG. 7, thereby ending the flow of FIG. 3. On the other hand, if the processor 34 determines NO, it returns to step S21.

[0071] As described above, in this embodiment, the processor 34 functions as the information acquisition unit 62, range setting unit 64, range determination unit 66, alarm generation unit 68, movement restriction unit 70, and contact determination unit 72, and restricts the movement (specifically, the carrying movement CO) that the robot 12 is to perform. Therefore, the information acquisition unit 62, range setting unit 64, range determination unit 66, alarm generation unit 68, movement restriction unit 70, and contact determination unit 72 constitute a device 60 ( FIG. 2 ) that restricts the movement of the robot 12.

[0072] In this device 60, the information acquisition unit 62 acquires information IF1 (such as the numerical value of the load L and the coordinate Qg) on ​​the load L (such as the weight WG, inertia IN, moment MO, and load torque TQ) acting on the robot 12 (step S1). Based on the information IF1 acquired by the information acquisition unit 62, the range determination unit 66 determines whether the robot 12 gripping the workpiece W is outside an allowable operating range AR (such as an allowable operating range AR1, AR2, or AR3) determined according to the load L (steps S3, S17, and S25).

[0073] Then, when the range determination unit 66 determines that the robot 12 is outside the allowable operating range AR (i.e., YES in step S3, S17, or S25), the operation restriction unit 70 allows the robot 12 to perform an operation CO toward the allowable operating range AR (step S13), while prohibiting the robot 12 from performing an operation CO away from the allowable operating range AR (loop of steps S11, S12, and S14).

[0074] For example, when teaching the robot 12 a transport operation CO, the robot 12 may be made to grasp a workpiece W with an overload L outside the allowable operating range AR. If any operation of the robot 12 is prohibited in such a case, the teaching operation must be interrupted, resulting in a decrease in work efficiency. On the other hand, even if the robot 12 is outside the allowable operating range AR, there is a high possibility that the safety of the robot 12 can be ensured as long as the operation is directed toward the allowable operating range AR.

[0075] According to the device 60, even when the robot 12 is outside the allowable operating range AR, by permitting the robot 12 to perform an operation CO toward the allowable operating range AR, it is possible to improve work efficiency while ensuring the safety of the robot 12. On the other hand, when the robot 12 is outside the allowable operating range AR, if the robot 12 further moves away from the allowable operating range AR, there is a high possibility that components of the robot 12 will be damaged due to overload. According to the device 60, by prohibiting an operation CO that moves away from the allowable operating range AR, it is possible to prevent damage to the robot 12.

[0076] Furthermore, in the device 60, when the information acquisition unit 62 acquires the information IF1, the range setting unit 64 determines the allowable operating range AR (AR1, AR2, or AR3) according to the load L indicated in the information IF1 (step S2). This configuration allows the allowable operating range AR to be appropriately determined according to the load L applied to the robot 12, thereby preventing the allowable operating range AR from being set too wide or too narrow. This makes it possible to more effectively ensure the safety of the robot 12 while more effectively improving work efficiency.

[0077] In one example of the device 60, a plurality of mutually different allowable operating ranges AR1, AR2, and AR3 (FIG. 4) are stored in advance in the memory 36 (or 46) in association with the load L, and the range setting unit 64 selects the allowable operating range AR1, AR2, or AR3 corresponding to the load L indicated in the information IF1 from the plurality of allowable operating ranges AR1, AR2, and AR3 (step S2). With this configuration, the allowable operating range AR1, AR2, or AR3 corresponding to the load L can be determined quickly and using a simple algorithm.

[0078] In another example of the device 60, the range setting unit 64 performs a predetermined calculation (for example, calculation of the formula d = f(L)) using the load L indicated in the information IF1 to determine the allowable operating range AR corresponding to the load L. With this configuration, by appropriately designing the calculation formula d = f(L), the allowable operating range AR that is optimal for the load L can be quickly determined.

[0079] In addition, in the device 60, the alarm generation unit 68 generates an alarm AL1 when the movement restriction unit 70 prohibits a movement CO (step S14). With this configuration, the operator can intuitively recognize that a movement CO away from the allowable movement range AR is impossible. On the other hand, the alarm generation unit 68 generates an alarm AL2 when the robot 12, which performs a movement CO within the allowable movement range AR (step S22), approaches the boundary B of the allowable movement range AR (step S27). With this configuration, the operator can intuitively recognize that the robot 12 has approached the boundary B, which can prevent the robot 12 from moving outside the allowable movement range AR.

[0080] In the device 60, the contact determination unit 72 determines whether the robot 12 has come into contact with an environmental object E based on the detection data Df from the force sensor 32 that detects an external force F applied to the robot 12 (steps S15 and S23). If the contact determination unit 72 determines that the robot 12 has come into contact with the environmental object E (YES in step S15 or S23), the movement restriction unit 70 permits the robot 12 to perform an escape movement RO toward outside the allowable movement range AR to resolve the contact. With this configuration, even if the robot 12 comes into contact with an environmental object (e.g., an operator) during the execution of the movement CO, damage to the robot 12 or the environmental object E can be avoided.

[0081] In the above embodiment, the case where the operator teaches the carrying operation CO to the robot 12 has been described. However, the present invention is not limited to this, and the processor 34 may execute the flow of Fig. 3 when the robot 12 automatically executes the carrying operation CO in accordance with the operation program PG1 for the carrying operation CO.

[0082] In this case, the processor 34 receives the operation command CMo from the instruction code defined in the operation program PG1 as the command CM in the above-mentioned step S11 or S21. 1 , W 2 , ..., W mIn this case, the processor 34 may cause the robot 12 to continuously execute the transport operation CO for transporting a new workpiece W. k The flow of FIG. 3 may be executed each time the user grasps the object.

[0083] In the above embodiment, the processor 34 (range setting unit 64) determines the allowable operating range AR in step S2 according to the load L. However, the present invention is not limited to this, and a predetermined allowable operating range AR may be determined in advance. For example, when a plurality of workpieces W having different loads L are to be processed as described above, 1 , W 2 , ..., W m Assume that a carrying operation CO is performed to carry the object.

[0084] In this case, multiple works W 1 , W 2 , ..., W m Of the load L, the work W k Load L k In this case, this maximum load L k 3. In this case, step S2 can be omitted from the flow of FIG. 3, and range setting unit 64 can be omitted from device 60.

[0085] In addition, when teaching, if it is desired to determine the outline of the transport operation CO without having the robot 12 grasp the actual workpiece W, the maximum load L k By predetermining the allowable operating range AR corresponding to the workpiece W, the worker does not need to be aware of the allowable operating range AR corresponding to the workpiece W each time. As a result, when the robot 12 is made to perform the transport operation CO after being taught, it is possible to prevent the robot 12 from becoming unable to move due to an overload.

[0086] Furthermore, step S14 may be omitted from the flow of Fig. 6 and step S27 may be omitted from the flow of Fig. 7. That is, in this case, the alarm generation unit 68 may be omitted from the device 60. Also, steps S15 and S16 may be omitted from the flow of Fig. 6 and steps S23 and S24 may be omitted from the flow of Fig. 7. That is, in this case, the contact determination unit 72 may be omitted from the device 60.

[0087] 3 in accordance with a computer program PG2 pre-stored in the memory 36 (or 46). The functions of the device 60 (i.e., the information acquisition unit 62, the range setting unit 64, the range determination unit 66, the alarm generation unit 68, the operation restriction unit 70, and the contact determination unit 72) executed by the processor 34 may be functional modules realized by the computer program PG2.

[0088] Next, other functions of the robot system 10 will be described with reference to Figures 8 and 9. The processor 34 of the control device 14 shown in Figure 8 executes the flow shown in Figure 9. The processor 34 starts the flow shown in Figure 9 when the robot hand 28 grasps the workpiece W, similar to the flow in Figure 3. In step S31, the processor 34 functions as the information acquisition unit 62 and acquires information IF1 on the load L, similar to step S1 described above.

[0089] In step S32, the processor 34 acquires information IF2 on the allowable operating range AR. As an example, the processor 34 determines the allowable operating range AR according to the load L indicated in the information IF1 acquired in step S1, in a manner similar to step S2 in Fig. 3. For example, a plurality of allowable operating ranges AR1, AR2, and AR3 are stored in advance in the database 100, and the processor 34 selects the allowable operating range AR corresponding to the load L from the plurality of allowable operating ranges AR1, AR2, and AR3.

[0090] Alternatively, the processor 34 may perform a predetermined calculation using the load L (for example, calculation of the formula d = f(L)) to determine the allowable operating range AR corresponding to the load L. The processor 34 acquires information IF2 of the allowable operating range AR determined according to the load L (for example, the above-mentioned distance d or the coordinates in the robot coordinate system C1 of the boundary B of the allowable operating range AR). As another example, the predetermined allowable operating range AR may be determined in advance and stored in the memory 36 (or 46), and the processor 34 may acquire the information IF2 of the allowable operating range AR by reading it out from the memory 36.

[0091] In step S33, the processor 34 functions as the range determination unit 66 and determines whether the robot 12 gripping the workpiece W is outside the allowable operating range AR. Specifically, the processor 34 determines the current position P of the robot 12 at this time based on the information IF2 acquired in step S32. n The processor 34 determines whether the coordinate Q1 or Q2, etc., is outside the allowable operating range AR indicated in the information IF2. If the processor 34 determines YES, the process proceeds to step S34, and if the processor 34 determines NO, the process proceeds to step S35.

[0092] In step S34, the processor 34 functions as the alarm generation unit 68 and generates an alarm AL3. For example, the processor 34 generates an alarm AL3 in the form of a visual or audio message stating, "The robot is overloaded and cannot start operating. Please reset the operating parameters related to the load." The processor 34 then displays the generated alarm AL3 on the display device 40 (or 50) or outputs it through a speaker (not shown). The processor 34 then ends the flow of FIG. 9.

[0093] On the other hand, if the determination in step S33 is NO, in step S35, the processor 34 sets operation parameters OP based on the information IF1 acquired in step S31. The operation parameters OP are parameters that define the operation conditions for causing the robot 12 to execute the carrying operation CO, and include, for example, information IF1 on the load L, information IF2 on the allowable operation area AR determined according to the load L, and various conditions such as the speed V and acceleration α of the robot 12.

[0094] Here, in this embodiment, if at least one of the operation parameters OP (for example, the allowable operation range AR determined according to the load L, and various conditions such as the speed V and acceleration α) is not officially set (for example, if it is not registered in the parameter database DB), the processor 34 will be unable to perform the carrying operation CO.

[0095] In step S35, the processor 34 officially sets (e.g., registers in the parameter database DB) the information IF1 about the load L acquired in step S31 and the information IF2 about the allowable operating range AR acquired in step S32, along with various conditions such as the speed V and the acceleration α, as operation parameters OP. As a result, the processor 34 becomes capable of performing the carrying operation CO in accordance with the operation parameters OP. In this way, in the present embodiment, the processor 34 functions as a parameter setting unit 82 ( FIG. 8 ) that sets the operation parameters OP based on the information IF1.

[0096] In step S36, the processor 34 executes an in-range process. This step S36 will be described with reference to FIG. 10. In the flow shown in FIG. 10, processes similar to those in the flow of FIG. 7 are assigned the same step numbers, and duplicated descriptions will be omitted. When the determination in step S21 is YES, in step S41, the processor 34 functions as the range determination unit 66 and determines whether or not the robot 12 will move outside the allowable operating range AR set as the operating parameter OP in step S35 when the robot 12 is caused to perform a carrying operation CO in accordance with the command CM received in the most recent step S21.

[0097] Specifically, the processor 34 calculates the target position P n+1 Then, the processor 34 calculates the calculated target position P n+1 The processor 34 determines whether the target position P is outside the allowable operating range AR. n+1 If the target position P is outside the allowable operating range AR, the determination is YES, and the process proceeds to step S42. n+1 If it is within the allowable operating range AR, the result is determined to be NO, and the process proceeds to step S22, where the robot 12 is made to perform the carrying operation CO in accordance with the command CM.

[0098] If the determination in step S41 is YES, in step S42, the processor 34 functions as the alarm generation unit 68 and generates an alarm AL4. For example, the processor 34 generates the alarm AL4 in the form of a visual or audio message stating, "The robot is outside the allowable operating range, so movement in that direction cannot be performed." The processor 34 then displays the generated alarm AL4 on the display device 40 (or 50) or outputs it through a speaker (not shown). The processor 34 then returns to step S21.

[0099] In this way, when the processor 34 determines NO in step S41 (i.e., when the robot 12 moves within the allowable operating range AR), it permits the carrying operation CO in step S22. On the other hand, even if the processor 34 continuously receives the command C in step S21, it prohibits the carrying operation CO in step S22 from being performed while it determines YES in step S41 by repeating the loop of steps S21, S41, and S42.

[0100] That is, the processor 34 functions as a movement restriction unit 70 that permits the robot 12 to perform a carrying action CO within the allowable movement range AR, while prohibiting the robot 12 from performing a carrying action CO outside the allowable movement range AR. After step S22, the processor 34 functions as a contact determination unit 72 and an alarm generation unit 68, and sequentially executes the above-described steps S23, S24, S26, S27, and S28.

[0101] 9, if the processor 34 determines YES in step S33, it does not set the operating parameter OP in step S35. In this case, the processor 34 receives input of information IF1 about new load L from, for example, an operator in step S31, and then, if the processor 34 determines NO in step S33, it executes step S35 to set the operating parameter OP.

[0102] Alternatively, the processor 34 sets the operating parameter OP when it receives a command C after transitioning to step S37 (out-of-range process) in Fig. 11 described below. In this manner, in the present embodiment, the processor 34 functions as the parameter setting unit 82, and when it determines YES in step S33, it reserves (in other words, temporarily prohibits) setting of the operating parameter OP until a predetermined condition (for example, reacquisition of information IF2 on the load L or transition to an out-of-range process) is satisfied.

[0103] When the processor 34 determines YES in step S33 and reserves the setting of the operating parameters OP, the processor 34 may set a flag FG indicating this to be valid. While this flag FG is valid, the processor 34 is unable to set the operating parameters OP. When the processor 34 determines NO in step S33, the processor 34 may disable the flag FG.

[0104] As described above, in this embodiment, the processor 34 functions as the information acquisition unit 62, range determination unit 66, alarm generation unit 68, movement restriction unit 70, contact determination unit 72, and parameter setting unit 82 to set the movement parameters OP of the robot 12 performing a predetermined movement (specifically, the carrying movement CO). Therefore, the information acquisition unit 62, range determination unit 66, alarm generation unit 68, movement restriction unit 70, contact determination unit 72, and parameter setting unit 82 constitute a device 80 ( FIG. 8 ) that sets the movement parameters OP.

[0105] In this apparatus 80, the information acquisition unit 62 acquires information IF1 regarding the load L (step S31), and the range determination unit 66 determines whether the robot 12 gripping the workpiece W is outside an allowable operating range AR determined in accordance with the load L indicated in the information IF1 (step S33). The parameter setting unit 82 sets an operating parameter OP to cause the robot 12 to execute an operation CO based on the information IF1 acquired by the information acquisition unit 62 (step S35). Here, if the range determination unit 66 determines that the robot 12 is outside the allowable operating range AR (YES in step S33), the parameter setting unit 82 reserves the setting of the operating parameter OP.

[0106] Conventionally, the operation parameters OP were automatically set in response to the acquisition of information IF1 about the load L. In contrast, in the device 80, even if the information acquisition unit 62 acquires information IF1 in step S31, if the determination in step S33 is YES, the operation parameters OP are not set, thereby prohibiting the operation CO. This configuration reliably prohibits the robot 12, which is outside the allowable operating range AR, from performing the operation CO in an overloaded state. As a result, the safety of the robot 12 can be reliably ensured.

[0107] In addition, in the device 80, when the range determination unit 66 determines that the robot 12 is within the allowable operating range AR (NO in step S33), the parameter setting unit 82 sets the allowable operating range AR as the operating parameter OP (step S35). Then, the operation restriction unit 70 permits the carrying operation CO in which the robot 12 moves within the allowable operating range AR (step S22 in FIG. 10), while prohibiting the carrying operation CO in which the robot 12 moves outside the allowable operating range AR (a loop of steps S21, S41, and S42 in FIG. 10). This configuration makes it possible to prevent the robot 12 from moving outside the allowable operating range AR and becoming overloaded, thereby effectively ensuring the safety of the robot 12.

[0108] In addition, in the device 80, when the range determination unit 66 determines that the robot 12 is outside the allowable operating range AR (YES in step S33), the alarm generation unit 68 generates an alarm AL3 (step S34). With this configuration, the operator can intuitively recognize that the setting of operating parameters and the execution of the operation CO cannot be performed due to an overload.

[0109] In the above embodiment, the case where the information IF1 on the load L and the information IF2 on the allowable operating range AR are set as the operation parameters OP has been described. However, the present invention is not limited to this, and the operation parameters OP may not include the information IF1 and IF2, and only conditions such as the speed V and the acceleration α may be set as the operation parameters OP.

[0110] Furthermore, steps S41 and S42 may be omitted from the flow of Fig. 10. That is, in this case, the operation restriction unit 70 may be omitted from the device 80. Furthermore, step S34 may be omitted from the flow of Fig. 9, and steps S42 and S27 may be omitted from the flow of Fig. 10. That is, in this case, the alarm generation unit 68 may be omitted from the device 80. Furthermore, steps S23 and S24 may be omitted from the flow of Fig. 10. That is, in this case, the contact determination unit 72 may be omitted from the device 80.

[0111] 9 in accordance with a computer program PG3 pre-stored in the memory 36 (or 46). The functions of the device 80 (i.e., the information acquisition unit 62, the range determination unit 66, the alarm generation unit 68, the operation restriction unit 70, the contact determination unit 72, and the parameter setting unit 82) executed by the processor 34 may be functional modules realized by the computer program PG3.

[0112] Next, another example of the operation flow executed by the robot system 10 shown in Fig. 8 will be described with reference to Fig. 11. The flow shown in Fig. 11 differs from the flow shown in Fig. 9 in the following process. That is, in the flow shown in Fig. 11, after step S34, the processor 34 proceeds to an out-of-range process in step S37.

[0113] This step S37 is shown in Fig. 12. When proceeding to step S37, the processor 34 may disable the above-mentioned flag FG and set the information IF1 on the load L acquired in step S31 in Fig. 11 and the information IF2 on the allowable operating range AR acquired in step S32 as the operating parameters OP, together with various conditions such as the speed V and the acceleration α.

[0114] In step S37 shown in Fig. 12, the processor 34 executes steps S11 to S18 in the same manner as in step S6 in Fig. 6, but if the determination in step S17 is NO, the process proceeds to step S36 in Fig. 11. Note that in the flow of Fig. 11, step S4 shown in Fig. 6 may be executed instead of step S36, and step S5 shown in Fig. 7 may be executed instead of step S37.

[0115] Next, further functions of the robot system 10 will be described with reference to Fig. 13. In this embodiment, the processor 34 functions as the above-described device 60, which further includes an image generation unit 74. Hereinafter, the function of the image generation unit 74 will be described with reference to Fig. 14. The flow shown in Fig. 14 differs from the flow shown in Fig. 3 in step S6.

[0116] Specifically, after step S2, in step S6, processor 34 generates image data 110 that displays the allowable operating range AR determined in step S2. An example of the image data 110 is shown in Fig. 15. In the example shown in Fig. 15, the image data 110 includes an operating parameter display area 112 and a model display area 114. The operating parameters OP that are set at this time are displayed in the operating parameter display area 112.

[0117] In the example shown in FIG. 15 , information IF1 of the load L (specifically, weight WG, inertia IN, and center of gravity position (coordinate Qg)) is displayed as the operation parameters OP in the operation parameter display area 112. Note that moment MO and load torque TQ may also be displayed as the information IF1 of the load L. Furthermore, various conditions such as speed V and acceleration α may also be displayed as the operation parameters OP in the operation parameter display area 112.

[0118] The model display area 114 displays a robot model 12M (e.g., a 3D CAD model) of the robot 12 and the allowable operating range AR determined in step S2 in three dimensions. Note that Fig. 15 shows an example in which the allowable operating range AR2 is displayed. In this way, in this embodiment, the processor 34 functions as the image generation unit 74 that generates image data 110 that displays the allowable operating range AR.

[0119] The processor 34 displays the generated image data 110 on the display device 40 (or 50). The processor 34 also displays the current position P n and displays the current position P n 9 , the robot model 12M positioned on the robot hand 28 may be displayed. This configuration allows the operator to easily confirm the allowable operating range AR2 determined in step S2 and the positional relationship of the robot 12 (specifically, the robot hand 28) with respect to its boundary B. Note that step S6 may be executed after step S32 in FIG. 9 to generate image data 110 that displays the allowable operating range AR determined in step S32. In other words, in this case, the device 80 in FIG. 8 further includes an image generation unit 74.

[0120] In the above embodiment, the allowable operating range AR is an allowable position range that defines an allowable range for the position P of the robot 12. However, the allowable operating range AR is not limited to this, and instead of (or in addition to) the allowable position range, the allowable operating range AR may include an allowable orientation range that defines an allowable range for the orientation O of the robot 12 (specifically, the robot hand 28 or the tool coordinate system C2).

[0121] The allowable movement range AR as the allowable posture range will be described with reference to Figures 16 to 18. In the examples shown in Figures 16 to 18, the allowable movement range AR (allowable posture range) is defined as the angle θ of the wrist axis A1 of the robot 12 from the vertical direction J. Specifically, the allowable movement range AR includes an allowable movement range AR11 (Figure 16), an allowable movement range AR12 (Figure 17) that is wider than the allowable movement range AR11, and an allowable movement range AR13 (Figure 18) that is wider than the allowable movement range AR12.

[0122] The allowable operating range AR11 applies to a range in which the angle θ is θ≦θ1 (e.g., θ1=30°) and the load L is L≧L1 (e.g., L1=20 kg). On the other hand, the allowable operating range AR12 applies to a range in which the angle θ is θ≦θ2 (e.g., θ2=60°>θ1) and the load L is L2≦L<L1 (e.g., L2=10 kg). Furthermore, the allowable operating range AR13 applies to a range in which the angle θ is θ≦θ3 (e.g., θ3=90°>θ2) and the load L is 0≦L<L2. Note that any number of allowable operating ranges AR may be defined as the allowable posture ranges.

[0123] In step S2 or S32 described above, the processor 34 may determine an allowable attitude range AR11, AR12, or AR13 as the allowable attitude range based on the information IF1 on the load L. Note that the processor 34 may determine allowable position ranges AR1, AR2, and AR3, and allowable attitude ranges AR11, AR12, and AR13 as the allowable attitude range AR.

[0124] In this case, in the above-mentioned step S2 or S32, the processor 34 may define an allowable position range AR1, AR2 or AR3 and an allowable attitude range AR11, AR12 or AR13 as the allowable attitude range AR, and may execute the above-mentioned steps S3, S12, S17, S25, S33 or S41 for each of the defined allowable position range AR1, AR2 or AR3 and allowable attitude range AR11, AR12 or AR13.

[0125] In addition, the processor 34 may have the functions of the device 60 (information acquisition unit 62, range setting unit 64, range determination unit 66, alarm generation unit 68, operation restriction unit 70, contact determination unit 72, and image generation unit 74) and the functions of the device 80 (information acquisition unit 62, range determination unit 66, alarm generation unit 68, operation restriction unit 70, contact determination unit 72, and parameter setting unit 82).

[0126] In the above-described embodiment, the functions of the device 60 (the information acquisition unit 62, the range setting unit 64, the range determination unit 66, the alarm generation unit 68, the operation restriction unit 70, the contact determination unit 72, and the image generation unit 74) are implemented in the control device 14. However, at least one of the functions of the device 60 may be implemented in another computer (e.g., the teaching device 16). In this case, the processor (processor 44) of the other computer (the teaching device 16) functions as the device 60. Similarly, at least one of the functions of the device 80 (the information acquisition unit 62, the range determination unit 66, the alarm generation unit 68, the operation restriction unit 70, the contact determination unit 72, and the parameter setting unit 82) may be implemented in another computer (e.g., the teaching device 16).

[0127] In the above-described embodiment, the flow charts of Figures 3, 9, 11, and 14 are executed by an actual robot 12. However, this is not limiting, and the processor 34 may function as the device 60 or 80 to cause a robot model 12M placed in a virtual space to execute the flow charts of Figures 3, 9, 11, or 14 in a simulated manner (i.e., simulation). Furthermore, the robot 12 is not limited to a vertical articulated robot, and may be any type of robot capable of transporting a workpiece W, such as a horizontal articulated robot or a parallel link robot. Furthermore, the robot 12 may be installed in any location, such as a wall or ceiling of a work cell.

[0128] In the above embodiment, the robot 12 performs a carrying operation CO as the predetermined operation. However, this is not limiting. The robot 12 may also perform a welding operation WO, in which the robot 12 welds the workpiece W using multiple types of welding guns GN (not shown) with different weights, as the predetermined operation. In this case, the robot 12 sequentially attaches and detaches various types of welding guns GN to and from the wrist flange 26b during a series of welding operations WO. In this case, the load L applied to the robot 12 from the welding guns GN changes depending on the progress of the welding operations WO.

[0129] When performing such a welding operation WO, the processor 34 (or 44) may execute a flow similar to the flow of Fig. 3, 9, 11, or 14. In this case, for example, when the welding gun GN attached to the wrist flange 26b is replaced at a predetermined tool replacement location, the processor 34 (or 44) may start the flow of Fig. 3, 9, 11, or 14 and execute the flow based on the load L applied from the welding gun GN to the robot 12. In this way, the concept of the present disclosure is not limited to the carrying operation CO, but can also be applied to any other operation in which a load L is applied to the robot 12.

[0130] Although the present disclosure has been described in detail above, the present disclosure is not limited to the individual embodiments described above. Various additions, substitutions, modifications, partial deletions, etc. are possible in these embodiments without departing from the gist of the present disclosure or the spirit of the present disclosure derived from the content of the claims and their equivalents. These embodiments can also be implemented in combination. For example, in the above-described embodiments, the order of each operation and the order of each process are shown as examples and are not limited to these. The same applies when numerical values ​​or mathematical expressions are used in the description of the above-described embodiments.

[0131] The present disclosure discloses the following aspects. (Aspect 1) A device 60 for limiting a movement (e.g., a carrying movement CO) of a robot 12 includes: an information acquisition unit 62 that acquires information IF1 regarding a load L applied to the robot 12; a range determination unit 66 that determines, based on the information IF1 acquired by the information acquisition unit 62, whether the robot 12 is outside an allowable movement range AR (AR1, AR2, AR3, AR11, AR12, AR13) determined in accordance with the load L; and a movement restriction unit 70 that, when the range determination unit 66 determines that the robot 12 is outside the allowable movement range AR, allows the robot 12 to move toward the allowable movement range AR while prohibiting the robot 12 from moving away from the allowable movement range AR. (Aspect 2) The device 60 according to Aspect 1 further includes a range setting unit 64 that, when the information acquisition unit 62 acquires the information IF1, determines the allowable movement range AR in accordance with the load L indicated in the information IF1. (Aspect 3) The device 60 according to Aspect 2, wherein a plurality of mutually different allowable operating ranges AR1, AR2, AR3, AR11, AR12, and AR13 are stored in advance in association with a load L, and the range setting unit 64 selects the allowable operating range AR1, AR2, or AR3, or AR11, AR12, or AR13, corresponding to the load L indicated in the information IF1, from the plurality of allowable operating ranges AR1, AR2, AR3, AR11, AR12, and AR13. (Aspect 4) The device 60 according to Aspect 2, wherein the range setting unit 64 performs a predetermined calculation using the load L indicated in the information IF1 to determine the allowable operating range AR corresponding to the load L. (Aspect 5) The device 60 according to any of Aspects 2 to 4, further comprising an image generation unit 74 that generates image data 110 displaying the allowable operating range AR determined by the range setting unit 64. (Aspect 6) The device 60 according to any one of aspects 1 to 5, further comprising an alarm generating unit 68 that generates an alarm AL1 when the operation restricting unit 70 prohibits operation that deviates from the allowable operation range AR.(Aspect 7) An apparatus 80 for setting operation parameters OP for a robot 12 performing a predetermined operation (e.g., a carrying operation CO), the apparatus 80 comprising: an information acquisition unit 62 that acquires information IF1 on a load L applied to the robot 12; a parameter setting unit 82 that sets operation parameters OP to cause the robot 12 to perform the operation based on the information IF1 acquired by the information acquisition unit 62; and a range determination unit 66 that determines whether the robot 12 is outside an allowable operation range AR determined in accordance with the load L indicated in the information IF1 acquired by the information acquisition unit 62, wherein the parameter setting unit 82 reserves setting of the operation parameters OP when the range determination unit 66 determines that the robot 12 is outside the allowable operation range AR. (Aspect 8) The apparatus 80 according to aspect 7, wherein the operation parameters OP include at least one of the load L and the allowable operation range AR. (Aspect 9) The device 80 according to Aspect 8, wherein, when the range determination unit 66 determines that the robot 12 is within the allowable operation range AR, the parameter setting unit 82 sets the allowable operation range AR as the operation parameter OP, and the device 80 further includes a movement restriction unit 70 that allows the robot 12 to move within the allowable operation range AR while prohibiting the robot 12 from moving outside the allowable operation range AR. (Aspect 10) The device 80 according to any of Aspects 7 to 9, further includes an alarm generation unit 68 that generates an alarm AL3 when the range determination unit 66 determines that the robot 12 is outside the allowable operation range AR. (Aspect 11) The device 60, 80 according to any of Aspects 1 to 10, wherein the allowable operation range AR includes at least one of allowable position ranges AR1, AR2, and AR3 that determine an allowable range for the position P of the robot 12 and allowable attitude ranges AR11, AR12, and AR13 that determine an allowable range for the attitude O of the robot 12. (Aspect 12) The device 60, 80 according to aspect 11, wherein the allowable posture ranges AR11, AR12, and AR13 are defined as angles θ of the wrist axis A1 of the robot 12 from the vertical direction J. (Aspect 13) The device 60, 80 according to any one of aspects 1 to 12, further comprising an alarm generation unit 68 that generates an alarm AL2 when the robot 12, which is performing an operation within the allowable operation range AR, approaches a boundary B of the allowable operation range AR.(Aspect 14) The device 60, 80 according to Aspect 1 or 9, further comprising a contact determination unit 72 that determines whether the robot 12 has come into contact with an environmental object E based on detection data Df from a force sensor 32 that detects an external force F applied to the robot 12, and the movement restriction unit 70, when it is determined by the contact determination unit 72 that the robot 12 has come into contact with the environmental object E, permits the robot 12 to perform an escape movement RO toward outside the allowable movement range AR to resolve the contact. (Aspect 15) A method for restricting a movement of the robot 12 (e.g., a carrying movement CO), the method comprising: a processor 34 acquiring information IF1 on a load L applied to the robot 12; determining, based on the acquired information IF1, whether the robot 12 is outside the allowable movement range AR defined in accordance with the load L; and, when it is determined that the robot 12 is outside the allowable movement range AR, permitting the robot 12 to move toward inside the allowable movement range AR while prohibiting the robot 12 from moving away from the allowable movement range AR. (Aspect 16) A method for setting operation parameters OP of a robot 12 that performs a predetermined operation, wherein the processor 34 acquires information IF1 on a load L applied to the robot 12 from a workpiece W, sets operation parameters OP to cause the robot 12 to perform the operation based on the acquired information IF1, determines whether the robot 12 is outside an allowable operation range AR determined in accordance with the load L indicated in the acquired information IF1, and reserves setting of the operation parameters OP if it is determined that the robot 12 is outside the allowable operation range AR. (Aspect 17) Computer programs PG2 and PG3 that cause the processor 34 to execute the method described in aspect 15 or 16.

[0132] REFERENCE SIGNS LIST 10 Robot system 12 Robot 14 Control device 16 Teaching device 28 Robot hand 32 Force sensor 34, 44 Processor 60, 80 Device 62 Information acquisition unit 64 Range setting unit 66 Range determination unit 68 Alarm generation unit 70 Operation restriction unit 72 Contact determination unit 74 Image generation unit 82 Parameter setting unit

Claims

1. A device for restricting the movement of a robot, comprising: an information acquisition unit that acquires information on the load applied to the robot; a range determination unit that determines whether the robot is outside an allowable operating range defined according to the load based on the information acquired by the information acquisition unit; and a movement restriction unit that, when the range determination unit determines that the robot is outside the allowable operating range, permits the robot to move toward the allowable operating range while prohibiting the robot from moving away from the allowable operating range.

2. The device according to claim 1, further comprising a range setting unit that, when the information acquisition unit acquires the information, determines the allowable operating range in accordance with the load indicated in the information.

3. The device described in claim 2, wherein a plurality of mutually different allowable operating ranges are pre-stored in association with the load, and the range setting unit selects the allowable operating range corresponding to the load indicated in the information from among the plurality of allowable operating ranges.

4. The device according to claim 2, wherein the range setting unit determines the allowable operating range according to the load by performing a predetermined calculation using the load indicated in the information.

5. The device according to claim 2, further comprising an image generating unit that generates image data representing the allowable operating range determined by the range setting unit.

6. The device according to claim 1, further comprising an alarm generating unit that generates an alarm when said motion restricting unit prohibits said moving away motion.

7. An apparatus for setting operation parameters of a robot performing a predetermined operation, comprising: an information acquisition unit that acquires information on the load applied to the robot; a parameter setting unit that sets the operation parameters to cause the robot to perform the operation based on the information acquired by the information acquisition unit; and a range determination unit that determines whether the robot is outside an allowable operation range determined according to the load indicated in the information acquired by the information acquisition unit, wherein the parameter setting unit reserves the setting of the operation parameters when the range determination unit determines that the robot is outside the allowable operation range.

8. The apparatus of claim 7, wherein said operating parameters include at least one of said load and said allowable operating range.

9. The device described in claim 8, wherein when the range determination unit determines that the robot is within the allowable operating range, the parameter setting unit sets the allowable operating range as the operating parameter, and the device further includes a motion restriction unit that permits the robot to move within the allowable operating range while prohibiting the robot from moving outside the allowable operating range.

10. The apparatus of claim 7, further comprising an alarm generating unit that generates an alarm when the range determining unit determines that the robot is outside the allowable operating range.

11. The apparatus of claim 1 or 7, wherein the allowable operating range includes at least one of: an allowable position range that defines an allowable range of the position of the robot; and an allowable posture range that defines an allowable range of the posture of the robot.

12. The apparatus according to claim 11, wherein the allowable posture range is defined as an angle of the wrist axis of the robot from a vertical direction.

13. The device according to claim 1 or 7, further comprising an alarm generating unit that generates an alarm when the robot, which performs the operation within the allowable operating range, approaches a boundary of the allowable operating range.

14. The device described in claim 1 or 9, further comprising a contact determination unit that determines whether or not the robot has come into contact with an environmental object based on detection data from a force sensor that detects an external force applied to the robot, and wherein the movement restriction unit permits an escape movement of the robot toward outside the allowable movement range to resolve the contact when the contact determination unit determines that the robot has come into contact with the environmental object.

15. A method for restricting the movement of a robot, comprising: a processor acquiring information on the load applied to the robot from the workpiece; determining based on the acquired information whether the robot is outside an allowable operating range determined according to the load; and, if it is determined that the robot is outside the allowable operating range, permitting the robot to move toward the allowable operating range while prohibiting the robot from moving away from the allowable operating range.

16. A method for setting operation parameters of a robot performing a specified operation, comprising: a processor acquiring information on the load applied to the robot; setting the operation parameters to cause the robot to perform the operation based on the acquired information; determining whether the robot gripping the workpiece is outside an allowable operation range determined according to the load indicated in the acquired information; and reserving the setting of the operation parameters if it is determined that the robot is outside the allowable operation range.

17. A computer program product causing a processor to carry out the method of claim 15 or 16.

Citation Information

Patent Citations

  • Work success determining device and method of robot

    JP2011230231A

  • Movement control device for movable device, movement control system, and movement control method for movable device

    WO2017060989A1