Robot, robot system, and robot control method

The robot system stabilizes the arm's position and reduces restart time by using a motor, encoder, and monitoring unit to control power cutoff based on signal differences, addressing the issue of indefinite stopping positions.

JP2024133899APending Publication Date: 2024-10-03SEIKO EPSON CORP
View PDF 4 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The stopping position of a motor's rotating shaft becomes indefinite when power supply is stopped, leading to instability in the arm's position and prolonged restart times for industrial robots.

Method used

A robot system with a motor, encoder, and monitoring unit that compares control signals with encoder feedback to determine if a difference exceeds a threshold, triggering a power cutoff only when necessary, ensuring stable arm positioning and rapid restart.

Benefits of technology

Stabilizes the arm's stopping position and reduces restart time by precisely controlling the motor's power cutoff, enhancing operational efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024133899000001_ABST
    Figure 2024133899000001_ABST
Patent Text Reader

Abstract

To solve the problem that when a motor stops by stopping power supply, a stop position of a rotation axis of a motor becomes unstable.SOLUTION: A robot includes a controller and a monitoring part. When the controller causes a motor to perform prescribed operation, it performs the following: transmitting a first control signal to the motor as a control signal; receiving from an encoder the first output signal based on the first control signal as an output signal; generating a second control signal whose difference from the first output signal is smaller than difference value between the first control signal and the first output signal; and transmitting the second control signal to the motor. The monitoring part receives the second control signal from the controller and compares difference between the second control signal and the output signal with the threshold.SELECTED DRAWING: Figure 11
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

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

[0002] A servo system including a safety unit is known. The servo system described in Patent Document 1 is used in a system for driving an arm of an industrial robot. The safety unit monitors whether the servo motor is normally controlled. The safety unit is an example of a monitoring unit. The safety unit acquires a command value for the servo motor and a feedback value as a result of the servo motor being driven in accordance with the command value. The safety unit generates a stop signal when one or both of the command value and the feedback value are abnormal. The servo driver stops the supply of power to the servo motor in response to the stop signal. The safety unit stops the supply of power to the servo motor by transmitting the stop signal. [Prior art documents] [Patent documents]

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

[0004] When a motor stops due to the power supply being cut off, the stopping position of the motor's rotation shaft becomes indefinite, and the stopping position of the arm driven by the motor also becomes indefinite, which may result in a delay in restarting the robot. [Means for solving the problem]

[0005] The robot of the present disclosure comprises a motor having a rotating shaft, a controller that transmits a control signal to the motor at a predetermined timing, an encoder that detects the operation of the motor based on the control signal and outputs an output signal, and a monitoring unit that receives the control signal and the output signal, compares a difference between the control signal and the output signal with a predetermined threshold, and outputs a power cut-off command when the difference is greater than the threshold.When causing the motor to perform a predetermined operation, the controller transmits a first control signal to the motor as the control signal, receives a first output signal based on the first control signal from the encoder as the output signal, generates a second control signal whose difference from the first output signal is smaller than the difference value between the first control signal and the first output signal, and transmits the second control signal to the motor as the control signal, and the monitoring unit receives the second control signal from the controller as the control signal and compares the difference between the second control signal and the output signal with the threshold.

[0006] The robot system of the present disclosure includes a robot control device having a controller that transmits a control signal at a predetermined timing, and a monitoring unit that compares a difference between the control signal and an output signal based on the control signal with a threshold value and outputs a power cut-off command when the difference is greater than the threshold value, and a robot having a motor with a rotating shaft and an encoder that outputs the output signal based on the control signal, and when causing the motor to perform a predetermined operation, the controller transmits a first control signal as the control signal, receives a first output signal based on the first control signal from the encoder as the output signal, generates a second control signal whose difference from the first output signal is smaller than the difference value between the first control signal and the first output signal, and transmits the second control signal to the motor as the control signal, and the monitoring unit receives the second control signal from the controller as the control signal and compares the difference between the second control signal and the output signal with the threshold value.

[0007] The robot control method disclosed herein is a method for controlling a robot including a motor that operates based on a control signal, an encoder that detects the operation of the motor based on the control signal and outputs an output signal, and a monitoring unit that compares a difference between the control signal and the output signal based on the control signal with a threshold value and outputs a power cut-off command when the difference is greater than the threshold value, and when performing a predetermined operation, the method includes transmitting a first control signal to the motor as the control signal, receiving a first output signal based on the first control signal from the encoder as the output signal, generating a second control signal whose difference from the first output signal is smaller than the difference value between the first control signal and the first output signal, transmitting the second control signal to the motor as the control signal, receiving a second output signal based on the second control signal from the encoder as the output signal, and comparing the difference between the second control signal and the output signal with the threshold value. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a diagram showing a schematic configuration of a robot. [Diagram 2] FIG. 1 is a diagram showing a schematic diagram of a robot. [Diagram 3] FIG. 2 is a diagram showing a schematic configuration of a motor unit. [Figure 4] FIG. 2 is a diagram showing a block configuration of a robot. [Diagram 5] FIG. 2 is a diagram showing a schematic block configuration of the robot. [Figure 6] FIG. 2 is a diagram showing a schematic block configuration of the robot. [Figure 7] FIG. 2 is a diagram showing a schematic block configuration of the robot. [Figure 8] FIG. 4 is a diagram showing controller control values ​​etc. output at predetermined timings. [Figure 9] FIG. 4 is a graph showing changes in rotation speed of an output shaft over time. [Figure 10] FIG. 4 is a diagram showing controller control values ​​etc. output at predetermined timings. [Figure 11] FIG. 1 is a diagram showing a control flow executed by a robot. [Figure 12] FIG. 1 is a diagram showing an example of a workpiece manipulation performed by a robot. [Figure 13] FIG. 2 is a diagram showing a schematic block configuration of the robot. [Figure 14] FIG. 2 is a diagram showing a schematic block configuration of the robot. [Figure 15] FIG. 4 is a diagram showing controller control values ​​etc. output at predetermined timings. [Figure 16] A schematic diagram showing the position of parts and the change in torque applied to the motor over time. [Figure 17] FIG. 1 is a diagram showing a control flow executed by a robot. [Figure 18] FIG. 1 is a diagram showing a schematic configuration of a robot system. [Figure 19] FIG. 1 is a block diagram showing a configuration of a robot system. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] First embodiment Fig. 1 shows a schematic configuration of a robot 10. Fig. 1 shows a perspective view of the robot 10. The robot 10 shown in Fig. 1 is used for various tasks such as transport, assembly, and inspection of various workpieces.

[0010] The robot 10 has a base 11, a robot arm 20, a first drive unit 31, a second drive unit 32, a third drive unit 33, a fourth drive unit 34, a fifth drive unit 35, and a sixth drive unit 36.

[0011] The base 11 is placed on a horizontal floor FL. The base 11 may be placed on a wall, a ceiling, a stand, etc., instead of the floor FL. The base 11 houses a power supply unit 70, a control unit 100, etc., which will be described later.

[0012] The robot arm 20 includes a plurality of arms. The robot arm 20 shown in Fig. 1 includes a first arm 21, a second arm 22, a third arm 23, a fourth arm 24, a fifth arm 25, and a sixth arm 26. An end effector (not shown) is detachably attached to the tip of the sixth arm 26.

[0013] The end effector is not particularly limited, but is composed of a hand that grips a workpiece, a suction head that sucks the workpiece, etc. The workpiece is not particularly limited, and may be an electronic component, an electronic device, etc.

[0014] The robot 10 is a single-arm, six-axis vertical articulated robot in which a base 11 and a robot arm 20 have multiple arms connected in the following order: base 11, first arm 21, second arm 22, third arm 23, fourth arm 24, fifth arm 25, and sixth arm 26.

[0015] The lengths of the first arm 21, the second arm 22, the third arm 23, the fourth arm 24, the fifth arm 25, and the sixth arm 26 are not particularly limited and can be set appropriately. The number of arms included in the robot arm 20 may be five or less, or seven or more. The robot 10 may be a SCARA robot, or a dual-arm robot equipped with two or more robot arms 20.

[0016] The first driving unit 31 is disposed on the first arm 21. The first driving unit 31 rotates the first arm 21 with respect to the base 11. The first driving unit 31 has a first motor unit 40a and a reducer (not shown). The first motor unit 40a is an example of the motor unit 40. The first motor unit 40a generates a thrust force that rotates the first arm 21.

[0017] The second driving unit 32 is disposed on the second arm 22. The second driving unit 32 rotates the second arm 22 relative to the first arm 21. The second driving unit 32 has a second motor unit 40b and a reduction gear (not shown). The second motor unit 40b is an example of the motor unit 40. The second motor unit 40b generates a thrust force that rotates the second arm 22.

[0018] The third driving unit 33 is disposed on the second arm 22. The third driving unit 33 rotates the third arm 23 relative to the second arm 22. The third driving unit 33 has a third motor unit 40c and a reduction gear (not shown). The third motor unit 40c is an example of the motor unit 40. The third motor unit 40c generates a thrust force that rotates the third arm 23.

[0019] The fourth drive unit 34 is disposed on the third arm 23. The fourth drive unit 34 rotates the fourth arm 24 relative to the third arm 23. The fourth drive unit 34 has a fourth motor unit 40d and a reducer (not shown). The fourth motor unit 40d is an example of the motor unit 40. The fourth motor unit 40d generates a thrust force that rotates the fourth arm 24.

[0020] The fifth driving unit 35 is disposed on the fourth arm 24. The fifth driving unit 35 rotates the fifth arm 25 relative to the fourth arm 24. The fifth driving unit 35 has a fifth motor unit 40e and a reduction gear (not shown). The fifth motor unit 40e is an example of the motor unit 40. The fifth motor unit 40e generates a thrust force that rotates the fifth arm 25.

[0021] The sixth driving unit 36 ​​is disposed on the fourth arm 24. The sixth driving unit 36 ​​rotates the sixth arm 26 relative to the fifth arm 25. The sixth driving unit 36 ​​has a sixth motor unit 40f and a reduction gear (not shown). The sixth motor unit 40f is an example of the motor unit 40. The sixth motor unit 40f generates a thrust force that rotates the sixth arm 26.

[0022] Fig. 2 is a schematic diagram of the robot 10. Fig. 2 is a schematic diagram of the robot 10 shown in Fig. 1. Fig. 2 shows a first joint 51, a second joint 52, a third joint 53, a fourth joint 54, a fifth joint 55, and a sixth joint 56.

[0023] The base 11 and the first arm 21 are connected via a first joint 51. The first arm 21 is configured to be rotatable with respect to the base 11 about a first rotation axis R1 that is parallel to a vertical axis. The vertical axis is an axis perpendicular to the floor FL. The first arm 21 rotates about the first rotation axis R1 by being driven by a first driving unit 31.

[0024] The first arm 21 and the second arm 22 are connected via a second joint 52. The second arm 22 is configured to be rotatable about a second rotation axis R2 parallel to the floor FL as a rotation center relative to the first arm 21. The second arm 22 rotates about the second rotation axis R2 by being driven by a second driving unit 32.

[0025] The second arm 22 and the third arm 23 are connected via a third joint 53. The third arm 23 is configured to be rotatable about a third rotation axis R3 parallel to the floor FL as a rotation center relative to the second arm 22. The third arm 23 is driven by a third drive unit 33 to rotate about the third rotation axis R3.

[0026] The third arm 23 and the fourth arm 24 are connected via a fourth joint 54. The fourth arm 24 is configured to be rotatable relative to the third arm 23 about a fourth rotation axis R4 that is parallel to the central axis of the third arm 23. The fourth arm 24 rotates about the fourth rotation axis R4 by being driven by a fourth drive unit 34.

[0027] The fourth arm 24 and the fifth arm 25 are connected via a fifth joint 55. The fifth arm 25 is configured to be rotatable relative to the fourth arm 24 about a fifth rotation axis R5 that is perpendicular to the central axis of the fourth arm 24. The fifth arm 25 rotates about the fifth rotation axis R5 by being driven by a fifth drive unit 35.

[0028] The fifth arm 25 and the sixth arm 26 are connected via a sixth joint 56. The sixth arm 26 is configured to be rotatable relative to the fifth arm 25 about a sixth rotation axis R6 that is parallel to the central axis of the tip of the fifth arm 25. The sixth arm 26 is driven by a sixth drive unit 36 ​​to rotate about the sixth rotation axis R6.

[0029] 3 shows a schematic configuration of the motor unit 40. The motor unit 40 includes a motor 41, an encoder 45, a brake 47, and a pulley 49. The motor unit 40 is supported by a motor plate MP. As an example, the motor unit 40 is configured by a servo motor having a rotary encoder.

[0030] The motor plate MP is a member that fixes the motor unit 40 to the robot 10. The motor unit 40 is fixed to the robot 10 via the motor plate MP. The motor plate MP may be a member that constitutes an arm or the like. The motor plate MP constitutes part of the arm, and thereby the motor unit 40 is directly fixed to the robot 10. A motor 41 and a brake 47 are fixed to the motor plate MP. The motor plate MP has a shaft hole SH.

