Control method, robot system, and program

The control method predicts potential entry into restricted areas to avoid forced stops, reducing downtime and maintaining efficiency by temporarily pausing the robot arm before it enters such areas.

JP2024135614APending Publication Date: 2024-10-04SEIKO EPSON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023046394
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-23
Publication Date
2024-10-04

AI Technical Summary

Technical Problem

Existing robot systems require a return operation after forced stops, leading to increased downtime and reduced efficiency due to prolonged work interruptions.

Method used

A control method and system that predicts potential entry into restricted areas by detecting the current position and future movement of a robot arm, allowing for temporary stops without requiring a return operation, thereby avoiding forced stops and reducing downtime.

Benefits of technology

Reduces the time spent on forced interruptions by temporarily stopping the robot before it enters a restricted area, ensuring efficient operation without the need for a return operation after resuming work.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024135614000001_ABST
    Figure 2024135614000001_ABST
Patent Text Reader

Abstract

To reduce the time during which the work of the robot is forcibly interrupted.SOLUTION: In a robot system, when an entry restriction region is enabled and a robot arm enters the entry restriction region, a forced stop of operation of the robot arm is performed. A control method in which a control unit controls the robot arm includes the steps of: detecting a current position of a control point of the robot arm; predicting, using at least position information indicating the current position, at least one position to which the control point of the robot arm moves after a current time point; and performing, when the entry restriction region is enabled and there is a possibility that the robot arm enters the entry restriction region based on the at least one predicted position, control to avoid entry of the robot arm into the entry restriction region, the control including execution of a temporary stop which is a temporary stop of the operation of the robot arm before the robot arm enters the entry restriction region and which does not require a return operation when resuming the operation after the stop.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

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

[0002] Patent Document 1 describes a technique for forcibly stopping the operation of a robot when a sensor detects that a worker has entered the robot's movable area. [Prior art documents] [Patent documents]

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

[0004] When a robot's operation is forcibly stopped, for example, a user needs to perform a return action to resume the robot's operation. The robot's operation cannot be resumed until the return action is completed. When a robot's operation is forcibly stopped frequently, the time during which the robot's work is stopped increases, and work efficiency decreases. For this reason, a technology that can shorten the time during which a robot's work is forcibly interrupted has been desired. [Means for solving the problem]

[0005] According to a first aspect of the present disclosure, there is provided a control method for controlling a robot arm in a robot system. The robot system includes the robot arm, a control unit that controls operation of the robot arm, and a functional safety unit that, when an entry restricted area is enabled and the robot arm enters the entry restricted area, executes a forced stop of operation of the robot arm that requires a return operation when the operation is resumed after the stop, and does not execute the forced stop of operation of the robot arm when the entry restricted area is disabled and the robot arm enters the entry restricted area. The control method in which the control unit controls the robot arm includes: detecting a current position of a control point of the robot arm; predicting at least one position to which the control point of the robot arm will move after a current time using at least position information representing the current position; and, when the entry restricted area is enabled and there is a possibility that the robot arm will enter the entry restricted area based on the at least one predicted position, performing control to avoid the robot arm from entering the entry restricted area, including temporarily suspending operation of the robot arm before the robot arm enters the entry restricted area, the temporary suspension not requiring the return operation when the operation is resumed after the stop.

[0006] According to a second aspect of the present disclosure, a robot system is provided, the robot system includes a robot arm, a control unit for controlling an operation of the robot arm, and a functional safety unit for executing a forced stop of the operation of the robot arm when an entry-restricted area is valid and the robot arm enters the entry-restricted area, the forced stop requiring a return operation when the operation is resumed after the stop, and for not executing a forced stop of the operation of the robot arm when the entry-restricted area is invalid and the robot arm enters the entry-restricted area, the control unit detects a current position of a control point of the robot arm, predicts at least one position to which the control point of the robot arm will move after a current time by using at least information representing the current position, and performs control to prevent the robot arm from entering the entry-restricted area when the entry-restricted area is valid and there is a possibility that the robot arm will enter the entry-restricted area based on the at least one predicted position, including executing a temporary stop of the operation of the robot arm before the robot arm enters the entry-restricted area, the temporary stop not requiring the return operation when the operation is resumed after the stop.

[0007] According to a third aspect of the present disclosure, a program is provided. The program is executed by a computer that controls a robot arm in a robot system. The robot system includes the robot arm, a control unit that controls the operation of the robot arm, and a functional safety unit that, when an entry-restricted area is enabled and the robot arm enters the entry-restricted area, executes a forced stop of the operation of the robot arm that requires a return operation when the operation is resumed after the stop, and does not execute the forced stop of the operation of the robot arm when the entry-restricted area is disabled and the robot arm enters the entry-restricted area. The program enables the computer to achieve the following functions: detect a current position of a control point of the robot arm; predict at least one position to which the control point of the robot arm will move after the current time using at least information representing the current position; and, when the entry-restricted area is valid and there is a possibility that the robot arm will enter the entry-restricted area based on the at least one predicted position, perform control to prevent the robot arm from entering the entry-restricted area, including temporarily suspending the operation of the robot arm before the robot arm enters the entry-restricted area, the temporary suspension not requiring the return operation when the operation is resumed after being stopped. [Brief description of the drawings]

[0008] [Figure 1] 1 is a schematic diagram showing an overall configuration of a robot system according to a first embodiment. [Diagram 2] FIG. 2 is a block diagram showing the main parts of the robot and the robot controller. [Diagram 3] FIG. 2 is an explanatory diagram of a restricted area and a protected area. [Figure 4] FIG. 13 is a diagram illustrating an example of a movement history of a control point of a robot. [Diagram 5] 4 is a flowchart of a process relating to position control. [Figure 6] FIG. 11 is a schematic diagram showing an overall configuration of a robot system according to a second embodiment. [Figure 7] 10 is a flowchart of a process relating to position control in the second embodiment. [Figure 8] FIG. 11 is an explanatory diagram of a method for predicting a position. [Figure 9] FIG. 13 is an explanatory diagram of another method for predicting a position. [Figure 10] 10 is a flowchart of a process relating to position control in another embodiment 2. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] A. First embodiment: Fig. 1 is a schematic diagram showing the overall configuration of a robot system 10 according to this embodiment. Fig. 2 is a block diagram showing main parts of a robot 100 and a robot controller 700. As shown in Fig. 1, the robot system 10 includes the robot 100, a safety input unit 300, a first stop signal generating unit 400, a second stop signal generating unit 500, and the robot controller 700.

[0010] The robot 100 is a vertical articulated robot. The robot 100 is driven by a robot controller 700, and performs, for example, assembly work that is part of a manufacturing process on a production line. The robot 100 is also called a robot arm. The robot 100 includes a base 105, an arm 120, six drive mechanisms 130, a force sensor 140, and an end effector 150. Note that the drive mechanisms 130 are not shown in FIG. 1. The base 105 supports members that constitute the robot 100. The arm 120 includes six joints J1 to J6. The joints J1 to J6 are provided with corresponding drive mechanisms 130, respectively.

