The present invention relates to a robot, and more particularly to a robot safety weight compensation system and method capable of safely compensating the weight (relating to one workpiece) of the robot when the weight of the end of the robot changes.
With the vigorous development of robot technology, factories use robots to assist operators in rapid processing, assembly, and manufacturing operations to improve factory production efficiency. Whether the robots can operate normally seriously affects the safety of the operators. Therefore, countries have set strict safely standards and regulations to maintain the operational safety of robots.
To ensure the safety of robots and operators working at the same time, the collision force must be limited. Therefore, collision force detection is the main collaboration function possessed by most collaborative robots. In the detection of collision force in the prior art, a current sensor is usually installed in a robot joint to estimate the joint torque or a torque sensor is installed in the robot joint to obtain the joint torque directly, or force and torque sensors are installed at the end of the robot to detect collision force and torque, or the robot detects the position information of the joint and uses a dynamic calculation to obtain the end force and torque to detect the collision force.
The prior art detects the joint torque, and the end force and torque during the collision, and performs weight compensation according to the influence of the posture, speed, and acceleration of the robot on the weight of each limb of the robot, or the influence of automatic changing tools, such as picking up a tool, dropping a tool, and replacing tools of different weights, at the end of the robot upon the weight of the robot. Due to automation requirements, the prior art designs workpiece and tool weight compensation parameters, or workpiece and tool code parameters in the robot programming system, allowing the user to write parameters or conditions into the program for compensating the changed weight when changing the weights of the workpiece and tool. With weight compensation, the user can obtain the correctly detected collision force, allowing the user to set a safe shutdown setting in response to the collision force to ensure the safety of the collaborative robot.
However, for the prior art robot programming system, a non-professional user may make programming mistakes. Even if no mistake is made, it still needs to be compiled into executable commands, which leads to potential errors in the programming system and the compilation system. In addition, when the robot's control system makes an error, it may perform weight compensation at an incorrect time. These errors will directly cause the robot's force and torque shutdown safety function to lose its effect. For example, the robot holds a heavy workpiece, but the compensation obtained by the safety module indicates light and insufficient. When the robot moves in the direction of gravity, though the collision force on the user exceeds the shutdown condition set by the user, the robot's control system cannot stop the robot. Since the safety functions are not enabled, the safety of the collaborative robot is not ensured, which seriously affects the safety of the collaborative workers. Therefore, there are still problems that need to be solved in the robot system and method for weight compensation.
The object of the present invention is to provide a robot safety weight compensation system and method. A dynamic calculation of a robot is performed to calculate an estimated torque of a joint. A detected torque of the joint is obtained by detection. The difference between the estimated torque and the detected torque is calculated as a weight tolerance. If the weight tolerance is within the predetermined trigger condition, send the weight compensation information. If the weight tolerance exceeds the predetermined trigger condition, take the robot to a safe state to ensure correctly weight compensation.
Another object of the present invention is to provide a robot safety weight compensation system and method. When performing weight compensation, the difference between an estimated torque of a joint and a detected torque of the joint is calculated as an additional torque of the joint. If the additional torque of the joint exceeds the predetermined stop condition, stop weight compensation and bring a robot to a safe state. If the additional torque of the joint is within the predetermined stop condition, perform normal weight compensation to ensure the safety of collaboration.
To achieve the object of the present invention, the robot safety weight compensation system uses a controller to receive detection signals of the current sensor and position sensor of the actuator in each joint of the robot and controls the robot. The controller is equipped with a control unit that receives the weight compensation settings of the robot and then sends the weight compensation information to a safety module coupled to the control unit through an electrical or communication interface. The safety module is coupled to a safe state unit which controls the robot to enter a safe state. A check weight compensation module set in the safety module uses the position sensor to obtain the position information of the joint, receives the weight compensation information of the safety module, uses a dynamic calculation to calculate an estimated torque of the robot, and detects a detected torque of the robot. A collision sensing module in the safety module receives weight compensation information from the check weight compensation module to detect a collision force of the robot. The weight compensation setting is transmitted to the control unit according to the present invention. The safety module receives the weight compensation information from the control unit. The check weight compensation module calculates the difference between the estimated torque and the detected torque to form a weight tolerance. If the weight tolerance exceeds the predetermined trigger condition, an error notification is output, the weight compensation information is not sent to the collision sensing module, and the safety module controls the safe state unit to bring the robot to a safe state. If the weight tolerance is within the predetermined trigger condition, the weight compensation information is sent to the collision sensing module.
In the robot safety weight compensation method of the present invention, starting a weight compensation operation when the weight is changed, a dynamic calculation is performed to calculate an estimated torque, a detected torque is detected, and a difference between the estimated torque and the detected torque is calculated to generate a weight tolerance. If the weight tolerance exceeds a predetermined trigger condition, determine that the weight compensation information are false, report a mistake while not sending weight compensation information, and take a robot to a safe state. If the weight tolerance is within the predetermined trigger condition, determine that the weight compensation information are correct, send the weight compensation information, and perform the weight compensation operation for the robot. When performing the weight compensation operation, use a dynamic calculation to calculate an estimated torque, detect a detected torque, and calculate a difference between the estimated torque and the detected torque as the additional torque. If the additional torque exceeds a predetermined stop condition, take the robot to the safe state. If the additional torque is within the predetermined stop condition, perform the weight compensation operation for the robot.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
In order to achieve the above-mentioned objects, the technical means and effects adopted by the present invention are described below with embodiments and drawings.
Please refer to
In
The safety module 20 is connected to the safe state unit 25. The safe state unit 25 can control the robot 11 to enter the three types of safe state. The zeroth type of safe state is the power-off shutdown function: when the safety module 20 determines that the robot 11 should enter a safe state, it directly turns off the power of the actuator 21. The first type of safe state is the advanced power-off shutdown function: when the safety module 20 determines that the robot 11 should enter the safe state, a deceleration command is issued to the controller 12, after a fixed period of time or after the robot 11 is decelerated, the power of the actuator 21 is turned off. The second type of safe state is the non-power-off shutdown function: when the safety module 20 determines that the robot 11 should enter the safe state, a deceleration command is issued to the controller 12, after a fixed period of time or after the robot 11 is decelerated, a standstill monitoring function is turned on to continuously monitor the position sensor 23 when the robot 11 makes a move, turn off the power of the actuator 21. The robot 11 can enter a safe state with either one of the above types or can trigger any of the above types by different conditions.
The safety module 20 includes a check weight compensation module 26 and a collision sensing module 27. The check weight compensation module 26 has a kinematics model which uses the position sensor 23 installed on the joint 15 to learn the position information of the joint 15 of the robot 11, including speed information and acceleration information. The check weight compensation module 26 obtains the weight compensation information of the robot 11 from the control unit 19 and uses a dynamic calculation of the robot 11 to obtain the estimated torque of the joint 15. The check weight compensation module 26 further uses the current sensor 22 of the actuator 21 of the joint 15 of the robot 11 to measure the current of the actuator 21 to calculate the detected torque of the joint 15. Using the aforementioned kinematics model established by the robot 11 to obtain the estimated torque of the joint 15 and calculating the detected torque of the joint 15 from the current of the actuator 21 are of the prior art and can be referenced to Chinese patent number CN105643639A.
Next, the difference between the estimated torque of the joint 15 and the detected torque of the joint 15 can be calculated and recorded as the weight tolerance. If the weight tolerance exceeds the predetermined trigger condition, the weight compensation information are obviously erred, an error notification is issued, the check weight compensation module 26 would determine that the weight compensation information are incorrect and not send the weight compensation information to the collision sensing module 27, and the safety module 20 would control the safe state unit 25 to take the robot 11 to a safe state. If the weight tolerance is within the predetermined trigger condition, the check weight compensation module 26 would determine that the weight compensation information are correct and send the weight compensation information to the collision sensing module 27.
The collision sensing module 27 in the safety module 20 has the kinematics model of the robot 11, uses the position sensor 23 installed on the joint 15 to learn the position information of the joint 15 of the robot 11, including speed information and acceleration information, obtains the weight compensation information of the robot 11 from the check weight compensation module 26, and uses the dynamic calculation to obtain the estimated torque of the joint 15. The collision sensing module 27 further uses the current sensor 22 of the actuator 21 of the joint 15 of the robot 11 to sense the current of the actuator 21 to calculate the detected torque of the joint 15 and calculates the difference between the estimated torque of the joint 15 and the detected torque of the joint 15, which is recorded as the additional torque of the joint 15. If the additional torque of the joint 15 exceeds the predetermined stop condition, the safety module 20 controls the safe state unit 25 to bring the robot 11 to a safe state. If the additional torque of the joint 15 is within the predetermined stop condition, the normal operation of the robot 11 is maintained.
The aforementioned predetermined trigger condition for the weight tolerance and the predetermined stop condition for the additional torque can be built-in values for the robot 11, set by the user via the human-machine interface 13, or set through electrical signals, analog input communication commands, and various sensors. In addition, although the detected torque of the joint 15 in this embodiment is calculated by detecting the current of the actuator 21, a torque sensor 24 can be installed on the joint 15 to directly sense the detected torque of the joint 15. In addition, although this embodiment uses joint torque as an example, the present invention includes but is not limited to this embodiment. The present invention can calculate the end torque from each joint torque. Further, the present invention can use a dynamics model to convert the end space and estimate torque generated by the load at the end 17. The torque sensor 24 can be disposed to the end 17 of the robot 11 to obtain the detected torque of the end 17. The difference between the estimated torque of the end 17 and the detected torque of the end 17 can be used to check if the weight compensation settings of the end 17 are correct, or can be used to infer load information, etc.
In summary, the robot safety weight compensation system and method of the present invention can calculate the difference between the estimated torque obtained by the dynamic calculation of the robot and the detected torque obtained by the detection as the weight tolerance. If the weight tolerance is within the predetermined trigger condition, the weight compensation information is sent to perform the weight compensation. If the weight tolerance exceeds the predetermined trigger condition, an error notification is output and the robot is brought to a safe state. The invention calculates the difference between the estimated torque and the detected torque as the additional torque when performing the weight compensation. If the additional torque exceeds the predetermined stop condition, stop the weight compensation and bring the robot to a safe state. If the additional torque is within the predetermined stop condition, the normal weight compensation operation is performed to ensure correct the weight compensation and safe collaboration.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
109140216 | Nov 2020 | TW | national |