[0031] The motor 41 generates a driving force for rotating the arm. The motor 41 has an output shaft 43. The motor 41 receives a supply of electric power to generate a rotation output of the output shaft 43. The motor 41 receives a supply of rotational force to the output shaft 43 to generate electric power. The motor 41 is fixed to a motor plate MP. The output shaft 43 passes through a shaft hole SH of the motor plate MP. The output shaft 43 corresponds to an example of a rotation shaft.

[0032] The pulley 49 is connected to the output shaft 43 of the motor 41 via a reducer. The pulley 49 is rotated by the output shaft 43 of the motor 41. The pulley 49 rotates the arm by transmitting a driving force to the arm via a belt. The pulley 49 receives the rotational force caused by the rotation of the arm when no power is supplied to the motor 41. The pulley 49 supplies the rotational force caused by the rotation of the arm to the output shaft 43. The motor 41 functions as a generator by the pulley 49 supplying the rotational force caused by the rotation of the arm to the output shaft 43.

[0033] The encoder 45 detects the rotational position of the output shaft 43 of the motor 41. The encoder 45 may calculate the rotational speed of the output shaft 43 using the detected rotational position. The encoder 45 outputs the rotational position or the rotational speed to the control unit 100 or the like as an encoder signal ES. The encoder signal ES indicates the operation of the motor 41. The encoder signal ES corresponds to an example of an output signal. The encoder 45 is fixed to the motor 41 on the side opposite to the motor plate MP with respect to the motor 41.

[0034] The brake 47 is fixed to the motor plate MP on the opposite side of the motor plate MP from the motor 41. The brake 47 may be a mechanical brake, an electromagnetic brake, a hydraulic brake, or the like. The brake 47 is preferably an electromagnetic brake. The electromagnetic brake holds the output shaft 43 in an unrotatable state when no power is supplied. The electromagnetic brake has an elastic member such as a spring, and a movable member. The elastic member presses the movable member against the joining member connected to the output shaft 43. The output shaft 43 is held in an unrotatable state by friction between the joining member and the movable member. The electromagnetic brake makes the output shaft 43 rotatable when power is supplied. When power is supplied, the electromagnetic brake separates the movable member from the joining member against the elastic member. The output shaft 43 becomes rotatable when the movable member separates from the joining member. The movable member may press the output shaft 43 instead of the joining member.

[0035] The motor unit 40 may have a torque limiter (not shown). When an overload is applied to the output shaft 43 of the motor 41, the torque limiter cuts off the load applied to the output shaft 43. The torque limiter is used when the robot 10 performs torque control.

[0036] Fig. 4 shows a block configuration of the robot 10. Fig. 4 shows a configuration related to the operation of the robot arm 20. The robot 10 includes a plurality of motor units 40, a plurality of motor drivers 60, a power supply unit 70, a cutoff unit 80, a control unit 100, a stop switch 150, and an area sensor 160. Fig. 4 omits the unit that operates the end effector.

[0037] Each of the multiple motor units 40 rotates an arm. Fig. 4 shows the multiple motor units 40 as a first motor unit 40a, a second motor unit 40b, a third motor unit 40c, a fourth motor unit 40d, a fifth motor unit 40e, and a sixth motor unit 40f.

[0038] The first motor unit 40a includes a first motor 41a, a first encoder 45a, and a first brake 47a. The first motor 41a is an example of the motor 41. The first encoder 45a is an example of the encoder 45. The first encoder 45a outputs a rotational position or a rotational angle of the output shaft 43 of the first motor 41a as an encoder signal ES. The first brake 47a is an example of the brake 47.

[0039] The second motor unit 40b includes a second motor 41b, a second encoder 45b, and a second brake 47b. The second motor 41b is an example of the motor 41. The second encoder 45b is an example of the encoder 45. The second encoder 45b outputs a rotational position or a rotational angle of the output shaft 43 of the second motor 41b as an encoder signal ES. The second brake 47b is an example of the brake 47.

[0040] The third motor unit 40c includes a third motor 41c, a third encoder 45c, and a third brake 47c. The third motor 41c is an example of the motor 41. The third encoder 45c is an example of the encoder 45. The third encoder 45c outputs a rotational position or a rotational angle of the output shaft 43 of the third motor 41c as an encoder signal ES. The third brake 47c is an example of the brake 47.

[0041] The fourth motor unit 40d includes a fourth motor 41d, a fourth encoder 45d, and a fourth brake 47d. The fourth motor 41d is an example of the motor 41. The fourth encoder 45d is an example of the encoder 45. The fourth encoder 45d outputs a rotational position or a rotational angle of the output shaft 43 of the fourth motor 41d as an encoder signal ES. The fourth brake 47d is an example of the brake 47.

[0042] The fifth motor unit 40e includes a fifth motor 41e, a fifth encoder 45e, and a fifth brake 47e. The fifth motor 41e is an example of the motor 41. The fifth encoder 45e is an example of the encoder 45. The fifth encoder 45e outputs a rotational position or a rotational angle of the output shaft 43 of the fifth motor 41e as an encoder signal ES. The fifth brake 47e is an example of the brake 47.

[0043] The sixth motor unit 40f includes a sixth motor 41f, a sixth encoder 45f, and a sixth brake 47f. The sixth motor 41f is an example of the motor 41. The sixth encoder 45f is an example of the encoder 45. The sixth encoder 45f outputs the rotational position or the rotational angle of the output shaft 43 of the sixth motor 41f as an encoder signal ES. The sixth brake 47f is an example of the brake 47.

[0044] The motor drivers 60 are each connected to the motor unit 40. The motor drivers 60 control the operation of the motor unit 40 by transmitting a driver signal MS to the motor unit 40. The motor driver 60 generates the driver signal MS based on a control signal CS transmitted from the control unit 100. The motor driver 60 generates a driver signal MS according to the motor unit 40. The driver signal MS may be the same control value as the control signal CS, or may be a control value obtained by converting the control signal CS. The motor driver 60 may generate a driver signal MS obtained by converting the control signal CS when the control unit 100 causes the motor 41 to perform a predetermined operation. The motor driver 60 receives an encoder signal ES output from the motor unit 40.

[0045] The multiple motor drivers 60 include a first motor driver 60a, a second motor driver 60b, a third motor driver 60c, a fourth motor driver 60d, a fifth motor driver 60e, and a sixth motor driver 60f.

[0046] The first motor driver 60a controls the first motor unit 40a. The first motor driver 60a controls the operation of the first motor 41a and the first brake 47a by transmitting a driver signal MS to the first motor unit 40a. The first motor driver 60a receives an encoder signal ES output from the first encoder 45a. The first motor driver 60a transmits the encoder signal ES to the control unit 100, etc.

[0047] The second motor driver 60b controls the second motor unit 40b. The second motor driver 60b controls the operation of the second motor 41b and the second brake 47b by transmitting a driver signal MS to the second motor unit 40b. The second motor driver 60b receives an encoder signal ES output from the second encoder 45b. The second motor driver 60b transmits the encoder signal ES to the control unit 100, etc.

[0048] The third motor driver 60c controls the third motor unit 40c. The third motor driver 60c controls the operation of the third motor 41c and the third brake 47c by transmitting a driver signal MS to the third motor unit 40c. The third motor driver 60c receives an encoder signal ES output from the third encoder 45c. The third motor driver 60c transmits the encoder signal ES to the control unit 100, etc.

[0049] The fourth motor driver 60d controls the fourth motor unit 40d. The fourth motor driver 60d controls the operation of the fourth motor 41d and the fourth brake 47d by transmitting a driver signal MS to the fourth motor unit 40d. The fourth motor driver 60d receives an encoder signal ES output from the fourth encoder 45d. The fourth motor driver 60d transmits the encoder signal ES to the control unit 100, etc.

[0050] The fifth motor driver 60e controls the fifth motor unit 40e. The fifth motor driver 60e controls the operation of the fifth motor 41e and the fifth brake 47e by transmitting a driver signal MS to the fifth motor unit 40e. The fifth motor driver 60e receives an encoder signal ES output from the fifth encoder 45e. The fifth motor driver 60e transmits the encoder signal ES to the control unit 100, etc.

[0051] The sixth motor driver 60f controls the sixth motor unit 40f. The sixth motor driver 60f controls the operation of the sixth motor 41f and the sixth brake 47f by transmitting a driver signal MS to the sixth motor unit 40f. The sixth motor driver 60f receives an encoder signal ES output from the sixth encoder 45f. The sixth motor driver 60f transmits the encoder signal ES to the control unit 100, etc.

[0052] The power supply unit 70 supplies power from an external power supply to each unit. The power supply unit 70 supplies power to each motor unit 40, each motor driver 60, the control unit 100, etc. The power supply unit 70 supplies power to each motor unit 40 via the cutoff unit 80. Some power supply paths, such as the path that supplies power from the power supply unit 70 to the control unit 100, are not shown in FIG. 4.

[0053] The cutoff unit 80 supplies or cuts off power from an external power source to the motor unit 40 including the motor 41. The cutoff unit 80 is composed of a switch, a relay, a contactor, or the like. The cutoff unit 80 is preferably composed of a relay. By configuring the cutoff unit 80 as a relay, it is possible to control the on / off of a large current with a small current. The cutoff unit 80 is provided in a power supply path between the power supply unit 70 and the motor unit 40. When the robot 10 operates, the cutoff unit 80 supplies power from the power supply unit 70 to each motor unit 40. When the monitoring unit 120 of the control unit 100 transmits a cutoff signal DS to the cutoff unit 80, the cutoff unit 80 cuts off the power to each motor unit 40. When the cutoff unit 80 cuts off the power to the motor unit 40, the motor 41 stops in an uncontrolled manner. When the motor 41 stops in an uncontrolled manner, the stopping position of the arm becomes indefinite.

[0054] The control unit 100 controls each unit of the robot 10. The control unit 100 controls the operation of each unit by transmitting various signals to each unit. As an example, the control unit 100 is a processor circuit having a CPU (Central Processing Unit). The control unit 100 is composed of one or more processor circuits. The control unit 100 functions as a robot controller 110 and a monitoring unit 120. The control unit 100 may function as a functional unit different from the robot controller 110 and the monitoring unit 120. The control unit 100 includes a memory 130 and a communication interface 140.

[0055] The control unit 100 functions as a robot controller 110 by executing a robot control program. The control unit 100 functions as a monitoring unit 120 by executing a monitoring program. The robot controller 110 and the monitoring unit 120 may function on the same processor or on different processors. The robot controller 110 and the monitoring unit 120 function independently of each other.

[0056] The robot controller 110 controls the operation of the robot arm 20. The robot controller 110 transmits a control signal CS to the motor driver 60 at a predetermined timing. The robot controller 110 controls the operation of each motor unit 40 having a motor 41 by outputting the control signal CS to the motor driver 60. The control signal CS is a signal that indicates the rotational position or rotational speed of the output shaft 43 of the motor 41. The robot controller 110 controls the operation of each motor unit 40, thereby controlling the operation of each arm.

[0057] The robot controller 110 receives the encoder signal ES output by the encoder 45 via each motor driver 60. The robot controller 110 receives the encoder signal ES indicating the operation of the motor 41 based on the control signal CS. The robot controller 110 performs various controls using the encoder signal ES.

[0058] The robot controller 110 receives various signals from the stop switch 150 and the like. The robot controller 110 generates an operation signal based on the various signals. The robot controller 110 may transmit the various signals as operation signals to the motor driver 60 and the like. The robot controller 110 generates an operation signal when causing the robot arm 20 to perform a predetermined operation. The robot controller 110 transmits the operation signal to the motor driver 60. The robot controller 110 performs various controls by transmitting the operation signal to the motor driver 60.

[0059] The robot controller 110 functions as a signal processing unit 111 and an operation control unit 113. The robot controller 110 corresponds to an example of a controller.

[0060] The signal processing unit 111 generates an operation signal corresponding to the operation of the robot arm 20. The signal processing unit 111 processes various signals output from the stop switch 150 and the like. The signal processing unit 111 receives the various signals. The signal processing unit 111 generates an operation signal based on the various signals. The signal processing unit 111 may use the various signals as the operation signal. The signal processing unit 111 transmits the operation signal to the operation control unit 113. The signal processing unit 111 may transmit the operation signal to the motor driver 60, the monitoring unit 120, and the like.

[0061] As an example, the signal processing unit 111 receives a stop signal SS output from the stop switch 150. The signal processing unit 111 transmits the stop signal SS as an operation signal to the operation control unit 113. The stop signal SS corresponds to a stop operation of the robot arm 20 and the motor unit 40. The signal processing unit 111 receives an area error signal output from the area sensor 160. The signal processing unit 111 transmits the area error signal as an operation signal to the operation control unit 113. The area error signal corresponds to a stop operation or a deceleration operation of the robot arm 20 and the motor unit 40. The signal processing unit 111 may receive a discrimination signal output from a sensor other than the stop switch 150 or the area sensor 160. As an example, the discrimination signal is a trajectory correction operation that corrects the operation of the robot arm 20 and the motor unit 40. The signal processing unit 111 transmits the discrimination signal to the operation control unit 113 or the like. The stop signal SS and the area error signal correspond to an example of a stop command.