[0011] As shown in FIG. 2, the driving mechanism 130 includes a motor 131, a reducer 132, and an angle sensor 133. The motor 131 receives a current from the robot controller 700 and generates a rotation output for driving a corresponding joint. The reducer 132 converts the rotation input provided by the motor 131 into a rotation output with a lower rotation speed, that is, reduces the speed. The angle sensor 133 detects the rotation angle (position of the shaft) of the output shaft of the motor 131 as the rotation angle of the joint. The angle sensor 133 detects the rotation angle at a determined time interval and outputs the detected rotation angle together with the detection time to the robot controller 700. The determined time interval is, for example, 100 milliseconds. The angle sensor 133 is, for example, an encoder, a potentiometer, or a resolver. The driving mechanism 130 drives the corresponding joint under the control of the robot controller 700, whereby the end effector 150 is disposed at a determined position in a determined attitude in the robot coordinate system RC.

[0012] As shown in Fig. 1, the robot coordinate system RC is fixed with respect to the position of the base 105, and is a coordinate system that defines the space in which the robot 100 is installed. The robot coordinate system RC is a three-dimensional Cartesian coordinate system defined by an X-axis and a Y-axis that are orthogonal to each other on a horizontal plane, and a Z-axis whose positive direction is vertically upward. Any position in the robot coordinate system RC can be represented by a position in the X-axis direction, a position in the Y-axis direction, and a position in the Z-axis direction. Any posture in the robot coordinate system RC can be represented by an angular position of rotation around the X-axis, an angular position of rotation around the Y-axis, and an angular position of rotation around the Z-axis.

[0013] The force sensor 140 is attached to the arm end 120e. The force sensor 140 detects the magnitude of force parallel to the detection axes of the X-axis, Y-axis, and Z-axis acting on the end effector 150 and the magnitude of torque around each detection axis in a sensor coordinate system different from the robot coordinate system RC. The force sensor 140 outputs the detection values ​​to the robot controller 700. The sensor coordinate system is a three-dimensional orthogonal coordinate system with a point on the force sensor 140 as the origin.

[0014] The end effector 150 is attached to the arm end 120e via the force sensor 140. The end effector 150 is a device for gripping a workpiece (not shown). In Fig. 1, the end effector 150 is shown as a cylindrical member to facilitate understanding of the technology.

[0015] 2 generates a safety input signal SS when a person is present in a preset restricted area RA around the robot 100. The safety input unit 300 includes a light curtain, a laser scanner, a mat switch, a door switch of a safety door, and the like for detecting the presence of a person in the restricted area RA. The safety input unit 300 is also called a safety input device.

[0016] FIG. 3 is an explanatory diagram of a restricted area RA set around the robot 100. The restricted area RA is also called an entry restricted area. In FIG. 3, the robot 100 is represented by a square. In the example shown in FIG. 3, the restricted area RA is set around the robot 100 outside a protection area PA described later. The restricted area RA is an area where a worker performs work as necessary. For example, the worker enters the restricted area RA and carries a pallet containing a workpiece to be worked on by the robot 100 to a determined position. In addition, when the robot 100 performs a new work, the robot 100 takes out a new workpiece from the pallet placed in the restricted area RA. As the restricted area RA, an area where the area where the worker performs work and the range in which the robot 100 can operate overlap is set. To ensure safety, while it is detected that a person is present in the restricted area RA, the entry of the robot 100 into the restricted area RA is restricted by a functional safety unit 750 described later.

[0017] For example, a light curtain owned by the safety input unit 300 is installed at the boundary of the restricted area RA. While the light curtain detects the presence of a person within the restricted area RA, the safety input unit 300 continues to output a safety input signal SS to the robot controller 700. For example, the robot 100 is surrounded by a safety fence equipped with a safety door. While a door switch detects that the door is in an open state, the safety input unit 300 continues to output a safety input signal SS to the robot controller 700. The safety input signal SS is a signal that switches between enabling and disabling the restricted area RA.

[0018] The first stop signal generating unit 400 includes an emergency stop button provided in the production facility and an emergency stop button provided in the teaching pendant. When an operator issues an instruction to stop the robot 100 by pressing the emergency stop button provided in the production facility or the emergency stop button provided in the teaching pendant, the first stop signal generating unit 400 generates a first stop signal S1. The first stop signal S1 is a signal that notifies an instruction to emergency stop the robot 100.

[0019] The second stop signal generating unit 500 generates a second stop signal S2 when it detects the presence of a person in a preset protection area PA around the robot 100. The second stop signal generating unit 500 includes a light curtain, a laser scanner, a mat switch, a door switch of a safety door, etc. for detecting the presence of a person in the protection area PA.

[0020] 3, the protection area PA is set inside the restriction area RA around the robot 100. The protection area PA is an area that overlaps with the range in which the robot 100 can operate. When the presence of a person is detected in the protection area PA, the operation of the robot 100 is completely stopped by the functional safety unit 750 described later.

[0021] While it is detected that a person is present within the protection area PA, the second stop signal generating unit 500 continues to output the second stop signal S2 to the robot controller 700. The second stop signal S2 is a signal that issues an instruction to stop protecting the robot 100.

[0022] The robot controller 700 includes a drive unit 710, a power supply circuit unit 720, a control unit 730, a power supply cutoff unit 740, and a functional safety unit 750.

[0023] The driving unit 710 has six motor drivers corresponding to the joints J1 to J6, respectively. The driving unit 710 drives the six motor drivers corresponding to the joints J1 to J6, respectively, under the control of the control unit 730. Each motor driver drives a motor 131 that rotates the corresponding joint. The driving unit 710 is disposed inside the arm 120.

[0024] Power supply circuit unit 720 converts power supplied from an external AC power supply (not shown) into DC power, and supplies the converted power to drive unit 710, control unit 730, and functional safety unit 750. Power to drive unit 710 is supplied via power supply cutoff unit 740, which will be described later. Power supply circuit unit 720, control unit 730, power supply cutoff unit 740, and functional safety unit 750 are disposed inside base 105.

[0025] The control unit 730 drives the robot 100 by controlling the driving unit 710. The control unit 730 is a computer including a memory 731 and a CPU (Central Processing Unit) 732. Unlike the functional safety unit 750 described later, the control unit 730 does not need to be configured to satisfy standards related to functional safety. The memory 731 stores programs and data used for various processes executed by the control unit 730. The memory 731 is also called a storage unit. For example, the memory 731 stores an operation program that controls the operation of the robot 100. The memory 731 also stores data indicating the rotation angle and detection time output by the angle sensor 133. The CPU 732 executes the programs stored in the memory 731 to realize various functions.

