Control device and robot system
The control device addresses the challenge of determining screw tightening success and identifying failure causes in robot systems by using force sensor data to analyze time series parameters, enabling real-time corrections and enhancing operational reliability.
Patent Information
- Application Number
- PCT/JP2023/012961
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-29
- Publication Date
- 2024-10-03
AI Technical Summary
Existing robot systems equipped with force sensors for screw tightening lack an effective method to accurately determine the success of force control operations and identify the cause of failures, leading to inefficiencies and potential damage.
A control device that utilizes a force sensor to detect forces and moments acting on a robot, acquiring time series data of force control parameters to determine the success of screw tightening operations and identify failure causes, with a retry mechanism to address specific failure types.
Enables accurate determination of screw tightening success and identification of failure causes in real-time, allowing for corrective actions and improving the reliability of force-controlled operations.
Smart Images

Figure JP2023012961_03102024_PF_FP_ABST
Abstract
Description
Control device and robot system
[0001] The present disclosure relates to a control device and a robot system.
[0002] There is known a robot system that uses a robot equipped with a force sensor and is configured to perform screw tightening by force control. Generally, in such a robot system, a screw tightening start position is taught to a robot equipped with a screw tightening mechanism such as a nut runner, and the robot tightens a screw on a work object with force control. Patent Documents 1 and 2 describe the configuration of such a robot system.
[0003] JP 2019-188503 A JP 2002-331428 A
[0004] There is a demand for a technique that can accurately determine whether the result of a force-controlled task is successful or not based on the force control parameters.
[0005] One aspect of the present disclosure is a control device for controlling a robot, the control device comprising: a force control unit that causes the robot to perform a predetermined task by force control based on detection values of a force detector that detects forces and moments acting on the robot and a predetermined number of force control parameters; and a judgment unit that acquires time series data of the predetermined number of force control parameters while the force control is being performed, and judges whether the predetermined task is successful based on the time series data.
[0006] These and other objects, features and advantages of the present invention will become more apparent from the detailed description of exemplary embodiments of the invention illustrated in the accompanying drawings.
[0007] 1 is a diagram showing the device configuration of a robot system according to an embodiment. FIG. 2 is a functional block diagram of the robot system. FIG. 3 is a main flow diagram of a screw tightening operation. FIG. 4 is a diagram for explaining a screw tightening operation. FIG. 5 is a diagram schematically showing the state after screw tightening when screw tightening is successful. FIG. 6 is a graph showing an example of time progression of tightening torque, screw tightening depth, and angle when screw tightening is successful. FIG. 7 is a diagram schematically showing the screw tightening state when the cause of failure is oblique tightening. FIG. 8 is a diagram schematically showing the screw tightening state when the cause of failure is loose screw. FIG. 9 is a diagram schematically showing the screw tightening state when the cause of failure is a defective pilot hole. FIG. 10 is a flowchart showing the retry operation performed by the retry unit when the cause of failure is oblique tightening. FIG. 11 is a flowchart showing the retry operation performed by the retry unit when the cause of failure is loose screw. FIG. 12 is a flowchart showing the retry operation performed by the retry unit when the cause of failure is a defective pilot hole. FIG. 13 is a diagram showing an example of an image displayed on the display unit by the display control unit when the judgment result is success. FIG. 14 is a diagram showing an example of an image displayed on the display unit by the display control unit when the judgment result is failure and the cause of failure is oblique tightening. FIG. 15 is a diagram showing an example of an image displayed on the display unit by the display control unit during execution of a retry. FIG. 1 is a diagram showing an example of an image displayed by a display control unit, which shows the work results of the entire screw tightening operation including a retry operation. FIG. 2 is a diagram showing a schematic view of a broken screw as an example of a screw tightening failure. FIG. 3 is a diagram showing a schematic view of a double-threaded screw as an example of a screw tightening failure. FIG. 4 is a diagram showing a schematic view of a case where a screw is too short as an example of a screw tightening failure.
[0008] Next, embodiments of the present disclosure will be described with reference to the drawings. In the drawings, like components or functional parts are designated by like reference numerals. The scales of these drawings have been changed appropriately to facilitate understanding. Furthermore, the embodiment shown in the drawings is one example for implementing the present invention, and the present invention is not limited to the illustrated embodiment.
[0009] FIG. 1 is a diagram showing the equipment configuration of a robot system 100 according to one embodiment. As shown in FIG. 1 , the robot system 100 includes a robot 10, a robot controller 20 that controls the robot 10, and a teaching pendant 30 connected to the robot controller 20. A screw driver 60 serving as an end effector is attached to a flange 11 of the wrist of the robot 10 via a mounting plate 51. A force sensor (force detector) 70 that detects an external force is attached between the flange 11 of the wrist and the mounting plate 51. In the above configuration, the robot system 100 can set the screw driver 60 to a desired position and posture using the robot 10, and perform a screw tightening operation using the screw driver 60 while causing the robot 10 to perform force control based on the detection value detected by the force sensor 70.
[0010] As an example, the robot 10 is a six-axis vertical articulated robot. However, various types of robots may be used as the robot 10 depending on the work object, such as a horizontal articulated robot, a parallel link robot, or a dual-arm robot. While Fig. 1 shows an example configuration in which the robot 10 is equipped with a screw driver 60 as an end effector, various types of end effectors can be attached to the robot 10 depending on the work application.
[0011] The robot control device 20 controls the operation of the robot 10 in accordance with an operation program or commands from the teaching pendant 30. The robot control device 20 may have a hardware configuration as a general computer having a processor 21 (see FIG. 2), memory (ROM, RAM, non-volatile memory, etc.), a storage device, an operation unit, an input / output interface, a network interface, etc.
[0012] The teaching pendant 30 is used as an operation terminal for teaching the robot 10, displaying information, and performing various settings. A teaching device configured with a tablet terminal or the like may be used as the teaching pendant 30. The teaching pendant 30 may have a hardware configuration as a general computer having a processor, memory (ROM, RAM, non-volatile memory, etc.), a storage device, an operation unit, a display unit 31 (see FIG. 2), an input / output interface, a network interface, etc.
[0013] As an example, the screw driver 60 is an angle-type screw driver (nut runner). The screw driver 60 includes a body 61 that houses a control unit 161 and a motor 162 (see FIG. 2 ), and a head 62 that is connected to the tip of the body 61. The head 62 holds a socket 65 as a tool. The socket 65 holds a screw 81. The screw driver 60 is connected to the robot control device 20, and rotates the socket 65 in response to a command from the robot control device 20 to tighten and fix the screw 81 into a threaded hole in an object.
[0014] The screw driver 60 is attached to one side of the mounting plate 51, and the other side of the mounting plate 51 is attached to the flange 11 via the force sensor 70. In this configuration, the robot 10 can set the screw driver 60 to a desired position and posture to perform a screw tightening operation on an object.
[0015] The force sensor 70 is, for example, a six-axis force sensor that detects forces acting in the mutually orthogonal X, Y, and Z axis directions and moments around each axis. In this embodiment, the force sensor 70 is used to detect external forces acting on the robot 10, but instead of a force sensor, external forces may be detected by the detection values of torque sensors provided on each axis of the robot.
[0016] 2 is a functional block diagram of the robot system 100. As shown in Fig. 2, the robot control device 20 includes a motion control unit 121, a force control unit 122, a force data processing unit 123, a determination unit 124, a retry unit 125, a display control unit 126, and a setting unit 127. These functional blocks may be functional elements realized by the processor 21 of the robot control device 20 executing a program.
[0017] The robot control device 20 includes a storage unit 129. The storage unit 129 is a storage device formed of, for example, a non-volatile memory or a hard disk drive, etc. The storage unit 129 stores an operation program for controlling the robot 10, various setting information including force control parameters and operation parameters, etc.
[0018] The operation control unit 121 controls the operation of the robot 10 in accordance with an operation program or commands from the teaching pendant 30. The robot control device 20 includes a servo control unit (not shown) that executes servo control of the motor 111 for each axis in accordance with commands for each axis generated by the operation control unit 121.
[0019] The force data processing unit 123 provides a function for calculating external forces (forces and moments) acting on the robot 10 (screwdriver 60) based on the detection values of the force sensor 70. The position and orientation of the force sensor 70 can be calculated from the position and orientation of the coordinate system of the wrist tip of the robot 10 and the relative position information of the force sensor 70 with respect to the wrist tip. The force data processing unit 123 can calculate the magnitude and direction of the force or moment in any predetermined coordinate system based on the position, orientation, and detection values of the force sensor 70.
[0020] The force control unit 122 controls the function of executing force control based on the force information calculated by the force data processing unit 123 and predetermined force control parameters.
[0021] The motion control unit 121 has a function of causing the robot 10 to perform motions by force control under instructions from the force control unit 122 .
[0022] The determination unit 124 has a function of acquiring time-series data of each of a plurality of force control parameters during execution of force control, and determining, based on the time-series data, whether or not the work performed by the robot 10 is successful. The determination unit 124 further has a function of analyzing and identifying the cause of a screw tightening failure, based on the acquired time-series data of the force control parameters.
[0023] The retry unit 125 retries the screw tightening operation depending on the cause of the failure identified by the determination unit 124 .
[0024] The display control unit 126 provides a function to display various information regarding the results of the screw tightening (success / failure, cause of failure, etc.) based on the determination result by the determination unit 124.
[0025] The setting unit 127 provides a function of accepting input of various parameters. The setting unit 127 may be configured to display a user interface for accepting input of various parameters on the display unit 31 of the teaching pendant 30, for example, and to accept operation input via the operation unit.
[0026] The main flow of the screw tightening operation using force control executed by the robot control device 20 will be described with reference to Figure 3. This main flow is executed mainly under the control of the processor 21 of the robot control device 20. First, input of various parameters necessary for the screw tightening operation is accepted (step S1). Here, force control parameters and operation parameters (rotational speed, etc.) of the screw tightening device 60 are input. Next, the robot control device 20 (operation control unit 121) controls the robot 10 to position the screw tightening device 60 at a previously taught screw tightening operation start position, rotates the screw tightening device 60 forward, and starts the screw tightening operation using force control (step S2).
[0027] In force control for screw tightening, parameters such as pressing force, tightening torque, screw tightening depth, angle (the angle between the drive shaft of the fastener and the center line of the fastening hole), and tightening operation time are set, and operation control is performed. Parameters related to such force control are referred to as force control parameters in this specification. The screw tightening operation will be explained with reference to Figure 4. In Figure 4, arrow A indicates the pressing direction, and the force control unit 122 controls the pressing force in this pressing direction so that it becomes the target force. The actual measured value of the pressing force is obtained based on the detection value of the force sensor 70.
[0028] In FIG. 4 , the angle θ represents an angular error defined as the angle between the center line C1 of the screw hole 91 and the drive axis C2 of the socket 65 (screw 81). Based on the detection value of the force sensor 70, the force control unit 122 performs control so that this angular error becomes, for example, zero, i.e., so that the moment in the direction of the angle θ detected by the force sensor 70 becomes, for example, zero. FIG. 4 also shows a position error d, defined as the positional deviation of the center of the tip of the screw 81 from the center line C1. Based on the detection value of the force sensor 70, the force control unit 122 can correct the position of the robot 10 so that the position error d of the screw 81 approaches zero. The actual measured values of the magnitude and direction of the angle can be obtained based on the position and orientation of the robot 10 (screw driver 60). The mounting position of the screw driver 60 relative to, for example, a flange coordinate system set in the robot 10 is known. Therefore, the position and orientation of the screw driver 60 (i.e., the magnitude and direction of each of the above degrees) can be determined based on the position and orientation of the robot 10.
[0029] The tightening torque is a torque in the direction that rotates the screw 81. The tightening torque can be determined from the detection value of the force sensor 70 as the force or moment that the robot 10 receives due to the rotation of the screwdriver 60 (socket 65). The tightening depth can be detected as the amount by which the socket 65 is moved in the pressing direction after the robot 10 positions the screw 81 at the taught position for starting screw tightening. After the start of the screw tightening operation, when the tightening torque reaches the target torque value, the tightening operation is considered to be complete, and the rotation of the screw 81 can be stopped and the tightening operation can be ended. The time from the start of screw tightening to the end of screw tightening in this manner is defined as the make-up operation time.
[0030] Next, the determination unit 124 determines whether the screw tightening was successful (step S3). The determination unit 124 determines whether the screw tightening was successful or not and the cause of the failure based on the time progression of the detected values of the force control parameters, their mutual correlations, etc. The determination by the determination unit 124 will be described in detail later. If the screw tightening failed (S3: YES), the determination unit 124 diagnoses the cause of the failure, and the retry unit 125 executes a retry operation according to the cause of the failure (step S4). If the screw tightening was successful (S3: NO), this process ends.
[0031] In step S5, the retry unit 125 determines whether all necessary retry operations have been performed. If not all retries have been performed (S5: NO), the process continues from step S3. If it is determined that all retry operations have been performed (S5: YES), the determination unit 124 performs a work determination regarding the retry operations (step S6). If the work is successful (S6: YES), the process ends. If it is determined that the work has failed (S6: NO), the determination unit 124 determines that the failure occurred due to an unknown cause and records the location of the failure (step S7).
[0032] Below, we will explain the judgment of the operating state by the judgment unit 124 (judgment in step S3) when screw tightening is performed in the robot control device 20, the retry operation by the retry unit 125 based on the judgment result (retry operation by loop of steps S4, S5: NO), and the display of information regarding the judgment result by the display control unit 126.
[0033] The determination unit 124 can determine the state of the screw tightening operation by force control based on the following five determination conditions, for example: (Determination condition 1) Whether the screw tightening depth reaches the specified screw tightening depth (target value) (Determination condition 2) Whether the tightening torque reaches the specified target torque (Determination condition 3) Whether the pressing force reaches the specified screw tightening pressing force (target force) (Determination condition 4) Whether the angle is within the specified range of the maximum screw tightening angle (Determination condition 5) Whether the tightening operation time is within the specified operation time
[0034] Judgment condition 1 is a condition relating to whether the screw tightening depth (tightening depth) has reached a target value. Here, as an example, it may be determined that judgment condition 1 is met when the screw tightening depth is within a predetermined range. Judgment condition 2 is a condition relating to whether the tightening torque has reached the target torque. Here, as an example, it may be determined that judgment condition 2 is met when the detected value of the tightening torque is within a predetermined range.
[0035] Judgment condition 3 is a condition regarding whether the pressing force has reached the target force. Here, as an example, it may be determined that judgment condition 3 is satisfied when the detected value of the pressing force is within a predetermined range. Judgment condition 4 is a condition regarding whether the angle during screw tightening (angle θ in FIG. 4 ) is within a specified maximum angle range. It may be determined that judgment condition 4 is satisfied when the angle during screw tightening is within the maximum angle range (for example, ± a predetermined angle).
[0036] Judgment condition 5 is a condition related to the make-up operation time from the start of screw tightening to the end of screw tightening. Regarding the operation time, it may be determined that judgment condition 5 is satisfied when the make-up operation time is within a target value, or it may be determined that judgment condition 5 is satisfied when the make-up operation time is within the range between the target minimum time and the target maximum time.
[0037] For example, the determination unit 124 determines that the screw tightening operation is successful when all of the above determination conditions 1 to 5 are satisfied. The determination unit 124 may also determine that the screw tightening operation is unsuccessful when one or more of the above determination conditions 1 to 5 are not satisfied. The determination unit 124 may determine the operation result for the above determination conditions 1 to 5 by taking into account the time progression of parameters related to those conditions. Alternatively, the determination unit 124 may determine the operation result of the screw tightening operation based on the time progression of parameters related to the determination conditions 1 to 5 and the relationships between them.
[0038] Note that, because the detected values of pressing force and tightening torque may have similar time transition characteristics, the determination unit 124 may determine the operation result based on four determination conditions, ie, determination conditions 1-2 and 4-5, excluding determination condition 3 related to pressing force. That is, the determination unit 124 may determine that the screw tightening operation is successful if all of determination conditions 1-2 and 4-5 are satisfied. The determination unit 124 may also determine that the screw tightening operation is unsuccessful if one or more of determination conditions 1-2 and 4-5 are not satisfied. The determination unit 124 may determine the operation result for the determination conditions 1-2 and 4-5 by taking into account the time transitions of the parameters related to those conditions. The determination unit 124 may determine the operation result of the screw tightening operation based on the time transitions of the parameters related to determination conditions 1-2 and 4-5 and their mutual relationships.
[0039] Fig. 5A is a diagram that shows a schematic view of the state after successful screw tightening. Here, the state is shown in which the screw 81 is normally tightened into the target object 191. Fig. 5B is a graph showing an example of the time progression of the tightening torque, the screw tightening depth, and the angle when the screw tightening is successful. In Fig. 5B, the vertical axis shows the tightening torque, the screw tightening depth, or the angle, and the horizontal axis shows the time axis. On the time axis in Fig. 5B, T 0 and T 1 are the minimum and maximum work times as the target values of the fastening work time specified as the judgment condition 5. In FIG. 5B, as a method of specifying the target value of the fastening work time, the fastening work time is set to the minimum work time T 0 and maximum working time T 1 10 shows an example in which the judgment condition 5 is judged to be OK when the time falls within the time range specified by .
[0040] 5B, a graph 201 shows the change in angle over time. The angle is measured within a preset maximum angle range (±θ 1 In this case, the determination unit 124 determines that the determination condition 4 regarding the angle is satisfied.
[0041] In Fig. 5B, a graph 202 shows the time progression of the tightening torque and the screw tightening depth. Normally, the tightening torque and the screw tightening depth show changes that gradually increase from the start of screw tightening, so here, the time progression of each of the tightening torque and the screw tightening depth is shown representatively by graph 202. As shown in graph 202, the tightening torque usually increases gradually from the start of screw tightening, and increases within the target work time or within the range of the target work time (T 0 From T 1 ) the target force is reached within the range TR 1 From TR 2 ), the determination unit 124 may determine that the determination condition 2 is met. Alternatively, the determination unit 124 may determine that the determination condition 2 is met when the tightening torque reaches the target torque within the target work time.
[0042] The screw tightening depth usually increases gradually from the start of screw tightening as shown in graph 202, and increases within the target work time or within the range of the target work time (T 0 From T 1 ) the target value is reached within the range D 1 From D 2 ), the determination unit 124 may determine that the determination condition 1 is satisfied. Alternatively, the determination unit 124 may determine that the determination condition 1 is satisfied when the screw tightening depth reaches the target value within the target work time.
[0043] In the graph 202, the range of the target work time (T 0 From T 1 ) the tightening torque reaches the target force and the screw tightening is completed. In this case, the determination unit 124 may determine that determination condition 5 is OK.
[0044] As with the tightening torque, the pressing force also gradually increases as the screw tightening starts, and is applied within the target work time or within the range of the target work time (T 0 From T 1) the target force is reached within the target work time. Therefore, as with the tightening torque, the determination unit 124 may determine that determination condition 2 is met when the pressing force reaches the target force. Alternatively, the determination unit 124 may determine that determination condition 2 is met when the pressing force reaches the target force within the target work time.
[0045] The determination unit 124 determines whether the screw tightening depth is within the target value (range D 1 From D 2 ) has not reached the target force (range TR 1 From TR 2 ) (judgment condition 2 is NG), the pressing force has not reached the target force (target range) (judgment condition 3 is NG), the screw tightening angle is within a predetermined range (±θ 1 (Decision condition 4 is NG), the screw tightening is not within the specified target work time (T 0 From T 1 ) has not finished within (judgment condition 5 is NG), it may be judged that the screw tightening has failed.
[0046] The determination unit 124 can identify the cause of a screw tightening failure based on the determination results of the determination conditions 1 to 5 after taking into account the changes over time of the parameters for these determination conditions and the relationship between them. Alternatively, the determination unit 124 may identify the cause of a screw tightening failure based on the determination results of the determination conditions 1-2 and 4-5 after taking into account the changes over time of the parameters for these determination conditions and the relationship between them.
[0047] Alternatively, the determination unit 124 may identify the cause of failure when screw tightening fails, based on at least determination condition 1, determination condition 2, and determination condition 4. With reference to Figures 6A to 6C, an example will be described in which the determination unit 124 identifies the cause of failure based on determination condition 1, determination condition 2, and determination condition 4.
[0048] FIG. 6A is a schematic diagram illustrating a screw tightening state when the cause of the failure is oblique tightening. As shown in FIG. 6A , in the oblique tightening state, the screw 81 is inserted and fixed at an angle relative to the threaded hole of the target object 191. Therefore, in this case, the tightening torque reaches the target torque early in the screw tightening process, and the screw tightening ends early. Here, "early" refers to a stage before the specified target work time range is reached. The angle increases beyond the maximum angle. Furthermore, the screw tightening depth does not reach the target value. Therefore, the judgment unit 124 judges (a1) to (a3) as follows for (Judgment Condition 1), (Judgment Condition 2), and (Judgment Condition 4). If judgment results (a1) to (a3) are satisfied, it can be determined that the cause of the screw tightening failure is oblique tightening. (a1) Because the tightening depth does not reach the target value, judgment condition 1 is NG. (a2) Because the tightening torque reaches the target torque, judgment condition 2 is OK. (a3) The angle exceeds the maximum angle range, so judgment condition 4 is NG.
[0049] FIG. 6B schematically illustrates the state of a screw tightening operation when the cause of failure is loose threads (loose fasteners). Loose threads can occur, for example, when the under-head length of the screw 81 is longer than the specified value (in the case of a defective screw). In this case, when the robot 10 (screw driver 60) is positioned at the teaching position for starting screw tightening, the distance from the tip of the screw to the screw hole is shorter than when the screw length is normal. This can result in a situation where the tightening depth, measured as the movement of the robot 10 (screw driver 60) from the tightening start position, is less than the target value. Therefore, the judgment unit 124 determines the following judgment results (b1) to (b3) for (Judgment Condition 1), (Judgment Condition 2), and (Judgment Condition 4). If judgment results (b1) to (b3) are met, it can be determined that the cause of the screw tightening failure is loose threads. (b1) Because the tightening depth does not reach the target value, judgment condition 1 is NG. (b2) The tightening torque reaches the target torque, so judgment condition 2 is OK. (b3) The angle is within the maximum angle range, so judgment condition 4 is OK.
[0050] FIG. 6C schematically illustrates the state of screw tightening when the cause of failure is a pilot hole defect. As shown in FIG. 6C, a pilot hole defect occurs when the upper portion of the screw hole 191a in the target object 191 is significantly deformed and widened. Therefore, the judgment unit 124 determines the following judgment results (c1) to (c3) for (Judgment Condition 1), (Judgment Condition 2), and (Judgment Condition 4). If judgment results (c1) to (c3) are met, it can be determined that the cause of the screw tightening failure is screw loosening. (c1) Since the tightening depth gradually increases and reaches the target value, judgment condition 1 is met. (c2) The tightening torque is essentially zero until the screw tightening progresses to a certain extent, and then increases to the target torque. Therefore, in this case, judgment condition 2 is determined to be NG. (c3) Since the angle is within the maximum angle range, judgment condition 4 is met.
[0051] The correspondence between the above-mentioned OK / NG judgment results by the judgment unit 124 for the tightening depth (judgment condition 1), tightening torque (judgment condition 2), and angle (judgment condition 4) and the cause of failure identified by the judgment unit 124 is shown again in Table 1 below.
[0052]
[0053] In this way, when determining whether the tightening depth (judgment condition 1), tightening torque (judgment condition 2), and angle (judgment condition 4) are OK / NG, the judgment unit 124 also takes into account the time progression of the force control parameters related to these judgment conditions to identify the cause of failure.
[0054] The retry unit 125 executes an appropriate retry operation depending on the result of the diagnosis of the cause of failure by the determination unit 124 as described above.
[0055] 7 is a flowchart showing the retry operation executed by the retry unit 125 when the cause of failure is oblique fastening. This retry operation (and each of the retry operations described below) is executed under the control of the processor 21 of the robot control device 20. Note that the retry operation shown in FIG. 7 (and FIGS. 8-9) corresponds to the retry processing by the processing loop consisting of steps S3 (S3: YES), S4, and S5 of the main flow (FIG. 3).
[0056] In the retry operation, the cause of failure determined by the determination unit 124 is confirmed (step S11). If it is determined that the cause of failure is oblique tightening (S11: YES), the operation proceeds from step S12. In step S12, the retry unit 125 reverses the rotation of the screw, returning it to the starting position of the screw tightening. Next, the retry unit 125 corrects the position and posture of the screw in the direction opposite to the angle (inclination direction) detected as excessive during screw tightening, and performs screw tightening again (step S13). Here, the position and posture of the screw are corrected in the direction opposite to the inclination direction where the detected angle is maximum or where the detected angle is relatively large.
[0057] The retry unit 125 then determines whether or not the screw tightening was successful (step S14). If the screw tightening failed (S14: NO), the process is executed again from step S11. In a situation where oblique tightening has occurred, the retry unit 125 gradually adjusts the position and posture of the screw in the direction opposite to the detected angle (tilt direction) and tightens the screw (a loop from steps S11 to S14: NO). If the screw tightening was successful (S14: YES), the process ends. Note that if the cause of failure is other than oblique tightening (S11: NO), a retry of screw tightening using another measure is performed (step S15). The above process eliminates oblique tightening and allows the screw to be tightened properly.
[0058] 8 is a flowchart showing the retry operation performed by the retry unit 125 when the cause of failure is screw loosening. In the retry operation, the cause of failure determined by the determination unit 124 is confirmed (step S21). If it is determined that the cause of failure is screw loosening (S21: YES), the operation proceeds from step S22. In step S22, the retry unit 125 reverses the rotation of the screw, returning it to the start position of screw tightening. Screw loosening occurs when the screw is a rejected product. Therefore, the retry unit 125 automatically replaces the screw with another screw and performs screw tightening again (step S23).
[0059] The retry unit 125 then determines whether or not the screw tightening was successful (step S24). If the screw tightening failed (S24: NO), the process is executed again from step S21. If the screw tightening was successful (S24: YES), this process ends. Note that if the cause of the failure is something other than screw loosening (S21: NO), a retry of screw tightening is performed using another measure (step S25). Through the above process, the screw loosening state is resolved and proper screw tightening can be performed.
[0060] 9 is a flowchart showing the retry operation performed by the retry unit 125 when the cause of failure is a defective pilot hole. In the retry operation, the cause of failure determined by the determination unit 124 is confirmed (step S31). If it is determined that the cause of failure is a defective pilot hole (S31: YES), the operation proceeds from step S32. In step S32, the retry unit 125 reverses the rotation of the screw to return it to the start position of screw tightening. The retry unit 125 then issues an alarm indicating a defective pilot hole, marks the location of the defective pilot hole on a visualized image of the work object, and moves to the next work location (step S33).
[0061] The retry unit 125 then determines whether or not the screw tightening was successful (step S34). If the screw tightening failed (S34: NO), the process is executed again from step S31. If the screw tightening was successful (S34: YES), this process ends. If the cause of failure is something other than a pilot hole defect, a retry of the screw tightening is performed using another measure (step S35). As a result of the above process, if the pilot hole is defective, an alarm is output, and information regarding the cause of failure is recorded and displayed.
[0062] In this way, the retry unit 125 can perform an appropriate retry operation depending on the cause of failure diagnosed by the determination unit 124.
[0063] The following describes the display function of the display control unit 126 for displaying information relating to the determination result by the determination unit 124. The display control unit 126 displays information relating to the determination result by the determination unit 124 on the display unit 31 of the teaching pendant 30.
[0064] FIG. 10 shows an example of image M1 that the display control unit 126 displays on the display unit 31 when the judgment result is successful. Image M1 may be displayed in real time, for example, when the judgment is made in step S3 of the main flow. As shown in FIG. 10 , image M1 includes a message image 211 containing a message indicating that the judgment result is successful, and a visualized image 212 that visualizes the work object. A frame 213 indicating the work location on the object and text information 214 indicating the work number are superimposed on the visualized image 212. By viewing this image M1, the user can instantly grasp the work result (OK / NG), the work location on the work object, and the work number. When the work result is OK, the text information "OK," the frame, and the work number may be displayed in, for example, green or blue to instantly recognize that the work result is OK.
[0065] FIG. 11 shows an example of image M2 displayed by the display control unit 126 on the display unit 31 when the judgment result is a failure and the cause of the failure is oblique tightening. Image M2 may be displayed in real time, for example, when the judgment is made in step S3 of the main flow. As shown in FIG. 11 , image M2 includes a message image 221 indicating the judgment result is a failure and a message image 222 indicating the cause of the failure. Image M2 also includes a visualized image 223 that visualizes the work object. A frame 224 indicating the oblique tightening location on the work object and text information 225 indicating the job number are superimposed on the visualized image 223. By viewing this image M2, the user can instantly understand that the job has failed, that the cause is oblique tightening, the job location on the work object, and the job number. Note that when the job result is NG, the text information "NG" and "oblique tightening," the frame, and the job number may be displayed in red, for example, to instantly recognize that the job is NG.
[0066] FIG. 12 shows an example of image M3 displayed by the display control unit 126 on the display unit 31 during a retry. Image M4 may be displayed in real time while the retry operation in step S4 of the main flow is being performed. As shown in FIG. 12, image M3 includes a message image 231 indicating that a retry is in progress and a message image 232 indicating that the cause of the retry (the cause of the failure) is diagonal fastening. Image M3 also includes a visualized image 233 that visualizes the work object. The visualized image 233 includes a frame 234 indicating the work location being retried and text information 235 indicating the work number. By viewing image M3, the user can instantly understand that a retry operation is in progress, the cause of the failure being resolved by the retry, the target location for the retry, and the work number. The frame 234 and the text information 235 indicating the work number may be displayed in red, for example, to indicate that recovery by retry is being performed.
[0067] FIG. 13 is an example of an image M4 displayed by the display control unit 126, showing the results of the entire screw tightening operation, including retries. Image M4 may be displayed in real time, for example, when step S6 in the main flow is being processed. As shown in FIG. 13 , image M4 includes a message image 241 indicating that image M4 is the result of the entire operation, including retries, and a visualized image 242 that visualizes the work object. Overlaid on visualized image 242 are frame lines 243, 245, and 247 indicating the work locations, and text information 244, 246, and 248 indicating the work numbers. Image M4 may also be displayed so that the success or failure of each work location can be determined by color. For example, if task No. 1 and No. 2 are successful and task No. 3 is unsuccessful, the display control unit 126 may display the frame line 243, the text information 244, the frame line 245, and the text information 246 in blue (or green), and the frame line 247 and the text information 248 in red. In this case, the user can instantly grasp the location of the work on the work object and the results of the work.
[0068] In the above embodiment, the description has been given of oblique fastening, loose screw threads, and poor pilot hole positions as examples of failure causes identified by the determination unit 124. The determination unit 124 can identify various other failure causes in addition to these.
[0069] For example, FIG. 14A schematically illustrates, as an example of a screw tightening failure, screw breakage (fastener breakage) in which the screw 81 breaks while being tightened into the target object 191. The determination unit 124 can identify the cause of the failure as follows based on the determination results for (Determination Condition 1), (Determination Condition 2), and (Determination Condition 4) and the time progression of the force control parameters related to these determination conditions. Specifically, the determination unit 124 makes the following determination results (d1) to (d3) for (Determination Condition 1), (Determination Condition 2), and (Determination Condition 4). If the determination results (d1) to (d3) are satisfied, the determination unit 124 can identify that the cause of the screw tightening failure is screw breakage. (d1) The tightening depth gradually increases and reaches the target value, so determination Condition 1 is OK. (d2) The tightening torque increases with the start of screw tightening, but does not reach the target force and instead decreases midway, so determination Condition 2 is NG. (d3) The angle is within the maximum angle range, so judgment condition 4 is OK.
[0070] FIG. 14B schematically illustrates a double-threaded state, in which a screw is tightened twice at the same work location, as an example of a screw tightening failure. The judgment unit 124 can identify the cause of the failure as follows based on the judgment results for (Judgment Condition 1), (Judgment Condition 2), and (Judgment Condition 4) and the time progression of the force control parameters related to these judgment conditions. Specifically, the judgment unit 124 makes the following judgment results (e1) to (e3) for (Judgment Condition 1), (Judgment Condition 2), and (Judgment Condition 4). If judgment results (e1) to (e3) are satisfied, the judgment unit 124 can identify that the cause of the screw tightening failure is a double-threaded state. (e1) The tightening depth does not increase and does not reach the target value, so judgment condition 1 is NG. (e2) The tightening torque does not increase normally and remains at a low value, so judgment condition 2 is NG. (e3) The angle is within the maximum angle range, so judgment condition 4 is OK.
[0071] FIG. 14C schematically illustrates an example of a screw tightening failure, where the fastener length is shorter than a specified value (assuming the screw is too short as a specific example). The judgment unit 124 can identify the cause of failure as follows based on the judgment results for (Judgment Condition 1), (Judgment Condition 2), (Judgment Condition 3), and (Judgment Condition 4) and the time progression of the force control parameters related to these judgment conditions. Specifically, the judgment unit 124 makes the following judgment results (f1) to (f4) for (Judgment Condition 1), (Judgment Condition 2), (Judgment Condition 3), and (Judgment Condition 4). If judgment results (f1) to (f4) are met, the judgment unit 124 can identify the cause of the screw tightening failure as a double thread. Note that because a situation where the screw is too short is similar to the aforementioned screw lift, judgment result (f4) is also added, and if the tightening operation time is shorter than a specific value, the screw is determined to be too short. (f1) The tightening depth does not reach the target value, so judgment condition 1 is NG. (f2) The tightening torque reaches the target value, so judgment condition 2 is OK. (f3) The angle is within the maximum angle range, so judgment condition 4 is OK. (f4) The tightening work time is shorter than a specific value and has not reached the target range, so judgment condition 5 is NG.
[0072] If the cause of failure is "the screw is too short," the same retry operation as the retry operation when the cause of failure is loose screw (FIG. 8) can be applied.
[0073] As described above, according to this embodiment, it is possible to accurately determine whether the result of a task performed by force control is successful or not based on the force control parameters.
[0074] Furthermore, according to this embodiment, the worker can grasp the work result in real time while the work is being performed.
[0075] Furthermore, according to this embodiment, the cause of a failure in a task due to force control can be accurately identified based on the time transition of multiple force control parameters during the force control operation and their mutual correlations. Furthermore, the cause of the failure can also be provided to the worker in real time while the task is being performed.
[0076] In the above-described embodiment, screw tightening (fastening work) has been described as an example of a work using force control, but the work to which this embodiment can be applied may include various other work using force control. For example, the configuration of the above-described embodiment may be applied to a fitting work. In a fitting work, for example, a cylindrical fitting workpiece is fitted into a hole formed in a fitted workpiece. In this case, the pressing force, fitting depth, and the attitude of the fitting workpiece (the angle between the central axis of the fitting workpiece and the center line of the fitting hole) may be used as force control parameters. The success / failure of the fitting work, the cause of the failure, etc., may be determined based on the actual measured values of these parameters relative to their target values, their time progression, the relationship between them, etc.
[0077] The functional blocks in the functional block diagram shown in FIG. 2 may be realized by the processor of the robot control device executing various software stored in a storage device, or may be realized by a hardware-based configuration such as an ASIC (Application Specific Integrated Circuit).
[0078] The programs that execute various processes such as screw tightening operations and retry operations in the above-described embodiments can be recorded on various computer-readable recording media (e.g., semiconductor memories such as ROM, EEPROM, and flash memory, magnetic recording media, and optical disks such as CD-ROM and DVD-ROM).
[0079] Although the present disclosure has been described in detail, 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.
[0080] The following supplementary notes are further provided with respect to the above-described embodiment and modified examples. (Supplementary Note 1) A control device (20) for controlling a robot (10) includes: a force control unit (122) that causes the robot (10) to perform a predetermined task by force control based on detection values of a force detector (70) that detects forces and moments acting on the robot (10) and a plurality of predetermined force control parameters; and a determination unit (124) that acquires time-series data of the plurality of predetermined force control parameters during execution of the force control and determines whether the predetermined task is successful or not based on the time-series data. (Supplementary Note 2) The control device (20) according to Supplementary Note 1, wherein the determination unit (124) determines whether the predetermined task is successful or not based on the relevance of the time-series data. (Supplementary Note 3) The control device (20) according to Supplementary Note 1 or 2, wherein the determination unit (124) identifies a cause of failure of the predetermined task based on the relevance of the time-series data. (Supplementary Note 4) The control device (20) according to any one of Supplementary Notes 1 to 3, wherein the predetermined operation is a fastening operation, and the predetermined plurality of force control parameters include a fastening depth, a tightening torque, an angle between a drive shaft of a fastener and a center line of a fastening hole, and a fastening operation time. (Supplementary Note 5) The control device (20) according to Supplementary Note 4, wherein the determination unit (124) determines that the fastening operation is successful when the following determination conditions (1) to (4) are satisfied: (1) the fastening depth reaches a specified depth, (2) the tightening torque reaches a specified target torque, (3) the angle is within a specified maximum angle range, and (4) the fastening operation time is within a specified operation time. (Supplementary Note 6) The control device (20) according to Supplementary Note 5, wherein the determination unit (124) determines that the fastening operation has failed when at least one of the determination conditions (1) to (4) is not satisfied. (Supplementary Note 7) The control device (20) according to Supplementary Note 5 or 6, wherein the determination unit (124) identifies a cause of failure when the specified task fails based on at least the determination conditions (1) to (3) and time-series data of force control parameters related to the determination conditions (1) to (3).(Supplementary Note 8) The control device (20) according to Supplementary Note 7, wherein the cause of failure identified by the determination unit (124) based on at least the determination conditions (1) to (3) and time-series data of force control parameters related to the determination conditions (1) to (3) includes at least one of oblique tightening, fastener lift, poor pilot hole, fastener breakage, and double threading. (Supplementary Note 9) The control device (20) according to Supplementary Note 8, further comprising a retry unit (125) that retries the operation by force control depending on the cause of the failure. (Supplementary Note 10) The control device (20) according to Supplementary Note 9, wherein the retry includes, when the cause of the failure is oblique tightening, rotating the fastener in the reverse direction and returning it to a fastening start position, adjusting the attitude of the fastener in the opposite direction to the detected inclination direction of the fastener, and performing the fastening operation again. (Supplementary Note 11) The control device (20) according to Supplementary Note 9, wherein the retry includes, when the cause of the failure is the fastener floating, rotating the fastener in the reverse direction and returning it to the fastening start position, replacing the fastener with another fastener, and performing the fastening work again. (Supplementary Note 12) The control device (20) according to Supplementary Note 9, wherein the retry includes, when the cause of the failure is the pilot hole defect, rotating the fastener in the reverse direction and returning it to the fastening start position, displaying or recording that the pilot hole is defective, and moving to a next work location. (Supplementary Note 13) The control device according to any one of Supplements 1 to 12, further comprising a display control unit (126) that displays information regarding the determination result by the determination unit (124) on a display screen. (Appendix 14) The control device (20) described in Appendix 13, wherein the information relating to the judgment result displayed on the display screen includes at least one of an image indicating success or failure of the specified task, an image indicating the cause of failure, or an image in which the task location, task number, and an image indicating success or failure of the task are superimposed on an image of the task object.(Supplementary Note 15) A robot system (100) comprising: a robot (10); a force detector (70) that detects forces and moments acting on the robot; a force control unit (122) that causes the robot (10) to perform a predetermined task by force control based on the detection values of the force detector (70) and a plurality of predetermined force control parameters; and a determination unit (124) that acquires time series data of the plurality of predetermined force control parameters while the force control is being performed, and determines whether the predetermined task is successful or not based on the time series data.
[0081] REFERENCE SIGNS LIST 10 Robot 11 Flange 20 Robot control device 21 Processor 30 Teaching operation panel 31 Display unit 60 Screw tightening machine 61 Body unit 62 Head unit 65 Socket 70 Force sensor 81 Screw 100 Robot system 111 Motor 121 Operation control unit 122 Force control unit 123 Force data processing unit 124 Determination unit 125 Retry unit 126 Display control unit 127 Setting unit 129 Memory unit 161 Control unit 162 Motor 212, 223, 233, 242 Visualized image
Claims
1. A control device for controlling a robot, comprising: a force control unit that causes the robot to perform a specified task through force control based on detection values of a force detector that detects forces and moments acting on the robot and a number of specified force control parameters; and a judgment unit that acquires time series data of the number of specified force control parameters while the force control is being performed, and judges whether the specified task is successful or not based on the time series data.
2. The control device according to claim 1, wherein the determination unit determines whether the specified task is successful or not based on the relevance of the time series data.
3. The control device according to claim 1 or 2, wherein the judgment unit identifies the cause of failure of the specified task based on the correlation of the time series data.
4. A control device as described in any one of claims 1 to 3, wherein the specified operation is a fastening operation, and the specified plurality of force control parameters include a fastening depth, a tightening torque, an angle between a drive axis of a fastener and a center line of a fastening hole, and a fastening operation time.
5. The control device according to claim 4, wherein the judgment unit judges that the fastening operation is successful when the following judgment conditions (1) to (4) are satisfied: (1) the fastening depth reaches a specified depth, (2) the tightening torque reaches a specified target torque, (3) the angle is within a specified maximum angle range, and (4) the fastening operation time is within a specified operation time.
6. The control device according to claim 5, wherein the judgment unit judges that the fastening operation has failed if at least one of the judgment conditions (1) to (4) is not satisfied.
7. The control device according to claim 5 or 6, wherein the judgment unit identifies a cause of failure when the specified task fails based on at least the judgment conditions (1) to (3) and time-series data of force control parameters related to the judgment conditions (1) to (3).
8. The control device according to claim 7, wherein the causes of failure identified by the judgment unit based on at least the judgment conditions (1) to (3) and the time-series data of the force control parameters related to the judgment conditions (1) to (3) include at least one of oblique tightening, loose fastener, poor pilot hole, broken fastener, and double threading.
9. The control device according to claim 8, further comprising a retry unit that retries the operation by the force control depending on the cause of the failure.
10. The control device according to claim 9, wherein the retry includes, if the cause of the failure is the oblique tightening, rotating the fastener in the reverse direction and returning it to the fastening start position, adjusting the attitude of the fastener in the opposite direction to the detected inclination direction of the fastener, and performing the fastening operation again.
11. The control device as described in claim 9, wherein the retry includes, if the cause of the failure is the fastener floating, rotating the fastener in the reverse direction and returning it to the fastening start position, replacing the fastener with another fastener, and performing the fastening operation again.
12. The control device according to claim 9, wherein the retry includes, if the cause of the failure is a defective pilot hole, rotating the fastener in the reverse direction and returning it to the fastening start position, displaying or recording that the pilot hole is defective, and moving to the next work location.
13. A control device according to any one of claims 1 to 12, further comprising a display control unit that displays information regarding the judgment result by the judgment unit on a display screen.
14. A control device as described in claim 13, wherein the information relating to the judgment result displayed on the display screen includes at least one of an image indicating success or failure of the specified task, an image indicating the cause of failure, or an image in which the task location, task number, and an image indicating success or failure of the task are superimposed on an image of the work object.
15. A robot system comprising: a robot; a force detector that detects forces and moments acting on the robot; a force control unit that causes the robot to perform a predetermined task through force control based on the detection value of the force detector and a predetermined number of force control parameters; and a judgment unit that acquires time series data of the predetermined number of force control parameters while the force control is being performed, and judges whether the predetermined task is successful or not based on the time series data.
Citation Information
Patent Citations
Torque curve display device for screw tightening machine
JP1994155192A
Control device for bolt fastener
JP2002263968A
Screw fastening device using rotary force outputted by robot
JP2017127908A