[0062] The signal processing unit 111 generates an operation signal corresponding to the operation of the robot arm 20. The signal processing unit 111 transmits the operation signal to the motor driver 60. By transmitting the operation signal, the signal processing unit 111 causes the motor unit 40 to execute motor control corresponding to the operation of the robot arm 20. As an example, the signal processing unit 111 generates a torque control signal TC when a user causes the robot arm 20 to execute a placement operation of placing a workpiece at a predetermined position. The signal processing unit 111 transmits the torque control signal TC to the operation control unit 113.

[0063] The operation control unit 113 causes the motor unit 40 including the motor 41 to perform various operations. The operation control unit 113 generates a series of control signals CS related to the various operations. The operation control unit 113 transmits the control signals CS to the motor driver 60 at a predetermined timing. By transmitting the control signals CS, the operation control unit 113 causes the motor unit 40 to perform various operations. By the motor unit 40 performing various operations, the robot arm 20 performs a desired operation.

[0064] The operation control unit 113 receives an operation signal. The operation control unit 113 causes the motor unit 40 to perform various operations based on the operation signal. The operation control unit 113 receives an operation signal from the signal processing unit 111. The operation control unit 113 generates a series of control signals CS based on the operation signal. The operation control unit 113 transmits the control signals CS to the motor driver 60 at a predetermined timing. The operation control unit 113 causes the motor 41 to perform various operations by transmitting the control signals CS.

[0065] The operation control unit 113 receives a stop signal SS or an area error signal as an operation signal. The operation control unit 113 generates a series of control signals CS based on the stop signal SS or the area error signal. The generated control signal CS is a signal that executes a stop operation to stop the motor 41. The stop operation corresponds to an example of a predetermined operation. The operation control unit 113 transmits the control signal CS to the motor driver 60 at a predetermined timing. The operation control unit 113 causes the motor 41 to execute the stop operation by transmitting the control signal CS to the motor driver 60.

[0066] The operation control unit 113 receives a torque control signal TC as an operation signal. The operation control unit 113 generates a series of control signals CS based on the torque control signal TC. The generated control signal CS is a signal that causes the motor 41 to execute a torque control operation. The torque control operation corresponds to an example of a predetermined operation. The operation control unit 113 transmits the control signal CS to the motor driver 60 at a predetermined timing. The operation control unit 113 transmits the control signal CS to the motor driver 60 to cause the motor 41 to execute a torque control operation. The operation control unit 113 may cause the motor 41 to execute an operation other than the stopping operation and the torque control operation. For example, the operation control unit 113 causes the motor 41 to execute a deceleration operation, a start correction operation, etc. The deceleration operation, the start correction operation, etc. correspond to an example of the predetermined operation.

[0067] The operation control unit 113 receives the encoder signal ES output from each encoder 45. The operation control unit 113 may adjust the control signal CS using the encoder signal ES. As an example, the operation control unit 113 uses the encoder signal ES as a feedback signal.

[0068] The monitoring unit 120 monitors the operation of each motor unit 40 having a motor 41. The monitoring unit 120 detects an operational abnormality of the motor 41 by monitoring the operation of the motor unit 40. When the monitoring unit 120 detects an operational abnormality of the motor 41, it outputs a shutoff signal DS. The monitoring unit 120 functions as a comparison unit 121 and a signal output unit 123. The monitoring unit 120 corresponds to an example of a monitoring unit.

[0069] The comparison unit 121 compares the control signal CS with the encoder signal ES. The comparison unit 121 receives the control signal CS and the encoder signal ES at a predetermined timing. The comparison unit 121 receives the control signal CS output by the operation control unit 113 of the robot controller 110. The comparison unit 121 receives the encoder signal ES output by the encoder 45 of each motor unit 40. The encoder signal ES is the rotation position or the rotation angle of the output shaft 43. When the comparison unit 121 receives the control signal CS and the encoder signal ES, it calculates the difference between the control signal CS and the encoder signal ES in absolute value. The comparison unit 121 compares the difference with a tolerance. The tolerance is a predetermined value. The tolerance corresponds to an example of a threshold value. When the comparison unit 121 determines that the difference is smaller than the tolerance, it determines that the motor 41 is operating normally. When the comparison unit 121 determines that the difference is larger than the tolerance, it determines that the motor 41 is operating abnormally. If the comparison section 121 determines that the difference is greater than the allowable value, the comparison section 121 generates a malfunction signal and transmits the malfunction signal to the signal output section 123.

[0070] The signal output unit 123 outputs various signals to the cutoff unit 80, etc. The signal output unit 123 receives the operation malfunction signal transmitted by the comparison unit 121. The signal output unit 123 outputs a shutdown signal DS to the cutoff unit 80. The signal output unit 123 may transmit the operation malfunction signal to each motor driver 60, the signal processing unit 111, etc. The signal output unit 123 may receive the operation signal output from the signal processing unit 111.

[0071] The cut-off signal DS is a signal that causes the robot 10 to execute an STO function. STO stands for Safe Torque Off. The STO function is a function that causes the robot 10 to electrically cut off the driving energy to the motor 41. The signal output unit 123 outputs the cut-off signal DS to the cut-off unit 80, thereby cutting off the power to the motor unit 40 including the motor 41. When the cut-off signal DS is received, the cut-off unit 80 may cut off the power to the motor driver 60, the control unit 100, etc. The cut-off signal DS corresponds to an example of a power cut-off command.

[0072] The memory 130 stores various data and the like. The memory 130 is composed of semiconductor memories such as a ROM (Read Only Memory) and a RAM (Random Access Memory). The memory 130 stores a robot control program and a monitoring program executed by the control unit 100. The memory 130 stores various control data used by the robot controller 110. The memory 130 stores monitoring data such as allowable values ​​used by the comparison unit 121. The memory 130 stores evaluation values, comparison results, and the like calculated by the comparison unit 121 as history data.

[0073] The communication interface 140 is an interface circuit that connects and communicates with an external device. The communication interface 140 connects to the external device by wire or wirelessly according to a predetermined communication protocol. The communication interface 140 is composed of a wired connector or a wireless communication port. The wired connector is a Universal Serial Bus (USB) connector, a Local Area Network (LAN) connector, or the like. The wireless communication port is a Wi-Fi communication port, a Bluetooth communication port, or the like. Wi-Fi and Bluetooth are registered trademarks. The communication interface 140 receives various control data from the external device. The communication interface 140 transmits history data, etc. to the external device.

[0074] The stop switch 150 is operated by a user of the robot 10. The stop switch 150 is connected to the control unit 100 by wire or wirelessly. For example, the user manually performs an input operation on the stop switch 150 when the robot arm 20 executes an unexpected operation. When an input operation is performed, the stop switch 150 outputs a stop signal SS to the signal processing unit 111 of the control unit 100.

[0075] The area sensor 160 detects whether or not the robot arm 20 is located within a predetermined operating range. When the area sensor 160 detects that the robot arm 20 is located outside the predetermined operating range, it outputs an area error signal to the signal processing unit 111.

[0076] Fig. 5 is a schematic block diagram of the robot 10. Fig. 5 shows a state in which the robot controller 110 controls the motor units 40. Fig. 5 shows the flow of each signal and the state of power supply. The multiple motor units 40 are each controlled based on the flow of each signal shown in Fig. 5. Fig. 5 omits the area sensor 160.

[0077] When operating the motor unit 40, the robot controller 110 generates a group of control signals including a series of control signals CS. The robot controller 110 transmits the control signals CS included in the group of control signals to the motor driver 60 at a predetermined timing. As an example, the control signal CS includes a controller control value that indicates the rotation speed of the output shaft 43 of the motor 41. When transmitting the control signal CS to the motor driver 60, the robot controller 110 transmits the control signal CS to the monitoring unit 120.

[0078] The motor driver 60 receives a control signal CS. The motor driver 60 generates a driver signal MS corresponding to the control signal CS. The driver signal MS is a signal that can be processed by the motor unit 40. If the motor unit 40 can process the control signal CS, the motor driver 60 may transmit the control signal CS to the motor unit 40 as the driver signal MS.

[0079] The motor unit 40 receives a driver signal MS. The motor 41 included in the motor unit 40 rotates an output shaft 43 based on the driver signal MS. The encoder 45 detects the rotation speed of the output shaft 43, which rotates based on the driver signal MS, as an encoder output value. The motor unit 40 transmits an encoder signal ES including the encoder output value to the motor driver 60. The motor unit 40 may transmit the encoder signal ES to the monitoring unit 120.

[0080] The motor driver 60 receives an encoder signal ES including an encoder output value. The received encoder signal ES is a signal based on a control signal CS. The motor driver 60 transmits the encoder signal ES to the robot controller 110 and the monitoring unit 120. If the motor unit 40 transmits the encoder signal ES directly to the monitoring unit 120, the motor driver 60 does not need to transmit the encoder signal ES to the monitoring unit 120.

[0081] The robot controller 110 receives the encoder signal ES. The robot controller 110 may adjust a controller control value using the encoder output value included in the encoder signal ES. The robot controller 110 adjusts a controller control value included in a control signal CS to be transmitted next using the encoder output value. The robot controller 110 transmits a control signal CS including the adjusted controller control value to the motor driver 60. The robot controller 110 may subsequently transmit a control signal CS including a controller control value that is not adjusted by the encoder output value to the motor driver 60.

[0082] The monitoring unit 120 receives a control signal CS and an encoder signal ES based on the control signal CS. The monitoring unit 120 compares the control signal CS with the encoder signal ES. The monitoring unit 120 compares a controller control value included in the control signal CS with an encoder output value included in the encoder signal ES. The monitoring unit 120 calculates a difference between the controller control value and the encoder output value. The monitoring unit 120 compares the difference with an allowable value. If the monitoring unit 120 determines that the difference is smaller than the allowable value, it determines that the motor 41 is operating normally. If the monitoring unit 120 determines that the difference is larger than the allowable value, it determines that the motor 41 is operating abnormally. If the monitoring unit 120 determines that the difference is larger than the allowable value, it outputs a shutoff signal DS to the shutoff unit 80.

[0083] Fig. 6 is a schematic block diagram of the robot 10. Fig. 6 shows the state when the stop switch 150 outputs a stop signal SS. Fig. 6 shows the flow of each signal and the state of power supply. The multiple motor units 40 are each controlled based on the flow of each signal shown in Fig. 6. Fig. 6 omits the area sensor 160.

[0084] When the user performs an input operation on the stop switch 150, the stop switch 150 outputs a stop signal SS. The stop switch 150 outputs the stop signal SS to the robot controller 110.

[0085] The robot controller 110 receives the stop signal SS. The robot controller 110 transmits the stop signal SS to the motor driver 60. The robot controller 110 generates a group of control signals for stopping the motor 41 based on the stop signal SS. The robot controller 110 transmits a control signal CS included in the group of control signals to the motor driver 60 at a predetermined timing.

[0086] The motor driver 60 receives the stop signal SS and a control signal CS for stopping the motor 41. When the motor driver 60 receives the stop signal SS, it generates a driver signal MS for stopping the motor 41. The driver signal MS includes a driver control value. The driver control value is a value that indicates the rotation speed of the output shaft 43 of the motor 41. The driver control value corresponds to the controller control value. By using the driver signal MS for stopping the motor 41, the motor driver 60 can stop the motor 41 faster than when the control signal CS is used. The motor driver 60 transmits the driver signal MS for stopping the motor 41 to the motor unit 40 instead of the control signal CS for stopping the motor 41.

[0087] The motor driver 60 may transmit the control signal CS as a driver signal MS to the motor unit 40. When transmitting the control signal CS to the motor unit 40, the motor driver 60 may transmit a brake actuation signal for actuating the brake 47 by including it in the driver signal MS.

[0088] The motor unit 40 receives the driver signal MS. The motor 41 performs a stopping operation based on the driver signal MS. The encoder 45 detects, as an encoder output value, the rotation speed of the output shaft 43 when the motor 41 performs the stopping operation. The motor unit 40 transmits an encoder signal ES including the encoder output value to the motor driver 60. The motor unit 40 activates the brake 47 when the driver signal MS includes a brake activation signal. The motor unit 40 may transmit the encoder signal ES directly to the monitoring unit 120.

[0089] The motor driver 60 receives the encoder signal ES. The encoder signal ES is associated with a control signal CS. The motor driver 60 transmits the encoder signal ES to the robot controller 110 and the monitoring unit 120. If the motor unit 40 transmits the encoder signal ES directly to the monitoring unit 120, the motor driver 60 does not need to transmit the encoder signal ES to the monitoring unit 120.

[0090] The monitoring unit 120 receives a control signal CS and an encoder signal ES based on the control signal CS. The monitoring unit 120 compares the control signal CS with the encoder signal ES. The monitoring unit 120 compares a controller control value included in the control signal CS with an encoder output value included in the encoder signal ES. The monitoring unit 120 calculates a difference between the controller control value and the encoder output value. The monitoring unit 120 compares the difference with an allowable value. If the monitoring unit 120 determines that the difference is smaller than the allowable value, it determines that the motor 41 is operating normally. If the monitoring unit 120 determines that the difference is larger than the allowable value, it determines that the motor 41 is operating abnormally. If the monitoring unit 120 determines that the difference is larger than the allowable value, it outputs a shutoff signal DS to the shutoff unit 80.