[0026] The control unit 730 controls the position of the control point of the robot 100 by changing the position and posture of the robot 100 via the driving unit 710. As a result, the end effector 150 is placed in a specified posture at a target point, which is a specified position in a three-dimensional space. The control point is a point that serves as a reference for controlling the robot 100 in the robot coordinate system RC. For example, a TCP (Tool Center Point), which is the center of the point where the end effector 150 touches an object, can be set as the control point. The control unit 730 controls the arm 120 and the end effector 150 according to an operation command received from, for example, a programmable logic controller (not shown).

[0027] When the control unit 730 receives a safety input signal SS that enables the restricted area RA, it controls the position of the control point of the robot 100. While the safety input signal SS is being input, the control unit 730 limits the position of the control point of the robot 100. Details of the control will be described later.

[0028] The power cutoff unit 740 cuts off the supply of power to the drive unit 710 under the control of the functional safety unit 750. The power cutoff unit 740 includes a relay circuit. When the power cutoff unit 740 receives a cutoff signal SC from the functional safety unit 750, it opens the relay circuit. Thus, the supply of power from the power supply circuit unit 720 to the drive unit 710 is cut off. The power cutoff unit 740 keeps the relay circuit in a closed state until it receives the cutoff signal SC from the functional safety unit 750. In this case, power is supplied from the power supply circuit unit 720 to the drive unit 710.

[0029] The functional safety unit 750 monitors the robot 100 and performs necessary control to ensure functional safety. Functional safety is an allowable level of safety that is achieved by introducing a function to ensure safety. The functional safety unit 750 is a computer including a memory 751 and a CPU 752. The functional safety unit 750 is configured to satisfy standards related to functional safety. Regarding standards related to functional safety, for example, ISO10218-1:2011, which is a safety standard for robots, refers to ISO13849-1:2015 as a requirement for functional safety. The memory 751 stores programs and data used for various processes executed by the functional safety unit 750. The CPU 752 executes the programs stored in the memory 751 to realize various functions.

[0030] The functional safety unit 750 monitors whether or not the first stop signal S1 is input from the first stop signal generating unit 400. When the first stop signal S1 is input, the functional safety unit 750 executes an emergency stop corresponding to "STO (Safe Torque Off)" defined in IEC60204-1:2016. Specifically, the functional safety unit 750 outputs a cutoff signal SC to the power cutoff unit 740 to cut off the supply of power to the motor 131 of the robot 100. Thus, the operation of the robot 100 is forcibly stopped. Alternatively, when the first stop signal S1 is input, the functional safety unit 750 executes a protective stop corresponding to "SS1 (Safe Stop1)" defined in IEC60204-1:2016. Specifically, the functional safety unit 750 stops the operation of the robot 100 via the control unit 730. Thereafter, the functional safety unit 750 outputs a cutoff signal SC to the power cutoff unit 740 to cut off the supply of power to the motor 131 of the robot 100. This forcibly stops the operation of the robot 100. For example, when an emergency stop equivalent to "STO" is executed, in order to resume the operation of the robot 100, it is necessary for an operator to execute a predetermined recovery operation, including manually resetting the emergency stop button.

[0031] Furthermore, the functional safety unit 750 monitors whether or not the second stop signal S2 is input from the second stop signal generating unit 500. When the second stop signal S2 is input, the functional safety unit 750 executes an emergency stop or protective stop corresponding to "STO" or "SS1".

[0032] Furthermore, the functional safety unit 750 monitors whether or not a safety input signal SS is input from the safety input unit 300. When the safety input signal SS is input, the functional safety unit 750 enables a position monitoring function. While the safety input signal SS is being input, the position monitoring function that monitors the position of the control point of the robot 100 is enabled in the functional safety unit 750. When the position monitoring function is enabled, the functional safety unit 750 controls the robot 100 as follows.

[0033] The functional safety unit 750 calculates the position of the control point of the robot 100 using the detection value of the angle sensor 133, and monitors whether the position of the control point of the robot 100 is within the restricted area RA. Note that the signal line connecting the functional safety unit 750 and the angle sensor 133 is omitted in Fig. 2. Position information of the restricted area RA is stored in the memory 751 in advance.

[0034] 4 is a diagram showing an example of a movement history of a control point when the robot 100 is viewed from above. The movement history of the control point is shown by a dashed line. The restricted area RA is enabled. The control point of the robot 100 starts moving from a position PS. When it is detected that the control point has entered the restricted area RA, the functional safety unit 750 protects and stops the robot 100. In the example shown, the movement of the control point is stopped at a position PE.

[0035] The functional safety unit 750 shown in FIG. 2 executes a protective stop corresponding to "SS1" when the safety input signal SS is input and the position of the control point of the robot 100 is within the restricted area RA. The execution of the protective stop corresponding to "SS1" by the functional safety unit 750 is as described above. Thus, the operation of the robot 100 is forcibly stopped. Alternatively, the functional safety unit 750 may execute an emergency stop corresponding to "STO" when the safety input signal SS is input and the position of the control point of the robot 100 is within the restricted area RA. The execution of the emergency stop corresponding to "STO" by the functional safety unit 750 is as described above. In this specification, a forced stop is a stop that is a forced stop of the operation of the robot 100 and requires a return operation when the operation is resumed after the stop.

[0036] Fig. 5 is a flowchart of processing related to position control. The processing shown in Fig. 5 is executed by the CPU 732 of the control unit 730. For example, when a user instructs the start of processing via an input device (not shown), the control unit 730 starts the processing shown in Fig. 5. In parallel with the execution of the processing shown in Fig. 5, the control unit 730 controls the operation of the robot 100 so that the control point of the robot 100 moves along a planned movement path.

[0037] In step S101, the control unit 730 determines whether the restricted area RA is valid or not depending on whether the safety input signal SS is input from the safety input unit 300. In this embodiment, the control unit 730 can easily grasp whether the restricted area RA is valid or not based on the safety input signal SS. When the safety input signal SS is input and the restricted area RA is valid (step S101; YES), the control unit 730 executes the process of step S103. Note that the safety input signal SS is also input to the functional safety unit 750 together with the control unit 730. Therefore, when the safety input signal SS is input, the position monitoring function of the functional safety unit 750 is enabled. When the safety input signal SS is not input and the restricted area RA is invalid (step S101; NO), the control unit 730 executes the process of step S113. When the restricted area RA is invalid, the movement of the robot 100 is not restricted.

[0038] In step S103, the control unit 730 predicts a position to which the control point of the robot 100 will move after the current time. First, the control unit 730 reads out route information representing a planned movement route for the control point of the robot 100 from the memory 731. The route information representing the planned movement route is stored in advance in the memory 731. The route information representing the planned movement route includes information representing the positions of a start point, one or more intermediate points, and an end point. The control unit 730 calculates the current position of the control point of the robot 100 by calculation according to forward kinematics using the rotation angles detected by the six angle sensors 133 and the lengths of each link constituting the arm 120. The control unit 730 determines where the calculated current position is located on the movement route using the calculated current position and the route information.

[0039] For example, a planned movement route includes a start point P11, relay points P12 to P14, and an end point P15. The control point is scheduled to move in the order of the start point P11, relay point P12, relay point P13, relay point P14, and end point P15. When the control unit 730 determines that the current position is located between relay point P12 and relay point P13, it determines that the position to which the control point will move after the current time is relay points P13 and P14 and end point P15, which are located after relay point P12. The control unit 730 predicts that the route including relay points P13 and P14 and end point P15 is the route to which the control point will move after the current time.

[0040] In step S105, the control unit 730 determines whether or not there is a possibility that the robot 100 will enter the restricted area RA, depending on whether or not at least a part of the path including the predicted position is included in the restricted area RA. If the control unit 730 determines that there is a possibility that the robot 100 will enter the restricted area RA (step S105; YES), it executes the process of step S107. On the other hand, if it determines that there is no possibility that the robot 100 will enter the restricted area RA (step S105; NO), the control unit 730 executes the process of step S113.

[0041] In step S107, the control unit 730 controls the driving unit 710 to temporarily halt the robot 100. This stops the operation of the robot 100, and prevents the robot 100 from entering the restricted area RA. At this time, the power supply to the driving unit 710 is not cut off by the power cut-off unit 740. Therefore, no return operation is required when restarting the stopped operation of the robot 100.

[0042] In step S109, the control unit 730 determines whether the restricted area RA is invalid based on the presence or absence of input of the safety input signal SS. If the safety input signal SS is not input and the restricted area RA is invalid (step S109; YES), the control unit 730 executes the process of step S111. When the operation of the robot 100 is temporarily stopped to avoid entering the restricted area RA, the fact that the input of the safety input signal SS from the safety input unit 300 has been stopped means that the restricted area RA has been invalidated. If the safety input signal SS is input and the restricted area RA is valid (step S109; NO), the control unit 730 waits for a certain period of time and then executes the process of step S109 again.

[0043] In step S111, the control unit 730 controls the driving unit 710 to resume the operation of the robot 100. Thus, the operation of the robot 100 is resumed.

[0044] In step S113, the control unit 730 determines whether or not to continue the process. For example, when the user instructs the end of the process via an input device (not shown), the control unit 730 determines that the process is to be ended. When the end of the process is not instructed, that is, when the process is to be continued (step S113; YES), the control unit 730 executes the process of step S101 again. When the process is to be ended (step S113; NO), the process shown in FIG. 5 is ended.

[0045] Here, in step S109, when the safety input signal SS is input and the restricted area RA is valid (step S109; NO), the control unit 730 waits for a certain period of time and then executes the process of step S109 again, but the present invention is not limited to this. For example, if the user issues an instruction to end the process via an input device (not shown) while the restricted area RA is valid after the transition to step S109, the control unit 730 may determine that the process is to be ended, and the process shown in FIG. 5 may be ended.

[0046] As described above, in this embodiment, the control unit 730 predicts the possibility that the control point of the robot 100 will enter the restricted area RA. When there is a possibility that the control point of the robot 100 will enter the restricted area RA, the control unit 730 performs control so as to prevent the robot 100 from entering the restricted area RA. Therefore, the operation of the robot 100 is not forcibly stopped by the functional safety unit 750. In this case, a return operation is not required when restarting the operation after the forcible stop. Therefore, the time during which the work of the robot 100 is forcibly interrupted can be shortened.

[0047] In addition, temporary suspension of the operation of the robot 100 causes the robot arm to avoid entering the restricted area RA, and when the restricted area RA is invalidated while the operation of the robot 100 is temporarily suspended, the operation of the robot 100 can be quickly resumed without requiring a return operation. Therefore, the time during which the work of the robot 100 is interrupted can be shortened compared to a mode in which the control unit 730 does not prevent the robot arm from entering the restricted area RA.

[0048] In addition, the control unit 730 predicts at least one position to which the robot 100 will move after the current time using information indicating the current position and route information indicating the planned movement route, so that it can reliably predict whether the robot arm will possibly enter the restricted area RA. The control unit 730 can predict at least one position to which the robot 100 will move after the current time.

[0049] B. Second embodiment: In the first embodiment, the robot 100 moves along a planned movement path. Therefore, the control unit 730 predicts the possibility that the robot 100 will enter the restricted area RA by using path information that indicates the planned movement path. In the second embodiment, the control unit 730 predicts the possibility that the robot 100 will enter the restricted area RA by a method different from that of the first embodiment. The following mainly describes configurations different from the first embodiment. Descriptions of configurations similar to those of the first embodiment will be omitted.

[0050] 6 is a schematic diagram showing the overall configuration of a robot system 10 according to the second embodiment. The robot system 10 according to the second embodiment further includes sensors 801 and 802 in addition to the configuration described in the first embodiment.

[0051] The sensor 801 is a three-dimensional vision sensor. The sensor 801 is installed at a position where it can capture an image of a workpiece (not shown). The robot controller 700 and the sensor 801 can communicate with each other. The sensor 801 captures an image of the workpiece with pattern light projected. Furthermore, the sensor 801 captures an image of the workpiece with no pattern light projected. The image capture is performed at a determined image capture period. The captured image is used when the robot controller 700 calculates the position and orientation of the workpiece in a three-dimensional space. The sensor 802 is, for example, a laser displacement sensor. The sensor 802 is fixed to the tip of the arm 120 of the robot 100. The sensor 802 detects objects around the arm 120. The robot controller 700 and the sensor 802 can communicate with each other.

[0052] In this embodiment, the control unit 730 operates the robot 100 along a dynamically generated path through feedback control using CAD data including information such as the position, size, and shape of objects present in the space in which the robot 100 works, and detection values ​​detected by the sensors 801 and 802.

[0053] Fig. 7 is a flowchart of the process related to position control in the second embodiment. The process shown in Fig. 7 is executed by the CPU 732 of the control unit 730. For example, when a user instructs the start of the process via an input device (not shown), the control unit 730 starts the process shown in Fig. 7. In Fig. 7, the same processes as those in the process related to position control in the first embodiment (see Fig. 5) are given the same reference numerals. In parallel with the execution of the process shown in Fig. 7, the control unit 730 controls the operation of the robot 100 so that the control point of the robot 100 moves along a dynamically generated path.

[0054] In step S101, the same process as step S101 shown in Fig. 5 is performed. If the restricted area RA is valid (step S101; YES), the control unit 730 executes the process of step S104. If the restricted area RA is invalid (step S101; NO), the control unit 730 executes the process of step S113.

[0055] In step S104 shown in FIG. 7, the control unit 730 predicts the position to which the control point will move after the current time.

[0056] FIG. 8 is an explanatory diagram of a method for predicting a position. In FIG. 8, the restricted area RA is set as a rectangular area. First, the control unit 730 calculates a position PC, which is the current position of the control point of the robot 100 at the current time, by calculation according to forward kinematics using the rotation angles detected by the six angle sensors 133 and the lengths of each link constituting the arm 120. The control unit 730 also calculates a position P1 of the control point at a time T1 before the current time TC. For example, the time TC is a time when 100 milliseconds have elapsed since the time T1. In the example shown in FIG. 8, the position P1 is calculated on the assumption that the positions P1 and PC are on the same line. The position P1 is also referred to as the first position. The time T1 is also referred to as the first time. Furthermore, the control unit 730 acquires a moving speed V1 of the control point. Specifically, the control unit 730 obtains the moving speed V1 by dividing the distance between the position P1 and the position PC by the difference time between the time T1 and the time TC.