[0091] The robot controller 110 receives an encoder signal ES corresponding to a control signal CS. The robot controller 110 compares the control signal CS with the encoder signal ES. The monitoring unit 120 compares a controller control value included in the control signal CS with an encoder output value included in the encoder signal ES. The robot controller 110 calculates the difference between the controller control value and the encoder output value as an evaluation value.

[0092] The robot controller 110 reads the tolerance value stored in the memory 130. The robot controller 110 determines a control tolerance value based on the tolerance value. The control tolerance value may be stored in advance in the memory 130. If the control tolerance value is stored in the memory 130, the robot controller 110 reads the control tolerance value from the memory 130. The robot controller 110 temporarily stores the control tolerance value. The control tolerance value is a value smaller than the tolerance value. The control tolerance value corresponds to an example of a second threshold value.

[0093] The robot controller 110 compares the evaluation value with a control tolerance. If the evaluation value is smaller than the control tolerance, the robot controller 110 continues to stop the motor 41 using a control signal CS included in the control signal group. If the evaluation value is larger than the control tolerance, the robot controller 110 modifies the control signal CS to generate a modified control signal MCS.

[0094] The modified control signal MCS includes a modified controller control value. The modified control signal MCS is a signal that stops the motor 41. As an example, the robot controller 110 generates the modified control signal MCS in which the modified controller control value is the encoder output value received immediately before generating the modified control signal MCS.

[0095] Fig. 7 is a schematic block diagram of the robot 10. Fig. 7 shows a state when the robot controller 110 generates a modified control signal MCS. Fig. 7 shows the flow of each signal and the power supply state. Each of the multiple motor units 40 is controlled based on the flow of each signal shown in Fig. 7. Fig. 7 omits the area sensor 160.

[0096] The robot controller 110 transmits a modified control signal MCS including a modified controller control value to the motor driver 60 at a predetermined timing. The robot controller 110 transmits the modified control signal MCS to the monitoring unit 120.

[0097] The motor driver 60 receives the modified control signal MCS. Upon receiving the modified control signal MCS, the motor driver 60 transmits a driver signal MS to the motor unit 40 to stop the motor 41. The motor driver 60 may or may not modify the driver signal MS based on the modified control signal MCS. The motor driver 60 transmits the driver signal MS corresponding to the modified control signal MCS to the motor unit 40.

[0098] The motor driver 60 may transmit the modified control signal MCS as a driver signal MS to the motor unit 40. When transmitting the driver signal MS to the motor unit 40, the motor driver 60 may transmit a brake actuation signal that actuates the brake 47 by including it in the driver signal MS.

[0099] The motor unit 40 receives the driver signal MS. The motor 41 performs a stopping operation based on the driver signal MS. The encoder 45 detects, as an encoder output value, the rotation speed of the output shaft 43 when the motor 41 performs the stopping operation. The motor unit 40 transmits an encoder signal ES including the encoder output value to the motor driver 60. The motor unit 40 activates the brake 47 when the driver signal MS includes a brake activation signal. The motor unit 40 may transmit the encoder signal ES directly to the monitoring unit 120.

[0100] The motor driver 60 receives the encoder signal ES. The encoder signal ES is associated with a modified control signal MCS. The motor driver 60 transmits the encoder signal ES to the robot controller 110 and the monitoring unit 120. If the motor unit 40 transmits the encoder signal ES directly to the monitoring unit 120, the motor driver 60 does not need to transmit the encoder signal ES to the monitoring unit 120.

[0101] The monitoring unit 120 receives the modified control signal MCS and the encoder signal ES based on the modified control signal MCS. The monitoring unit 120 compares the modified control signal MCS with the encoder signal ES. The monitoring unit 120 compares the modified controller control value included in the modified control signal MCS with the encoder output value included in the encoder signal ES. The monitoring unit 120 calculates a difference between the controller control value and the encoder output value. The monitoring unit 120 compares the difference with a tolerance. If the monitoring unit 120 determines that the difference is smaller than the tolerance, the monitoring unit 120 determines that the motor 41 is operating normally. If the monitoring unit 120 determines that the difference is larger than the tolerance, the monitoring unit 120 determines that the motor 41 is operating abnormally. If the monitoring unit 120 determines that the difference is larger than the tolerance, the monitoring unit 120 outputs a cut-off signal DS to the cut-off unit 80. The modified control signal MCS corresponds to an example of a second control signal, and the monitoring unit 120 comparing the difference with the tolerance corresponds to an example of comparing the difference between the second control signal and the output signal with a threshold value.

[0102] The modified controller control value included in the modified control signal MCS is the previously received encoder output value. The difference between the modified controller control value and the encoder output value based on the modified controller control value is more likely to be smaller than the allowable value. The monitoring unit 120 is less likely to output the shutoff signal DS. The robot controller 110 can control the motor unit 40 to cause the motor 41 to perform a stopping operation.

[0103] The robot controller 110 receives the encoder signal ES corresponding to the modified control signal MCS. The robot controller 110 acquires the encoder output value included in the encoder signal ES. The robot controller 110 generates a modified control signal MCS with the acquired encoder output value as the modified controller control value. The robot controller 110 generates the modified control signal MCS including the encoder output value as the modified controller control value every time it receives the encoder signal ES. The robot controller 110 stops the motor 41 by sending the modified control signal MCS to the motor driver 60.

[0104] FIG. 8 shows the controller control value etc. output at a predetermined timing. FIG. 8 shows the controller control value etc. when the motor 41 is caused to execute a stop operation. FIG. 8 shows the case where a stop signal SS is received immediately before time t0. The controller control value is included in the control signal CS. The driver control value is a control value included in the driver signal MS output to the motor unit 40 when the motor driver 60 receives the control signal CS at each time. The encoder output value is a detection value output from the encoder 45 corresponding to the control signal CS including the controller control value. (Evaluation value-control tolerance value) indicates the result of subtracting the control tolerance value from the evaluation value for each time. "-" indicates that the evaluation value is smaller than the control tolerance value. "+" indicates that the evaluation value is larger than the control tolerance value.

[0105] When the robot controller 110 receives the stop signal SS, it generates a group of control signals for causing the motor 41 to perform a stopping operation. n A control signal group is generated up to time t n It is a group of n+1 data items that stop the motor 41 at a certain time, where n is an integer.

[0106] At time t0, the robot controller 110 transmits a control signal CS and a stop signal SS, whose controller control value is v0, to the motor driver 60. v0 is an instruction value for the rotation speed of the output shaft 43 of the motor 41. In Fig. 8, the controller control value indicates the instruction value for the rotation speed.

[0107] The motor driver 60 receives a control signal CS with a controller control value v0 and a stop signal SS. When the motor driver 60 receives the stop signal SS, the motor driver 60 generates a driver signal MS for causing the motor 41 to perform a stop operation. The motor driver 60 may generate a series of driver signals for causing the motor 41 to perform a stop operation. The motor driver 60 may generate the driver signal MS when it receives the control signal CS. The driver signal MS includes a driver output value. When the motor driver 60 receives the control signal CS with a controller control value v0, the motor driver 60 transmits a driver signal MS with a driver control value m0 to the motor unit 40. m0 is an instruction value for the rotation speed of the output shaft 43 of the motor 41. m0 is a value equal to or greater than v0.

[0108] The motor unit 40 receives a driver signal MS having a driver control value of m0. The motor 41 decelerates the rotation speed of the output shaft 43 toward m0 based on the driver signal MS. After the motor 41 decelerates, the encoder 45 detects the rotation speed of the output shaft 43. The encoder 45 detects that the encoder output value is e0. The motor unit 40 outputs an encoder signal ES having an encoder output value of e0 to the motor driver 60.

[0109] The motor driver 60 receives the encoder signal ES, whose encoder output value is e0. The motor driver 60 transmits the encoder signal ES to the robot controller 110 and the monitoring unit 120.

[0110] The robot controller 110 receives an encoder signal ES with an encoder output value of e0. The robot controller 110 calculates the absolute value of the difference between v0 and e0 as an evaluation value. The robot controller 110 calculates a value obtained by subtracting the control tolerance from the evaluation value. At time t0, the value obtained by subtracting the control tolerance from the evaluation value is a negative value. The evaluation value is smaller than the control tolerance. The robot controller 110 transmits a control signal CS included in the control signal group to the motor driver 60 at time t1. The control signal CS transmitted at time t1 is a signal with a controller control value of v1. The robot controller 110 transmits the control signal CS at a predetermined timing, and receives an encoder signal ES corresponding to the control signal CS from the motor driver 60.

[0111] The monitoring unit 120 receives a control signal CS with a controller control value v0 and an encoder signal ES with an encoder output value e0. The monitoring unit 120 calculates the absolute value of the difference between v0 and e0 as a difference. The monitoring unit 120 compares the difference with a tolerance. The difference at time t0 is smaller than the control tolerance. The difference at time t0 is smaller than the tolerance. The monitoring unit 120 does not send a shutoff signal DS to the shutoff unit 80. The robot controller 110 can cause the motor 41 to perform a stop operation based on the control signal CS.

[0112] The robot controller 110 k At time, the controller control value is v k The control signal CS is sent to the motor driver 60 such that k is an integer smaller than n. k The control signal CS corresponds to an example of a first control signal. The motor driver 60 is k The motor driver 60 receives a control signal CS, which is m. The motor driver 60 transmits a driver signal MS corresponding to the control signal CS to the motor unit 40. The driver control value included in the driver signal MS is m kThe motor unit 40 receives the driver signal MS. The motor 41 decelerates the output shaft 43 based on the driver signal MS. When the motor 41 decelerates, the encoder 45 detects the rotation speed of the output shaft 43. The motor unit 40 detects the rotation speed of the output shaft 43 when the encoder output value is e k The motor driver 60 transmits the encoder signal ES, which is equal to e k The encoder signal ES is sent to the robot controller 110 and the monitoring unit 120. When the encoder output value is e k The encoder signal ES, which is:

[0113] The robot controller 110 detects that the encoder output value is e k The robot controller 110 receives an encoder signal ES, which is v k and e k The absolute value of the difference between t and t is calculated as the evaluation value. k The evaluation value at time t corresponds to an example of a difference value. The robot controller 110 calculates a value obtained by subtracting the control allowable value from the evaluation value. k At time, the rating value minus the control tolerance is the + value. The rating value is greater than the control tolerance.

[0114] When the robot controller 110 determines that the evaluation value is greater than the control tolerance, it generates a modified control signal MCS. k e k is the corrected controller control value. The robot controller 110 sets the encoder output value as the corrected controller control value. The robot controller 110 sets t k The difference between the time and the encoder output value is t k The robot controller 110 generates a modified control signal MCS including a modified controller control value that is smaller than the evaluation value at time e. kThe modified control signal MCS is generated such that the modified controller control value is e k The modified control signal MCS corresponds to an example of the second control signal. k+1 The corrected controller control value is e k The modified control signal MCS is sent to the motor driver 60.

[0115] The motor driver 60 is a modified controller with a control value of e k The motor driver 60 receives a modified control signal MCS, which is m. The motor driver 60 transmits a driver signal MS, which corresponds to the modified control signal MCS, to the motor unit 40. The driver signal MS is m k+1 The motor unit 40 receives the driver signal MS. The motor 41 decelerates the output shaft 43 based on the driver signal MS. When the motor 41 decelerates, the encoder 45 detects the rotation speed of the output shaft 43. The motor unit 40 receives the driver signal MS. The motor unit 40 receives the driver control value e k+1 The motor driver 60 transmits the encoder signal ES, which is equal to e k+1 The encoder signal ES is sent to the robot controller 110 and the monitoring unit 120.

[0116] The robot controller 110 detects that the encoder output value is e k+1 The robot controller 110 receives an encoder signal ES, which is e k and e k+1 The absolute value of the difference between the evaluation value and the control allowable value is calculated. The robot controller 110 calculates a value by subtracting the control allowable value from the evaluation value. k+1 At time, the evaluation value minus the control tolerance is a negative value. The evaluation value is less than the control tolerance. The robot controller 110 determines whether the modified controller control value is e k+1 The robot controller 110 generates a modified control signal MCS such that the modified controller control value is e k+1 The modified control signal MCS is sent to the motor driver 60.

[0117] The monitoring unit 120 detects whether the modified controller control value is e k The modified control signal MCS and the encoder output value are e k+1 The monitoring unit 120 receives the encoder signal ES, which is e k and e k+1 The monitoring unit 120 calculates the absolute value of the difference between the two values. The monitoring unit 120 compares the difference with a tolerance value. k+1 The difference in time is less than the control tolerance. t k+1 The difference in time is smaller than the allowable value, and the monitoring unit 120 does not send a shutoff signal DS to the shutoff unit 80. The robot controller 110 can make the motor 41 perform a stopping operation based on the control signal CS.