[0057] The control unit 730 calculates a position P2 of the control point of the robot 100 at a time T2 after the time TC using information indicating the position P1, information indicating the position PC, the elapsed time from the time T1 to the time TC, and the movement speed V1. The time T2 is a time when a time difference between the time TC and the time T1 has elapsed since the time TC. The position P2 is also called the second position. The time T2 is also called the second time. The control unit 730 calculates the distance between the position PC and the position P2 by multiplying the movement speed V1 by the time difference between the time TC and the time T2. In the example shown in FIG. 8, the position P2 is calculated assuming that the positions P1, PC, and P2 are on the same straight line.

[0058] 7, in step S106, the control unit 730 determines whether or not there is a possibility that the robot 100 will enter the restricted area RA, depending on whether or not the predicted position P2 is included in the restricted area RA. If the control unit 730 determines that there is a possibility that the robot 100 will enter the restricted area RA (step S106; YES), it executes the process of step S107. On the other hand, if it determines that there is no possibility that the robot 100 will enter the restricted area RA (step S106; NO), the control unit 730 executes the process of step S113.

[0059] In step S107 shown in Fig. 7, the same process as step S107 shown in Fig. 5 is performed. When the operation of the robot 100 is resumed after the temporary stop in step S107, a return operation is not required.

[0060] In steps S109, 111, and 113 shown in FIG. 7, the same processes as those in steps S109, 111, and 113 shown in FIG. 5 are performed, respectively.

[0061] In this embodiment, when the robot 100 operates while searching for a path, the control unit 730 predicts at least one position to which the robot 100 will move after the current time and predicts whether the robot 100 is likely to enter the restricted area RA.

[0062] Also in this embodiment, similarly to the first embodiment, the control unit 730 controls the robot arm to avoid entering the restricted area RA when there is a possibility that the robot arm will enter the restricted area RA. Therefore, the functional safety unit 750 does not forcibly stop the operation of the robot 100. In this case, a return operation is not required when restarting the operation after the forcible stop. This makes it possible to shorten the time during which the work of the robot 100 is forcibly interrupted.

[0063] C. Other embodiments: C1. Alternative embodiment 1: In the second embodiment, an example has been described in which a position P2 is a position moved from position PC by the same distance as the distance from position P1 to position PC, but the method of predicting the position to which the control point will move is not limited to this.

[0064] Fig. 9 is an explanatory diagram of another method for predicting a position. In Fig. 9, a restricted area RA is set as a rectangular area. First, the control unit 730 calculates the position PC at the current time, the position P1 of the control point at the time T1 before the current time TC, and the moving speed V1 of the control point, in the same manner as in the second embodiment.

[0065] The control unit 730 calculates a position P3 of the control point of the robot 100 at a time T3 after the time TC using information indicating the position P1, information indicating the position PC, the elapsed time from the time T1 to the time TC, and the moving speed V1. The position P3 is also called a second position. The time T3 is also called a second time. For example, the time TC is a time when 100 milliseconds have elapsed since the time T1. The time T3 is a time when a time has elapsed since the time TC by multiplying the difference between the time TC and the time T1 by a constant. For example, the constant is set to 3. The control unit 730 calculates the distance between the position PC and the position P3 by multiplying the moving speed V1 by the difference between the time TC and the time T3. In the example shown in FIG. 9, the position P3 is calculated assuming that the positions P1, PC, and P3 are on the same straight line.

[0066] The control unit 730 determines whether or not there is a possibility that the robot 100 will enter the restricted area RA depending on whether or not the predicted position P3 is included in the restricted area RA. When the control unit 730 determines that there is a possibility that the robot 100 will enter the restricted area RA, the control unit 730 controls the driving unit 710 to temporarily stop the robot 100.

[0067] Alternatively, the control unit 730 determines whether the time from the current time TC to time T3 is equal to or greater than a predetermined threshold. When the time from the current time TC to time T3 is equal to or greater than the predetermined threshold, the control unit 730 may slow down the movement speed of the control point of the robot 100 before temporarily suspending the operation of the robot 100. For example, the control unit 730 slows down the movement speed of the control point of the robot 100 to half the current speed.

[0068] Therefore, by slowing down the moving speed of the control point of the robot 100 before pausing, the time at which the robot 100 approaches the restricted area RA can be delayed. For example, if the restricted area RA becomes invalid after the robot 100 decelerates after the control point moves from the position PC, the robot 100 does not need to pause. Also, as shown in FIG. 9, after the robot 100 decelerates and the control point moves from the position PC, the predicted position of the control point may fall outside the restricted area RA. In this case, the robot 100 also does not need to pause. The control of slowing down the moving speed of the robot 100 is an example of control for preventing the robot arm from entering an entry restricted area.

[0069] C2. Alternative embodiment 2: Furthermore, the control unit 730 may combine the configuration according to the second embodiment with the configuration according to the first alternative embodiment to prevent the robot 100 from entering the restricted area RA as follows.

[0070] Fig. 10 is a flowchart of processing related to position control in alternative embodiment 2. The processing shown in Fig. 10 is executed by the CPU 732 of the control unit 730. For example, when a user issues an instruction to start the processing via an input device (not shown), the control unit 730 starts the processing shown in Fig. 10. In Fig. 10, the same processes as those in the processing related to position control in the first embodiment (see Fig. 5) are denoted by the same reference numerals. In parallel with the execution of the processing shown in Fig. 10, the control unit 730 controls the operation of the robot 100 so that the control point of the robot 100 moves along a dynamically generated path.

[0071] In step S101, the same process as step S101 shown in Fig. 5 is performed. If the restricted area RA is valid (step S101; YES), the control unit 730 executes the process of step S201. If the restricted area RA is invalid (step S101; NO), the control unit 730 executes the process of step S113.

[0072] In step S201 shown in FIG. 10, the control unit 730 predicts a position P3 to which the control point will move after the current time in the same manner as in the first embodiment (see FIG. 9).

[0073] 10, in step S202, the control unit 730 determines whether or not the predicted position P3 is included in the restricted area RA. If the predicted position P3 is included in the restricted area RA (step S202; YES), the control unit 730 executes the process of step S203. On the other hand, if the predicted position P3 is not included in the restricted area RA (step S202; NO), the control unit 730 executes the process of step S113.

[0074] In step S203, the control unit 730 predicts a position P2 to which the control point will move after the current time in the same manner as in the second embodiment (see FIG. 8).