[0118] t k+1 After the time, the robot controller 110 generates a modified control signal MCS with the previously received encoder output value as the modified controller control value. The robot controller 110 transmits the modified control signal MCS to the motor driver 60. The robot controller 110 causes the motor 41 to perform a stopping operation by transmitting the modified control signal MCS. The robot controller 110 transmits the modified control signal MCS until the motor 41 stops. The motor 41 performs a stopping operation under the control of the robot controller 110.

[0119] Fig. 9 shows the change over time in the rotation speed of the output shaft 43. Fig. 9 shows the change in rotation speed when the robot controller 110 causes the motor 41 to execute a stopping operation. Fig. 9 shows, with a first change line L1, the change in rotation speed when the control signal CS and the modified control signal MCS including the controller control value shown in Fig. 8 are transmitted. Fig. 9 shows, with a second change line L2, the change in rotation speed when the motor 41 is stopped using a group of control signals for stopping the motor 41. The stop signal SS is output immediately before time t0.

[0120] The first change line L1 corresponds to the detection result of the encoder 45. The first change line L1 is equal to or approximately equal to the actual measured value of the rotation speed of the output shaft 43. When the control signal group is used, the robot controller 110 changes the rotation speed of the output shaft 43 as shown by the second change line L2. n The output shaft 43 of the motor 41 is stopped at time t k At time, the controller set point is V k t k At time, the encoder output value is e k It becomes.

[0121] t k After time, the difference between the first change line L1 and the second change line L2 further increases. When the difference exceeds a tolerance, the monitoring unit 120 transmits a cutoff signal DS to the cutoff unit 80. When the cutoff unit 80 cuts off the power to the motor unit 40 based on the cutoff signal DS, the motor 41 stops in an uncontrolled manner. When the motor 41 stops in an uncontrolled manner, the stop positions of the output shaft 43 and the arm become indefinite. This may result in a case where it takes time to restart the robot 10.

[0122] t k After a certain time, the robot controller 110 generates a modified control signal MCS in which the controller control value included in the control signal CS is the most recently received encoder output value. The encoder output value is used as the modified controller control value included in the modified control signal MCS. The robot controller 110 uses the modified control signal MCS to control the stopping operation of the motor 41, thereby reducing the possibility that the monitoring unit 120 will output a shutoff signal DS. The motor 41 performs the stopping operation under the control of the robot controller 110. The motor 41 is stopped at a time t s Stop at time t s Time is t n It is a time that is shorter than that.

[0123] In FIG. 8, the robot controller 110 k+1 The encoder output value after time t is used as the modified controller control value, but is not limited to this. The modified controller control value is tk is the controller control value contained in the control signal CS at time v k than e k The corrected controller control value and e k The difference with v k and e k The probability that the monitoring unit 120 will output a shutdown signal DS decreases.

[0124] In Figure 8, t k+1 After the time, the robot controller 110 generates and transmits the modified control signal MCS, but is not limited to this. The robot controller 110 may generate and transmit the modified control signal MCS when it receives the stop signal SS.

[0125] Fig. 10 shows the controller control values ​​etc. output at a predetermined timing. Fig. 10 shows the controller control values ​​etc. when executing a stop operation of the motor 41. Fig. 10 shows the case where a stop signal SS is received at time t0 or immediately before time t0.

[0126] When the robot controller 110 receives the stop signal SS at time t0, it acquires the encoder output value e0 at time t0. The robot controller 110 transmits a control signal CS and a stop signal SS, whose controller control value is v0, to the motor driver 60. The motor driver 60 receives the control signal CS and the stop signal SS. The motor driver 60 transmits a driver signal MS corresponding to the control signal CS to the motor unit 40. The motor unit 40 receives the driver signal MS. The motor 41 rotates the output shaft 43 based on the driver signal MS. When the motor 41 rotates the output shaft 43, the encoder 45 detects the rotation speed. The motor unit 40 generates an encoder signal ES, whose encoder output value is e0, and transmits it to the motor driver 60. The motor driver 60 transmits the encoder signal ES, whose encoder output value is e0, to the robot controller 110 and the monitoring unit 120. The robot controller 110 receives the encoder signal ES, whose encoder output value is e0.

[0127] The robot controller 110 generates a control signal CS that causes the motor 41 to perform a stopping operation. The robot controller 110 generates a modified control signal MCS that uses the encoder output value as the control signal CS that causes the motor 41 to perform a stopping operation. At time t1, the robot controller 110 generates a modified control signal MCS in which the encoder output value, e0, is the modified controller control value. The robot controller 110 transmits the modified control signal MCS to the motor driver 60. The motor driver 60 receives the modified control signal MCS.

[0128] When the motor driver 60 receives the stop signal SS, it generates a driver signal MS to stop the motor 41. When the motor driver 60 receives the modified control signal MCS, it transmits the driver signal MS to the motor unit 40. The motor unit 40 receives the driver signal MS. The motor 41 decelerates the output shaft 43 based on the driver signal MS. When the motor 41 decelerates the output shaft 43, the encoder 45 detects the rotation speed. The motor unit 40 generates an encoder signal ES whose encoder output value is e1 and transmits it to the motor driver 60. The motor driver 60 transmits the encoder signal ES whose encoder output value is e1 to the robot controller 110 and the monitoring unit 120.

[0129] The robot controller 110 receives the encoder signal ES with an encoder output value e1. The robot controller 110 generates a modified control signal MCS with e1 as the controller control value. At time t2, the robot controller 110 transmits the modified control signal MCS with e1 as the controller control value to the motor driver 60. After time t1, the robot controller 110 transmits the modified control signal MCS with the encoder output value as the controller control value to the motor driver 60. The robot controller 110 causes the motor 41 to perform a stopping operation by transmitting the modified control signal MCS. The robot controller 110 transmits the modified control signal MCS to the motor driver 60 at a predetermined timing. The robot controller 110 can cause the motor 41 to perform a stopping operation under the control of the robot controller 110 by transmitting the modified control signal MCS at a predetermined timing.

[0130] The robot 10 includes a motor 41 having an output shaft 43, a robot controller 110 that transmits a control signal CS to the motor 41 at a predetermined timing, an encoder 45 that detects the operation of the motor 41 based on the control signal CS and outputs an encoder signal ES, and a monitoring unit 120 that receives the control signal CS and the encoder signal ES, compares the difference between the control signal CS and the encoder signal ES with a predetermined allowable value, and outputs a shutoff signal DS when the difference is greater than the allowable value. When causing the motor 41 to perform a predetermined operation, the robot controller 110 controls the motor 41 to operate in a manner such that the controller control value is v k and sending a control signal CS to the motor 41 such that the controller control value is v k The encoder output value based on the control signal CS is e k receiving from the encoder 45 an encoder signal ES having an encoder output value e k The difference between the encoder signal ES and the controller control value v k The control signal CS and the encoder output value are e k If the corrected controller control value is smaller than the evaluation value between the encoder signal ES and k and generating a modified control signal MCS such that the modified controller control value is e k and transmitting a modified control signal MCS to the motor 41 such that the modified controller control value is e k receiving a modified control signal MCS from the robot controller 110, the modified controller control value being e k and comparing the difference between the modified control signal MCS, which is the difference between the encoder signal ES, with a tolerance value. When performing a predetermined operation, the motor 41 operates under the control of the robot controller 110. The position of the arm driven by the motor 41 is controlled. After performing a predetermined operation, the robot 10 can be restarted in a short time. In addition, the corrected controller control value and e k The difference with v k and e kWhen the evaluation value, which is the absolute value of the difference between the detected power and the motor 41, becomes smaller, the possibility that the monitoring unit 120 outputs the shutdown signal DS decreases. In other words, the possibility that the motor 41 stops due to the supply of power being stopped decreases, and the stopping position of the rotating shaft of the motor 41 is prevented from becoming indefinite.

[0131] The robot controller 110 stores a control tolerance value that is smaller than the tolerance value, and the controller control value is v k The control signal CS and the encoder output value are e k and calculating an evaluation value between the encoder signal ES and the control signal e when the evaluation value is greater than the control tolerance value. k and generating a modified control signal MCS, The robot controller 110 can control the motor 41 while maintaining the state in which the monitoring unit 120 does not output the shutoff signal DS.

[0132] A stop switch 150 is provided which outputs a stop signal SS in response to an input operation by the user, and the predetermined operation is a stop operation based on the stop signal SS output from the stop switch 150. When the user performs a stopping operation such as an emergency stop, the robot controller 110 can stop the motor 41 and the arm of the motor 41 at a predetermined position.

[0133] The encoder signal ES preferably includes the rotational speed of the output shaft 43 . The robot controller 110 can perform control while checking the rotation speed of the output shaft 43.

[0134] Fig. 11 shows a control flow executed by the robot 10. Fig. 11 shows a control flow when the motor 41 executes a stopping operation. Fig. 11 shows, in the form of a flowchart, a control flow executed by the control unit 100. The control flow corresponds to an example of a control method for the robot 10.

[0135] In step S101, the robot 10 drives the motor 41. The robot controller 110 of the robot 10 operates the motor unit 40 including the motor 41 based on the control signal CS. The operation of the motor 41 causes the robot arm 20 to perform a predetermined operation.

[0136] When the motor 41 is driven, the robot 10 determines whether or not a stop signal SS has been input in step S103. As an example, the robot 10 receives the stop signal SS immediately before time t0. When the user performs an input operation on the stop switch 150, the stop switch 150 transmits the stop signal SS to the robot controller 110. The robot controller 110 receives the stop signal SS transmitted from the stop switch 150. If the robot 10 determines that the stop signal SS has been input, it proceeds to step S105 (step S103: YES). If the robot 10 determines that the stop signal SS has not been input, it proceeds to step S113 (step S103: NO).

[0137] When the stop signal SS is input, in step S105, the robot 10 performs stop control based on the control signal CS. The robot controller 110 generates a group of control signals including the control signal CS for stopping the motor 41. The control signal CS includes a controller control value. The robot controller 110 transmits the control signal CS included in the group of control signals to the motor driver 60 at a predetermined timing. The motor driver 60 receives the control signal CS. The motor driver 60 transmits a driver signal MS corresponding to the control signal CS to the motor unit 40. The motor unit 40 receives the driver signal MS. The motor 41 performs a stop operation based on the driver signal MS. When the motor 41 decelerates based on the driver signal MS, the encoder 45 detects the rotation speed. The motor unit 40 generates an encoder signal ES including the rotation speed as an encoder output value. The motor unit 40 transmits the encoder signal ES to the motor driver 60. The motor driver 60 transmits the encoder signal ES to the robot controller 110 and the monitoring unit 120.

[0138] When the robot 10 receives the encoder signal ES, in step S107, the robot controller 110 compares the evaluation value with the control allowable value. The robot controller 110 determines whether or not the evaluation value is greater than the control allowable value.

[0139] As an example, at time t1, the robot controller 110 calculates an evaluation value between the control signal CS whose controller control value is v1 and the encoder signal ES whose encoder output value is e1. The robot controller 110 determines that the evaluation value is smaller than the control allowable value. When the evaluation value is smaller than the control allowable value, the process returns to step S105 (step S107: NO).

[0140] The robot controller 110 may, for example, k At time, the controller value is v k The control signal CS and the encoder output value are e kand the encoder signal ES, which is equal to or larger than the control allowable value. The robot controller 110 determines that the evaluation value is larger than the control allowable value. When the evaluation value is larger than the control allowable value, the process proceeds to step S109 (step S107: YES).

[0141] In step S109, the robot 10 performs stop control based on the modified control signal MCS. The robot controller 110 generates a modified control signal MCS including a modified controller control value. As an example, the robot controller 110 generates a modified control signal MCS in which the modified controller control value is the encoder output value received immediately before. The robot controller 110 generates a modified control signal MCS in which the modified controller control value is the encoder output value received immediately before. k At time, the controller set point is v k The control signal CS and the encoder output value are e k The robot controller 110 obtains an encoder signal ES, which is v k and e k e than the evaluation value between k may generate a modified control signal MCS including a modified controller control value that has a smaller difference between the modified control value MCS and the motor driver 60. The robot controller 110 transmits the modified control signal MCS to the motor driver 60. The robot controller 110 controls the motor 41 to stop.

[0142] In step S111, the robot 10 determines whether or not the control has ended. The robot controller 110 determines whether or not the stop control has ended based on the encoder signal ES. When the encoder output value included in the encoder signal ES is 0, the robot controller 110 determines that the stop control has ended (step S111: YES). The robot 10 ends the control. When the encoder output value included in the encoder signal ES is not 0, the robot controller 110 determines that the stop control has not ended (step S111: NO). The robot 10 returns to step S109.

[0143] In step S113, the robot 10 determines whether or not the control has ended. The robot controller 110 determines whether or not the operation based on the control signal CS has ended based on the encoder signal ES. When the control based on the control signal CS has ended, the robot controller 110 determines that the control has ended (step S113: YES). The robot 10 ends the control. When the control based on the control signal CS has not ended, the robot controller 110 determines that the control has not ended (step S113: NO). The robot 10 returns to step S103.