[0075] In step S204 shown in Fig. 10, the control unit 730 determines whether or not the predicted position P2 is included in the restricted area RA. If the predicted position P2 is included in the restricted area RA (step S204; YES), the control unit 730 executes the process of step S107. In step S107, the control unit 730 controls the driving unit 710 to temporarily stop the robot 100. Thereafter, in steps S109, 111, and 113, the same processes as those in steps S109, 111, and 113 shown in Fig. 5 are performed, respectively.

[0076] When the position P2 predicted in step S204 shown in FIG. 10 is not included in the restricted area RA (step S204; NO), the control unit 730 executes the process of step S205.

[0077] In step S205, the control unit 730 decelerates the moving speed of the control point by controlling the driving unit 710. For example, the control unit 730 decelerates the moving speed of the control point to half of the current speed.

[0078] In another embodiment 2, the control unit 730 first determines whether or not the position P3 is included in the restricted area RA. If the position P3 is included in the restricted area RA, the control unit 730 further determines whether or not the position P2 is included in the restricted area RA. As shown in FIGS. 8 and 9, the distance from the position PC at the current time to the position P3 is three times the distance from the position PC at the current time to the position P2. If the position P3 is included in the restricted area RA but the position P2 is not included in the restricted area RA, it is considered that the time it takes for the control point to enter the restricted area RA is longer than the case where the position P3 is included in the restricted area RA and the position P2 is included in the restricted area RA. For this reason, if the position P3 is included in the restricted area RA but the position P2 is not included in the restricted area RA, the moving speed of the control point is temporarily decelerated. Therefore, the time at which the robot 100 approaches the restricted area RA can be delayed without stopping the robot 100.

[0079] C3. Alternative embodiment 3: In the second embodiment and the other embodiment 1, an example was described in which the position of the control point at a time after the current time is calculated using the current position, the position P1 at the time T1 before the current time, and the moving speed. Alternatively, the control unit 730 can generate an N-th order spline curve using information on the current position and (N+1) positions representing each of the N positions through which the control point passed before the current time, and predict the position of the control point after the current time based on the generated spline curve. Alternatively, the control unit 730 can generate a Bezier curve or a B-spline curve using information representing each of the current position and a plurality of positions through which the control point passed before the current time, and predict the position of the control point after the current time based on the generated Bezier curve or B-spline curve.

[0080] C4. Alternative embodiment 4: Furthermore, when there is a possibility that the robot 100 will enter the restricted area RA, the control unit 730 may notify the worker that the robot 100 has been temporarily stopped in order to prevent the robot 100 from entering the restricted area RA. For example, a notification device (not shown) is provided in the production facility or the robot controller 700. The notification device is, for example, a display or a speaker. It is a device that notifies the worker of information. The control unit 730 controls the notification device to notify the worker of information. The control unit 730 uses the notification device to notify the worker that the robot 100 may enter the restricted area RA. This allows the worker to understand that the restricted area RA is valid and that the robot 100 may enter the restricted area RA. This prevents a worker in the vicinity of the restricted area RA from inadvertently entering the restricted area. Furthermore, when a worker is working within the restricted area RA, the worker can quickly finish the work and leave the restricted area RA. Control of an alarm device for notifying a worker of information is one example of control for preventing the robot arm from entering an entry restricted area.

[0081] C5. Alternative Embodiment 5: In the first and second embodiments, an example has been described in which it is determined whether or not there is a possibility that the robot 100 will enter the restricted area RA depending on whether or not the position of the control point of the robot 100 is within the restricted area RA.

[0082] Alternatively, the control unit 730 may determine that there is a possibility that the robot 100 will enter the restricted area RA if at least a portion of a circular area having a determined radius centered on the predicted control point position is included in the restricted area RA.

[0083] Alternatively, the control unit 730 may determine that there is a possibility that the robot 100 will enter the restricted area RA if at least a portion of a circular area having a radius determined with the current control point position as its center is included in the restricted area RA.

[0084] C6. Alternative Embodiment 6: In the first embodiment, an example has been described in which the area where the worker performs work is set as the restricted area RA. Alternatively, the restricted area RA may be set by combining the area where the worker performs work and a certain area around it. Since a range wider than the area where the worker performs work is set as the restricted area RA, it is possible to reliably prevent the robot 100 from entering the area where the worker performs work.

[0085] C7. Alternative Embodiment 7: In the first embodiment, an example was described in which the operation of the robot 100 was temporarily stopped to control the robot arm to avoid entering the restricted area RA, and then the control unit 730 resumed the operation of the robot 100 when it determined that the restricted area RA had been disabled.

[0086] Alternatively, when the control unit 730 determines that the restricted area RA has been disabled after the operation of the robot 100 has been temporarily stopped, the control unit 730 may notify the operator of that effect using an alarm device (not shown). After receiving an instruction to resume the operation from the operator via an input device, the control unit 730 may resume the operation of the robot 100. In this case, although the time during which the operation of the robot 100 is suspended is longer than in the configuration according to the first embodiment, the operator can know that the operation of the robot 100 will be resumed. The operator may instruct that the operation of the robot 100 can be resumed after making necessary confirmations for resuming the operation of the robot 100.

[0087] C8. Alternative Embodiment 8: Alternatively, the functional safety unit 750 may execute a protective stop equivalent to "SS2 (Safe Stop 2)" specified in IEC 60204-1:2016 when the restricted area RA is valid, the predicted position of the control point is within the restricted area RA, and there is a possibility that the robot 100 will enter the restricted area RA.

[0088] C9. Alternative Embodiment 9: In the first and second embodiments, an example has been described in which the safety input signal SS is input from the safety input unit 300 to the control unit 730 and the functional safety unit 750. However, the safety input signal SS does not have to be input from the safety input unit 300 to the control unit 730. In this case, the functional safety unit 750 may notify the control unit 730 that the restricted area RA is valid while the functional safety unit 750 is receiving the safety input signal SS from the safety input unit 300. Thus, the control unit 730 can know whether the entry restricted area is valid or invalid.

[0089] C10. Alternative Embodiment 10: In the above embodiment, the safety input unit 300 continues to output the safety input signal SS while a person is present in the restricted area RA. However, the safety input unit 300 may input the safety input signal SS to the robot controller 700 for a determined period of time when a person enters the restricted area RA. The safety input unit 300 may output a release signal to the robot controller 700 when a person is no longer present in the restricted area RA.

[0090] In the embodiment, an example in which one control point is set has been described, but two or more control points may be set. For example, the TCP and the joint J3, which corresponds to the elbow joint of a human, may each be set as a control point.

[0091] In the first embodiment, an example has been described in which the functional safety unit 750 is configured to satisfy standards regarding functional safety, but the functional safety unit 750 does not necessarily have to be configured to satisfy standards regarding functional safety.

[0092] Although the six-axis vertical articulated robot has been described as an example in the embodiment, the robot 100 may be any robot equipped with an arm. The robot 100 may be, for example, a SCARA robot.