[0144] Here, in step S107, when the evaluation value is smaller than the control allowable value (step S107: NO), the configuration is described in which the process returns to step S105, but the present invention is not limited to this. For example, after determining that the evaluation value is smaller than the control allowable value (step S107: NO), the robot controller 110 may determine whether or not the stop control has ended based on the encoder signal ES. Also, when the encoder output value included in the encoder signal ES is 0, the robot controller 110 may determine that the stop control has ended, and the robot 10 may end the control.

[0145] The robot 10 includes a motor 41 that operates based on a control signal CS, an encoder 45 that detects the operation of the motor 41 based on the control signal CS and outputs an encoder signal ES, and a monitoring unit 120 that compares a difference between the control signal CS and the encoder signal ES based on the control signal CS with an allowable value and outputs a shutoff signal DS when the difference is greater than the allowable value. k and sending a control signal CS to the motor 41 such that the controller control value is v k The encoder output value based on the control signal CS is e k receiving from the encoder 45 an encoder signal ES having an encoder output value e k The difference between the encoder signal ES and the controller control value vk The control signal CS and the encoder output value are e k If the corrected controller control value is smaller than the evaluation value between the encoder signal ES and k and generating a modified control signal MCS such that the modified controller control value is e k sending a modified control signal MCS to the motor 41 such that the encoder output value based on the modified control signal MCS is e k+1 receiving from the encoder 45 an encoder signal ES having a value e k+1 and comparing the difference between the encoder signal ES, i.e., the first signal, i, with a tolerance value. When performing a predetermined operation, the motor 41 operates under the control of the robot controller 110. The position of the arm operated by the motor 41 is controlled. After performing a predetermined operation, the robot 10 can be restarted in a short time. In addition, the corrected controller control value and e k The difference with v k and e k When the evaluation value, which is the absolute value of the difference between the detected power and the motor 41, becomes smaller, the possibility that the monitoring unit 120 outputs the shutdown signal DS decreases. In other words, the possibility that the motor 41 stops due to the supply of power being stopped decreases, and the stopping position of the rotating shaft of the motor 41 is prevented from becoming indefinite.

[0146] Fig. 12 shows an example of a workpiece operation performed by the robot 10. Fig. 12 shows a case where the robot 10 transports a part AP, which is an example of a workpiece, to a predetermined position. The robot 10 grasps the part AP with an end effector (not shown). The robot 10 transports the part AP and places it at a predetermined position on a table TA. The control unit 100 moves the robot arm 20 from a control start position P0 to a placement position P1 by torque control. The placement position P1 is the surface of the table TA.

[0147] The robot controller 110 generates a group of control signals including a control signal CS. The control signal CS includes a controller control value. The controller control value is information that indicates the rotational position of the output shaft 43. The robot controller 110 uses the control signal CS to control the transportation of the part AP.

[0148] When performing torque control, the robot controller 110 generates a group of control signals for moving the part AP to the control movement position P2. The robot controller 110 performs control for moving the part AP to the control movement position P2 based on the control signals CS. When the robot controller 110 performs torque control, the motor 41 performs a torque control operation. The torque control operation corresponds to an example of a predetermined operation.

[0149] Fig. 13 is a schematic block diagram of the robot 10. Fig. 13 shows a state when the robot controller 110 performs torque control. Fig. 13 shows the flow of each signal and the state of power supply. The multiple motor units 40 are each controlled based on the flow of each signal shown in Fig. 13. Fig. 13 omits the area sensor 160.

[0150] When operating the motor unit 40 by torque control, the robot controller 110 generates a control signal group including a series of control signals CS. The robot controller 110 transmits the control signal CS included in the control signal group to the motor driver 60 at a predetermined timing. As an example, the control signal CS includes a controller control value that indicates the rotational position of the output shaft 43 of the motor 41. When transmitting the control signal CS to the motor driver 60, the robot controller 110 transmits the control signal CS to the monitoring unit 120. When performing torque control, the robot controller 110 may generate a torque control signal TC indicating that torque control is to be performed. The robot controller 110 transmits the torque control signal TC to the motor driver 60.

[0151] The motor driver 60 receives a control signal CS and a torque control signal TC. The motor driver 60 generates a driver signal MS corresponding to the control signal CS. The driver signal MS is a signal that can be processed by the motor unit 40. The motor driver 60 generates the driver signal MS including a controller control value. The motor driver 60 transmits the driver signal MS to the motor unit 40.

[0152] The motor unit 40 receives a driver signal MS. The motor 41 included in the motor unit 40 rotates an output shaft 43 based on a controller control value included in the driver signal MS. The encoder 45 detects the rotational position of the output shaft 43, which rotates based on the controller control value, as an encoder output value. The motor unit 40 outputs an encoder signal ES including the encoder output value to the motor driver 60. The motor unit 40 may output the encoder signal ES to the monitoring unit 120.

[0153] The motor driver 60 receives an encoder signal ES including an encoder output value. The received encoder signal ES is a signal based on a control signal CS. The motor driver 60 transmits the encoder signal ES to the robot controller 110 and the monitoring unit 120. If the motor unit 40 transmits the encoder signal ES directly to the monitoring unit 120, the motor driver 60 does not need to transmit the encoder signal ES to the monitoring unit 120.

[0154] The monitoring unit 120 receives a control signal CS and an encoder signal ES based on the control signal CS. The monitoring unit 120 compares the control signal CS with the encoder signal ES. The monitoring unit 120 compares a controller control value included in the control signal CS with an encoder output value included in the encoder signal ES. The monitoring unit 120 calculates a difference between the controller control value and the encoder output value. The monitoring unit 120 compares the difference with an allowable value. If the monitoring unit 120 determines that the difference is smaller than the allowable value, it determines that the motor 41 is operating normally. If the monitoring unit 120 determines that the difference is larger than the allowable value, it determines that the motor 41 is operating abnormally. If the monitoring unit 120 determines that the difference is larger than the allowable value, it outputs a shutoff signal DS to the shutoff unit 80.

[0155] The robot controller 110 receives an encoder signal ES corresponding to a control signal CS. The robot controller 110 compares the control signal CS with the encoder signal ES. The monitoring unit 120 compares a controller control value included in the control signal CS with an encoder output value included in the encoder signal ES. The monitoring unit 120 calculates a difference between the controller control value and the encoder output value as an evaluation value.

[0156] The robot controller 110 reads the tolerance value stored in the memory 130. The robot controller 110 determines a control tolerance value based on the tolerance value. The control tolerance value may be stored in advance in the memory 130. If the control tolerance value is stored in the memory 130, the robot controller 110 reads the control tolerance value from the memory 130. The robot controller 110 temporarily stores the control tolerance value. The control tolerance value is a value smaller than the tolerance value. The control tolerance value corresponds to an example of a second threshold value.

[0157] The robot controller 110 compares the evaluation value with the control tolerance. When the evaluation value is smaller than the control tolerance, the robot controller 110 continues to stop the motor 41 using a control signal CS included in the control signal group. When the evaluation value is larger than the control tolerance, the robot controller 110 modifies the control signal CS to generate a modified control signal MCS. The modified control signal MCS includes a modified controller control value. As an example, the robot controller 110 generates a modified control signal MCS in which the modified controller control value is the encoder output value received immediately before generating the modified control signal MCS.

[0158] Fig. 14 is a schematic block diagram of the robot 10. Fig. 14 shows a state when the robot controller 110 generates a modified control signal MCS. Fig. 14 shows the flow of each signal and the power supply state. Each of the multiple motor units 40 is controlled based on the flow of each signal shown in Fig. 14. Fig. 14 omits the area sensor 160.

[0159] The robot controller 110 transmits a modified control signal MCS including a modified controller control value to the motor driver 60 at a predetermined timing. The robot controller 110 transmits the modified control signal MCS to the monitoring unit 120.

[0160] The motor driver 60 receives the modified control signal MCS. Upon receiving the modified control signal MCS, the motor driver 60 transmits a driver signal MS to the motor unit 40. The motor driver 60 transmits to the motor unit 40 a driver signal MS that corresponds to the modified control signal MCS.

[0161] The motor unit 40 receives a driver signal MS. The motor 41 operates based on the driver signal MS. The encoder 45 detects the rotational position of the output shaft 43 when the motor 41 operates as an encoder output value. The motor unit 40 outputs an encoder signal ES including the encoder output value to the motor driver 60. The motor unit 40 may have a torque limiter (not shown). When a torque equal to or greater than a predetermined torque is applied to the motor 41, the motor unit 40 cuts off the load applied to the output shaft 43.

[0162] The motor driver 60 receives the encoder signal ES. The encoder signal ES corresponds to the modified control signal MCS. The motor driver 60 transmits the encoder signal ES to the robot controller 110 and the monitoring unit 120. If the motor unit 40 transmits the encoder signal ES directly to the monitoring unit 120, the motor driver 60 does not need to transmit the encoder signal ES to the monitoring unit 120.

[0163] The monitoring unit 120 receives the modified control signal MCS and the encoder signal ES based on the modified control signal MCS. The monitoring unit 120 compares the modified control signal MCS with the encoder signal ES. The monitoring unit 120 compares the modified controller control value included in the modified control signal MCS with the encoder output value included in the encoder signal ES. The monitoring unit 120 calculates a difference between the modified controller control value and the encoder output value. The monitoring unit 120 compares the difference with a tolerance. If the monitoring unit 120 determines that the difference is smaller than the tolerance, it determines that the motor 41 is operating normally. If the monitoring unit 120 determines that the difference is larger than the tolerance, it determines that the motor 41 is operating abnormally. If the monitoring unit 120 determines that the difference is larger than the tolerance, it outputs a shutoff signal DS to the shutoff unit 80.

[0164] The modified controller control value included in the modified control signal MCS is the previously received encoder output value. The difference between the modified controller control value and the encoder output value based on the modified controller control value is smaller than the allowable value. The possibility that the monitoring unit 120 outputs the shutoff signal DS decreases. The robot controller 110 can control the motor unit 40 to cause the motor 41 to perform a stopping operation.

[0165] The robot controller 110 receives the encoder signal ES corresponding to the modified control signal MCS. The robot controller 110 acquires the encoder output value included in the encoder signal ES. The robot controller 110 generates a modified control signal MCS with the acquired encoder output value as the modified controller control value. The robot controller 110 generates the modified control signal MCS including the encoder output value as the modified controller control value every time it receives the encoder signal ES. The robot controller 110 operates the motor 41 by transmitting the modified control signal MCS to the motor driver 60.

[0166] FIG. 15 shows the controller control value etc. output at a predetermined timing. FIG. 15 shows the controller control value etc. when the motor 41 is caused to execute a torque control operation. FIG. 15 shows a case where the torque control operation is performed from time t0. The controller control value is included in the control signal CS. The encoder output value is a detection value output from the encoder 45 corresponding to the control signal CS including the controller control value. (Evaluation value-control tolerance value) indicates the result of subtracting the control tolerance value from the evaluation value for each time. "-" indicates that the evaluation value is smaller than the control tolerance value. "+" indicates that the evaluation value is larger than the control tolerance value.

[0167] When performing torque control, the robot controller 110 generates a group of control signals for causing the motor 41 to execute a torque control operation. nA control signal group is generated up to time. The control signal group is a group of n+1 data, where n is an integer.

[0168] At time t0, the robot controller 110 transmits a control signal CS and a torque control signal TC, whose controller control value is p0, to the motor driver 60. p0 is an instruction value for the rotational position of the output shaft 43 of the motor 41. In Fig. 15, the controller control value indicates an instruction value for the rotational position.

[0169] The motor driver 60 receives a control signal CS and a torque control signal TC, the controller control value of which is p0. The motor driver 60 generates a driver signal MS when it receives the control signal CS. The driver signal MS includes a controller control value. When the motor driver 60 receives the control signal CS, the motor driver 60 transmits the driver signal MS, the controller control value of which is p0, to the motor unit 40.

[0170] The motor unit 40 receives a driver signal MS whose controller control value is p0. The motor 41 drives the rotational position of the output shaft 43 toward p0 based on the driver signal MS. After the motor 41 drives, the encoder 45 detects the rotational position of the output shaft 43. The encoder 45 detects that the encoder output value is E0. E0 indicates the rotational position. The motor unit 40 outputs an encoder signal ES whose encoder output value is E0 to the motor driver 60.

[0171] The motor driver 60 receives the encoder signal ES, whose encoder output value is E0. The motor driver 60 transmits the encoder signal ES to the robot controller 110 and the monitoring unit 120.

[0172] The robot controller 110 receives an encoder signal ES with an encoder output value of E0. The robot controller 110 calculates the absolute value of the difference between p0 and E0 as an evaluation value. The robot controller 110 calculates a value obtained by subtracting the control tolerance from the evaluation value. At time t0, the value obtained by subtracting the control tolerance from the evaluation value is a negative value. The evaluation value is smaller than the control tolerance. The robot controller 110 transmits a control signal CS included in the control signal group to the motor driver 60 at time t1. The control signal CS transmitted at time t1 is a signal with a controller control value of p1. The robot controller 110 transmits the control signal CS at a predetermined timing, and receives an encoder signal ES corresponding to the control signal CS from the motor driver 60.