[0093] The present disclosure is not limited to the above-mentioned embodiment, and can be realized in various configurations without departing from the spirit of the present disclosure. For example, the technical features in the embodiments corresponding to the technical features in each aspect described in the Summary of the Invention column can be appropriately replaced or combined to solve some or all of the above-mentioned problems or to achieve some or all of the above-mentioned effects. Furthermore, if the technical feature is not described as essential in this specification, it can be appropriately deleted.

[0094] D. Other forms: (1) A first aspect of the present disclosure provides a control method for controlling a robot arm in a robot system. The robot system includes the robot arm, a control unit that controls operation of the robot arm, and a functional safety unit that, when an entry restricted area is enabled and the robot arm enters the entry restricted area, executes a forced stop of operation of the robot arm that requires a return operation when the operation is resumed after the stop, and does not execute the forced stop of operation of the robot arm when the entry restricted area is disabled and the robot arm enters the entry restricted area. The control method in which the control unit controls the robot arm includes: detecting a current position of a control point of the robot arm; predicting at least one position to which the control point of the robot arm will move after a current time using at least position information representing the current position; and, when the entry restricted area is enabled and there is a possibility that the robot arm will enter the entry restricted area based on the at least one predicted position, performing control to avoid the robot arm from entering the entry restricted area, including temporarily suspending operation of the robot arm before the robot arm enters the entry restricted area, the temporary suspension not requiring the return operation when the operation is resumed after the stop. According to the above embodiment, the possibility that the robot arm will enter the entry restricted area is predicted, and when there is a possibility that the robot arm will enter the entry restricted area, control is performed to prevent the robot arm from entering the entry restricted area. Therefore, since the operation of the robot arm does not need to be forcibly stopped by the functional safety unit, a return operation is not required when restarting the operation after the forcible stop. This makes it possible to shorten the time during which the work of the robot arm is forcibly interrupted.

[0095] (2) In the above aspect, the method may further include the step of receiving, from a safety input device, a safety input signal for switching between enabling and disabling the entry restricted area. According to the above aspect, the control unit can easily know whether the entry restricted area is valid or invalid based on the input signal from the safety input device.

[0096] (3) In the above embodiment, the method may further include a step of resuming operation of the robot arm when it is detected that the entry restricted area has been disabled based on the safety input signal while the operation of the robot arm is temporarily suspended due to the execution of the step of controlling to avoid the entry. According to the above embodiment, when the entry-restricted area is disabled after control for preventing the robot arm from entering the entry-restricted area, including temporary suspension of the operation of the robot arm, the operation of the robot arm can be quickly resumed. This makes it possible to reduce the time during which the work of the robot arm is interrupted, compared to an embodiment in which the control unit does not prevent the robot arm from entering the entry-restricted area.

[0097] (4) In the above embodiment, in the step of predicting the position, route information indicating a planned movement route for movement of the control point of the robot arm is read from a storage unit, and the position information and the route information are used to predict a route including the at least one position to which the robot arm will move after the current time. In the step of performing control to avoid the entry, the control to avoid the entry of the robot arm into the entry restricted area may be performed when the entry restricted area is valid and there is a possibility that the robot arm will enter the entry restricted area, and at least a portion of the predicted route is included in the entry restricted area. According to the above aspect, since the path information indicating the planned movement path is used, it is possible to reliably predict whether there is a possibility that the robot arm will enter an entry restricted area.

[0098] (5) In the above embodiment, in the step of predicting the position, at least a first position of the robot arm at a first time before a current time is acquired, and a second position of the control point of the robot arm at a second time after the current time is predicted as the at least one position using information indicating the first position, the position information, and the elapsed time from the first time to the current time, and in the step of performing control to avoid the entry, the control to avoid the entry of the robot arm into the entry restricted area may be performed when the entry restricted area is valid and the predicted second position is included in the entry restricted area, assuming that there is a possibility that the robot arm will enter the entry restricted area. According to the above embodiment, even when the robot arm does not move along a planned movement path but moves while searching for a path, it is possible to predict whether the robot arm is likely to enter an entry restricted area.

[0099] (6) In the above-described embodiment, in the step of controlling to avoid the entry, when the entry restricted area is valid and the second position is included in the entry restricted area, the moving speed of the control point of the robot arm may be decelerated before the temporary stop is executed when the time from the current time to the second time is equal to or greater than a predetermined threshold. According to the above aspect, by slowing down the moving speed of the robot arm before temporarily stopping, it is possible to delay the time at which the robot arm approaches the entry restricted area.

[0100] (7) In the above-described embodiment, in the step of controlling to avoid the entry, when the entry restricted area is valid and there is a possibility that the robot arm will enter the entry restricted area based on the at least one predicted position, the control may further include issuing an alert to the effect that the robot arm is likely to enter the entry restricted area. According to the above aspect, since the entry of the robot arm into the entry restricted area is notified, it is possible to prevent the worker from inadvertently entering the entry restricted area.

[0101] (8) In the above aspect, the functional safety unit may be configured to satisfy a standard regarding functional safety.

[0102] (9) According to a second aspect of the present disclosure, there is provided a robot system, comprising: a robot arm; a control unit for controlling an operation of the robot arm; and a functional safety unit for, when an entry-restricted area is valid and the robot arm enters the entry-restricted area, executing a forced stop of the operation of the robot arm that requires a return operation when the operation is resumed after the entry-restricted area, and for, when the entry-restricted area is invalid and the robot arm enters the entry-restricted area, not executing a forced stop of the operation of the robot arm, wherein the control unit detects a current position of a control point of the robot arm, predicts at least one position to which the control point of the robot arm will move after the current time using at least information representing the current position, and, when the entry-restricted area is valid and there is a possibility that the robot arm will enter the entry-restricted area based on the at least one predicted position, performs control to prevent the robot arm from entering the entry-restricted area, including temporarily suspending the operation of the robot arm before the robot arm enters the entry-restricted area, the temporary suspension not requiring the return operation when the operation is resumed after the stop. According to the above embodiment, the possibility that the robot arm will enter the entry restricted area is predicted, and when there is a possibility that the robot arm will enter the entry restricted area, control is performed to prevent the robot arm from entering the entry restricted area. Therefore, since the operation of the robot arm does not need to be forcibly stopped by the functional safety unit, a return operation is not required when restarting the operation after the forcible stop. This makes it possible to shorten the time during which the work of the robot arm is forcibly interrupted.

[0103] (10) According to a third aspect of the present disclosure, there is provided a program. The program is executed by a computer that controls a robot arm in a robot system. The robot system includes the robot arm, a control unit that controls the operation of the robot arm, and a functional safety unit that, when an entry-restricted area is enabled and the robot arm enters the entry-restricted area, executes a forced stop of the operation of the robot arm that requires a return operation when the operation is resumed after the stop, and does not execute the forced stop of the operation of the robot arm when the entry-restricted area is disabled and the robot arm enters the entry-restricted area. The program enables the computer to achieve the following functions: detect a current position of a control point of the robot arm; predict at least one position to which the control point of the robot arm will move after the current time using at least information representing the current position; and, when the entry-restricted area is valid and there is a possibility that the robot arm will enter the entry-restricted area based on the at least one predicted position, perform control to prevent the robot arm from entering the entry-restricted area, including temporarily suspending the operation of the robot arm before the robot arm enters the entry-restricted area, the temporary suspension not requiring the return operation when the operation is resumed after being stopped. According to the above embodiment, the possibility that the robot arm will enter the entry restricted area is predicted, and when there is a possibility that the robot arm will enter the entry restricted area, control is performed to prevent the robot arm from entering the entry restricted area. Therefore, since the operation of the robot arm does not need to be forcibly stopped by the functional safety unit, a return operation is not required when restarting the operation after the forcible stop. This makes it possible to shorten the time during which the work of the robot arm is forcibly interrupted. [Explanation of symbols]

[0104] 10...robot system, 100...robot, 105...base, 120...arm, 120e...arm end, 130...driving mechanism, 131...motor, 132...reduction gear, 133...angle sensor, 140...force sensor, 150...end effector, 300...safety input unit, 400...first stop signal generating unit, 500...second stop signal generating unit, 700...robot controller, 710...driving unit, 720...power supply circuit unit, 730...control unit, 731...memory, 732...CPU, 740 ...power cutoff section, 750...functional safety section, 751...memory, 752...CPU, 801...sensor, 802...sensor, J1~J6...joints, P1...position, P2...position, P3...position, P11...starting point, P12...relay point, P13...relay point, P14...end point, PA...protected area, PC...position, RA...restricted area, RC...robot coordinate system, S1...first stop signal, S2...second stop signal, SC...cutoff signal, SS...safety input signal, T1...time, T2...time, T3...time, TC...time, V1...moving speed

Claims

1. A control method for controlling a robot arm in a robot system, comprising: The robot system includes: The robot arm; A control unit for controlling the operation of the robot arm; When an entry restriction area is enabled and the robot arm enters the entry restriction area, a forced stop is performed on the operation of the robot arm, which requires a return operation when the operation is resumed after the stop. a functional safety unit that does not execute the forced stop of the operation of the robot arm when the entry restriction area is invalid and the robot arm enters the entry restriction area; Equipped with The control method in which the control unit controls the robot arm includes: detecting a current position of a control point of the robot arm; predicting at least one position to which the control point of the robot arm will move after a current time using at least position information representative of the current position; performing control to prevent the robot arm from entering the restricted entry area when the restricted entry area is valid and there is a possibility that the robot arm will enter the restricted entry area based on the at least one predicted position, the control including temporarily stopping the operation of the robot arm before the robot arm enters the restricted entry area, the temporary stop not requiring the return operation when the operation is resumed after the stop; A control method comprising:

2. 2. The control method according to claim 1, receiving a safety input signal from a safety input device for switching between enabling and disabling the access restriction area; Further comprising: Control methods.

3. 3. The control method according to claim 2, a step of resuming the operation of the robot arm when it is detected that the entry restriction area has been disabled based on the safety input signal while the operation of the robot arm is temporarily stopped due to the execution of the step of controlling to avoid the entry; Further comprising: Control methods.

4. A control method according to any one of claims 1 to 3, comprising: In the step of predicting the position, Reading from a storage unit path information representing a planned movement path for the movement of the control point of the robot arm; predicting a path along which the robot arm will move from a current time onward, the path including the at least one position, using the position information and the path information; In the step of performing control to avoid the intrusion, performing the control to prevent the robot arm from entering the entry restricted area when the entry restricted area is valid and at least a part of the predicted path is included in the entry restricted area as a case where the entry restricted area is valid and there is a possibility that the robot arm may enter the entry restricted area; Control methods.

5. A control method according to any one of claims 1 to 3, comprising: In the step of predicting the position, Obtaining at least a first position of the robot arm at a first time before a current time; predicting, as the at least one position, a second position of the control point of the robot arm at a second time after the current time, using information indicating the first position, the position information, and an elapsed time from the first time to the current time; In the step of performing control to avoid the intrusion, performing the control to prevent the robot arm from entering the entry restricted area when the entry restricted area is valid and the predicted second position is included in the entry restricted area as a case where the entry restricted area is valid and there is a possibility that the robot arm may enter the entry restricted area; Control methods.

6. 6. The control method according to claim 5, In the step of performing control to avoid the intrusion, When the access restriction area is valid and the second location is included in the access restriction area, When the time from the current time to the second time is equal to or greater than a predetermined threshold, decelerating the moving speed of the control point of the robot arm before executing the pause. Control methods.

7. A control method according to any one of claims 1 to 3, comprising: In the step of performing control to avoid the intrusion, if the access restriction area is valid and there is a possibility that the robot arm will enter the access restriction area based on the at least one predicted position, The control further includes executing a notification that the robot arm may enter the entry restricted area. Control methods.

8. A control method according to any one of claims 1 to 3, comprising: The functional safety unit is configured to meet standards related to functional safety. Control methods.

9. 1. A robot system comprising: A robot arm; A control unit for controlling the operation of the robot arm; When an entry restriction area is enabled and the robot arm enters the entry restriction area, a forced stop is performed on the operation of the robot arm, which requires a return operation when the operation is resumed after the stop. a functional safety unit that does not execute a forced stop of an operation of the robot arm when the entry restriction area is invalid and the robot arm enters the entry restriction area; Equipped with The control unit is Detecting a current position of a control point of the robot arm; predicting at least one position to which the control point of the robot arm will move after the current time using at least the information representative of the current position; When the entry-restricted area is valid and there is a possibility that the robot arm will enter the entry-restricted area based on the at least one predicted position, performing control to prevent the robot arm from entering the entry-restricted area, including temporarily stopping the operation of the robot arm before the robot arm enters the entry-restricted area, the temporary stop not requiring the return operation when the operation is resumed after the stop. Robot system.

10. A program executed by a computer that controls a robot arm in a robot system, The robot system includes: The robot arm; A control unit for controlling the operation of the robot arm; a functional safety unit that, when an entry-restricted area is valid and the robot arm has entered the entry-restricted area, executes a forced stop of the operation of the robot arm, the forced stop requiring a return operation when the operation is resumed after being stopped, and, when the entry-restricted area is invalid and the robot arm has entered the entry-restricted area, does not execute the forced stop of the operation of the robot arm; Equipped with The program causes the computer to: A function of detecting a current position of a control point of the robot arm; using at least the information representative of the current position to predict at least one position to which the control point of the robot arm will move after the current time; a function of performing control to prevent the robot arm from entering the entry restricted area when the entry restricted area is valid and there is a possibility that the robot arm will enter the entry restricted area based on the at least one predicted position, the function including performing a temporary suspension of the operation of the robot arm before the robot arm enters the entry restricted area, the temporary suspension not requiring the return operation when the operation is resumed after the stop; A program to achieve this.

Citation Information

Patent Citations

  • Safety device for coexistent work of human and robot

    JP2007283450A