[0173] The monitoring unit 120 receives a control signal CS with a controller control value p0 and an encoder signal ES with an encoder output value E0. The monitoring unit 120 calculates the absolute value of the difference between p0 and E0 as a difference. The monitoring unit 120 compares the difference with a tolerance. The difference at time t0 is smaller than the control tolerance. The difference at time t0 is smaller than the tolerance. The monitoring unit 120 does not send a shutoff signal DS to the shutoff unit 80. The robot controller 110 can cause the motor 41 to perform a stopping operation based on the control signal CS.

[0174] The robot controller 110 m At time, the controller control value is p m The control signal CS is sent to the motor driver 60 such that m is an integer smaller than n. m The control signal CS corresponds to an example of a first control signal. mThe motor driver 60 receives a control signal CS, which is represented as E. The motor driver 60 transmits a driver signal MS corresponding to the control signal CS to the motor unit 40. The motor unit 40 receives the driver signal MS. The motor 41 drives the output shaft 43 based on the driver signal MS. When the motor 41 is driven, the encoder 45 detects the rotational position of the output shaft 43. The motor unit 40 receives an encoder output value E m The motor driver 60 transmits the encoder signal ES, which is m The encoder signal ES is sent to the robot controller 110 and the monitoring unit 120. When the encoder output value is E m The encoder signal ES represented as follows corresponds to an example of a first detection value.

[0175] The robot controller 110 detects that the encoder output value is E m The robot controller 110 receives an encoder signal ES, which is p m and E m The absolute value of the difference between t and t is calculated as the evaluation value. m The evaluation value at time t corresponds to an example of a difference value. The robot controller 110 calculates a value obtained by subtracting the control allowable value from the evaluation value. m At time, the rating value minus the control tolerance is the + value. The rating value is greater than the control tolerance.

[0176] When the robot controller 110 determines that the evaluation value is greater than the control tolerance, it generates a modified control signal MCS. m Generate a modified control signal MCS, which is E m is the corrected controller control value. The robot controller 110 sets the encoder output value as the corrected controller control value. The robot controller 110 sets t m The difference between the time and the encoder output value is t mThe robot controller 110 generates a modified control signal MCS including a modified controller control value that is smaller than the evaluation value at time E. m The modified control signal MCS is generated such that the modified controller control value E m The modified control signal MCS corresponds to an example of the second control signal. m+1 The corrected controller control value is E m The modified control signal MCS is sent to the motor driver 60.

[0177] Motor driver 60 is a modified controller control value E m The motor driver 60 receives a modified control signal MCS, which is represented as E. The motor driver 60 transmits a driver signal MS corresponding to the modified control signal MCS to the motor unit 40. The motor unit 40 receives the driver signal MS. The motor 41 drives the output shaft 43 based on the driver signal MS. When the motor 41 is driven, the encoder 45 detects the rotational position of the output shaft 43. The motor unit 40 receives an encoder output value E m+1 The motor driver 60 transmits the encoder signal ES, which is m+1 The encoder signal ES is sent to the robot controller 110 and the monitoring unit 120.

[0178] The robot controller 110 detects that the encoder output value is E m+1 The robot controller 110 receives an encoder signal ES, which is m and E m+1 The absolute value of the difference between the evaluation value and the control allowable value is calculated. The robot controller 110 calculates a value by subtracting the control allowable value from the evaluation value. m+1 At time, the evaluation value minus the control tolerance is a negative value. The evaluation value is less than the control tolerance. The robot controller 110 determines whether the modified controller control value is E m+1 The robot controller 110 generates a modified control signal MCS such that the modified controller control value Em+1 The modified control signal MCS is sent to the motor driver 60.

[0179] The monitoring unit 120 detects whether the modified controller control value is E m The modified control signal MCS and the encoder output value E m+1 The monitoring unit 120 receives the encoder signal ES, which is m and E m+1 The absolute value of the difference between the two is calculated as the difference. The monitoring unit 120 compares the difference with the tolerance. m+1 The difference in time is less than the control tolerance. t m+1 The difference in time is smaller than the allowable value, and the monitoring unit 120 does not send a shutoff signal DS to the shutoff unit 80. The robot controller 110 can make the motor 41 perform a stopping operation based on the control signal CS.

[0180] t m+1 After the time, the robot controller 110 generates a modified control signal MCS with the previously received encoder output value as a modified controller control value. The robot controller 110 transmits the modified control signal MCS to the motor driver 60. By transmitting the modified control signal MCS, the robot controller 110 causes the motor 41 to perform a torque control operation. The motor 41 performs a torque control operation under the control of the robot controller 110.

[0181] Fig. 16 is a schematic diagram showing the change over time in the position of the part AP and the torque applied to the motor 41. The robot controller 110 moves the part AP by the torque control shown in Figs. 13, 14, and 15. Fig. 16 shows the fluctuation in the position of the part AP when the robot arm 20 moves the part AP. Fig. 16 shows the fluctuation in the torque applied to the motor 41 when the robot arm 20 moves the part AP. Fig. 16 shows the detected position DP detected by the encoder 45 and the controller control position CP, which is the controller control value.

[0182] The robot controller 110 causes the motor 41 to execute a torque control operation from time t0. At time t0, the bottom end of the part AP is located at the control start position P0. After time t0, the robot controller 110 sends a control signal CS included in the control signal group to the motor driver 60. The robot controller 110 drives the motor 41 by sending the control signal CS to the motor driver 60. When the motor 41 drives, the encoder 45 detects the rotational position of the output shaft 43.

[0183] After time t0, the robot controller 110 lowers the part AP. The part AP lowers from the control start position P0 to the placement position P1. s At time s, the part AP reaches the placement position P1, where s is an integer smaller than m. After reaching the placement position P1, the part AP is positioned at the placement position P1. The robot controller 110 continues to send a control signal CS to the motor driver 60 to move the part AP to a controlled movement position P2. The robot controller 110 controls the part AP to descend to a controlled movement position P2 that is lower than the placement position P1. The robot controller 110 applies stress to the part AP to stop it at a predetermined position.

[0184] t s After time t, the torque applied to the motor 41 is increased by the control of the robot controller 110. m At time t, the robot controller 110 determines that the evaluation value is greater than the control tolerance. The robot controller 110 generates a modified control signal MCS that includes a modified controller control value. The modified controller control value is converted to the most recently received encoder output value. The robot controller 110 determines that the evaluation value is greater than the control tolerance. m+1 After time t, the modified control signal MCS is sent to the motor driver 60. m+1 After that time, the sudden increase in the torque applied to the motor 41 is suppressed.

[0185] Fig. 17 shows a control flow executed by the robot 10. Fig. 17 shows a control flow when the motor 41 executes a torque control operation. Fig. 17 shows, in the form of a flowchart, a control flow executed by the control unit 100. The control flow corresponds to an example of a control method for the robot 10.

[0186] In step S201, the robot 10 determines whether or not to drive the motor unit 40 by torque control. The robot controller 110 determines whether or not to cause the motor 41 included in the motor unit 40 to execute a torque control operation. When the robot controller 110 determines that the motor unit 40 is not to be operated by torque control, the process proceeds to step S203 (step S201: NO). When the robot controller 110 determines that the motor unit 40 is to be operated by torque control, the process proceeds to step S205 (step S201: YES).

[0187] In step S203, the robot 10 drives the motor unit 40 with speed control. The robot controller 110 operates the motor 41 with speed control drive. The robot controller 110 may drive the motor 41 with control other than speed control.

[0188] In step S205, the robot 10 performs torque control based on the control signal CS. The robot controller 110 generates a group of control signals including the control signal CS for torque-controlling the motor 41. The control signal CS includes a controller control value. The robot controller 110 transmits the control signal CS included in the group of control signals to the motor driver 60 at a predetermined timing. The motor driver 60 receives the control signal CS. The motor driver 60 transmits a driver signal MS corresponding to the control signal CS to the motor unit 40. The motor unit 40 receives the driver signal MS. The motor 41 performs torque control operation based on the driver signal MS. When the motor 41 is driven based on the driver signal MS, the encoder 45 detects the rotation position. The motor unit 40 generates an encoder signal ES having the rotation position as an encoder output value. The motor unit 40 outputs the encoder signal ES to the motor driver 60. The motor driver 60 transmits the encoder signal ES to the robot controller 110 and the monitoring unit 120.

[0189] When the robot 10 receives the encoder signal ES, in step S207, the robot controller 110 compares the evaluation value with the control allowable value. The robot controller 110 determines whether or not the evaluation value is greater than the control allowable value.

[0190] For example, at time t1, the robot controller 110 calculates an evaluation value between the control signal CS whose controller control value is p1 and the encoder signal ES whose encoder output value is E1. The robot controller 110 determines that the evaluation value is smaller than the control allowable value. When the evaluation value is smaller than the control allowable value, the process returns to step S205 (step S207: NO).

[0191] The robot controller 110 may, for example, m At time, the controller value is p m The control signal CS and the encoder output value E mand the encoder signal ES, which is equal to or larger than the control allowable value. The robot controller 110 determines that the evaluation value is larger than the control allowable value. When the evaluation value is larger than the control allowable value, the process proceeds to step S209 (step S207: YES).

[0192] In step S209, the robot 10 performs torque control based on the modified control signal MCS. The robot controller 110 generates the modified control signal MCS including a modified controller control value. As an example, the robot controller 110 generates the modified control signal MCS in which the modified controller control value is the encoder output value received immediately before. The robot controller 110 generates the modified control signal MCS in which the modified controller control value is the encoder output value received immediately before. m At time, the controller set point is p m The control signal CS and the encoder output value E m The robot controller 110 obtains an encoder signal ES, which is p m and E m E than the evaluation value between m The robot controller 110 may generate a modified control signal MCS including a modified controller control value that has a smaller difference between the modified control value MCS and the motor driver 60. The robot controller 110 transmits the modified control signal MCS to the motor driver 60. The robot controller 110 performs a torque control operation of the motor 41 by transmitting the modified control signal MCS to the motor driver 60.

[0193] In step S211, the robot 10 determines whether or not the control has ended. The robot controller 110 determines whether or not the torque control has ended based on the encoder signal ES. If the robot controller 110 determines that the torque control has ended, it ends the control (step S211: YES). If the robot controller 110 determines that the torque control has not ended, it returns to step S209 (step S211: NO).

[0194] Here, in step S207, when the evaluation value is smaller than the control allowable value (step S207: NO), the configuration is described, but the present invention is not limited to this. For example, after determining that the evaluation value is smaller than the control allowable value (step S207: NO), the robot controller 110 may determine whether or not the torque control has ended based on the encoder signal ES. Also, when the robot controller 110 determines that the torque control has ended, the robot 10 may end the control.

[0195] Preferably, the predetermined action is a torque control action. The robot controller 110 can control the driving of the motor 41 in a state in which the monitoring unit 120 does not output a shutoff signal DS.

[0196] The encoder signal ES preferably includes the rotational position of the output shaft 43 . The robot controller 110 can easily control the position of a workpiece such as a part AP.

[0197] Second embodiment Fig. 18 shows a schematic configuration of a robot system 500. Fig. 18 shows a robot 10 and a control device 200. The robot system 500 shown in Fig. 18 is used for various tasks such as transport, assembly, and inspection of various workpieces.

[0198] The configuration of the robot 10 shown in Fig. 18 is the same as the configuration of the robot 10 shown in Fig. 1. The robot 10 is placed on a floor FL. The robot 10 is connected to a control device 200 so as to be able to communicate with each other.

[0199] The control device 200 controls the operation of the robot 10. The control device 200 is configured separately from the robot 10. The control device 200 is communicatively connected to the robot 10. The control device 200 is communicatively connected to the robot 10 via a cable. The control device 200 may be communicatively connected to the robot 10 wirelessly. The control device 200 supplies power to the robot 10 via a cable. The control device 200 corresponds to an example of a robot control device.

[0200] Fig. 19 shows a block configuration of a robot system 500. Fig. 19 shows an example of an arrangement of each unit included in the robot 10 and the control device 200. The arrangement of each unit is not limited to the configuration in Fig. 19.

[0201] The robot 10 includes a robot arm 20, an interrupting unit 80, and an area sensor 160. The robot arm 20 includes a motor unit 40 and a motor driver 60. The robot arm 20, the motor unit 40, the motor driver 60, the interrupting unit 80, and the area sensor 160 shown in Fig. 19 have the same configurations as the robot arm 20, the motor unit 40, the motor driver 60, the interrupting unit 80, and the area sensor 160 shown in Fig. 4.

[0202] The motor unit 40 has a motor 41, an encoder 45, and a brake 47. The motor 41 rotates the output shaft 43 based on a control signal CS transmitted from a motor driver 60. The encoder 45 generates an encoder signal ES representing the rotational position or rotational angle of the output shaft 43. The motor unit 40 transmits the encoder signal ES to the motor driver 60.

[0203] The motor driver 60 receives a control signal CS transmitted from the robot controller 110 of the control device 200. The motor driver 60 transmits a driver signal MS based on the control signal CS to the motor unit 40. The motor driver 60 receives an encoder signal ES from the motor unit 40. The motor driver 60 transmits the encoder signal ES to the robot controller 110 and the monitoring unit 120 of the control device 200.

[0204] The cutoff unit 80 supplies or cuts off power from the power supply unit 70 of the control device 200 to the motor unit 40. When the cutoff unit 80 receives a cutoff signal DS output from the monitoring unit 120, it cuts off the power to the motor unit 40.

[0205] The area sensor 160 detects the operating range of the robot arm 20 or each arm. When the robot arm 20 exceeds a predetermined operating area, an area error signal is sent to the control device 200.

[0206] The control device 200 includes a power supply unit 70, a memory 130, a communication interface 140, a stop switch 150, a first processor 210, and a second processor 220. The power supply unit 70, the memory 130, the communication interface 140, and the stop switch 150 shown in Fig. 19 have the same configurations as the power supply unit 70, the memory 130, the communication interface 140, and the stop switch 150 shown in Fig. 4.

[0207] The power supply unit 70 supplies power from an external power supply to each unit in the control device 200 and the robot 10. The power supply unit 70 supplies power to the motor unit 40 via the cutoff unit 80.

[0208] The memory 130 stores various data and the like. The memory 130 stores a robot control program executed by the first processor 210. The memory 130 stores a monitoring program executed by the second processor 220. The memory 130 stores various control data used by the robot controller 110. The memory 130 stores monitoring data such as allowable values ​​used by the monitoring unit 120. The memory 130 stores evaluation values, comparison results, and the like calculated by the monitoring unit 120 as history data.

[0209] The communication interface 140 is an interface circuit that connects to an external device for communication, and is connected to the external device via wire or wirelessly in accordance with a predetermined communication protocol.

[0210] The stop switch 150 is a switch that is operated by a user of the robot system 500. For example, when the robot arm 20 executes an unexpected operation, the user performs an input operation on the stop switch 150. When an input operation is performed, the stop switch 150 outputs a stop signal SS to the robot controller 110.

[0211] The first processor 210 is a processor circuit having a CPU. The first processor 210 functions as the robot controller 110 by executing a robot control program stored in the memory 130. The robot controller 110 is a functional unit that operates on the first processor 210. The robot controller 110 shown in FIG. 19 has the same functions as the robot controller 110 shown in FIG.

[0212] The second processor 220 is a processor circuit having a CPU. The second processor 220 functions as the monitoring unit 120 by executing a monitoring program stored in the memory 130. The monitoring unit 120 is a functional part that operates in the second processor 220. The monitoring unit 120 shown in FIG. 19 has the same functions as the monitoring unit 120 shown in FIG.

[0213] The first processor 210 and the second processor 220 function as the control unit 100 shown in Fig. 4. Fig. 19 includes the first processor 210 and the second processor 220, but is not limited to this configuration. One processor may function as the control unit 100 shown in Fig. 4.

[0214] When the robot controller 110 causes the motor 41 to perform a predetermined operation, it generates a group of control signals for operating the motor 41. The predetermined operation is a stopping operation, a torque control operation, etc. The robot controller 110 transmits a control signal CS included in the group of control signals to the motor driver 60 at a predetermined timing.

[0215] The motor driver 60 receives the control signal CS. The motor driver 60 generates a driver signal MS corresponding to the control signal CS. The motor driver 60 transmits the driver signal MS to the motor unit 40.

[0216] The motor unit 40 receives a driver signal MS. The motor 41 operates based on the driver signal MS. The encoder 45 detects, as an encoder output value, the rotational position or rotational speed of the output shaft 43 when the motor 41 operates. The motor unit 40 outputs an encoder signal ES including the encoder output value to the motor driver 60.

[0217] The motor driver 60 receives the encoder signal ES, which corresponds to the control signal CS, and transmits the encoder signal ES to the robot controller 110 and the monitoring unit 120.

[0218] The monitoring unit 120 receives a control signal CS and an encoder signal ES based on the control signal CS. The monitoring unit 120 compares the control signal CS with the encoder signal ES. The monitoring unit 120 compares a controller control value included in the control signal CS with an encoder output value included in the encoder signal ES. The monitoring unit 120 calculates a difference between the controller control value and the encoder output value. The monitoring unit 120 compares the difference with an allowable value. If the monitoring unit 120 determines that the difference is smaller than the allowable value, it determines that the motor 41 is operating normally. If the monitoring unit 120 determines that the difference is larger than the allowable value, it determines that the motor 41 is operating abnormally. If the monitoring unit 120 determines that the difference is larger than the allowable value, it outputs a shutoff signal DS to the shutoff unit 80.

[0219] The robot controller 110 receives an encoder signal ES corresponding to a control signal CS. The robot controller 110 compares the control signal CS with the encoder signal ES. The monitoring unit 120 compares a controller control value included in the control signal CS with an encoder output value included in the encoder signal ES. The monitoring unit 120 calculates a difference between the controller control value and the encoder output value as an evaluation value.

[0220] The robot controller 110 reads the tolerance value stored in the memory 130. The robot controller 110 determines a control tolerance value based on the tolerance value. The control tolerance value may be stored in advance in the memory 130. If the control tolerance value is stored in the memory 130, the robot controller 110 reads the control tolerance value from the memory 130. The robot controller 110 temporarily stores the control tolerance value. The control tolerance value is a value smaller than the tolerance value.

[0221] The robot controller 110 compares the evaluation value with the control tolerance. If the evaluation value is smaller than the control tolerance, the robot controller 110 continues to operate the motor 41 using the control signal CS included in the control signal group. If the evaluation value is larger than the control tolerance, the robot controller 110 modifies the control signal CS to generate a modified control signal MCS.

[0222] The modified control signal MCS includes a modified controller control value. The modified control signal MCS is a signal that stops the motor 41. As an example, the robot controller 110 generates the modified control signal MCS in which the modified controller control value is the encoder output value received immediately before generating the modified control signal MCS. The robot controller 110 transmits the modified control signal MCS to the motor driver 60. The robot controller 110 controls the operation of the motor 41.

[0223] The robot system 500 includes a control device 200 and a robot 10. The control device 200 includes a robot controller 110 that transmits a control signal CS at a predetermined timing, and a monitoring unit 120 that compares a difference between the control signal CS and an encoder signal ES based on the control signal CS with a tolerance and outputs a shutoff signal DS when the difference is greater than the tolerance. The robot 10 includes a motor 41 having an output shaft 43, and an encoder 45 that outputs an encoder signal ES based on the control signal CS. When causing the motor 41 to perform a predetermined operation, the robot controller 110 transmits the control signal CS, receives from the encoder 45 an encoder signal ES based on the control signal CS, generates a modified control signal MCS whose difference with the encoder signal ES is smaller than an evaluation value between the control signal CS and the encoder signal ES, and transmits the modified control signal MCS to the motor 41, and the monitoring unit receives the modified control signal MCS from the robot controller 110 and compares the difference between the modified control signal MCS and the encoder signal ES with a tolerance. When performing a predetermined operation, the motor 41 operates under the control of the robot controller 110. The position of the arm operated by the motor 41 is controlled. The robot 10 can perform restarting, etc., in a short time after performing a predetermined operation. In addition, the difference between the corrected control signal MCS and the encoder signal ES is smaller than the difference between the control signal CS and the encoder signal ES, which reduces the possibility that the monitoring unit 120 will output a cutoff signal DS. In other words, the motor 41 is less likely to stop due to the supply of power being cut off, and the stopping position of the rotation shaft of the motor 41 is prevented from becoming indefinite.

[0224] 19, the cutoff unit 80 is provided in the robot 10, but is not limited to this. The cutoff unit 80 may be provided in the control device 200. The power supply unit 70 may be provided in the robot 10. The arrangement of each unit is set appropriately. [Explanation of symbols]

[0225] Reference Signs List 10...robot, 11...base, 20...robot arm, 21...first arm, 22...second arm, 23...third arm, 24...fourth arm, 25...fifth arm, 26...sixth arm, 31...first drive section, 32...second drive section, 33...third drive section, 34...fourth drive section, 35...fifth drive section, 36...sixth drive section, 40...motor unit, 40a...first motor unit, 40b...second motor unit, 40c...third motor unit, 40d...fourth motor unit, 40e...fifth motor unit, 40f...sixth motor unit, 41...motor, 41a...second 1 motor, 41b...second motor, 41c...third motor, 41d...fourth motor, 41e...fifth motor, 41f...sixth motor, 43...output shaft, 45...encoder, 45a...first encoder, 45b...second encoder, 45c...third encoder, 45d...fourth encoder, 45e...fifth encoder, 45f...sixth encoder, 47...brake, 47a...first brake, 47b...second brake, 47c...third brake, 47d...fourth brake, 47e...fifth brake, 47f...sixth brake, 49...pulley, 51...first joint, 52... Second joint, 53...third joint, 54...fourth joint, 55...fifth joint, 56...sixth joint, 60...motor driver, 60a...first motor driver, 60b...second motor driver, 60c...third motor driver, 60d...fourth motor driver, 60e...fifth motor driver, 60f...sixth motor driver, 70...power supply unit, 80...shutdown unit, 100...control unit, 110...robot controller, 111...signal processing unit, 113...motion control unit, 120...monitoring unit, 121...comparison unit, 123...signal output unit, 130...memory Lee, 140... communication interface, 150... stop switch, 160... area sensor, 200... control device, 210... first processor, 220... second processor, 500... robot system, AP... part, CP... controller control position, CS... control signal, DP... detection position, DS... interruption signal, ES... encoder signal, FL... floor, L1... first change line, L2... second change line, MCS... correction control signal, MP... motor plate, MS... driver signal, P0... control start position, P1... placement position, P2... control movement position, R1... first rotation axis, R2... second rotation axis,R3: third rotating shaft, R4: fourth rotating shaft, R5: fifth rotating shaft, R6: sixth rotating shaft, SH: shaft hole, SS: stop signal, TA: table, TC: torque control signal.

Claims

1. A motor having a rotating shaft; A controller that transmits a control signal to the motor at a predetermined timing; an encoder that detects an operation of the motor based on the control signal and outputs an output signal; a monitoring unit that receives the control signal and the output signal, compares a difference between the control signal and the output signal with a predetermined threshold, and outputs a power cutoff command when the difference is greater than the threshold; When causing the motor to perform a predetermined operation, The controller, transmitting a first control signal as the control signal to the motor; receiving a first output signal from the encoder as the output signal, the first output signal being based on the first control signal; generating a second control signal having a difference from the first output signal that is less than a difference value between the first control signal and the first output signal; transmitting the second control signal as the control signal to the motor; The monitoring unit is receiving the second control signal from the controller as the control signal; comparing a difference between the second control signal and the output signal to the threshold value. robot.

2. The controller, storing a second threshold value that is less than the threshold value; calculating the difference value between the first control signal and the first output signal; generating the second control signal when the difference value is greater than the second threshold. The robot according to claim 1.

3. A stop switch is provided to output a stop command in response to an input operation by a user, The predetermined operation is a stop operation based on the stop command output from the stop switch. The robot according to claim 1 or 2.

4. The predetermined operation is a torque control operation. The robot according to claim 1 or 2.

5. The output signal includes a rotational position of the rotating shaft. The robot according to claim 1 or 2.

6. The output signal includes a rotation speed of the rotating shaft. The robot according to claim 1 or 2.

7. a robot control device having a controller that transmits a control signal at a predetermined timing, and a monitoring unit that compares a difference between the control signal and an output signal based on the control signal with a threshold and outputs a power cutoff command when the difference is greater than the threshold; a robot having a motor having a rotation shaft and an encoder that outputs the output signal based on the control signal, When causing the motor to perform a predetermined operation, The controller, Transmitting a first control signal as the control signal; receiving a first output signal from the encoder as the output signal, the first output signal being based on the first control signal; generating a second control signal having a difference from the first output signal that is less than a difference value between the first control signal and the first output signal; transmitting the second control signal as the control signal to the motor; The monitoring unit is receiving the second control signal from the controller as the control signal; comparing a difference between the second control signal and the output signal to the threshold value. Robot system.

8. A method for controlling a robot comprising: a motor that operates based on a control signal; an encoder that detects an operation of the motor based on the control signal and outputs an output signal; and a monitoring unit that compares a difference between the control signal and the output signal based on the control signal with a threshold, and outputs a power cutoff command when the difference is greater than the threshold, When performing a given operation, transmitting a first control signal as the control signal to the motor; receiving a first output signal from the encoder as the output signal, the first output signal being based on the first control signal; generating a second control signal having a difference from the first output signal that is less than a difference value between the first control signal and the first output signal; transmitting the second control signal as the control signal to the motor; receiving a second output signal from the encoder as the output signal, the second output signal being based on the second control signal; comparing a difference between the second control signal and the output signal to the threshold value. How to control a robot.

Citation Information

Patent Citations

  • Mobile object controller and its method

    JP1996339213A

  • External force follow-up control system

    JP2017104914A

  • Motor controller

    JP2018137872A

  • Servo system, servo motor driving device, safety unit and method for controlling servo system

    JP2011192015A